Pull request #209 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-snmp-go Obtained Jenkinsfile from 941b3caded248fef1df50949a47e5045e56dbbdf+d1c7c2ea98aab23790d51b6eaeef7bb46474233e (6229e32ba7860e6f967c9bef3763803666c7adb1) 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-ssh18053448429725516263.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh7103569112180625219.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-209/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-209/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12941662564975438688.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-209/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1189780535640673092.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh12942097395210712983.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-209/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-209/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13812899788546405244.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-1580 in /w/workspace/gexfoundry_device-snmp-go_PR-209 [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-209 # 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 > 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/209/head:refs/remotes/origin/PR-209 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d1c7c2ea98aab23790d51b6eaeef7bb46474233e into PR head commit 941b3caded248fef1df50949a47e5045e56dbbdf Merge succeeded, producing 941b3caded248fef1df50949a47e5045e56dbbdf Checking out Revision 941b3caded248fef1df50949a47e5045e56dbbdf (PR-209) > git config core.sparsecheckout # timeout=10 > git checkout -f 941b3caded248fef1df50949a47e5045e56dbbdf # 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 d1c7c2ea98aab23790d51b6eaeef7bb46474233e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 941b3caded248fef1df50949a47e5045e56dbbdf # timeout=10 Commit message: "refactor!: Rename command line flags for the sake of consistency" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:16:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:16:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:16:44 ========================================================= 16:16:44 EdgeX Global Pipelines Version Info 16:16:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:16:45 ------------------- 16:16:45 stable info: 16:16:45 ------------------- 16:16:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:16:45 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 16:16:45 Message: update stable to v1.0.244 16:16:45 ------------------- 16:16:45 experimental info: 16:16:45 ------------------- 16:16:45 Commited By: **** collab-it+edgex@linuxfoundation.org 16:16:45 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 16:16:45 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:16:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 16:16:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 16:16:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:16:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:16:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:16:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:16:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:16:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:16:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:16:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:16:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:16:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 16:16:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:16:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:16:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:16:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:16:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:16:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:16:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:16:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:16:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:16:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:16:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:16:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:16:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:16:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:16:47 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:16:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-209 [Pipeline] echo 16:16:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-209 [Pipeline] echo 16:16:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-209 [Pipeline] echo 16:16:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 941b3caded248fef1df50949a47e5045e56dbbdf [Pipeline] echo 16:16:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 941b3ca [Pipeline] echo 16:16:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:16:47 provisioning config files... 16:16:47 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-209@tmp/config1815949482710978980tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:16:47 ---> docker-login.sh 16:16:47 nexus3.edgexfoundry.org:10001 16:16:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:48 Configure a credential helper to remove this warning. See 16:16:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:48 16:16:48 Login Succeeded 16:16:48 nexus3.edgexfoundry.org:10002 16:16:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:48 Configure a credential helper to remove this warning. See 16:16:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:48 16:16:48 Login Succeeded 16:16:48 nexus3.edgexfoundry.org:10003 16:16:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:48 Configure a credential helper to remove this warning. See 16:16:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:48 16:16:48 Login Succeeded 16:16:48 nexus3.edgexfoundry.org:10004 16:16:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:48 Configure a credential helper to remove this warning. See 16:16:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:48 16:16:48 Login Succeeded 16:16:48 docker.io 16:16:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:49 Configure a credential helper to remove this warning. See 16:16:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:49 16:16:49 Login Succeeded 16:16:49 ---> docker-login.sh ends [Pipeline] } 16:16:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:16:49 + git rev-list -1 --merges 941b3caded248fef1df50949a47e5045e56dbbdf~1..941b3caded248fef1df50949a47e5045e56dbbdf [Pipeline] echo 16:16:49 -----------> git rev-list -1 --merges 941b3caded248fef1df50949a47e5045e56dbbdf~1..941b3caded248fef1df50949a47e5045e56dbbdf 941b3caded248fef1df50949a47e5045e56dbbdf [false] [Pipeline] sh 16:16:50 + git log --format=format:%s -1 941b3caded248fef1df50949a47e5045e56dbbdf [Pipeline] echo 16:16:50 ========================================================= 16:16:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:16:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:16:50 + git log --format=format:%s -1 941b3caded248fef1df50949a47e5045e56dbbdf [Pipeline] echo 16:16:50 [semverPrep] GIT_COMMIT: 941b3caded248fef1df50949a47e5045e56dbbdf, Commit Message: refactor!: Rename command line flags for the sake of consistency [Pipeline] echo 16:16:50 [semverPrep] This is not a build commit. [Pipeline] sh 16:16:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:16:51 + grep -v github /etc/ssh/ssh_known_hosts 16:16:51 + [ -e /tmp/ssh_known_hosts ] 16:16:51 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:16:51 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:16:51 + sudo tee -a /etc/ssh/ssh_known_hosts 16:16:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:16:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:16:51 16:16:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:16:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:16:52 0.1.4: Pulling from edgex-devops/py-git-semver 16:16:52 b85a868b505f: Pulling fs layer 16:16:52 e2be974225ed: Pulling fs layer 16:16:52 339a4e72a1f5: Pulling fs layer 16:16:52 988bab9f4d93: Pulling fs layer 16:16:52 1469e6f7b9e6: Pulling fs layer 16:16:52 eaf3925da568: Pulling fs layer 16:16:52 bab4dde63d76: Pulling fs layer 16:16:52 bde34c3a00c8: Pulling fs layer 16:16:52 b352a97aabf1: Pulling fs layer 16:16:52 4872d77fe225: Pulling fs layer 16:16:52 5851b861e8e6: Pulling fs layer 16:16:52 bab4dde63d76: Waiting 16:16:52 bde34c3a00c8: Waiting 16:16:52 988bab9f4d93: Waiting 16:16:52 b352a97aabf1: Waiting 16:16:52 4872d77fe225: Waiting 16:16:52 1469e6f7b9e6: Waiting 16:16:52 5851b861e8e6: Waiting 16:16:52 eaf3925da568: Waiting 16:16:52 e2be974225ed: Download complete 16:16:52 988bab9f4d93: Download complete 16:16:52 339a4e72a1f5: Verifying Checksum 16:16:52 339a4e72a1f5: Download complete 16:16:52 1469e6f7b9e6: Verifying Checksum 16:16:52 1469e6f7b9e6: Download complete 16:16:52 eaf3925da568: Verifying Checksum 16:16:52 eaf3925da568: Download complete 16:16:52 bde34c3a00c8: Verifying Checksum 16:16:52 bde34c3a00c8: Download complete 16:16:52 b352a97aabf1: Download complete 16:16:52 b85a868b505f: Verifying Checksum 16:16:52 b85a868b505f: Download complete 16:16:52 4872d77fe225: Download complete 16:16:52 5851b861e8e6: Download complete 16:16:52 bab4dde63d76: Verifying Checksum 16:16:52 bab4dde63d76: Download complete 16:16:53 b85a868b505f: Pull complete 16:16:53 e2be974225ed: Pull complete 16:16:54 339a4e72a1f5: Pull complete 16:16:54 988bab9f4d93: Pull complete 16:16:54 1469e6f7b9e6: Pull complete 16:16:54 eaf3925da568: Pull complete 16:16:56 bab4dde63d76: Pull complete 16:16:56 bde34c3a00c8: Pull complete 16:16:56 b352a97aabf1: Pull complete 16:16:56 4872d77fe225: Pull complete 16:16:57 5851b861e8e6: Pull complete 16:16:57 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:16:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:16:57 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:16:57 prd-ubuntu20.04-docker-8c-8g-1580 does not seem to be running inside a container 16:16:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-209 -v /w/workspace/gexfoundry_device-snmp-go_PR-209:/w/workspace/gexfoundry_device-snmp-go_PR-209:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-209@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-209@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 16:17:00 $ docker top db33461483a1639e312e4040422613c6c3f985b3b54db7e3b368ecd05415f14c -eo pid,comm 16:17:00 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). 16:17:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:17:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:17:00 [ssh-agent] Looking for ssh-agent implementation... 16:17:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:17:00 $ docker exec db33461483a1639e312e4040422613c6c3f985b3b54db7e3b368ecd05415f14c ssh-agent 16:17:00 SSH_AUTH_SOCK=/tmp/ssh-iMafvW2S9Bys/agent.32 16:17:00 SSH_AGENT_PID=38 16:17:00 Running ssh-add (command line suppressed) 16:17:00 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-209@tmp/private_key_9321697182268348255.key (/w/workspace/gexfoundry_device-snmp-go_PR-209@tmp/private_key_9321697182268348255.key) 16:17:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:17:01 + git tag --points-at HEAD [Pipeline] } 16:17:01 $ docker exec --env ******** --env ******** db33461483a1639e312e4040422613c6c3f985b3b54db7e3b368ecd05415f14c ssh-agent -k 16:17:01 unset SSH_AUTH_SOCK; 16:17:01 unset SSH_AGENT_PID; 16:17:01 echo Agent pid 38 killed; 16:17:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:17:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:17:01 [ssh-agent] Looking for ssh-agent implementation... 16:17:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:17:01 $ docker exec db33461483a1639e312e4040422613c6c3f985b3b54db7e3b368ecd05415f14c ssh-agent 16:17:01 SSH_AUTH_SOCK=/tmp/ssh-Z7wQ4bgVhXZF/agent.70 16:17:01 SSH_AGENT_PID=76 16:17:01 Running ssh-add (command line suppressed) 16:17:01 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-209@tmp/private_key_638775734352174750.key (/w/workspace/gexfoundry_device-snmp-go_PR-209@tmp/private_key_638775734352174750.key) 16:17:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:17:02 + git semver init 16:17:02 2023-01-10 16:17:02,234 [run_init] DEBUG init version:0.0.0 force:False 16:17:02 2023-01-10 16:17:02,235 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-209/.semver 16:17:02 2023-01-10 16:17:02,236 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-209/.semver 16:17:02 2023-01-10 16:17:02,236 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-209/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-209, universal_newlines=False, shell=None, istream=None) 16:17:03 2023-01-10 16:17:03,040 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-209/.git/info/exclude 16:17:03 2023-01-10 16:17:03,040 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-209/.semver/PR-209 with force:False 16:17:03 2023-01-10 16:17:03,041 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-209/.semver/PR-209 16:17:03 2023-01-10 16:17:03,045 [execute] INFO git cat-file --batch-check 16:17:03 2023-01-10 16:17:03,046 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-209/.semver, universal_newlines=False, shell=None, istream=) 16:17:03 2023-01-10 16:17:03,052 [execute] INFO git cat-file --batch 16:17:03 2023-01-10 16:17:03,052 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-209/.semver, universal_newlines=False, shell=None, istream=) 16:17:03 2023-01-10 16:17:03,057 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-209/.semver/PR-209 16:17:03 0.0.0 [Pipeline] } 16:17:03 $ docker exec --env ******** --env ******** db33461483a1639e312e4040422613c6c3f985b3b54db7e3b368ecd05415f14c ssh-agent -k 16:17:03 unset SSH_AUTH_SOCK; 16:17:03 unset SSH_AGENT_PID; 16:17:03 echo Agent pid 76 killed; 16:17:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:17:03 + git semver [Pipeline] } 16:17:04 $ docker stop --time=1 db33461483a1639e312e4040422613c6c3f985b3b54db7e3b368ecd05415f14c 16:17:05 $ docker rm -f --volumes db33461483a1639e312e4040422613c6c3f985b3b54db7e3b368ecd05415f14c [Pipeline] // withDockerContainer [Pipeline] sh 16:17:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:17:06 Stashed 1 file(s) [Pipeline] echo 16:17:06 [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 16:17:06 provisioning config files... 16:17:06 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-209@tmp/config11277491206313810346tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:17:07 ---> docker-login.sh 16:17:07 nexus3.edgexfoundry.org:10001 16:17:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:07 Configure a credential helper to remove this warning. See 16:17:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:07 16:17:07 Login Succeeded 16:17:07 nexus3.edgexfoundry.org:10002 16:17:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:07 Configure a credential helper to remove this warning. See 16:17:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:07 16:17:07 Login Succeeded 16:17:07 nexus3.edgexfoundry.org:10003 16:17:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:07 Configure a credential helper to remove this warning. See 16:17:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:07 16:17:07 Login Succeeded 16:17:07 nexus3.edgexfoundry.org:10004 16:17:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:07 Configure a credential helper to remove this warning. See 16:17:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:07 16:17:07 Login Succeeded 16:17:07 docker.io 16:17:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:07 Configure a credential helper to remove this warning. See 16:17:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:07 16:17:07 Login Succeeded 16:17:07 ---> docker-login.sh ends [Pipeline] } 16:17:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:17:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:17:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:17:07 ========================================================= 16:17:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:17:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:17:08 + 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 . 16:17:08 Sending build context to Docker daemon 5.659MB 16:17:08 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 16:17:08 Step 2/12 : FROM ${BASE} AS builder 16:17:08 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:17:08 213ec9aee27d: Pulling fs layer 16:17:08 4583459ba037: Pulling fs layer 16:17:08 93c1e223e6f2: Pulling fs layer 16:17:08 53926ce57604: Pulling fs layer 16:17:08 21b2b0c7a3f4: Pulling fs layer 16:17:08 22ff95d597cd: Pulling fs layer 16:17:08 12d6caf4c0d1: Pulling fs layer 16:17:08 96b7cbca73a9: Pulling fs layer 16:17:08 53926ce57604: Waiting 16:17:08 a7acece74701: Pulling fs layer 16:17:08 22ff95d597cd: Waiting 16:17:08 12d6caf4c0d1: Waiting 16:17:08 96b7cbca73a9: Waiting 16:17:08 a7acece74701: Waiting 16:17:08 93c1e223e6f2: Download complete 16:17:08 4583459ba037: Verifying Checksum 16:17:08 4583459ba037: Download complete 16:17:08 21b2b0c7a3f4: Verifying Checksum 16:17:08 21b2b0c7a3f4: Download complete 16:17:08 22ff95d597cd: Download complete 16:17:08 213ec9aee27d: Verifying Checksum 16:17:08 213ec9aee27d: Download complete 16:17:08 12d6caf4c0d1: Download complete 16:17:08 213ec9aee27d: Pull complete 16:17:08 a7acece74701: Verifying Checksum 16:17:08 a7acece74701: Download complete 16:17:09 4583459ba037: Pull complete 16:17:09 93c1e223e6f2: Pull complete 16:17:09 53926ce57604: Verifying Checksum 16:17:09 53926ce57604: Download complete 16:17:09 96b7cbca73a9: Verifying Checksum 16:17:09 96b7cbca73a9: Download complete 16:17:13 53926ce57604: Pull complete 16:17:13 21b2b0c7a3f4: Pull complete 16:17:13 22ff95d597cd: Pull complete 16:17:13 12d6caf4c0d1: Pull complete 16:17:15 96b7cbca73a9: Pull complete 16:17:16 a7acece74701: Pull complete 16:17:16 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 16:17:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:17:16 ---> db6d94c90886 16:17:16 Step 3/12 : ARG ADD_BUILD_TAGS="" 16:17:21 Still waiting to schedule task 16:17:21 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 16:17:21 ---> Running in e1d6031793b0 16:17:21 Removing intermediate container e1d6031793b0 16:17:21 ---> fc7f54636c41 16:17:21 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:17:21 ---> Running in e97ce1e82da1 16:17:21 Removing intermediate container e97ce1e82da1 16:17:21 ---> ee4f628cbc77 16:17:21 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:17:21 ---> Running in f0bdef4255d6 16:17:21 Removing intermediate container f0bdef4255d6 16:17:21 ---> 0febc4883424 16:17:21 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 16:17:21 ---> Running in 5eb48b6cc2b2 16:17:21 Removing intermediate container 5eb48b6cc2b2 16:17:21 ---> 6b192007326d 16:17:21 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:17:21 ---> Running in db190e1d3e9a 16:17:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:17:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:17:22 (1/4) Installing openssh-keygen (9.0_p1-r2) 16:17:22 (2/4) Installing libedit (20210910.3.1-r0) 16:17:22 (3/4) Installing openssh-client-common (9.0_p1-r2) 16:17:22 (4/4) Installing openssh-client-default (9.0_p1-r2) 16:17:22 Executing busybox-1.35.0-r17.trigger 16:17:22 OK: 216 MiB in 55 packages 16:17:23 Removing intermediate container db190e1d3e9a 16:17:23 ---> c0936a72426b 16:17:23 Step 8/12 : WORKDIR /device-snmp-go 16:17:23 ---> Running in 933c412570fc 16:17:23 Removing intermediate container 933c412570fc 16:17:23 ---> 057205b0fb16 16:17:23 Step 9/12 : COPY go.mod vendor* ./ 16:17:23 ---> 876d62797caa 16:17:23 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:17:23 ---> Running in f6d0ec1d5b21 16:18:02 Removing intermediate container f6d0ec1d5b21 16:18:02 ---> 7ad2190feb02 16:18:02 Step 11/12 : COPY . . 16:18:02 ---> 4681d61aa318 16:18:02 Step 12/12 : RUN ${MAKE} 16:18:02 ---> Running in d96b653af7c1 16:18:02 noop 16:18:02 Removing intermediate container d96b653af7c1 16:18:02 ---> 70bc62daec92 16:18:02 Successfully built 70bc62daec92 16:18:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:18:02 + docker inspect -f . ci-base-image-x86_64 16:18:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:18:02 prd-ubuntu20.04-docker-8c-8g-1580 does not seem to be running inside a container 16:18:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-209 -v /w/workspace/gexfoundry_device-snmp-go_PR-209:/w/workspace/gexfoundry_device-snmp-go_PR-209:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-209@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-209@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 16:18:03 $ docker top 51b3d59bd3be4b0a515d38a8694995f24a9e54e63a01a22d01dd5dc3df8e15b5 -eo pid,comm [Pipeline] { [Pipeline] sh 16:18:03 + go version 16:18:03 go version go1.18.7 linux/amd64 [Pipeline] } 16:18:03 $ docker stop --time=1 51b3d59bd3be4b0a515d38a8694995f24a9e54e63a01a22d01dd5dc3df8e15b5 16:18:04 $ docker rm -f --volumes 51b3d59bd3be4b0a515d38a8694995f24a9e54e63a01a22d01dd5dc3df8e15b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:18:05 + docker inspect -f . ci-base-image-x86_64 16:18:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:18:05 prd-ubuntu20.04-docker-8c-8g-1580 does not seem to be running inside a container 16:18:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-snmp-go_PR-209 -v /w/workspace/gexfoundry_device-snmp-go_PR-209:/w/workspace/gexfoundry_device-snmp-go_PR-209:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-209@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-209@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 16:18:05 $ docker top 2f0f37d7846c00a71b624c462fbf8d5a326ed8bd1519bc6a115ba93f1f3c3b3d -eo pid,comm [Pipeline] { [Pipeline] sh 16:18:06 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-209 [Pipeline] fileExists [Pipeline] sh 16:18:06 + make test 16:18:06 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:18:07 ? github.com/edgexfoundry/device-snmp-go [no test files] 16:18:15 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 16:18:15 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.016s coverage: 0.0% of statements 16:18:20 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." 16:18:20 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:18:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:18:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:18:23 ./bin/test-attribution-txt.sh [Pipeline] echo 16:18:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:18:23 $ docker stop --time=1 2f0f37d7846c00a71b624c462fbf8d5a326ed8bd1519bc6a115ba93f1f3c3b3d 16:18:26 $ docker rm -f --volumes 2f0f37d7846c00a71b624c462fbf8d5a326ed8bd1519bc6a115ba93f1f3c3b3d [Pipeline] // withDockerContainer [Pipeline] sh 16:18:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:18:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:18:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:18:28 + ls -al . 16:18:28 total 180 16:18:28 drwxrwxr-x 9 jenkins jenkins 4096 Jan 10 16:18 . 16:18:28 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 16:16 .. 16:18:28 -rw-rw-r-- 1 jenkins jenkins 6 Jan 10 16:16 .dockerignore 16:18:28 drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 16:18 .git 16:18:28 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 16:16 .github 16:18:28 -rw-rw-r-- 1 jenkins jenkins 328 Jan 10 16:16 .gitignore 16:18:28 -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 16:16 .golangci.yml 16:18:28 drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 16:17 .semver 16:18:28 -rw-rw-r-- 1 jenkins jenkins 8932 Jan 10 16:16 Attribution.txt 16:18:28 -rw-rw-r-- 1 jenkins jenkins 8355 Jan 10 16:16 CHANGELOG.md 16:18:28 -rw-rw-r-- 1 jenkins jenkins 1468 Jan 10 16:16 Dockerfile 16:18:28 -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 16:16 GOVERNANCE.md 16:18:28 -rw-rw-r-- 1 jenkins jenkins 656 Jan 10 16:16 Jenkinsfile 16:18:28 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 16:16 LICENSE 16:18:28 -rw-rw-r-- 1 jenkins jenkins 2543 Jan 10 16:16 Makefile 16:18:28 -rw-rw-r-- 1 jenkins jenkins 620 Jan 10 16:16 OWNERS.md 16:18:28 -rw-rw-r-- 1 jenkins jenkins 10054 Jan 10 16:16 README.md 16:18:28 -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 16:17 VERSION 16:18:28 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 16:16 bin 16:18:28 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 16:16 cmd 16:18:28 -rw-r--r-- 1 jenkins jenkins 7631 Jan 10 16:18 coverage.out 16:18:28 -rw-rw-r-- 1 jenkins jenkins 3414 Jan 10 16:16 go.mod 16:18:28 -rw-rw-r-- 1 jenkins jenkins 44744 Jan 10 16:16 go.sum 16:18:28 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 16:16 internal 16:18:28 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 16:16 snap 16:18:28 -rw-rw-r-- 1 jenkins jenkins 228 Jan 10 16:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:18:28 + 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=941b3caded248fef1df50949a47e5045e56dbbdf --label arch=amd64 --label version=0.0.0 . 16:18:28 Sending build context to Docker daemon 5.667MB 16:18:28 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 16:18:28 Step 2/24 : FROM ${BASE} AS builder 16:18:28 ---> 70bc62daec92 16:18:28 Step 3/24 : ARG ADD_BUILD_TAGS="" 16:18:28 ---> Running in fc2d78695699 16:18:28 Removing intermediate container fc2d78695699 16:18:28 ---> 1edf331fe4c0 16:18:28 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:18:28 ---> Running in 9911b13e4c14 16:18:28 Removing intermediate container 9911b13e4c14 16:18:28 ---> 2debffbb094d 16:18:28 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:18:29 ---> Running in 35d29edad18b 16:18:29 Removing intermediate container 35d29edad18b 16:18:29 ---> f5d4fb4b8467 16:18:29 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 16:18:29 ---> Running in 2eed8c2d720f 16:18:29 Removing intermediate container 2eed8c2d720f 16:18:29 ---> 861df0aa7022 16:18:29 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:18:29 ---> Running in fbc9b21d68d4 16:18:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:18:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:18:29 OK: 216 MiB in 55 packages 16:18:30 Removing intermediate container fbc9b21d68d4 16:18:30 ---> 3c7d778df992 16:18:30 Step 8/24 : WORKDIR /device-snmp-go 16:18:30 ---> Running in 0bf3c3763e93 16:18:30 Removing intermediate container 0bf3c3763e93 16:18:30 ---> 672ff9fa0c48 16:18:30 Step 9/24 : COPY go.mod vendor* ./ 16:18:30 ---> cb5463126b96 16:18:30 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:18:30 ---> Running in 593cf01af166 16:18:30 Removing intermediate container 593cf01af166 16:18:30 ---> 6275a808723f 16:18:30 Step 11/24 : COPY . . 16:18:31 ---> a007272e4bd6 16:18:31 Step 12/24 : RUN ${MAKE} 16:18:31 ---> Running in e666aec3cdfb 16:18:31 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.0.0-dev.5 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 16:18:53 Removing intermediate container e666aec3cdfb 16:18:53 ---> 591527c2dad2 16:18:53 Step 13/24 : FROM alpine:3.16 16:18:53 3.16: Pulling from library/alpine 16:18:53 ca7dd9ec2225: Pulling fs layer 16:18:53 ca7dd9ec2225: Verifying Checksum 16:18:53 ca7dd9ec2225: Download complete 16:18:53 ca7dd9ec2225: Pull complete 16:18:53 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 16:18:53 Status: Downloaded newer image for alpine:3.16 16:18:53 ---> bfe296a52501 16:18:53 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 16:18:53 ---> Running in ce0fe0ea01a4 16:18:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:18:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:18:53 (1/6) Installing dumb-init (1.2.5-r1) 16:18:53 (2/6) Installing libgcc (11.2.1_git20220219-r2) 16:18:53 (3/6) Installing libsodium (1.0.18-r0) 16:18:53 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 16:18:53 (5/6) Installing libzmq (4.3.4-r0) 16:18:53 (6/6) Installing zeromq (4.3.4-r0) 16:18:53 Executing busybox-1.35.0-r17.trigger 16:18:53 OK: 8 MiB in 20 packages 16:18:54 Removing intermediate container ce0fe0ea01a4 16:18:54 ---> e1a892fd0ad0 16:18:54 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 16:18:54 ---> 44dfc805d4ff 16:18:54 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 16:18:54 ---> cc92df5f26ee 16:18:54 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 16:18:55 ---> 50b5a439e4de 16:18:55 Step 18/24 : EXPOSE 59993 16:18:55 ---> Running in 3c7d3a4eeddd 16:18:55 Removing intermediate container 3c7d3a4eeddd 16:18:55 ---> d9cd5938defa 16:18:55 Step 19/24 : EXPOSE 161 16:18:55 ---> Running in a93aa8523089 16:18:55 Removing intermediate container a93aa8523089 16:18:55 ---> 2e07c3b4f062 16:18:55 Step 20/24 : ENTRYPOINT ["/device-snmp"] 16:18:55 ---> Running in ad43ee819830 16:18:55 Removing intermediate container ad43ee819830 16:18:55 ---> aae988775020 16:18:55 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 16:18:55 ---> Running in b974345b49b9 16:18:55 Removing intermediate container b974345b49b9 16:18:55 ---> e871f4bf8dc0 16:18:55 Step 22/24 : LABEL arch=amd64 16:18:55 ---> Running in a45c058e2507 16:18:55 Removing intermediate container a45c058e2507 16:18:55 ---> 5086723d82fc 16:18:55 Step 23/24 : LABEL git_sha=941b3caded248fef1df50949a47e5045e56dbbdf 16:18:55 ---> Running in 75e904493711 16:18:55 Removing intermediate container 75e904493711 16:18:55 ---> 629ab571c382 16:18:55 Step 24/24 : LABEL version=0.0.0 16:18:55 ---> Running in 691305dc9d00 16:18:55 Removing intermediate container 691305dc9d00 16:18:55 ---> 62584cfaf64d 16:18:55 [Warning] One or more build-args [ARCH] were not consumed 16:18:55 Successfully built 62584cfaf64d 16:18:55 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 16:18:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:18:56 16:18:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 16:18:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1581 in /w/workspace/gexfoundry_device-snmp-go_PR-209 [Pipeline] sh [Pipeline] { [Pipeline] ws 16:18:56 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 16:18:56 Selected Git installation does not exist. Using Default 16:18:56 The recommended git tool is: NONE 16:18:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:18:57 latest: Pulling from edgex-lftools-log-publisher 16:18:57 5eb5b503b376: Pulling fs layer 16:18:57 5c69ac0246d0: Pulling fs layer 16:18:57 ec43610c2a17: Pulling fs layer 16:18:57 3a2ae6a8a46f: Pulling fs layer 16:18:57 33b1e0a273af: Pulling fs layer 16:18:57 5d3b04190fa2: Pulling fs layer 16:18:57 2f39f015ded8: Pulling fs layer 16:18:57 33b1e0a273af: Waiting 16:18:57 3a2ae6a8a46f: Waiting 16:18:57 5d3b04190fa2: Waiting 16:18:57 2f39f015ded8: Waiting 16:18:57 5c69ac0246d0: Verifying Checksum 16:18:57 5c69ac0246d0: Download complete 16:18:57 3a2ae6a8a46f: Download complete 16:18:57 33b1e0a273af: Verifying Checksum 16:18:57 33b1e0a273af: Download complete 16:18:57 5d3b04190fa2: Verifying Checksum 16:18:57 5d3b04190fa2: Download complete 16:18:57 ec43610c2a17: Verifying Checksum 16:18:57 ec43610c2a17: Download complete 16:18:57 5eb5b503b376: Verifying Checksum 16:18:57 5eb5b503b376: Download complete 16:18:57 2f39f015ded8: Download complete 16:18:58 5eb5b503b376: Pull complete 16:18:59 5c69ac0246d0: Pull complete 16:18:59 ec43610c2a17: Pull complete 16:18:59 3a2ae6a8a46f: Pull complete 16:18:59 33b1e0a273af: Pull complete 16:18:59 5d3b04190fa2: Pull complete 16:19:02 using credential edgex-jenkins-ssh 16:19:02 Cloning the remote Git repository 16:19:02 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 16:19:02 > git init /w/workspace/device-snmp-go/1 # timeout=10 16:19:02 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 16:19:02 > git --version # timeout=10 16:19:02 > git --version # 'git version 2.25.1' 16:19:02 using GIT_SSH to set credentials SSH Credentials for GitHub 16:19:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:19:04 2f39f015ded8: Pull complete 16:19:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:19:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:19:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:19:04 prd-ubuntu20.04-docker-8c-8g-1580 does not seem to be running inside a container 16:19:04 $ 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-209 -v /w/workspace/gexfoundry_device-snmp-go_PR-209:/w/workspace/gexfoundry_device-snmp-go_PR-209:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-209@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-209@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 16:19:03 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 16:19:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:19:05 Merging remotes/origin/main commit d1c7c2ea98aab23790d51b6eaeef7bb46474233e into PR head commit 941b3caded248fef1df50949a47e5045e56dbbdf 16:19:04 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 16:19:05 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 16:19:05 using GIT_SSH to set credentials SSH Credentials for GitHub 16:19:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/209/head:refs/remotes/origin/PR-209 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:19:05 > git config core.sparsecheckout # timeout=10 16:19:05 > git checkout -f 941b3caded248fef1df50949a47e5045e56dbbdf # timeout=10 16:19:05 > git remote # timeout=10 16:19:05 Merge succeeded, producing 941b3caded248fef1df50949a47e5045e56dbbdf 16:19:05 Checking out Revision 941b3caded248fef1df50949a47e5045e56dbbdf (PR-209) 16:19:05 > git config --get remote.origin.url # timeout=10 16:19:05 using GIT_SSH to set credentials SSH Credentials for GitHub 16:19:05 > git merge d1c7c2ea98aab23790d51b6eaeef7bb46474233e # timeout=10 16:19:05 > git rev-parse HEAD^{commit} # timeout=10 16:19:05 > git config core.sparsecheckout # timeout=10 16:19:05 > git checkout -f 941b3caded248fef1df50949a47e5045e56dbbdf # timeout=10 16:19:07 $ docker top 6bec2148f21c55073c9844d51efd40764f2aff210c7f85dbe7aa7f9c34b7f1f9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:19:08 ---> job-cost.sh 16:19:08 lf-activate-venv: SKIPPING 16:19:08 INFO: No Stack... 16:19:08 INFO: Retrieving Pricing Info for: v3-standard-8 16:19:09 INFO: Archiving Costs [Pipeline] sh 16:19:09 Commit message: "refactor!: Rename command line flags for the sake of consistency" 16:19:09 + cat /w/workspace/gexfoundry_device-snmp-go_PR-209/archives/cost.csv 16:19:09 + cut -d, -f6 16:19:09 > git --version # timeout=10 16:19:09 > git --version # 'git version 2.25.1' 16:19:09 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] lock 16:19:09 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-209-1-stack-cost] 16:19:09 Resource [jenkins-edgexfoundry-device-snmp-go-PR-209-1-stack-cost] did not exist. Created. 16:19:09 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-209-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:19:09 16:19:09 GitHub has been notified of this commit’s build result 16:19:09 [Pipeline] withEnv [Pipeline] { 16:19:10 + echo total: 0.2199999988079071 [Pipeline] stash 16:19:10 Stashed 1 file(s) [Pipeline] withEnv [Pipeline] { [Pipeline] } 16:19:10 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-209-1-stack-cost] [Pipeline] // lock [Pipeline] } 16:19:10 $ docker stop --time=1 6bec2148f21c55073c9844d51efd40764f2aff210c7f85dbe7aa7f9c34b7f1f9 16:19:11 $ docker rm -f --volumes 6bec2148f21c55073c9844d51efd40764f2aff210c7f85dbe7aa7f9c34b7f1f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] stage [Pipeline] { (Prep) [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] sh 16:19:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:19:12 % Total % Received % Xferd Average Speed Time Time Time Current 16:19:12 Dload Upload Total Spent Left Speed 16:19:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 99617 [Pipeline] sh 16:19:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:19:13 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 16:19:13 /etc/docker/daemon.json 16:19:13 { 16:19:13 "registry-mirrors": [ 16:19:13 "https://nexus3.edgexfoundry.org:10001" 16:19:13 ], 16:19:13 "bip": "10.250.0.254/24", 16:19:13 "hosts": [ 16:19:13 "tcp://0.0.0.0:5555", 16:19:13 "unix:///var/run/docker.sock" 16:19:13 ], 16:19:13 "mtu": 1458, 16:19:13 "selinux-enabled": true, 16:19:13 "seccomp-profile": "/etc/docker/seccomp.json" 16:19:13 } [Pipeline] sh 16:19:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:19:13 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:19:32 provisioning config files... 16:19:32 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config13071065041770717411tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:19:32 ---> docker-login.sh 16:19:32 nexus3.edgexfoundry.org:10001 16:19:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:33 Configure a credential helper to remove this warning. See 16:19:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:33 16:19:33 Login Succeeded 16:19:33 nexus3.edgexfoundry.org:10002 16:19:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:33 Configure a credential helper to remove this warning. See 16:19:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:33 16:19:33 Login Succeeded 16:19:33 nexus3.edgexfoundry.org:10003 16:19:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:33 Configure a credential helper to remove this warning. See 16:19:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:33 16:19:33 Login Succeeded 16:19:33 nexus3.edgexfoundry.org:10004 16:19:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:34 Configure a credential helper to remove this warning. See 16:19:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:34 16:19:34 Login Succeeded 16:19:34 docker.io 16:19:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:35 Configure a credential helper to remove this warning. See 16:19:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:35 16:19:35 Login Succeeded 16:19:35 ---> docker-login.sh ends [Pipeline] } 16:19:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:19:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:19:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:19:35 ========================================================= 16:19:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 16:19:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:19:36 + 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 . 16:19:37 Sending build context to Docker daemon 2.941MB 16:19:37 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 16:19:37 Step 2/12 : FROM ${BASE} AS builder 16:19:37 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:19:37 9b18e9b68314: Pulling fs layer 16:19:37 35d82f9e3411: Pulling fs layer 16:19:37 e16973657156: Pulling fs layer 16:19:37 fc693d55d65f: Pulling fs layer 16:19:37 7e9fc2657dce: Pulling fs layer 16:19:37 dda99020689f: Pulling fs layer 16:19:37 db1c61fa0a46: Pulling fs layer 16:19:37 891c053d2c06: Pulling fs layer 16:19:37 dda99020689f: Waiting 16:19:37 db1c61fa0a46: Waiting 16:19:37 891c053d2c06: Waiting 16:19:37 fc693d55d65f: Waiting 16:19:37 7e9fc2657dce: Waiting 16:19:37 e16973657156: Verifying Checksum 16:19:37 e16973657156: Download complete 16:19:37 35d82f9e3411: Verifying Checksum 16:19:37 35d82f9e3411: Download complete 16:19:37 7e9fc2657dce: Verifying Checksum 16:19:37 7e9fc2657dce: Download complete 16:19:37 dda99020689f: Verifying Checksum 16:19:37 dda99020689f: Download complete 16:19:37 9b18e9b68314: Verifying Checksum 16:19:38 9b18e9b68314: Pull complete 16:19:38 891c053d2c06: Verifying Checksum 16:19:38 891c053d2c06: Download complete 16:19:39 35d82f9e3411: Pull complete 16:19:39 e16973657156: Pull complete 16:19:40 db1c61fa0a46: Verifying Checksum 16:19:40 db1c61fa0a46: Download complete 16:19:40 fc693d55d65f: Verifying Checksum 16:19:40 fc693d55d65f: Download complete 16:19:52 fc693d55d65f: Pull complete 16:19:52 7e9fc2657dce: Pull complete 16:19:52 dda99020689f: Pull complete 16:19:57 db1c61fa0a46: Pull complete 16:19:58 891c053d2c06: Pull complete 16:19:58 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 16:19:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:19:58 ---> f96f9c87975a 16:19:58 Step 3/12 : ARG ADD_BUILD_TAGS="" 16:20:00 ---> Running in aa558af41dab 16:20:00 Removing intermediate container aa558af41dab 16:20:00 ---> 8b4329417422 16:20:00 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:20:00 ---> Running in a0fd0ead39ef 16:20:01 Removing intermediate container a0fd0ead39ef 16:20:01 ---> b435907f3766 16:20:01 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:20:01 ---> Running in f50b391e5f5d 16:20:01 Removing intermediate container f50b391e5f5d 16:20:01 ---> ad68fcab893d 16:20:01 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 16:20:01 ---> Running in a1e8b09cacaa 16:20:01 Removing intermediate container a1e8b09cacaa 16:20:01 ---> f3f090ca9433 16:20:01 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:20:02 ---> Running in 3b998f2d52c4 16:20:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:20:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:20:04 (1/4) Installing openssh-keygen (9.0_p1-r2) 16:20:04 (2/4) Installing libedit (20210910.3.1-r0) 16:20:04 (3/4) Installing openssh-client-common (9.0_p1-r2) 16:20:04 (4/4) Installing openssh-client-default (9.0_p1-r2) 16:20:04 Executing busybox-1.35.0-r17.trigger 16:20:04 OK: 226 MiB in 55 packages 16:20:05 Removing intermediate container 3b998f2d52c4 16:20:05 ---> 7c5f6183ed82 16:20:05 Step 8/12 : WORKDIR /device-snmp-go 16:20:05 ---> Running in 965c3e4af725 16:20:05 Removing intermediate container 965c3e4af725 16:20:05 ---> b404b1f9849f 16:20:05 Step 9/12 : COPY go.mod vendor* ./ 16:20:06 ---> 3242349d9f58 16:20:06 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:20:06 ---> Running in fbda89d395f9 16:21:02 Removing intermediate container fbda89d395f9 16:21:02 ---> 20a3ea3750e8 16:21:02 Step 11/12 : COPY . . 16:21:02 ---> b8be57c000d3 16:21:02 Step 12/12 : RUN ${MAKE} 16:21:02 ---> Running in 2dde8208574c 16:21:02 noop 16:21:02 Removing intermediate container 2dde8208574c 16:21:02 ---> 6fbb5d1faa1b 16:21:02 Successfully built 6fbb5d1faa1b 16:21:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:03 + docker inspect -f . ci-base-image-arm64 16:21:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:21:03 prd-ubuntu20.04-docker-arm64-4c-16g-1581 does not seem to be running inside a container 16:21:03 $ 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 16:21:04 $ docker top 89bb2d7cecfe56e5a9dcf6f3cb901dc5e87083edba270f9fcf41e949b8539124 -eo pid,comm [Pipeline] { [Pipeline] sh 16:21:05 + go version 16:21:05 go version go1.18.7 linux/arm64 [Pipeline] } 16:21:05 $ docker stop --time=1 89bb2d7cecfe56e5a9dcf6f3cb901dc5e87083edba270f9fcf41e949b8539124 16:21:07 $ docker rm -f --volumes 89bb2d7cecfe56e5a9dcf6f3cb901dc5e87083edba270f9fcf41e949b8539124 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:08 + docker inspect -f . ci-base-image-arm64 16:21:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:21:08 prd-ubuntu20.04-docker-arm64-4c-16g-1581 does not seem to be running inside a container 16:21:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:21:09 $ docker top ffebd1d56241f54eaa2091502741f73a85c0edae4f20987f6960047ab272fa14 -eo pid,comm [Pipeline] { [Pipeline] sh 16:21:10 + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh 16:21:11 + make test 16:21:11 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:21:12 ? github.com/edgexfoundry/device-snmp-go [no test files] 16:22:34 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 16:22:34 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.043s coverage: 0.0% of statements 16:22:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:22:34 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:22:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:22:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:22:49 ./bin/test-attribution-txt.sh [Pipeline] echo 16:22:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:22:49 $ docker stop --time=1 ffebd1d56241f54eaa2091502741f73a85c0edae4f20987f6960047ab272fa14 16:22:51 $ docker rm -f --volumes ffebd1d56241f54eaa2091502741f73a85c0edae4f20987f6960047ab272fa14 [Pipeline] // withDockerContainer [Pipeline] sh 16:22:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:22:52 Warning: overwriting stash ‘coverage-report’ 16:22:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:22:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:22:53 + ls -al . 16:22:53 total 176 16:22:53 drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 16:21 . 16:22:53 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 16:19 .. 16:22:53 -rw-rw-r-- 1 jenkins jenkins 6 Jan 10 16:19 .dockerignore 16:22:53 drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 16:19 .git 16:22:53 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 16:19 .github 16:22:53 -rw-rw-r-- 1 jenkins jenkins 328 Jan 10 16:19 .gitignore 16:22:53 -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 16:19 .golangci.yml 16:22:53 -rw-rw-r-- 1 jenkins jenkins 8932 Jan 10 16:19 Attribution.txt 16:22:53 -rw-rw-r-- 1 jenkins jenkins 8355 Jan 10 16:19 CHANGELOG.md 16:22:53 -rw-rw-r-- 1 jenkins jenkins 1468 Jan 10 16:19 Dockerfile 16:22:53 -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 16:19 GOVERNANCE.md 16:22:53 -rw-rw-r-- 1 jenkins jenkins 656 Jan 10 16:19 Jenkinsfile 16:22:53 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 16:19 LICENSE 16:22:53 -rw-rw-r-- 1 jenkins jenkins 2543 Jan 10 16:19 Makefile 16:22:53 -rw-rw-r-- 1 jenkins jenkins 620 Jan 10 16:19 OWNERS.md 16:22:53 -rw-rw-r-- 1 jenkins jenkins 10054 Jan 10 16:19 README.md 16:22:53 -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 16:17 VERSION 16:22:53 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 16:19 bin 16:22:53 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 16:19 cmd 16:22:53 -rw-r--r-- 1 jenkins jenkins 7631 Jan 10 16:22 coverage.out 16:22:53 -rw-rw-r-- 1 jenkins jenkins 3414 Jan 10 16:19 go.mod 16:22:53 -rw-rw-r-- 1 jenkins jenkins 44744 Jan 10 16:19 go.sum 16:22:53 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 16:19 internal 16:22:53 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 16:19 snap 16:22:53 -rw-rw-r-- 1 jenkins jenkins 228 Jan 10 16:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:22:54 + 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=941b3caded248fef1df50949a47e5045e56dbbdf --label arch=arm64 --label version=0.0.0 . 16:22:54 Sending build context to Docker daemon 2.95MB 16:22:54 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 16:22:54 Step 2/24 : FROM ${BASE} AS builder 16:22:54 ---> 6fbb5d1faa1b 16:22:54 Step 3/24 : ARG ADD_BUILD_TAGS="" 16:22:54 ---> Running in 596f542842ef 16:22:55 Removing intermediate container 596f542842ef 16:22:55 ---> f2ae50aed2b8 16:22:55 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:22:55 ---> Running in a2a2ccf8fd69 16:22:55 Removing intermediate container a2a2ccf8fd69 16:22:55 ---> d0a408efa9e9 16:22:55 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:22:55 ---> Running in 92b92c0bc33b 16:22:55 Removing intermediate container 92b92c0bc33b 16:22:55 ---> 1c25b67864db 16:22:55 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 16:22:55 ---> Running in 0dac538d2e9a 16:22:55 Removing intermediate container 0dac538d2e9a 16:22:55 ---> e6e36e8a231e 16:22:55 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:22:56 ---> Running in a490d05111cd 16:22:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:22:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:22:58 OK: 226 MiB in 55 packages 16:22:58 Removing intermediate container a490d05111cd 16:22:58 ---> 8d8629fbe7c0 16:22:58 Step 8/24 : WORKDIR /device-snmp-go 16:22:59 ---> Running in e678bdb44c6d 16:22:59 Removing intermediate container e678bdb44c6d 16:22:59 ---> 47273144c34f 16:22:59 Step 9/24 : COPY go.mod vendor* ./ 16:23:00 ---> fa38b30b871d 16:23:00 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:23:00 ---> Running in 3640f4e2c541 16:23:02 Removing intermediate container 3640f4e2c541 16:23:02 ---> 1feaef2b616a 16:23:02 Step 11/24 : COPY . . 16:23:02 ---> 0ad52e4ca90b 16:23:02 Step 12/24 : RUN ${MAKE} 16:23:02 ---> Running in b36df9347624 16:23:04 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.0.0-dev.5 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 16:25:25 Removing intermediate container b36df9347624 16:25:25 ---> 7dbd4bb53ea4 16:25:25 Step 13/24 : FROM alpine:3.16 16:25:25 3.16: Pulling from library/alpine 16:25:25 6875df1f5354: Pulling fs layer 16:25:25 6875df1f5354: Verifying Checksum 16:25:25 6875df1f5354: Download complete 16:25:25 6875df1f5354: Pull complete 16:25:25 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 16:25:25 Status: Downloaded newer image for alpine:3.16 16:25:25 ---> 2b4661558fb8 16:25:25 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 16:25:25 ---> Running in 3866839fc979 16:25:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:25:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:25:25 (1/6) Installing dumb-init (1.2.5-r1) 16:25:25 (2/6) Installing libgcc (11.2.1_git20220219-r2) 16:25:25 (3/6) Installing libsodium (1.0.18-r0) 16:25:25 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 16:25:25 (5/6) Installing libzmq (4.3.4-r0) 16:25:25 (6/6) Installing zeromq (4.3.4-r0) 16:25:25 Executing busybox-1.35.0-r17.trigger 16:25:25 OK: 8 MiB in 20 packages 16:25:25 Removing intermediate container 3866839fc979 16:25:25 ---> 34ad23563706 16:25:25 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 16:25:25 ---> d2e88a309858 16:25:25 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 16:25:25 ---> 57bdbde8a8fb 16:25:25 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 16:25:25 ---> 384d60e98dfd 16:25:25 Step 18/24 : EXPOSE 59993 16:25:25 ---> Running in 5967b3ebe369 16:25:25 Removing intermediate container 5967b3ebe369 16:25:25 ---> 15b240814768 16:25:25 Step 19/24 : EXPOSE 161 16:25:25 ---> Running in 4640ea72539d 16:25:25 Removing intermediate container 4640ea72539d 16:25:25 ---> b8680d4649e7 16:25:25 Step 20/24 : ENTRYPOINT ["/device-snmp"] 16:25:25 ---> Running in 3ccada15fd81 16:25:25 Removing intermediate container 3ccada15fd81 16:25:25 ---> b129c944f74f 16:25:25 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 16:25:25 ---> Running in 6454d20f8ac8 16:25:25 Removing intermediate container 6454d20f8ac8 16:25:25 ---> 50b295952e3a 16:25:25 Step 22/24 : LABEL arch=arm64 16:25:25 ---> Running in 274c5034be8b 16:25:25 Removing intermediate container 274c5034be8b 16:25:25 ---> b9cab6f8befb 16:25:25 Step 23/24 : LABEL git_sha=941b3caded248fef1df50949a47e5045e56dbbdf 16:25:25 ---> Running in 145e42172937 16:25:25 Removing intermediate container 145e42172937 16:25:25 ---> e8143110f127 16:25:25 Step 24/24 : LABEL version=0.0.0 16:25:25 ---> Running in 12e4e092bb92 16:25:25 Removing intermediate container 12e4e092bb92 16:25:25 ---> bc55b0234a38 16:25:25 [Warning] One or more build-args [ARCH] were not consumed 16:25:25 Successfully built bc55b0234a38 16:25:25 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 16:25:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:25:26 16:25:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:25:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:25:27 arm64: Pulling from edgex-lftools-log-publisher 16:25:27 8998bd30e6a1: Pulling fs layer 16:25:27 04944245beec: Pulling fs layer 16:25:27 699f458cf7ca: Pulling fs layer 16:25:27 765212b225bb: Pulling fs layer 16:25:27 f23df028b6ca: Pulling fs layer 16:25:27 d65c8cfc05b1: Pulling fs layer 16:25:27 2437ff75d9bd: Pulling fs layer 16:25:27 f23df028b6ca: Waiting 16:25:27 d65c8cfc05b1: Waiting 16:25:27 2437ff75d9bd: Waiting 16:25:27 765212b225bb: Waiting 16:25:27 04944245beec: Verifying Checksum 16:25:27 04944245beec: Download complete 16:25:27 765212b225bb: Verifying Checksum 16:25:27 765212b225bb: Download complete 16:25:27 f23df028b6ca: Verifying Checksum 16:25:27 f23df028b6ca: Download complete 16:25:27 d65c8cfc05b1: Verifying Checksum 16:25:27 d65c8cfc05b1: Download complete 16:25:27 699f458cf7ca: Verifying Checksum 16:25:27 699f458cf7ca: Download complete 16:25:28 8998bd30e6a1: Verifying Checksum 16:25:28 8998bd30e6a1: Download complete 16:25:30 2437ff75d9bd: Verifying Checksum 16:25:30 2437ff75d9bd: Download complete 16:25:34 8998bd30e6a1: Pull complete 16:25:34 04944245beec: Pull complete 16:25:36 699f458cf7ca: Pull complete 16:25:36 765212b225bb: Pull complete 16:25:36 f23df028b6ca: Pull complete 16:25:37 d65c8cfc05b1: Pull complete 16:25:52 2437ff75d9bd: Pull complete 16:25:52 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:25:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:25:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:25:52 prd-ubuntu20.04-docker-arm64-4c-16g-1581 does not seem to be running inside a container 16:25:52 $ 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 16:25:55 $ docker top 0eeccc79ca572d52168f48d40175c5bbebb1ed76fd6db825be51edb7f7b607ed -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:25:55 ---> job-cost.sh 16:25:55 lf-activate-venv: SKIPPING 16:25:55 INFO: No Stack... 16:25:56 INFO: Retrieving Pricing Info for: v3-standard-4 16:25:57 INFO: Archiving Costs [Pipeline] sh 16:25:57 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 16:25:57 + cut -d, -f6 [Pipeline] lock 16:25:57 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-209-1-stack-cost] 16:25:57 Resource [jenkins-edgexfoundry-device-snmp-go-PR-209-1-stack-cost] did not exist. Created. 16:25:57 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-209-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:25:58 /w/workspace/device-snmp-go/1@tmp/durable-504244f7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:25:58 + echo total: 0.10999999940395355 [Pipeline] stash 16:25:58 Warning: overwriting stash ‘stack-cost’ 16:25:58 Stashed 1 file(s) [Pipeline] } 16:25:58 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-209-1-stack-cost] [Pipeline] // lock [Pipeline] } 16:25:58 $ docker stop --time=1 0eeccc79ca572d52168f48d40175c5bbebb1ed76fd6db825be51edb7f7b607ed 16:26:00 $ docker rm -f --volumes 0eeccc79ca572d52168f48d40175c5bbebb1ed76fd6db825be51edb7f7b607ed [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 16:26:01 provisioning config files... 16:26:01 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-209@tmp/config10595667311729956970tmp [Pipeline] { [Pipeline] sh 16:26:01 + set +x 16:26:01 + curl -s https://codecov.io/bash 16:26:01 + bash -s -- 16:26:01 16:26:01 _____ _ 16:26:01 / ____| | | 16:26:01 | | ___ __| | ___ ___ _____ __ 16:26:01 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:26:01 | |___| (_) | (_| | __/ (_| (_) \ V / 16:26:01 \_____\___/ \__,_|\___|\___\___/ \_/ 16:26:01 Bash-1.0.6 16:26:01 16:26:01 16:26:01 ==> git version 2.25.1 found 16:26:01 ==> 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 16:26:01 Release-Date: 2020-01-08 16:26:01 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:26:01 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:26:01 ==> Jenkins CI detected. 16:26:01 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-209 16:26:01 project root: . 16:26:01 --> token set from env 16:26:01 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:26:01 ==> Running gcov in . (disable via -X gcov) 16:26:01 ==> Python coveragepy not found 16:26:01 ==> Searching for coverage reports in: 16:26:01 + . 16:26:01 -> Found 1 reports 16:26:01 ==> Detecting git/mercurial file structure 16:26:01 ==> Reading reports 16:26:01 + ./coverage.out bytes=7631 16:26:01 ==> Appending adjustments 16:26:01 https://docs.codecov.io/docs/fixing-reports 16:26:01 + Found adjustments 16:26:01 ==> Gzipping contents 16:26:01 4.0K /tmp/codecov.pd5F20.gz 16:26:01 ==> Uploading reports 16:26:01 url: https://codecov.io 16:26:01 query: branch=PR-209&commit=941b3caded248fef1df50949a47e5045e56dbbdf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-209%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=209&job=&cmd_args= 16:26:01 -> Pinging Codecov 16:26:01 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-209&commit=941b3caded248fef1df50949a47e5045e56dbbdf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-209%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=209&job=&cmd_args= 16:26:02 -> Uploading to 16:26:02 https://storage.googleapis.com/codecov/v4/raw/2023-01-10/6C56EA5C29638FB4528AC87E60AF5AE0/941b3caded248fef1df50949a47e5045e56dbbdf/37d6e719-5cf9-4c3f-836e-23fa6e743fd0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230110T162601Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=18507b9faa5845b1ba2413fd687c227be4f29fb4faa76d91d697c71ded6e8f9b 16:26:02 % Total % Received % Xferd Average Speed Time Time Time Current 16:26:02 Dload Upload Total Spent Left Speed 16:26:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1543 0 0 100 1543 0 6510 --:--:-- --:--:-- --:--:-- 6510 16:26:02 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/941b3caded248fef1df50949a47e5045e56dbbdf [Pipeline] } 16:26:02 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 16:26:03 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-209/archives ] 16:26:03 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-209/archives 16:26:03 total 16 16:26:03 drwxr-xr-x 3 root root 4096 Jan 10 16:19 . 16:26:03 drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 16:19 .. 16:26:03 drwxr-xr-x 2 root root 4096 Jan 10 16:19 cost 16:26:03 -rw-r--r-- 1 root root 86 Jan 10 16:19 cost.csv 16:26:03 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-209/archives 16:26:03 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-209/archives 16:26:03 total 16 16:26:03 drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 16:19 . 16:26:03 drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 16:19 .. 16:26:03 drwxr-xr-x 2 jenkins jenkins 4096 Jan 10 16:19 cost 16:26:03 -rw-r--r-- 1 jenkins jenkins 86 Jan 10 16:19 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:26:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:26:05 ---> package-listing.sh 16:26:05 ++ tr '[:upper:]' '[:lower:]' 16:26:05 ++ facter osfamily 16:26:05 + OS_FAMILY=debian 16:26:05 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-209 16:26:05 + START_PACKAGES=/tmp/packages_start.txt 16:26:05 + END_PACKAGES=/tmp/packages_end.txt 16:26:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:26:05 + PACKAGES=/tmp/packages_start.txt 16:26:05 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-209 ']' 16:26:05 + PACKAGES=/tmp/packages_end.txt 16:26:05 + case "${OS_FAMILY}" in 16:26:05 + dpkg -l 16:26:05 + grep '^ii' 16:26:05 + '[' -f /tmp/packages_start.txt ']' 16:26:05 + '[' -f /tmp/packages_end.txt ']' 16:26:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:26:05 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-209 ']' 16:26:05 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-209/archives/ 16:26:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-209/archives/ [Pipeline] echo 16:26:05 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-209/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:26:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:26:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:26:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:26:06 prd-ubuntu20.04-docker-8c-8g-1580 does not seem to be running inside a container 16:26:06 $ 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-209/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-209 -v /w/workspace/gexfoundry_device-snmp-go_PR-209:/w/workspace/gexfoundry_device-snmp-go_PR-209:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-209@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-209@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 16:26:06 $ docker top 3c222c5077fbbf8deb4ec5ff35e39d2713dc7aecccd94de31ccb6682ced14f34 -eo pid,comm [Pipeline] { [Pipeline] sh 16:26:07 + touch /tmp/pre-build-complete [Pipeline] sh 16:26:07 + mkdir -p /var/log/sysstat [Pipeline] sh 16:26:07 + ls /var/log/sa-host 16:26:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:26:07 provisioning config files... 16:26:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-209@tmp/config12199034807711100046tmp [Pipeline] { [Pipeline] echo 16:26:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:26:08 ---> create-netrc.sh [Pipeline] } 16:26:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:26:08 ---> python-tools-install.sh [Pipeline] echo 16:26:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:26:09 ---> sudo-logs.sh 16:26:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:26:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:26:09 ---> job-cost.sh 16:26:09 lf-activate-venv: SKIPPING 16:26:09 DEBUG: total: 0.2199999988079071 16:26:09 INFO: Retrieving Stack Cost... 16:26:09 INFO: Retrieving Pricing Info for: v3-standard-8 16:26:10 INFO: Archiving Costs [Pipeline] echo 16:26:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:26:10 ---> logs-deploy.sh 16:26:10 lf-activate-venv: SKIPPING 16:26:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-209/1 16:26:10 INFO: archiving workspace using pattern(s): 16:26:11 Archives upload complete. 16:26:11 INFO: archiving logs to Nexus