Pull request #187 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4595f2fdcb273c12dc8e8ae64b0be711bbdd5418+a30604e7d8ec87dceb0eb4409beb538cfe41877d (69d946e52cc714f1d40d8f663bf14f0c461598d9) 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-ssh14132322324738518932.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1460356719263255504.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-187/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-187/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12972102984402505644.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-187/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8260665735307732417.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15241387222655623017.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 6e371aaf151bd5004dee8fa40be4413046746612 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-187/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-187/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15340719677095111258.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 6e371aaf151bd5004dee8fa40be4413046746612 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 6e371aaf151bd5004dee8fa40be4413046746612 # timeout=10 Commit message: "Chore: Update global-jjb to the latest v0.79.1" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-21638 in /w/workspace/gexfoundry_device-snmp-go_PR-187 [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-187 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit a30604e7d8ec87dceb0eb4409beb538cfe41877d into PR head commit 4595f2fdcb273c12dc8e8ae64b0be711bbdd5418 Merge succeeded, producing 4595f2fdcb273c12dc8e8ae64b0be711bbdd5418 Checking out Revision 4595f2fdcb273c12dc8e8ae64b0be711bbdd5418 (PR-187) > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/187/head:refs/remotes/origin/PR-187 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4595f2fdcb273c12dc8e8ae64b0be711bbdd5418 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge a30604e7d8ec87dceb0eb4409beb538cfe41877d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4595f2fdcb273c12dc8e8ae64b0be711bbdd5418 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:04:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:04:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:04:59 ========================================================= 05:04:59 EdgeX Global Pipelines Version Info 05:04:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:05:00 ------------------- 05:05:00 stable info: 05:05:00 ------------------- 05:05:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:05:00 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 05:05:00 Message: update stable to v1.0.238 05:05:01 ------------------- 05:05:01 experimental info: 05:05:01 ------------------- 05:05:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:05:01 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 05:05:01 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:05:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 05:05:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 05:05:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:05:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:05:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:05:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 05:05:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:05:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:05:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:05:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:05:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:05:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 05:05:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:05:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:05:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:05:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:05:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:05:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:05:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:05:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:05:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:05:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:05:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:05:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:05:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:05:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:05:02 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:05:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-187 [Pipeline] echo 05:05:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-187 [Pipeline] echo 05:05:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-187 [Pipeline] echo 05:05:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4595f2fdcb273c12dc8e8ae64b0be711bbdd5418 [Pipeline] echo 05:05:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4595f2f [Pipeline] echo 05:05:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:05:03 provisioning config files... 05:05:03 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-187@tmp/config7994608683297284133tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:05:03 ---> docker-login.sh 05:05:03 nexus3.edgexfoundry.org:10001 05:05:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:04 Configure a credential helper to remove this warning. See 05:05:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:04 05:05:04 Login Succeeded 05:05:04 nexus3.edgexfoundry.org:10002 05:05:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:04 Configure a credential helper to remove this warning. See 05:05:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:04 05:05:04 Login Succeeded 05:05:04 nexus3.edgexfoundry.org:10003 05:05:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:04 Configure a credential helper to remove this warning. See 05:05:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:04 05:05:04 Login Succeeded 05:05:04 nexus3.edgexfoundry.org:10004 05:05:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:04 Configure a credential helper to remove this warning. See 05:05:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:04 05:05:04 Login Succeeded 05:05:04 docker.io 05:05:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:04 Configure a credential helper to remove this warning. See 05:05:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:04 05:05:04 Login Succeeded 05:05:04 ---> docker-login.sh ends [Pipeline] } 05:05:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:05:05 + git rev-list -1 --merges 4595f2fdcb273c12dc8e8ae64b0be711bbdd5418~1..4595f2fdcb273c12dc8e8ae64b0be711bbdd5418 [Pipeline] echo 05:05:05 -----------> git rev-list -1 --merges 4595f2fdcb273c12dc8e8ae64b0be711bbdd5418~1..4595f2fdcb273c12dc8e8ae64b0be711bbdd5418 4595f2fdcb273c12dc8e8ae64b0be711bbdd5418 [false] [Pipeline] sh 05:05:05 + git log --format=format:%s -1 4595f2fdcb273c12dc8e8ae64b0be711bbdd5418 [Pipeline] echo 05:05:05 ========================================================= 05:05:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:05:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:05:06 + git log --format=format:%s -1 4595f2fdcb273c12dc8e8ae64b0be711bbdd5418 [Pipeline] echo 05:05:06 [semverPrep] GIT_COMMIT: 4595f2fdcb273c12dc8e8ae64b0be711bbdd5418, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 05:05:06 [semverPrep] This is not a build commit. [Pipeline] sh 05:05:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:05:06 + grep -v github /etc/ssh/ssh_known_hosts 05:05:06 + [ -e /tmp/ssh_known_hosts ] 05:05:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:05:06 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:05:06 sudo tee -a /etc/ssh/ssh_known_hosts 05:05:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:05:07 05:05:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:05:07 0.1.4: Pulling from edgex-devops/py-git-semver 05:05:07 b85a868b505f: Pulling fs layer 05:05:07 e2be974225ed: Pulling fs layer 05:05:07 339a4e72a1f5: Pulling fs layer 05:05:07 988bab9f4d93: Pulling fs layer 05:05:07 1469e6f7b9e6: Pulling fs layer 05:05:07 eaf3925da568: Pulling fs layer 05:05:07 bab4dde63d76: Pulling fs layer 05:05:07 bde34c3a00c8: Pulling fs layer 05:05:07 b352a97aabf1: Pulling fs layer 05:05:07 4872d77fe225: Pulling fs layer 05:05:07 5851b861e8e6: Pulling fs layer 05:05:07 988bab9f4d93: Waiting 05:05:07 1469e6f7b9e6: Waiting 05:05:07 eaf3925da568: Waiting 05:05:07 bab4dde63d76: Waiting 05:05:07 bde34c3a00c8: Waiting 05:05:07 b352a97aabf1: Waiting 05:05:07 4872d77fe225: Waiting 05:05:07 5851b861e8e6: Waiting 05:05:07 e2be974225ed: Download complete 05:05:07 988bab9f4d93: Verifying Checksum 05:05:07 988bab9f4d93: Download complete 05:05:08 1469e6f7b9e6: Verifying Checksum 05:05:08 1469e6f7b9e6: Download complete 05:05:08 339a4e72a1f5: Verifying Checksum 05:05:08 339a4e72a1f5: Download complete 05:05:08 eaf3925da568: Download complete 05:05:08 bde34c3a00c8: Verifying Checksum 05:05:08 bde34c3a00c8: Download complete 05:05:08 b352a97aabf1: Verifying Checksum 05:05:08 b352a97aabf1: Download complete 05:05:08 4872d77fe225: Verifying Checksum 05:05:08 4872d77fe225: Download complete 05:05:08 5851b861e8e6: Verifying Checksum 05:05:08 5851b861e8e6: Download complete 05:05:08 b85a868b505f: Verifying Checksum 05:05:08 b85a868b505f: Download complete 05:05:08 bab4dde63d76: Verifying Checksum 05:05:08 bab4dde63d76: Download complete 05:05:09 b85a868b505f: Pull complete 05:05:09 e2be974225ed: Pull complete 05:05:10 339a4e72a1f5: Pull complete 05:05:10 988bab9f4d93: Pull complete 05:05:10 1469e6f7b9e6: Pull complete 05:05:10 eaf3925da568: Pull complete 05:05:12 bab4dde63d76: Pull complete 05:05:12 bde34c3a00c8: Pull complete 05:05:12 b352a97aabf1: Pull complete 05:05:12 4872d77fe225: Pull complete 05:05:13 5851b861e8e6: Pull complete 05:05:13 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:05:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:05:13 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:13 prd-ubuntu20.04-docker-8c-8g-21638 does not seem to be running inside a container 05:05:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-187 -v /w/workspace/gexfoundry_device-snmp-go_PR-187:/w/workspace/gexfoundry_device-snmp-go_PR-187:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-187@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-187@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:05:15 $ docker top 0af24f465ba7fea7d421a63586e028b3d26e38431fb731681a04c1f9126a1719 -eo pid,comm 05:05:15 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). 05:05:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:05:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:05:15 [ssh-agent] Looking for ssh-agent implementation... 05:05:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:05:16 $ docker exec 0af24f465ba7fea7d421a63586e028b3d26e38431fb731681a04c1f9126a1719 ssh-agent 05:05:16 SSH_AUTH_SOCK=/tmp/ssh-6yvpNEnDO8rj/agent.32 05:05:16 SSH_AGENT_PID=38 05:05:16 Running ssh-add (command line suppressed) 05:05:16 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-187@tmp/private_key_40969092100929237.key (/w/workspace/gexfoundry_device-snmp-go_PR-187@tmp/private_key_40969092100929237.key) 05:05:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:05:16 + git tag --points-at HEAD [Pipeline] } 05:05:16 $ docker exec --env ******** --env ******** 0af24f465ba7fea7d421a63586e028b3d26e38431fb731681a04c1f9126a1719 ssh-agent -k 05:05:16 unset SSH_AUTH_SOCK; 05:05:16 unset SSH_AGENT_PID; 05:05:16 echo Agent pid 38 killed; 05:05:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:05:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:05:16 [ssh-agent] Looking for ssh-agent implementation... 05:05:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:05:17 $ docker exec 0af24f465ba7fea7d421a63586e028b3d26e38431fb731681a04c1f9126a1719 ssh-agent 05:05:17 SSH_AUTH_SOCK=/tmp/ssh-7ZQzMByyvU60/agent.72 05:05:17 SSH_AGENT_PID=78 05:05:17 Running ssh-add (command line suppressed) 05:05:17 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-187@tmp/private_key_8577372667735722737.key (/w/workspace/gexfoundry_device-snmp-go_PR-187@tmp/private_key_8577372667735722737.key) 05:05:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:05:17 + git semver init 05:05:17 2022-08-01 05:05:17,926 [run_init] DEBUG init version:0.0.0 force:False 05:05:17 2022-08-01 05:05:17,927 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-187/.semver 05:05:17 2022-08-01 05:05:17,927 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-187/.semver 05:05:17 2022-08-01 05:05:17,928 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-187/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-187, universal_newlines=False, shell=None, istream=None) 05:05:18 2022-08-01 05:05:18,680 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-187/.git/info/exclude 05:05:18 2022-08-01 05:05:18,681 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-187/.semver/PR-187 with force:False 05:05:18 2022-08-01 05:05:18,681 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-187/.semver/PR-187 05:05:18 2022-08-01 05:05:18,686 [execute] INFO git cat-file --batch-check 05:05:18 2022-08-01 05:05:18,686 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-187/.semver, universal_newlines=False, shell=None, istream=) 05:05:18 2022-08-01 05:05:18,692 [execute] INFO git cat-file --batch 05:05:18 2022-08-01 05:05:18,692 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-187/.semver, universal_newlines=False, shell=None, istream=) 05:05:18 2022-08-01 05:05:18,695 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-187/.semver/PR-187 05:05:18 0.0.0 [Pipeline] } 05:05:18 $ docker exec --env ******** --env ******** 0af24f465ba7fea7d421a63586e028b3d26e38431fb731681a04c1f9126a1719 ssh-agent -k 05:05:19 unset SSH_AUTH_SOCK; 05:05:19 unset SSH_AGENT_PID; 05:05:19 echo Agent pid 78 killed; 05:05:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:05:19 + git semver [Pipeline] } 05:05:19 $ docker stop --time=1 0af24f465ba7fea7d421a63586e028b3d26e38431fb731681a04c1f9126a1719 05:05:21 $ docker rm -f 0af24f465ba7fea7d421a63586e028b3d26e38431fb731681a04c1f9126a1719 [Pipeline] // withDockerContainer [Pipeline] sh 05:05:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:05:21 Stashed 1 file(s) [Pipeline] echo 05:05:21 [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 05:05:22 provisioning config files... 05:05:22 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-187@tmp/config6708970156241950363tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:05:22 ---> docker-login.sh 05:05:22 nexus3.edgexfoundry.org:10001 05:05:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:22 Configure a credential helper to remove this warning. See 05:05:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:22 05:05:22 Login Succeeded 05:05:22 nexus3.edgexfoundry.org:10002 05:05:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:23 Configure a credential helper to remove this warning. See 05:05:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:23 05:05:23 Login Succeeded 05:05:23 nexus3.edgexfoundry.org:10003 05:05:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:23 Configure a credential helper to remove this warning. See 05:05:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:23 05:05:23 Login Succeeded 05:05:23 nexus3.edgexfoundry.org:10004 05:05:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:23 Configure a credential helper to remove this warning. See 05:05:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:23 05:05:23 Login Succeeded 05:05:23 docker.io 05:05:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:23 Configure a credential helper to remove this warning. See 05:05:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:23 05:05:23 Login Succeeded 05:05:23 ---> docker-login.sh ends [Pipeline] } 05:05:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:05:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:05:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:05:23 ========================================================= 05:05:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 05:05:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:24 + 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 . 05:05:24 Sending build context to Docker daemon 5.456MB 05:05:24 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 05:05:24 Step 2/12 : FROM ${BASE} AS builder 05:05:24 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 05:05:24 2408cc74d12b: Pulling fs layer 05:05:24 ea60b727a1ce: Pulling fs layer 05:05:24 30c4a7721957: Pulling fs layer 05:05:24 370296b7ddb6: Pulling fs layer 05:05:24 7c6cee850709: Pulling fs layer 05:05:24 39a5fcdaea64: Pulling fs layer 05:05:24 370296b7ddb6: Waiting 05:05:24 d94ebbe4e438: Pulling fs layer 05:05:24 bcfd1f05c69d: Pulling fs layer 05:05:24 59ccb84bbe0f: Pulling fs layer 05:05:24 39a5fcdaea64: Waiting 05:05:24 bcfd1f05c69d: Waiting 05:05:24 59ccb84bbe0f: Waiting 05:05:24 d94ebbe4e438: Waiting 05:05:24 30c4a7721957: Download complete 05:05:24 ea60b727a1ce: Verifying Checksum 05:05:24 ea60b727a1ce: Download complete 05:05:24 7c6cee850709: Download complete 05:05:24 39a5fcdaea64: Download complete 05:05:24 2408cc74d12b: Verifying Checksum 05:05:24 2408cc74d12b: Download complete 05:05:24 d94ebbe4e438: Verifying Checksum 05:05:24 d94ebbe4e438: Download complete 05:05:24 2408cc74d12b: Pull complete 05:05:24 ea60b727a1ce: Pull complete 05:05:25 30c4a7721957: Pull complete 05:05:25 59ccb84bbe0f: Verifying Checksum 05:05:25 59ccb84bbe0f: Download complete 05:05:25 bcfd1f05c69d: Download complete 05:05:25 370296b7ddb6: Verifying Checksum 05:05:25 370296b7ddb6: Download complete 05:05:29 370296b7ddb6: Pull complete 05:05:29 7c6cee850709: Pull complete 05:05:29 39a5fcdaea64: Pull complete 05:05:29 d94ebbe4e438: Pull complete 05:05:32 bcfd1f05c69d: Pull complete 05:05:32 59ccb84bbe0f: Pull complete 05:05:32 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 05:05:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 05:05:32 ---> a4fb48ad2a94 05:05:32 Step 3/12 : ARG MAKE='make build' 05:05:36 ---> Running in 97a3b6f52a99 05:05:36 Removing intermediate container 97a3b6f52a99 05:05:36 ---> fa416741657c 05:05:36 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:05:36 ---> Running in 21e07b98be45 05:05:36 Removing intermediate container 21e07b98be45 05:05:36 ---> 06fdfe2a3d27 05:05:36 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 05:05:36 ---> Running in c8bfe9d33117 05:05:36 Removing intermediate container c8bfe9d33117 05:05:36 ---> d8eb6becf92b 05:05:36 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:05:36 ---> Running in 755d34cb4588 05:05:37 Removing intermediate container 755d34cb4588 05:05:37 ---> 4425c35b50ec 05:05:37 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:05:37 ---> Running in 6a1b1f820e5e 05:05:37 Still waiting to schedule task 05:05:37 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:05:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:05:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:05:38 (1/4) Installing openssh-keygen (9.0_p1-r2) 05:05:38 (2/4) Installing libedit (20210910.3.1-r0) 05:05:38 (3/4) Installing openssh-client-common (9.0_p1-r2) 05:05:38 (4/4) Installing openssh-client-default (9.0_p1-r2) 05:05:39 Executing busybox-1.35.0-r13.trigger 05:05:39 OK: 216 MiB in 55 packages 05:05:39 Removing intermediate container 6a1b1f820e5e 05:05:39 ---> ca450bb6f4d1 05:05:39 Step 8/12 : WORKDIR /device-snmp-go 05:05:39 ---> Running in f48ffa8d6a7b 05:05:39 Removing intermediate container f48ffa8d6a7b 05:05:39 ---> c7fbfb3feef0 05:05:39 Step 9/12 : COPY go.mod vendor* ./ 05:05:40 ---> 66db25bde04f 05:05:40 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:05:40 ---> Running in 23ea5200a155 05:06:07 Removing intermediate container 23ea5200a155 05:06:07 ---> 694924ca72cb 05:06:07 Step 11/12 : COPY . . 05:06:07 ---> 37dcc9124d81 05:06:07 Step 12/12 : RUN ${MAKE} 05:06:07 ---> Running in c9887013f1ec 05:06:07 noop 05:06:07 Removing intermediate container c9887013f1ec 05:06:07 ---> e38b7b409fd3 05:06:07 Successfully built e38b7b409fd3 05:06:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:07 + docker inspect -f . ci-base-image-x86_64 05:06:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:06:07 prd-ubuntu20.04-docker-8c-8g-21638 does not seem to be running inside a container 05:06:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-187 -v /w/workspace/gexfoundry_device-snmp-go_PR-187:/w/workspace/gexfoundry_device-snmp-go_PR-187:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-187@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-187@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 ******** ci-base-image-x86_64 cat 05:06:08 $ docker top ce24e5d7fc4d4103f5ad4c6b4ef7100aac9204a6fed9c42a597ed55f58188483 -eo pid,comm [Pipeline] { [Pipeline] sh 05:06:08 + go version 05:06:08 go version go1.18.3 linux/amd64 [Pipeline] } 05:06:08 $ docker stop --time=1 ce24e5d7fc4d4103f5ad4c6b4ef7100aac9204a6fed9c42a597ed55f58188483 05:06:09 $ docker rm -f ce24e5d7fc4d4103f5ad4c6b4ef7100aac9204a6fed9c42a597ed55f58188483 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:10 + docker inspect -f . ci-base-image-x86_64 05:06:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:06:10 prd-ubuntu20.04-docker-8c-8g-21638 does not seem to be running inside a container 05:06:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-snmp-go_PR-187 -v /w/workspace/gexfoundry_device-snmp-go_PR-187:/w/workspace/gexfoundry_device-snmp-go_PR-187:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-187@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-187@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 ******** ci-base-image-x86_64 cat 05:06:11 $ docker top b1a30e89d0a9051616764d5e5261bbf2495e3fc113d4500faa180b5e06289bfd -eo pid,comm [Pipeline] { [Pipeline] sh 05:06:11 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-187 [Pipeline] fileExists [Pipeline] sh 05:06:12 + make test 05:06:12 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:06:12 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:06:22 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:06:22 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.012s coverage: 0.0% of statements 05:06:27 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." 05:06:27 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:06:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:06:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:06:30 ./bin/test-attribution-txt.sh 05:06:30 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 05:06:30 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 05:06:30 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 05:06:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:06:30 $ docker stop --time=1 b1a30e89d0a9051616764d5e5261bbf2495e3fc113d4500faa180b5e06289bfd 05:06:33 $ docker rm -f b1a30e89d0a9051616764d5e5261bbf2495e3fc113d4500faa180b5e06289bfd [Pipeline] // withDockerContainer [Pipeline] sh 05:06:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:06:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:06:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:06:34 + ls -al . 05:06:34 total 172 05:06:34 drwxrwxr-x 9 jenkins jenkins 4096 Aug 1 05:06 . 05:06:34 drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 05:04 .. 05:06:34 -rw-rw-r-- 1 jenkins jenkins 6 Aug 1 05:04 .dockerignore 05:06:34 drwxrwxr-x 8 jenkins jenkins 4096 Aug 1 05:06 .git 05:06:34 drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 05:04 .github 05:06:34 -rw-rw-r-- 1 jenkins jenkins 328 Aug 1 05:04 .gitignore 05:06:34 -rw-rw-r-- 1 jenkins jenkins 41 Aug 1 05:04 .golangci.yml 05:06:34 drwxr-xr-x 3 jenkins jenkins 4096 Aug 1 05:05 .semver 05:06:34 -rw-rw-r-- 1 jenkins jenkins 8556 Aug 1 05:04 Attribution.txt 05:06:34 -rw-rw-r-- 1 jenkins jenkins 6948 Aug 1 05:04 CHANGELOG.md 05:06:34 -rw-rw-r-- 1 jenkins jenkins 1518 Aug 1 05:04 Dockerfile 05:06:34 -rw-rw-r-- 1 jenkins jenkins 677 Aug 1 05:04 GOVERNANCE.md 05:06:34 -rw-rw-r-- 1 jenkins jenkins 656 Aug 1 05:04 Jenkinsfile 05:06:34 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 1 05:04 LICENSE 05:06:34 -rw-rw-r-- 1 jenkins jenkins 2334 Aug 1 05:04 Makefile 05:06:34 -rw-rw-r-- 1 jenkins jenkins 620 Aug 1 05:04 OWNERS.md 05:06:34 -rw-rw-r-- 1 jenkins jenkins 9390 Aug 1 05:04 README.md 05:06:34 -rw-rw-r-- 1 jenkins jenkins 5 Aug 1 05:05 VERSION 05:06:34 drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 05:04 bin 05:06:34 drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 05:04 cmd 05:06:34 -rw-r--r-- 1 jenkins jenkins 7631 Aug 1 05:06 coverage.out 05:06:34 -rw-rw-r-- 1 jenkins jenkins 3439 Aug 1 05:04 go.mod 05:06:34 -rw-rw-r-- 1 jenkins jenkins 36897 Aug 1 05:04 go.sum 05:06:34 drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 05:04 internal 05:06:34 drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 05:04 snap 05:06:34 -rw-rw-r-- 1 jenkins jenkins 228 Aug 1 05:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:35 + 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=4595f2fdcb273c12dc8e8ae64b0be711bbdd5418 --label arch=amd64 --label version=0.0.0 . 05:06:35 Sending build context to Docker daemon 5.465MB 05:06:35 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 05:06:35 Step 2/24 : FROM ${BASE} AS builder 05:06:35 ---> e38b7b409fd3 05:06:35 Step 3/24 : ARG MAKE='make build' 05:06:35 ---> Running in 17c63eb121ce 05:06:35 Removing intermediate container 17c63eb121ce 05:06:35 ---> 1e0aeff71b34 05:06:35 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:06:35 ---> Running in 129b46d9c1de 05:06:35 Removing intermediate container 129b46d9c1de 05:06:35 ---> 5c84cf50d92d 05:06:35 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 05:06:35 ---> Running in 1edbf8813438 05:06:35 Removing intermediate container 1edbf8813438 05:06:35 ---> 2b741321cc3c 05:06:35 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:06:35 ---> Running in b0c58c94299a 05:06:36 Removing intermediate container b0c58c94299a 05:06:36 ---> 7cdc7a89c73c 05:06:36 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:06:36 ---> Running in a2e26dc5d7bf 05:06:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:06:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:06:37 OK: 216 MiB in 55 packages 05:06:37 Removing intermediate container a2e26dc5d7bf 05:06:37 ---> 836a40d61e44 05:06:37 Step 8/24 : WORKDIR /device-snmp-go 05:06:37 ---> Running in 47d74e3877cf 05:06:38 Removing intermediate container 47d74e3877cf 05:06:38 ---> 6f41b0e07921 05:06:38 Step 9/24 : COPY go.mod vendor* ./ 05:06:38 ---> 19c9ddfafb88 05:06:38 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:06:38 ---> Running in e51f7cb8ae42 05:06:39 Removing intermediate container e51f7cb8ae42 05:06:39 ---> 57450970b757 05:06:39 Step 11/24 : COPY . . 05:06:39 ---> 16d0cdc75734 05:06:39 Step 12/24 : RUN ${MAKE} 05:06:39 ---> Running in 98ba4ac30987 05:06:40 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 05:07:01 Removing intermediate container 98ba4ac30987 05:07:01 ---> 35fca234fbc4 05:07:01 Step 13/24 : FROM alpine:3.16 05:07:01 3.16: Pulling from library/alpine 05:07:01 530afca65e2e: Pulling fs layer 05:07:01 530afca65e2e: Verifying Checksum 05:07:01 530afca65e2e: Download complete 05:07:01 530afca65e2e: Pull complete 05:07:01 Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 05:07:01 Status: Downloaded newer image for alpine:3.16 05:07:01 ---> d7d3d98c851f 05:07:01 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 05:07:01 ---> Running in ea24908ad65b 05:07:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:07:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:07:01 (1/6) Installing dumb-init (1.2.5-r1) 05:07:01 (2/6) Installing libgcc (11.2.1_git20220219-r2) 05:07:01 (3/6) Installing libsodium (1.0.18-r0) 05:07:01 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 05:07:01 (5/6) Installing libzmq (4.3.4-r0) 05:07:01 (6/6) Installing zeromq (4.3.4-r0) 05:07:01 Executing busybox-1.35.0-r15.trigger 05:07:01 OK: 8 MiB in 20 packages 05:07:01 Removing intermediate container ea24908ad65b 05:07:01 ---> 44951b36e5f7 05:07:01 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 05:07:02 ---> b0cc8f917b6d 05:07:02 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:07:02 ---> 0586efbcc60b 05:07:02 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 05:07:02 ---> ebafc0d93795 05:07:02 Step 18/24 : EXPOSE 59993 05:07:02 ---> Running in 1d9cf7664b81 05:07:02 Removing intermediate container 1d9cf7664b81 05:07:02 ---> 0e321b02a335 05:07:02 Step 19/24 : EXPOSE 161 05:07:02 ---> Running in 2c250bf64e69 05:07:02 Removing intermediate container 2c250bf64e69 05:07:02 ---> e1a04ba70a01 05:07:02 Step 20/24 : ENTRYPOINT ["/device-snmp"] 05:07:02 ---> Running in 3dcd89b1798d 05:07:02 Removing intermediate container 3dcd89b1798d 05:07:02 ---> e71ddd1154cf 05:07:02 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 05:07:02 ---> Running in a1c237fafe01 05:07:03 Removing intermediate container a1c237fafe01 05:07:03 ---> dbf618958dc8 05:07:03 Step 22/24 : LABEL arch=amd64 05:07:03 ---> Running in 4da48e7302c8 05:07:03 Removing intermediate container 4da48e7302c8 05:07:03 ---> 34f10ef46045 05:07:03 Step 23/24 : LABEL git_sha=4595f2fdcb273c12dc8e8ae64b0be711bbdd5418 05:07:03 ---> Running in bfa47014c9bf 05:07:03 Removing intermediate container bfa47014c9bf 05:07:03 ---> 04b325f5575e 05:07:03 Step 24/24 : LABEL version=0.0.0 05:07:03 ---> Running in 651450a59174 05:07:03 Removing intermediate container 651450a59174 05:07:03 ---> 998672a434a3 05:07:03 [Warning] One or more build-args [ARCH] were not consumed 05:07:03 Successfully built 998672a434a3 05:07:03 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 05:07:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:07:04 05:07:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:07:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:07:04 latest: Pulling from edgex-lftools-log-publisher 05:07:04 5eb5b503b376: Pulling fs layer 05:07:04 5c69ac0246d0: Pulling fs layer 05:07:04 ec43610c2a17: Pulling fs layer 05:07:04 3a2ae6a8a46f: Pulling fs layer 05:07:04 33b1e0a273af: Pulling fs layer 05:07:04 5d3b04190fa2: Pulling fs layer 05:07:04 2f39f015ded8: Pulling fs layer 05:07:04 33b1e0a273af: Waiting 05:07:04 2f39f015ded8: Waiting 05:07:04 5d3b04190fa2: Waiting 05:07:04 3a2ae6a8a46f: Waiting 05:07:04 5c69ac0246d0: Verifying Checksum 05:07:04 5c69ac0246d0: Download complete 05:07:04 3a2ae6a8a46f: Download complete 05:07:04 33b1e0a273af: Verifying Checksum 05:07:04 33b1e0a273af: Download complete 05:07:04 5d3b04190fa2: Download complete 05:07:04 ec43610c2a17: Verifying Checksum 05:07:04 ec43610c2a17: Download complete 05:07:04 5eb5b503b376: Verifying Checksum 05:07:04 5eb5b503b376: Download complete 05:07:05 2f39f015ded8: Verifying Checksum 05:07:05 2f39f015ded8: Download complete 05:07:06 5eb5b503b376: Pull complete 05:07:06 5c69ac0246d0: Pull complete 05:07:06 ec43610c2a17: Pull complete 05:07:06 3a2ae6a8a46f: Pull complete 05:07:07 33b1e0a273af: Pull complete 05:07:07 5d3b04190fa2: Pull complete 05:07:12 2f39f015ded8: Pull complete 05:07:12 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:07:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:07:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:07:12 prd-ubuntu20.04-docker-8c-8g-21638 does not seem to be running inside a container 05:07:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_PR-187 -v /w/workspace/gexfoundry_device-snmp-go_PR-187:/w/workspace/gexfoundry_device-snmp-go_PR-187:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-187@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-187@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:07:16 $ docker top 54f321e3bb58c553f1bd3841c79f3816bea6d4d7eaa0bc9e4c2bfdf08bb9186d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:07:16 ---> job-cost.sh 05:07:16 lf-activate-venv: SKIPPING 05:07:16 INFO: No Stack... 05:07:17 INFO: Retrieving Pricing Info for: v3-standard-8 05:07:17 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21640 in /w/workspace/gexfoundry_device-snmp-go_PR-187 [Pipeline] { [Pipeline] ws 05:07:17 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 05:07:17 Selected Git installation does not exist. Using Default 05:07:17 The recommended git tool is: NONE 05:07:17 INFO: Archiving Costs [Pipeline] sh 05:07:18 + cat /w/workspace/gexfoundry_device-snmp-go_PR-187/archives/cost.csv 05:07:18 + cut -d, -f6 [Pipeline] lock 05:07:18 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-187-1-stack-cost] 05:07:18 Resource [jenkins-edgexfoundry-device-snmp-go-PR-187-1-stack-cost] did not exist. Created. 05:07:18 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-187-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:07:18 + echo total: 0.2199999988079071 [Pipeline] stash 05:07:18 Stashed 1 file(s) [Pipeline] } 05:07:18 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-187-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:07:18 $ docker stop --time=1 54f321e3bb58c553f1bd3841c79f3816bea6d4d7eaa0bc9e4c2bfdf08bb9186d 05:07:19 $ docker rm -f 54f321e3bb58c553f1bd3841c79f3816bea6d4d7eaa0bc9e4c2bfdf08bb9186d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:07:23 using credential edgex-jenkins-ssh 05:07:23 Cloning the remote Git repository 05:07:23 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 05:07:24 > git init /w/workspace/device-snmp-go/1 # timeout=10 05:07:24 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:07:24 > git --version # timeout=10 05:07:24 > git --version # 'git version 2.25.1' 05:07:24 using GIT_SSH to set credentials SSH Credentials for GitHub 05:07:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:07:25 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:07:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:07:25 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:07:25 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:07:25 using GIT_SSH to set credentials SSH Credentials for GitHub 05:07:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/187/head:refs/remotes/origin/PR-187 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:07:25 Merging remotes/origin/main commit a30604e7d8ec87dceb0eb4409beb538cfe41877d into PR head commit 4595f2fdcb273c12dc8e8ae64b0be711bbdd5418 05:07:26 Merge succeeded, producing 4595f2fdcb273c12dc8e8ae64b0be711bbdd5418 05:07:26 Checking out Revision 4595f2fdcb273c12dc8e8ae64b0be711bbdd5418 (PR-187) 05:07:25 > git config core.sparsecheckout # timeout=10 05:07:25 > git checkout -f 4595f2fdcb273c12dc8e8ae64b0be711bbdd5418 # timeout=10 05:07:25 > git remote # timeout=10 05:07:25 > git config --get remote.origin.url # timeout=10 05:07:25 using GIT_SSH to set credentials SSH Credentials for GitHub 05:07:25 > git merge a30604e7d8ec87dceb0eb4409beb538cfe41877d # timeout=10 05:07:25 > git rev-parse HEAD^{commit} # timeout=10 05:07:26 > git config core.sparsecheckout # timeout=10 05:07:26 > git checkout -f 4595f2fdcb273c12dc8e8ae64b0be711bbdd5418 # timeout=10 05:07:30 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" 05:07:30 > git --version # timeout=10 05:07:30 > git --version # 'git version 2.25.1' 05:07:30 fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:07:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:07:31 % Total % Received % Xferd Average Speed Time Time Time Current 05:07:31 Dload Upload Total Spent Left Speed 05:07:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 101k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh 05:07:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:07:32 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:07:32 + sudo tee /etc/docker/daemon.new 05:07:32 { 05:07:32 "registry-mirrors": [ 05:07:32 "https://nexus3.edgexfoundry.org:10001" 05:07:32 ], 05:07:32 "bip": "10.250.0.254/24", 05:07:32 "hosts": [ 05:07:32 "tcp://0.0.0.0:5555", 05:07:32 "unix:///var/run/docker.sock" 05:07:32 ], 05:07:32 "mtu": 1458, 05:07:32 "selinux-enabled": true, 05:07:32 "seccomp-profile": "/etc/docker/seccomp.json" 05:07:32 } [Pipeline] sh 05:07:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:07:33 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:07:51 provisioning config files... 05:07:51 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config4031009853721006379tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:07:52 ---> docker-login.sh 05:07:52 nexus3.edgexfoundry.org:10001 05:07:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:53 Configure a credential helper to remove this warning. See 05:07:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:53 05:07:53 Login Succeeded 05:07:53 nexus3.edgexfoundry.org:10002 05:07:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:53 Configure a credential helper to remove this warning. See 05:07:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:53 05:07:53 Login Succeeded 05:07:53 nexus3.edgexfoundry.org:10003 05:07:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:54 Configure a credential helper to remove this warning. See 05:07:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:54 05:07:54 Login Succeeded 05:07:54 nexus3.edgexfoundry.org:10004 05:07:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:54 Configure a credential helper to remove this warning. See 05:07:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:54 05:07:54 Login Succeeded 05:07:54 docker.io 05:07:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:55 Configure a credential helper to remove this warning. See 05:07:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:55 05:07:55 Login Succeeded 05:07:55 ---> docker-login.sh ends [Pipeline] } 05:07:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:07:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:07:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:07:55 ========================================================= 05:07:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 05:07:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:07:56 + 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 . 05:07:56 Sending build context to Docker daemon 2.813MB 05:07:56 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 05:07:56 Step 2/12 : FROM ${BASE} AS builder 05:07:56 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:07:56 b3c136eddcbf: Pulling fs layer 05:07:56 c0a3192eca97: Pulling fs layer 05:07:56 a050256f5b6f: Pulling fs layer 05:07:56 656be50a0ddc: Pulling fs layer 05:07:56 2bbca73fdf42: Pulling fs layer 05:07:56 46d945488cbd: Pulling fs layer 05:07:56 8a5474983e97: Pulling fs layer 05:07:56 329c88fbcd65: Pulling fs layer 05:07:56 656be50a0ddc: Waiting 05:07:56 2bbca73fdf42: Waiting 05:07:56 46d945488cbd: Waiting 05:07:56 8a5474983e97: Waiting 05:07:56 329c88fbcd65: Waiting 05:07:56 a050256f5b6f: Verifying Checksum 05:07:56 a050256f5b6f: Download complete 05:07:56 c0a3192eca97: Verifying Checksum 05:07:56 c0a3192eca97: Download complete 05:07:56 2bbca73fdf42: Verifying Checksum 05:07:56 2bbca73fdf42: Download complete 05:07:56 46d945488cbd: Verifying Checksum 05:07:56 46d945488cbd: Download complete 05:07:56 b3c136eddcbf: Download complete 05:07:57 b3c136eddcbf: Pull complete 05:07:57 329c88fbcd65: Verifying Checksum 05:07:57 329c88fbcd65: Download complete 05:07:58 c0a3192eca97: Pull complete 05:07:58 a050256f5b6f: Pull complete 05:07:58 8a5474983e97: Verifying Checksum 05:07:58 8a5474983e97: Download complete 05:07:59 656be50a0ddc: Verifying Checksum 05:07:59 656be50a0ddc: Download complete 05:08:12 656be50a0ddc: Pull complete 05:08:12 2bbca73fdf42: Pull complete 05:08:12 46d945488cbd: Pull complete 05:08:19 8a5474983e97: Pull complete 05:08:20 329c88fbcd65: Pull complete 05:08:20 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 05:08:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 05:08:20 ---> ff4287adb874 05:08:20 Step 3/12 : ARG MAKE='make build' 05:08:21 ---> Running in b3202bccf6ab 05:08:22 Removing intermediate container b3202bccf6ab 05:08:22 ---> c2c4de6656fc 05:08:22 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:08:22 ---> Running in 2e657b960b88 05:08:22 Removing intermediate container 2e657b960b88 05:08:22 ---> bd763a647230 05:08:22 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 05:08:22 ---> Running in 02bd9e1ca37e 05:08:22 Removing intermediate container 02bd9e1ca37e 05:08:22 ---> 9a63e76fdbb4 05:08:22 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:08:22 ---> Running in 183fd941ddc2 05:08:26 Removing intermediate container 183fd941ddc2 05:08:26 ---> 14b4f534f84e 05:08:26 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:08:26 ---> Running in 9c92e3941596 05:08:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:08:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:08:28 (1/4) Installing openssh-keygen (9.0_p1-r2) 05:08:28 (2/4) Installing libedit (20210910.3.1-r0) 05:08:28 (3/4) Installing openssh-client-common (9.0_p1-r2) 05:08:29 (4/4) Installing openssh-client-default (9.0_p1-r2) 05:08:29 Executing busybox-1.35.0-r13.trigger 05:08:29 OK: 226 MiB in 55 packages 05:08:30 Removing intermediate container 9c92e3941596 05:08:30 ---> 754b9aa4623e 05:08:30 Step 8/12 : WORKDIR /device-snmp-go 05:08:30 ---> Running in a60d4132befe 05:08:30 Removing intermediate container a60d4132befe 05:08:30 ---> a61913066b08 05:08:30 Step 9/12 : COPY go.mod vendor* ./ 05:08:31 ---> ddfb4d1ee32e 05:08:31 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:08:31 ---> Running in be599789cba2 05:09:18 Removing intermediate container be599789cba2 05:09:18 ---> 909481f9f0b0 05:09:18 Step 11/12 : COPY . . 05:09:19 ---> 6f381b521dc5 05:09:19 Step 12/12 : RUN ${MAKE} 05:09:19 ---> Running in 19c094f271e3 05:09:20 noop 05:09:20 Removing intermediate container 19c094f271e3 05:09:20 ---> 94e068765fd8 05:09:20 Successfully built 94e068765fd8 05:09:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:21 + docker inspect -f . ci-base-image-arm64 05:09:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:09:21 prd-ubuntu20.04-docker-arm64-4c-16g-21640 does not seem to be running inside a container 05:09:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:09:22 $ docker top 3fa8f204049b3f54b444965d64687e0c1d8feb1c2f2d39e650e4635ad1d9d0d3 -eo pid,comm [Pipeline] { [Pipeline] sh 05:09:23 + go version 05:09:23 go version go1.18.3 linux/arm64 [Pipeline] } 05:09:23 $ docker stop --time=1 3fa8f204049b3f54b444965d64687e0c1d8feb1c2f2d39e650e4635ad1d9d0d3 05:09:25 $ docker rm -f 3fa8f204049b3f54b444965d64687e0c1d8feb1c2f2d39e650e4635ad1d9d0d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:26 + docker inspect -f . ci-base-image-arm64 05:09:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:09:26 prd-ubuntu20.04-docker-arm64-4c-16g-21640 does not seem to be running inside a container 05:09:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:09:28 $ docker top 0a1193f056a576969618c2110317b0a2cda9492ceabc5055874b2fc3a781fd98 -eo pid,comm [Pipeline] { [Pipeline] sh 05:09:29 + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh 05:09:29 + make test 05:09:29 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:09:31 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:10:53 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:10:53 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.041s coverage: 0.0% of statements 05:10:53 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:10:53 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:11:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:11:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:11:15 ./bin/test-attribution-txt.sh 05:11:15 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 05:11:15 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 05:11:15 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 05:11:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:11:15 $ docker stop --time=1 0a1193f056a576969618c2110317b0a2cda9492ceabc5055874b2fc3a781fd98 05:11:17 $ docker rm -f 0a1193f056a576969618c2110317b0a2cda9492ceabc5055874b2fc3a781fd98 [Pipeline] // withDockerContainer [Pipeline] sh 05:11:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:11:18 Warning: overwriting stash ‘coverage-report’ 05:11:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:11:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:11:20 + ls -al . 05:11:20 total 168 05:11:20 drwxrwxr-x 8 jenkins jenkins 4096 Aug 1 05:09 . 05:11:20 drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 05:07 .. 05:11:20 -rw-rw-r-- 1 jenkins jenkins 6 Aug 1 05:07 .dockerignore 05:11:20 drwxrwxr-x 8 jenkins jenkins 4096 Aug 1 05:07 .git 05:11:20 drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 05:07 .github 05:11:20 -rw-rw-r-- 1 jenkins jenkins 328 Aug 1 05:07 .gitignore 05:11:20 -rw-rw-r-- 1 jenkins jenkins 41 Aug 1 05:07 .golangci.yml 05:11:20 -rw-rw-r-- 1 jenkins jenkins 8556 Aug 1 05:07 Attribution.txt 05:11:20 -rw-rw-r-- 1 jenkins jenkins 6948 Aug 1 05:07 CHANGELOG.md 05:11:20 -rw-rw-r-- 1 jenkins jenkins 1518 Aug 1 05:07 Dockerfile 05:11:20 -rw-rw-r-- 1 jenkins jenkins 677 Aug 1 05:07 GOVERNANCE.md 05:11:20 -rw-rw-r-- 1 jenkins jenkins 656 Aug 1 05:07 Jenkinsfile 05:11:20 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 1 05:07 LICENSE 05:11:20 -rw-rw-r-- 1 jenkins jenkins 2334 Aug 1 05:07 Makefile 05:11:20 -rw-rw-r-- 1 jenkins jenkins 620 Aug 1 05:07 OWNERS.md 05:11:20 -rw-rw-r-- 1 jenkins jenkins 9390 Aug 1 05:07 README.md 05:11:20 -rw-rw-r-- 1 jenkins jenkins 5 Aug 1 05:05 VERSION 05:11:20 drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 05:07 bin 05:11:20 drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 05:07 cmd 05:11:20 -rw-r--r-- 1 jenkins jenkins 7631 Aug 1 05:10 coverage.out 05:11:20 -rw-rw-r-- 1 jenkins jenkins 3439 Aug 1 05:07 go.mod 05:11:20 -rw-rw-r-- 1 jenkins jenkins 36897 Aug 1 05:07 go.sum 05:11:20 drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 05:07 internal 05:11:20 drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 05:07 snap 05:11:20 -rw-rw-r-- 1 jenkins jenkins 228 Aug 1 05:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:11:20 + 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=4595f2fdcb273c12dc8e8ae64b0be711bbdd5418 --label arch=arm64 --label version=0.0.0 . 05:11:21 Sending build context to Docker daemon 2.822MB 05:11:21 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 05:11:21 Step 2/24 : FROM ${BASE} AS builder 05:11:21 ---> 94e068765fd8 05:11:21 Step 3/24 : ARG MAKE='make build' 05:11:21 ---> Running in fd78aeac4eae 05:11:21 Removing intermediate container fd78aeac4eae 05:11:21 ---> c12de3096cb1 05:11:21 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:11:21 ---> Running in 750cd7a6c861 05:11:21 Removing intermediate container 750cd7a6c861 05:11:21 ---> 3fee496258ff 05:11:21 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 05:11:22 ---> Running in 8e72f0cd04a9 05:11:22 Removing intermediate container 8e72f0cd04a9 05:11:22 ---> f79c5812820c 05:11:22 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:11:22 ---> Running in 8d3ec4910a71 05:11:24 Removing intermediate container 8d3ec4910a71 05:11:24 ---> 857c3624ff3c 05:11:24 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:11:24 ---> Running in e7572c2d589e 05:11:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:11:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:11:27 OK: 226 MiB in 55 packages 05:11:28 Removing intermediate container e7572c2d589e 05:11:28 ---> 1b791f03a2c8 05:11:28 Step 8/24 : WORKDIR /device-snmp-go 05:11:28 ---> Running in 55fa029bebde 05:11:28 Removing intermediate container 55fa029bebde 05:11:28 ---> 715e18b6bf1b 05:11:28 Step 9/24 : COPY go.mod vendor* ./ 05:11:29 ---> 75c743dfdc85 05:11:29 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:11:29 ---> Running in a102d1f44752 05:11:31 Removing intermediate container a102d1f44752 05:11:31 ---> 1401a78daafd 05:11:31 Step 11/24 : COPY . . 05:11:32 ---> 11186f22c8bf 05:11:32 Step 12/24 : RUN ${MAKE} 05:11:32 ---> Running in 92f97fa541f2 05:11:33 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 05:13:55 Removing intermediate container 92f97fa541f2 05:13:55 ---> 1d0bcdfc6e76 05:13:55 Step 13/24 : FROM alpine:3.16 05:13:55 3.16: Pulling from library/alpine 05:13:55 f97344484467: Pulling fs layer 05:13:55 f97344484467: Verifying Checksum 05:13:55 f97344484467: Download complete 05:13:55 f97344484467: Pull complete 05:13:55 Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 05:13:55 Status: Downloaded newer image for alpine:3.16 05:13:55 ---> 3d81c46cd875 05:13:55 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 05:13:55 ---> Running in f35aa9051afc 05:13:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:13:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:13:55 (1/6) Installing dumb-init (1.2.5-r1) 05:13:55 (2/6) Installing libgcc (11.2.1_git20220219-r2) 05:13:55 (3/6) Installing libsodium (1.0.18-r0) 05:13:55 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 05:13:55 (5/6) Installing libzmq (4.3.4-r0) 05:13:55 (6/6) Installing zeromq (4.3.4-r0) 05:13:55 Executing busybox-1.35.0-r15.trigger 05:13:55 OK: 8 MiB in 20 packages 05:13:55 Removing intermediate container f35aa9051afc 05:13:55 ---> b66b86ed24e1 05:13:55 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 05:13:55 ---> 70a375439c55 05:13:55 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:13:55 ---> e5470c0f46ec 05:13:55 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 05:13:55 ---> 960e088a6b97 05:13:55 Step 18/24 : EXPOSE 59993 05:13:55 ---> Running in f0fc6609aab0 05:13:55 Removing intermediate container f0fc6609aab0 05:13:55 ---> b1fb8c804b18 05:13:55 Step 19/24 : EXPOSE 161 05:13:55 ---> Running in 8dc3816e5309 05:13:55 Removing intermediate container 8dc3816e5309 05:13:55 ---> f4c8dcb399df 05:13:55 Step 20/24 : ENTRYPOINT ["/device-snmp"] 05:13:55 ---> Running in c5093fbc6dbb 05:13:55 Removing intermediate container c5093fbc6dbb 05:13:55 ---> 2182aed51cc6 05:13:55 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 05:13:55 ---> Running in 562557da3b56 05:13:55 Removing intermediate container 562557da3b56 05:13:55 ---> 4e0faa3e4ea6 05:13:55 Step 22/24 : LABEL arch=arm64 05:13:55 ---> Running in 8fb2df1d24ea 05:13:55 Removing intermediate container 8fb2df1d24ea 05:13:55 ---> 56b316f81228 05:13:55 Step 23/24 : LABEL git_sha=4595f2fdcb273c12dc8e8ae64b0be711bbdd5418 05:13:55 ---> Running in e8e893230be0 05:13:55 Removing intermediate container e8e893230be0 05:13:55 ---> 798ced883df7 05:13:55 Step 24/24 : LABEL version=0.0.0 05:13:55 ---> Running in 47136543284f 05:13:55 Removing intermediate container 47136543284f 05:13:55 ---> fe4320b823b1 05:13:55 [Warning] One or more build-args [ARCH] were not consumed 05:13:55 Successfully built fe4320b823b1 05:13:55 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:13:56 05:13:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:13:56 arm64: Pulling from edgex-lftools-log-publisher 05:13:56 8998bd30e6a1: Pulling fs layer 05:13:56 04944245beec: Pulling fs layer 05:13:56 699f458cf7ca: Pulling fs layer 05:13:56 765212b225bb: Pulling fs layer 05:13:56 f23df028b6ca: Pulling fs layer 05:13:56 d65c8cfc05b1: Pulling fs layer 05:13:56 2437ff75d9bd: Pulling fs layer 05:13:56 d65c8cfc05b1: Waiting 05:13:56 2437ff75d9bd: Waiting 05:13:56 765212b225bb: Waiting 05:13:56 f23df028b6ca: Waiting 05:13:56 04944245beec: Verifying Checksum 05:13:56 04944245beec: Download complete 05:13:56 765212b225bb: Download complete 05:13:56 f23df028b6ca: Verifying Checksum 05:13:56 f23df028b6ca: Download complete 05:13:56 d65c8cfc05b1: Verifying Checksum 05:13:56 d65c8cfc05b1: Download complete 05:13:57 699f458cf7ca: Download complete 05:13:57 8998bd30e6a1: Verifying Checksum 05:13:57 8998bd30e6a1: Download complete 05:13:59 2437ff75d9bd: Verifying Checksum 05:13:59 2437ff75d9bd: Download complete 05:14:01 8998bd30e6a1: Pull complete 05:14:02 04944245beec: Pull complete 05:14:03 699f458cf7ca: Pull complete 05:14:03 765212b225bb: Pull complete 05:14:04 f23df028b6ca: Pull complete 05:14:05 d65c8cfc05b1: Pull complete 05:14:20 2437ff75d9bd: Pull complete 05:14:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:14:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:14:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:14:20 prd-ubuntu20.04-docker-arm64-4c-16g-21640 does not seem to be running inside a container 05: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/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:14:23 $ docker top 9f76554d0fdf57eddfa4a1214f5293bed82eff0a28620572b99ff0cf27746de5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:14:24 ---> job-cost.sh 05:14:24 lf-activate-venv: SKIPPING 05:14:24 INFO: No Stack... 05:14:24 INFO: Retrieving Pricing Info for: v3-standard-4 05:14:25 INFO: Archiving Costs [Pipeline] sh 05:14:26 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 05:14:26 + cut -d, -f6 [Pipeline] lock 05:14:26 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-187-1-stack-cost] 05:14:26 Resource [jenkins-edgexfoundry-device-snmp-go-PR-187-1-stack-cost] did not exist. Created. 05:14:26 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-187-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:14:27 /w/workspace/device-snmp-go/1@tmp/durable-fbc47a7a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:14:28 + echo total: 0.10999999940395355 [Pipeline] stash 05:14:28 Warning: overwriting stash ‘stack-cost’ 05:14:28 Stashed 1 file(s) [Pipeline] } 05:14:28 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-187-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:14:28 $ docker stop --time=1 9f76554d0fdf57eddfa4a1214f5293bed82eff0a28620572b99ff0cf27746de5 05:14:29 $ docker rm -f 9f76554d0fdf57eddfa4a1214f5293bed82eff0a28620572b99ff0cf27746de5 [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 05:14:30 provisioning config files... 05:14:30 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-187@tmp/config417323433617435977tmp [Pipeline] { [Pipeline] sh 05:14:31 + set +x 05:14:31 + + bash -s -- 05:14:31 curl -s https://codecov.io/bash 05:14:31 05:14:31 _____ _ 05:14:31 / ____| | | 05:14:31 | | ___ __| | ___ ___ _____ __ 05:14:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:14:31 | |___| (_) | (_| | __/ (_| (_) \ V / 05:14:31 \_____\___/ \__,_|\___|\___\___/ \_/ 05:14:31 Bash-1.0.6 05:14:31 05:14:31 05:14:31 ==> git version 2.25.1 found 05:14:31 ==> 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 05:14:31 Release-Date: 2020-01-08 05:14:31 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:14:31 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:14:31 ==> Jenkins CI detected. 05:14:31 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-187 05:14:31 project root: . 05:14:31 --> token set from env 05:14:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:14:31 ==> Running gcov in . (disable via -X gcov) 05:14:31 ==> Python coveragepy not found 05:14:31 ==> Searching for coverage reports in: 05:14:31 + . 05:14:31 -> Found 1 reports 05:14:31 ==> Detecting git/mercurial file structure 05:14:31 ==> Reading reports 05:14:31 + ./coverage.out bytes=7631 05:14:31 ==> Appending adjustments 05:14:31 https://docs.codecov.io/docs/fixing-reports 05:14:31 + Found adjustments 05:14:31 ==> Gzipping contents 05:14:31 4.0K /tmp/codecov.CEFAQm.gz 05:14:31 ==> Uploading reports 05:14:31 url: https://codecov.io 05:14:31 query: branch=PR-187&commit=4595f2fdcb273c12dc8e8ae64b0be711bbdd5418&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-187%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=187&job=&cmd_args= 05:14:31 -> Pinging Codecov 05:14:31 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-187&commit=4595f2fdcb273c12dc8e8ae64b0be711bbdd5418&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-187%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=187&job=&cmd_args= 05:14:31 -> Uploading to 05:14:31 https://storage.googleapis.com/codecov/v4/raw/2022-08-01/6C56EA5C29638FB4528AC87E60AF5AE0/4595f2fdcb273c12dc8e8ae64b0be711bbdd5418/7cf7a43f-88a7-46d9-8d8f-6700f941cb51.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220801%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220801T051431Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7dc890fd257905e2fbccd4ae6b722f375ed6a239872285ab987e2b12faa4bc32 05:14:31 % Total % Received % Xferd Average Speed Time Time Time Current 05:14:31 Dload Upload Total Spent Left Speed 05:14:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1535 0 0 100 1535 0 5643 --:--:-- --:--:-- --:--:-- 5643 05:14:31 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/4595f2fdcb273c12dc8e8ae64b0be711bbdd5418 [Pipeline] } 05:14:32 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 05:14:33 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-187/archives ] 05:14:33 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-187/archives 05:14:33 total 16 05:14:33 drwxr-xr-x 3 root root 4096 Aug 1 05:07 . 05:14:33 drwxrwxr-x 10 jenkins jenkins 4096 Aug 1 05:07 .. 05:14:33 drwxr-xr-x 2 root root 4096 Aug 1 05:07 cost 05:14:33 -rw-r--r-- 1 root root 86 Aug 1 05:07 cost.csv 05:14:33 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-187/archives 05:14:33 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-187/archives 05:14:33 total 16 05:14:33 drwxr-xr-x 3 jenkins jenkins 4096 Aug 1 05:07 . 05:14:33 drwxrwxr-x 10 jenkins jenkins 4096 Aug 1 05:07 .. 05:14:33 drwxr-xr-x 2 jenkins jenkins 4096 Aug 1 05:07 cost 05:14:33 -rw-r--r-- 1 jenkins jenkins 86 Aug 1 05:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:14:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:14:35 ---> package-listing.sh 05:14:35 ++ facter osfamily 05:14:35 ++ tr '[:upper:]' '[:lower:]' 05:14:35 + OS_FAMILY=debian 05:14:35 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-187 05:14:35 + START_PACKAGES=/tmp/packages_start.txt 05:14:35 + END_PACKAGES=/tmp/packages_end.txt 05:14:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:14:35 + PACKAGES=/tmp/packages_start.txt 05:14:35 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-187 ']' 05:14:35 + PACKAGES=/tmp/packages_end.txt 05:14:35 + case "${OS_FAMILY}" in 05:14:35 + dpkg -l 05:14:35 + grep '^ii' 05:14:35 + '[' -f /tmp/packages_start.txt ']' 05:14:35 + '[' -f /tmp/packages_end.txt ']' 05:14:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:14:35 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-187 ']' 05:14:35 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-187/archives/ 05:14:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-187/archives/ [Pipeline] echo 05:14:35 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-187/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:14:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:14:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:14:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:14:36 prd-ubuntu20.04-docker-8c-8g-21638 does not seem to be running inside a container 05:14:36 $ 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-187/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-187 -v /w/workspace/gexfoundry_device-snmp-go_PR-187:/w/workspace/gexfoundry_device-snmp-go_PR-187:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-187@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-187@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:14:36 $ docker top e69c4ae48623757761a46f8c1d4c9fe9eec480b6e8ed21f9e67c4a7a3b3ebb52 -eo pid,comm [Pipeline] { [Pipeline] sh 05:14:37 + touch /tmp/pre-build-complete [Pipeline] sh 05:14:37 + mkdir -p /var/log/sysstat [Pipeline] sh 05:14:37 + ls /var/log/sa-host 05:14:37 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:14:37 provisioning config files... 05:14:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-187@tmp/config7427900072533617399tmp [Pipeline] { [Pipeline] echo 05:14:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:14:38 ---> create-netrc.sh [Pipeline] } 05:14:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:14:38 ---> python-tools-install.sh [Pipeline] echo 05:14:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:14:39 ---> sudo-logs.sh 05:14:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:14:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:14:39 ---> job-cost.sh 05:14:39 lf-activate-venv: SKIPPING 05:14:39 DEBUG: total: 0.2199999988079071 05:14:39 INFO: Retrieving Stack Cost... 05:14:40 INFO: Retrieving Pricing Info for: v3-standard-8 05:14:40 INFO: Archiving Costs [Pipeline] echo 05:14:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:14:40 ---> logs-deploy.sh 05:14:40 lf-activate-venv: SKIPPING 05:14:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-187/1 05:14:40 INFO: archiving workspace using pattern(s): 05:14:41 Archives upload complete. 05:14:41 INFO: archiving logs to Nexus 05:14:42 ---> uname -a: 05:14:42 Linux prd-ubuntu20-04-docker-8c-8g-21638 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 05:14:42 05:14:42 05:14:42 ---> lscpu: 05:14:42 Architecture: x86_64 05:14:42 CPU op-mode(s): 32-bit, 64-bit 05:14:42 Byte Order: Little Endian 05:14:42 Address sizes: 40 bits physical, 48 bits virtual 05:14:42 CPU(s): 8 05:14:42 On-line CPU(s) list: 0-7 05:14:42 Thread(s) per core: 1 05:14:42 Core(s) per socket: 1 05:14:42 Socket(s): 8 05:14:42 NUMA node(s): 1 05:14:42 Vendor ID: AuthenticAMD 05:14:42 CPU family: 23 05:14:42 Model: 49 05:14:42 Model name: AMD EPYC-Rome Processor 05:14:42 Stepping: 0 05:14:42 CPU MHz: 2799.994 05:14:42 BogoMIPS: 5599.98 05:14:42 Virtualization: AMD-V 05:14:42 Hypervisor vendor: KVM 05:14:42 Virtualization type: full 05:14:42 L1d cache: 256 KiB 05:14:42 L1i cache: 256 KiB 05:14:42 L2 cache: 4 MiB 05:14:42 L3 cache: 128 MiB 05:14:42 NUMA node0 CPU(s): 0-7 05:14:42 Vulnerability Itlb multihit: Not affected 05:14:42 Vulnerability L1tf: Not affected 05:14:42 Vulnerability Mds: Not affected 05:14:42 Vulnerability Meltdown: Not affected 05:14:42 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 05:14:42 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 05:14:42 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 05:14:42 Vulnerability Srbds: Not affected 05:14:42 Vulnerability Tsx async abort: Not affected 05:14:42 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 05:14:42 05:14:42 05:14:42 ---> nproc: 05:14:42 8 05:14:42 05:14:42 05:14:42 ---> df -h: 05:14:42 Filesystem Size Used Avail Use% Mounted on 05:14:42 overlay 155G 11G 145G 7% / 05:14:42 tmpfs 64M 0 64M 0% /dev 05:14:42 tmpfs 16G 0 16G 0% /sys/fs/cgroup 05:14:42 shm 64M 0 64M 0% /dev/shm 05:14:42 /dev/vda1 155G 11G 145G 7% /facter-os 05:14:42 05:14:42 05:14:42 ---> sar -b -r -n DEV: 05:14:42 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-21638) 08/01/22 _x86_64_ (8 CPU) 05:14:42 05:14:42 05:04:20 LINUX RESTART (8 CPU) 05:14:42 05:14:42 05:05:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 05:14:42 05:06:01 178.30 11.80 166.51 0.00 1993.67 102320.95 0.00 05:14:42 05:07:01 133.16 0.13 133.03 0.00 11.86 24764.27 0.00 05:14:42 05:08:01 73.02 0.03 72.99 0.00 4.27 19054.84 0.00 05:14:42 05:09:01 2.18 0.00 2.18 0.00 0.00 24.40 0.00 05:14:42 05:10:01 1.03 0.02 1.02 0.00 0.13 11.73 0.00 05:14:42 05:11:01 2.18 0.00 2.18 0.00 0.00 25.46 0.00 05:14:42 05:12:01 1.55 0.00 1.55 0.00 0.00 17.60 0.00 05:14:42 05:13:01 2.10 0.00 2.10 0.00 0.00 23.46 0.00 05:14:42 05:14:01 0.88 0.00 0.88 0.00 0.00 10.00 0.00 05:14:42 Average: 43.82 1.33 42.49 0.00 223.32 16250.00 0.00 05:14:42 05:14:42 05:05:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 05:14:42 05:06:01 27906556 31759416 537980 1.64 158920 3862648 2054764 6.06 1222176 3269184 63772 05:14:42 05:07:01 28070348 31722084 573616 1.74 164124 3685568 2309152 6.81 1311916 3040852 39856 05:14:42 05:08:01 27637328 31778856 514624 1.57 173300 4116936 1848224 5.45 1273536 3459688 12 05:14:42 05:09:01 27638840 31780432 512948 1.56 173376 4116948 1848224 5.45 1273012 3459692 20 05:14:42 05:10:01 27643132 31784760 508640 1.55 173412 4116956 1848224 5.45 1268972 3459732 20 05:14:42 05:11:01 27643408 31785124 508236 1.55 173484 4116960 1848224 5.45 1268884 3459744 12 05:14:42 05:12:01 27650416 31792232 501072 1.52 173584 4116956 1848224 5.45 1262060 3459748 12 05:14:42 05:13:01 27650576 31792460 500976 1.52 173652 4116968 1848224 5.45 1262492 3459756 12 05:14:42 05:14:01 27650316 31792200 501184 1.52 173684 4116968 1848224 5.45 1262032 3459756 12 05:14:42 Average: 27721213 31776396 517697 1.57 170837 4040768 1922387 5.67 1267231 3392017 11525 05:14:42 05:14:42 05:05:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 05:14:42 05:06:01 ens3 420.75 290.30 7136.24 44.77 0.00 0.00 0.00 0.00 05:14:42 05:06:01 docker0 118.71 161.66 10.29 1522.15 0.00 0.00 0.00 0.00 05:14:42 05:06:01 lo 5.80 5.80 0.57 0.57 0.00 0.00 0.00 0.00 05:14:42 05:07:01 ens3 86.89 66.87 188.79 68.30 0.00 0.00 0.00 0.00 05:14:42 05:07:01 docker0 9.40 14.43 0.55 98.69 0.00 0.00 0.00 0.00 05:14:42 05:07:01 lo 1.13 1.13 0.11 0.11 0.00 0.00 0.00 0.00 05:14:42 05:08:01 ens3 129.18 90.68 2524.91 57.78 0.00 0.00 0.00 0.00 05:14:42 05:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:14:42 05:08:01 lo 0.93 0.93 0.09 0.09 0.00 0.00 0.00 0.00 05:14:42 05:09:01 ens3 0.77 0.42 0.36 0.27 0.00 0.00 0.00 0.00 05:14:42 05:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:14:42 05:09:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:14:42 05:10:01 ens3 0.18 0.18 0.08 0.07 0.00 0.00 0.00 0.00 05:14:42 05:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:14:42 05:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:14:42 05:11:01 ens3 0.58 0.48 0.27 0.22 0.00 0.00 0.00 0.00 05:14:42 05:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:14:42 05:11:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:14:42 05:12:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:14:42 05:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:14:42 05:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:14:42 05:13:01 ens3 0.15 0.13 0.01 0.01 0.00 0.00 0.00 0.00 05:14:42 05:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:14:42 05:13:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:14:42 05:14:01 ens3 0.05 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:14:42 05:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:14:42 05:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:14:42 Average: ens3 70.95 49.90 1094.50 19.05 0.00 0.00 0.00 0.00 05:14:42 Average: docker0 14.23 19.56 1.20 180.09 0.00 0.00 0.00 0.00 05:14:42 Average: lo 0.94 0.94 0.09 0.09 0.00 0.00 0.00 0.00 05:14:42 05:14:42 05:14:42 ---> sar -P ALL: 05:14:42 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-21638) 08/01/22 _x86_64_ (8 CPU) 05:14:42 05:14:42 05:04:20 LINUX RESTART (8 CPU) 05:14:42 05:14:42 05:05:01 CPU %user %nice %system %iowait %steal %idle 05:14:42 05:06:01 all 9.81 0.00 4.23 3.26 0.08 82.62 05:14:42 05:06:01 0 11.65 0.00 4.52 4.44 0.08 79.30 05:14:42 05:06:01 1 10.28 0.00 4.42 1.64 0.05 83.60 05:14:42 05:06:01 2 9.84 0.00 4.16 0.96 0.07 84.97 05:14:42 05:06:01 3 9.09 0.00 4.00 3.24 0.14 83.53 05:14:42 05:06:01 4 8.66 0.00 3.95 1.27 0.05 86.07 05:14:42 05:06:01 5 10.25 0.00 3.56 0.47 0.13 85.59 05:14:42 05:06:01 6 8.68 0.00 3.95 0.62 0.05 86.70 05:14:42 05:06:01 7 10.02 0.00 5.27 13.46 0.07 71.18 05:14:42 05:07:01 all 35.40 0.00 6.06 1.47 0.08 56.99 05:14:42 05:07:01 0 37.09 0.00 7.19 3.68 0.08 51.96 05:14:42 05:07:01 1 37.70 0.00 6.20 1.01 0.07 55.03 05:14:42 05:07:01 2 39.11 0.00 6.38 0.27 0.08 54.15 05:14:42 05:07:01 3 33.08 0.00 6.27 0.03 0.10 60.51 05:14:42 05:07:01 4 33.37 0.00 5.26 2.53 0.07 58.78 05:14:42 05:07:01 5 38.04 0.00 6.25 1.63 0.07 54.02 05:14:42 05:07:01 6 32.24 0.00 5.49 0.24 0.07 61.96 05:14:42 05:07:01 7 32.55 0.00 5.42 2.39 0.07 59.58 05:14:42 05:08:01 all 3.31 0.00 1.26 0.93 0.04 94.46 05:14:42 05:08:01 0 3.81 0.00 1.51 1.57 0.02 93.09 05:14:42 05:08:01 1 3.68 0.00 1.83 5.02 0.03 89.44 05:14:42 05:08:01 2 4.69 0.00 1.36 0.53 0.02 93.41 05:14:42 05:08:01 3 3.16 0.00 1.19 0.00 0.05 95.60 05:14:42 05:08:01 4 2.53 0.00 1.14 0.02 0.02 96.30 05:14:42 05:08:01 5 4.08 0.00 1.29 0.15 0.08 94.40 05:14:42 05:08:01 6 2.09 0.00 0.80 0.07 0.02 97.02 05:14:42 05:08:01 7 2.44 0.00 0.95 0.10 0.05 96.45 05:14:42 05:09:01 all 0.27 0.00 0.01 0.02 0.02 99.68 05:14:42 05:09:01 0 0.05 0.00 0.02 0.10 0.03 99.80 05:14:42 05:09:01 1 0.07 0.00 0.03 0.02 0.05 99.83 05:14:42 05:09:01 2 1.97 0.00 0.02 0.00 0.02 98.00 05:14:42 05:09:01 3 0.00 0.00 0.00 0.00 0.03 99.97 05:14:42 05:09:01 4 0.00 0.00 0.00 0.00 0.00 100.00 05:14:42 05:09:01 5 0.03 0.00 0.02 0.03 0.00 99.92 05:14:42 05:09:01 6 0.00 0.00 0.00 0.00 0.00 100.00 05:14:42 05:09:01 7 0.02 0.00 0.02 0.00 0.00 99.97 05:14:42 05:10:01 all 0.08 0.00 0.01 0.01 0.00 99.91 05:14:42 05:10:01 0 0.03 0.00 0.00 0.03 0.00 99.93 05:14:42 05:10:01 1 0.07 0.00 0.02 0.02 0.00 99.90 05:14:42 05:10:01 2 0.48 0.00 0.00 0.00 0.00 99.52 05:14:42 05:10:01 3 0.00 0.00 0.02 0.00 0.00 99.98 05:14:42 05:10:01 4 0.00 0.00 0.00 0.00 0.00 100.00 05:14:42 05:10:01 5 0.00 0.00 0.02 0.02 0.00 99.97 05:14:42 05:10:01 6 0.02 0.00 0.02 0.00 0.00 99.97 05:14:42 05:10:01 7 0.00 0.00 0.00 0.02 0.00 99.98 05:14:42 05:11:01 all 0.08 0.00 0.01 0.03 0.00 99.88 05:14:42 05:11:01 0 0.00 0.00 0.00 0.18 0.00 99.82 05:14:42 05:11:01 1 0.00 0.00 0.03 0.00 0.03 99.93 05:14:42 05:11:01 2 0.60 0.00 0.00 0.00 0.00 99.40 05:14:42 05:11:01 3 0.02 0.00 0.00 0.00 0.00 99.98 05:14:42 05:11:01 4 0.00 0.00 0.00 0.00 0.00 100.00 05:14:42 05:11:01 5 0.02 0.00 0.00 0.03 0.00 99.95 05:14:42 05:11:01 6 0.02 0.00 0.02 0.00 0.00 99.97 05:14:42 05:11:01 7 0.00 0.00 0.02 0.00 0.00 99.98 05:14:42 05:12:01 all 0.02 0.00 0.01 0.02 0.01 99.95 05:14:42 05:12:01 0 0.02 0.00 0.00 0.15 0.02 99.82 05:14:42 05:12:01 1 0.05 0.00 0.02 0.00 0.02 99.92 05:14:42 05:12:01 2 0.02 0.00 0.00 0.00 0.02 99.97 05:14:42 05:12:01 3 0.00 0.00 0.00 0.00 0.00 100.00 05:14:42 05:12:01 4 0.00 0.00 0.02 0.00 0.00 99.98 05:14:42 05:12:01 5 0.02 0.00 0.02 0.02 0.00 99.95 05:14:42 05:12:01 6 0.02 0.00 0.02 0.00 0.02 99.95 05:14:42 05:12:01 7 0.02 0.00 0.00 0.00 0.00 99.98 05:14:42 05:13:01 all 0.01 0.00 0.00 0.01 0.01 99.97 05:14:42 05:13:01 0 0.00 0.00 0.00 0.07 0.00 99.93 05:14:42 05:13:01 1 0.02 0.00 0.02 0.00 0.02 99.95 05:14:42 05:13:01 2 0.00 0.00 0.00 0.00 0.00 100.00 05:14:42 05:13:01 3 0.00 0.00 0.00 0.00 0.02 99.98 05:14:42 05:13:01 4 0.02 0.00 0.00 0.00 0.00 99.98 05:14:42 05:13:01 5 0.02 0.00 0.00 0.05 0.02 99.92 05:14:42 05:13:01 6 0.02 0.00 0.00 0.00 0.00 99.98 05:14:42 05:13:01 7 0.00 0.00 0.00 0.00 0.00 100.00 05:14:42 05:14:01 all 0.01 0.00 0.00 0.00 0.01 99.97 05:14:42 05:14:01 0 0.02 0.00 0.02 0.02 0.02 99.93 05:14:42 05:14:01 1 0.03 0.00 0.02 0.00 0.03 99.92 05:14:42 05:14:01 2 0.02 0.00 0.00 0.00 0.00 99.98 05:14:42 05:14:01 3 0.00 0.00 0.00 0.00 0.02 99.98 05:14:42 05:14:01 4 0.00 0.00 0.00 0.00 0.00 100.00 05:14:42 05:14:01 5 0.02 0.00 0.00 0.00 0.00 99.98 05:14:42 05:14:01 6 0.02 0.00 0.00 0.00 0.00 99.98 05:14:42 05:14:01 7 0.02 0.00 0.00 0.00 0.00 99.98 05:14:42 Average: all 5.39 0.00 1.28 0.63 0.03 92.67 05:14:42 Average: 0 5.82 0.00 1.46 1.13 0.03 91.55 05:14:42 Average: 1 5.73 0.00 1.39 0.85 0.03 92.00 05:14:42 Average: 2 6.26 0.00 1.31 0.19 0.02 92.21 05:14:42 Average: 3 4.98 0.00 1.26 0.36 0.04 93.36 05:14:42 Average: 4 4.89 0.00 1.14 0.42 0.01 93.53 05:14:42 Average: 5 5.77 0.00 1.23 0.26 0.03 92.71 05:14:42 Average: 6 4.73 0.00 1.13 0.10 0.02 94.02 05:14:42 Average: 7 4.95 0.00 1.28 1.75 0.02 91.99 05:14:42 05:14:42 05:14:42