Pull request #183 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 84aa847cf3dcf870ecca60d2b8a6e81643f8d572+d0a0e99d902e45b7e17db09c4331e4d14954addb (4012e369cf551891457ac2171f5d1ef42cd5318d) 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-ssh8334933382550898317.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-ssh7584391073720115285.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 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-183/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-183/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12932563334593361424.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-183/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6736852105880394792.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 # timeout=10 Commit message: "Merge pull request #405 from ernestojeda/fix-go-1.18-errors" > 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-ssh9432743445290791662.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-183/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-183/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6771394287596306338.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 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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 ‘prd-ubuntu20.04-docker-8c-8g-19778’ is offline Running on prd-ubuntu20.04-docker-8c-8g-19780 in /w/workspace/gexfoundry_device-snmp-go_PR-183 [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-183 # 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 d0a0e99d902e45b7e17db09c4331e4d14954addb into PR head commit 84aa847cf3dcf870ecca60d2b8a6e81643f8d572 Merge succeeded, producing 84aa847cf3dcf870ecca60d2b8a6e81643f8d572 Checking out Revision 84aa847cf3dcf870ecca60d2b8a6e81643f8d572 (PR-183) > 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/183/head:refs/remotes/origin/PR-183 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 84aa847cf3dcf870ecca60d2b8a6e81643f8d572 # 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 d0a0e99d902e45b7e17db09c4331e4d14954addb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 84aa847cf3dcf870ecca60d2b8a6e81643f8d572 # 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 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:12:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:12:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:12:56 ========================================================= 22:12:56 EdgeX Global Pipelines Version Info 22:12:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:12:57 ------------------- 22:12:57 stable info: 22:12:57 ------------------- 22:12:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:12:57 Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 22:12:57 Message: update stable to v1.0.237 22:12:57 ------------------- 22:12:57 experimental info: 22:12:57 ------------------- 22:12:57 Commited By: **** collab-it+edgex@linuxfoundation.org 22:12:57 Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 22:12:57 Message: update experimental to v1.0.237 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:12:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 22:12:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 22:12:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:12:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:12:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:12:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 22:12:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:12:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:12:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:12:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:12:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:12:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 22:12:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:12:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:12:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:12:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:12:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:12:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:12:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:12:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:12:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:12:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:12:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:12:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:12:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:12:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:12:59 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:12:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-183 [Pipeline] echo 22:12:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-183 [Pipeline] echo 22:12:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-183 [Pipeline] echo 22:12:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 84aa847cf3dcf870ecca60d2b8a6e81643f8d572 [Pipeline] echo 22:12:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 84aa847 [Pipeline] echo 22:12:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:12:59 provisioning config files... 22:12:59 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-183@tmp/config1592341511007008004tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:12:59 ---> docker-login.sh 22:12:59 nexus3.edgexfoundry.org:10001 22:13:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:00 Configure a credential helper to remove this warning. See 22:13:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:00 22:13:00 Login Succeeded 22:13:00 nexus3.edgexfoundry.org:10002 22:13:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:00 Configure a credential helper to remove this warning. See 22:13:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:00 22:13:00 Login Succeeded 22:13:00 nexus3.edgexfoundry.org:10003 22:13:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:00 Configure a credential helper to remove this warning. See 22:13:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:00 22:13:00 Login Succeeded 22:13:00 nexus3.edgexfoundry.org:10004 22:13:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:00 Configure a credential helper to remove this warning. See 22:13:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:00 22:13:00 Login Succeeded 22:13:00 docker.io 22:13:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:01 Configure a credential helper to remove this warning. See 22:13:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:01 22:13:01 Login Succeeded 22:13:01 ---> docker-login.sh ends [Pipeline] } 22:13:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:13:01 + git rev-list -1 --merges 84aa847cf3dcf870ecca60d2b8a6e81643f8d572~1..84aa847cf3dcf870ecca60d2b8a6e81643f8d572 [Pipeline] echo 22:13:01 -----------> git rev-list -1 --merges 84aa847cf3dcf870ecca60d2b8a6e81643f8d572~1..84aa847cf3dcf870ecca60d2b8a6e81643f8d572 84aa847cf3dcf870ecca60d2b8a6e81643f8d572 [false] [Pipeline] sh 22:13:02 + git log --format=format:%s -1 84aa847cf3dcf870ecca60d2b8a6e81643f8d572 [Pipeline] echo 22:13:02 ========================================================= 22:13:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:13:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:13:02 + git log --format=format:%s -1 84aa847cf3dcf870ecca60d2b8a6e81643f8d572 [Pipeline] echo 22:13:02 [semverPrep] GIT_COMMIT: 84aa847cf3dcf870ecca60d2b8a6e81643f8d572, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 22:13:02 [semverPrep] This is not a build commit. [Pipeline] sh 22:13:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:13:03 + grep -v github /etc/ssh/ssh_known_hosts 22:13:03 + [ -e /tmp/ssh_known_hosts ] 22:13:03 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:13:03 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:13:03 + sudo tee -a /etc/ssh/ssh_known_hosts 22:13:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:13:03 22:13:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:13:03 0.1.4: Pulling from edgex-devops/py-git-semver 22:13:03 b85a868b505f: Pulling fs layer 22:13:03 e2be974225ed: Pulling fs layer 22:13:03 339a4e72a1f5: Pulling fs layer 22:13:03 988bab9f4d93: Pulling fs layer 22:13:03 1469e6f7b9e6: Pulling fs layer 22:13:03 eaf3925da568: Pulling fs layer 22:13:03 bab4dde63d76: Pulling fs layer 22:13:03 bde34c3a00c8: Pulling fs layer 22:13:03 b352a97aabf1: Pulling fs layer 22:13:03 4872d77fe225: Pulling fs layer 22:13:03 5851b861e8e6: Pulling fs layer 22:13:03 988bab9f4d93: Waiting 22:13:03 1469e6f7b9e6: Waiting 22:13:03 b352a97aabf1: Waiting 22:13:03 eaf3925da568: Waiting 22:13:03 4872d77fe225: Waiting 22:13:03 bab4dde63d76: Waiting 22:13:03 bde34c3a00c8: Waiting 22:13:03 e2be974225ed: Verifying Checksum 22:13:03 e2be974225ed: Download complete 22:13:03 988bab9f4d93: Verifying Checksum 22:13:03 988bab9f4d93: Download complete 22:13:03 339a4e72a1f5: Verifying Checksum 22:13:03 339a4e72a1f5: Download complete 22:13:03 1469e6f7b9e6: Verifying Checksum 22:13:03 1469e6f7b9e6: Download complete 22:13:04 eaf3925da568: Download complete 22:13:04 bde34c3a00c8: Verifying Checksum 22:13:04 bde34c3a00c8: Download complete 22:13:04 b352a97aabf1: Verifying Checksum 22:13:04 b352a97aabf1: Download complete 22:13:04 4872d77fe225: Verifying Checksum 22:13:04 4872d77fe225: Download complete 22:13:04 5851b861e8e6: Download complete 22:13:04 b85a868b505f: Download complete 22:13:04 bab4dde63d76: Verifying Checksum 22:13:04 bab4dde63d76: Download complete 22:13:05 b85a868b505f: Pull complete 22:13:05 e2be974225ed: Pull complete 22:13:06 339a4e72a1f5: Pull complete 22:13:06 988bab9f4d93: Pull complete 22:13:06 1469e6f7b9e6: Pull complete 22:13:06 eaf3925da568: Pull complete 22:13:09 bab4dde63d76: Pull complete 22:13:09 bde34c3a00c8: Pull complete 22:13:09 b352a97aabf1: Pull complete 22:13:09 4872d77fe225: Pull complete 22:13:09 5851b861e8e6: Pull complete 22:13:09 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:13:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:13:09 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:13:09 prd-ubuntu20.04-docker-8c-8g-19780 does not seem to be running inside a container 22:13:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-183 -v /w/workspace/gexfoundry_device-snmp-go_PR-183:/w/workspace/gexfoundry_device-snmp-go_PR-183:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-183@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-183@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 22:13:10 $ docker top 7a0a581921d3622550103c2601dfc276f99adff2042da92462ec5764e0ac7311 -eo pid,comm 22:13:10 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). 22:13:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:13:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:13:11 [ssh-agent] Looking for ssh-agent implementation... 22:13:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:13:11 $ docker exec 7a0a581921d3622550103c2601dfc276f99adff2042da92462ec5764e0ac7311 ssh-agent 22:13:11 SSH_AUTH_SOCK=/tmp/ssh-JiouQCWdXAlz/agent.33 22:13:11 SSH_AGENT_PID=39 22:13:11 Running ssh-add (command line suppressed) 22:13:11 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-183@tmp/private_key_4831359784008818232.key (/w/workspace/gexfoundry_device-snmp-go_PR-183@tmp/private_key_4831359784008818232.key) 22:13:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:13:11 + git tag --points-at HEAD [Pipeline] } 22:13:11 $ docker exec --env ******** --env ******** 7a0a581921d3622550103c2601dfc276f99adff2042da92462ec5764e0ac7311 ssh-agent -k 22:13:11 unset SSH_AUTH_SOCK; 22:13:11 unset SSH_AGENT_PID; 22:13:11 echo Agent pid 39 killed; 22:13:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:13:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:13:12 [ssh-agent] Looking for ssh-agent implementation... 22:13:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:13:12 $ docker exec 7a0a581921d3622550103c2601dfc276f99adff2042da92462ec5764e0ac7311 ssh-agent 22:13:12 SSH_AUTH_SOCK=/tmp/ssh-rmAFQT7cxvc1/agent.72 22:13:12 SSH_AGENT_PID=79 22:13:12 Running ssh-add (command line suppressed) 22:13:12 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-183@tmp/private_key_7001603073544195969.key (/w/workspace/gexfoundry_device-snmp-go_PR-183@tmp/private_key_7001603073544195969.key) 22:13:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:13:12 + git semver init 22:13:13 2022-07-12 22:13:13,033 [run_init] DEBUG init version:0.0.0 force:False 22:13:13 2022-07-12 22:13:13,033 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-183/.semver 22:13:13 2022-07-12 22:13:13,034 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-183/.semver 22:13:13 2022-07-12 22:13:13,034 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-183/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-183, universal_newlines=False, shell=None, istream=None) 22:13:14 2022-07-12 22:13:13,751 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-183/.git/info/exclude 22:13:14 2022-07-12 22:13:13,751 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-183/.semver/PR-183 with force:False 22:13:14 2022-07-12 22:13:13,751 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-183/.semver/PR-183 22:13:14 2022-07-12 22:13:13,756 [execute] INFO git cat-file --batch-check 22:13:14 2022-07-12 22:13:13,756 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-183/.semver, universal_newlines=False, shell=None, istream=) 22:13:14 2022-07-12 22:13:13,764 [execute] INFO git cat-file --batch 22:13:14 2022-07-12 22:13:13,764 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-183/.semver, universal_newlines=False, shell=None, istream=) 22:13:14 2022-07-12 22:13:13,770 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-183/.semver/PR-183 22:13:14 0.0.0 [Pipeline] } 22:13:14 $ docker exec --env ******** --env ******** 7a0a581921d3622550103c2601dfc276f99adff2042da92462ec5764e0ac7311 ssh-agent -k 22:13:14 unset SSH_AUTH_SOCK; 22:13:14 unset SSH_AGENT_PID; 22:13:14 echo Agent pid 79 killed; 22:13:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:13:14 + git semver [Pipeline] } 22:13:14 $ docker stop --time=1 7a0a581921d3622550103c2601dfc276f99adff2042da92462ec5764e0ac7311 22:13:16 $ docker rm -f 7a0a581921d3622550103c2601dfc276f99adff2042da92462ec5764e0ac7311 [Pipeline] // withDockerContainer [Pipeline] sh 22:13:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:13:16 Stashed 1 file(s) [Pipeline] echo 22:13:16 [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 22:13:17 provisioning config files... 22:13:17 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-183@tmp/config392576361675460539tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:13:17 ---> docker-login.sh 22:13:17 nexus3.edgexfoundry.org:10001 22:13:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:17 Configure a credential helper to remove this warning. See 22:13:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:17 22:13:17 Login Succeeded 22:13:17 nexus3.edgexfoundry.org:10002 22:13:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:18 Configure a credential helper to remove this warning. See 22:13:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:18 22:13:18 Login Succeeded 22:13:18 nexus3.edgexfoundry.org:10003 22:13:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:18 Configure a credential helper to remove this warning. See 22:13:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:18 22:13:18 Login Succeeded 22:13:18 nexus3.edgexfoundry.org:10004 22:13:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:18 Configure a credential helper to remove this warning. See 22:13:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:18 22:13:18 Login Succeeded 22:13:18 docker.io 22:13:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:18 Configure a credential helper to remove this warning. See 22:13:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:18 22:13:18 Login Succeeded 22:13:18 ---> docker-login.sh ends [Pipeline] } 22:13:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:13:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:13:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:13:18 ========================================================= 22:13:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 22:13:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:19 + 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 . 22:13:19 Sending build context to Docker daemon 5.422MB 22:13:19 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 22:13:19 Step 2/12 : FROM ${BASE} AS builder 22:13:19 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 22:13:19 2408cc74d12b: Pulling fs layer 22:13:19 ea60b727a1ce: Pulling fs layer 22:13:19 30c4a7721957: Pulling fs layer 22:13:19 370296b7ddb6: Pulling fs layer 22:13:19 7c6cee850709: Pulling fs layer 22:13:19 39a5fcdaea64: Pulling fs layer 22:13:19 d94ebbe4e438: Pulling fs layer 22:13:19 bcfd1f05c69d: Pulling fs layer 22:13:19 59ccb84bbe0f: Pulling fs layer 22:13:19 bcfd1f05c69d: Waiting 22:13:19 59ccb84bbe0f: Waiting 22:13:19 7c6cee850709: Waiting 22:13:19 d94ebbe4e438: Waiting 22:13:19 39a5fcdaea64: Waiting 22:13:19 370296b7ddb6: Waiting 22:13:19 30c4a7721957: Verifying Checksum 22:13:19 30c4a7721957: Download complete 22:13:19 ea60b727a1ce: Verifying Checksum 22:13:19 ea60b727a1ce: Download complete 22:13:19 7c6cee850709: Verifying Checksum 22:13:19 7c6cee850709: Download complete 22:13:19 39a5fcdaea64: Verifying Checksum 22:13:19 39a5fcdaea64: Download complete 22:13:19 2408cc74d12b: Verifying Checksum 22:13:19 2408cc74d12b: Download complete 22:13:19 d94ebbe4e438: Verifying Checksum 22:13:19 d94ebbe4e438: Download complete 22:13:19 2408cc74d12b: Pull complete 22:13:19 ea60b727a1ce: Pull complete 22:13:19 30c4a7721957: Pull complete 22:13:19 59ccb84bbe0f: Verifying Checksum 22:13:19 59ccb84bbe0f: Download complete 22:13:20 bcfd1f05c69d: Verifying Checksum 22:13:20 bcfd1f05c69d: Download complete 22:13:20 370296b7ddb6: Verifying Checksum 22:13:20 370296b7ddb6: Download complete 22:13:24 370296b7ddb6: Pull complete 22:13:24 7c6cee850709: Pull complete 22:13:24 39a5fcdaea64: Pull complete 22:13:24 d94ebbe4e438: Pull complete 22:13:27 bcfd1f05c69d: Pull complete 22:13:28 59ccb84bbe0f: Pull complete 22:13:28 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 22:13:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 22:13:28 ---> a4fb48ad2a94 22:13:28 Step 3/12 : ARG MAKE='make build' 22:13:29 ---> Running in fd81daf3f0db 22:13:29 Removing intermediate container fd81daf3f0db 22:13:29 ---> dd7e7c93a612 22:13:29 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:13:29 ---> Running in e9daa8a5850e 22:13:29 Removing intermediate container e9daa8a5850e 22:13:29 ---> cc1a31ea1b59 22:13:29 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 22:13:29 ---> Running in 0fcc7c4de5b9 22:13:29 Removing intermediate container 0fcc7c4de5b9 22:13:29 ---> 12415659b206 22:13:29 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:13:29 ---> Running in e6b986ca91fa 22:13:30 Removing intermediate container e6b986ca91fa 22:13:30 ---> 68715a6f30a2 22:13:30 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:13:30 ---> Running in 81370f915b00 22:13:30 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:13:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:13:31 (1/4) Installing openssh-keygen (9.0_p1-r1) 22:13:31 (2/4) Installing libedit (20210910.3.1-r0) 22:13:32 (3/4) Installing openssh-client-common (9.0_p1-r1) 22:13:32 (4/4) Installing openssh-client-default (9.0_p1-r1) 22:13:32 Executing busybox-1.35.0-r13.trigger 22:13:32 OK: 216 MiB in 55 packages 22:13:32 Still waiting to schedule task 22:13:32 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-19779’ 22:13:32 Removing intermediate container 81370f915b00 22:13:32 ---> c7f3d6c16fa9 22:13:32 Step 8/12 : WORKDIR /device-snmp-go 22:13:32 ---> Running in 2343bfadd492 22:13:32 Removing intermediate container 2343bfadd492 22:13:32 ---> 6afbde8e2b58 22:13:32 Step 9/12 : COPY go.mod vendor* ./ 22:13:33 ---> 77f4aebac84a 22:13:33 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:13:33 ---> Running in 4effa7dee0c7 22:13:47 Removing intermediate container 4effa7dee0c7 22:13:47 ---> d7b75857ba17 22:13:47 Step 11/12 : COPY . . 22:13:48 ---> e596c1206207 22:13:48 Step 12/12 : RUN ${MAKE} 22:13:48 ---> Running in 93a2e7139f08 22:13:48 noop 22:13:49 Removing intermediate container 93a2e7139f08 22:13:49 ---> 94e04cbf1a3c 22:13:49 Successfully built 94e04cbf1a3c 22:13:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:49 + docker inspect -f . ci-base-image-x86_64 22:13:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:13:49 prd-ubuntu20.04-docker-8c-8g-19780 does not seem to be running inside a container 22:13:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-183 -v /w/workspace/gexfoundry_device-snmp-go_PR-183:/w/workspace/gexfoundry_device-snmp-go_PR-183:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-183@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-183@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 22:13:50 $ docker top b4a5e1247cbb4102908a75ca309ae4c41875568761c6945aa0a5bdbeb470349b -eo pid,comm [Pipeline] { [Pipeline] sh 22:13:50 + go version 22:13:50 go version go1.18.3 linux/amd64 [Pipeline] } 22:13:50 $ docker stop --time=1 b4a5e1247cbb4102908a75ca309ae4c41875568761c6945aa0a5bdbeb470349b 22:13:51 $ docker rm -f b4a5e1247cbb4102908a75ca309ae4c41875568761c6945aa0a5bdbeb470349b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:52 + docker inspect -f . ci-base-image-x86_64 22:13:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:13:52 prd-ubuntu20.04-docker-8c-8g-19780 does not seem to be running inside a container 22:13:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-snmp-go_PR-183 -v /w/workspace/gexfoundry_device-snmp-go_PR-183:/w/workspace/gexfoundry_device-snmp-go_PR-183:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-183@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-183@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 22:13:53 $ docker top cbb8563029440a782aee0ef212c88e2968eb844bf2e39989eda428c96c0c1b3f -eo pid,comm [Pipeline] { [Pipeline] sh 22:13:53 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-183 [Pipeline] fileExists [Pipeline] sh 22:13:54 + make test 22:13:54 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 22:13:54 ? github.com/edgexfoundry/device-snmp-go [no test files] 22:14:04 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 22:14:04 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.012s coverage: 0.0% of statements 22:14:11 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." 22:14:11 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:14:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:14:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:14:13 ./bin/test-attribution-txt.sh [Pipeline] echo 22:14:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:14:13 $ docker stop --time=1 cbb8563029440a782aee0ef212c88e2968eb844bf2e39989eda428c96c0c1b3f 22:14:15 $ docker rm -f cbb8563029440a782aee0ef212c88e2968eb844bf2e39989eda428c96c0c1b3f [Pipeline] // withDockerContainer [Pipeline] sh 22:14:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:14:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:14:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:14:16 + ls -al . 22:14:16 total 168 22:14:16 drwxrwxr-x 9 jenkins jenkins 4096 Jul 12 22:13 . 22:14:16 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 22:12 .. 22:14:16 -rw-rw-r-- 1 jenkins jenkins 6 Jul 12 22:12 .dockerignore 22:14:16 drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 22:14 .git 22:14:16 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 22:12 .github 22:14:16 -rw-rw-r-- 1 jenkins jenkins 328 Jul 12 22:12 .gitignore 22:14:16 -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 22:12 .golangci.yml 22:14:16 drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 22:13 .semver 22:14:16 -rw-rw-r-- 1 jenkins jenkins 8556 Jul 12 22:12 Attribution.txt 22:14:16 -rw-rw-r-- 1 jenkins jenkins 6948 Jul 12 22:12 CHANGELOG.md 22:14:16 -rw-rw-r-- 1 jenkins jenkins 1518 Jul 12 22:12 Dockerfile 22:14:16 -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 22:12 GOVERNANCE.md 22:14:16 -rw-rw-r-- 1 jenkins jenkins 656 Jul 12 22:12 Jenkinsfile 22:14:16 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 12 22:12 LICENSE 22:14:16 -rw-rw-r-- 1 jenkins jenkins 2334 Jul 12 22:12 Makefile 22:14:16 -rw-rw-r-- 1 jenkins jenkins 620 Jul 12 22:12 OWNERS.md 22:14:16 -rw-rw-r-- 1 jenkins jenkins 9390 Jul 12 22:12 README.md 22:14:16 -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 22:13 VERSION 22:14:16 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 22:12 bin 22:14:16 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 22:12 cmd 22:14:16 -rw-r--r-- 1 jenkins jenkins 7631 Jul 12 22:14 coverage.out 22:14:16 -rw-rw-r-- 1 jenkins jenkins 3301 Jul 12 22:12 go.mod 22:14:16 -rw-rw-r-- 1 jenkins jenkins 35532 Jul 12 22:12 go.sum 22:14:16 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 22:12 internal 22:14:16 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 22:12 snap 22:14:16 -rw-rw-r-- 1 jenkins jenkins 228 Jul 12 22:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:16 + 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=84aa847cf3dcf870ecca60d2b8a6e81643f8d572 --label arch=amd64 --label version=0.0.0 . 22:14:16 Sending build context to Docker daemon 5.43MB 22:14:16 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 22:14:16 Step 2/24 : FROM ${BASE} AS builder 22:14:16 ---> 94e04cbf1a3c 22:14:16 Step 3/24 : ARG MAKE='make build' 22:14:16 ---> Running in 721c51e9c01b 22:14:17 Removing intermediate container 721c51e9c01b 22:14:17 ---> 56ed1147b2d5 22:14:17 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:14:17 ---> Running in 2428db94ffd4 22:14:17 Removing intermediate container 2428db94ffd4 22:14:17 ---> 5c9d6eb68b2f 22:14:17 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 22:14:17 ---> Running in f16642e4e078 22:14:17 Removing intermediate container f16642e4e078 22:14:17 ---> b7d2a0f60e57 22:14:17 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:14:17 ---> Running in 36150a4cccbe 22:14:18 Removing intermediate container 36150a4cccbe 22:14:18 ---> fa8293ee2f58 22:14:18 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:14:18 ---> Running in bea8133b794e 22:14:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:14:19 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:14:19 OK: 216 MiB in 55 packages 22:14:19 Removing intermediate container bea8133b794e 22:14:19 ---> 6c28ee7de886 22:14:19 Step 8/24 : WORKDIR /device-snmp-go 22:14:19 ---> Running in d2c1c5c00caf 22:14:20 Removing intermediate container d2c1c5c00caf 22:14:20 ---> 266a9a535873 22:14:20 Step 9/24 : COPY go.mod vendor* ./ 22:14:20 ---> 42db894913d9 22:14:20 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:14:20 ---> Running in df539ca89dd4 22:14:20 Removing intermediate container df539ca89dd4 22:14:20 ---> 2c04234459ac 22:14:20 Step 11/24 : COPY . . 22:14:21 ---> cf8373e86fc3 22:14:21 Step 12/24 : RUN ${MAKE} 22:14:21 ---> Running in 6c298e658828 22:14:21 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.1-dev.12 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 22:14:43 Removing intermediate container 6c298e658828 22:14:43 ---> 9a3e5aeb2dbd 22:14:43 Step 13/24 : FROM alpine:3.16 22:14:43 3.16: Pulling from library/alpine 22:14:43 2408cc74d12b: Already exists 22:14:43 Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c 22:14:43 Status: Downloaded newer image for alpine:3.16 22:14:43 ---> e66264b98777 22:14:43 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 22:14:43 ---> Running in e9df9614e763 22:14:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:14:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:14:43 (1/6) Installing dumb-init (1.2.5-r1) 22:14:43 (2/6) Installing libgcc (11.2.1_git20220219-r2) 22:14:43 (3/6) Installing libsodium (1.0.18-r0) 22:14:43 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 22:14:43 (5/6) Installing libzmq (4.3.4-r0) 22:14:43 (6/6) Installing zeromq (4.3.4-r0) 22:14:43 Executing busybox-1.35.0-r13.trigger 22:14:43 OK: 8 MiB in 20 packages 22:14:43 Removing intermediate container e9df9614e763 22:14:43 ---> acf7a6f59744 22:14:43 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 22:14:43 ---> 6c80b82a2fca 22:14:43 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 22:14:43 ---> 94c4b1dcfe38 22:14:43 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 22:14:43 ---> 342a875c8738 22:14:43 Step 18/24 : EXPOSE 59993 22:14:43 ---> Running in e3e73549abed 22:14:43 Removing intermediate container e3e73549abed 22:14:43 ---> 1681f25b40e1 22:14:43 Step 19/24 : EXPOSE 161 22:14:43 ---> Running in bdb0eb143c0f 22:14:43 Removing intermediate container bdb0eb143c0f 22:14:43 ---> 07461e877b74 22:14:43 Step 20/24 : ENTRYPOINT ["/device-snmp"] 22:14:43 ---> Running in c61fd57d4107 22:14:43 Removing intermediate container c61fd57d4107 22:14:43 ---> 21d8e6123e9b 22:14:43 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 22:14:43 ---> Running in 9899d9716c94 22:14:43 Removing intermediate container 9899d9716c94 22:14:43 ---> 141e1016de93 22:14:43 Step 22/24 : LABEL arch=amd64 22:14:43 ---> Running in faea21825ff5 22:14:43 Removing intermediate container faea21825ff5 22:14:43 ---> 64d165a8e8b2 22:14:43 Step 23/24 : LABEL git_sha=84aa847cf3dcf870ecca60d2b8a6e81643f8d572 22:14:43 ---> Running in 0970942c5861 22:14:43 Removing intermediate container 0970942c5861 22:14:43 ---> 1754a7c9ae03 22:14:43 Step 24/24 : LABEL version=0.0.0 22:14:43 ---> Running in 2fa00486d2c5 22:14:43 Removing intermediate container 2fa00486d2c5 22:14:43 ---> 17ced1056051 22:14:43 [Warning] One or more build-args [ARCH] were not consumed 22:14:43 Successfully built 17ced1056051 22:14:43 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 22:14:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:14:44 22:14:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:14:45 latest: Pulling from edgex-lftools-log-publisher 22:14:45 5eb5b503b376: Pulling fs layer 22:14:45 5c69ac0246d0: Pulling fs layer 22:14:45 ec43610c2a17: Pulling fs layer 22:14:45 3a2ae6a8a46f: Pulling fs layer 22:14:45 33b1e0a273af: Pulling fs layer 22:14:45 5d3b04190fa2: Pulling fs layer 22:14:45 2f39f015ded8: Pulling fs layer 22:14:45 3a2ae6a8a46f: Waiting 22:14:45 33b1e0a273af: Waiting 22:14:45 5d3b04190fa2: Waiting 22:14:45 5c69ac0246d0: Download complete 22:14:45 3a2ae6a8a46f: Verifying Checksum 22:14:45 3a2ae6a8a46f: Download complete 22:14:45 33b1e0a273af: Verifying Checksum 22:14:45 33b1e0a273af: Download complete 22:14:45 5d3b04190fa2: Verifying Checksum 22:14:45 5d3b04190fa2: Download complete 22:14:45 ec43610c2a17: Verifying Checksum 22:14:45 ec43610c2a17: Download complete 22:14:45 5eb5b503b376: Verifying Checksum 22:14:45 5eb5b503b376: Download complete 22:14:45 2f39f015ded8: Download complete 22:14:46 5eb5b503b376: Pull complete 22:14:46 5c69ac0246d0: Pull complete 22:14:47 ec43610c2a17: Pull complete 22:14:47 3a2ae6a8a46f: Pull complete 22:14:47 33b1e0a273af: Pull complete 22:14:47 5d3b04190fa2: Pull complete 22:14:52 2f39f015ded8: Pull complete 22:14:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:14:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:14:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:14:53 prd-ubuntu20.04-docker-8c-8g-19780 does not seem to be running inside a container 22:14:53 $ 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-183 -v /w/workspace/gexfoundry_device-snmp-go_PR-183:/w/workspace/gexfoundry_device-snmp-go_PR-183:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-183@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-183@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 22:14:54 $ docker top 27bedbc095b321fb969342d030ab546122379ff403fbb05596e7c097bd30e774 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:14:55 ---> job-cost.sh 22:14:55 lf-activate-venv: SKIPPING 22:14:55 INFO: No Stack... 22:14:55 INFO: Retrieving Pricing Info for: v3-standard-8 22:14:56 INFO: Archiving Costs [Pipeline] sh 22:14:56 + cat /w/workspace/gexfoundry_device-snmp-go_PR-183/archives/cost.csv 22:14:56 + cut -d, -f6 [Pipeline] lock 22:14:56 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-183-1-stack-cost] 22:14:56 Resource [jenkins-edgexfoundry-device-snmp-go-PR-183-1-stack-cost] did not exist. Created. 22:14:56 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-183-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:14:56 + echo total: 0.2199999988079071 [Pipeline] stash 22:14:56 Stashed 1 file(s) [Pipeline] } 22:14:56 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-183-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:14:56 $ docker stop --time=1 27bedbc095b321fb969342d030ab546122379ff403fbb05596e7c097bd30e774 22:14:58 $ docker rm -f 27bedbc095b321fb969342d030ab546122379ff403fbb05596e7c097bd30e774 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:16:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-19781 in /w/workspace/gexfoundry_device-snmp-go_PR-183 [Pipeline] { [Pipeline] ws 22:16:35 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 22:16:35 Selected Git installation does not exist. Using Default 22:16:35 The recommended git tool is: NONE 22:16:43 using credential edgex-jenkins-ssh 22:16:43 Cloning the remote Git repository 22:16:43 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 22:16:43 > git init /w/workspace/device-snmp-go/1 # timeout=10 22:16:43 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 22:16:43 > git --version # timeout=10 22:16:43 > git --version # 'git version 2.25.1' 22:16:43 using GIT_SSH to set credentials SSH Credentials for GitHub 22:16:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:16:45 Merging remotes/origin/main commit d0a0e99d902e45b7e17db09c4331e4d14954addb into PR head commit 84aa847cf3dcf870ecca60d2b8a6e81643f8d572 22:16:45 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 22:16:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:16:45 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 22:16:45 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 22:16:45 using GIT_SSH to set credentials SSH Credentials for GitHub 22:16:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/183/head:refs/remotes/origin/PR-183 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:16:45 > git config core.sparsecheckout # timeout=10 22:16:45 > git checkout -f 84aa847cf3dcf870ecca60d2b8a6e81643f8d572 # timeout=10 22:16:45 > git remote # timeout=10 22:16:45 > git config --get remote.origin.url # timeout=10 22:16:45 using GIT_SSH to set credentials SSH Credentials for GitHub 22:16:45 > git merge d0a0e99d902e45b7e17db09c4331e4d14954addb # timeout=10 22:16:45 > git rev-parse HEAD^{commit} # timeout=10 22:16:45 Merge succeeded, producing 84aa847cf3dcf870ecca60d2b8a6e81643f8d572 22:16:45 Checking out Revision 84aa847cf3dcf870ecca60d2b8a6e81643f8d572 (PR-183) 22:16:45 > git config core.sparsecheckout # timeout=10 22:16:45 > git checkout -f 84aa847cf3dcf870ecca60d2b8a6e81643f8d572 # timeout=10 22:16:50 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" 22:16:50 > git --version # timeout=10 22:16:50 > git --version # 'git version 2.25.1' 22:16:50 fatal: bad object 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:16:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:16:51 % Total % Received % Xferd Average Speed Time Time Time Current 22:16:51 Dload Upload Total Spent Left Speed 22:16:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 206k 0 --:--:-- --:--:-- --:--:-- 206k [Pipeline] sh 22:16:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:16:52 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:16:52 + sudo tee /etc/docker/daemon.new 22:16:52 { 22:16:52 "registry-mirrors": [ 22:16:52 "https://nexus3.edgexfoundry.org:10001" 22:16:52 ], 22:16:52 "bip": "10.250.0.254/24", 22:16:52 "hosts": [ 22:16:52 "tcp://0.0.0.0:5555", 22:16:52 "unix:///var/run/docker.sock" 22:16:52 ], 22:16:52 "mtu": 1458, 22:16:52 "selinux-enabled": true, 22:16:52 "seccomp-profile": "/etc/docker/seccomp.json" 22:16:52 } [Pipeline] sh 22:16:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:16:53 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:17:11 provisioning config files... 22:17:12 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config8473264275308770871tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:17:12 ---> docker-login.sh 22:17:12 nexus3.edgexfoundry.org:10001 22:17:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:17:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:17:13 Configure a credential helper to remove this warning. See 22:17:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:17:13 22:17:13 Login Succeeded 22:17:13 nexus3.edgexfoundry.org:10002 22:17:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:17:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:17:13 Configure a credential helper to remove this warning. See 22:17:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:17:13 22:17:13 Login Succeeded 22:17:13 nexus3.edgexfoundry.org:10003 22:17:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:17:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:17:14 Configure a credential helper to remove this warning. See 22:17:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:17:14 22:17:14 Login Succeeded 22:17:14 nexus3.edgexfoundry.org:10004 22:17:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:17:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:17:15 Configure a credential helper to remove this warning. See 22:17:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:17:15 22:17:15 Login Succeeded 22:17:15 docker.io 22:17:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:17:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:17:15 Configure a credential helper to remove this warning. See 22:17:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:17:15 22:17:15 Login Succeeded 22:17:15 ---> docker-login.sh ends [Pipeline] } 22:17:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:17:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:17:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:17:16 ========================================================= 22:17:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 22:17:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:16 + 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 . 22:17:17 Sending build context to Docker daemon 2.796MB 22:17:17 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 22:17:17 Step 2/12 : FROM ${BASE} AS builder 22:17:17 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:17:17 b3c136eddcbf: Pulling fs layer 22:17:17 c0a3192eca97: Pulling fs layer 22:17:17 a050256f5b6f: Pulling fs layer 22:17:17 656be50a0ddc: Pulling fs layer 22:17:17 2bbca73fdf42: Pulling fs layer 22:17:17 46d945488cbd: Pulling fs layer 22:17:17 8a5474983e97: Pulling fs layer 22:17:17 656be50a0ddc: Waiting 22:17:17 2bbca73fdf42: Waiting 22:17:17 46d945488cbd: Waiting 22:17:17 329c88fbcd65: Pulling fs layer 22:17:17 8a5474983e97: Waiting 22:17:17 329c88fbcd65: Waiting 22:17:17 a050256f5b6f: Verifying Checksum 22:17:17 a050256f5b6f: Download complete 22:17:17 c0a3192eca97: Verifying Checksum 22:17:17 c0a3192eca97: Download complete 22:17:17 2bbca73fdf42: Verifying Checksum 22:17:17 2bbca73fdf42: Download complete 22:17:17 46d945488cbd: Verifying Checksum 22:17:17 46d945488cbd: Download complete 22:17:17 b3c136eddcbf: Verifying Checksum 22:17:17 b3c136eddcbf: Download complete 22:17:18 b3c136eddcbf: Pull complete 22:17:18 329c88fbcd65: Verifying Checksum 22:17:18 329c88fbcd65: Download complete 22:17:19 c0a3192eca97: Pull complete 22:17:19 a050256f5b6f: Pull complete 22:17:19 8a5474983e97: Verifying Checksum 22:17:19 8a5474983e97: Download complete 22:17:20 656be50a0ddc: Verifying Checksum 22:17:20 656be50a0ddc: Download complete 22:17:33 656be50a0ddc: Pull complete 22:17:33 2bbca73fdf42: Pull complete 22:17:33 46d945488cbd: Pull complete 22:17:39 8a5474983e97: Pull complete 22:17:40 329c88fbcd65: Pull complete 22:17:40 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 22:17:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:17:40 ---> ff4287adb874 22:17:40 Step 3/12 : ARG MAKE='make build' 22:17:42 ---> Running in fec931669786 22:17:42 Removing intermediate container fec931669786 22:17:42 ---> dc55726faa7e 22:17:42 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:17:42 ---> Running in cb7052c0a4a6 22:17:42 Removing intermediate container cb7052c0a4a6 22:17:42 ---> 48239a1f11b4 22:17:42 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 22:17:42 ---> Running in e451e65c6dca 22:17:43 Removing intermediate container e451e65c6dca 22:17:43 ---> 132195a53049 22:17:43 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:17:43 ---> Running in 2a57ed733186 22:17:45 Removing intermediate container 2a57ed733186 22:17:45 ---> 095cbcf9e9f1 22:17:45 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:17:45 ---> Running in 4913b224c5b9 22:17:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:17:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:17:48 (1/4) Installing openssh-keygen (9.0_p1-r1) 22:17:48 (2/4) Installing libedit (20210910.3.1-r0) 22:17:49 (3/4) Installing openssh-client-common (9.0_p1-r1) 22:17:49 (4/4) Installing openssh-client-default (9.0_p1-r1) 22:17:49 Executing busybox-1.35.0-r13.trigger 22:17:49 OK: 226 MiB in 55 packages 22:17:50 Removing intermediate container 4913b224c5b9 22:17:50 ---> 3e43acfc88a1 22:17:50 Step 8/12 : WORKDIR /device-snmp-go 22:17:50 ---> Running in 53c86eab1e6d 22:17:51 Removing intermediate container 53c86eab1e6d 22:17:51 ---> 546356cded57 22:17:51 Step 9/12 : COPY go.mod vendor* ./ 22:17:51 ---> 89f674ca3d94 22:17:51 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:17:51 ---> Running in ab579832670d 22:18:38 Removing intermediate container ab579832670d 22:18:38 ---> 5e62c7738ff0 22:18:38 Step 11/12 : COPY . . 22:18:38 ---> bb98cf662651 22:18:38 Step 12/12 : RUN ${MAKE} 22:18:38 ---> Running in 323011cadb29 22:18:38 noop 22:18:38 Removing intermediate container 323011cadb29 22:18:38 ---> 4693aef9fde1 22:18:38 Successfully built 4693aef9fde1 22:18:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:39 + docker inspect -f . ci-base-image-arm64 22:18:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:18:39 prd-ubuntu20.04-docker-arm64-4c-16g-19781 does not seem to be running inside a container 22:18:39 $ 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 22:18:40 $ docker top 93ff64e27394dba4599325c74a2e3fbb1a458630932e9630d3cb12188699d58f -eo pid,comm [Pipeline] { [Pipeline] sh 22:18:41 + go version 22:18:41 go version go1.18.3 linux/arm64 [Pipeline] } 22:18:41 $ docker stop --time=1 93ff64e27394dba4599325c74a2e3fbb1a458630932e9630d3cb12188699d58f 22:18:43 $ docker rm -f 93ff64e27394dba4599325c74a2e3fbb1a458630932e9630d3cb12188699d58f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:44 + docker inspect -f . ci-base-image-arm64 22:18:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:18:44 prd-ubuntu20.04-docker-arm64-4c-16g-19781 does not seem to be running inside a container 22:18:44 $ 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 22:18:46 $ docker top ff6987e057f4b8951f6263ead05b30e5d002c371dbe2b2565058f255ba5f275e -eo pid,comm [Pipeline] { [Pipeline] sh 22:18:47 + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh 22:18:47 + make test 22:18:47 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 22:18:49 ? github.com/edgexfoundry/device-snmp-go [no test files] 22:20:11 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 22:20:11 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.041s coverage: 0.0% of statements 22:20:11 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:20:11 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:20:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:20:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:20:29 ./bin/test-attribution-txt.sh [Pipeline] echo 22:20:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:20:29 $ docker stop --time=1 ff6987e057f4b8951f6263ead05b30e5d002c371dbe2b2565058f255ba5f275e 22:20:31 $ docker rm -f ff6987e057f4b8951f6263ead05b30e5d002c371dbe2b2565058f255ba5f275e [Pipeline] // withDockerContainer [Pipeline] sh 22:20:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:20:32 Warning: overwriting stash ‘coverage-report’ 22:20:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:20:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:20:33 + ls -al . 22:20:33 total 164 22:20:33 drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 22:18 . 22:20:33 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 22:16 .. 22:20:33 -rw-rw-r-- 1 jenkins jenkins 6 Jul 12 22:16 .dockerignore 22:20:33 drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 22:16 .git 22:20:33 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 22:16 .github 22:20:33 -rw-rw-r-- 1 jenkins jenkins 328 Jul 12 22:16 .gitignore 22:20:33 -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 22:16 .golangci.yml 22:20:33 -rw-rw-r-- 1 jenkins jenkins 8556 Jul 12 22:16 Attribution.txt 22:20:33 -rw-rw-r-- 1 jenkins jenkins 6948 Jul 12 22:16 CHANGELOG.md 22:20:33 -rw-rw-r-- 1 jenkins jenkins 1518 Jul 12 22:16 Dockerfile 22:20:33 -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 22:16 GOVERNANCE.md 22:20:33 -rw-rw-r-- 1 jenkins jenkins 656 Jul 12 22:16 Jenkinsfile 22:20:33 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 12 22:16 LICENSE 22:20:33 -rw-rw-r-- 1 jenkins jenkins 2334 Jul 12 22:16 Makefile 22:20:33 -rw-rw-r-- 1 jenkins jenkins 620 Jul 12 22:16 OWNERS.md 22:20:33 -rw-rw-r-- 1 jenkins jenkins 9390 Jul 12 22:16 README.md 22:20:33 -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 22:13 VERSION 22:20:33 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 22:16 bin 22:20:33 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 22:16 cmd 22:20:33 -rw-r--r-- 1 jenkins jenkins 7631 Jul 12 22:20 coverage.out 22:20:33 -rw-rw-r-- 1 jenkins jenkins 3301 Jul 12 22:16 go.mod 22:20:33 -rw-rw-r-- 1 jenkins jenkins 35532 Jul 12 22:16 go.sum 22:20:33 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 22:16 internal 22:20:33 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 22:16 snap 22:20:33 -rw-rw-r-- 1 jenkins jenkins 228 Jul 12 22:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:34 + 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=84aa847cf3dcf870ecca60d2b8a6e81643f8d572 --label arch=arm64 --label version=0.0.0 . 22:20:34 Sending build context to Docker daemon 2.804MB 22:20:34 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 22:20:34 Step 2/24 : FROM ${BASE} AS builder 22:20:34 ---> 4693aef9fde1 22:20:34 Step 3/24 : ARG MAKE='make build' 22:20:34 ---> Running in e798957b1f9b 22:20:35 Removing intermediate container e798957b1f9b 22:20:35 ---> 973f6b8147bb 22:20:35 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:20:35 ---> Running in 7fc6689757fe 22:20:35 Removing intermediate container 7fc6689757fe 22:20:35 ---> dec7cb35a9d1 22:20:35 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 22:20:35 ---> Running in f3ba7e20a61f 22:20:35 Removing intermediate container f3ba7e20a61f 22:20:35 ---> 3d9d5f91b7fd 22:20:35 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:20:35 ---> Running in d3d7a33c0264 22:20:37 Removing intermediate container d3d7a33c0264 22:20:37 ---> d76cd5beb669 22:20:37 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:20:37 ---> Running in 9419d3829bd0 22:20:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:20:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:20:40 OK: 226 MiB in 55 packages 22:20:41 Removing intermediate container 9419d3829bd0 22:20:41 ---> cd62f9930ea3 22:20:41 Step 8/24 : WORKDIR /device-snmp-go 22:20:41 ---> Running in 39c229a66d8b 22:20:41 Removing intermediate container 39c229a66d8b 22:20:41 ---> 1d2e2608ed90 22:20:41 Step 9/24 : COPY go.mod vendor* ./ 22:20:42 ---> 0eb14d59a69f 22:20:42 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:20:42 ---> Running in c952e09059c3 22:20:44 Removing intermediate container c952e09059c3 22:20:44 ---> 2d428cdc2a8f 22:20:44 Step 11/24 : COPY . . 22:20:44 ---> dbcef0746566 22:20:44 Step 12/24 : RUN ${MAKE} 22:20:44 ---> Running in 2142b45096be 22:20:45 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.1-dev.12 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 22:22:52 Removing intermediate container 2142b45096be 22:22:52 ---> 00fae4cd57b9 22:22:52 Step 13/24 : FROM alpine:3.16 22:22:52 3.16: Pulling from library/alpine 22:22:52 b3c136eddcbf: Already exists 22:22:52 Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c 22:22:52 Status: Downloaded newer image for alpine:3.16 22:22:52 ---> 6e30ab57aeee 22:22:52 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 22:22:52 ---> Running in 839446cfe1be 22:22:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:22:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:22:52 (1/6) Installing dumb-init (1.2.5-r1) 22:22:52 (2/6) Installing libgcc (11.2.1_git20220219-r2) 22:22:52 (3/6) Installing libsodium (1.0.18-r0) 22:22:52 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 22:22:52 (5/6) Installing libzmq (4.3.4-r0) 22:22:52 (6/6) Installing zeromq (4.3.4-r0) 22:22:52 Executing busybox-1.35.0-r13.trigger 22:22:52 OK: 8 MiB in 20 packages 22:22:52 Removing intermediate container 839446cfe1be 22:22:52 ---> 15fcb54abf8f 22:22:52 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 22:22:52 ---> 60d008d0c28b 22:22:52 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 22:22:53 ---> 0ca2350d3557 22:22:53 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 22:22:53 ---> 9991bcd2a608 22:22:53 Step 18/24 : EXPOSE 59993 22:22:53 ---> Running in 6443662f477c 22:22:54 Removing intermediate container 6443662f477c 22:22:54 ---> e6d6cdec4750 22:22:54 Step 19/24 : EXPOSE 161 22:22:54 ---> Running in 4930b5dc32e6 22:22:54 Removing intermediate container 4930b5dc32e6 22:22:54 ---> 31f5eb7287f3 22:22:54 Step 20/24 : ENTRYPOINT ["/device-snmp"] 22:22:54 ---> Running in f3b8a3d87430 22:22:54 Removing intermediate container f3b8a3d87430 22:22:54 ---> 9471779c933a 22:22:54 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 22:22:55 ---> Running in cc3812ce17ca 22:22:55 Removing intermediate container cc3812ce17ca 22:22:55 ---> 16f03ee0cae6 22:22:55 Step 22/24 : LABEL arch=arm64 22:22:55 ---> Running in b161f6e7566e 22:22:55 Removing intermediate container b161f6e7566e 22:22:55 ---> b2ea3b9a59d4 22:22:55 Step 23/24 : LABEL git_sha=84aa847cf3dcf870ecca60d2b8a6e81643f8d572 22:22:55 ---> Running in 8abc3c72ae82 22:22:56 Removing intermediate container 8abc3c72ae82 22:22:56 ---> 3909ef9c8637 22:22:56 Step 24/24 : LABEL version=0.0.0 22:22:56 ---> Running in 25cdbd523d70 22:22:56 Removing intermediate container 25cdbd523d70 22:22:56 ---> 49f61676b4a8 22:22:56 [Warning] One or more build-args [ARCH] were not consumed 22:22:56 Successfully built 49f61676b4a8 22:22:56 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 22:22:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:22:57 22:22:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:22:57 arm64: Pulling from edgex-lftools-log-publisher 22:22:57 8998bd30e6a1: Pulling fs layer 22:22:57 04944245beec: Pulling fs layer 22:22:57 699f458cf7ca: Pulling fs layer 22:22:57 765212b225bb: Pulling fs layer 22:22:57 f23df028b6ca: Pulling fs layer 22:22:57 d65c8cfc05b1: Pulling fs layer 22:22:57 2437ff75d9bd: Pulling fs layer 22:22:57 d65c8cfc05b1: Waiting 22:22:57 2437ff75d9bd: Waiting 22:22:57 765212b225bb: Waiting 22:22:57 f23df028b6ca: Waiting 22:22:57 04944245beec: Verifying Checksum 22:22:57 04944245beec: Download complete 22:22:57 765212b225bb: Download complete 22:22:57 f23df028b6ca: Verifying Checksum 22:22:57 d65c8cfc05b1: Verifying Checksum 22:22:57 d65c8cfc05b1: Download complete 22:22:58 699f458cf7ca: Verifying Checksum 22:22:58 699f458cf7ca: Download complete 22:22:58 8998bd30e6a1: Verifying Checksum 22:22:58 8998bd30e6a1: Download complete 22:23:01 2437ff75d9bd: Verifying Checksum 22:23:01 2437ff75d9bd: Download complete 22:23:03 8998bd30e6a1: Pull complete 22:23:03 04944245beec: Pull complete 22:23:04 699f458cf7ca: Pull complete 22:23:05 765212b225bb: Pull complete 22:23:06 f23df028b6ca: Pull complete 22:23:06 d65c8cfc05b1: Pull complete 22:23:21 2437ff75d9bd: Pull complete 22:23:21 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:23:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:23:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:23:21 prd-ubuntu20.04-docker-arm64-4c-16g-19781 does not seem to be running inside a container 22:23:21 $ 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 22:23:24 $ docker top ae7f11d6eae3e4b64c8582f45457fb54448c94f28b973edd78a0f498a678d9da -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:23:25 ---> job-cost.sh 22:23:25 lf-activate-venv: SKIPPING 22:23:25 INFO: No Stack... 22:23:25 INFO: Retrieving Pricing Info for: v3-standard-4 22:23:26 INFO: Archiving Costs [Pipeline] sh 22:23:27 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 22:23:27 + cut -d, -f6 [Pipeline] lock 22:23:27 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-183-1-stack-cost] 22:23:27 Resource [jenkins-edgexfoundry-device-snmp-go-PR-183-1-stack-cost] did not exist. Created. 22:23:27 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-183-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:23:28 /w/workspace/device-snmp-go/1@tmp/durable-d4e10689/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:23:28 + echo total: 0.10999999940395355 [Pipeline] stash 22:23:28 Warning: overwriting stash ‘stack-cost’ 22:23:28 Stashed 1 file(s) [Pipeline] } 22:23:28 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-183-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:23:28 $ docker stop --time=1 ae7f11d6eae3e4b64c8582f45457fb54448c94f28b973edd78a0f498a678d9da 22:23:30 $ docker rm -f ae7f11d6eae3e4b64c8582f45457fb54448c94f28b973edd78a0f498a678d9da [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 22:23:31 provisioning config files... 22:23:31 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-183@tmp/config5889803008743534511tmp [Pipeline] { [Pipeline] sh 22:23:31 + set +x 22:23:31 + curl -s https://codecov.io/bash 22:23:31 + bash -s -- 22:23:31 22:23:31 _____ _ 22:23:31 / ____| | | 22:23:31 | | ___ __| | ___ ___ _____ __ 22:23:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:23:31 | |___| (_) | (_| | __/ (_| (_) \ V / 22:23:31 \_____\___/ \__,_|\___|\___\___/ \_/ 22:23:31 Bash-1.0.6 22:23:31 22:23:31 22:23:31 ==> git version 2.25.1 found 22:23: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 22:23:31 Release-Date: 2020-01-08 22:23: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 22:23:31 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:23:31 ==> Jenkins CI detected. 22:23:31 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-183 22:23:31 project root: . 22:23:31 --> token set from env 22:23:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:23:31 ==> Running gcov in . (disable via -X gcov) 22:23:31 ==> Python coveragepy not found 22:23:31 ==> Searching for coverage reports in: 22:23:31 + . 22:23:31 -> Found 1 reports 22:23:31 ==> Detecting git/mercurial file structure 22:23:31 ==> Reading reports 22:23:31 + ./coverage.out bytes=7631 22:23:31 ==> Appending adjustments 22:23:31 https://docs.codecov.io/docs/fixing-reports 22:23:31 + Found adjustments 22:23:31 ==> Gzipping contents 22:23:31 4.0K /tmp/codecov.BLGeWI.gz 22:23:31 ==> Uploading reports 22:23:31 url: https://codecov.io 22:23:31 query: branch=PR-183&commit=84aa847cf3dcf870ecca60d2b8a6e81643f8d572&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-183%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=183&job=&cmd_args= 22:23:31 -> Pinging Codecov 22:23: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-183&commit=84aa847cf3dcf870ecca60d2b8a6e81643f8d572&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-183%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=183&job=&cmd_args= 22:23:32 -> Uploading to 22:23:32 https://storage.googleapis.com/codecov/v4/raw/2022-07-12/6C56EA5C29638FB4528AC87E60AF5AE0/84aa847cf3dcf870ecca60d2b8a6e81643f8d572/82185499-df24-4e8d-9f4a-4a428bc34037.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220712%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220712T222331Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=107ed822033869be46aaf697c098630ea8237fdfa57de012c27c494ba4314655 22:23:32 % Total % Received % Xferd Average Speed Time Time Time Current 22:23:32 Dload Upload Total Spent Left Speed 22:23:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1603 0 0 100 1603 0 7286 --:--:-- --:--:-- --:--:-- 7253 100 1603 0 0 100 1603 0 5725 --:--:-- --:--:-- --:--:-- 5704 22:23:32 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/84aa847cf3dcf870ecca60d2b8a6e81643f8d572 [Pipeline] } 22:23: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 22:23:34 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-183/archives ] 22:23:34 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-183/archives 22:23:34 total 16 22:23:34 drwxr-xr-x 3 root root 4096 Jul 12 22:14 . 22:23:34 drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 22:14 .. 22:23:34 drwxr-xr-x 2 root root 4096 Jul 12 22:14 cost 22:23:34 -rw-r--r-- 1 root root 85 Jul 12 22:14 cost.csv 22:23:34 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-183/archives 22:23:34 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-183/archives 22:23:34 total 16 22:23:34 drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 22:14 . 22:23:34 drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 22:14 .. 22:23:34 drwxr-xr-x 2 jenkins jenkins 4096 Jul 12 22:14 cost 22:23:34 -rw-r--r-- 1 jenkins jenkins 85 Jul 12 22:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:23:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:23:35 ---> package-listing.sh 22:23:35 ++ facter osfamily 22:23:35 ++ tr '[:upper:]' '[:lower:]' 22:23:35 + OS_FAMILY=debian 22:23:35 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-183 22:23:35 + START_PACKAGES=/tmp/packages_start.txt 22:23:35 + END_PACKAGES=/tmp/packages_end.txt 22:23:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:23:35 + PACKAGES=/tmp/packages_start.txt 22:23:35 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-183 ']' 22:23:35 + PACKAGES=/tmp/packages_end.txt 22:23:35 + case "${OS_FAMILY}" in 22:23:35 + dpkg -l 22:23:35 + grep '^ii' 22:23:35 + '[' -f /tmp/packages_start.txt ']' 22:23:35 + '[' -f /tmp/packages_end.txt ']' 22:23:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:23:35 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-183 ']' 22:23:35 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-183/archives/ 22:23:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-183/archives/ [Pipeline] echo 22:23: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-183/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:23:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:23:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:23:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:23:36 prd-ubuntu20.04-docker-8c-8g-19780 does not seem to be running inside a container 22:23: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-183/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-183 -v /w/workspace/gexfoundry_device-snmp-go_PR-183:/w/workspace/gexfoundry_device-snmp-go_PR-183:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-183@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-183@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 22:23:37 $ docker top 8ec59d20c6466d6ca61378ff0709bff3816a5218c27558f22f86755413d6eed6 -eo pid,comm [Pipeline] { [Pipeline] sh 22:23:37 + touch /tmp/pre-build-complete [Pipeline] sh 22:23:37 + mkdir -p /var/log/sysstat [Pipeline] sh 22:23:38 + ls /var/log/sa-host 22:23:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:23:38 provisioning config files... 22:23:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-183@tmp/config1154009273614840943tmp [Pipeline] { [Pipeline] echo 22:23:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:23:38 ---> create-netrc.sh [Pipeline] } 22:23:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:23:39 ---> python-tools-install.sh [Pipeline] echo 22:23:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:23:39 ---> sudo-logs.sh 22:23:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:23:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:23:39 ---> job-cost.sh 22:23:39 lf-activate-venv: SKIPPING 22:23:39 DEBUG: total: 0.2199999988079071 22:23:39 INFO: Retrieving Stack Cost... 22:23:40 INFO: Retrieving Pricing Info for: v3-standard-8 22:23:40 INFO: Archiving Costs [Pipeline] echo 22:23:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:23:40 ---> logs-deploy.sh 22:23:40 lf-activate-venv: SKIPPING 22:23:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-183/1 22:23:40 INFO: archiving workspace using pattern(s): 22:23:41 Archives upload complete. 22:23:41 INFO: archiving logs to Nexus 22:23:42 ---> uname -a: 22:23:42 Linux prd-ubuntu20-04-docker-8c-8g-19780 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 22:23:42 22:23:42 22:23:42 ---> lscpu: 22:23:42 Architecture: x86_64 22:23:42 CPU op-mode(s): 32-bit, 64-bit 22:23:42 Byte Order: Little Endian 22:23:42 Address sizes: 40 bits physical, 48 bits virtual 22:23:42 CPU(s): 8 22:23:42 On-line CPU(s) list: 0-7 22:23:42 Thread(s) per core: 1 22:23:42 Core(s) per socket: 1 22:23:42 Socket(s): 8 22:23:42 NUMA node(s): 1 22:23:42 Vendor ID: AuthenticAMD 22:23:42 CPU family: 23 22:23:42 Model: 49 22:23:42 Model name: AMD EPYC-Rome Processor 22:23:42 Stepping: 0 22:23:42 CPU MHz: 2799.998 22:23:42 BogoMIPS: 5599.99 22:23:42 Virtualization: AMD-V 22:23:42 Hypervisor vendor: KVM 22:23:42 Virtualization type: full 22:23:42 L1d cache: 256 KiB 22:23:42 L1i cache: 256 KiB 22:23:42 L2 cache: 4 MiB 22:23:42 L3 cache: 128 MiB 22:23:42 NUMA node0 CPU(s): 0-7 22:23:42 Vulnerability Itlb multihit: Not affected 22:23:42 Vulnerability L1tf: Not affected 22:23:42 Vulnerability Mds: Not affected 22:23:42 Vulnerability Meltdown: Not affected 22:23:42 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 22:23:42 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 22:23:42 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 22:23:42 Vulnerability Srbds: Not affected 22:23:42 Vulnerability Tsx async abort: Not affected 22:23: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 22:23:42 22:23:42 22:23:42 ---> nproc: 22:23:42 8 22:23:42 22:23:42 22:23:42 ---> df -h: 22:23:42 Filesystem Size Used Avail Use% Mounted on 22:23:42 overlay 155G 11G 145G 7% / 22:23:42 tmpfs 64M 0 64M 0% /dev 22:23:42 tmpfs 16G 0 16G 0% /sys/fs/cgroup 22:23:42 shm 64M 0 64M 0% /dev/shm 22:23:42 /dev/vda1 155G 11G 145G 7% /facter-os 22:23:42 22:23:42 22:23:42 ---> sar -b -r -n DEV: 22:23:42 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-19780) 07/12/22 _x86_64_ (8 CPU) 22:23:42 22:23:42 22:11:30 LINUX RESTART (8 CPU) 22:23:42 22:23:42 22:12:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 22:23:42 22:13:01 265.46 41.11 224.35 0.00 3686.83 76307.07 0.00 22:23:42 22:14:01 186.49 4.62 181.87 0.00 410.06 66557.84 0.00 22:23:42 22:15:01 167.94 0.10 167.84 0.00 4.80 39124.15 0.00 22:23:42 22:16:01 1.72 0.00 1.72 0.00 0.00 23.61 0.00 22:23:42 22:17:01 1.28 0.03 1.25 0.00 0.27 14.80 0.00 22:23:42 22:18:01 1.32 0.00 1.32 0.00 0.00 16.53 0.00 22:23:42 22:19:01 3.17 0.87 2.30 0.00 18.40 31.06 0.00 22:23:42 22:20:01 1.00 0.00 1.00 0.00 0.00 13.20 0.00 22:23:42 22:21:01 1.13 0.00 1.13 0.00 0.00 13.20 0.00 22:23:42 22:22:01 1.78 0.00 1.78 0.00 0.00 25.99 0.00 22:23:42 22:23:01 0.97 0.00 0.97 0.00 0.00 11.73 0.00 22:23:42 Average: 57.16 4.19 52.97 0.00 369.53 16466.46 0.00 22:23:42 22:23:42 22:12:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 22:23:42 22:13:01 30039780 31875912 485348 1.48 93324 2051364 1662564 4.90 960412 1605348 4260 22:23:42 22:14:01 28140828 31653836 646148 1.96 159224 3553468 2225808 6.56 1422444 2868132 189788 22:23:42 22:15:01 27723152 31785640 515312 1.57 172152 4045128 1737940 5.12 1278836 3387252 88 22:23:42 22:16:01 27728876 31791400 509336 1.55 172180 4045128 1737940 5.12 1270428 3387248 60 22:23:42 22:17:01 27729244 31791832 508808 1.55 172224 4045124 1737940 5.12 1269728 3387256 20 22:23:42 22:18:01 27731240 31793956 506320 1.54 172252 4045140 1737940 5.12 1267964 3387260 152 22:23:42 22:19:01 27731180 31794996 505548 1.54 172332 4045656 1779960 5.25 1266632 3387848 180 22:23:42 22:20:01 27738848 31802492 498244 1.52 172372 4045660 1779960 5.25 1260104 3387852 200 22:23:42 22:21:01 27739100 31802772 497928 1.51 172384 4045660 1779960 5.25 1259540 3387852 16 22:23:42 22:22:01 27738784 31802440 498204 1.52 172428 4045624 1779960 5.25 1259536 3387832 24 22:23:42 22:23:01 27738996 31802752 497724 1.51 172460 4045644 1779960 5.25 1259736 3387836 20 22:23:42 Average: 27980003 31790730 515356 1.57 163939 3819418 1794539 5.29 1252305 3178338 17710 22:23:42 22:23:42 22:12:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 22:23:42 22:13:01 lo 2.58 2.58 0.24 0.24 0.00 0.00 0.00 0.00 22:23:42 22:13:01 ens3 531.77 330.60 760.51 82.59 0.00 0.00 0.00 0.00 22:23:42 22:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:23:42 22:14:01 vethff06368 0.00 0.15 0.00 0.01 0.00 0.00 0.00 0.00 22:23:42 22:14:01 lo 4.40 4.40 0.43 0.43 0.00 0.00 0.00 0.00 22:23:42 22:14:01 ens3 421.25 303.37 6709.15 97.82 0.00 0.00 0.00 0.00 22:23:42 22:14:01 docker0 110.41 134.66 8.90 1088.69 0.00 0.00 0.00 0.00 22:23:42 22:15:01 lo 1.87 1.87 0.18 0.18 0.00 0.00 0.00 0.00 22:23:42 22:15:01 ens3 132.19 85.95 2639.96 20.53 0.00 0.00 0.00 0.00 22:23:42 22:15:01 docker0 9.45 14.03 0.57 98.77 0.00 0.00 0.00 0.00 22:23:42 22:16:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 22:23:42 22:16:01 ens3 0.78 0.20 0.15 0.07 0.00 0.00 0.00 0.00 22:23:42 22:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:23:42 22:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:23:42 22:17:01 ens3 0.47 0.23 0.26 0.19 0.00 0.00 0.00 0.00 22:23:42 22:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:23:42 22:18:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 22:23:42 22:18:01 ens3 0.25 0.20 0.08 0.08 0.00 0.00 0.00 0.00 22:23:42 22:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:23:42 22:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:23:42 22:19:01 ens3 0.03 0.02 0.00 0.00 0.00 0.00 0.00 0.00 22:23:42 22:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:23:42 22:20:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 22:23:42 22:20:01 ens3 5.37 6.05 9.25 9.97 0.00 0.00 0.00 0.00 22:23:42 22:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:23:42 22:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:23:42 22:21:01 ens3 0.07 0.00 0.01 0.00 0.00 0.00 0.00 0.00 22:23:42 22:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:23:42 22:22:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 22:23:42 22:22:01 ens3 0.13 0.10 0.01 0.01 0.00 0.00 0.00 0.00 22:23:42 22:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:23:42 22:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:23:42 22:23:01 ens3 3.13 6.95 0.27 7.51 0.00 0.00 0.00 0.00 22:23:42 22:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:23:42 Average: lo 0.87 0.87 0.08 0.08 0.00 0.00 0.00 0.00 22:23:42 Average: ens3 98.92 66.29 920.15 19.79 0.00 0.00 0.00 0.00 22:23:42 Average: docker0 10.91 13.54 0.86 108.11 0.00 0.00 0.00 0.00 22:23:42 22:23:42 22:23:42 ---> sar -P ALL: 22:23:42 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-19780) 07/12/22 _x86_64_ (8 CPU) 22:23:42 22:23:42 22:11:30 LINUX RESTART (8 CPU) 22:23:42 22:23:42 22:12:02 CPU %user %nice %system %iowait %steal %idle 22:23:42 22:13:01 all 4.38 0.00 1.32 0.92 0.02 93.35 22:23:42 22:13:01 0 4.24 0.00 0.95 0.51 0.02 94.29 22:23:42 22:13:01 1 4.39 0.00 1.27 0.61 0.02 93.71 22:23:42 22:13:01 2 3.35 0.00 1.12 0.20 0.02 95.31 22:23:42 22:13:01 3 3.79 0.00 1.22 0.29 0.02 94.68 22:23:42 22:13:01 4 4.99 0.00 2.20 0.73 0.02 92.06 22:23:42 22:13:01 5 5.17 0.00 0.68 0.31 0.03 93.81 22:23:42 22:13:01 6 5.85 0.00 2.02 4.58 0.02 87.53 22:23:42 22:13:01 7 3.28 0.00 1.08 0.15 0.02 95.47 22:23:42 22:14:01 all 20.30 0.00 6.28 1.32 0.07 72.04 22:23:42 22:14:01 0 20.75 0.00 5.86 0.71 0.07 72.60 22:23:42 22:14:01 1 20.79 0.00 7.39 2.24 0.07 69.52 22:23:42 22:14:01 2 20.55 0.00 6.55 0.53 0.07 72.30 22:23:42 22:14:01 3 18.70 0.00 6.18 1.26 0.08 73.77 22:23:42 22:14:01 4 19.69 0.00 6.78 3.00 0.07 70.46 22:23:42 22:14:01 5 22.12 0.00 5.68 0.12 0.05 72.02 22:23:42 22:14:01 6 19.04 0.00 5.96 2.32 0.07 72.60 22:23:42 22:14:01 7 20.72 0.00 5.79 0.36 0.09 73.04 22:23:42 22:15:01 all 30.55 0.00 5.84 0.90 0.07 62.65 22:23:42 22:15:01 0 30.26 0.00 5.69 0.12 0.07 63.86 22:23:42 22:15:01 1 30.24 0.00 6.52 2.65 0.08 60.50 22:23:42 22:15:01 2 32.32 0.00 6.19 0.30 0.07 61.12 22:23:42 22:15:01 3 31.02 0.00 5.92 0.61 0.07 62.39 22:23:42 22:15:01 4 30.52 0.00 5.19 0.12 0.07 64.10 22:23:42 22:15:01 5 29.54 0.00 5.81 0.20 0.07 64.38 22:23:42 22:15:01 6 31.06 0.00 5.20 0.05 0.07 63.62 22:23:42 22:15:01 7 29.39 0.00 6.19 3.14 0.07 61.22 22:23:42 22:16:01 all 0.19 0.00 0.02 0.01 0.00 99.78 22:23:42 22:16:01 0 1.34 0.00 0.02 0.00 0.00 98.65 22:23:42 22:16:01 1 0.03 0.00 0.02 0.05 0.00 99.90 22:23:42 22:16:01 2 0.02 0.00 0.00 0.00 0.00 99.98 22:23:42 22:16:01 3 0.05 0.00 0.03 0.00 0.00 99.92 22:23:42 22:16:01 4 0.00 0.00 0.02 0.00 0.00 99.98 22:23:42 22:16:01 5 0.02 0.00 0.00 0.00 0.00 99.98 22:23:42 22:16:01 6 0.00 0.00 0.02 0.00 0.00 99.98 22:23:42 22:16:01 7 0.07 0.00 0.03 0.02 0.00 99.88 22:23:42 22:17:01 all 0.03 0.00 0.02 0.00 0.00 99.95 22:23:42 22:17:01 0 0.00 0.00 0.02 0.00 0.02 99.97 22:23:42 22:17:01 1 0.00 0.00 0.00 0.02 0.00 99.98 22:23:42 22:17:01 2 0.03 0.00 0.03 0.00 0.00 99.93 22:23:42 22:17:01 3 0.02 0.00 0.03 0.00 0.00 99.95 22:23:42 22:17:01 4 0.05 0.00 0.00 0.00 0.02 99.93 22:23:42 22:17:01 5 0.02 0.00 0.03 0.00 0.00 99.95 22:23:42 22:17:01 6 0.02 0.00 0.00 0.00 0.00 99.98 22:23:42 22:17:01 7 0.08 0.00 0.02 0.02 0.00 99.88 22:23:42 22:18:01 all 0.03 0.00 0.01 0.00 0.00 99.96 22:23:42 22:18:01 0 0.03 0.00 0.00 0.00 0.00 99.97 22:23:42 22:18:01 1 0.03 0.00 0.03 0.02 0.00 99.92 22:23:42 22:18:01 2 0.05 0.00 0.00 0.00 0.00 99.95 22:23:42 22:18:01 3 0.03 0.00 0.02 0.00 0.02 99.93 22:23:42 22:18:01 4 0.03 0.00 0.03 0.00 0.00 99.93 22:23:42 22:18:01 5 0.00 0.00 0.00 0.00 0.00 100.00 22:23:42 22:18:01 6 0.02 0.00 0.00 0.00 0.00 99.98 22:23:42 22:18:01 7 0.00 0.00 0.00 0.02 0.02 99.97 22:23:42 22:19:01 all 0.06 0.00 0.04 0.01 0.00 99.89 22:23:42 22:19:01 0 0.05 0.00 0.03 0.00 0.00 99.92 22:23:42 22:19:01 1 0.05 0.00 0.02 0.03 0.00 99.90 22:23:42 22:19:01 2 0.00 0.00 0.02 0.00 0.00 99.98 22:23:42 22:19:01 3 0.02 0.00 0.02 0.00 0.00 99.97 22:23:42 22:19:01 4 0.05 0.00 0.05 0.00 0.02 99.88 22:23:42 22:19:01 5 0.03 0.00 0.05 0.00 0.00 99.92 22:23:42 22:19:01 6 0.02 0.00 0.03 0.00 0.00 99.95 22:23:42 22:19:01 7 0.23 0.00 0.07 0.08 0.00 99.62 22:23:42 22:20:01 all 0.04 0.00 0.02 0.01 0.01 99.92 22:23:42 22:20:01 0 0.07 0.00 0.03 0.00 0.02 99.88 22:23:42 22:20:01 1 0.02 0.00 0.00 0.02 0.02 99.95 22:23:42 22:20:01 2 0.07 0.00 0.02 0.02 0.02 99.88 22:23:42 22:20:01 3 0.03 0.00 0.05 0.00 0.00 99.92 22:23:42 22:20:01 4 0.05 0.00 0.02 0.00 0.00 99.93 22:23:42 22:20:01 5 0.02 0.00 0.03 0.00 0.00 99.95 22:23:42 22:20:01 6 0.02 0.00 0.00 0.00 0.00 99.98 22:23:42 22:20:01 7 0.07 0.00 0.03 0.02 0.00 99.88 22:23:42 22:21:01 all 0.01 0.00 0.01 0.00 0.00 99.97 22:23:42 22:21:01 0 0.00 0.00 0.00 0.00 0.00 100.00 22:23:42 22:21:01 1 0.02 0.00 0.02 0.00 0.00 99.97 22:23:42 22:21:01 2 0.00 0.00 0.02 0.02 0.00 99.97 22:23:42 22:21:01 3 0.02 0.00 0.00 0.00 0.00 99.98 22:23:42 22:21:01 4 0.02 0.00 0.03 0.00 0.02 99.93 22:23:42 22:21:01 5 0.02 0.00 0.02 0.00 0.00 99.97 22:23:42 22:21:01 6 0.00 0.00 0.00 0.00 0.00 100.00 22:23:42 22:21:01 7 0.02 0.00 0.00 0.02 0.00 99.97 22:23:42 22:22:01 all 0.02 0.00 0.01 0.00 0.00 99.96 22:23:42 22:22:01 0 0.02 0.00 0.02 0.00 0.00 99.97 22:23:42 22:22:01 1 0.03 0.00 0.02 0.02 0.00 99.93 22:23:42 22:22:01 2 0.02 0.00 0.00 0.00 0.00 99.98 22:23:42 22:22:01 3 0.02 0.00 0.00 0.00 0.00 99.98 22:23:42 22:22:01 4 0.03 0.00 0.03 0.00 0.00 99.93 22:23:42 22:22:01 5 0.00 0.00 0.00 0.00 0.00 100.00 22:23:42 22:22:01 6 0.02 0.00 0.00 0.00 0.00 99.98 22:23:42 22:22:01 7 0.02 0.00 0.03 0.02 0.00 99.93 22:23:42 22:23:01 all 0.02 0.00 0.02 0.00 0.00 99.95 22:23:42 22:23:01 0 0.02 0.00 0.02 0.00 0.00 99.97 22:23:42 22:23:01 1 0.02 0.00 0.00 0.00 0.00 99.98 22:23:42 22:23:01 2 0.03 0.00 0.02 0.00 0.00 99.95 22:23:42 22:23:01 3 0.02 0.00 0.02 0.00 0.00 99.97 22:23:42 22:23:01 4 0.02 0.00 0.02 0.00 0.00 99.97 22:23:42 22:23:01 5 0.03 0.00 0.02 0.00 0.00 99.95 22:23:42 22:23:01 6 0.05 0.00 0.07 0.00 0.02 99.87 22:23:42 22:23:01 7 0.02 0.00 0.00 0.02 0.00 99.97 22:23:42 22:23:42 Average: CPU %user %nice %system %iowait %steal %idle 22:23:42 Average: all 5.01 0.00 1.22 0.29 0.02 93.47 22:23:42 Average: 0 5.13 0.00 1.14 0.12 0.02 93.59 22:23:42 Average: 1 5.00 0.00 1.37 0.51 0.02 93.10 22:23:42 Average: 2 5.08 0.00 1.26 0.10 0.02 93.55 22:23:42 Average: 3 4.83 0.00 1.21 0.19 0.02 93.75 22:23:42 Average: 4 4.99 0.00 1.29 0.35 0.02 93.35 22:23:42 Average: 5 5.13 0.00 1.11 0.06 0.01 93.69 22:23:42 Average: 6 5.05 0.00 1.20 0.62 0.02 93.11 22:23:42 Average: 7 4.85 0.00 1.19 0.35 0.02 93.60 22:23:42 22:23:42 22:23:42