farshidtz commented: recheck Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-snmp-go Obtained Jenkinsfile from cbddcbe34f268d86a838dea3e42d67f950982f87+4d140b7d88f2fb2bd597ea15c42e7db009f8976b (6c592c25151eae1a2207a763b15277bd5b6a6d0f) 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-ssh4518131469067884968.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh16430081914350194543.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-197/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-197/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh376796604403492308.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17165669973480923931.key Verifying host key using known hosts file > 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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-197/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-197/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5611681695633021895.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8058 in /w/workspace/gexfoundry_device-snmp-go_PR-197 [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-197 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/197/head:refs/remotes/origin/PR-197 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4d140b7d88f2fb2bd597ea15c42e7db009f8976b into PR head commit cbddcbe34f268d86a838dea3e42d67f950982f87 Merge succeeded, producing 0cf78c79f33afe265f9fe063a7c4a3b53f6247fd Checking out Revision 0cf78c79f33afe265f9fe063a7c4a3b53f6247fd (PR-197) > git config core.sparsecheckout # timeout=10 > git checkout -f cbddcbe34f268d86a838dea3e42d67f950982f87 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 4d140b7d88f2fb2bd597ea15c42e7db009f8976b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0cf78c79f33afe265f9fe063a7c4a3b53f6247fd # timeout=10 Commit message: "Merge commit '4d140b7d88f2fb2bd597ea15c42e7db009f8976b' into HEAD" > git rev-list --no-walk cbddcbe34f268d86a838dea3e42d67f950982f87 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:12:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:12:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:12:33 ========================================================= 09:12:33 EdgeX Global Pipelines Version Info 09:12:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:12:34 ------------------- 09:12:34 stable info: 09:12:34 ------------------- 09:12:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:12:34 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 09:12:34 Message: update stable to v1.0.239 09:12:34 ------------------- 09:12:34 experimental info: 09:12:34 ------------------- 09:12:34 Commited By: **** collab-it+edgex@linuxfoundation.org 09:12:34 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 09:12:34 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:12:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 09:12:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 09:12:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:12:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:12:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:12:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 09:12:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:12:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:12:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:12:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:12:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:12:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 09:12:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:12:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:12:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:12:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:12:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:12:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:12:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:12:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:12:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:12:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:12:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:12:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:12:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:12:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:12:35 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:12:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-197 [Pipeline] echo 09:12:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-197 [Pipeline] echo 09:12:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-197 [Pipeline] echo 09:12:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0cf78c79f33afe265f9fe063a7c4a3b53f6247fd [Pipeline] echo 09:12:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0cf78c7 [Pipeline] echo 09:12:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:12:35 provisioning config files... 09:12:35 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-197@tmp/config553258047500666060tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:12:35 ---> docker-login.sh 09:12:35 nexus3.edgexfoundry.org:10001 09:12:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:12:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:12:35 Configure a credential helper to remove this warning. See 09:12:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:12:35 09:12:35 Login Succeeded 09:12:35 nexus3.edgexfoundry.org:10002 09:12:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:12:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:12:35 Configure a credential helper to remove this warning. See 09:12:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:12:35 09:12:35 Login Succeeded 09:12:35 nexus3.edgexfoundry.org:10003 09:12:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:12:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:12:36 Configure a credential helper to remove this warning. See 09:12:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:12:36 09:12:36 Login Succeeded 09:12:36 nexus3.edgexfoundry.org:10004 09:12:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:12:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:12:36 Configure a credential helper to remove this warning. See 09:12:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:12:36 09:12:36 Login Succeeded 09:12:36 docker.io 09:12:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:12:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:12:36 Configure a credential helper to remove this warning. See 09:12:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:12:36 09:12:36 Login Succeeded 09:12:36 ---> docker-login.sh ends [Pipeline] } 09:12:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:12:36 + git rev-list -1 --merges 0cf78c79f33afe265f9fe063a7c4a3b53f6247fd~1..0cf78c79f33afe265f9fe063a7c4a3b53f6247fd [Pipeline] echo 09:12:36 -----------> git rev-list -1 --merges 0cf78c79f33afe265f9fe063a7c4a3b53f6247fd~1..0cf78c79f33afe265f9fe063a7c4a3b53f6247fd 0cf78c79f33afe265f9fe063a7c4a3b53f6247fd 09:12:36 0cf78c79f33afe265f9fe063a7c4a3b53f6247fd [false] [Pipeline] sh 09:12:37 + git log --format=format:%s -1 0cf78c79f33afe265f9fe063a7c4a3b53f6247fd [Pipeline] echo 09:12:37 ========================================================= 09:12:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:12:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:12:37 + git log --format=format:%s -1 0cf78c79f33afe265f9fe063a7c4a3b53f6247fd [Pipeline] echo 09:12:37 [semverPrep] GIT_COMMIT: 0cf78c79f33afe265f9fe063a7c4a3b53f6247fd, Commit Message: Merge commit '4d140b7d88f2fb2bd597ea15c42e7db009f8976b' into HEAD [Pipeline] echo 09:12:37 [semverPrep] This is not a build commit. [Pipeline] sh 09:12:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:12:37 + grep -v github /etc/ssh/ssh_known_hosts 09:12:37 + [ -e /tmp/ssh_known_hosts ] 09:12:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:12:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:12:37 + sudo tee -a /etc/ssh/ssh_known_hosts 09:12:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:12:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:12:38 09:12:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:12:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:12:38 0.1.4: Pulling from edgex-devops/py-git-semver 09:12:38 b85a868b505f: Pulling fs layer 09:12:38 e2be974225ed: Pulling fs layer 09:12:38 339a4e72a1f5: Pulling fs layer 09:12:38 988bab9f4d93: Pulling fs layer 09:12:38 1469e6f7b9e6: Pulling fs layer 09:12:38 eaf3925da568: Pulling fs layer 09:12:38 bab4dde63d76: Pulling fs layer 09:12:38 bde34c3a00c8: Pulling fs layer 09:12:38 1469e6f7b9e6: Waiting 09:12:38 bab4dde63d76: Waiting 09:12:38 b352a97aabf1: Pulling fs layer 09:12:38 4872d77fe225: Pulling fs layer 09:12:38 5851b861e8e6: Pulling fs layer 09:12:38 b352a97aabf1: Waiting 09:12:38 4872d77fe225: Waiting 09:12:38 5851b861e8e6: Waiting 09:12:38 eaf3925da568: Waiting 09:12:38 988bab9f4d93: Waiting 09:12:38 bde34c3a00c8: Waiting 09:12:38 e2be974225ed: Download complete 09:12:38 988bab9f4d93: Verifying Checksum 09:12:38 988bab9f4d93: Download complete 09:12:38 1469e6f7b9e6: Verifying Checksum 09:12:38 1469e6f7b9e6: Download complete 09:12:38 339a4e72a1f5: Verifying Checksum 09:12:38 339a4e72a1f5: Download complete 09:12:38 eaf3925da568: Download complete 09:12:38 bde34c3a00c8: Download complete 09:12:38 b352a97aabf1: Verifying Checksum 09:12:38 4872d77fe225: Verifying Checksum 09:12:38 4872d77fe225: Download complete 09:12:38 5851b861e8e6: Download complete 09:12:38 b85a868b505f: Download complete 09:12:39 bab4dde63d76: Verifying Checksum 09:12:39 bab4dde63d76: Download complete 09:12:40 b85a868b505f: Pull complete 09:12:40 e2be974225ed: Pull complete 09:12:40 339a4e72a1f5: Pull complete 09:12:40 988bab9f4d93: Pull complete 09:12:41 1469e6f7b9e6: Pull complete 09:12:41 eaf3925da568: Pull complete 09:12:43 bab4dde63d76: Pull complete 09:12:43 bde34c3a00c8: Pull complete 09:12:43 b352a97aabf1: Pull complete 09:12:43 4872d77fe225: Pull complete 09:12:43 5851b861e8e6: Pull complete 09:12:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:12:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:12:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:12:43 prd-ubuntu20.04-docker-8c-8g-8058 does not seem to be running inside a container 09:12:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-197 -v /w/workspace/gexfoundry_device-snmp-go_PR-197:/w/workspace/gexfoundry_device-snmp-go_PR-197:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-197@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-197@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:12:45 $ docker top 32cff11049019394b78cc130135efbf3fefcce8915c0872f17459bdc715e2adb -eo pid,comm 09:12:45 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). 09:12:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:12:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:12:45 [ssh-agent] Looking for ssh-agent implementation... 09:12:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:12:45 $ docker exec 32cff11049019394b78cc130135efbf3fefcce8915c0872f17459bdc715e2adb ssh-agent 09:12:45 SSH_AUTH_SOCK=/tmp/ssh-fQlqkCScPWG5/agent.33 09:12:45 SSH_AGENT_PID=39 09:12:45 Running ssh-add (command line suppressed) 09:12:45 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-197@tmp/private_key_316502942040596196.key (/w/workspace/gexfoundry_device-snmp-go_PR-197@tmp/private_key_316502942040596196.key) 09:12:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:12:45 + git tag --points-at HEAD [Pipeline] } 09:12:45 $ docker exec --env ******** --env ******** 32cff11049019394b78cc130135efbf3fefcce8915c0872f17459bdc715e2adb ssh-agent -k 09:12:45 unset SSH_AUTH_SOCK; 09:12:45 unset SSH_AGENT_PID; 09:12:45 echo Agent pid 39 killed; 09:12:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:12:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:12:45 [ssh-agent] Looking for ssh-agent implementation... 09:12:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:12:46 $ docker exec 32cff11049019394b78cc130135efbf3fefcce8915c0872f17459bdc715e2adb ssh-agent 09:12:46 SSH_AUTH_SOCK=/tmp/ssh-vwAV5Py4AiY4/agent.71 09:12:46 SSH_AGENT_PID=77 09:12:46 Running ssh-add (command line suppressed) 09:12:46 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-197@tmp/private_key_11557382683384328537.key (/w/workspace/gexfoundry_device-snmp-go_PR-197@tmp/private_key_11557382683384328537.key) 09:12:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:12:46 + git semver init 09:12:46 2022-10-17 09:12:46,860 [run_init] DEBUG init version:0.0.0 force:False 09:12:46 2022-10-17 09:12:46,861 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-197/.semver 09:12:46 2022-10-17 09:12:46,861 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-197/.semver 09:12:46 2022-10-17 09:12:46,861 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-197/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-197, universal_newlines=False, shell=None, istream=None) 09:12:47 2022-10-17 09:12:47,713 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-197/.git/info/exclude 09:12:47 2022-10-17 09:12:47,714 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-197/.semver/PR-197 with force:False 09:12:47 2022-10-17 09:12:47,714 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-197/.semver/PR-197 09:12:47 2022-10-17 09:12:47,719 [execute] INFO git cat-file --batch-check 09:12:47 2022-10-17 09:12:47,719 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-197/.semver, universal_newlines=False, shell=None, istream=) 09:12:47 2022-10-17 09:12:47,726 [execute] INFO git cat-file --batch 09:12:47 2022-10-17 09:12:47,727 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-197/.semver, universal_newlines=False, shell=None, istream=) 09:12:47 2022-10-17 09:12:47,732 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-197/.semver/PR-197 09:12:47 0.0.0 [Pipeline] } 09:12:47 $ docker exec --env ******** --env ******** 32cff11049019394b78cc130135efbf3fefcce8915c0872f17459bdc715e2adb ssh-agent -k 09:12:47 unset SSH_AUTH_SOCK; 09:12:47 unset SSH_AGENT_PID; 09:12:47 echo Agent pid 77 killed; 09:12:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:12:48 + git semver [Pipeline] } 09:12:48 $ docker stop --time=1 32cff11049019394b78cc130135efbf3fefcce8915c0872f17459bdc715e2adb 09:12:49 $ docker rm -f 32cff11049019394b78cc130135efbf3fefcce8915c0872f17459bdc715e2adb [Pipeline] // withDockerContainer [Pipeline] sh 09:12:50 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:12:50 Stashed 1 file(s) [Pipeline] echo 09:12:50 [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 09:12:50 provisioning config files... 09:12:50 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-197@tmp/config10189228835195754668tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:12:50 ---> docker-login.sh 09:12:50 nexus3.edgexfoundry.org:10001 09:12:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:12:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:12:50 Configure a credential helper to remove this warning. See 09:12:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:12:50 09:12:50 Login Succeeded 09:12:50 nexus3.edgexfoundry.org:10002 09:12:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:12:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:12:50 Configure a credential helper to remove this warning. See 09:12:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:12:50 09:12:50 Login Succeeded 09:12:50 nexus3.edgexfoundry.org:10003 09:12:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:12:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:12:51 Configure a credential helper to remove this warning. See 09:12:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:12:51 09:12:51 Login Succeeded 09:12:51 nexus3.edgexfoundry.org:10004 09:12:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:12:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:12:51 Configure a credential helper to remove this warning. See 09:12:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:12:51 09:12:51 Login Succeeded 09:12:51 docker.io 09:12:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:12:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:12:51 Configure a credential helper to remove this warning. See 09:12:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:12:51 09:12:51 Login Succeeded 09:12:51 ---> docker-login.sh ends [Pipeline] } 09:12:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:12:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:12:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:12:51 ========================================================= 09:12:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 09:12:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:12:52 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 09:12:52 Sending build context to Docker daemon 5.531MB 09:12:52 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 09:12:52 Step 2/13 : FROM ${BASE} AS builder 09:12:52 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 09:12:52 213ec9aee27d: Pulling fs layer 09:12:52 4583459ba037: Pulling fs layer 09:12:52 93c1e223e6f2: Pulling fs layer 09:12:52 53926ce57604: Pulling fs layer 09:12:52 21b2b0c7a3f4: Pulling fs layer 09:12:52 30f14e443154: Pulling fs layer 09:12:52 801331c1e519: Pulling fs layer 09:12:52 99cc6dd402b0: Pulling fs layer 09:12:52 7d9ed39f4882: Pulling fs layer 09:12:52 21b2b0c7a3f4: Waiting 09:12:52 30f14e443154: Waiting 09:12:52 801331c1e519: Waiting 09:12:52 99cc6dd402b0: Waiting 09:12:52 7d9ed39f4882: Waiting 09:12:52 53926ce57604: Waiting 09:12:52 93c1e223e6f2: Verifying Checksum 09:12:52 93c1e223e6f2: Download complete 09:12:52 4583459ba037: Verifying Checksum 09:12:52 4583459ba037: Download complete 09:12:52 21b2b0c7a3f4: Verifying Checksum 09:12:52 21b2b0c7a3f4: Download complete 09:12:52 30f14e443154: Verifying Checksum 09:12:52 30f14e443154: Download complete 09:12:52 213ec9aee27d: Verifying Checksum 09:12:52 213ec9aee27d: Download complete 09:12:52 801331c1e519: Verifying Checksum 09:12:52 801331c1e519: Download complete 09:12:52 213ec9aee27d: Pull complete 09:12:52 4583459ba037: Pull complete 09:12:52 93c1e223e6f2: Pull complete 09:12:52 7d9ed39f4882: Verifying Checksum 09:12:52 7d9ed39f4882: Download complete 09:12:52 99cc6dd402b0: Verifying Checksum 09:12:52 99cc6dd402b0: Download complete 09:12:53 53926ce57604: Verifying Checksum 09:12:53 53926ce57604: Download complete 09:12:57 53926ce57604: Pull complete 09:12:57 21b2b0c7a3f4: Pull complete 09:12:57 30f14e443154: Pull complete 09:12:57 801331c1e519: Pull complete 09:12:59 99cc6dd402b0: Pull complete 09:13:00 7d9ed39f4882: Pull complete 09:13:00 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 09:13:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 09:13:00 ---> 1dedd983c030 09:13:00 Step 3/13 : ARG ADD_BUILD_TAGS="" 09:13:02 ---> Running in c965d723d7a6 09:13:02 Removing intermediate container c965d723d7a6 09:13:02 ---> c287de8f8610 09:13:02 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:13:02 ---> Running in 60f3b8d85184 09:13:02 Removing intermediate container 60f3b8d85184 09:13:02 ---> 6c34f4e8559c 09:13:02 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:13:02 ---> Running in 424974431ba9 09:13:02 Removing intermediate container 424974431ba9 09:13:02 ---> ee7aea996adc 09:13:02 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 09:13:02 ---> Running in a2905bc11b8b 09:13:02 Removing intermediate container a2905bc11b8b 09:13:02 ---> c35352c463cc 09:13:02 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:13:02 ---> Running in cc55a3877b25 09:13:03 Removing intermediate container cc55a3877b25 09:13:03 ---> 31aae68c7ca9 09:13:03 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:13:03 ---> Running in bd10588f03fa 09:13:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:13:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:13:04 (1/4) Installing openssh-keygen (9.0_p1-r2) 09:13:04 (2/4) Installing libedit (20210910.3.1-r0) 09:13:05 (3/4) Installing openssh-client-common (9.0_p1-r2) 09:13:05 (4/4) Installing openssh-client-default (9.0_p1-r2) 09:13:05 Executing busybox-1.35.0-r17.trigger 09:13:05 OK: 216 MiB in 55 packages 09:13:05 Still waiting to schedule task 09:13:05 ‘prd-centos7-blackbox-4c-2g-7901’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 09:13:05 ‘prd-ubuntu20.04-docker-8c-8g-8059’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 09:13:05 ‘prd-ubuntu20.04-docker-arm64-4c-16g-8060’ is offline 09:13:05 Removing intermediate container bd10588f03fa 09:13:05 ---> b457e7dcd585 09:13:05 Step 9/13 : WORKDIR /device-snmp-go 09:13:05 ---> Running in c1732490cfb8 09:13:05 Removing intermediate container c1732490cfb8 09:13:05 ---> 34255f9d9093 09:13:05 Step 10/13 : COPY go.mod vendor* ./ 09:13:05 ---> fd2b122173d3 09:13:05 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:13:06 ---> Running in 1db2d5c32361 09:13:21 Removing intermediate container 1db2d5c32361 09:13:21 ---> 9de28c7c3785 09:13:21 Step 12/13 : COPY . . 09:13:21 ---> 8a08bc31f0d3 09:13:21 Step 13/13 : RUN ${MAKE} 09:13:21 ---> Running in f92347fb7eb5 09:13:21 noop 09:13:21 Removing intermediate container f92347fb7eb5 09:13:21 ---> 4872b65a67ed 09:13:21 Successfully built 4872b65a67ed 09:13:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:13:21 + docker inspect -f . ci-base-image-x86_64 09:13:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:13:21 prd-ubuntu20.04-docker-8c-8g-8058 does not seem to be running inside a container 09:13:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-197 -v /w/workspace/gexfoundry_device-snmp-go_PR-197:/w/workspace/gexfoundry_device-snmp-go_PR-197:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-197@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-197@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:13:22 $ docker top 5ad99196f748610d3171bdd647a815ecb10a2ebfd18ec2eb2c7d4b530e149c85 -eo pid,comm [Pipeline] { [Pipeline] sh 09:13:22 + go version 09:13:22 go version go1.18.7 linux/amd64 [Pipeline] } 09:13:22 $ docker stop --time=1 5ad99196f748610d3171bdd647a815ecb10a2ebfd18ec2eb2c7d4b530e149c85 09:13:23 $ docker rm -f 5ad99196f748610d3171bdd647a815ecb10a2ebfd18ec2eb2c7d4b530e149c85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:13:24 + docker inspect -f . ci-base-image-x86_64 09:13:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:13:24 prd-ubuntu20.04-docker-8c-8g-8058 does not seem to be running inside a container 09:13:24 $ 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-197 -v /w/workspace/gexfoundry_device-snmp-go_PR-197:/w/workspace/gexfoundry_device-snmp-go_PR-197:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-197@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-197@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:13:24 $ docker top 9023708c29159839a1c7eb6bb83e628d5b0d04da7684aab5e0af3dd61647e4e8 -eo pid,comm [Pipeline] { [Pipeline] sh 09:13:25 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-197 [Pipeline] fileExists [Pipeline] sh 09:13:25 + make test 09:13:25 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 09:13:25 ? github.com/edgexfoundry/device-snmp-go [no test files] 09:13:35 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 09:13:35 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.015s coverage: 0.0% of statements 09:13:40 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 09:13:40 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:13:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:13:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:13:43 ./bin/test-attribution-txt.sh [Pipeline] echo 09:13:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:13:43 $ docker stop --time=1 9023708c29159839a1c7eb6bb83e628d5b0d04da7684aab5e0af3dd61647e4e8 09:13:45 $ docker rm -f 9023708c29159839a1c7eb6bb83e628d5b0d04da7684aab5e0af3dd61647e4e8 [Pipeline] // withDockerContainer [Pipeline] sh 09:13:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:13:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:13:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:13:46 + ls -al . 09:13:46 total 172 09:13:46 drwxrwxr-x 9 jenkins jenkins 4096 Oct 17 09:13 . 09:13:46 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 09:12 .. 09:13:46 -rw-rw-r-- 1 jenkins jenkins 6 Oct 17 09:12 .dockerignore 09:13:46 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 09:13 .git 09:13:46 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:12 .github 09:13:46 -rw-rw-r-- 1 jenkins jenkins 328 Oct 17 09:12 .gitignore 09:13:46 -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 09:12 .golangci.yml 09:13:46 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 09:12 .semver 09:13:46 -rw-rw-r-- 1 jenkins jenkins 8932 Oct 17 09:12 Attribution.txt 09:13:46 -rw-rw-r-- 1 jenkins jenkins 6948 Oct 17 09:12 CHANGELOG.md 09:13:46 -rw-rw-r-- 1 jenkins jenkins 1575 Oct 17 09:12 Dockerfile 09:13:46 -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 09:12 GOVERNANCE.md 09:13:46 -rw-rw-r-- 1 jenkins jenkins 656 Oct 17 09:12 Jenkinsfile 09:13:46 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 09:12 LICENSE 09:13:46 -rw-rw-r-- 1 jenkins jenkins 2543 Oct 17 09:12 Makefile 09:13:46 -rw-rw-r-- 1 jenkins jenkins 620 Oct 17 09:12 OWNERS.md 09:13:46 -rw-rw-r-- 1 jenkins jenkins 10054 Oct 17 09:12 README.md 09:13:46 -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 09:12 VERSION 09:13:46 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 09:12 bin 09:13:46 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:12 cmd 09:13:46 -rw-r--r-- 1 jenkins jenkins 7631 Oct 17 09:13 coverage.out 09:13:46 -rw-rw-r-- 1 jenkins jenkins 3473 Oct 17 09:12 go.mod 09:13:46 -rw-rw-r-- 1 jenkins jenkins 38138 Oct 17 09:12 go.sum 09:13:46 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:12 internal 09:13:46 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 09:12 snap 09:13:46 -rw-rw-r-- 1 jenkins jenkins 228 Oct 17 09:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:13:46 + 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=0cf78c79f33afe265f9fe063a7c4a3b53f6247fd --label arch=amd64 --label version=0.0.0 . 09:13:46 Sending build context to Docker daemon 5.539MB 09:13:46 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 09:13:46 Step 2/25 : FROM ${BASE} AS builder 09:13:46 ---> 4872b65a67ed 09:13:46 Step 3/25 : ARG ADD_BUILD_TAGS="" 09:13:46 ---> Running in 34adf1ce6491 09:13:47 Removing intermediate container 34adf1ce6491 09:13:47 ---> 3a4a0ca9d87c 09:13:47 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:13:47 ---> Running in 3c259cd5e589 09:13:47 Removing intermediate container 3c259cd5e589 09:13:47 ---> 9a6e6177fc55 09:13:47 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:13:47 ---> Running in 1ccda49aca24 09:13:47 Removing intermediate container 1ccda49aca24 09:13:47 ---> 9ef0419fe8b6 09:13:47 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 09:13:47 ---> Running in 43f2198d3d30 09:13:47 Removing intermediate container 43f2198d3d30 09:13:47 ---> 263a58ba8610 09:13:47 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:13:47 ---> Running in 429c63165598 09:13:47 Removing intermediate container 429c63165598 09:13:47 ---> c77e6452cc44 09:13:47 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:13:47 ---> Running in 47927ec56acb 09:13:48 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:13:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:13:49 OK: 216 MiB in 55 packages 09:13:49 Removing intermediate container 47927ec56acb 09:13:49 ---> 2c8fd90e7e1a 09:13:49 Step 9/25 : WORKDIR /device-snmp-go 09:13:49 ---> Running in b29f69ca91f3 09:13:49 Removing intermediate container b29f69ca91f3 09:13:49 ---> af79ccd969bd 09:13:49 Step 10/25 : COPY go.mod vendor* ./ 09:13:50 ---> 7d0e2df66243 09:13:50 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:13:50 ---> Running in 4b7008f9731e 09:13:50 Removing intermediate container 4b7008f9731e 09:13:50 ---> 9e9d6c3c22e2 09:13:50 Step 12/25 : COPY . . 09:13:50 ---> 6901176f1013 09:13:50 Step 13/25 : RUN ${MAKE} 09:13:51 ---> Running in 580f4d59ec4e 09:13:51 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.40 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 09:14:13 Removing intermediate container 580f4d59ec4e 09:14:13 ---> 7eaf49d38732 09:14:13 Step 14/25 : FROM alpine:3.16 09:14:13 3.16: Pulling from library/alpine 09:14:13 213ec9aee27d: Already exists 09:14:13 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 09:14:13 Status: Downloaded newer image for alpine:3.16 09:14:13 ---> 9c6f07244728 09:14:13 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 09:14:13 ---> Running in 62334d2c83b3 09:14:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:14:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:14:13 (1/6) Installing dumb-init (1.2.5-r1) 09:14:13 (2/6) Installing libgcc (11.2.1_git20220219-r2) 09:14:13 (3/6) Installing libsodium (1.0.18-r0) 09:14:13 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 09:14:13 (5/6) Installing libzmq (4.3.4-r0) 09:14:13 (6/6) Installing zeromq (4.3.4-r0) 09:14:13 Executing busybox-1.35.0-r17.trigger 09:14:13 OK: 8 MiB in 20 packages 09:14:13 Removing intermediate container 62334d2c83b3 09:14:13 ---> 434746809733 09:14:13 Step 16/25 : COPY --from=builder /device-snmp-go/cmd / 09:14:13 ---> 4cafe4c50a9a 09:14:13 Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / 09:14:13 ---> 6954e11dee27 09:14:13 Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / 09:14:13 ---> 4fc53f4c78f3 09:14:13 Step 19/25 : EXPOSE 59993 09:14:13 ---> Running in 3685b4605e7b 09:14:13 Removing intermediate container 3685b4605e7b 09:14:13 ---> f7cc92d79106 09:14:13 Step 20/25 : EXPOSE 161 09:14:13 ---> Running in 3f358a654f07 09:14:13 Removing intermediate container 3f358a654f07 09:14:13 ---> 5c4ce371b555 09:14:13 Step 21/25 : ENTRYPOINT ["/device-snmp"] 09:14:13 ---> Running in 922da6b538c2 09:14:13 Removing intermediate container 922da6b538c2 09:14:13 ---> 4ff50f437f56 09:14:13 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 09:14:13 ---> Running in 3614661b0a9d 09:14:13 Removing intermediate container 3614661b0a9d 09:14:13 ---> 23be7c00face 09:14:13 Step 23/25 : LABEL arch=amd64 09:14:13 ---> Running in fe0b7f416e8e 09:14:13 Removing intermediate container fe0b7f416e8e 09:14:13 ---> 20634c98da65 09:14:13 Step 24/25 : LABEL git_sha=0cf78c79f33afe265f9fe063a7c4a3b53f6247fd 09:14:13 ---> Running in 696b85fb1dd9 09:14:13 Removing intermediate container 696b85fb1dd9 09:14:13 ---> 6e96fc61f1f5 09:14:13 Step 25/25 : LABEL version=0.0.0 09:14:13 ---> Running in d32ff22697db 09:14:13 Removing intermediate container d32ff22697db 09:14:13 ---> 3442d3207e97 09:14:13 [Warning] One or more build-args [ARCH] were not consumed 09:14:13 Successfully built 3442d3207e97 09:14:13 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 09:14:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:14:13 09:14:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:14:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:14:14 latest: Pulling from edgex-lftools-log-publisher 09:14:14 5eb5b503b376: Pulling fs layer 09:14:14 5c69ac0246d0: Pulling fs layer 09:14:14 ec43610c2a17: Pulling fs layer 09:14:14 3a2ae6a8a46f: Pulling fs layer 09:14:14 33b1e0a273af: Pulling fs layer 09:14:14 5d3b04190fa2: Pulling fs layer 09:14:14 2f39f015ded8: Pulling fs layer 09:14:14 33b1e0a273af: Waiting 09:14:14 3a2ae6a8a46f: Waiting 09:14:14 5d3b04190fa2: Waiting 09:14:14 2f39f015ded8: Waiting 09:14:14 5c69ac0246d0: Verifying Checksum 09:14:14 5c69ac0246d0: Download complete 09:14:14 3a2ae6a8a46f: Verifying Checksum 09:14:14 3a2ae6a8a46f: Download complete 09:14:14 33b1e0a273af: Verifying Checksum 09:14:14 33b1e0a273af: Download complete 09:14:14 5d3b04190fa2: Verifying Checksum 09:14:14 5d3b04190fa2: Download complete 09:14:14 ec43610c2a17: Verifying Checksum 09:14:14 ec43610c2a17: Download complete 09:14:14 5eb5b503b376: Verifying Checksum 09:14:14 5eb5b503b376: Download complete 09:14:14 2f39f015ded8: Download complete 09:14:15 5eb5b503b376: Pull complete 09:14:15 5c69ac0246d0: Pull complete 09:14:16 ec43610c2a17: Pull complete 09:14:16 3a2ae6a8a46f: Pull complete 09:14:16 33b1e0a273af: Pull complete 09:14:16 5d3b04190fa2: Pull complete 09:14:20 2f39f015ded8: Pull complete 09:14:20 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:14:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:14:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:14:20 prd-ubuntu20.04-docker-8c-8g-8058 does not seem to be running inside a container 09:14:20 $ 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-197 -v /w/workspace/gexfoundry_device-snmp-go_PR-197:/w/workspace/gexfoundry_device-snmp-go_PR-197:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-197@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-197@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:14:22 $ docker top 5dbecf2702e439c6d07c94a7c8d4fbc6f82c74e9b7c24c63853ff834cf8df6bd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:14:23 ---> job-cost.sh 09:14:23 lf-activate-venv: SKIPPING 09:14:23 INFO: No Stack... 09:14:23 INFO: Retrieving Pricing Info for: v3-standard-8 09:14:23 INFO: Archiving Costs [Pipeline] sh 09:14:24 + cat /w/workspace/gexfoundry_device-snmp-go_PR-197/archives/cost.csv 09:14:24 + cut -d, -f6 [Pipeline] lock 09:14:24 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-197-3-stack-cost] 09:14:24 Resource [jenkins-edgexfoundry-device-snmp-go-PR-197-3-stack-cost] did not exist. Created. 09:14:24 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-197-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:14:24 + echo total: 0.2199999988079071 [Pipeline] stash 09:14:24 Stashed 1 file(s) [Pipeline] } 09:14:24 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-197-3-stack-cost] [Pipeline] // lock [Pipeline] } 09:14:24 $ docker stop --time=1 5dbecf2702e439c6d07c94a7c8d4fbc6f82c74e9b7c24c63853ff834cf8df6bd 09:14:25 $ docker rm -f 5dbecf2702e439c6d07c94a7c8d4fbc6f82c74e9b7c24c63853ff834cf8df6bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:15:36 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8064 in /w/workspace/gexfoundry_device-snmp-go_PR-197 [Pipeline] { [Pipeline] ws 09:15:36 Running in /w/workspace/device-snmp-go/3 [Pipeline] { [Pipeline] checkout 09:15:36 Selected Git installation does not exist. Using Default 09:15:36 The recommended git tool is: NONE 09:15:42 using credential edgex-jenkins-ssh 09:15:42 Cloning the remote Git repository 09:15:42 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 09:15:42 > git init /w/workspace/device-snmp-go/3 # timeout=10 09:15:42 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 09:15:42 > git --version # timeout=10 09:15:43 > git --version # 'git version 2.25.1' 09:15:43 using GIT_SSH to set credentials SSH Credentials for GitHub 09:15:43 Verifying host key using known hosts file 09:15:43 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 09:15:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:15:44 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 09:15:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:15:46 Merging remotes/origin/main commit 4d140b7d88f2fb2bd597ea15c42e7db009f8976b into PR head commit cbddcbe34f268d86a838dea3e42d67f950982f87 09:15:46 Merge succeeded, producing e278e6d9602da1da5d972ba72f6dc11e33ccc39c 09:15:46 Checking out Revision e278e6d9602da1da5d972ba72f6dc11e33ccc39c (PR-197) 09:15:45 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 09:15:45 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 09:15:45 using GIT_SSH to set credentials SSH Credentials for GitHub 09:15:45 Verifying host key using known hosts file 09:15:45 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 09:15:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/197/head:refs/remotes/origin/PR-197 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:15:46 > git config core.sparsecheckout # timeout=10 09:15:46 > git checkout -f cbddcbe34f268d86a838dea3e42d67f950982f87 # timeout=10 09:15:46 > git remote # timeout=10 09:15:46 > git config --get remote.origin.url # timeout=10 09:15:46 using GIT_SSH to set credentials SSH Credentials for GitHub 09:15:46 Verifying host key using known hosts file 09:15:46 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 09:15:46 > git merge 4d140b7d88f2fb2bd597ea15c42e7db009f8976b # timeout=10 09:15:46 > git rev-parse HEAD^{commit} # timeout=10 09:15:46 > git config core.sparsecheckout # timeout=10 09:15:46 > git checkout -f e278e6d9602da1da5d972ba72f6dc11e33ccc39c # timeout=10 09:15:50 Commit message: "Merge commit '4d140b7d88f2fb2bd597ea15c42e7db009f8976b' into HEAD" 09:15:50 > git rev-list --no-walk cbddcbe34f268d86a838dea3e42d67f950982f87 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:15:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:15:51 % Total % Received % Xferd Average Speed Time Time Time Current 09:15:51 Dload Upload Total Spent Left Speed 09:15:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 180k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh 09:15:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:15:52 + sudo tee /etc/docker/daemon.new 09:15:52 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:15:52 { 09:15:52 "registry-mirrors": [ 09:15:52 "https://nexus3.edgexfoundry.org:10001" 09:15:52 ], 09:15:52 "bip": "10.250.0.254/24", 09:15:52 "hosts": [ 09:15:52 "tcp://0.0.0.0:5555", 09:15:52 "unix:///var/run/docker.sock" 09:15:52 ], 09:15:52 "mtu": 1458, 09:15:52 "selinux-enabled": true, 09:15:52 "seccomp-profile": "/etc/docker/seccomp.json" 09:15:52 } [Pipeline] sh 09:15:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:15:53 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:16:11 provisioning config files... 09:16:11 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/3@tmp/config16430812562809938242tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:16:11 ---> docker-login.sh 09:16:11 nexus3.edgexfoundry.org:10001 09:16:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:16:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:16:12 Configure a credential helper to remove this warning. See 09:16:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:16:12 09:16:12 Login Succeeded 09:16:12 nexus3.edgexfoundry.org:10002 09:16:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:16:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:16:13 Configure a credential helper to remove this warning. See 09:16:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:16:13 09:16:13 Login Succeeded 09:16:13 nexus3.edgexfoundry.org:10003 09:16:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:16:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:16:13 Configure a credential helper to remove this warning. See 09:16:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:16:13 09:16:13 Login Succeeded 09:16:13 nexus3.edgexfoundry.org:10004 09:16:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:16:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:16:14 Configure a credential helper to remove this warning. See 09:16:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:16:14 09:16:14 Login Succeeded 09:16:14 docker.io 09:16:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:16:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:16:15 Configure a credential helper to remove this warning. See 09:16:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:16:15 09:16:15 Login Succeeded 09:16:15 ---> docker-login.sh ends [Pipeline] } 09:16:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:16:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:16:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:16:15 ========================================================= 09:16:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 09:16:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:16:15 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 09:16:16 Sending build context to Docker daemon 2.859MB 09:16:16 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 09:16:16 Step 2/13 : FROM ${BASE} AS builder 09:16:16 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:16:16 9b18e9b68314: Pulling fs layer 09:16:16 d32db5db7311: Pulling fs layer 09:16:16 d0c4b47475fc: Pulling fs layer 09:16:16 5831b945b038: Pulling fs layer 09:16:16 86bbec2aaacd: Pulling fs layer 09:16:16 e10730c5d714: Pulling fs layer 09:16:16 5dd5c2283517: Pulling fs layer 09:16:16 d5ac0230b979: Pulling fs layer 09:16:16 86bbec2aaacd: Waiting 09:16:16 e10730c5d714: Waiting 09:16:16 5dd5c2283517: Waiting 09:16:16 d5ac0230b979: Waiting 09:16:16 5831b945b038: Waiting 09:16:16 d0c4b47475fc: Verifying Checksum 09:16:16 d32db5db7311: Verifying Checksum 09:16:16 d32db5db7311: Download complete 09:16:16 86bbec2aaacd: Verifying Checksum 09:16:16 86bbec2aaacd: Download complete 09:16:16 e10730c5d714: Download complete 09:16:16 9b18e9b68314: Download complete 09:16:17 9b18e9b68314: Pull complete 09:16:17 d5ac0230b979: Verifying Checksum 09:16:17 d5ac0230b979: Download complete 09:16:17 d32db5db7311: Pull complete 09:16:18 d0c4b47475fc: Pull complete 09:16:19 5dd5c2283517: Verifying Checksum 09:16:19 5dd5c2283517: Download complete 09:16:19 5831b945b038: Verifying Checksum 09:16:19 5831b945b038: Download complete 09:16:32 5831b945b038: Pull complete 09:16:32 86bbec2aaacd: Pull complete 09:16:32 e10730c5d714: Pull complete 09:16:38 5dd5c2283517: Pull complete 09:16:40 d5ac0230b979: Pull complete 09:16:40 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 09:16:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 09:16:40 ---> 59b3b1a385d4 09:16:40 Step 3/13 : ARG ADD_BUILD_TAGS="" 09:16:42 ---> Running in 3b9e21b60899 09:16:42 Removing intermediate container 3b9e21b60899 09:16:42 ---> 4415982fc12e 09:16:42 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:16:43 ---> Running in dcf7122d44e5 09:16:43 Removing intermediate container dcf7122d44e5 09:16:43 ---> d3455c5b35b9 09:16:43 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:16:43 ---> Running in 6e2de244d2bc 09:16:44 Removing intermediate container 6e2de244d2bc 09:16:44 ---> 59482b61e2a7 09:16:44 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 09:16:44 ---> Running in c944567017e0 09:16:44 Removing intermediate container c944567017e0 09:16:44 ---> 4a635419fbe2 09:16:44 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:16:44 ---> Running in 998dfdf28c11 09:16:46 Removing intermediate container 998dfdf28c11 09:16:46 ---> fd94dfaf1b1d 09:16:46 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:16:46 ---> Running in ab6371dc4dec 09:16:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:16:48 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:16:49 (1/4) Installing openssh-keygen (9.0_p1-r2) 09:16:49 (2/4) Installing libedit (20210910.3.1-r0) 09:16:49 (3/4) Installing openssh-client-common (9.0_p1-r2) 09:16:50 (4/4) Installing openssh-client-default (9.0_p1-r2) 09:16:50 Executing busybox-1.35.0-r17.trigger 09:16:50 OK: 226 MiB in 55 packages 09:16:51 Removing intermediate container ab6371dc4dec 09:16:51 ---> 433338b3e05b 09:16:51 Step 9/13 : WORKDIR /device-snmp-go 09:16:51 ---> Running in 104a651f2688 09:16:51 Removing intermediate container 104a651f2688 09:16:51 ---> 6de4e0ed135d 09:16:51 Step 10/13 : COPY go.mod vendor* ./ 09:16:52 ---> 487d650752b7 09:16:52 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:16:52 ---> Running in b19c933f4a89 09:17:48 Removing intermediate container b19c933f4a89 09:17:48 ---> 549909acbd32 09:17:48 Step 12/13 : COPY . . 09:17:48 ---> a135c5a29fc1 09:17:48 Step 13/13 : RUN ${MAKE} 09:17:48 ---> Running in a22e60df52ce 09:17:48 noop 09:17:48 Removing intermediate container a22e60df52ce 09:17:48 ---> e8c13a021d3b 09:17:48 Successfully built e8c13a021d3b 09:17:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:17:49 + docker inspect -f . ci-base-image-arm64 09:17:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:17:49 prd-ubuntu20.04-docker-arm64-4c-16g-8064 does not seem to be running inside a container 09:17:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:17:50 $ docker top 5de2099ffa3d9cd2c90450c4a3e17eaec08dd19394d03e2550d20befaa70aaa8 -eo pid,comm [Pipeline] { [Pipeline] sh 09:17:51 + go version 09:17:51 go version go1.18.7 linux/arm64 [Pipeline] } 09:17:51 $ docker stop --time=1 5de2099ffa3d9cd2c90450c4a3e17eaec08dd19394d03e2550d20befaa70aaa8 09:17:53 $ docker rm -f 5de2099ffa3d9cd2c90450c4a3e17eaec08dd19394d03e2550d20befaa70aaa8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:17:54 + docker inspect -f . ci-base-image-arm64 09:17:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:17:54 prd-ubuntu20.04-docker-arm64-4c-16g-8064 does not seem to be running inside a container 09:17:54 $ 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/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:17:55 $ docker top 46d0748bc3f05e321d6564dd3e224b9316e38a220ec830b7d0124d1ab12a760c -eo pid,comm [Pipeline] { [Pipeline] sh 09:17:56 + git config --global --add safe.directory /w/workspace/device-snmp-go/3 [Pipeline] fileExists [Pipeline] sh 09:17:57 + make test 09:17:57 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 09:17:59 ? github.com/edgexfoundry/device-snmp-go [no test files] 09:19:36 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 09:19:36 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.078s coverage: 0.0% of statements 09:19:36 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:19:36 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:20:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:20:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:20:08 ./bin/test-attribution-txt.sh [Pipeline] echo 09:20:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:20:08 $ docker stop --time=1 46d0748bc3f05e321d6564dd3e224b9316e38a220ec830b7d0124d1ab12a760c 09:20:10 $ docker rm -f 46d0748bc3f05e321d6564dd3e224b9316e38a220ec830b7d0124d1ab12a760c [Pipeline] // withDockerContainer [Pipeline] sh 09:20:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:20:12 Warning: overwriting stash ‘coverage-report’ 09:20:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:20:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:20:13 + ls -al . 09:20:13 total 168 09:20:13 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 09:17 . 09:20:13 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 09:15 .. 09:20:13 -rw-rw-r-- 1 jenkins jenkins 6 Oct 17 09:15 .dockerignore 09:20:13 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 09:15 .git 09:20:13 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:15 .github 09:20:13 -rw-rw-r-- 1 jenkins jenkins 328 Oct 17 09:15 .gitignore 09:20:13 -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 09:15 .golangci.yml 09:20:13 -rw-rw-r-- 1 jenkins jenkins 8932 Oct 17 09:15 Attribution.txt 09:20:13 -rw-rw-r-- 1 jenkins jenkins 6948 Oct 17 09:15 CHANGELOG.md 09:20:13 -rw-rw-r-- 1 jenkins jenkins 1575 Oct 17 09:15 Dockerfile 09:20:13 -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 09:15 GOVERNANCE.md 09:20:13 -rw-rw-r-- 1 jenkins jenkins 656 Oct 17 09:15 Jenkinsfile 09:20:13 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 09:15 LICENSE 09:20:13 -rw-rw-r-- 1 jenkins jenkins 2543 Oct 17 09:15 Makefile 09:20:13 -rw-rw-r-- 1 jenkins jenkins 620 Oct 17 09:15 OWNERS.md 09:20:13 -rw-rw-r-- 1 jenkins jenkins 10054 Oct 17 09:15 README.md 09:20:13 -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 09:12 VERSION 09:20:13 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 09:15 bin 09:20:13 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:15 cmd 09:20:13 -rw-r--r-- 1 jenkins jenkins 7631 Oct 17 09:19 coverage.out 09:20:13 -rw-rw-r-- 1 jenkins jenkins 3473 Oct 17 09:15 go.mod 09:20:13 -rw-rw-r-- 1 jenkins jenkins 38138 Oct 17 09:15 go.sum 09:20:13 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:15 internal 09:20:13 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 09:15 snap 09:20:13 -rw-rw-r-- 1 jenkins jenkins 228 Oct 17 09:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:20:14 + 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=e278e6d9602da1da5d972ba72f6dc11e33ccc39c --label arch=arm64 --label version=0.0.0 . 09:20:14 Sending build context to Docker daemon 2.867MB 09:20:14 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 09:20:14 Step 2/25 : FROM ${BASE} AS builder 09:20:14 ---> e8c13a021d3b 09:20:14 Step 3/25 : ARG ADD_BUILD_TAGS="" 09:20:14 ---> Running in bfd72c979c06 09:20:15 Removing intermediate container bfd72c979c06 09:20:15 ---> 03b88b4f73df 09:20:15 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:20:15 ---> Running in eba8f63e0e65 09:20:15 Removing intermediate container eba8f63e0e65 09:20:15 ---> 90036306c364 09:20:15 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:20:15 ---> Running in 660685e03ae4 09:20:16 Removing intermediate container 660685e03ae4 09:20:16 ---> 8d1630959544 09:20:16 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 09:20:16 ---> Running in a7912b28a0bd 09:20:16 Removing intermediate container a7912b28a0bd 09:20:16 ---> f23360d331a4 09:20:16 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:20:16 ---> Running in 456143bd7784 09:20:19 Removing intermediate container 456143bd7784 09:20:19 ---> 097747e57dc5 09:20:19 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:20:19 ---> Running in 78b58f2fd33f 09:20:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:20:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:20:22 OK: 226 MiB in 55 packages 09:20:23 Removing intermediate container 78b58f2fd33f 09:20:23 ---> c4df09ee76ca 09:20:23 Step 9/25 : WORKDIR /device-snmp-go 09:20:23 ---> Running in ea7dfa1855e3 09:20:24 Removing intermediate container ea7dfa1855e3 09:20:24 ---> 71d18a619455 09:20:24 Step 10/25 : COPY go.mod vendor* ./ 09:20:24 ---> bc6b624e654d 09:20:24 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:20:24 ---> Running in 30c041830fe4 09:20:28 Removing intermediate container 30c041830fe4 09:20:28 ---> aee626646fb7 09:20:28 Step 12/25 : COPY . . 09:20:28 ---> 48a6a4306af4 09:20:28 Step 13/25 : RUN ${MAKE} 09:20:28 ---> Running in 24656b8aa260 09:20:29 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.40 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 09:23:21 Removing intermediate container 24656b8aa260 09:23:21 ---> 9184ecf7b79a 09:23:21 Step 14/25 : FROM alpine:3.16 09:23:21 3.16: Pulling from library/alpine 09:23:21 9b18e9b68314: Already exists 09:23:21 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 09:23:21 Status: Downloaded newer image for alpine:3.16 09:23:21 ---> a6215f271958 09:23:21 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 09:23:21 ---> Running in b402797c3933 09:23:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:23:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:23:21 (1/6) Installing dumb-init (1.2.5-r1) 09:23:21 (2/6) Installing libgcc (11.2.1_git20220219-r2) 09:23:21 (3/6) Installing libsodium (1.0.18-r0) 09:23:21 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 09:23:21 (5/6) Installing libzmq (4.3.4-r0) 09:23:21 (6/6) Installing zeromq (4.3.4-r0) 09:23:21 Executing busybox-1.35.0-r17.trigger 09:23:21 OK: 8 MiB in 20 packages 09:23:21 Removing intermediate container b402797c3933 09:23:21 ---> 9b3a2f5d3577 09:23:21 Step 16/25 : COPY --from=builder /device-snmp-go/cmd / 09:23:21 ---> 3ccf1765a168 09:23:21 Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / 09:23:21 ---> 125f4f0c0429 09:23:21 Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / 09:23:21 ---> b3b7ad053d3f 09:23:21 Step 19/25 : EXPOSE 59993 09:23:21 ---> Running in 63ff7469590d 09:23:21 Removing intermediate container 63ff7469590d 09:23:21 ---> fe9b0e17b126 09:23:21 Step 20/25 : EXPOSE 161 09:23:21 ---> Running in 314eb6344c0c 09:23:22 Removing intermediate container 314eb6344c0c 09:23:22 ---> 948c6b9af6bc 09:23:22 Step 21/25 : ENTRYPOINT ["/device-snmp"] 09:23:22 ---> Running in 1ed464aaf3d6 09:23:22 Removing intermediate container 1ed464aaf3d6 09:23:22 ---> 670dd6f2860c 09:23:22 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 09:23:22 ---> Running in 65a2e24f4051 09:23:23 Removing intermediate container 65a2e24f4051 09:23:23 ---> d9fdad480ebe 09:23:23 Step 23/25 : LABEL arch=arm64 09:23:23 ---> Running in d84b3b272e19 09:23:23 Removing intermediate container d84b3b272e19 09:23:23 ---> 4b68341f9dcc 09:23:23 Step 24/25 : LABEL git_sha=e278e6d9602da1da5d972ba72f6dc11e33ccc39c 09:23:23 ---> Running in 5733b9ad1cff 09:23:23 Removing intermediate container 5733b9ad1cff 09:23:23 ---> e4de2252fbc5 09:23:23 Step 25/25 : LABEL version=0.0.0 09:23:23 ---> Running in 7ff49060331f 09:23:24 Removing intermediate container 7ff49060331f 09:23:24 ---> 88a0866c236d 09:23:24 [Warning] One or more build-args [ARCH] were not consumed 09:23:24 Successfully built 88a0866c236d 09:23:24 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 09:23:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:23:24 09:23:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:23:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:23:25 arm64: Pulling from edgex-lftools-log-publisher 09:23:25 8998bd30e6a1: Pulling fs layer 09:23:25 04944245beec: Pulling fs layer 09:23:25 699f458cf7ca: Pulling fs layer 09:23:25 765212b225bb: Pulling fs layer 09:23:25 f23df028b6ca: Pulling fs layer 09:23:25 d65c8cfc05b1: Pulling fs layer 09:23:25 2437ff75d9bd: Pulling fs layer 09:23:25 d65c8cfc05b1: Waiting 09:23:25 f23df028b6ca: Waiting 09:23:25 2437ff75d9bd: Waiting 09:23:25 765212b225bb: Waiting 09:23:25 04944245beec: Verifying Checksum 09:23:25 04944245beec: Download complete 09:23:25 765212b225bb: Verifying Checksum 09:23:25 765212b225bb: Download complete 09:23:25 f23df028b6ca: Verifying Checksum 09:23:25 f23df028b6ca: Download complete 09:23:25 d65c8cfc05b1: Verifying Checksum 09:23:25 d65c8cfc05b1: Download complete 09:23:25 699f458cf7ca: Verifying Checksum 09:23:25 699f458cf7ca: Download complete 09:23:25 8998bd30e6a1: Verifying Checksum 09:23:25 8998bd30e6a1: Download complete 09:23:28 2437ff75d9bd: Verifying Checksum 09:23:28 2437ff75d9bd: Download complete 09:23:30 8998bd30e6a1: Pull complete 09:23:32 04944245beec: Pull complete 09:23:33 699f458cf7ca: Pull complete 09:23:34 765212b225bb: Pull complete 09:23:34 f23df028b6ca: Pull complete 09:23:34 d65c8cfc05b1: Pull complete 09:23:49 2437ff75d9bd: Pull complete 09:23:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:23:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:23:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:23:50 prd-ubuntu20.04-docker-arm64-4c-16g-8064 does not seem to be running inside a container 09:23:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:23:52 $ docker top c3a65a99f42d5d7a23e306338fa74da9d35863cbaf38355aabc9f17ea0fcaa85 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:23:53 ---> job-cost.sh 09:23:53 lf-activate-venv: SKIPPING 09:23:53 INFO: No Stack... 09:23:54 INFO: Retrieving Pricing Info for: v3-standard-4 09:23:55 INFO: Archiving Costs [Pipeline] sh 09:23:55 + cat /w/workspace/device-snmp-go/3/archives/cost.csv 09:23:55 + cut -d, -f6 [Pipeline] lock 09:23:55 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-197-3-stack-cost] 09:23:55 Resource [jenkins-edgexfoundry-device-snmp-go-PR-197-3-stack-cost] did not exist. Created. 09:23:55 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-197-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:23:56 /w/workspace/device-snmp-go/3@tmp/durable-f5a3f438/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:23:57 + echo total: 0.10999999940395355 [Pipeline] stash 09:23:57 Warning: overwriting stash ‘stack-cost’ 09:23:57 Stashed 1 file(s) [Pipeline] } 09:23:57 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-197-3-stack-cost] [Pipeline] // lock [Pipeline] } 09:23:57 $ docker stop --time=1 c3a65a99f42d5d7a23e306338fa74da9d35863cbaf38355aabc9f17ea0fcaa85 09:23:58 $ docker rm -f c3a65a99f42d5d7a23e306338fa74da9d35863cbaf38355aabc9f17ea0fcaa85 [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 09:23:58 provisioning config files... 09:23:59 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-197@tmp/config17310151616585136136tmp [Pipeline] { [Pipeline] sh 09:23:59 + set +x 09:23:59 + curl -s https://codecov.io/bash 09:23:59 + bash -s -- 09:23:59 09:23:59 _____ _ 09:23:59 / ____| | | 09:23:59 | | ___ __| | ___ ___ _____ __ 09:23:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:23:59 | |___| (_) | (_| | __/ (_| (_) \ V / 09:23:59 \_____\___/ \__,_|\___|\___\___/ \_/ 09:23:59 Bash-1.0.6 09:23:59 09:23:59 09:23:59 ==> git version 2.25.1 found 09:23:59 ==> 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 09:23:59 Release-Date: 2020-01-08 09:23:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:23:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:23:59 ==> Jenkins CI detected. 09:23:59 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-197 09:23:59 project root: . 09:23:59 --> token set from env 09:23:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:23:59 ==> Running gcov in . (disable via -X gcov) 09:23:59 ==> Python coveragepy not found 09:23:59 ==> Searching for coverage reports in: 09:23:59 + . 09:23:59 -> Found 1 reports 09:23:59 ==> Detecting git/mercurial file structure 09:23:59 ==> Reading reports 09:23:59 + ./coverage.out bytes=7631 09:23:59 ==> Appending adjustments 09:23:59 https://docs.codecov.io/docs/fixing-reports 09:23:59 + Found adjustments 09:23:59 ==> Gzipping contents 09:23:59 4.0K /tmp/codecov.OXNl2y.gz 09:23:59 ==> Uploading reports 09:23:59 url: https://codecov.io 09:23:59 query: branch=PR-197&commit=0cf78c79f33afe265f9fe063a7c4a3b53f6247fd&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-197%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=197&job=&cmd_args= 09:23:59 -> Pinging Codecov 09:23:59 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-197&commit=0cf78c79f33afe265f9fe063a7c4a3b53f6247fd&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-197%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=197&job=&cmd_args= 09:23:59 -> Uploading to 09:23:59 https://storage.googleapis.com/codecov/v4/raw/2022-10-17/6C56EA5C29638FB4528AC87E60AF5AE0/0cf78c79f33afe265f9fe063a7c4a3b53f6247fd/89ce23fe-4079-4d90-ae80-d4ea3b6b92d1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221017%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221017T092359Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dbed470788a94ca9af788b383010ab653c333199f1dae8a37c577ccbb7b919cd 09:23:59 % Total % Received % Xferd Average Speed Time Time Time Current 09:23:59 Dload Upload Total Spent Left Speed 09:24:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1543 0 0 100 1543 0 7210 --:--:-- --:--:-- --:--:-- 7210 09:24:00 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/0cf78c79f33afe265f9fe063a7c4a3b53f6247fd [Pipeline] } 09:24:00 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 09:24:00 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-197/archives ] 09:24:00 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-197/archives 09:24:00 total 16 09:24:00 drwxr-xr-x 3 root root 4096 Oct 17 09:14 . 09:24:00 drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 09:14 .. 09:24:00 drwxr-xr-x 2 root root 4096 Oct 17 09:14 cost 09:24:00 -rw-r--r-- 1 root root 86 Oct 17 09:14 cost.csv 09:24:00 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-197/archives 09:24:00 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-197/archives 09:24:00 total 16 09:24:00 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 09:14 . 09:24:00 drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 09:14 .. 09:24:00 drwxr-xr-x 2 jenkins jenkins 4096 Oct 17 09:14 cost 09:24:00 -rw-r--r-- 1 jenkins jenkins 86 Oct 17 09:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:24:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:24:01 ---> package-listing.sh 09:24:01 ++ facter osfamily 09:24:01 ++ tr '[:upper:]' '[:lower:]' 09:24:02 + OS_FAMILY=debian 09:24:02 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-197 09:24:02 + START_PACKAGES=/tmp/packages_start.txt 09:24:02 + END_PACKAGES=/tmp/packages_end.txt 09:24:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:24:02 + PACKAGES=/tmp/packages_start.txt 09:24:02 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-197 ']' 09:24:02 + PACKAGES=/tmp/packages_end.txt 09:24:02 + case "${OS_FAMILY}" in 09:24:02 + dpkg -l 09:24:02 + grep '^ii' 09:24:02 + '[' -f /tmp/packages_start.txt ']' 09:24:02 + '[' -f /tmp/packages_end.txt ']' 09:24:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:24:02 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-197 ']' 09:24:02 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-197/archives/ 09:24:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-197/archives/ [Pipeline] echo 09:24:02 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-197/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:24:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:24:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:24:03 prd-ubuntu20.04-docker-8c-8g-8058 does not seem to be running inside a container 09:24:03 $ 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-197/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-197 -v /w/workspace/gexfoundry_device-snmp-go_PR-197:/w/workspace/gexfoundry_device-snmp-go_PR-197:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-197@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-197@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:24:03 $ docker top f37986a9ffce6df61afc709de4696dc250757bc32bae414b33d7b6846358e7af -eo pid,comm [Pipeline] { [Pipeline] sh 09:24:03 + touch /tmp/pre-build-complete [Pipeline] sh 09:24:03 + mkdir -p /var/log/sysstat [Pipeline] sh 09:24:04 + ls /var/log/sa-host 09:24:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:24:04 provisioning config files... 09:24:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-197@tmp/config7221399519115784296tmp [Pipeline] { [Pipeline] echo 09:24:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:24:04 ---> create-netrc.sh [Pipeline] } 09:24:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:24:04 ---> python-tools-install.sh [Pipeline] echo 09:24:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:24:05 ---> sudo-logs.sh 09:24:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:24:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:24:05 ---> job-cost.sh 09:24:05 lf-activate-venv: SKIPPING 09:24:05 DEBUG: total: 0.2199999988079071 09:24:05 INFO: Retrieving Stack Cost... 09:24:05 INFO: Retrieving Pricing Info for: v3-standard-8 09:24:06 INFO: Archiving Costs [Pipeline] echo 09:24:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:24:06 ---> logs-deploy.sh 09:24:06 lf-activate-venv: SKIPPING 09:24:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-197/3 09:24:06 INFO: archiving workspace using pattern(s): 09:24:07 Archives upload complete. 09:24:07 INFO: archiving logs to Nexus 09:24:08 ---> uname -a: 09:24:08 Linux prd-ubuntu20-04-docker-8c-8g-8058 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 09:24:08 09:24:08 09:24:08 ---> lscpu: 09:24:08 Architecture: x86_64 09:24:08 CPU op-mode(s): 32-bit, 64-bit 09:24:08 Byte Order: Little Endian 09:24:08 Address sizes: 40 bits physical, 48 bits virtual 09:24:08 CPU(s): 8 09:24:08 On-line CPU(s) list: 0-7 09:24:08 Thread(s) per core: 1 09:24:08 Core(s) per socket: 1 09:24:08 Socket(s): 8 09:24:08 NUMA node(s): 1 09:24:08 Vendor ID: AuthenticAMD 09:24:08 CPU family: 23 09:24:08 Model: 49 09:24:08 Model name: AMD EPYC-Rome Processor 09:24:08 Stepping: 0 09:24:08 CPU MHz: 2799.998 09:24:08 BogoMIPS: 5599.99 09:24:08 Virtualization: AMD-V 09:24:08 Hypervisor vendor: KVM 09:24:08 Virtualization type: full 09:24:08 L1d cache: 256 KiB 09:24:08 L1i cache: 256 KiB 09:24:08 L2 cache: 4 MiB 09:24:08 L3 cache: 128 MiB 09:24:08 NUMA node0 CPU(s): 0-7 09:24:08 Vulnerability Itlb multihit: Not affected 09:24:08 Vulnerability L1tf: Not affected 09:24:08 Vulnerability Mds: Not affected 09:24:08 Vulnerability Meltdown: Not affected 09:24:08 Vulnerability Mmio stale data: Not affected 09:24:08 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 09:24:08 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 09:24:08 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 09:24:08 Vulnerability Srbds: Not affected 09:24:08 Vulnerability Tsx async abort: Not affected 09:24:08 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 09:24:08 09:24:08 09:24:08 ---> nproc: 09:24:08 8 09:24:08 09:24:08 09:24:08 ---> df -h: 09:24:08 Filesystem Size Used Avail Use% Mounted on 09:24:08 overlay 155G 12G 144G 8% / 09:24:08 tmpfs 64M 0 64M 0% /dev 09:24:08 tmpfs 16G 0 16G 0% /sys/fs/cgroup 09:24:08 shm 64M 0 64M 0% /dev/shm 09:24:08 /dev/vda1 155G 12G 144G 8% /facter-os 09:24:08 09:24:08 09:24:08 ---> sar -b -r -n DEV: 09:24:08 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-8058) 10/17/22 _x86_64_ (8 CPU) 09:24:08 09:24:08 09:11:54 LINUX RESTART (8 CPU) 09:24:08 09:24:08 09:12:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 09:24:08 09:13:01 321.91 47.83 274.08 0.00 5410.33 141779.14 0.00 09:24:08 09:14:01 240.70 1.57 239.13 0.00 18.26 120001.07 0.00 09:24:08 09:15:01 113.71 0.12 113.60 0.00 20.93 33017.98 0.00 09:24:08 09:16:01 0.83 0.00 0.83 0.00 0.00 10.13 0.00 09:24:08 09:17:01 6.28 0.98 5.30 0.00 67.58 1765.41 0.00 09:24:08 09:18:01 35.49 8.55 26.94 0.00 2834.92 3090.70 0.00 09:24:08 09:19:01 3.52 1.02 2.50 0.00 21.86 31.99 0.00 09:24:08 09:20:01 2.05 0.00 2.05 0.00 0.00 22.00 0.00 09:24:08 09:21:01 1.37 0.00 1.37 0.00 0.00 15.06 0.00 09:24:08 09:22:01 1.17 0.00 1.17 0.00 0.00 14.53 0.00 09:24:08 09:23:01 2.47 0.42 2.05 0.00 16.40 34.39 0.00 09:24:08 09:24:01 2.80 1.25 1.55 0.00 29.06 18.66 0.00 09:24:08 Average: 61.03 5.14 55.89 0.00 701.66 24986.36 0.00 09:24:08 09:24:08 09:12:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 09:24:08 09:13:01 29225524 31610204 706256 2.15 71680 2595180 1846784 5.44 972564 2333720 141676 09:24:08 09:14:01 28033256 31276632 1014252 3.08 135820 3314976 2514820 7.41 1566356 2826688 239100 09:24:08 09:15:01 27862396 31589912 703104 2.14 145780 3748660 1730456 5.10 1190624 3335520 144 09:24:08 09:16:01 27861928 31589592 703136 2.14 145800 3748668 1730456 5.10 1190444 3335524 148 09:24:08 09:17:01 27805768 31591236 700956 2.13 147480 3802956 1762844 5.20 1194548 3389704 400 09:24:08 09:18:01 27569420 31578872 705224 2.14 164308 3998000 1781936 5.25 1338908 3454532 140 09:24:08 09:19:01 27574128 31584772 699144 2.13 164392 3998620 1817720 5.36 1333680 3455092 28 09:24:08 09:20:01 27574452 31585272 698732 2.12 164472 3998620 1817720 5.36 1333400 3455188 4 09:24:08 09:21:01 27574436 31585332 698552 2.12 164544 3998624 1817720 5.36 1334144 3455192 168 09:24:08 09:22:01 27574184 31585356 698652 2.12 164588 3998628 1817720 5.36 1333976 3455424 248 09:24:08 09:23:01 27572980 31585556 698336 2.12 164692 3999116 1817720 5.36 1336560 3455660 36 09:24:08 09:24:01 27546888 31560692 723224 2.20 164764 4000116 1774964 5.23 1360132 3455708 416 09:24:08 Average: 27814613 31560286 729131 2.22 149860 3766847 1852572 5.46 1290445 3283996 31876 09:24:08 09:24:08 09:12:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 09:24:08 09:13:01 ens3 608.25 387.92 6415.10 112.33 0.00 0.00 0.00 0.00 09:24:08 09:13:01 docker0 4.28 3.37 0.42 41.63 0.00 0.00 0.00 0.00 09:24:08 09:13:01 lo 7.13 7.13 0.69 0.69 0.00 0.00 0.00 0.00 09:24:08 09:14:01 ens3 248.51 173.31 1797.72 33.14 0.00 0.00 0.00 0.00 09:24:08 09:14:01 veth4a448cf 0.05 0.20 0.00 0.02 0.00 0.00 0.00 0.00 09:24:08 09:14:01 docker0 137.83 186.71 11.22 1743.17 0.00 0.00 0.00 0.00 09:24:08 09:14:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 09:24:08 09:15:01 ens3 108.68 70.27 2583.52 12.12 0.00 0.00 0.00 0.00 09:24:08 09:15:01 docker0 2.57 5.48 0.17 57.99 0.00 0.00 0.00 0.00 09:24:08 09:15:01 lo 1.60 1.60 0.16 0.16 0.00 0.00 0.00 0.00 09:24:08 09:16:01 ens3 0.92 0.43 0.52 0.40 0.00 0.00 0.00 0.00 09:24:08 09:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:24:08 09:16:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 09:24:08 09:17:01 ens3 55.75 35.49 823.83 2.52 0.00 0.00 0.00 0.00 09:24:08 09:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:24:08 09:17:01 lo 0.20 0.20 0.02 0.02 0.00 0.00 0.00 0.00 09:24:08 09:18:01 ens3 38.25 26.36 476.03 1.98 0.00 0.00 0.00 0.00 09:24:08 09:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:24:08 09:18:01 lo 0.53 0.53 0.05 0.05 0.00 0.00 0.00 0.00 09:24:08 09:19:01 ens3 0.08 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:24:08 09:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:24:08 09:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:24:08 09:20:01 ens3 1.37 0.08 0.12 0.01 0.00 0.00 0.00 0.00 09:24:08 09:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:24:08 09:20:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 09:24:08 09:21:01 ens3 1.28 0.38 0.40 0.27 0.00 0.00 0.00 0.00 09:24:08 09:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:24:08 09:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:24:08 09:22:01 ens3 0.33 0.17 0.10 0.07 0.00 0.00 0.00 0.00 09:24:08 09:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:24:08 09:22:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 09:24:08 09:23:01 ens3 2.57 1.90 1.76 2.86 0.00 0.00 0.00 0.00 09:24:08 09:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:24:08 09:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:24:08 09:24:01 ens3 12.60 9.38 10.75 5.64 0.00 0.00 0.00 0.00 09:24:08 09:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:24:08 09:24:01 lo 0.67 0.67 0.06 0.06 0.00 0.00 0.00 0.00 09:24:08 Average: ens3 89.89 58.81 1009.21 14.28 0.00 0.00 0.00 0.00 09:24:08 Average: docker0 12.06 16.30 0.98 153.60 0.00 0.00 0.00 0.00 09:24:08 Average: lo 0.93 0.93 0.09 0.09 0.00 0.00 0.00 0.00 09:24:08 09:24:08