Pull request #185 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-snmp-go Loading trusted files from base branch main at f6828afe08f553138e4b56b0659b8be13fc1cd72 rather than fc507b4a86c486e8eb8c77e2bd6f75d86e5cdfa9 Obtained Jenkinsfile from f6828afe08f553138e4b56b0659b8be13fc1cd72 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-ssh6634079479022514451.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2153474405294133881.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-185/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-185/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7860985616992175329.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-185/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh652509819128042701.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14689263399142157737.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-185/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-185/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15591040036205247508.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 2c432abcf2d142718d3fe157e81a44428d9b823e Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-20572 in /w/workspace/gexfoundry_device-snmp-go_PR-185 [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-185 # 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 f6828afe08f553138e4b56b0659b8be13fc1cd72 into PR head commit fc507b4a86c486e8eb8c77e2bd6f75d86e5cdfa9 Merge succeeded, producing fc507b4a86c486e8eb8c77e2bd6f75d86e5cdfa9 Checking out Revision fc507b4a86c486e8eb8c77e2bd6f75d86e5cdfa9 (PR-185) > 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/185/head:refs/remotes/origin/PR-185 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fc507b4a86c486e8eb8c77e2bd6f75d86e5cdfa9 # 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 f6828afe08f553138e4b56b0659b8be13fc1cd72 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fc507b4a86c486e8eb8c77e2bd6f75d86e5cdfa9 # timeout=10 Commit message: "refactor(snap): edgex-snap-hooks related upgrade" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:02:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:02:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:02:15 ========================================================= 10:02:15 EdgeX Global Pipelines Version Info 10:02:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:02:16 ------------------- 10:02:16 stable info: 10:02:16 ------------------- 10:02:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:02:16 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 10:02:16 Message: update stable to v1.0.238 10:02:16 ------------------- 10:02:16 experimental info: 10:02:16 ------------------- 10:02:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:02:16 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 10:02:16 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:02:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 10:02:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 10:02:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:02:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:02:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:02:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 10:02:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:02:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:02:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:02:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:02:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:02:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 10:02:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:02:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:02:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:02:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:02:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:02:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:02:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:02:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:02:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:02:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:02:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:02:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:02:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:02:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:02:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:02:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-185 [Pipeline] echo 10:02:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-185 [Pipeline] echo 10:02:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-185 [Pipeline] echo 10:02:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fc507b4a86c486e8eb8c77e2bd6f75d86e5cdfa9 [Pipeline] echo 10:02:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fc507b4 [Pipeline] echo 10:02:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:02:18 provisioning config files... 10:02:18 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-185@tmp/config5575381838625980155tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:02:19 ---> docker-login.sh 10:02:19 nexus3.edgexfoundry.org:10001 10:02:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:02:19 Configure a credential helper to remove this warning. See 10:02:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:02:19 10:02:19 Login Succeeded 10:02:19 nexus3.edgexfoundry.org:10002 10:02:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:02:19 Configure a credential helper to remove this warning. See 10:02:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:02:19 10:02:19 Login Succeeded 10:02:19 nexus3.edgexfoundry.org:10003 10:02:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:02:19 Configure a credential helper to remove this warning. See 10:02:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:02:19 10:02:19 Login Succeeded 10:02:19 nexus3.edgexfoundry.org:10004 10:02:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:02:19 Configure a credential helper to remove this warning. See 10:02:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:02:19 10:02:19 Login Succeeded 10:02:19 docker.io 10:02:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:02:20 Configure a credential helper to remove this warning. See 10:02:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:02:20 10:02:20 Login Succeeded 10:02:20 ---> docker-login.sh ends [Pipeline] } 10:02:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:02:21 + git rev-list -1 --merges fc507b4a86c486e8eb8c77e2bd6f75d86e5cdfa9~1..fc507b4a86c486e8eb8c77e2bd6f75d86e5cdfa9 [Pipeline] echo 10:02:21 -----------> git rev-list -1 --merges fc507b4a86c486e8eb8c77e2bd6f75d86e5cdfa9~1..fc507b4a86c486e8eb8c77e2bd6f75d86e5cdfa9 fc507b4a86c486e8eb8c77e2bd6f75d86e5cdfa9 [false] [Pipeline] sh 10:02:21 + git log --format=format:%s -1 fc507b4a86c486e8eb8c77e2bd6f75d86e5cdfa9 [Pipeline] echo 10:02:21 ========================================================= 10:02:21 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:02:21 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:02:21 + git log --format=format:%s -1 fc507b4a86c486e8eb8c77e2bd6f75d86e5cdfa9 [Pipeline] echo 10:02:21 [semverPrep] GIT_COMMIT: fc507b4a86c486e8eb8c77e2bd6f75d86e5cdfa9, Commit Message: refactor(snap): edgex-snap-hooks related upgrade [Pipeline] echo 10:02:21 [semverPrep] This is not a build commit. [Pipeline] sh 10:02:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:02:22 + grep -v github /etc/ssh/ssh_known_hosts 10:02:22 + [ -e /tmp/ssh_known_hosts ] 10:02:22 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:02:22 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:02:22 + sudo tee -a /etc/ssh/ssh_known_hosts 10:02:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:02:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:02:22 10:02:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:02:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:02:23 0.1.4: Pulling from edgex-devops/py-git-semver 10:02:23 b85a868b505f: Pulling fs layer 10:02:23 e2be974225ed: Pulling fs layer 10:02:23 339a4e72a1f5: Pulling fs layer 10:02:23 988bab9f4d93: Pulling fs layer 10:02:23 1469e6f7b9e6: Pulling fs layer 10:02:23 eaf3925da568: Pulling fs layer 10:02:23 bab4dde63d76: Pulling fs layer 10:02:23 bde34c3a00c8: Pulling fs layer 10:02:23 b352a97aabf1: Pulling fs layer 10:02:23 4872d77fe225: Pulling fs layer 10:02:23 5851b861e8e6: Pulling fs layer 10:02:23 bab4dde63d76: Waiting 10:02:23 4872d77fe225: Waiting 10:02:23 5851b861e8e6: Waiting 10:02:23 1469e6f7b9e6: Waiting 10:02:23 bde34c3a00c8: Waiting 10:02:23 b352a97aabf1: Waiting 10:02:23 eaf3925da568: Waiting 10:02:23 988bab9f4d93: Waiting 10:02:23 e2be974225ed: Verifying Checksum 10:02:23 e2be974225ed: Download complete 10:02:23 988bab9f4d93: Verifying Checksum 10:02:23 988bab9f4d93: Download complete 10:02:23 1469e6f7b9e6: Verifying Checksum 10:02:23 1469e6f7b9e6: Download complete 10:02:23 eaf3925da568: Verifying Checksum 10:02:23 eaf3925da568: Download complete 10:02:23 339a4e72a1f5: Verifying Checksum 10:02:23 339a4e72a1f5: Download complete 10:02:23 bde34c3a00c8: Verifying Checksum 10:02:23 bde34c3a00c8: Download complete 10:02:23 b352a97aabf1: Download complete 10:02:23 4872d77fe225: Verifying Checksum 10:02:23 4872d77fe225: Download complete 10:02:23 5851b861e8e6: Verifying Checksum 10:02:23 5851b861e8e6: Download complete 10:02:23 b85a868b505f: Verifying Checksum 10:02:23 b85a868b505f: Download complete 10:02:23 bab4dde63d76: Verifying Checksum 10:02:23 bab4dde63d76: Download complete 10:02:24 b85a868b505f: Pull complete 10:02:24 e2be974225ed: Pull complete 10:02:25 339a4e72a1f5: Pull complete 10:02:25 988bab9f4d93: Pull complete 10:02:25 1469e6f7b9e6: Pull complete 10:02:25 eaf3925da568: Pull complete 10:02:27 bab4dde63d76: Pull complete 10:02:27 bde34c3a00c8: Pull complete 10:02:27 b352a97aabf1: Pull complete 10:02:27 4872d77fe225: Pull complete 10:02:27 5851b861e8e6: Pull complete 10:02:27 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:02:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:02:27 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:02:28 prd-ubuntu20.04-docker-8c-8g-20572 does not seem to be running inside a container 10:02:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-185 -v /w/workspace/gexfoundry_device-snmp-go_PR-185:/w/workspace/gexfoundry_device-snmp-go_PR-185:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-185@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-185@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-devops/py-git-semver:0.1.4 cat 10:02:30 $ docker top 37322c23450b9bafb70126bf3bd74a3944545a5729e9c34badb80a44f96b396e -eo pid,comm 10:02:30 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 10:02:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:02:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:02:30 [ssh-agent] Looking for ssh-agent implementation... 10:02:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:02:30 $ docker exec 37322c23450b9bafb70126bf3bd74a3944545a5729e9c34badb80a44f96b396e ssh-agent 10:02:30 SSH_AUTH_SOCK=/tmp/ssh-ssXQ3dYKxbMd/agent.33 10:02:30 SSH_AGENT_PID=39 10:02:30 Running ssh-add (command line suppressed) 10:02:30 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-185@tmp/private_key_7891544342869602359.key (/w/workspace/gexfoundry_device-snmp-go_PR-185@tmp/private_key_7891544342869602359.key) 10:02:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:02:31 + git tag --points-at HEAD [Pipeline] } 10:02:31 $ docker exec --env ******** --env ******** 37322c23450b9bafb70126bf3bd74a3944545a5729e9c34badb80a44f96b396e ssh-agent -k 10:02:31 unset SSH_AUTH_SOCK; 10:02:31 unset SSH_AGENT_PID; 10:02:31 echo Agent pid 39 killed; 10:02:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:02:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:02:31 [ssh-agent] Looking for ssh-agent implementation... 10:02:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:02:31 $ docker exec 37322c23450b9bafb70126bf3bd74a3944545a5729e9c34badb80a44f96b396e ssh-agent 10:02:31 SSH_AUTH_SOCK=/tmp/ssh-MRdET6OUHKoG/agent.71 10:02:31 SSH_AGENT_PID=79 10:02:31 Running ssh-add (command line suppressed) 10:02:31 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-185@tmp/private_key_7887133136554485751.key (/w/workspace/gexfoundry_device-snmp-go_PR-185@tmp/private_key_7887133136554485751.key) 10:02:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:02:32 + git semver init 10:02:32 2022-07-20 10:02:32,274 [run_init] DEBUG init version:0.0.0 force:False 10:02:32 2022-07-20 10:02:32,276 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-185/.semver 10:02:32 2022-07-20 10:02:32,276 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-185/.semver 10:02:32 2022-07-20 10:02:32,277 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-185/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-185, universal_newlines=False, shell=None, istream=None) 10:02:33 2022-07-20 10:02:33,005 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-185/.git/info/exclude 10:02:33 2022-07-20 10:02:33,006 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-185/.semver/PR-185 with force:False 10:02:33 2022-07-20 10:02:33,006 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-185/.semver/PR-185 10:02:33 2022-07-20 10:02:33,010 [execute] INFO git cat-file --batch-check 10:02:33 2022-07-20 10:02:33,011 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-185/.semver, universal_newlines=False, shell=None, istream=) 10:02:33 2022-07-20 10:02:33,016 [execute] INFO git cat-file --batch 10:02:33 2022-07-20 10:02:33,017 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-185/.semver, universal_newlines=False, shell=None, istream=) 10:02:33 2022-07-20 10:02:33,021 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-185/.semver/PR-185 10:02:33 0.0.0 [Pipeline] } 10:02:33 $ docker exec --env ******** --env ******** 37322c23450b9bafb70126bf3bd74a3944545a5729e9c34badb80a44f96b396e ssh-agent -k 10:02:33 unset SSH_AUTH_SOCK; 10:02:33 unset SSH_AGENT_PID; 10:02:33 echo Agent pid 79 killed; 10:02:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:02:33 + git semver [Pipeline] } 10:02:34 $ docker stop --time=1 37322c23450b9bafb70126bf3bd74a3944545a5729e9c34badb80a44f96b396e 10:02:35 $ docker rm -f 37322c23450b9bafb70126bf3bd74a3944545a5729e9c34badb80a44f96b396e [Pipeline] // withDockerContainer [Pipeline] sh 10:02:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:02:36 Stashed 1 file(s) [Pipeline] echo 10:02:36 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:02:36 provisioning config files... 10:02:36 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-185@tmp/config2498781540008148102tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:02:37 ---> docker-login.sh 10:02:37 nexus3.edgexfoundry.org:10001 10:02:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:02:37 Configure a credential helper to remove this warning. See 10:02:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:02:37 10:02:37 Login Succeeded 10:02:37 nexus3.edgexfoundry.org:10002 10:02:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:02:37 Configure a credential helper to remove this warning. See 10:02:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:02:37 10:02:37 Login Succeeded 10:02:37 nexus3.edgexfoundry.org:10003 10:02:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:02:37 Configure a credential helper to remove this warning. See 10:02:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:02:37 10:02:37 Login Succeeded 10:02:37 nexus3.edgexfoundry.org:10004 10:02:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:02:37 Configure a credential helper to remove this warning. See 10:02:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:02:37 10:02:37 Login Succeeded 10:02:37 docker.io 10:02:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:02:38 Configure a credential helper to remove this warning. See 10:02:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:02:38 10:02:38 Login Succeeded 10:02:38 ---> docker-login.sh ends [Pipeline] } 10:02:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:02:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:02:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:02:38 ========================================================= 10:02:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 10:02:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:02:38 + 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 . 10:02:38 Sending build context to Docker daemon 5.451MB 10:02:38 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 10:02:38 Step 2/12 : FROM ${BASE} AS builder 10:02:38 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 10:02:38 2408cc74d12b: Pulling fs layer 10:02:38 ea60b727a1ce: Pulling fs layer 10:02:38 30c4a7721957: Pulling fs layer 10:02:38 370296b7ddb6: Pulling fs layer 10:02:38 7c6cee850709: Pulling fs layer 10:02:38 39a5fcdaea64: Pulling fs layer 10:02:38 d94ebbe4e438: Pulling fs layer 10:02:38 bcfd1f05c69d: Pulling fs layer 10:02:38 59ccb84bbe0f: Pulling fs layer 10:02:38 370296b7ddb6: Waiting 10:02:38 7c6cee850709: Waiting 10:02:38 d94ebbe4e438: Waiting 10:02:38 39a5fcdaea64: Waiting 10:02:38 59ccb84bbe0f: Waiting 10:02:38 bcfd1f05c69d: Waiting 10:02:38 30c4a7721957: Download complete 10:02:39 ea60b727a1ce: Verifying Checksum 10:02:39 ea60b727a1ce: Download complete 10:02:39 7c6cee850709: Verifying Checksum 10:02:39 7c6cee850709: Download complete 10:02:39 39a5fcdaea64: Download complete 10:02:39 2408cc74d12b: Download complete 10:02:39 d94ebbe4e438: Download complete 10:02:39 2408cc74d12b: Pull complete 10:02:39 ea60b727a1ce: Pull complete 10:02:39 30c4a7721957: Pull complete 10:02:39 59ccb84bbe0f: Verifying Checksum 10:02:39 59ccb84bbe0f: Download complete 10:02:39 370296b7ddb6: Verifying Checksum 10:02:39 370296b7ddb6: Download complete 10:02:39 bcfd1f05c69d: Verifying Checksum 10:02:39 bcfd1f05c69d: Download complete 10:02:43 370296b7ddb6: Pull complete 10:02:43 7c6cee850709: Pull complete 10:02:43 39a5fcdaea64: Pull complete 10:02:43 d94ebbe4e438: Pull complete 10:02:45 bcfd1f05c69d: Pull complete 10:02:46 59ccb84bbe0f: Pull complete 10:02:46 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 10:02:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 10:02:46 ---> a4fb48ad2a94 10:02:46 Step 3/12 : ARG MAKE='make build' 10:02:49 ---> Running in e53f66eefd37 10:02:49 Removing intermediate container e53f66eefd37 10:02:49 ---> 790c7c74e96d 10:02:49 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:02:49 ---> Running in 9a7c793371a1 10:02:49 Removing intermediate container 9a7c793371a1 10:02:49 ---> 36b78a20cf64 10:02:49 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 10:02:50 ---> Running in 1048774d9c80 10:02:50 Removing intermediate container 1048774d9c80 10:02:50 ---> 8fefaac77a17 10:02:50 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:02:50 ---> Running in 0fa887ee7952 10:02:50 Removing intermediate container 0fa887ee7952 10:02:50 ---> f0767632592f 10:02:50 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:02:50 ---> Running in c11a5951d51a 10:02:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:02:51 Still waiting to schedule task 10:02:51 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 10:02:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:02:52 (1/4) Installing openssh-keygen (9.0_p1-r1) 10:02:52 (2/4) Installing libedit (20210910.3.1-r0) 10:02:52 (3/4) Installing openssh-client-common (9.0_p1-r1) 10:02:52 (4/4) Installing openssh-client-default (9.0_p1-r1) 10:02:52 Executing busybox-1.35.0-r13.trigger 10:02:52 OK: 216 MiB in 55 packages 10:02:53 Removing intermediate container c11a5951d51a 10:02:53 ---> 01bcea11349e 10:02:53 Step 8/12 : WORKDIR /device-snmp-go 10:02:53 ---> Running in 957be8dafc3c 10:02:53 Removing intermediate container 957be8dafc3c 10:02:53 ---> f32109b72a97 10:02:53 Step 9/12 : COPY go.mod vendor* ./ 10:02:53 ---> 0ebb300dce40 10:02:53 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:02:53 ---> Running in d76fcd5c71df 10:03:11 Removing intermediate container d76fcd5c71df 10:03:11 ---> 2cdb7fa380c2 10:03:11 Step 11/12 : COPY . . 10:03:11 ---> 2da445a461f6 10:03:11 Step 12/12 : RUN ${MAKE} 10:03:11 ---> Running in 74a6114ba79c 10:03:11 noop 10:03:11 Removing intermediate container 74a6114ba79c 10:03:11 ---> 686d6a13bbe0 10:03:11 Successfully built 686d6a13bbe0 10:03:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:03:11 + docker inspect -f . ci-base-image-x86_64 10:03:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:03:11 prd-ubuntu20.04-docker-8c-8g-20572 does not seem to be running inside a container 10:03:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-185 -v /w/workspace/gexfoundry_device-snmp-go_PR-185:/w/workspace/gexfoundry_device-snmp-go_PR-185:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-185@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-185@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:03:12 $ docker top 0165eb9cd6a0bd9b7188f0764654c0ed5676c08be2a5838c01e3de1ae4bac7b9 -eo pid,comm [Pipeline] { [Pipeline] sh 10:03:12 + go version 10:03:12 go version go1.18.3 linux/amd64 [Pipeline] } 10:03:12 $ docker stop --time=1 0165eb9cd6a0bd9b7188f0764654c0ed5676c08be2a5838c01e3de1ae4bac7b9 10:03:14 $ docker rm -f 0165eb9cd6a0bd9b7188f0764654c0ed5676c08be2a5838c01e3de1ae4bac7b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:03:14 + docker inspect -f . ci-base-image-x86_64 10:03:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:03:15 prd-ubuntu20.04-docker-8c-8g-20572 does not seem to be running inside a container 10:03:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-snmp-go_PR-185 -v /w/workspace/gexfoundry_device-snmp-go_PR-185:/w/workspace/gexfoundry_device-snmp-go_PR-185:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-185@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-185@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:03:15 $ docker top 503c599a25b982207acb585dc15deb132d7dc34838287b6577e7d7c3df2c109a -eo pid,comm [Pipeline] { [Pipeline] sh 10:03:15 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-185 [Pipeline] fileExists [Pipeline] sh 10:03:16 + make test 10:03:16 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 10:03:16 ? github.com/edgexfoundry/device-snmp-go [no test files] 10:03:26 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 10:03:26 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.011s coverage: 0.0% of statements 10:03:31 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." 10:03:31 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:03:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:03:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:03:34 ./bin/test-attribution-txt.sh [Pipeline] echo 10:03:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:03:34 $ docker stop --time=1 503c599a25b982207acb585dc15deb132d7dc34838287b6577e7d7c3df2c109a 10:03:36 $ docker rm -f 503c599a25b982207acb585dc15deb132d7dc34838287b6577e7d7c3df2c109a [Pipeline] // withDockerContainer [Pipeline] sh 10:03:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:03:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:03:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:03:38 + ls -al . 10:03:38 total 168 10:03:38 drwxrwxr-x 9 jenkins jenkins 4096 Jul 20 10:03 . 10:03:38 drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 10:02 .. 10:03:38 -rw-rw-r-- 1 jenkins jenkins 6 Jul 20 10:02 .dockerignore 10:03:38 drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 10:03 .git 10:03:38 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 10:02 .github 10:03:38 -rw-rw-r-- 1 jenkins jenkins 328 Jul 20 10:02 .gitignore 10:03:38 -rw-rw-r-- 1 jenkins jenkins 41 Jul 20 10:02 .golangci.yml 10:03:38 drwxr-xr-x 3 jenkins jenkins 4096 Jul 20 10:02 .semver 10:03:38 -rw-rw-r-- 1 jenkins jenkins 8556 Jul 20 10:02 Attribution.txt 10:03:38 -rw-rw-r-- 1 jenkins jenkins 6948 Jul 20 10:02 CHANGELOG.md 10:03:38 -rw-rw-r-- 1 jenkins jenkins 1518 Jul 20 10:02 Dockerfile 10:03:38 -rw-rw-r-- 1 jenkins jenkins 677 Jul 20 10:02 GOVERNANCE.md 10:03:38 -rw-rw-r-- 1 jenkins jenkins 656 Jul 20 10:02 Jenkinsfile 10:03:38 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 20 10:02 LICENSE 10:03:38 -rw-rw-r-- 1 jenkins jenkins 2334 Jul 20 10:02 Makefile 10:03:38 -rw-rw-r-- 1 jenkins jenkins 620 Jul 20 10:02 OWNERS.md 10:03:38 -rw-rw-r-- 1 jenkins jenkins 9390 Jul 20 10:02 README.md 10:03:38 -rw-rw-r-- 1 jenkins jenkins 5 Jul 20 10:02 VERSION 10:03:38 drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 10:02 bin 10:03:38 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 10:02 cmd 10:03:38 -rw-r--r-- 1 jenkins jenkins 7631 Jul 20 10:03 coverage.out 10:03:38 -rw-rw-r-- 1 jenkins jenkins 3302 Jul 20 10:02 go.mod 10:03:38 -rw-rw-r-- 1 jenkins jenkins 35534 Jul 20 10:02 go.sum 10:03:38 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 10:02 internal 10:03:38 drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 10:02 snap 10:03:38 -rw-rw-r-- 1 jenkins jenkins 228 Jul 20 10:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:03:38 + 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=fc507b4a86c486e8eb8c77e2bd6f75d86e5cdfa9 --label arch=amd64 --label version=0.0.0 . 10:03:38 Sending build context to Docker daemon 5.459MB 10:03:38 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 10:03:38 Step 2/24 : FROM ${BASE} AS builder 10:03:38 ---> 686d6a13bbe0 10:03:38 Step 3/24 : ARG MAKE='make build' 10:03:38 ---> Running in f9a1f685ead8 10:03:38 Removing intermediate container f9a1f685ead8 10:03:38 ---> 57a48c5c9357 10:03:38 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:03:38 ---> Running in e684f7f2c051 10:03:38 Removing intermediate container e684f7f2c051 10:03:38 ---> a59a4a56fc7f 10:03:38 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 10:03:38 ---> Running in 8d787d56c18b 10:03:38 Removing intermediate container 8d787d56c18b 10:03:38 ---> a6e93de2b844 10:03:38 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:03:38 ---> Running in e2a952d735f2 10:03:39 Removing intermediate container e2a952d735f2 10:03:39 ---> ac662b47bd82 10:03:39 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:03:39 ---> Running in 6224a6e1cd59 10:03:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:03:40 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:03:40 OK: 216 MiB in 55 packages 10:03:41 Removing intermediate container 6224a6e1cd59 10:03:41 ---> af44a114cb7a 10:03:41 Step 8/24 : WORKDIR /device-snmp-go 10:03:41 ---> Running in a7f0a6151349 10:03:41 Removing intermediate container a7f0a6151349 10:03:41 ---> 4a5cd129f605 10:03:41 Step 9/24 : COPY go.mod vendor* ./ 10:03:41 ---> 29051b611c3a 10:03:41 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:03:41 ---> Running in 2d60c78156db 10:03:42 Removing intermediate container 2d60c78156db 10:03:42 ---> a332d70ee9c6 10:03:42 Step 11/24 : COPY . . 10:03:42 ---> d59df59709b5 10:03:42 Step 12/24 : RUN ${MAKE} 10:03:42 ---> Running in 466f76bd7222 10:03:42 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.14 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 10:04:04 Removing intermediate container 466f76bd7222 10:04:04 ---> d0939ecb51b2 10:04:04 Step 13/24 : FROM alpine:3.16 10:04:04 3.16: Pulling from library/alpine 10:04:04 530afca65e2e: Pulling fs layer 10:04:04 530afca65e2e: Verifying Checksum 10:04:04 530afca65e2e: Download complete 10:04:04 530afca65e2e: Pull complete 10:04:04 Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 10:04:04 Status: Downloaded newer image for alpine:3.16 10:04:04 ---> d7d3d98c851f 10:04:04 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 10:04:05 ---> Running in 1610358e63e2 10:04:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:04:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:04:05 (1/6) Installing dumb-init (1.2.5-r1) 10:04:05 (2/6) Installing libgcc (11.2.1_git20220219-r2) 10:04:05 (3/6) Installing libsodium (1.0.18-r0) 10:04:05 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 10:04:05 (5/6) Installing libzmq (4.3.4-r0) 10:04:05 (6/6) Installing zeromq (4.3.4-r0) 10:04:05 Executing busybox-1.35.0-r15.trigger 10:04:05 OK: 8 MiB in 20 packages 10:04:06 Removing intermediate container 1610358e63e2 10:04:06 ---> 6f3af6558392 10:04:06 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 10:04:06 ---> 3e565644ab01 10:04:06 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 10:04:07 ---> 41e55af9af2a 10:04:07 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 10:04:07 ---> 204771ffd1ef 10:04:07 Step 18/24 : EXPOSE 59993 10:04:07 ---> Running in 8235d40d8fe8 10:04:07 Removing intermediate container 8235d40d8fe8 10:04:07 ---> c6feb9291868 10:04:07 Step 19/24 : EXPOSE 161 10:04:07 ---> Running in 74be5def9dc2 10:04:07 Removing intermediate container 74be5def9dc2 10:04:07 ---> 43886987ff5b 10:04:07 Step 20/24 : ENTRYPOINT ["/device-snmp"] 10:04:07 ---> Running in f1f76c264834 10:04:07 Removing intermediate container f1f76c264834 10:04:07 ---> 5ef9f5536dac 10:04:07 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 10:04:07 ---> Running in 321efd5d63f5 10:04:07 Removing intermediate container 321efd5d63f5 10:04:07 ---> 2a7b675db02f 10:04:07 Step 22/24 : LABEL arch=amd64 10:04:07 ---> Running in f52094055e9f 10:04:07 Removing intermediate container f52094055e9f 10:04:07 ---> 05640d01464c 10:04:07 Step 23/24 : LABEL git_sha=fc507b4a86c486e8eb8c77e2bd6f75d86e5cdfa9 10:04:07 ---> Running in 7753af5f02ef 10:04:07 Removing intermediate container 7753af5f02ef 10:04:07 ---> bdfd868d6b9d 10:04:07 Step 24/24 : LABEL version=0.0.0 10:04:07 ---> Running in 727460a92b58 10:04:07 Removing intermediate container 727460a92b58 10:04:07 ---> 763ce611d105 10:04:07 [Warning] One or more build-args [ARCH] were not consumed 10:04:07 Successfully built 763ce611d105 10:04:07 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:04:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:04:08 10:04:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:04:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:04:09 latest: Pulling from edgex-lftools-log-publisher 10:04:09 5eb5b503b376: Pulling fs layer 10:04:09 5c69ac0246d0: Pulling fs layer 10:04:09 ec43610c2a17: Pulling fs layer 10:04:09 3a2ae6a8a46f: Pulling fs layer 10:04:09 33b1e0a273af: Pulling fs layer 10:04:09 5d3b04190fa2: Pulling fs layer 10:04:09 2f39f015ded8: Pulling fs layer 10:04:09 3a2ae6a8a46f: Waiting 10:04:09 5d3b04190fa2: Waiting 10:04:09 33b1e0a273af: Waiting 10:04:09 5c69ac0246d0: Verifying Checksum 10:04:09 5c69ac0246d0: Download complete 10:04:09 3a2ae6a8a46f: Verifying Checksum 10:04:09 3a2ae6a8a46f: Download complete 10:04:09 33b1e0a273af: Verifying Checksum 10:04:09 33b1e0a273af: Download complete 10:04:09 5d3b04190fa2: Verifying Checksum 10:04:09 5d3b04190fa2: Download complete 10:04:09 ec43610c2a17: Verifying Checksum 10:04:09 ec43610c2a17: Download complete 10:04:09 5eb5b503b376: Verifying Checksum 10:04:09 5eb5b503b376: Download complete 10:04:09 2f39f015ded8: Verifying Checksum 10:04:09 2f39f015ded8: Download complete 10:04:10 5eb5b503b376: Pull complete 10:04:10 5c69ac0246d0: Pull complete 10:04:10 ec43610c2a17: Pull complete 10:04:11 3a2ae6a8a46f: Pull complete 10:04:11 33b1e0a273af: Pull complete 10:04:11 5d3b04190fa2: Pull complete 10:04:16 2f39f015ded8: Pull complete 10:04:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:04:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:04:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:04:17 prd-ubuntu20.04-docker-8c-8g-20572 does not seem to be running inside a container 10:04:17 $ 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-185 -v /w/workspace/gexfoundry_device-snmp-go_PR-185:/w/workspace/gexfoundry_device-snmp-go_PR-185:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-185@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-185@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:04:20 $ docker top 97a1e96442016bf391638174bbffea5e8485ef1faffcc97c1b0c3edac7f33d96 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:04:20 ---> job-cost.sh 10:04:20 lf-activate-venv: SKIPPING 10:04:20 INFO: No Stack... 10:04:21 INFO: Retrieving Pricing Info for: v3-standard-8 10:04:21 INFO: Archiving Costs [Pipeline] sh 10:04:21 + cat /w/workspace/gexfoundry_device-snmp-go_PR-185/archives/cost.csv 10:04:21 + cut -d, -f6 [Pipeline] lock 10:04:21 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-185-1-stack-cost] 10:04:21 Resource [jenkins-edgexfoundry-device-snmp-go-PR-185-1-stack-cost] did not exist. Created. 10:04:21 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-185-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:04:22 + echo total: 0.2199999988079071 [Pipeline] stash 10:04:22 Stashed 1 file(s) [Pipeline] } 10:04:22 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-185-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:04:22 $ docker stop --time=1 97a1e96442016bf391638174bbffea5e8485ef1faffcc97c1b0c3edac7f33d96 10:04:23 $ docker rm -f 97a1e96442016bf391638174bbffea5e8485ef1faffcc97c1b0c3edac7f33d96 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:04:28 Running on prd-ubuntu20.04-docker-arm64-4c-16g-20573 in /w/workspace/gexfoundry_device-snmp-go_PR-185 [Pipeline] { [Pipeline] ws 10:04:28 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 10:04:28 Selected Git installation does not exist. Using Default 10:04:28 The recommended git tool is: NONE 10:04:34 using credential edgex-jenkins-ssh 10:04:34 Cloning the remote Git repository 10:04:34 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 10:04:34 > git init /w/workspace/device-snmp-go/1 # timeout=10 10:04:35 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 10:04:35 > git --version # timeout=10 10:04:35 > git --version # 'git version 2.25.1' 10:04:35 using GIT_SSH to set credentials SSH Credentials for GitHub 10:04:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:04:36 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 10:04:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:04:36 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 10:04:36 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 10:04:36 using GIT_SSH to set credentials SSH Credentials for GitHub 10:04:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/185/head:refs/remotes/origin/PR-185 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:04:36 Merging remotes/origin/main commit f6828afe08f553138e4b56b0659b8be13fc1cd72 into PR head commit fc507b4a86c486e8eb8c77e2bd6f75d86e5cdfa9 10:04:37 Merge succeeded, producing fc507b4a86c486e8eb8c77e2bd6f75d86e5cdfa9 10:04:37 Checking out Revision fc507b4a86c486e8eb8c77e2bd6f75d86e5cdfa9 (PR-185) 10:04:36 > git config core.sparsecheckout # timeout=10 10:04:36 > git checkout -f fc507b4a86c486e8eb8c77e2bd6f75d86e5cdfa9 # timeout=10 10:04:36 > git remote # timeout=10 10:04:36 > git config --get remote.origin.url # timeout=10 10:04:36 using GIT_SSH to set credentials SSH Credentials for GitHub 10:04:37 > git merge f6828afe08f553138e4b56b0659b8be13fc1cd72 # timeout=10 10:04:37 > git rev-parse HEAD^{commit} # timeout=10 10:04:37 > git config core.sparsecheckout # timeout=10 10:04:37 > git checkout -f fc507b4a86c486e8eb8c77e2bd6f75d86e5cdfa9 # timeout=10 10:04:41 Commit message: "refactor(snap): edgex-snap-hooks related upgrade" 10:04:41 > git --version # timeout=10 10:04:41 > git --version # 'git version 2.25.1' 10:04:41 fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:04:42 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:04:42 % Total % Received % Xferd Average Speed Time Time Time Current 10:04:42 Dload Upload Total Spent Left Speed 10:04:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 101k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh 10:04:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:04:43 + sudo tee /etc/docker/daemon.new 10:04:43 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:04:43 { 10:04:43 "registry-mirrors": [ 10:04:43 "https://nexus3.edgexfoundry.org:10001" 10:04:43 ], 10:04:43 "bip": "10.250.0.254/24", 10:04:43 "hosts": [ 10:04:43 "tcp://0.0.0.0:5555", 10:04:43 "unix:///var/run/docker.sock" 10:04:43 ], 10:04:43 "mtu": 1458, 10:04:43 "selinux-enabled": true, 10:04:43 "seccomp-profile": "/etc/docker/seccomp.json" 10:04:43 } [Pipeline] sh 10:04:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:04:44 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:05:02 provisioning config files... 10:05:02 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config4648877290971474482tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:05:03 ---> docker-login.sh 10:05:03 nexus3.edgexfoundry.org:10001 10:05:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:04 Configure a credential helper to remove this warning. See 10:05:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:04 10:05:04 Login Succeeded 10:05:04 nexus3.edgexfoundry.org:10002 10:05:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:04 Configure a credential helper to remove this warning. See 10:05:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:04 10:05:04 Login Succeeded 10:05:04 nexus3.edgexfoundry.org:10003 10:05:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:04 Configure a credential helper to remove this warning. See 10:05:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:04 10:05:04 Login Succeeded 10:05:04 nexus3.edgexfoundry.org:10004 10:05:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:05 Configure a credential helper to remove this warning. See 10:05:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:05 10:05:05 Login Succeeded 10:05:05 docker.io 10:05:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:06 Configure a credential helper to remove this warning. See 10:05:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:06 10:05:06 Login Succeeded 10:05:06 ---> docker-login.sh ends [Pipeline] } 10:05:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:05:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:05:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:05:06 ========================================================= 10:05:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 10:05:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:07 + 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 . 10:05:07 Sending build context to Docker daemon 2.822MB 10:05:07 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 10:05:07 Step 2/12 : FROM ${BASE} AS builder 10:05:07 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:05:07 b3c136eddcbf: Pulling fs layer 10:05:07 c0a3192eca97: Pulling fs layer 10:05:07 a050256f5b6f: Pulling fs layer 10:05:07 656be50a0ddc: Pulling fs layer 10:05:07 2bbca73fdf42: Pulling fs layer 10:05:07 46d945488cbd: Pulling fs layer 10:05:07 8a5474983e97: Pulling fs layer 10:05:07 329c88fbcd65: Pulling fs layer 10:05:07 46d945488cbd: Waiting 10:05:07 656be50a0ddc: Waiting 10:05:07 8a5474983e97: Waiting 10:05:07 329c88fbcd65: Waiting 10:05:07 2bbca73fdf42: Waiting 10:05:07 a050256f5b6f: Verifying Checksum 10:05:07 a050256f5b6f: Download complete 10:05:07 c0a3192eca97: Verifying Checksum 10:05:07 c0a3192eca97: Download complete 10:05:07 2bbca73fdf42: Verifying Checksum 10:05:07 2bbca73fdf42: Download complete 10:05:07 b3c136eddcbf: Verifying Checksum 10:05:07 b3c136eddcbf: Download complete 10:05:07 46d945488cbd: Verifying Checksum 10:05:07 46d945488cbd: Download complete 10:05:08 b3c136eddcbf: Pull complete 10:05:09 329c88fbcd65: Verifying Checksum 10:05:09 329c88fbcd65: Download complete 10:05:09 c0a3192eca97: Pull complete 10:05:10 a050256f5b6f: Pull complete 10:05:10 8a5474983e97: Verifying Checksum 10:05:10 8a5474983e97: Download complete 10:05:10 656be50a0ddc: Verifying Checksum 10:05:10 656be50a0ddc: Download complete 10:05:26 656be50a0ddc: Pull complete 10:05:26 2bbca73fdf42: Pull complete 10:05:26 46d945488cbd: Pull complete 10:05:30 8a5474983e97: Pull complete 10:05:33 329c88fbcd65: Pull complete 10:05:33 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 10:05:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 10:05:33 ---> ff4287adb874 10:05:33 Step 3/12 : ARG MAKE='make build' 10:05:33 ---> Running in 8a78a58fbd43 10:05:34 Removing intermediate container 8a78a58fbd43 10:05:34 ---> e74998bcf2a7 10:05:34 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:05:34 ---> Running in 627418723da3 10:05:34 Removing intermediate container 627418723da3 10:05:34 ---> 26aee0bf9be9 10:05:34 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 10:05:34 ---> Running in 2078cec45509 10:05:35 Removing intermediate container 2078cec45509 10:05:35 ---> 11fc6c0316be 10:05:35 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:05:35 ---> Running in b1a28e40480a 10:05:37 Removing intermediate container b1a28e40480a 10:05:37 ---> 9e3841f1983c 10:05:37 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:05:37 ---> Running in 8e003a68ed5e 10:05:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:05:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:05:39 (1/4) Installing openssh-keygen (9.0_p1-r1) 10:05:40 (2/4) Installing libedit (20210910.3.1-r0) 10:05:40 (3/4) Installing openssh-client-common (9.0_p1-r1) 10:05:40 (4/4) Installing openssh-client-default (9.0_p1-r1) 10:05:40 Executing busybox-1.35.0-r13.trigger 10:05:40 OK: 226 MiB in 55 packages 10:05:41 Removing intermediate container 8e003a68ed5e 10:05:41 ---> bd09ee036337 10:05:41 Step 8/12 : WORKDIR /device-snmp-go 10:05:41 ---> Running in 5337d7bea78f 10:05:41 Removing intermediate container 5337d7bea78f 10:05:41 ---> f9b1c30430c0 10:05:41 Step 9/12 : COPY go.mod vendor* ./ 10:05:42 ---> 958ab3f6a46a 10:05:42 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:05:42 ---> Running in a0b134adecf3 10:06:29 Removing intermediate container a0b134adecf3 10:06:29 ---> 6c105fedd68e 10:06:29 Step 11/12 : COPY . . 10:06:29 ---> 362e513c5e83 10:06:29 Step 12/12 : RUN ${MAKE} 10:06:29 ---> Running in f84a9f4f0b4e 10:06:29 noop 10:06:29 Removing intermediate container f84a9f4f0b4e 10:06:29 ---> 1878c1488fa2 10:06:29 Successfully built 1878c1488fa2 10:06:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:06:29 + docker inspect -f . ci-base-image-arm64 10:06:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:06:29 prd-ubuntu20.04-docker-arm64-4c-16g-20573 does not seem to be running inside a container 10:06:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:06:31 $ docker top 0cceb6b1e351c71f0a02d5e3632739662b2049d8d27b91974914340d859e3f26 -eo pid,comm [Pipeline] { [Pipeline] sh 10:06:32 + go version 10:06:32 go version go1.18.3 linux/arm64 [Pipeline] } 10:06:32 $ docker stop --time=1 0cceb6b1e351c71f0a02d5e3632739662b2049d8d27b91974914340d859e3f26 10:06:33 $ docker rm -f 0cceb6b1e351c71f0a02d5e3632739662b2049d8d27b91974914340d859e3f26 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:06:34 + docker inspect -f . ci-base-image-arm64 10:06:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:06:35 prd-ubuntu20.04-docker-arm64-4c-16g-20573 does not seem to be running inside a container 10:06:35 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:06:36 $ docker top d75fd9e8d21966338904524415e3646a07a237d623751ebabc304a46078372b2 -eo pid,comm [Pipeline] { [Pipeline] sh 10:06:37 + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh 10:06:38 + make test 10:06:38 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 10:06:40 ? github.com/edgexfoundry/device-snmp-go [no test files] 10:08:02 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 10:08:02 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.043s coverage: 0.0% of statements 10:08:02 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:08:02 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:08:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:08:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:08:14 ./bin/test-attribution-txt.sh [Pipeline] echo 10:08:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:08:14 $ docker stop --time=1 d75fd9e8d21966338904524415e3646a07a237d623751ebabc304a46078372b2 10:08:16 $ docker rm -f d75fd9e8d21966338904524415e3646a07a237d623751ebabc304a46078372b2 [Pipeline] // withDockerContainer [Pipeline] sh 10:08:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:08:17 Warning: overwriting stash ‘coverage-report’ 10:08:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:08:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:08:18 + ls -al . 10:08:18 total 164 10:08:18 drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 10:06 . 10:08:18 drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 10:04 .. 10:08:18 -rw-rw-r-- 1 jenkins jenkins 6 Jul 20 10:04 .dockerignore 10:08:18 drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 10:04 .git 10:08:18 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 10:04 .github 10:08:18 -rw-rw-r-- 1 jenkins jenkins 328 Jul 20 10:04 .gitignore 10:08:18 -rw-rw-r-- 1 jenkins jenkins 41 Jul 20 10:04 .golangci.yml 10:08:18 -rw-rw-r-- 1 jenkins jenkins 8556 Jul 20 10:04 Attribution.txt 10:08:18 -rw-rw-r-- 1 jenkins jenkins 6948 Jul 20 10:04 CHANGELOG.md 10:08:18 -rw-rw-r-- 1 jenkins jenkins 1518 Jul 20 10:04 Dockerfile 10:08:18 -rw-rw-r-- 1 jenkins jenkins 677 Jul 20 10:04 GOVERNANCE.md 10:08:18 -rw-rw-r-- 1 jenkins jenkins 656 Jul 20 10:04 Jenkinsfile 10:08:18 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 20 10:04 LICENSE 10:08:18 -rw-rw-r-- 1 jenkins jenkins 2334 Jul 20 10:04 Makefile 10:08:18 -rw-rw-r-- 1 jenkins jenkins 620 Jul 20 10:04 OWNERS.md 10:08:18 -rw-rw-r-- 1 jenkins jenkins 9390 Jul 20 10:04 README.md 10:08:18 -rw-rw-r-- 1 jenkins jenkins 5 Jul 20 10:02 VERSION 10:08:18 drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 10:04 bin 10:08:18 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 10:04 cmd 10:08:18 -rw-r--r-- 1 jenkins jenkins 7631 Jul 20 10:07 coverage.out 10:08:18 -rw-rw-r-- 1 jenkins jenkins 3302 Jul 20 10:04 go.mod 10:08:18 -rw-rw-r-- 1 jenkins jenkins 35534 Jul 20 10:04 go.sum 10:08:18 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 10:04 internal 10:08:18 drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 10:04 snap 10:08:18 -rw-rw-r-- 1 jenkins jenkins 228 Jul 20 10:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:08:19 + 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=fc507b4a86c486e8eb8c77e2bd6f75d86e5cdfa9 --label arch=arm64 --label version=0.0.0 . 10:08:19 Sending build context to Docker daemon 2.83MB 10:08:19 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 10:08:19 Step 2/24 : FROM ${BASE} AS builder 10:08:19 ---> 1878c1488fa2 10:08:19 Step 3/24 : ARG MAKE='make build' 10:08:19 ---> Running in 7015296c2d6e 10:08:20 Removing intermediate container 7015296c2d6e 10:08:20 ---> c124063b562b 10:08:20 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:08:20 ---> Running in a5e78cbed05f 10:08:20 Removing intermediate container a5e78cbed05f 10:08:20 ---> 16161dd27275 10:08:20 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 10:08:20 ---> Running in cd7f53b437d7 10:08:21 Removing intermediate container cd7f53b437d7 10:08:21 ---> b6dd70952a1f 10:08:21 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:08:21 ---> Running in 6c6665bf7f32 10:08:23 Removing intermediate container 6c6665bf7f32 10:08:23 ---> 0f1c51245d43 10:08:23 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:08:23 ---> Running in 761233c9ae65 10:08:23 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:08:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:08:25 OK: 226 MiB in 55 packages 10:08:26 Removing intermediate container 761233c9ae65 10:08:26 ---> 14b4e9cfb315 10:08:26 Step 8/24 : WORKDIR /device-snmp-go 10:08:26 ---> Running in 75d9fdf29d30 10:08:26 Removing intermediate container 75d9fdf29d30 10:08:26 ---> d4f13ed6830e 10:08:26 Step 9/24 : COPY go.mod vendor* ./ 10:08:27 ---> e86fe10e22ad 10:08:27 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:08:27 ---> Running in 928ae4fe4251 10:08:29 Removing intermediate container 928ae4fe4251 10:08:29 ---> 5aab3c38043b 10:08:29 Step 11/24 : COPY . . 10:08:30 ---> 8f4a36594dab 10:08:30 Step 12/24 : RUN ${MAKE} 10:08:30 ---> Running in 62fdd20f84e5 10:08:31 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.14 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 10:10:38 Removing intermediate container 62fdd20f84e5 10:10:38 ---> 295966cd2c3a 10:10:38 Step 13/24 : FROM alpine:3.16 10:10:38 3.16: Pulling from library/alpine 10:10:38 f97344484467: Pulling fs layer 10:10:38 f97344484467: Verifying Checksum 10:10:38 f97344484467: Download complete 10:10:38 f97344484467: Pull complete 10:10:38 Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 10:10:38 Status: Downloaded newer image for alpine:3.16 10:10:38 ---> 3d81c46cd875 10:10:38 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 10:10:38 ---> Running in 587fdcbd62ff 10:10:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:10:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:10:38 (1/6) Installing dumb-init (1.2.5-r1) 10:10:38 (2/6) Installing libgcc (11.2.1_git20220219-r2) 10:10:38 (3/6) Installing libsodium (1.0.18-r0) 10:10:38 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 10:10:38 (5/6) Installing libzmq (4.3.4-r0) 10:10:38 (6/6) Installing zeromq (4.3.4-r0) 10:10:38 Executing busybox-1.35.0-r15.trigger 10:10:38 OK: 8 MiB in 20 packages 10:10:38 Removing intermediate container 587fdcbd62ff 10:10:38 ---> 24b54bbabbc9 10:10:38 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 10:10:38 ---> 17e2607aa208 10:10:38 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 10:10:38 ---> c529003350ba 10:10:38 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 10:10:39 ---> 1b0572dacc9e 10:10:39 Step 18/24 : EXPOSE 59993 10:10:39 ---> Running in 6c1dc54e4d9e 10:10:39 Removing intermediate container 6c1dc54e4d9e 10:10:39 ---> f490a76de93a 10:10:39 Step 19/24 : EXPOSE 161 10:10:39 ---> Running in fa9390aadc6a 10:10:39 Removing intermediate container fa9390aadc6a 10:10:39 ---> 0fca9de98326 10:10:39 Step 20/24 : ENTRYPOINT ["/device-snmp"] 10:10:39 ---> Running in a1bd8375ba88 10:10:39 Removing intermediate container a1bd8375ba88 10:10:39 ---> 43fe92f783b5 10:10:39 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 10:10:40 ---> Running in 4cfb981d3486 10:10:40 Removing intermediate container 4cfb981d3486 10:10:40 ---> b90d3d501129 10:10:40 Step 22/24 : LABEL arch=arm64 10:10:40 ---> Running in 87a10a5427b6 10:10:40 Removing intermediate container 87a10a5427b6 10:10:40 ---> fbfa84822374 10:10:40 Step 23/24 : LABEL git_sha=fc507b4a86c486e8eb8c77e2bd6f75d86e5cdfa9 10:10:40 ---> Running in d84a246cf116 10:10:41 Removing intermediate container d84a246cf116 10:10:41 ---> 0c0349881d44 10:10:41 Step 24/24 : LABEL version=0.0.0 10:10:41 ---> Running in de5c7759c149 10:10:41 Removing intermediate container de5c7759c149 10:10:41 ---> a278cb1b0187 10:10:41 [Warning] One or more build-args [ARCH] were not consumed 10:10:41 Successfully built a278cb1b0187 10:10:41 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 10:10:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:10:42 10:10:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:10:43 arm64: Pulling from edgex-lftools-log-publisher 10:10:43 8998bd30e6a1: Pulling fs layer 10:10:43 04944245beec: Pulling fs layer 10:10:43 699f458cf7ca: Pulling fs layer 10:10:43 765212b225bb: Pulling fs layer 10:10:43 f23df028b6ca: Pulling fs layer 10:10:43 d65c8cfc05b1: Pulling fs layer 10:10:43 2437ff75d9bd: Pulling fs layer 10:10:43 f23df028b6ca: Waiting 10:10:43 d65c8cfc05b1: Waiting 10:10:43 765212b225bb: Waiting 10:10:43 04944245beec: Download complete 10:10:43 765212b225bb: Verifying Checksum 10:10:43 765212b225bb: Download complete 10:10:43 f23df028b6ca: Verifying Checksum 10:10:43 f23df028b6ca: Download complete 10:10:43 d65c8cfc05b1: Verifying Checksum 10:10:43 d65c8cfc05b1: Download complete 10:10:43 699f458cf7ca: Verifying Checksum 10:10:43 699f458cf7ca: Download complete 10:10:43 8998bd30e6a1: Verifying Checksum 10:10:43 8998bd30e6a1: Download complete 10:10:45 2437ff75d9bd: Verifying Checksum 10:10:45 2437ff75d9bd: Download complete 10:10:47 8998bd30e6a1: Pull complete 10:10:48 04944245beec: Pull complete 10:10:49 699f458cf7ca: Pull complete 10:10:50 765212b225bb: Pull complete 10:10:51 f23df028b6ca: Pull complete 10:10:51 d65c8cfc05b1: Pull complete 10:11:06 2437ff75d9bd: Pull complete 10:11:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:11:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:11:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:11:06 prd-ubuntu20.04-docker-arm64-4c-16g-20573 does not seem to be running inside a container 10:11:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:11:09 $ docker top e6a860cac48b22e77c3804992d433ea5a285e6bbe1ded20f06a801c596625e1c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:11:10 ---> job-cost.sh 10:11:10 lf-activate-venv: SKIPPING 10:11:10 INFO: No Stack... 10:11:10 INFO: Retrieving Pricing Info for: v3-standard-4 10:11:11 INFO: Archiving Costs [Pipeline] sh 10:11:12 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 10:11:12 + cut -d, -f6 [Pipeline] lock 10:11:12 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-185-1-stack-cost] 10:11:12 Resource [jenkins-edgexfoundry-device-snmp-go-PR-185-1-stack-cost] did not exist. Created. 10:11:12 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-185-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:11:13 /w/workspace/device-snmp-go/1@tmp/durable-6b047f45/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:11:13 + echo total: 0.10999999940395355 [Pipeline] stash 10:11:13 Warning: overwriting stash ‘stack-cost’ 10:11:13 Stashed 1 file(s) [Pipeline] } 10:11:13 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-185-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:11:13 $ docker stop --time=1 e6a860cac48b22e77c3804992d433ea5a285e6bbe1ded20f06a801c596625e1c 10:11:15 $ docker rm -f e6a860cac48b22e77c3804992d433ea5a285e6bbe1ded20f06a801c596625e1c [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 10:11:16 provisioning config files... 10:11:16 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-185@tmp/config6062062752159969887tmp [Pipeline] { [Pipeline] sh 10:11:16 + set +x 10:11:16 + curl -s https://codecov.io/bash 10:11:16 + bash -s -- 10:11:16 10:11:16 _____ _ 10:11:16 / ____| | | 10:11:16 | | ___ __| | ___ ___ _____ __ 10:11:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:11:16 | |___| (_) | (_| | __/ (_| (_) \ V / 10:11:16 \_____\___/ \__,_|\___|\___\___/ \_/ 10:11:16 Bash-1.0.6 10:11:16 10:11:16 10:11:16 ==> git version 2.25.1 found 10:11:16 ==> 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 10:11:16 Release-Date: 2020-01-08 10:11:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:11:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:11:16 ==> Jenkins CI detected. 10:11:16 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-185 10:11:16 project root: . 10:11:16 --> token set from env 10:11:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:11:16 ==> Running gcov in . (disable via -X gcov) 10:11:16 ==> Python coveragepy not found 10:11:16 ==> Searching for coverage reports in: 10:11:16 + . 10:11:16 -> Found 1 reports 10:11:16 ==> Detecting git/mercurial file structure 10:11:16 ==> Reading reports 10:11:16 + ./coverage.out bytes=7631 10:11:16 ==> Appending adjustments 10:11:16 https://docs.codecov.io/docs/fixing-reports 10:11:17 + Found adjustments 10:11:17 ==> Gzipping contents 10:11:17 4.0K /tmp/codecov.8AefNo.gz 10:11:17 ==> Uploading reports 10:11:17 url: https://codecov.io 10:11:17 query: branch=PR-185&commit=fc507b4a86c486e8eb8c77e2bd6f75d86e5cdfa9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-185%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=185&job=&cmd_args= 10:11:17 -> Pinging Codecov 10:11:17 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-185&commit=fc507b4a86c486e8eb8c77e2bd6f75d86e5cdfa9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-185%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=185&job=&cmd_args= 10:11:17 -> Uploading to 10:11:17 https://storage.googleapis.com/codecov/v4/raw/2022-07-20/6C56EA5C29638FB4528AC87E60AF5AE0/fc507b4a86c486e8eb8c77e2bd6f75d86e5cdfa9/bedfda37-6b75-4479-8d5d-fc74a3b69c66.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220720%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220720T101117Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=760412c40de2820fcc6a53d94335b86a646c140d2360b127c5a50cb76781676d 10:11:17 % Total % Received % Xferd Average Speed Time Time Time Current 10:11:17 Dload Upload Total Spent Left Speed 10:11:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1532 0 0 100 1532 0 6689 --:--:-- --:--:-- --:--:-- 6689 10:11:17 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/fc507b4a86c486e8eb8c77e2bd6f75d86e5cdfa9 [Pipeline] } 10:11:17 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 10:11:19 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-185/archives ] 10:11:19 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-185/archives 10:11:19 total 16 10:11:19 drwxr-xr-x 3 root root 4096 Jul 20 10:04 . 10:11:19 drwxrwxr-x 10 jenkins jenkins 4096 Jul 20 10:04 .. 10:11:19 drwxr-xr-x 2 root root 4096 Jul 20 10:04 cost 10:11:19 -rw-r--r-- 1 root root 85 Jul 20 10:04 cost.csv 10:11:19 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-185/archives 10:11:19 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-185/archives 10:11:19 total 16 10:11:19 drwxr-xr-x 3 jenkins jenkins 4096 Jul 20 10:04 . 10:11:19 drwxrwxr-x 10 jenkins jenkins 4096 Jul 20 10:04 .. 10:11:19 drwxr-xr-x 2 jenkins jenkins 4096 Jul 20 10:04 cost 10:11:19 -rw-r--r-- 1 jenkins jenkins 85 Jul 20 10:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:11:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:11:20 ---> package-listing.sh 10:11:20 ++ facter osfamily 10:11:20 ++ tr '[:upper:]' '[:lower:]' 10:11:20 + OS_FAMILY=debian 10:11:20 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-185 10:11:20 + START_PACKAGES=/tmp/packages_start.txt 10:11:20 + END_PACKAGES=/tmp/packages_end.txt 10:11:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:11:20 + PACKAGES=/tmp/packages_start.txt 10:11:20 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-185 ']' 10:11:20 + PACKAGES=/tmp/packages_end.txt 10:11:20 + case "${OS_FAMILY}" in 10:11:20 + dpkg -l 10:11:20 + grep '^ii' 10:11:20 + '[' -f /tmp/packages_start.txt ']' 10:11:20 + '[' -f /tmp/packages_end.txt ']' 10:11:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:11:20 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-185 ']' 10:11:20 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-185/archives/ 10:11:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-185/archives/ [Pipeline] echo 10:11:20 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-185/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:11:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:11:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:11:21 prd-ubuntu20.04-docker-8c-8g-20572 does not seem to be running inside a container 10:11:21 $ 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-185/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-185 -v /w/workspace/gexfoundry_device-snmp-go_PR-185:/w/workspace/gexfoundry_device-snmp-go_PR-185:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-185@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-185@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:11:22 $ docker top 06698743829a916c291dbe8651e49fee4880832a2d9a16024bd1cdc18bad1e2f -eo pid,comm [Pipeline] { [Pipeline] sh 10:11:22 + touch /tmp/pre-build-complete [Pipeline] sh 10:11:22 + mkdir -p /var/log/sysstat [Pipeline] sh 10:11:23 + ls /var/log/sa-host 10:11:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:11:23 provisioning config files... 10:11:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-185@tmp/config7859845767353087677tmp [Pipeline] { [Pipeline] echo 10:11:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:11:23 ---> create-netrc.sh [Pipeline] } 10:11:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:11:24 ---> python-tools-install.sh [Pipeline] echo 10:11:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:11:24 ---> sudo-logs.sh 10:11:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:11:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:11:24 ---> job-cost.sh 10:11:24 lf-activate-venv: SKIPPING 10:11:24 DEBUG: total: 0.2199999988079071 10:11:24 INFO: Retrieving Stack Cost... 10:11:25 INFO: Retrieving Pricing Info for: v3-standard-8 10:11:25 INFO: Archiving Costs [Pipeline] echo 10:11:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:11:26 ---> logs-deploy.sh 10:11:26 lf-activate-venv: SKIPPING 10:11:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-185/1 10:11:26 INFO: archiving workspace using pattern(s): 10:11:27 Archives upload complete. 10:11:27 INFO: archiving logs to Nexus