Pull request #317 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 lenny-intel for edgexfoundry/device-snmp-go Obtained Jenkinsfile from 9232f930efa458579cb069c4347f412478dcb075+e8a92f41847651f05b50cd748b4aa01e803b308d (f1e516f6748c6e71f0f1ba03b4cbc71eb5c28a64) 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-ssh1133972912047585444.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh1713925646193261002.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-317/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-317/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17140196712552146715.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-317/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9171348732511330305.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh14401190488022136275.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-317/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-317/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14712266066370666152.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6003 in /w/workspace/gexfoundry_device-snmp-go_PR-317 [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-317 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit e8a92f41847651f05b50cd748b4aa01e803b308d into PR head commit 9232f930efa458579cb069c4347f412478dcb075 > 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/317/head:refs/remotes/origin/PR-317 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9232f930efa458579cb069c4347f412478dcb075 # timeout=10 Merge succeeded, producing 9232f930efa458579cb069c4347f412478dcb075 Checking out Revision 9232f930efa458579cb069c4347f412478dcb075 (PR-317) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge e8a92f41847651f05b50cd748b4aa01e803b308d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9232f930efa458579cb069c4347f412478dcb075 # timeout=10 Commit message: "build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:36:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:36:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:36:15 ========================================================= 21:36:15 EdgeX Global Pipelines Version Info 21:36:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:36:15 ------------------- 21:36:15 stable info: 21:36:15 ------------------- 21:36:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:36:15 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 21:36:15 Message: update stable to v1.0.254 21:36:16 ------------------- 21:36:16 experimental info: 21:36:16 ------------------- 21:36:16 Commited By: **** collab-it+edgex@linuxfoundation.org 21:36:16 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 21:36:16 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:36:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 21:36:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 21:36:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:36:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:36:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:36:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 21:36:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:36:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:36:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:36:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:36:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:36:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 21:36:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:36:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:36:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:36:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:36:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:36:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:36:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:36:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:36:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:36:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:36:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:36:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:36:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:36:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:36:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:36:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-317 [Pipeline] echo 21:36:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-317 [Pipeline] echo 21:36:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-317 [Pipeline] echo 21:36:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9232f930efa458579cb069c4347f412478dcb075 [Pipeline] echo 21:36:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9232f93 [Pipeline] echo 21:36:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:36:18 provisioning config files... 21:36:18 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-317@tmp/config4547586641861980197tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:36:18 ---> docker-login.sh 21:36:18 nexus3.edgexfoundry.org:10001 21:36:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:18 Configure a credential helper to remove this warning. See 21:36:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:18 21:36:18 Login Succeeded 21:36:18 nexus3.edgexfoundry.org:10002 21:36:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:18 Configure a credential helper to remove this warning. See 21:36:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:18 21:36:18 Login Succeeded 21:36:18 nexus3.edgexfoundry.org:10003 21:36:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:19 Configure a credential helper to remove this warning. See 21:36:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:19 21:36:19 Login Succeeded 21:36:19 nexus3.edgexfoundry.org:10004 21:36:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:19 Configure a credential helper to remove this warning. See 21:36:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:19 21:36:19 Login Succeeded 21:36:19 docker.io 21:36:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:19 Configure a credential helper to remove this warning. See 21:36:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:19 21:36:19 Login Succeeded 21:36:19 ---> docker-login.sh ends [Pipeline] } 21:36:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:36:19 + git rev-list -1 --merges 9232f930efa458579cb069c4347f412478dcb075~1..9232f930efa458579cb069c4347f412478dcb075 [Pipeline] echo 21:36:19 -----------> git rev-list -1 --merges 9232f930efa458579cb069c4347f412478dcb075~1..9232f930efa458579cb069c4347f412478dcb075 9232f930efa458579cb069c4347f412478dcb075 [false] [Pipeline] sh 21:36:20 + git log --format=format:%s -1 9232f930efa458579cb069c4347f412478dcb075 [Pipeline] echo 21:36:20 ========================================================= 21:36:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:36:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:36:20 + git log --format=format:%s -1 9232f930efa458579cb069c4347f412478dcb075 [Pipeline] echo 21:36:20 [semverPrep] GIT_COMMIT: 9232f930efa458579cb069c4347f412478dcb075, Commit Message: build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18 [Pipeline] echo 21:36:20 [semverPrep] This is not a build commit. [Pipeline] sh 21:36:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:36:21 + grep -v github /etc/ssh/ssh_known_hosts 21:36:21 + [ -e /tmp/ssh_known_hosts ] 21:36:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:36:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:36:21 + sudo tee -a /etc/ssh/ssh_known_hosts 21:36:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:36:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:36:21 21:36:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:36:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:36:22 0.1.4: Pulling from edgex-devops/py-git-semver 21:36:22 b85a868b505f: Pulling fs layer 21:36:22 e2be974225ed: Pulling fs layer 21:36:22 339a4e72a1f5: Pulling fs layer 21:36:22 988bab9f4d93: Pulling fs layer 21:36:22 1469e6f7b9e6: Pulling fs layer 21:36:22 eaf3925da568: Pulling fs layer 21:36:22 bab4dde63d76: Pulling fs layer 21:36:22 bde34c3a00c8: Pulling fs layer 21:36:22 b352a97aabf1: Pulling fs layer 21:36:22 4872d77fe225: Pulling fs layer 21:36:22 5851b861e8e6: Pulling fs layer 21:36:22 bab4dde63d76: Waiting 21:36:22 bde34c3a00c8: Waiting 21:36:22 b352a97aabf1: Waiting 21:36:22 4872d77fe225: Waiting 21:36:22 5851b861e8e6: Waiting 21:36:22 988bab9f4d93: Waiting 21:36:22 1469e6f7b9e6: Waiting 21:36:22 eaf3925da568: Waiting 21:36:22 e2be974225ed: Verifying Checksum 21:36:22 e2be974225ed: Download complete 21:36:22 988bab9f4d93: Verifying Checksum 21:36:22 988bab9f4d93: Download complete 21:36:22 1469e6f7b9e6: Verifying Checksum 21:36:22 1469e6f7b9e6: Download complete 21:36:22 eaf3925da568: Verifying Checksum 21:36:22 339a4e72a1f5: Verifying Checksum 21:36:22 339a4e72a1f5: Download complete 21:36:22 bde34c3a00c8: Verifying Checksum 21:36:22 bde34c3a00c8: Download complete 21:36:22 b352a97aabf1: Download complete 21:36:22 4872d77fe225: Download complete 21:36:22 5851b861e8e6: Verifying Checksum 21:36:22 5851b861e8e6: Download complete 21:36:22 b85a868b505f: Verifying Checksum 21:36:22 b85a868b505f: Download complete 21:36:22 bab4dde63d76: Verifying Checksum 21:36:22 bab4dde63d76: Download complete 21:36:23 b85a868b505f: Pull complete 21:36:23 e2be974225ed: Pull complete 21:36:24 339a4e72a1f5: Pull complete 21:36:24 988bab9f4d93: Pull complete 21:36:24 1469e6f7b9e6: Pull complete 21:36:24 eaf3925da568: Pull complete 21:36:26 bab4dde63d76: Pull complete 21:36:26 bde34c3a00c8: Pull complete 21:36:26 b352a97aabf1: Pull complete 21:36:26 4872d77fe225: Pull complete 21:36:26 5851b861e8e6: Pull complete 21:36:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:36:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:36:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:36:26 prd-ubuntu20.04-docker-8c-8g-6003 does not seem to be running inside a container 21:36:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-317 -v /w/workspace/gexfoundry_device-snmp-go_PR-317:/w/workspace/gexfoundry_device-snmp-go_PR-317:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-317@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-317@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 21:36:27 $ docker top c03d6207c053c823619e61ed906f4bb1cbbfd078d33b62f700f377c7e3d80121 -eo pid,comm 21:36:27 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). 21:36:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:36:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:36:28 [ssh-agent] Looking for ssh-agent implementation... 21:36:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:36:28 $ docker exec c03d6207c053c823619e61ed906f4bb1cbbfd078d33b62f700f377c7e3d80121 ssh-agent 21:36:28 SSH_AUTH_SOCK=/tmp/ssh-i1sJ8MWrmVgV/agent.31 21:36:28 SSH_AGENT_PID=37 21:36:28 Running ssh-add (command line suppressed) 21:36:28 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-317@tmp/private_key_15335183854691087484.key (/w/workspace/gexfoundry_device-snmp-go_PR-317@tmp/private_key_15335183854691087484.key) 21:36:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:36:28 + git tag --points-at HEAD [Pipeline] } 21:36:28 $ docker exec --env ******** --env ******** c03d6207c053c823619e61ed906f4bb1cbbfd078d33b62f700f377c7e3d80121 ssh-agent -k 21:36:28 unset SSH_AUTH_SOCK; 21:36:28 unset SSH_AGENT_PID; 21:36:28 echo Agent pid 37 killed; 21:36:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:36:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:36:28 [ssh-agent] Looking for ssh-agent implementation... 21:36:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:36:29 $ docker exec c03d6207c053c823619e61ed906f4bb1cbbfd078d33b62f700f377c7e3d80121 ssh-agent 21:36:29 SSH_AUTH_SOCK=/tmp/ssh-Ls1JxnBjohHh/agent.70 21:36:29 SSH_AGENT_PID=76 21:36:29 Running ssh-add (command line suppressed) 21:36:29 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-317@tmp/private_key_5518720040193315060.key (/w/workspace/gexfoundry_device-snmp-go_PR-317@tmp/private_key_5518720040193315060.key) 21:36:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:36:29 + git semver init 21:36:29 2023-09-12 21:36:29,766 [run_init] DEBUG init version:0.0.0 force:False 21:36:29 2023-09-12 21:36:29,768 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-317/.semver 21:36:29 2023-09-12 21:36:29,769 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-317/.semver 21:36:29 2023-09-12 21:36:29,769 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-317/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-317, universal_newlines=False, shell=None, istream=None) 21:36:30 2023-09-12 21:36:30,487 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-317/.git/info/exclude 21:36:30 2023-09-12 21:36:30,488 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-317/.semver/PR-317 with force:False 21:36:30 2023-09-12 21:36:30,488 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-317/.semver/PR-317 21:36:30 2023-09-12 21:36:30,493 [execute] INFO git cat-file --batch-check 21:36:30 2023-09-12 21:36:30,494 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-317/.semver, universal_newlines=False, shell=None, istream=) 21:36:30 2023-09-12 21:36:30,500 [execute] INFO git cat-file --batch 21:36:30 2023-09-12 21:36:30,500 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-317/.semver, universal_newlines=False, shell=None, istream=) 21:36:30 2023-09-12 21:36:30,505 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-317/.semver/PR-317 21:36:30 0.0.0 [Pipeline] } 21:36:30 $ docker exec --env ******** --env ******** c03d6207c053c823619e61ed906f4bb1cbbfd078d33b62f700f377c7e3d80121 ssh-agent -k 21:36:30 unset SSH_AUTH_SOCK; 21:36:30 unset SSH_AGENT_PID; 21:36:30 echo Agent pid 76 killed; 21:36:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:36:31 + git semver [Pipeline] } 21:36:31 $ docker stop --time=1 c03d6207c053c823619e61ed906f4bb1cbbfd078d33b62f700f377c7e3d80121 21:36:32 $ docker rm -f --volumes c03d6207c053c823619e61ed906f4bb1cbbfd078d33b62f700f377c7e3d80121 [Pipeline] // withDockerContainer [Pipeline] sh 21:36:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:36:33 Stashed 1 file(s) [Pipeline] echo 21:36:33 [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 21:36:34 provisioning config files... 21:36:34 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-317@tmp/config14249417892243308046tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:36:34 ---> docker-login.sh 21:36:34 nexus3.edgexfoundry.org:10001 21:36:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:34 Configure a credential helper to remove this warning. See 21:36:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:34 21:36:34 Login Succeeded 21:36:34 nexus3.edgexfoundry.org:10002 21:36:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:34 Configure a credential helper to remove this warning. See 21:36:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:34 21:36:34 Login Succeeded 21:36:34 nexus3.edgexfoundry.org:10003 21:36:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:34 Configure a credential helper to remove this warning. See 21:36:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:34 21:36:34 Login Succeeded 21:36:34 nexus3.edgexfoundry.org:10004 21:36:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:34 Configure a credential helper to remove this warning. See 21:36:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:34 21:36:34 Login Succeeded 21:36:34 docker.io 21:36:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:35 Configure a credential helper to remove this warning. See 21:36:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:35 21:36:35 Login Succeeded 21:36:35 ---> docker-login.sh ends [Pipeline] } 21:36:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:36:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:36:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:36:35 ========================================================= 21:36:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 21:36:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:36:35 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 21:36:35 Sending build context to Docker daemon 5.787MB 21:36:35 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:36:35 Step 2/12 : FROM ${BASE} AS builder 21:36:35 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 21:36:35 7264a8db6415: Pulling fs layer 21:36:35 c4d48a809fc2: Pulling fs layer 21:36:35 4f1c88b9dad5: Pulling fs layer 21:36:35 ad3a456e5733: Pulling fs layer 21:36:35 9e4f439ed901: Pulling fs layer 21:36:35 feaf6a47b606: Pulling fs layer 21:36:35 5e8b037d7d82: Pulling fs layer 21:36:35 8ac70367396e: Pulling fs layer 21:36:35 6db16350a2e2: Pulling fs layer 21:36:35 9250d5d63582: Pulling fs layer 21:36:35 ad3a456e5733: Waiting 21:36:35 feaf6a47b606: Waiting 21:36:35 6db16350a2e2: Waiting 21:36:35 9250d5d63582: Waiting 21:36:35 8ac70367396e: Waiting 21:36:35 5e8b037d7d82: Waiting 21:36:35 c4d48a809fc2: Verifying Checksum 21:36:35 c4d48a809fc2: Download complete 21:36:35 ad3a456e5733: Verifying Checksum 21:36:35 ad3a456e5733: Download complete 21:36:35 9e4f439ed901: Verifying Checksum 21:36:35 9e4f439ed901: Download complete 21:36:35 7264a8db6415: Verifying Checksum 21:36:35 7264a8db6415: Download complete 21:36:36 feaf6a47b606: Verifying Checksum 21:36:36 feaf6a47b606: Download complete 21:36:36 7264a8db6415: Pull complete 21:36:36 8ac70367396e: Verifying Checksum 21:36:36 8ac70367396e: Download complete 21:36:36 c4d48a809fc2: Pull complete 21:36:36 4f1c88b9dad5: Download complete 21:36:36 6db16350a2e2: Verifying Checksum 21:36:36 6db16350a2e2: Download complete 21:36:36 5e8b037d7d82: Verifying Checksum 21:36:36 5e8b037d7d82: Download complete 21:36:36 9250d5d63582: Verifying Checksum 21:36:36 9250d5d63582: Download complete 21:36:39 4f1c88b9dad5: Pull complete 21:36:39 ad3a456e5733: Pull complete 21:36:39 9e4f439ed901: Pull complete 21:36:39 feaf6a47b606: Pull complete 21:36:42 5e8b037d7d82: Pull complete 21:36:42 8ac70367396e: Pull complete 21:36:42 6db16350a2e2: Pull complete 21:36:43 9250d5d63582: Pull complete 21:36:43 Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 21:36:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 21:36:43 ---> fa269f55d9b9 21:36:43 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:36:45 ---> Running in 60d056ac04dd 21:36:45 Removing intermediate container 60d056ac04dd 21:36:45 ---> 3e83e8794fcc 21:36:45 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:36:45 ---> Running in b4248fc2d439 21:36:45 Removing intermediate container b4248fc2d439 21:36:45 ---> 96f8709a92ff 21:36:45 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:36:45 ---> Running in 17224e07a949 21:36:45 Removing intermediate container 17224e07a949 21:36:45 ---> cfc4f9b9692d 21:36:45 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:36:45 ---> Running in e552705e790f 21:36:45 Removing intermediate container e552705e790f 21:36:45 ---> 7f4559bd0656 21:36:45 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:36:45 ---> Running in e43422766979 21:36:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:36:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:36:46 (1/4) Installing openssh-keygen (9.3_p2-r0) 21:36:46 (2/4) Installing libedit (20221030.3.1-r1) 21:36:46 (3/4) Installing openssh-client-common (9.3_p2-r0) 21:36:46 (4/4) Installing openssh-client-default (9.3_p2-r0) 21:36:46 Executing busybox-1.36.1-r2.trigger 21:36:46 OK: 270 MiB in 60 packages 21:36:46 Removing intermediate container e43422766979 21:36:46 ---> ef38e426529e 21:36:46 Step 8/12 : WORKDIR /device-snmp-go 21:36:46 ---> Running in 4ad7ca0ca357 21:36:46 Removing intermediate container 4ad7ca0ca357 21:36:46 ---> 4e2859926d9a 21:36:46 Step 9/12 : COPY go.mod vendor* ./ 21:36:47 ---> d77ac0353d87 21:36:47 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:36:47 ---> Running in 1d3328cfe886 21:36:48 Still waiting to schedule task 21:36:48 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 21:37:19 Removing intermediate container 1d3328cfe886 21:37:19 ---> f75e8564c9a9 21:37:19 Step 11/12 : COPY . . 21:37:19 ---> b5e89357b2e1 21:37:19 Step 12/12 : RUN ${MAKE} 21:37:19 ---> Running in 4f30d4e359b2 21:37:19 noop 21:37:19 Removing intermediate container 4f30d4e359b2 21:37:19 ---> 983e4b401713 21:37:19 Successfully built 983e4b401713 21:37:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:19 + docker inspect -f . ci-base-image-x86_64 21:37:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:37:19 prd-ubuntu20.04-docker-8c-8g-6003 does not seem to be running inside a container 21:37:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-317 -v /w/workspace/gexfoundry_device-snmp-go_PR-317:/w/workspace/gexfoundry_device-snmp-go_PR-317:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-317@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-317@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 21:37:20 $ docker top 8bc494bc2d14b430b78e2584fcac1d9ca89fbfa7a6e5cdcd3add32f441df0bee -eo pid,comm [Pipeline] { [Pipeline] sh 21:37:20 + go version 21:37:20 go version go1.21.0 linux/amd64 [Pipeline] } 21:37:20 $ docker stop --time=1 8bc494bc2d14b430b78e2584fcac1d9ca89fbfa7a6e5cdcd3add32f441df0bee 21:37:21 $ docker rm -f --volumes 8bc494bc2d14b430b78e2584fcac1d9ca89fbfa7a6e5cdcd3add32f441df0bee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:22 + docker inspect -f . ci-base-image-x86_64 21:37:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:37:22 prd-ubuntu20.04-docker-8c-8g-6003 does not seem to be running inside a container 21:37:22 $ 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-317 -v /w/workspace/gexfoundry_device-snmp-go_PR-317:/w/workspace/gexfoundry_device-snmp-go_PR-317:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-317@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-317@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 21:37:23 $ docker top d4626c27c2c313ebf209dcdb4865f2e32d59ddcec80d0f247f9eda8767af753c -eo pid,comm [Pipeline] { [Pipeline] sh 21:37:23 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-317 [Pipeline] fileExists [Pipeline] sh 21:37:23 + make test 21:37:23 go test ./... -coverprofile=coverage.out 21:37:25 ? github.com/edgexfoundry/device-snmp-go [no test files] 21:37:37 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 21:37:37 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.012s coverage: 0.0% of statements 21:37:42 go vet ./... 21:37:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:37:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:37:46 ./bin/test-attribution-txt.sh [Pipeline] echo 21:37:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:37:47 $ docker stop --time=1 d4626c27c2c313ebf209dcdb4865f2e32d59ddcec80d0f247f9eda8767af753c 21:37:50 $ docker rm -f --volumes d4626c27c2c313ebf209dcdb4865f2e32d59ddcec80d0f247f9eda8767af753c [Pipeline] // withDockerContainer [Pipeline] sh 21:37:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:37:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:37:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:37:52 + ls -al . 21:37:52 total 176 21:37:52 drwxrwxr-x 9 jenkins jenkins 4096 Sep 12 21:37 . 21:37:52 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 21:36 .. 21:37:52 -rw-rw-r-- 1 jenkins jenkins 6 Sep 12 21:36 .dockerignore 21:37:52 drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 21:37 .git 21:37:52 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:36 .github 21:37:52 -rw-rw-r-- 1 jenkins jenkins 328 Sep 12 21:36 .gitignore 21:37:52 -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 21:36 .golangci.yml 21:37:52 drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 21:36 .semver 21:37:52 -rw-rw-r-- 1 jenkins jenkins 10025 Sep 12 21:36 Attribution.txt 21:37:52 -rw-rw-r-- 1 jenkins jenkins 10534 Sep 12 21:36 CHANGELOG.md 21:37:52 -rw-rw-r-- 1 jenkins jenkins 1462 Sep 12 21:36 Dockerfile 21:37:52 -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 21:36 GOVERNANCE.md 21:37:52 -rw-rw-r-- 1 jenkins jenkins 656 Sep 12 21:36 Jenkinsfile 21:37:52 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 12 21:36 LICENSE 21:37:52 -rw-rw-r-- 1 jenkins jenkins 2240 Sep 12 21:36 Makefile 21:37:52 -rw-rw-r-- 1 jenkins jenkins 620 Sep 12 21:36 OWNERS.md 21:37:52 -rw-rw-r-- 1 jenkins jenkins 10559 Sep 12 21:36 README.md 21:37:52 -rw-rw-r-- 1 jenkins jenkins 5 Sep 12 21:36 VERSION 21:37:52 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 21:36 bin 21:37:52 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:36 cmd 21:37:52 -rw-r--r-- 1 jenkins jenkins 8837 Sep 12 21:37 coverage.out 21:37:52 -rw-rw-r-- 1 jenkins jenkins 3710 Sep 12 21:36 go.mod 21:37:52 -rw-rw-r-- 1 jenkins jenkins 33759 Sep 12 21:36 go.sum 21:37:52 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:36 internal 21:37:52 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 21:36 snap 21:37:52 -rw-rw-r-- 1 jenkins jenkins 228 Sep 12 21:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:52 + 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=9232f930efa458579cb069c4347f412478dcb075 --label arch=amd64 --label version=0.0.0 . 21:37:52 Sending build context to Docker daemon 5.796MB 21:37:52 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 21:37:52 Step 2/24 : FROM ${BASE} AS builder 21:37:52 ---> 983e4b401713 21:37:52 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:37:52 ---> Running in 256d0d333234 21:37:52 Removing intermediate container 256d0d333234 21:37:52 ---> c27b4d7cd542 21:37:52 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:37:52 ---> Running in e154c528a93f 21:37:52 Removing intermediate container e154c528a93f 21:37:52 ---> dca8974843f6 21:37:52 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:37:52 ---> Running in 13ee12d85512 21:37:53 Removing intermediate container 13ee12d85512 21:37:53 ---> bca8191eb5be 21:37:53 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:37:53 ---> Running in de6c0cbfdbc6 21:37:53 Removing intermediate container de6c0cbfdbc6 21:37:53 ---> e120f6766ca7 21:37:53 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:37:53 ---> Running in 3097de7c7b0b 21:37:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:37:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:37:53 OK: 270 MiB in 60 packages 21:37:54 Removing intermediate container 3097de7c7b0b 21:37:54 ---> ab11164df000 21:37:54 Step 8/24 : WORKDIR /device-snmp-go 21:37:54 ---> Running in 33b9e2fabbc8 21:37:54 Removing intermediate container 33b9e2fabbc8 21:37:54 ---> 7de90f61813b 21:37:54 Step 9/24 : COPY go.mod vendor* ./ 21:37:54 ---> 30366c4ddcb3 21:37:54 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:37:54 ---> Running in b550d642496f 21:37:55 Removing intermediate container b550d642496f 21:37:55 ---> c99f2b5f25bc 21:37:55 Step 11/24 : COPY . . 21:37:55 ---> 30cfbf16b88e 21:37:55 Step 12/24 : RUN ${MAKE} 21:37:55 ---> Running in 363582e4d064 21:37:55 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 21:38:13 Removing intermediate container 363582e4d064 21:38:13 ---> 2b0561d4ee67 21:38:13 Step 13/24 : FROM alpine:3.18 21:38:13 3.18: Pulling from library/alpine 21:38:13 7264a8db6415: Already exists 21:38:13 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 21:38:13 Status: Downloaded newer image for alpine:3.18 21:38:13 ---> 7e01a0d0a1dc 21:38:13 Step 14/24 : RUN apk add --update --no-cache dumb-init 21:38:13 ---> Running in 84131147699d 21:38:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:38:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:38:14 (1/1) Installing dumb-init (1.2.5-r2) 21:38:14 Executing busybox-1.36.1-r2.trigger 21:38:14 OK: 7 MiB in 16 packages 21:38:14 Removing intermediate container 84131147699d 21:38:14 ---> 0e826bb5fc70 21:38:14 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 21:38:15 ---> 3bc1cb64753b 21:38:15 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 21:38:15 ---> 66d2077a8a43 21:38:15 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 21:38:15 ---> a100d3211008 21:38:15 Step 18/24 : EXPOSE 59993 21:38:15 ---> Running in 8f7e77fee068 21:38:15 Removing intermediate container 8f7e77fee068 21:38:15 ---> e564304d14ec 21:38:15 Step 19/24 : EXPOSE 161 21:38:15 ---> Running in 84ebde8efd47 21:38:15 Removing intermediate container 84ebde8efd47 21:38:15 ---> 513e6f541872 21:38:15 Step 20/24 : ENTRYPOINT ["/device-snmp"] 21:38:15 ---> Running in 86166cd0aa8b 21:38:15 Removing intermediate container 86166cd0aa8b 21:38:15 ---> 515774720eeb 21:38:15 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 21:38:15 ---> Running in 97fa98d7eb60 21:38:15 Removing intermediate container 97fa98d7eb60 21:38:15 ---> 8b27d472f003 21:38:15 Step 22/24 : LABEL arch=amd64 21:38:15 ---> Running in 4355dc97a3a3 21:38:15 Removing intermediate container 4355dc97a3a3 21:38:15 ---> 730d7e9892a9 21:38:15 Step 23/24 : LABEL git_sha=9232f930efa458579cb069c4347f412478dcb075 21:38:15 ---> Running in ea1643b4ebc6 21:38:16 Removing intermediate container ea1643b4ebc6 21:38:16 ---> 717ce5c2bc52 21:38:16 Step 24/24 : LABEL version=0.0.0 21:38:16 ---> Running in 6669d0abde15 21:38:16 Removing intermediate container 6669d0abde15 21:38:16 ---> 2f4e8827e664 21:38:16 [Warning] One or more build-args [ARCH] were not consumed 21:38:16 Successfully built 2f4e8827e664 21:38: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 21:38:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:38:16 21:38:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:38:17 latest: Pulling from edgex-lftools-log-publisher 21:38:17 5eb5b503b376: Pulling fs layer 21:38:17 5c69ac0246d0: Pulling fs layer 21:38:17 ec43610c2a17: Pulling fs layer 21:38:17 3a2ae6a8a46f: Pulling fs layer 21:38:17 33b1e0a273af: Pulling fs layer 21:38:17 5d3b04190fa2: Pulling fs layer 21:38:17 2f39f015ded8: Pulling fs layer 21:38:17 33b1e0a273af: Waiting 21:38:17 5d3b04190fa2: Waiting 21:38:17 2f39f015ded8: Waiting 21:38:17 3a2ae6a8a46f: Waiting 21:38:17 5c69ac0246d0: Verifying Checksum 21:38:17 5c69ac0246d0: Download complete 21:38:17 3a2ae6a8a46f: Verifying Checksum 21:38:17 3a2ae6a8a46f: Download complete 21:38:17 33b1e0a273af: Verifying Checksum 21:38:17 33b1e0a273af: Download complete 21:38:17 5d3b04190fa2: Verifying Checksum 21:38:17 5d3b04190fa2: Download complete 21:38:17 ec43610c2a17: Verifying Checksum 21:38:17 ec43610c2a17: Download complete 21:38:17 5eb5b503b376: Verifying Checksum 21:38:17 5eb5b503b376: Download complete 21:38:18 2f39f015ded8: Download complete 21:38:18 5eb5b503b376: Pull complete 21:38:18 5c69ac0246d0: Pull complete 21:38:19 ec43610c2a17: Pull complete 21:38:19 3a2ae6a8a46f: Pull complete 21:38:19 33b1e0a273af: Pull complete 21:38:19 5d3b04190fa2: Pull complete 21:38:23 2f39f015ded8: Pull complete 21:38:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:38:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:38:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:38:23 prd-ubuntu20.04-docker-8c-8g-6003 does not seem to be running inside a container 21:38:23 $ 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-317 -v /w/workspace/gexfoundry_device-snmp-go_PR-317:/w/workspace/gexfoundry_device-snmp-go_PR-317:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-317@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-317@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 21:38:25 $ docker top 650dab72fc3a37672bf611fc59749c66165451e149f374916398e81117fc6450 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:38:25 ---> job-cost.sh 21:38:25 lf-activate-venv: SKIPPING 21:38:25 INFO: No Stack... 21:38:25 INFO: Retrieving Pricing Info for: v3-standard-8 21:38:26 INFO: Archiving Costs [Pipeline] sh 21:38:26 + cat /w/workspace/gexfoundry_device-snmp-go_PR-317/archives/cost.csv 21:38:26 + cut -d, -f6 [Pipeline] lock 21:38:26 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-317-1-stack-cost] 21:38:26 Resource [jenkins-edgexfoundry-device-snmp-go-PR-317-1-stack-cost] did not exist. Created. 21:38:26 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-317-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:38:26 + echo total: 0.2199999988079071 [Pipeline] stash 21:38:27 Stashed 1 file(s) [Pipeline] } 21:38:27 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-317-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:38:27 $ docker stop --time=1 650dab72fc3a37672bf611fc59749c66165451e149f374916398e81117fc6450 21:38:28 $ docker rm -f --volumes 650dab72fc3a37672bf611fc59749c66165451e149f374916398e81117fc6450 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:39:34 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6005 in /w/workspace/gexfoundry_device-snmp-go_PR-317 [Pipeline] { [Pipeline] ws 21:39:34 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 21:39:34 Selected Git installation does not exist. Using Default 21:39:34 The recommended git tool is: NONE 21:39:41 using credential edgex-jenkins-ssh 21:39:41 Cloning the remote Git repository 21:39:41 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 21:39:41 > git init /w/workspace/device-snmp-go/1 # timeout=10 21:39:42 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 21:39:42 > git --version # timeout=10 21:39:42 > git --version # 'git version 2.25.1' 21:39:42 using GIT_SSH to set credentials SSH Credentials for GitHub 21:39:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:39:43 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 21:39:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:39:44 Merging remotes/origin/main commit e8a92f41847651f05b50cd748b4aa01e803b308d into PR head commit 9232f930efa458579cb069c4347f412478dcb075 21:39:45 Merge succeeded, producing 9232f930efa458579cb069c4347f412478dcb075 21:39:45 Checking out Revision 9232f930efa458579cb069c4347f412478dcb075 (PR-317) 21:39:44 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 21:39:44 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 21:39:44 using GIT_SSH to set credentials SSH Credentials for GitHub 21:39:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/317/head:refs/remotes/origin/PR-317 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:39:44 > git config core.sparsecheckout # timeout=10 21:39:44 > git checkout -f 9232f930efa458579cb069c4347f412478dcb075 # timeout=10 21:39:45 > git remote # timeout=10 21:39:45 > git config --get remote.origin.url # timeout=10 21:39:45 using GIT_SSH to set credentials SSH Credentials for GitHub 21:39:45 > git merge e8a92f41847651f05b50cd748b4aa01e803b308d # timeout=10 21:39:45 > git rev-parse HEAD^{commit} # timeout=10 21:39:45 > git config core.sparsecheckout # timeout=10 21:39:45 > git checkout -f 9232f930efa458579cb069c4347f412478dcb075 # timeout=10 21:39:48 Commit message: "build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18" 21:39:48 > git --version # timeout=10 21:39:48 > git --version # 'git version 2.25.1' 21:39:48 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:39:49 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:39:49 % Total % Received % Xferd Average Speed Time Time Time Current 21:39:49 Dload Upload Total Spent Left Speed 21:39:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 234k 0 --:--:-- --:--:-- --:--:-- 239k [Pipeline] sh 21:39:50 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:39:50 + sudo tee /etc/docker/daemon.new 21:39:50 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:39:50 { 21:39:50 "registry-mirrors": [ 21:39:50 "https://nexus3.edgexfoundry.org:10001" 21:39:50 ], 21:39:50 "bip": "10.250.0.254/24", 21:39:50 "hosts": [ 21:39:50 "tcp://0.0.0.0:5555", 21:39:50 "unix:///var/run/docker.sock" 21:39:50 ], 21:39:50 "mtu": 1458, 21:39:50 "selinux-enabled": true, 21:39:50 "seccomp-profile": "/etc/docker/seccomp.json" 21:39:50 } [Pipeline] sh 21:39:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:39:51 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:40:10 provisioning config files... 21:40:10 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config12219634695778221585tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:40:10 ---> docker-login.sh 21:40:10 nexus3.edgexfoundry.org:10001 21:40:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:40:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:40:11 Configure a credential helper to remove this warning. See 21:40:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:40:11 21:40:11 Login Succeeded 21:40:11 nexus3.edgexfoundry.org:10002 21:40:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:40:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:40:11 Configure a credential helper to remove this warning. See 21:40:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:40:11 21:40:11 Login Succeeded 21:40:11 nexus3.edgexfoundry.org:10003 21:40:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:40:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:40:11 Configure a credential helper to remove this warning. See 21:40:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:40:11 21:40:11 Login Succeeded 21:40:11 nexus3.edgexfoundry.org:10004 21:40:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:40:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:40:12 Configure a credential helper to remove this warning. See 21:40:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:40:12 21:40:12 Login Succeeded 21:40:12 docker.io 21:40:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:40:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:40:12 Configure a credential helper to remove this warning. See 21:40:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:40:12 21:40:12 Login Succeeded 21:40:12 ---> docker-login.sh ends [Pipeline] } 21:40:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:40:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:40:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:40:13 ========================================================= 21:40:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 21:40:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:40:13 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 21:40:13 Sending build context to Docker daemon 2.982MB 21:40:13 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:40:13 Step 2/12 : FROM ${BASE} AS builder 21:40:14 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:40:14 9fda8d8052c6: Pulling fs layer 21:40:14 5d54e960e981: Pulling fs layer 21:40:14 c4a7e357bf2a: Pulling fs layer 21:40:14 f0e02332f6b5: Pulling fs layer 21:40:14 66412af1f25a: Pulling fs layer 21:40:14 1baf3a5c0e64: Pulling fs layer 21:40:14 9a37bb91b891: Pulling fs layer 21:40:14 a29adfc67d43: Pulling fs layer 21:40:14 d5de9f91c1a4: Pulling fs layer 21:40:14 66412af1f25a: Waiting 21:40:14 1baf3a5c0e64: Waiting 21:40:14 9a37bb91b891: Waiting 21:40:14 a29adfc67d43: Waiting 21:40:14 d5de9f91c1a4: Waiting 21:40:14 f0e02332f6b5: Waiting 21:40:14 5d54e960e981: Verifying Checksum 21:40:14 5d54e960e981: Download complete 21:40:14 f0e02332f6b5: Verifying Checksum 21:40:14 f0e02332f6b5: Download complete 21:40:14 66412af1f25a: Download complete 21:40:14 9fda8d8052c6: Download complete 21:40:14 9a37bb91b891: Verifying Checksum 21:40:14 9a37bb91b891: Download complete 21:40:15 9fda8d8052c6: Pull complete 21:40:15 a29adfc67d43: Verifying Checksum 21:40:15 a29adfc67d43: Download complete 21:40:15 5d54e960e981: Pull complete 21:40:15 d5de9f91c1a4: Verifying Checksum 21:40:15 d5de9f91c1a4: Download complete 21:40:15 c4a7e357bf2a: Verifying Checksum 21:40:15 c4a7e357bf2a: Download complete 21:40:16 1baf3a5c0e64: Download complete 21:40:27 c4a7e357bf2a: Pull complete 21:40:27 f0e02332f6b5: Pull complete 21:40:27 66412af1f25a: Pull complete 21:40:33 1baf3a5c0e64: Pull complete 21:40:35 9a37bb91b891: Pull complete 21:40:36 a29adfc67d43: Pull complete 21:40:37 d5de9f91c1a4: Pull complete 21:40:37 Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 21:40:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 21:40:38 ---> 746ca1b523b5 21:40:38 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:40:39 ---> Running in 0a4a217578ff 21:40:40 Removing intermediate container 0a4a217578ff 21:40:40 ---> e97bc02aad71 21:40:40 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:40:40 ---> Running in 5b85cfc04827 21:40:40 Removing intermediate container 5b85cfc04827 21:40:40 ---> 522047d8e541 21:40:40 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:40:40 ---> Running in ad74fe989c1b 21:40:41 Removing intermediate container ad74fe989c1b 21:40:41 ---> 2f4d00aefcc8 21:40:41 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:40:41 ---> Running in 3ce7f290eb7b 21:40:41 Removing intermediate container 3ce7f290eb7b 21:40:41 ---> 8bd3672015eb 21:40:41 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:40:41 ---> Running in 14b0301b4c6f 21:40:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:40:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:40:45 (1/4) Installing openssh-keygen (9.3_p2-r0) 21:40:45 (2/4) Installing libedit (20221030.3.1-r1) 21:40:45 (3/4) Installing openssh-client-common (9.3_p2-r0) 21:40:45 (4/4) Installing openssh-client-default (9.3_p2-r0) 21:40:45 Executing busybox-1.36.1-r2.trigger 21:40:45 OK: 272 MiB in 60 packages 21:40:46 Removing intermediate container 14b0301b4c6f 21:40:46 ---> 6ba9235078dc 21:40:46 Step 8/12 : WORKDIR /device-snmp-go 21:40:47 ---> Running in aeb3b97b2bb5 21:40:47 Removing intermediate container aeb3b97b2bb5 21:40:47 ---> 20753cd45619 21:40:47 Step 9/12 : COPY go.mod vendor* ./ 21:40:48 ---> 5e143e27dc82 21:40:48 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:40:48 ---> Running in 887485cf9732 21:42:09 Removing intermediate container 887485cf9732 21:42:09 ---> 155b12ab1fb7 21:42:09 Step 11/12 : COPY . . 21:42:09 ---> 437eb6ce3886 21:42:09 Step 12/12 : RUN ${MAKE} 21:42:09 ---> Running in 6882f6251d52 21:42:09 noop 21:42:09 Removing intermediate container 6882f6251d52 21:42:09 ---> 4133bf6abda1 21:42:09 Successfully built 4133bf6abda1 21:42:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:42:10 + docker inspect -f . ci-base-image-arm64 21:42:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:42:10 prd-ubuntu20.04-docker-arm64-4c-16g-6005 does not seem to be running inside a container 21:42:10 $ 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 ******** -e ******** ci-base-image-arm64 cat 21:42:11 $ docker top 8bc56597ba988c9957b5161802d7145b7813031bd0a7539d2f759d5bc688349b -eo pid,comm [Pipeline] { [Pipeline] sh 21:42:12 + go version 21:42:12 go version go1.21.0 linux/arm64 [Pipeline] } 21:42:12 $ docker stop --time=1 8bc56597ba988c9957b5161802d7145b7813031bd0a7539d2f759d5bc688349b 21:42:14 $ docker rm -f --volumes 8bc56597ba988c9957b5161802d7145b7813031bd0a7539d2f759d5bc688349b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:42:15 + docker inspect -f . ci-base-image-arm64 21:42:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:42:15 prd-ubuntu20.04-docker-arm64-4c-16g-6005 does not seem to be running inside a container 21:42:15 $ 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 ******** -e ******** ci-base-image-arm64 cat 21:42:16 $ docker top 98ec45406b781afd73100db06a645794e802477d9711bf8c5f3f4540ac66880c -eo pid,comm [Pipeline] { [Pipeline] sh 21:42:17 + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh 21:42:18 + make test 21:42:18 go test ./... -coverprofile=coverage.out 21:42:22 ? github.com/edgexfoundry/device-snmp-go [no test files] 21:43:59 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 21:43:59 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.048s coverage: 0.0% of statements 21:43:59 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:43:59 go vet ./... 21:44:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:44:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:44:26 ./bin/test-attribution-txt.sh [Pipeline] echo 21:44:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:44:26 $ docker stop --time=1 98ec45406b781afd73100db06a645794e802477d9711bf8c5f3f4540ac66880c 21:44:28 $ docker rm -f --volumes 98ec45406b781afd73100db06a645794e802477d9711bf8c5f3f4540ac66880c [Pipeline] // withDockerContainer [Pipeline] sh 21:44:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:44:29 Warning: overwriting stash ‘coverage-report’ 21:44:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:44:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:44:31 + ls -al . 21:44:31 total 172 21:44:31 drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 21:42 . 21:44:31 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 21:39 .. 21:44:31 -rw-rw-r-- 1 jenkins jenkins 6 Sep 12 21:39 .dockerignore 21:44:31 drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 21:39 .git 21:44:31 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:39 .github 21:44:31 -rw-rw-r-- 1 jenkins jenkins 328 Sep 12 21:39 .gitignore 21:44:31 -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 21:39 .golangci.yml 21:44:31 -rw-rw-r-- 1 jenkins jenkins 10025 Sep 12 21:39 Attribution.txt 21:44:31 -rw-rw-r-- 1 jenkins jenkins 10534 Sep 12 21:39 CHANGELOG.md 21:44:31 -rw-rw-r-- 1 jenkins jenkins 1462 Sep 12 21:39 Dockerfile 21:44:31 -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 21:39 GOVERNANCE.md 21:44:31 -rw-rw-r-- 1 jenkins jenkins 656 Sep 12 21:39 Jenkinsfile 21:44:31 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 12 21:39 LICENSE 21:44:31 -rw-rw-r-- 1 jenkins jenkins 2240 Sep 12 21:39 Makefile 21:44:31 -rw-rw-r-- 1 jenkins jenkins 620 Sep 12 21:39 OWNERS.md 21:44:31 -rw-rw-r-- 1 jenkins jenkins 10559 Sep 12 21:39 README.md 21:44:31 -rw-rw-r-- 1 jenkins jenkins 5 Sep 12 21:36 VERSION 21:44:31 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 21:39 bin 21:44:31 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:39 cmd 21:44:31 -rw-r--r-- 1 jenkins jenkins 8837 Sep 12 21:43 coverage.out 21:44:31 -rw-rw-r-- 1 jenkins jenkins 3710 Sep 12 21:39 go.mod 21:44:31 -rw-rw-r-- 1 jenkins jenkins 33759 Sep 12 21:39 go.sum 21:44:31 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:39 internal 21:44:31 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 21:39 snap 21:44:31 -rw-rw-r-- 1 jenkins jenkins 228 Sep 12 21:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:44:31 + 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=9232f930efa458579cb069c4347f412478dcb075 --label arch=arm64 --label version=0.0.0 . 21:44:32 Sending build context to Docker daemon 2.992MB 21:44:32 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 21:44:32 Step 2/24 : FROM ${BASE} AS builder 21:44:32 ---> 4133bf6abda1 21:44:32 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:44:35 ---> Running in 317717fa843f 21:44:35 Removing intermediate container 317717fa843f 21:44:35 ---> 941dd7bfa251 21:44:35 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:44:35 ---> Running in efd3cf691bcb 21:44:37 Removing intermediate container efd3cf691bcb 21:44:37 ---> b5de399a0197 21:44:37 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:44:37 ---> Running in 381e8d18afc5 21:44:37 Removing intermediate container 381e8d18afc5 21:44:37 ---> b66329bad992 21:44:37 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:44:37 ---> Running in 86425d662a30 21:44:38 Removing intermediate container 86425d662a30 21:44:38 ---> bb711c68a98d 21:44:38 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:44:38 ---> Running in 30e7a78da3e3 21:44:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:44:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:44:41 OK: 272 MiB in 60 packages 21:44:42 Removing intermediate container 30e7a78da3e3 21:44:42 ---> 920f1a08c635 21:44:42 Step 8/24 : WORKDIR /device-snmp-go 21:44:42 ---> Running in b71d928dadc7 21:44:43 Removing intermediate container b71d928dadc7 21:44:43 ---> bfd72361fdb6 21:44:43 Step 9/24 : COPY go.mod vendor* ./ 21:44:45 ---> d1d83ba9943f 21:44:45 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:44:45 ---> Running in 5b9fed19bb40 21:44:49 Removing intermediate container 5b9fed19bb40 21:44:49 ---> 5b606259f299 21:44:49 Step 11/24 : COPY . . 21:44:50 ---> dc3b79af3813 21:44:50 Step 12/24 : RUN ${MAKE} 21:44:50 ---> Running in d58a2bedd0b6 21:44:51 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 21:46:43 Removing intermediate container d58a2bedd0b6 21:46:43 ---> d6d2ce8e6133 21:46:43 Step 13/24 : FROM alpine:3.18 21:46:43 3.18: Pulling from library/alpine 21:46:43 9fda8d8052c6: Already exists 21:46:43 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 21:46:43 Status: Downloaded newer image for alpine:3.18 21:46:43 ---> f6648c04cd6c 21:46:43 Step 14/24 : RUN apk add --update --no-cache dumb-init 21:46:43 ---> Running in 270fab5b10c9 21:46:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:46:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:46:43 (1/1) Installing dumb-init (1.2.5-r2) 21:46:43 Executing busybox-1.36.1-r2.trigger 21:46:43 OK: 8 MiB in 16 packages 21:46:44 Removing intermediate container 270fab5b10c9 21:46:44 ---> 8786af173058 21:46:44 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 21:46:45 ---> 1aefba064dfc 21:46:45 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 21:46:45 ---> 35278fd7ddc9 21:46:45 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 21:46:46 ---> 36dc8779a42a 21:46:46 Step 18/24 : EXPOSE 59993 21:46:46 ---> Running in e6a94362a5e8 21:46:46 Removing intermediate container e6a94362a5e8 21:46:46 ---> d95843818fc0 21:46:46 Step 19/24 : EXPOSE 161 21:46:46 ---> Running in b388c1b29b3b 21:46:46 Removing intermediate container b388c1b29b3b 21:46:46 ---> 667f89b9fd81 21:46:46 Step 20/24 : ENTRYPOINT ["/device-snmp"] 21:46:47 ---> Running in a36cf54366a6 21:46:47 Removing intermediate container a36cf54366a6 21:46:47 ---> d51000f1f603 21:46:47 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 21:46:47 ---> Running in a8ee12dfe093 21:46:47 Removing intermediate container a8ee12dfe093 21:46:47 ---> 78546ca83b23 21:46:47 Step 22/24 : LABEL arch=arm64 21:46:47 ---> Running in 57d67865cf64 21:46:47 Removing intermediate container 57d67865cf64 21:46:47 ---> 217eff24a196 21:46:47 Step 23/24 : LABEL git_sha=9232f930efa458579cb069c4347f412478dcb075 21:46:48 ---> Running in 834d8f6535a9 21:46:48 Removing intermediate container 834d8f6535a9 21:46:48 ---> f2dd2adef8b1 21:46:48 Step 24/24 : LABEL version=0.0.0 21:46:48 ---> Running in 66508303f806 21:46:48 Removing intermediate container 66508303f806 21:46:48 ---> 4a5321dc13d9 21:46:48 [Warning] One or more build-args [ARCH] were not consumed 21:46:48 Successfully built 4a5321dc13d9 21:46:48 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 21:46:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:46:49 21:46:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:46:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:46:49 arm64: Pulling from edgex-lftools-log-publisher 21:46:49 8998bd30e6a1: Pulling fs layer 21:46:49 04944245beec: Pulling fs layer 21:46:49 699f458cf7ca: Pulling fs layer 21:46:49 765212b225bb: Pulling fs layer 21:46:49 f23df028b6ca: Pulling fs layer 21:46:49 d65c8cfc05b1: Pulling fs layer 21:46:49 2437ff75d9bd: Pulling fs layer 21:46:49 f23df028b6ca: Waiting 21:46:49 d65c8cfc05b1: Waiting 21:46:49 2437ff75d9bd: Waiting 21:46:49 765212b225bb: Waiting 21:46:50 04944245beec: Verifying Checksum 21:46:50 04944245beec: Download complete 21:46:50 765212b225bb: Verifying Checksum 21:46:50 765212b225bb: Download complete 21:46:50 f23df028b6ca: Verifying Checksum 21:46:50 f23df028b6ca: Download complete 21:46:50 d65c8cfc05b1: Verifying Checksum 21:46:50 d65c8cfc05b1: Download complete 21:46:50 699f458cf7ca: Verifying Checksum 21:46:50 699f458cf7ca: Download complete 21:46:50 8998bd30e6a1: Verifying Checksum 21:46:50 8998bd30e6a1: Download complete 21:46:53 2437ff75d9bd: Verifying Checksum 21:46:53 2437ff75d9bd: Download complete 21:46:54 8998bd30e6a1: Pull complete 21:46:55 04944245beec: Pull complete 21:46:56 699f458cf7ca: Pull complete 21:46:56 765212b225bb: Pull complete 21:46:57 f23df028b6ca: Pull complete 21:46:57 d65c8cfc05b1: Pull complete 21:47:12 2437ff75d9bd: Pull complete 21:47:12 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:47:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:47:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:47:12 prd-ubuntu20.04-docker-arm64-4c-16g-6005 does not seem to be running inside a container 21:47:12 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:47:15 $ docker top 0cffdf22659b0330c0c92b2c46d955f5b3c19d98c6831267d8d9b86ebe50d8e7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:47:15 ---> job-cost.sh 21:47:16 lf-activate-venv: SKIPPING 21:47:16 INFO: No Stack... 21:47:16 INFO: Retrieving Pricing Info for: v3-standard-4 21:47:17 INFO: Archiving Costs [Pipeline] sh 21:47:17 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 21:47:17 + cut -d, -f6 [Pipeline] lock 21:47:17 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-317-1-stack-cost] 21:47:17 Resource [jenkins-edgexfoundry-device-snmp-go-PR-317-1-stack-cost] did not exist. Created. 21:47:17 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-317-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:47:18 /w/workspace/device-snmp-go/1@tmp/durable-6da3be7c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:47:18 + echo total: 0.10999999940395355 [Pipeline] stash 21:47:18 Warning: overwriting stash ‘stack-cost’ 21:47:18 Stashed 1 file(s) [Pipeline] } 21:47:18 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-317-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:47:18 $ docker stop --time=1 0cffdf22659b0330c0c92b2c46d955f5b3c19d98c6831267d8d9b86ebe50d8e7 21:47:20 $ docker rm -f --volumes 0cffdf22659b0330c0c92b2c46d955f5b3c19d98c6831267d8d9b86ebe50d8e7 [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 21:47:21 provisioning config files... 21:47:21 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-317@tmp/config1285545576071811543tmp [Pipeline] { [Pipeline] sh 21:47:21 + set +x 21:47:21 + bash+ -s -- 21:47:21 curl -s https://codecov.io/bash 21:47:21 21:47:21 _____ _ 21:47:21 / ____| | | 21:47:21 | | ___ __| | ___ ___ _____ __ 21:47:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:47:21 | |___| (_) | (_| | __/ (_| (_) \ V / 21:47:21 \_____\___/ \__,_|\___|\___\___/ \_/ 21:47:21 Bash-1.0.6 21:47:21 21:47:21 21:47:21 ==> git version 2.25.1 found 21:47:21 ==> 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 21:47:21 Release-Date: 2020-01-08 21:47:21 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:47:21 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:47:21 ==> Jenkins CI detected. 21:47:21 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-317 21:47:21 project root: . 21:47:21 --> token set from env 21:47:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:47:21 ==> Running gcov in . (disable via -X gcov) 21:47:21 ==> Python coveragepy not found 21:47:21 ==> Searching for coverage reports in: 21:47:21 + . 21:47:21 -> Found 1 reports 21:47:21 ==> Detecting git/mercurial file structure 21:47:21 ==> Reading reports 21:47:21 + ./coverage.out bytes=8837 21:47:21 ==> Appending adjustments 21:47:21 https://docs.codecov.io/docs/fixing-reports 21:47:21 + Found adjustments 21:47:21 ==> Gzipping contents 21:47:21 4.0K /tmp/codecov.hdGOk5.gz 21:47:21 ==> Uploading reports 21:47:21 url: https://codecov.io 21:47:21 query: branch=PR-317&commit=9232f930efa458579cb069c4347f412478dcb075&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-317%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=317&job=&cmd_args= 21:47:21 -> Pinging Codecov 21:47:21 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-317&commit=9232f930efa458579cb069c4347f412478dcb075&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-317%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=317&job=&cmd_args= 21:47:21 -> Uploading to 21:47:21 https://storage.googleapis.com/codecov/v4/raw/2023-09-12/6C56EA5C29638FB4528AC87E60AF5AE0/9232f930efa458579cb069c4347f412478dcb075/4508fb70-b7c2-4804-b39a-6b0e1c065dba.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230912%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230912T214721Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6507ef9d714cff34e5c215908e2d2777ef6a5506cdd54c0ffa27d3791ce893ee 21:47:21 % Total % Received % Xferd Average Speed Time Time Time Current 21:47:21 Dload Upload Total Spent Left Speed 21:47:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1604 0 0 100 1604 0 9325 --:--:-- --:--:-- --:--:-- 9380 21:47:22 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/9232f930efa458579cb069c4347f412478dcb075 [Pipeline] } 21:47:22 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 21:47:23 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-317/archives ] 21:47:23 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-317/archives 21:47:23 total 16 21:47:23 drwxr-xr-x 3 root root 4096 Sep 12 21:38 . 21:47:23 drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 21:38 .. 21:47:23 drwxr-xr-x 2 root root 4096 Sep 12 21:38 cost 21:47:23 -rw-r--r-- 1 root root 86 Sep 12 21:38 cost.csv 21:47:23 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-317/archives 21:47:23 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-317/archives 21:47:23 total 16 21:47:23 drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 21:38 . 21:47:23 drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 21:38 .. 21:47:23 drwxr-xr-x 2 jenkins jenkins 4096 Sep 12 21:38 cost 21:47:23 -rw-r--r-- 1 jenkins jenkins 86 Sep 12 21:38 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:47:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:47:25 ---> package-listing.sh 21:47:25 ++ facter osfamily 21:47:25 ++ tr '[:upper:]' '[:lower:]' 21:47:25 + OS_FAMILY=debian 21:47:25 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-317 21:47:25 + START_PACKAGES=/tmp/packages_start.txt 21:47:25 + END_PACKAGES=/tmp/packages_end.txt 21:47:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:47:25 + PACKAGES=/tmp/packages_start.txt 21:47:25 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-317 ']' 21:47:25 + PACKAGES=/tmp/packages_end.txt 21:47:25 + case "${OS_FAMILY}" in 21:47:25 + dpkg -l 21:47:25 + grep '^ii' 21:47:25 + '[' -f /tmp/packages_start.txt ']' 21:47:25 + '[' -f /tmp/packages_end.txt ']' 21:47:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:47:25 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-317 ']' 21:47:25 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-317/archives/ 21:47:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-317/archives/ [Pipeline] echo 21:47:25 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-317/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:47:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:47:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:47:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:47:26 prd-ubuntu20.04-docker-8c-8g-6003 does not seem to be running inside a container 21:47:26 $ 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-317/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-317 -v /w/workspace/gexfoundry_device-snmp-go_PR-317:/w/workspace/gexfoundry_device-snmp-go_PR-317:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-317@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-317@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 21:47:26 $ docker top 6847ffda70102203bfe59f1d783ffb07df31bd5efd107444928372ee127d2e84 -eo pid,comm [Pipeline] { [Pipeline] sh 21:47:27 + touch /tmp/pre-build-complete [Pipeline] sh 21:47:27 + mkdir -p /var/log/sysstat [Pipeline] sh 21:47:27 + ls /var/log/sa-host 21:47:27 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:47:27 provisioning config files... 21:47:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-317@tmp/config7516952422759571111tmp [Pipeline] { [Pipeline] echo 21:47:27 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:47:28 ---> create-netrc.sh [Pipeline] } 21:47:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:47:28 ---> python-tools-install.sh [Pipeline] echo 21:47:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:47:28 ---> sudo-logs.sh 21:47:28 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:47:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:47:29 ---> job-cost.sh 21:47:29 lf-activate-venv: SKIPPING 21:47:29 DEBUG: total: 0.2199999988079071 21:47:29 INFO: Retrieving Stack Cost... 21:47:29 INFO: Retrieving Pricing Info for: v3-standard-8 21:47:30 INFO: Archiving Costs [Pipeline] echo 21:47:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:47:30 ---> logs-deploy.sh 21:47:30 lf-activate-venv: SKIPPING 21:47:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-317/1 21:47:30 INFO: archiving workspace using pattern(s): 21:47:31 Archives upload complete. 21:47:31 INFO: archiving logs to Nexus 21:47:32 ---> uname -a: 21:47:32 Linux prd-ubuntu20-04-docker-8c-8g-6003 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 21:47:32 21:47:32 21:47:32 ---> lscpu: 21:47:32 Architecture: x86_64 21:47:32 CPU op-mode(s): 32-bit, 64-bit 21:47:32 Byte Order: Little Endian 21:47:32 Address sizes: 40 bits physical, 48 bits virtual 21:47:32 CPU(s): 8 21:47:32 On-line CPU(s) list: 0-7 21:47:32 Thread(s) per core: 1 21:47:32 Core(s) per socket: 1 21:47:32 Socket(s): 8 21:47:32 NUMA node(s): 1 21:47:32 Vendor ID: AuthenticAMD 21:47:32 CPU family: 23 21:47:32 Model: 49 21:47:32 Model name: AMD EPYC-Rome Processor 21:47:32 Stepping: 0 21:47:32 CPU MHz: 2800.000 21:47:32 BogoMIPS: 5600.00 21:47:32 Virtualization: AMD-V 21:47:32 Hypervisor vendor: KVM 21:47:32 Virtualization type: full 21:47:32 L1d cache: 256 KiB 21:47:32 L1i cache: 256 KiB 21:47:32 L2 cache: 4 MiB 21:47:32 L3 cache: 128 MiB 21:47:32 NUMA node0 CPU(s): 0-7 21:47:32 Vulnerability Itlb multihit: Not affected 21:47:32 Vulnerability L1tf: Not affected 21:47:32 Vulnerability Mds: Not affected 21:47:32 Vulnerability Meltdown: Not affected 21:47:32 Vulnerability Mmio stale data: Not affected 21:47:32 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 21:47:32 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 21:47:32 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 21:47:32 Vulnerability Srbds: Not affected 21:47:32 Vulnerability Tsx async abort: Not affected 21:47:32 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 21:47:32 21:47:32 21:47:32 ---> nproc: 21:47:32 8 21:47:32 21:47:32 21:47:32 ---> df -h: 21:47:32 Filesystem Size Used Avail Use% Mounted on 21:47:32 overlay 155G 12G 144G 8% / 21:47:32 tmpfs 64M 0 64M 0% /dev 21:47:32 tmpfs 16G 0 16G 0% /sys/fs/cgroup 21:47:32 shm 64M 0 64M 0% /dev/shm 21:47:32 /dev/vda1 155G 12G 144G 8% /facter-os 21:47:32 21:47:32 21:47:32 ---> sar -b -r -n DEV: 21:47:32 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-6003) 09/12/23 _x86_64_ (8 CPU) 21:47:32 21:47:32 21:35:36 LINUX RESTART (8 CPU) 21:47:32 21:47:32 21:36:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 21:47:32 21:37:01 391.90 32.69 359.21 0.00 4009.49 66826.23 0.00 21:47:32 21:38:01 159.07 0.25 158.82 0.00 16.00 38023.80 0.00 21:47:32 21:39:01 115.48 0.03 115.45 0.00 1.87 35377.04 0.00 21:47:32 21:40:01 2.33 0.00 2.33 0.00 0.00 26.55 0.00 21:47:32 21:41:01 26.07 10.26 15.81 0.00 3459.91 3701.70 0.00 21:47:32 21:42:01 4.47 0.00 4.47 0.00 0.00 59.46 0.00 21:47:32 21:43:01 0.87 0.00 0.87 0.00 0.00 10.26 0.00 21:47:32 21:44:01 1.82 0.00 1.82 0.00 0.00 20.13 0.00 21:47:32 21:45:01 0.93 0.00 0.93 0.00 0.00 11.20 0.00 21:47:32 21:46:01 2.02 0.00 2.02 0.00 0.00 32.52 0.00 21:47:32 21:47:01 0.88 0.00 0.88 0.00 0.00 10.40 0.00 21:47:32 Average: 63.67 3.89 59.78 0.00 675.64 13018.08 0.00 21:47:32 21:47:32 21:36:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 21:47:32 21:37:01 28123052 31531640 781836 2.38 116900 3482252 2032688 5.99 1221612 3087972 190572 21:47:32 21:38:01 27665136 31060668 1243616 3.78 155288 3403720 2685624 7.91 1765756 2961528 99332 21:47:32 21:39:01 27507364 31561148 745456 2.27 164460 4010592 1738044 5.12 1277900 3572940 140 21:47:32 21:40:01 27506284 31560236 745936 2.27 164528 4010592 1738044 5.12 1277948 3572940 8 21:47:32 21:41:01 27275288 31546276 747676 2.27 169648 4214584 1798076 5.30 1432356 3625032 1252 21:47:32 21:42:01 27277472 31548400 745576 2.27 169668 4214580 1798076 5.30 1431600 3624992 8 21:47:32 21:43:01 27284904 31555904 738036 2.24 169684 4214584 1798076 5.30 1423576 3624996 8 21:47:32 21:44:01 27285180 31556248 737616 2.24 169744 4214584 1798076 5.30 1423588 3625016 8 21:47:32 21:45:01 27285100 31556176 737612 2.24 169760 4214588 1798076 5.30 1423588 3625020 4 21:47:32 21:46:01 27284800 31556484 737724 2.24 169868 4214568 1798076 5.30 1423600 3625500 28 21:47:32 21:47:01 27285068 31556752 737368 2.24 169896 4214568 1798076 5.30 1423340 3625500 8 21:47:32 Average: 27434513 31508176 790768 2.40 162677 4037201 1889176 5.57 1411351 3506494 26488 21:47:32 21:47:32 21:36:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 21:47:32 21:37:01 docker0 209.39 340.16 17.96 2492.09 0.00 0.00 0.00 0.00 21:47:32 21:37:01 lo 6.91 6.91 0.68 0.68 0.00 0.00 0.00 0.00 21:47:32 21:37:01 ens3 947.50 577.75 8813.67 134.50 0.00 0.00 0.00 0.00 21:47:32 21:38:01 docker0 1.63 3.83 0.10 30.93 0.00 0.00 0.00 0.00 21:47:32 21:38:01 vethf51e86e 0.00 0.15 0.00 0.01 0.00 0.00 0.00 0.00 21:47:32 21:38:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 21:47:32 21:38:01 ens3 44.88 27.56 77.53 16.38 0.00 0.00 0.00 0.00 21:47:32 21:39:01 docker0 1.33 2.67 0.08 31.34 0.00 0.00 0.00 0.00 21:47:32 21:39:01 lo 1.60 1.60 0.16 0.16 0.00 0.00 0.00 0.00 21:47:32 21:39:01 ens3 107.42 63.96 2557.03 12.78 0.00 0.00 0.00 0.00 21:47:32 21:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:47:32 21:40:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:47:32 21:40:01 ens3 0.62 0.35 0.27 0.20 0.00 0.00 0.00 0.00 21:47:32 21:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:47:32 21:41:01 lo 0.20 0.20 0.02 0.02 0.00 0.00 0.00 0.00 21:47:32 21:41:01 ens3 74.09 25.12 1373.85 2.10 0.00 0.00 0.00 0.00 21:47:32 21:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:47:32 21:42:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:47:32 21:42:01 ens3 0.32 0.22 0.09 0.07 0.00 0.00 0.00 0.00 21:47:32 21:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:47:32 21:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:47:32 21:43:01 ens3 1.08 0.53 4.07 0.04 0.00 0.00 0.00 0.00 21:47:32 21:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:47:32 21:44:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:47:32 21:44:01 ens3 0.28 0.12 0.02 0.01 0.00 0.00 0.00 0.00 21:47:32 21:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:47:32 21:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:47:32 21:45:01 ens3 0.42 0.03 0.05 0.00 0.00 0.00 0.00 0.00 21:47:32 21:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:47:32 21:46:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:47:32 21:46:01 ens3 0.55 0.43 0.30 0.22 0.00 0.00 0.00 0.00 21:47:32 21:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:47:32 21:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:47:32 21:47:01 ens3 0.23 0.15 0.08 0.07 0.00 0.00 0.00 0.00 21:47:32 Average: docker0 19.02 31.05 1.62 228.78 0.00 0.00 0.00 0.00 21:47:32 Average: lo 0.90 0.90 0.09 0.09 0.00 0.00 0.00 0.00 21:47:32 Average: ens3 105.76 62.51 1154.47 14.94 0.00 0.00 0.00 0.00 21:47:32 21:47:32 21:47:32 ---> sar -P ALL: 21:47:32 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-6003) 09/12/23 _x86_64_ (8 CPU) 21:47:32 21:47:32 21:35:36 LINUX RESTART (8 CPU) 21:47:32 21:47:32 21:36:02 CPU %user %nice %system %iowait %steal %idle 21:47:32 21:37:01 all 11.49 0.00 4.13 1.93 0.07 82.37 21:47:32 21:37:01 0 11.39 0.00 5.70 3.90 0.08 78.93 21:47:32 21:37:01 1 12.08 0.00 3.25 0.27 0.07 84.33 21:47:32 21:37:01 2 10.90 0.00 3.82 2.29 0.07 82.93 21:47:32 21:37:01 3 11.33 0.00 4.85 2.57 0.10 81.14 21:47:32 21:37:01 4 11.05 0.00 4.48 4.22 0.05 80.20 21:47:32 21:37:01 5 12.03 0.00 3.08 0.48 0.05 84.36 21:47:32 21:37:01 6 12.53 0.00 3.65 0.46 0.07 83.30 21:47:32 21:37:01 7 10.64 0.00 4.23 1.24 0.09 83.80 21:47:32 21:38:01 all 31.62 0.00 4.75 2.75 0.09 60.79 21:47:32 21:38:01 0 31.91 0.00 4.95 2.13 0.07 60.94 21:47:32 21:38:01 1 30.81 0.00 4.71 0.49 0.07 63.93 21:47:32 21:38:01 2 31.07 0.00 5.06 12.37 0.08 51.42 21:47:32 21:38:01 3 31.79 0.00 4.58 2.85 0.07 60.71 21:47:32 21:38:01 4 30.62 0.00 4.41 0.44 0.08 64.44 21:47:32 21:38:01 5 31.87 0.00 4.45 0.45 0.08 63.14 21:47:32 21:38:01 6 31.98 0.00 5.16 2.43 0.15 60.28 21:47:32 21:38:01 7 32.93 0.00 4.71 0.87 0.08 61.40 21:47:32 21:39:01 all 12.80 0.00 2.49 0.55 0.04 84.12 21:47:32 21:39:01 0 12.15 0.00 2.75 0.02 0.05 85.04 21:47:32 21:39:01 1 12.16 0.00 2.33 0.20 0.03 85.27 21:47:32 21:39:01 2 12.38 0.00 2.70 0.10 0.03 84.79 21:47:32 21:39:01 3 13.13 0.00 1.98 0.69 0.05 84.15 21:47:32 21:39:01 4 13.91 0.00 3.41 3.13 0.05 79.50 21:47:32 21:39:01 5 13.49 0.00 2.21 0.02 0.03 84.25 21:47:32 21:39:01 6 12.59 0.00 2.21 0.12 0.05 85.04 21:47:32 21:39:01 7 12.55 0.00 2.32 0.10 0.05 84.97 21:47:32 21:40:01 all 0.08 0.00 0.01 0.01 0.01 99.90 21:47:32 21:40:01 0 0.02 0.00 0.02 0.00 0.00 99.97 21:47:32 21:40:01 1 0.02 0.00 0.02 0.00 0.02 99.95 21:47:32 21:40:01 2 0.00 0.00 0.00 0.00 0.00 100.00 21:47:32 21:40:01 3 0.00 0.00 0.00 0.02 0.02 99.97 21:47:32 21:40:01 4 0.52 0.00 0.02 0.03 0.02 99.42 21:47:32 21:40:01 5 0.02 0.00 0.00 0.00 0.00 99.98 21:47:32 21:40:01 6 0.08 0.00 0.00 0.00 0.02 99.90 21:47:32 21:40:01 7 0.00 0.00 0.02 0.00 0.00 99.98 21:47:32 21:41:01 all 0.95 0.00 0.40 0.18 0.02 98.46 21:47:32 21:41:01 0 0.80 0.00 0.32 0.02 0.02 98.85 21:47:32 21:41:01 1 1.19 0.00 0.36 0.20 0.00 98.24 21:47:32 21:41:01 2 0.65 0.00 0.37 0.03 0.00 98.95 21:47:32 21:41:01 3 0.72 0.00 0.32 0.38 0.03 98.55 21:47:32 21:41:01 4 0.42 0.00 0.45 0.54 0.02 98.58 21:47:32 21:41:01 5 0.65 0.00 0.33 0.12 0.02 98.88 21:47:32 21:41:01 6 0.95 0.00 0.43 0.12 0.03 98.47 21:47:32 21:41:01 7 2.20 0.00 0.62 0.03 0.02 97.13 21:47:32 21:42:01 all 0.12 0.00 0.02 0.01 0.01 99.84 21:47:32 21:42:01 0 0.02 0.00 0.02 0.00 0.02 99.95 21:47:32 21:42:01 1 0.88 0.00 0.00 0.00 0.02 99.10 21:47:32 21:42:01 2 0.00 0.00 0.00 0.00 0.00 100.00 21:47:32 21:42:01 3 0.02 0.00 0.00 0.00 0.00 99.98 21:47:32 21:42:01 4 0.03 0.00 0.02 0.02 0.02 99.92 21:47:32 21:42:01 5 0.02 0.00 0.02 0.00 0.00 99.97 21:47:32 21:42:01 6 0.02 0.00 0.03 0.00 0.02 99.93 21:47:32 21:42:01 7 0.00 0.00 0.05 0.03 0.02 99.90 21:47:32 21:43:01 all 0.03 0.00 0.01 0.00 0.01 99.95 21:47:32 21:43:01 0 0.02 0.00 0.03 0.00 0.00 99.95 21:47:32 21:43:01 1 0.05 0.00 0.02 0.00 0.02 99.92 21:47:32 21:43:01 2 0.02 0.00 0.00 0.00 0.00 99.98 21:47:32 21:43:01 3 0.02 0.00 0.02 0.00 0.02 99.95 21:47:32 21:43:01 4 0.03 0.00 0.00 0.02 0.00 99.95 21:47:32 21:43:01 5 0.00 0.00 0.00 0.00 0.00 100.00 21:47:32 21:43:01 6 0.07 0.00 0.02 0.00 0.03 99.88 21:47:32 21:43:01 7 0.03 0.00 0.00 0.02 0.00 99.95 21:47:32 21:44:01 all 0.05 0.00 0.01 0.00 0.00 99.94 21:47:32 21:44:01 0 0.02 0.00 0.00 0.00 0.02 99.97 21:47:32 21:44:01 1 0.20 0.00 0.02 0.00 0.00 99.78 21:47:32 21:44:01 2 0.02 0.00 0.00 0.00 0.00 99.98 21:47:32 21:44:01 3 0.05 0.00 0.02 0.00 0.00 99.93 21:47:32 21:44:01 4 0.05 0.00 0.02 0.02 0.00 99.92 21:47:32 21:44:01 5 0.00 0.00 0.00 0.00 0.00 100.00 21:47:32 21:44:01 6 0.03 0.00 0.02 0.00 0.02 99.93 21:47:32 21:44:01 7 0.00 0.00 0.00 0.02 0.00 99.98 21:47:32 21:45:01 all 0.03 0.00 0.00 0.00 0.01 99.95 21:47:32 21:45:01 0 0.03 0.00 0.02 0.00 0.00 99.95 21:47:32 21:45:01 1 0.07 0.00 0.02 0.00 0.02 99.90 21:47:32 21:45:01 2 0.00 0.00 0.00 0.02 0.02 99.97 21:47:32 21:45:01 3 0.03 0.00 0.00 0.00 0.02 99.95 21:47:32 21:45:01 4 0.03 0.00 0.00 0.00 0.02 99.95 21:47:32 21:45:01 5 0.02 0.00 0.00 0.00 0.00 99.98 21:47:32 21:45:01 6 0.03 0.00 0.00 0.00 0.02 99.95 21:47:32 21:45:01 7 0.02 0.00 0.00 0.00 0.02 99.97 21:47:32 21:46:01 all 0.04 0.00 0.01 0.01 0.01 99.92 21:47:32 21:46:01 0 0.00 0.00 0.00 0.00 0.00 100.00 21:47:32 21:46:01 1 0.07 0.00 0.02 0.00 0.02 99.90 21:47:32 21:46:01 2 0.02 0.00 0.02 0.00 0.00 99.97 21:47:32 21:46:01 3 0.00 0.00 0.02 0.00 0.02 99.97 21:47:32 21:46:01 4 0.00 0.00 0.02 0.05 0.00 99.93 21:47:32 21:46:01 5 0.05 0.00 0.02 0.00 0.02 99.92 21:47:32 21:46:01 6 0.20 0.00 0.02 0.00 0.02 99.77 21:47:32 21:46:01 7 0.02 0.00 0.02 0.02 0.00 99.95 21:47:32 21:47:01 all 0.04 0.00 0.01 0.00 0.01 99.94 21:47:32 21:47:01 0 0.03 0.00 0.00 0.00 0.02 99.95 21:47:32 21:47:01 1 0.03 0.00 0.00 0.00 0.02 99.95 21:47:32 21:47:01 2 0.02 0.00 0.00 0.00 0.00 99.98 21:47:32 21:47:01 3 0.03 0.00 0.00 0.00 0.02 99.95 21:47:32 21:47:01 4 0.03 0.00 0.00 0.03 0.00 99.93 21:47:32 21:47:01 5 0.02 0.00 0.00 0.00 0.00 99.98 21:47:32 21:47:01 6 0.15 0.00 0.03 0.00 0.03 99.78 21:47:32 21:47:01 7 0.02 0.00 0.02 0.00 0.02 99.95 21:47:32 21:47:32 Average: CPU %user %nice %system %iowait %steal %idle 21:47:32 Average: all 5.16 0.00 1.07 0.49 0.03 93.25 21:47:32 Average: 0 5.09 0.00 1.24 0.55 0.02 93.09 21:47:32 Average: 1 5.20 0.00 0.97 0.10 0.02 93.70 21:47:32 Average: 2 4.96 0.00 1.08 1.33 0.02 92.61 21:47:32 Average: 3 5.14 0.00 1.06 0.58 0.03 93.19 21:47:32 Average: 4 5.12 0.00 1.15 0.76 0.02 92.94 21:47:32 Average: 5 5.25 0.00 0.91 0.10 0.02 93.73 21:47:32 Average: 6 5.28 0.00 1.04 0.28 0.04 93.36 21:47:32 Average: 7 5.27 0.00 1.08 0.21 0.03 93.43 21:47:32 21:47:32 21:47:32