Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9a9cfe769be8313ba8a21d40637564934ad0b980 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-ssh5645427287452497951.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh10880078615412214744.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2005245883872997840.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh788859250556708549.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12527890866065564657.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-3222 in /w/workspace/edgexfoundry_device-snmp-go_main [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/edgexfoundry_device-snmp-go_main # 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 Avoid second fetch Checking out Revision 9a9cfe769be8313ba8a21d40637564934ad0b980 (main) Commit message: "Merge pull request #315 from jackchenjc/pkg-errors-removal" > 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 core.sparsecheckout # timeout=10 > git checkout -f 9a9cfe769be8313ba8a21d40637564934ad0b980 # timeout=10 > git rev-list --no-walk 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:39:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:39:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:39:11 ========================================================= 10:39:11 EdgeX Global Pipelines Version Info 10:39:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:39:12 ------------------- 10:39:12 stable info: 10:39:12 ------------------- 10:39:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:39:12 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 10:39:12 Message: update stable to v1.0.250 10:39:12 ------------------- 10:39:12 experimental info: 10:39:12 ------------------- 10:39:12 Commited By: **** collab-it+edgex@linuxfoundation.org 10:39:12 Commit SHA: e40317f62605a4f3b5f0b8a3ca7537e8fb1ff910 10:39:12 Message: update experimental to v1.0.252 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:39:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 10:39:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 10:39:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:39:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:39:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:39:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 10:39:13 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:39:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:39:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:39:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:39:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:39:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 10:39:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:39:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:39:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:39:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:39:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:39:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:39:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:39:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:39:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:39:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:39:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:39:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:39:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:39:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:39:13 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:39:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 10:39:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 10:39:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 10:39:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9a9cfe769be8313ba8a21d40637564934ad0b980 [Pipeline] echo 10:39:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9a9cfe7 [Pipeline] echo 10:39:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:39:13 provisioning config files... 10:39:13 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config11779593866316442858tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:39:13 ---> docker-login.sh 10:39:13 nexus3.edgexfoundry.org:10001 10:39:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:39:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:39:14 Configure a credential helper to remove this warning. See 10:39:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:39:14 10:39:14 Login Succeeded 10:39:14 nexus3.edgexfoundry.org:10002 10:39:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:39:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:39:14 Configure a credential helper to remove this warning. See 10:39:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:39:14 10:39:14 Login Succeeded 10:39:14 nexus3.edgexfoundry.org:10003 10:39:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:39:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:39:14 Configure a credential helper to remove this warning. See 10:39:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:39:14 10:39:14 Login Succeeded 10:39:14 nexus3.edgexfoundry.org:10004 10:39:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:39:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:39:14 Configure a credential helper to remove this warning. See 10:39:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:39:14 10:39:14 Login Succeeded 10:39:14 docker.io 10:39:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:39:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:39:14 Configure a credential helper to remove this warning. See 10:39:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:39:14 10:39:14 Login Succeeded 10:39:14 ---> docker-login.sh ends [Pipeline] } 10:39:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:39:15 + git rev-list -1 --merges 9a9cfe769be8313ba8a21d40637564934ad0b980~1..9a9cfe769be8313ba8a21d40637564934ad0b980 [Pipeline] echo 10:39:15 -----------> git rev-list -1 --merges 9a9cfe769be8313ba8a21d40637564934ad0b980~1..9a9cfe769be8313ba8a21d40637564934ad0b980 9a9cfe769be8313ba8a21d40637564934ad0b980 10:39:15 9a9cfe769be8313ba8a21d40637564934ad0b980 [false] [Pipeline] sh 10:39:15 + git log --format=format:%s -1 9a9cfe769be8313ba8a21d40637564934ad0b980 [Pipeline] echo 10:39:15 ========================================================= 10:39:15 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:39:15 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:39:15 + git log --format=format:%s -1 9a9cfe769be8313ba8a21d40637564934ad0b980 [Pipeline] echo 10:39:15 [semverPrep] GIT_COMMIT: 9a9cfe769be8313ba8a21d40637564934ad0b980, Commit Message: Merge pull request #315 from jackchenjc/pkg-errors-removal [Pipeline] echo 10:39:15 [semverPrep] This is not a build commit. [Pipeline] sh 10:39:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:39:16 + grep -v github /etc/ssh/ssh_known_hosts 10:39:16 + [ -e /tmp/ssh_known_hosts ] 10:39:16 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:39:16 + + sudo tee -a /etc/ssh/ssh_known_hosts 10:39:16 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:39:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:39:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:39:16 10:39:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:39:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:39:16 0.1.4: Pulling from edgex-devops/py-git-semver 10:39:16 b85a868b505f: Pulling fs layer 10:39:16 e2be974225ed: Pulling fs layer 10:39:16 339a4e72a1f5: Pulling fs layer 10:39:16 988bab9f4d93: Pulling fs layer 10:39:16 1469e6f7b9e6: Pulling fs layer 10:39:16 eaf3925da568: Pulling fs layer 10:39:16 bab4dde63d76: Pulling fs layer 10:39:16 bde34c3a00c8: Pulling fs layer 10:39:16 b352a97aabf1: Pulling fs layer 10:39:16 4872d77fe225: Pulling fs layer 10:39:16 5851b861e8e6: Pulling fs layer 10:39:16 bab4dde63d76: Waiting 10:39:16 bde34c3a00c8: Waiting 10:39:16 b352a97aabf1: Waiting 10:39:16 4872d77fe225: Waiting 10:39:16 5851b861e8e6: Waiting 10:39:16 988bab9f4d93: Waiting 10:39:16 1469e6f7b9e6: Waiting 10:39:16 eaf3925da568: Waiting 10:39:16 e2be974225ed: Verifying Checksum 10:39:16 e2be974225ed: Download complete 10:39:16 988bab9f4d93: Verifying Checksum 10:39:16 988bab9f4d93: Download complete 10:39:16 1469e6f7b9e6: Verifying Checksum 10:39:16 1469e6f7b9e6: Download complete 10:39:17 eaf3925da568: Verifying Checksum 10:39:17 eaf3925da568: Download complete 10:39:17 339a4e72a1f5: Verifying Checksum 10:39:17 339a4e72a1f5: Download complete 10:39:17 bde34c3a00c8: Verifying Checksum 10:39:17 bde34c3a00c8: Download complete 10:39:17 b352a97aabf1: Verifying Checksum 10:39:17 b352a97aabf1: Download complete 10:39:17 4872d77fe225: Download complete 10:39:17 5851b861e8e6: Download complete 10:39:17 b85a868b505f: Verifying Checksum 10:39:17 b85a868b505f: Download complete 10:39:17 bab4dde63d76: Verifying Checksum 10:39:17 bab4dde63d76: Download complete 10:39:18 b85a868b505f: Pull complete 10:39:18 e2be974225ed: Pull complete 10:39:18 339a4e72a1f5: Pull complete 10:39:18 988bab9f4d93: Pull complete 10:39:19 1469e6f7b9e6: Pull complete 10:39:19 eaf3925da568: Pull complete 10:39:20 bab4dde63d76: Pull complete 10:39:21 bde34c3a00c8: Pull complete 10:39:21 b352a97aabf1: Pull complete 10:39:21 4872d77fe225: Pull complete 10:39:21 5851b861e8e6: Pull complete 10:39:21 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:39:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:39:21 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:39:21 prd-ubuntu20.04-docker-8c-8g-3222 does not seem to be running inside a container 10:39:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:39:24 $ docker top e167196a4a57e6f88c2e73ccbb683e408171b825c9b8d38d5e5fec04b91b0b78 -eo pid,comm 10:39:24 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 10:39:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:39:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:39:24 [ssh-agent] Looking for ssh-agent implementation... 10:39:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:39:24 $ docker exec e167196a4a57e6f88c2e73ccbb683e408171b825c9b8d38d5e5fec04b91b0b78 ssh-agent 10:39:24 SSH_AUTH_SOCK=/tmp/ssh-ZkB5teldgvyy/agent.33 10:39:24 SSH_AGENT_PID=39 10:39:24 Running ssh-add (command line suppressed) 10:39:24 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3111605871491305917.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3111605871491305917.key) 10:39:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:39:24 + git tag --points-at HEAD [Pipeline] } 10:39:24 $ docker exec --env ******** --env ******** e167196a4a57e6f88c2e73ccbb683e408171b825c9b8d38d5e5fec04b91b0b78 ssh-agent -k 10:39:24 unset SSH_AUTH_SOCK; 10:39:24 unset SSH_AGENT_PID; 10:39:24 echo Agent pid 39 killed; 10:39:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:39:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:39:24 [ssh-agent] Looking for ssh-agent implementation... 10:39:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:39:25 $ docker exec e167196a4a57e6f88c2e73ccbb683e408171b825c9b8d38d5e5fec04b91b0b78 ssh-agent 10:39:25 SSH_AUTH_SOCK=/tmp/ssh-yfALOWFWri1K/agent.71 10:39:25 SSH_AGENT_PID=77 10:39:25 Running ssh-add (command line suppressed) 10:39:25 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8071751495219487035.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8071751495219487035.key) 10:39:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:39:25 + git semver init 10:39:25 2023-08-09 10:39:25,763 [run_init] DEBUG init version:0.0.0 force:False 10:39:25 2023-08-09 10:39:25,765 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver 10:39:25 2023-08-09 10:39:25,766 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver 10:39:25 2023-08-09 10:39:25,766 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/edgexfoundry_device-snmp-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 10:39:26 2023-08-09 10:39:26,531 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude 10:39:26 2023-08-09 10:39:26,532 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False 10:39:26 2023-08-09 10:39:26,532 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 10:39:26 2023-08-09 10:39:26,533 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 10:39:26 3.1.0-dev.1 [Pipeline] } 10:39:26 $ docker exec --env ******** --env ******** e167196a4a57e6f88c2e73ccbb683e408171b825c9b8d38d5e5fec04b91b0b78 ssh-agent -k 10:39:26 unset SSH_AUTH_SOCK; 10:39:26 unset SSH_AGENT_PID; 10:39:26 echo Agent pid 77 killed; 10:39:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:39:27 + git semver [Pipeline] } 10:39:27 $ docker stop --time=1 e167196a4a57e6f88c2e73ccbb683e408171b825c9b8d38d5e5fec04b91b0b78 10:39:28 $ docker rm -f --volumes e167196a4a57e6f88c2e73ccbb683e408171b825c9b8d38d5e5fec04b91b0b78 [Pipeline] // withDockerContainer [Pipeline] sh 10:39:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:39:29 Stashed 1 file(s) [Pipeline] echo 10:39:29 [edgeXSemver]: initialized semver on version 3.1.0-dev.1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:39:29 provisioning config files... 10:39:29 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config17525415692909232796tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:39:29 ---> docker-login.sh 10:39:29 nexus3.edgexfoundry.org:10001 10:39:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:39:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:39:29 Configure a credential helper to remove this warning. See 10:39:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:39:29 10:39:29 Login Succeeded 10:39:29 nexus3.edgexfoundry.org:10002 10:39:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:39:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:39:29 Configure a credential helper to remove this warning. See 10:39:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:39:29 10:39:29 Login Succeeded 10:39:29 nexus3.edgexfoundry.org:10003 10:39:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:39:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:39:29 Configure a credential helper to remove this warning. See 10:39:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:39:29 10:39:29 Login Succeeded 10:39:29 nexus3.edgexfoundry.org:10004 10:39:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:39:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:39:29 Configure a credential helper to remove this warning. See 10:39:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:39:29 10:39:29 Login Succeeded 10:39:29 docker.io 10:39:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:39:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:39:30 Configure a credential helper to remove this warning. See 10:39:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:39:30 10:39:30 Login Succeeded 10:39:30 ---> docker-login.sh ends [Pipeline] } 10:39:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:39:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:39:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:39:30 ========================================================= 10:39:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 10:39:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:39:30 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 10:39:30 Sending build context to Docker daemon 5.747MB 10:39:30 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 10:39:30 Step 2/12 : FROM ${BASE} AS builder 10:39:30 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 10:39:30 4db1b89c0bd1: Pulling fs layer 10:39:30 6911f1a30b25: Pulling fs layer 10:39:30 e194b8c5c2a9: Pulling fs layer 10:39:30 6863d3e3a2b1: Pulling fs layer 10:39:30 ec0bb842ea78: Pulling fs layer 10:39:30 40a00589a448: Pulling fs layer 10:39:30 6c08303d61cc: Pulling fs layer 10:39:30 798269fcf238: Pulling fs layer 10:39:30 6c08303d61cc: Waiting 10:39:30 40a00589a448: Waiting 10:39:30 798269fcf238: Waiting 10:39:30 ec0bb842ea78: Waiting 10:39:30 6863d3e3a2b1: Waiting 10:39:30 6911f1a30b25: Download complete 10:39:30 6863d3e3a2b1: Verifying Checksum 10:39:30 6863d3e3a2b1: Download complete 10:39:30 ec0bb842ea78: Download complete 10:39:30 4db1b89c0bd1: Verifying Checksum 10:39:30 4db1b89c0bd1: Download complete 10:39:30 40a00589a448: Verifying Checksum 10:39:30 40a00589a448: Download complete 10:39:30 4db1b89c0bd1: Pull complete 10:39:31 6911f1a30b25: Pull complete 10:39:31 798269fcf238: Verifying Checksum 10:39:31 798269fcf238: Download complete 10:39:31 e194b8c5c2a9: Verifying Checksum 10:39:31 e194b8c5c2a9: Download complete 10:39:31 6c08303d61cc: Verifying Checksum 10:39:31 6c08303d61cc: Download complete 10:39:34 e194b8c5c2a9: Pull complete 10:39:34 6863d3e3a2b1: Pull complete 10:39:34 ec0bb842ea78: Pull complete 10:39:34 40a00589a448: Pull complete 10:39:37 6c08303d61cc: Pull complete 10:39:37 798269fcf238: Pull complete 10:39:37 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 10:39:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 10:39:37 ---> ec979cd7f677 10:39:37 Step 3/12 : ARG ADD_BUILD_TAGS="" 10:39:41 ---> Running in 25208da46f8a 10:39:41 Removing intermediate container 25208da46f8a 10:39:41 ---> c99c105c5ad1 10:39:41 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:39:42 ---> Running in ca8f609bf9d4 10:39:42 Removing intermediate container ca8f609bf9d4 10:39:42 ---> 6fa55dd86b7c 10:39:42 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:39:42 ---> Running in 5b7579082823 10:39:42 Removing intermediate container 5b7579082823 10:39:42 ---> 273bc2a359b7 10:39:42 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 10:39:42 ---> Running in 7d84e67bd351 10:39:42 Removing intermediate container 7d84e67bd351 10:39:42 ---> 0327162831cd 10:39:42 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:39:42 ---> Running in 77bbf29ad4ae 10:39:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:39:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:39:43 (1/4) Installing openssh-keygen (9.1_p1-r4) 10:39:43 (2/4) Installing libedit (20221030.3.1-r0) 10:39:43 (3/4) Installing openssh-client-common (9.1_p1-r4) 10:39:43 (4/4) Installing openssh-client-default (9.1_p1-r4) 10:39:43 Executing busybox-1.35.0-r29.trigger 10:39:43 OK: 269 MiB in 57 packages 10:39:43 Removing intermediate container 77bbf29ad4ae 10:39:43 ---> 9f6e5e9b8eec 10:39:43 Step 8/12 : WORKDIR /device-snmp-go 10:39:43 ---> Running in 02723f7ddcb5 10:39:43 Removing intermediate container 02723f7ddcb5 10:39:43 ---> e265c57dc77e 10:39:43 Step 9/12 : COPY go.mod vendor* ./ 10:39:43 ---> 1c5b382de8ac 10:39:43 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:39:43 ---> Running in 2a5384c1765b 10:39:44 Still waiting to schedule task 10:39:44 ‘prd-centos7-blackbox-4c-2g-2949’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 10:39:44 ‘prd-centos7-blackbox-4c-2g-2950’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 10:39:44 ‘prd-ubuntu20.04-docker-arm64-4c-16g-3223’ is offline 10:40:10 Removing intermediate container 2a5384c1765b 10:40:10 ---> dc99e51c10e2 10:40:10 Step 11/12 : COPY . . 10:40:10 ---> 380e3d5b6130 10:40:10 Step 12/12 : RUN ${MAKE} 10:40:10 ---> Running in 9752fc60299a 10:40:10 noop 10:40:10 Removing intermediate container 9752fc60299a 10:40:10 ---> e12f8eaeb397 10:40:10 Successfully built e12f8eaeb397 10:40:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:40:10 + docker inspect -f . ci-base-image-x86_64 10:40:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:40:10 prd-ubuntu20.04-docker-8c-8g-3222 does not seem to be running inside a container 10:40:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@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 ******** ci-base-image-x86_64 cat 10:40:11 $ docker top 1d11f8554d9af07588f1137a8f3439c2928ff489296863ac402546f1bb2cb606 -eo pid,comm [Pipeline] { [Pipeline] sh 10:40:11 + go version 10:40:11 go version go1.20.6 linux/amd64 [Pipeline] } 10:40:11 $ docker stop --time=1 1d11f8554d9af07588f1137a8f3439c2928ff489296863ac402546f1bb2cb606 10:40:13 $ docker rm -f --volumes 1d11f8554d9af07588f1137a8f3439c2928ff489296863ac402546f1bb2cb606 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:40:13 + docker inspect -f . ci-base-image-x86_64 10:40:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:40:13 prd-ubuntu20.04-docker-8c-8g-3222 does not seem to be running inside a container 10:40:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@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 ******** ci-base-image-x86_64 cat 10:40:13 $ docker top 08254468cc4b6be6db7f712d78f066c3c984bfe1a2953b2bb2e4cce86f135f25 -eo pid,comm [Pipeline] { [Pipeline] sh 10:40:14 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh 10:40:14 + make test 10:40:14 go test ./... -coverprofile=coverage.out 10:40:18 ? github.com/edgexfoundry/device-snmp-go [no test files] 10:40:28 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 10:40:28 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.011s coverage: 0.0% of statements 10:40:33 go vet ./... 10:40:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:40:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:40:38 ./bin/test-attribution-txt.sh [Pipeline] echo 10:40:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:40:38 $ docker stop --time=1 08254468cc4b6be6db7f712d78f066c3c984bfe1a2953b2bb2e4cce86f135f25 10:40:41 $ docker rm -f --volumes 08254468cc4b6be6db7f712d78f066c3c984bfe1a2953b2bb2e4cce86f135f25 [Pipeline] // withDockerContainer [Pipeline] sh 10:40:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:40:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:40:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:40:42 + ls -al . 10:40:42 total 172 10:40:42 drwxrwxr-x 9 jenkins jenkins 4096 Aug 9 10:40 . 10:40:42 drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 10:39 .. 10:40:42 -rw-rw-r-- 1 jenkins jenkins 6 Aug 9 10:39 .dockerignore 10:40:42 drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 10:39 .git 10:40:42 drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:39 .github 10:40:42 -rw-rw-r-- 1 jenkins jenkins 328 Aug 9 10:39 .gitignore 10:40:42 -rw-rw-r-- 1 jenkins jenkins 41 Aug 9 10:39 .golangci.yml 10:40:42 drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 10:39 .semver 10:40:42 -rw-rw-r-- 1 jenkins jenkins 8956 Aug 9 10:39 Attribution.txt 10:40:42 -rw-rw-r-- 1 jenkins jenkins 10534 Aug 9 10:39 CHANGELOG.md 10:40:42 -rw-rw-r-- 1 jenkins jenkins 1423 Aug 9 10:39 Dockerfile 10:40:42 -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 10:39 GOVERNANCE.md 10:40:42 -rw-rw-r-- 1 jenkins jenkins 656 Aug 9 10:39 Jenkinsfile 10:40:42 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 9 10:39 LICENSE 10:40:42 -rw-rw-r-- 1 jenkins jenkins 2114 Aug 9 10:39 Makefile 10:40:42 -rw-rw-r-- 1 jenkins jenkins 620 Aug 9 10:39 OWNERS.md 10:40:42 -rw-rw-r-- 1 jenkins jenkins 10559 Aug 9 10:39 README.md 10:40:42 -rw-rw-r-- 1 jenkins jenkins 11 Aug 9 10:39 VERSION 10:40:42 drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 10:39 bin 10:40:42 drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:39 cmd 10:40:42 -rw-r--r-- 1 jenkins jenkins 8837 Aug 9 10:40 coverage.out 10:40:42 -rw-rw-r-- 1 jenkins jenkins 3235 Aug 9 10:39 go.mod 10:40:42 -rw-rw-r-- 1 jenkins jenkins 31230 Aug 9 10:39 go.sum 10:40:42 drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:39 internal 10:40:42 drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 10:39 snap 10:40:42 -rw-rw-r-- 1 jenkins jenkins 228 Aug 9 10:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:40:43 + 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=9a9cfe769be8313ba8a21d40637564934ad0b980 --label arch=amd64 --label version=3.1.0-dev.1 . 10:40:43 Sending build context to Docker daemon 5.757MB 10:40:43 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 10:40:43 Step 2/24 : FROM ${BASE} AS builder 10:40:43 ---> e12f8eaeb397 10:40:43 Step 3/24 : ARG ADD_BUILD_TAGS="" 10:40:43 ---> Running in 52478d097258 10:40:43 Removing intermediate container 52478d097258 10:40:43 ---> 51596308ef61 10:40:43 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:40:43 ---> Running in c615872e8f6d 10:40:43 Removing intermediate container c615872e8f6d 10:40:43 ---> 04c84bf3bdf7 10:40:43 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:40:43 ---> Running in beb14992b0c6 10:40:43 Removing intermediate container beb14992b0c6 10:40:43 ---> a359b8708801 10:40:43 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 10:40:43 ---> Running in 675519b4ccb3 10:40:43 Removing intermediate container 675519b4ccb3 10:40:43 ---> 4450320f0ab8 10:40:43 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:40:43 ---> Running in 8b9fcc2d9255 10:40:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:40:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:40:44 OK: 269 MiB in 57 packages 10:40:44 Removing intermediate container 8b9fcc2d9255 10:40:44 ---> 0008a1f21ef5 10:40:44 Step 8/24 : WORKDIR /device-snmp-go 10:40:44 ---> Running in 2d842bd91a7f 10:40:45 Removing intermediate container 2d842bd91a7f 10:40:45 ---> d21a711708bd 10:40:45 Step 9/24 : COPY go.mod vendor* ./ 10:40:45 ---> d918771d552f 10:40:45 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:40:45 ---> Running in ccd3da60bd57 10:40:45 Removing intermediate container ccd3da60bd57 10:40:45 ---> 5222a4c5e444 10:40:45 Step 11/24 : COPY . . 10:40:46 ---> 3e6b6b8bce40 10:40:46 Step 12/24 : RUN ${MAKE} 10:40:46 ---> Running in 2e6647e89f53 10:40:46 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.1.0-dev.1" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 10:41:08 Removing intermediate container 2e6647e89f53 10:41:08 ---> c73a3302f007 10:41:08 Step 13/24 : FROM alpine:3.17 10:41:08 3.17: Pulling from library/alpine 10:41:08 9398808236ff: Pulling fs layer 10:41:08 9398808236ff: Verifying Checksum 10:41:08 9398808236ff: Pull complete 10:41:08 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 10:41:08 Status: Downloaded newer image for alpine:3.17 10:41:08 ---> 1e0b8b5322fc 10:41:08 Step 14/24 : RUN apk add --update --no-cache dumb-init 10:41:08 ---> Running in afc18e78cf79 10:41:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:41:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:41:08 (1/1) Installing dumb-init (1.2.5-r2) 10:41:08 Executing busybox-1.35.0-r29.trigger 10:41:08 OK: 7 MiB in 16 packages 10:41:08 Removing intermediate container afc18e78cf79 10:41:08 ---> d32b3632aba0 10:41:08 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 10:41:08 ---> 0783ad0898a6 10:41:08 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 10:41:08 ---> 289d0a681b02 10:41:08 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 10:41:08 ---> 8f081c92d07f 10:41:08 Step 18/24 : EXPOSE 59993 10:41:08 ---> Running in aac43dfe2c71 10:41:08 Removing intermediate container aac43dfe2c71 10:41:08 ---> c50423171d13 10:41:08 Step 19/24 : EXPOSE 161 10:41:08 ---> Running in e998af2c1379 10:41:08 Removing intermediate container e998af2c1379 10:41:08 ---> 704d72c0bcbd 10:41:08 Step 20/24 : ENTRYPOINT ["/device-snmp"] 10:41:08 ---> Running in d9085545efa6 10:41:08 Removing intermediate container d9085545efa6 10:41:08 ---> f2200a84670d 10:41:08 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 10:41:08 ---> Running in a83bb425503b 10:41:08 Removing intermediate container a83bb425503b 10:41:08 ---> 77d0aa22a81b 10:41:08 Step 22/24 : LABEL arch=amd64 10:41:08 ---> Running in c9c365c010f3 10:41:09 Removing intermediate container c9c365c010f3 10:41:09 ---> c8cfbcbc715d 10:41:09 Step 23/24 : LABEL git_sha=9a9cfe769be8313ba8a21d40637564934ad0b980 10:41:09 ---> Running in 0d6c45f30238 10:41:09 Removing intermediate container 0d6c45f30238 10:41:09 ---> 95c3d9adfe08 10:41:09 Step 24/24 : LABEL version=3.1.0-dev.1 10:41:09 ---> Running in 6dbb9fbdaa59 10:41:09 Removing intermediate container 6dbb9fbdaa59 10:41:09 ---> 44fbc93d5dd5 10:41:09 [Warning] One or more build-args [ARCH] were not consumed 10:41:09 Successfully built 44fbc93d5dd5 10:41:09 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:41:09 provisioning config files... 10:41:09 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config12884306436066187489tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:41:09 ---> docker-login.sh 10:41:09 nexus3.edgexfoundry.org:10001 10:41:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:41:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:41:09 Configure a credential helper to remove this warning. See 10:41:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:41:09 10:41:09 Login Succeeded 10:41:09 nexus3.edgexfoundry.org:10002 10:41:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:41:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:41:09 Configure a credential helper to remove this warning. See 10:41:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:41:09 10:41:09 Login Succeeded 10:41:09 nexus3.edgexfoundry.org:10003 10:41:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:41:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:41:10 Configure a credential helper to remove this warning. See 10:41:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:41:10 10:41:10 Login Succeeded 10:41:10 nexus3.edgexfoundry.org:10004 10:41:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:41:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:41:10 Configure a credential helper to remove this warning. See 10:41:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:41:10 10:41:10 Login Succeeded 10:41:10 docker.io 10:41:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:41:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:41:10 Configure a credential helper to remove this warning. See 10:41:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:41:10 10:41:10 Login Succeeded 10:41:10 ---> docker-login.sh ends [Pipeline] } 10:41:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:41:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:41:10 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 10:41:10 9a9cfe769be8313ba8a21d40637564934ad0b980 10:41:10 latest 10:41:10 3.1.0-dev.1 10:41:10 9a9cfe769be8313ba8a21d40637564934ad0b980-3.1.0-dev.1 10:41:10 main 10:41:10 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:11 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:9a9cfe769be8313ba8a21d40637564934ad0b980 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:11 + docker push nexus3.edgexfoundry.org:10004/device-snmp:9a9cfe769be8313ba8a21d40637564934ad0b980 10:41:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 10:41:11 b2da9a855b10: Preparing 10:41:11 0f2098baf040: Preparing 10:41:11 755028a156de: Preparing 10:41:11 41db31ff820b: Preparing 10:41:11 36b50b131297: Preparing 10:41:11 36b50b131297: Layer already exists 10:41:11 0f2098baf040: Pushed 10:41:11 b2da9a855b10: Pushed 10:41:11 41db31ff820b: Pushed 10:41:13 755028a156de: Pushed 10:41:13 9a9cfe769be8313ba8a21d40637564934ad0b980: digest: sha256:b6ef5e9ef5ac5b4edcc3ac5cf3cb1eb7e5b28749214bd98ba9f31a7378a343ed size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:14 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:14 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 10:41:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 10:41:14 b2da9a855b10: Preparing 10:41:14 0f2098baf040: Preparing 10:41:14 755028a156de: Preparing 10:41:14 41db31ff820b: Preparing 10:41:14 36b50b131297: Preparing 10:41:14 b2da9a855b10: Layer already exists 10:41:14 36b50b131297: Layer already exists 10:41:14 755028a156de: Layer already exists 10:41:14 41db31ff820b: Layer already exists 10:41:14 0f2098baf040: Layer already exists 10:41:14 latest: digest: sha256:b6ef5e9ef5ac5b4edcc3ac5cf3cb1eb7e5b28749214bd98ba9f31a7378a343ed size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:14 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:15 + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.1.0-dev.1 10:41:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 10:41:15 b2da9a855b10: Preparing 10:41:15 0f2098baf040: Preparing 10:41:15 755028a156de: Preparing 10:41:15 41db31ff820b: Preparing 10:41:15 36b50b131297: Preparing 10:41:15 b2da9a855b10: Layer already exists 10:41:15 41db31ff820b: Layer already exists 10:41:15 755028a156de: Layer already exists 10:41:15 0f2098baf040: Layer already exists 10:41:15 36b50b131297: Layer already exists 10:41:15 3.1.0-dev.1: digest: sha256:b6ef5e9ef5ac5b4edcc3ac5cf3cb1eb7e5b28749214bd98ba9f31a7378a343ed size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:15 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:9a9cfe769be8313ba8a21d40637564934ad0b980-3.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:15 + docker push nexus3.edgexfoundry.org:10004/device-snmp:9a9cfe769be8313ba8a21d40637564934ad0b980-3.1.0-dev.1 10:41:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 10:41:15 b2da9a855b10: Preparing 10:41:15 0f2098baf040: Preparing 10:41:15 755028a156de: Preparing 10:41:15 41db31ff820b: Preparing 10:41:15 36b50b131297: Preparing 10:41:15 41db31ff820b: Layer already exists 10:41:15 0f2098baf040: Layer already exists 10:41:15 755028a156de: Layer already exists 10:41:15 b2da9a855b10: Layer already exists 10:41:15 36b50b131297: Layer already exists 10:41:15 9a9cfe769be8313ba8a21d40637564934ad0b980-3.1.0-dev.1: digest: sha256:b6ef5e9ef5ac5b4edcc3ac5cf3cb1eb7e5b28749214bd98ba9f31a7378a343ed size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:15 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:16 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 10:41:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 10:41:16 b2da9a855b10: Preparing 10:41:16 0f2098baf040: Preparing 10:41:16 755028a156de: Preparing 10:41:16 41db31ff820b: Preparing 10:41:16 36b50b131297: Preparing 10:41:16 0f2098baf040: Layer already exists 10:41:16 b2da9a855b10: Layer already exists 10:41:16 36b50b131297: Layer already exists 10:41:16 41db31ff820b: Layer already exists 10:41:16 755028a156de: Layer already exists 10:41:16 main: digest: sha256:b6ef5e9ef5ac5b4edcc3ac5cf3cb1eb7e5b28749214bd98ba9f31a7378a343ed size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:41:16 ===================================================== [Pipeline] echo 10:41:16 taggedImages: 10:41:16 - nexus3.edgexfoundry.org:10004/device-snmp:9a9cfe769be8313ba8a21d40637564934ad0b980 10:41:16 - nexus3.edgexfoundry.org:10004/device-snmp:latest 10:41:16 - nexus3.edgexfoundry.org:10004/device-snmp:3.1.0-dev.1 10:41:16 - nexus3.edgexfoundry.org:10004/device-snmp:9a9cfe769be8313ba8a21d40637564934ad0b980-3.1.0-dev.1 10:41:16 - nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:41:16 10:41:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:41:17 latest: Pulling from edgex-lftools-log-publisher 10:41:17 5eb5b503b376: Pulling fs layer 10:41:17 5c69ac0246d0: Pulling fs layer 10:41:17 ec43610c2a17: Pulling fs layer 10:41:17 3a2ae6a8a46f: Pulling fs layer 10:41:17 33b1e0a273af: Pulling fs layer 10:41:17 5d3b04190fa2: Pulling fs layer 10:41:17 2f39f015ded8: Pulling fs layer 10:41:17 33b1e0a273af: Waiting 10:41:17 5d3b04190fa2: Waiting 10:41:17 2f39f015ded8: Waiting 10:41:17 3a2ae6a8a46f: Waiting 10:41:17 5c69ac0246d0: Verifying Checksum 10:41:17 5c69ac0246d0: Download complete 10:41:17 3a2ae6a8a46f: Verifying Checksum 10:41:17 ec43610c2a17: Verifying Checksum 10:41:17 ec43610c2a17: Download complete 10:41:17 33b1e0a273af: Verifying Checksum 10:41:17 33b1e0a273af: Download complete 10:41:17 5d3b04190fa2: Download complete 10:41:17 5eb5b503b376: Verifying Checksum 10:41:17 5eb5b503b376: Download complete 10:41:17 2f39f015ded8: Download complete 10:41:18 5eb5b503b376: Pull complete 10:41:18 5c69ac0246d0: Pull complete 10:41:18 ec43610c2a17: Pull complete 10:41:18 3a2ae6a8a46f: Pull complete 10:41:19 33b1e0a273af: Pull complete 10:41:19 5d3b04190fa2: Pull complete 10:41:23 2f39f015ded8: Pull complete 10:41:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:41:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:41:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:41:23 prd-ubuntu20.04-docker-8c-8g-3222 does not seem to be running inside a container 10:41:23 $ 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/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:41:29 $ docker top c4657f57ad8d9049cec95ae4e6937af779b828b221ad7b98ba1e0a8dc7877511 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:41:29 ---> job-cost.sh 10:41:29 lf-activate-venv: SKIPPING 10:41:29 INFO: No Stack... 10:41:30 INFO: Retrieving Pricing Info for: v3-standard-8 10:41:30 INFO: Archiving Costs [Pipeline] sh 10:41:30 + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv 10:41:30 + cut -d, -f6 [Pipeline] lock 10:41:30 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-87-stack-cost] 10:41:30 Resource [jenkins-edgexfoundry-device-snmp-go-main-87-stack-cost] did not exist. Created. 10:41:30 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-87-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:41:30 + echo total: 0.2199999988079071 [Pipeline] stash 10:41:30 Stashed 1 file(s) [Pipeline] } 10:41:31 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-87-stack-cost] [Pipeline] // lock [Pipeline] } 10:41:31 $ docker stop --time=1 c4657f57ad8d9049cec95ae4e6937af779b828b221ad7b98ba1e0a8dc7877511 10:41:32 $ docker rm -f --volumes c4657f57ad8d9049cec95ae4e6937af779b828b221ad7b98ba1e0a8dc7877511 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:42:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3226 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 10:42:33 Running in /w/workspace/device-snmp-go/87 [Pipeline] { [Pipeline] checkout 10:42:33 Selected Git installation does not exist. Using Default 10:42:33 The recommended git tool is: NONE 10:42:40 using credential edgex-jenkins-ssh 10:42:40 Cloning the remote Git repository 10:42:40 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 10:42:40 > git init /w/workspace/device-snmp-go/87 # timeout=10 10:42:40 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 10:42:40 > git --version # timeout=10 10:42:41 > git --version # 'git version 2.25.1' 10:42:41 using GIT_SSH to set credentials SSH Credentials for GitHub 10:42:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:42:42 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 10:42:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:42:43 Avoid second fetch 10:42:43 Checking out Revision 9a9cfe769be8313ba8a21d40637564934ad0b980 (main) 10:42:43 > git config core.sparsecheckout # timeout=10 10:42:43 > git checkout -f 9a9cfe769be8313ba8a21d40637564934ad0b980 # timeout=10 10:42:44 Commit message: "Merge pull request #315 from jackchenjc/pkg-errors-removal" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:42:45 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:42:45 % Total % Received % Xferd Average Speed Time Time Time Current 10:42:45 Dload Upload Total Spent Left Speed 10:42:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 194k 0 --:--:-- --:--:-- --:--:-- 194k [Pipeline] sh 10:42:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:42:46 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:42:46 + sudo tee /etc/docker/daemon.new 10:42:46 { 10:42:46 "registry-mirrors": [ 10:42:46 "https://nexus3.edgexfoundry.org:10001" 10:42:46 ], 10:42:46 "bip": "10.250.0.254/24", 10:42:46 "hosts": [ 10:42:46 "tcp://0.0.0.0:5555", 10:42:46 "unix:///var/run/docker.sock" 10:42:46 ], 10:42:46 "mtu": 1458, 10:42:46 "selinux-enabled": true, 10:42:46 "seccomp-profile": "/etc/docker/seccomp.json" 10:42:46 } [Pipeline] sh 10:42:46 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:42:46 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:43:05 provisioning config files... 10:43:05 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/87@tmp/config15134753630170078027tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:43:05 ---> docker-login.sh 10:43:05 nexus3.edgexfoundry.org:10001 10:43:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:43:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:43:06 Configure a credential helper to remove this warning. See 10:43:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:43:06 10:43:06 Login Succeeded 10:43:06 nexus3.edgexfoundry.org:10002 10:43:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:43:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:43:06 Configure a credential helper to remove this warning. See 10:43:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:43:06 10:43:06 Login Succeeded 10:43:06 nexus3.edgexfoundry.org:10003 10:43:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:43:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:43:07 Configure a credential helper to remove this warning. See 10:43:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:43:07 10:43:07 Login Succeeded 10:43:07 nexus3.edgexfoundry.org:10004 10:43:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:43:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:43:07 Configure a credential helper to remove this warning. See 10:43:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:43:07 10:43:07 Login Succeeded 10:43:07 docker.io 10:43:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:43:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:43:08 Configure a credential helper to remove this warning. See 10:43:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:43:08 10:43:08 Login Succeeded 10:43:08 ---> docker-login.sh ends [Pipeline] } 10:43:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:43:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:43:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:43:08 ========================================================= 10:43:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 10:43:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:43:09 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 10:43:09 Sending build context to Docker daemon 2.959MB 10:43:09 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 10:43:09 Step 2/12 : FROM ${BASE} AS builder 10:43:09 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:43:09 edb6bdbacee9: Pulling fs layer 10:43:09 5f9638ab2659: Pulling fs layer 10:43:09 8d51d6327a98: Pulling fs layer 10:43:09 8b374f2dd631: Pulling fs layer 10:43:09 ec14aa9079de: Pulling fs layer 10:43:09 2f466654f4bb: Pulling fs layer 10:43:09 554e91adad29: Pulling fs layer 10:43:09 8b374f2dd631: Waiting 10:43:09 ec14aa9079de: Waiting 10:43:09 2f466654f4bb: Waiting 10:43:09 554e91adad29: Waiting 10:43:09 5f9638ab2659: Verifying Checksum 10:43:09 5f9638ab2659: Download complete 10:43:09 8b374f2dd631: Download complete 10:43:09 ec14aa9079de: Verifying Checksum 10:43:09 ec14aa9079de: Download complete 10:43:09 edb6bdbacee9: Verifying Checksum 10:43:09 edb6bdbacee9: Download complete 10:43:11 edb6bdbacee9: Pull complete 10:43:11 554e91adad29: Verifying Checksum 10:43:11 554e91adad29: Download complete 10:43:11 5f9638ab2659: Pull complete 10:43:12 8d51d6327a98: Verifying Checksum 10:43:12 8d51d6327a98: Download complete 10:43:12 2f466654f4bb: Verifying Checksum 10:43:12 2f466654f4bb: Download complete 10:43:25 8d51d6327a98: Pull complete 10:43:25 8b374f2dd631: Pull complete 10:43:25 ec14aa9079de: Pull complete 10:43:31 2f466654f4bb: Pull complete 10:43:33 554e91adad29: Pull complete 10:43:33 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 10:43:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 10:43:33 ---> 1e15ea492957 10:43:33 Step 3/12 : ARG ADD_BUILD_TAGS="" 10:43:36 ---> Running in 73453943dcaf 10:43:36 Removing intermediate container 73453943dcaf 10:43:36 ---> 9304730ed721 10:43:36 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:43:36 ---> Running in 5c2a760359b1 10:43:36 Removing intermediate container 5c2a760359b1 10:43:36 ---> bd120c2c9ce1 10:43:36 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:43:36 ---> Running in 8b6ea563e4b7 10:43:36 Removing intermediate container 8b6ea563e4b7 10:43:36 ---> d58f89ae034e 10:43:36 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 10:43:37 ---> Running in 9c02e8128600 10:43:37 Removing intermediate container 9c02e8128600 10:43:37 ---> e8c517327f86 10:43:37 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:43:37 ---> Running in 3104538339fc 10:43:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:43:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:43:40 (1/4) Installing openssh-keygen (9.1_p1-r4) 10:43:40 (2/4) Installing libedit (20221030.3.1-r0) 10:43:40 (3/4) Installing openssh-client-common (9.1_p1-r4) 10:43:40 (4/4) Installing openssh-client-default (9.1_p1-r4) 10:43:40 Executing busybox-1.35.0-r29.trigger 10:43:40 OK: 268 MiB in 57 packages 10:43:44 Removing intermediate container 3104538339fc 10:43:44 ---> 043eae0f39cd 10:43:44 Step 8/12 : WORKDIR /device-snmp-go 10:43:44 ---> Running in 2d07180ff046 10:43:44 Removing intermediate container 2d07180ff046 10:43:44 ---> 96ec002c7a4a 10:43:44 Step 9/12 : COPY go.mod vendor* ./ 10:43:44 ---> 868df8264d13 10:43:44 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:43:44 ---> Running in f79a2dc8fb21 10:44:52 Removing intermediate container f79a2dc8fb21 10:44:52 ---> c5531b7326c2 10:44:52 Step 11/12 : COPY . . 10:44:52 ---> 35ccfd02acd0 10:44:52 Step 12/12 : RUN ${MAKE} 10:44:52 ---> Running in 7790672f88b0 10:44:52 noop 10:44:52 Removing intermediate container 7790672f88b0 10:44:52 ---> a956f4e57621 10:44:52 Successfully built a956f4e57621 10:44:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:44:52 + docker inspect -f . ci-base-image-arm64 10:44:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:44:53 prd-ubuntu20.04-docker-arm64-4c-16g-3226 does not seem to be running inside a container 10:44:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/87 -v /w/workspace/device-snmp-go/87:/w/workspace/device-snmp-go/87:rw,z -v /w/workspace/device-snmp-go/87@tmp:/w/workspace/device-snmp-go/87@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 ******** ci-base-image-arm64 cat 10:44:54 $ docker top 4e8c3e681914566102455f6636f75fbe3b361fb380231470d0ae637511a22b8c -eo pid,comm [Pipeline] { [Pipeline] sh 10:44:55 + go version 10:44:55 go version go1.20.6 linux/arm64 [Pipeline] } 10:44:55 $ docker stop --time=1 4e8c3e681914566102455f6636f75fbe3b361fb380231470d0ae637511a22b8c 10:44:57 $ docker rm -f --volumes 4e8c3e681914566102455f6636f75fbe3b361fb380231470d0ae637511a22b8c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:44:57 + docker inspect -f . ci-base-image-arm64 10:44:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:44:57 prd-ubuntu20.04-docker-arm64-4c-16g-3226 does not seem to be running inside a container 10:44:58 $ 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/87 -v /w/workspace/device-snmp-go/87:/w/workspace/device-snmp-go/87:rw,z -v /w/workspace/device-snmp-go/87@tmp:/w/workspace/device-snmp-go/87@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 ******** ci-base-image-arm64 cat 10:44:59 $ docker top cb52538bbeb026be0f325bf42c389b1a7c46d55ef2111efc871d7756de5ad2ae -eo pid,comm [Pipeline] { [Pipeline] sh 10:45:00 + git config --global --add safe.directory /w/workspace/device-snmp-go/87 [Pipeline] fileExists [Pipeline] sh 10:45:00 + make test 10:45:00 go test ./... -coverprofile=coverage.out 10:45:39 ? github.com/edgexfoundry/device-snmp-go [no test files] 10:48:01 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 10:48:01 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.047s coverage: 0.0% of statements 10:48:01 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:48:01 go vet ./... 10:48:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:48:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:48:23 ./bin/test-attribution-txt.sh [Pipeline] echo 10:48:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:48:23 $ docker stop --time=1 cb52538bbeb026be0f325bf42c389b1a7c46d55ef2111efc871d7756de5ad2ae 10:48:25 $ docker rm -f --volumes cb52538bbeb026be0f325bf42c389b1a7c46d55ef2111efc871d7756de5ad2ae [Pipeline] // withDockerContainer [Pipeline] sh 10:48:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:48:26 Warning: overwriting stash ‘coverage-report’ 10:48:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:48:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:48:27 + ls -al . 10:48:27 total 168 10:48:27 drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 10:45 . 10:48:27 drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 10:42 .. 10:48:27 -rw-rw-r-- 1 jenkins jenkins 6 Aug 9 10:42 .dockerignore 10:48:27 drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 10:42 .git 10:48:27 drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:42 .github 10:48:27 -rw-rw-r-- 1 jenkins jenkins 328 Aug 9 10:42 .gitignore 10:48:27 -rw-rw-r-- 1 jenkins jenkins 41 Aug 9 10:42 .golangci.yml 10:48:27 -rw-rw-r-- 1 jenkins jenkins 8956 Aug 9 10:42 Attribution.txt 10:48:27 -rw-rw-r-- 1 jenkins jenkins 10534 Aug 9 10:42 CHANGELOG.md 10:48:27 -rw-rw-r-- 1 jenkins jenkins 1423 Aug 9 10:42 Dockerfile 10:48:27 -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 10:42 GOVERNANCE.md 10:48:27 -rw-rw-r-- 1 jenkins jenkins 656 Aug 9 10:42 Jenkinsfile 10:48:27 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 9 10:42 LICENSE 10:48:27 -rw-rw-r-- 1 jenkins jenkins 2114 Aug 9 10:42 Makefile 10:48:27 -rw-rw-r-- 1 jenkins jenkins 620 Aug 9 10:42 OWNERS.md 10:48:27 -rw-rw-r-- 1 jenkins jenkins 10559 Aug 9 10:42 README.md 10:48:27 -rw-rw-r-- 1 jenkins jenkins 11 Aug 9 10:39 VERSION 10:48:27 drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 10:42 bin 10:48:27 drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:42 cmd 10:48:27 -rw-r--r-- 1 jenkins jenkins 8837 Aug 9 10:47 coverage.out 10:48:27 -rw-rw-r-- 1 jenkins jenkins 3235 Aug 9 10:42 go.mod 10:48:27 -rw-rw-r-- 1 jenkins jenkins 31230 Aug 9 10:42 go.sum 10:48:27 drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:42 internal 10:48:27 drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 10:42 snap 10:48:27 -rw-rw-r-- 1 jenkins jenkins 228 Aug 9 10:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:48:28 + 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=9a9cfe769be8313ba8a21d40637564934ad0b980 --label arch=arm64 --label version=3.1.0-dev.1 . 10:48:28 Sending build context to Docker daemon 2.969MB 10:48:28 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 10:48:28 Step 2/24 : FROM ${BASE} AS builder 10:48:28 ---> a956f4e57621 10:48:28 Step 3/24 : ARG ADD_BUILD_TAGS="" 10:48:28 ---> Running in e51a27f957b9 10:48:29 Removing intermediate container e51a27f957b9 10:48:29 ---> 4ef908fb7ee3 10:48:29 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:48:29 ---> Running in 2f5d361b1468 10:48:29 Removing intermediate container 2f5d361b1468 10:48:29 ---> 882aa3a4f113 10:48:29 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:48:29 ---> Running in 6401c400a22c 10:48:29 Removing intermediate container 6401c400a22c 10:48:29 ---> f636c10bfcff 10:48:29 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 10:48:29 ---> Running in 3a73641a3a05 10:48:30 Removing intermediate container 3a73641a3a05 10:48:30 ---> 29a2c95a745b 10:48:30 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:48:30 ---> Running in ac7f8699beb9 10:48:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:48:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:48:33 OK: 268 MiB in 57 packages 10:48:34 Removing intermediate container ac7f8699beb9 10:48:34 ---> b36046d287fa 10:48:34 Step 8/24 : WORKDIR /device-snmp-go 10:48:34 ---> Running in a04e8dae75a0 10:48:34 Removing intermediate container a04e8dae75a0 10:48:34 ---> e066fda61789 10:48:34 Step 9/24 : COPY go.mod vendor* ./ 10:48:34 ---> 509d10fd652b 10:48:34 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:48:34 ---> Running in 0d5593ff4a25 10:48:36 Removing intermediate container 0d5593ff4a25 10:48:36 ---> c31523cf37fd 10:48:36 Step 11/24 : COPY . . 10:48:37 ---> ac2040c99e65 10:48:37 Step 12/24 : RUN ${MAKE} 10:48:40 ---> Running in 6df5d53d2eae 10:48:41 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.1.0-dev.1" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 10:51:02 Removing intermediate container 6df5d53d2eae 10:51:02 ---> 1f988b3d7fd0 10:51:02 Step 13/24 : FROM alpine:3.17 10:51:02 3.17: Pulling from library/alpine 10:51:02 4060ece20d7a: Pulling fs layer 10:51:02 4060ece20d7a: Verifying Checksum 10:51:02 4060ece20d7a: Download complete 10:51:02 4060ece20d7a: Pull complete 10:51:02 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 10:51:02 Status: Downloaded newer image for alpine:3.17 10:51:02 ---> 8650cd65339b 10:51:02 Step 14/24 : RUN apk add --update --no-cache dumb-init 10:51:02 ---> Running in bee66ce81b1b 10:51:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:51:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:51:02 (1/1) Installing dumb-init (1.2.5-r2) 10:51:02 Executing busybox-1.35.0-r29.trigger 10:51:02 OK: 8 MiB in 16 packages 10:51:02 Removing intermediate container bee66ce81b1b 10:51:02 ---> 86e1a7dcf5a4 10:51:02 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 10:51:02 ---> 2024c2b888d5 10:51:02 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 10:51:02 ---> fa7e473990b1 10:51:02 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 10:51:03 ---> 250cab5fdcae 10:51:03 Step 18/24 : EXPOSE 59993 10:51:03 ---> Running in 9591ebf395b0 10:51:03 Removing intermediate container 9591ebf395b0 10:51:03 ---> d63e3decfc26 10:51:03 Step 19/24 : EXPOSE 161 10:51:03 ---> Running in 2930e39a1689 10:51:03 Removing intermediate container 2930e39a1689 10:51:03 ---> 0a52f231e3aa 10:51:03 Step 20/24 : ENTRYPOINT ["/device-snmp"] 10:51:03 ---> Running in 2348410be1cb 10:51:04 Removing intermediate container 2348410be1cb 10:51:04 ---> ddb41301937e 10:51:04 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 10:51:04 ---> Running in 44aa43917278 10:51:04 Removing intermediate container 44aa43917278 10:51:04 ---> 2294cb4cfab1 10:51:04 Step 22/24 : LABEL arch=arm64 10:51:04 ---> Running in 7d48cdade166 10:51:04 Removing intermediate container 7d48cdade166 10:51:04 ---> 040dceecee91 10:51:04 Step 23/24 : LABEL git_sha=9a9cfe769be8313ba8a21d40637564934ad0b980 10:51:04 ---> Running in 80e0f75de6b2 10:51:05 Removing intermediate container 80e0f75de6b2 10:51:05 ---> e44eb8599363 10:51:05 Step 24/24 : LABEL version=3.1.0-dev.1 10:51:05 ---> Running in f5b1e5d392b7 10:51:05 Removing intermediate container f5b1e5d392b7 10:51:05 ---> 3b65090641cf 10:51:05 [Warning] One or more build-args [ARCH] were not consumed 10:51:05 Successfully built 3b65090641cf 10:51:05 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:51:05 provisioning config files... 10:51:05 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/87@tmp/config1261894774368921307tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:51:06 ---> docker-login.sh 10:51:06 nexus3.edgexfoundry.org:10001 10:51:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:51:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:51:06 Configure a credential helper to remove this warning. See 10:51:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:51:06 10:51:06 Login Succeeded 10:51:06 nexus3.edgexfoundry.org:10002 10:51:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:51:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:51:06 Configure a credential helper to remove this warning. See 10:51:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:51:06 10:51:06 Login Succeeded 10:51:06 nexus3.edgexfoundry.org:10003 10:51:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:51:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:51:07 Configure a credential helper to remove this warning. See 10:51:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:51:07 10:51:07 Login Succeeded 10:51:07 nexus3.edgexfoundry.org:10004 10:51:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:51:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:51:07 Configure a credential helper to remove this warning. See 10:51:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:51:07 10:51:07 Login Succeeded 10:51:07 docker.io 10:51:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:51:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:51:08 Configure a credential helper to remove this warning. See 10:51:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:51:08 10:51:08 Login Succeeded 10:51:08 ---> docker-login.sh ends [Pipeline] } 10:51:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:51:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:51:08 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 10:51:08 9a9cfe769be8313ba8a21d40637564934ad0b980 10:51:08 latest 10:51:08 3.1.0-dev.1 10:51:08 9a9cfe769be8313ba8a21d40637564934ad0b980-3.1.0-dev.1 10:51:08 main 10:51:08 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:51:08 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:9a9cfe769be8313ba8a21d40637564934ad0b980 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:51:08 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:9a9cfe769be8313ba8a21d40637564934ad0b980 10:51:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 10:51:08 b8322c11382b: Preparing 10:51:08 8d041133a277: Preparing 10:51:08 8c67cc800300: Preparing 10:51:08 920fdbe7fca4: Preparing 10:51:08 d2d9d24a8c2a: Preparing 10:51:08 d2d9d24a8c2a: Layer already exists 10:51:09 8d041133a277: Pushed 10:51:09 b8322c11382b: Pushed 10:51:09 920fdbe7fca4: Pushed 10:51:14 8c67cc800300: Pushed 10:51:14 9a9cfe769be8313ba8a21d40637564934ad0b980: digest: sha256:a65602d103f0ec11ab18986fd95d831d86c08d9d05ab0e444df0e99395cc7244 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:51:14 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:51:15 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 10:51:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 10:51:15 b8322c11382b: Preparing 10:51:15 8d041133a277: Preparing 10:51:15 8c67cc800300: Preparing 10:51:15 920fdbe7fca4: Preparing 10:51:15 d2d9d24a8c2a: Preparing 10:51:15 b8322c11382b: Layer already exists 10:51:15 8c67cc800300: Layer already exists 10:51:15 920fdbe7fca4: Layer already exists 10:51:15 8d041133a277: Layer already exists 10:51:15 d2d9d24a8c2a: Layer already exists 10:51:15 latest: digest: sha256:a65602d103f0ec11ab18986fd95d831d86c08d9d05ab0e444df0e99395cc7244 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:51:15 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:51:15 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.1.0-dev.1 10:51:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 10:51:15 b8322c11382b: Preparing 10:51:15 8d041133a277: Preparing 10:51:15 8c67cc800300: Preparing 10:51:15 920fdbe7fca4: Preparing 10:51:15 d2d9d24a8c2a: Preparing 10:51:15 8d041133a277: Layer already exists 10:51:15 8c67cc800300: Layer already exists 10:51:15 b8322c11382b: Layer already exists 10:51:15 d2d9d24a8c2a: Layer already exists 10:51:15 920fdbe7fca4: Layer already exists 10:51:15 3.1.0-dev.1: digest: sha256:a65602d103f0ec11ab18986fd95d831d86c08d9d05ab0e444df0e99395cc7244 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:51:16 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:9a9cfe769be8313ba8a21d40637564934ad0b980-3.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:51:16 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:9a9cfe769be8313ba8a21d40637564934ad0b980-3.1.0-dev.1 10:51:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 10:51:16 b8322c11382b: Preparing 10:51:16 8d041133a277: Preparing 10:51:16 8c67cc800300: Preparing 10:51:16 920fdbe7fca4: Preparing 10:51:16 d2d9d24a8c2a: Preparing 10:51:16 920fdbe7fca4: Layer already exists 10:51:16 d2d9d24a8c2a: Layer already exists 10:51:16 8c67cc800300: Layer already exists 10:51:16 b8322c11382b: Layer already exists 10:51:16 8d041133a277: Layer already exists 10:51:16 9a9cfe769be8313ba8a21d40637564934ad0b980-3.1.0-dev.1: digest: sha256:a65602d103f0ec11ab18986fd95d831d86c08d9d05ab0e444df0e99395cc7244 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:51:17 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:51:17 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 10:51:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 10:51:17 b8322c11382b: Preparing 10:51:17 8d041133a277: Preparing 10:51:17 8c67cc800300: Preparing 10:51:17 920fdbe7fca4: Preparing 10:51:17 d2d9d24a8c2a: Preparing 10:51:17 d2d9d24a8c2a: Layer already exists 10:51:17 8d041133a277: Layer already exists 10:51:17 b8322c11382b: Layer already exists 10:51:17 8c67cc800300: Layer already exists 10:51:17 920fdbe7fca4: Layer already exists 10:51:17 main: digest: sha256:a65602d103f0ec11ab18986fd95d831d86c08d9d05ab0e444df0e99395cc7244 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:51:17 ===================================================== [Pipeline] echo 10:51:17 taggedImages: 10:51:17 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:9a9cfe769be8313ba8a21d40637564934ad0b980 10:51:17 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 10:51:17 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.1.0-dev.1 10:51:17 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:9a9cfe769be8313ba8a21d40637564934ad0b980-3.1.0-dev.1 10:51:17 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:51:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:51:17 10:51:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:51:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:51:18 arm64: Pulling from edgex-lftools-log-publisher 10:51:18 8998bd30e6a1: Pulling fs layer 10:51:18 04944245beec: Pulling fs layer 10:51:18 699f458cf7ca: Pulling fs layer 10:51:18 765212b225bb: Pulling fs layer 10:51:18 f23df028b6ca: Pulling fs layer 10:51:18 d65c8cfc05b1: Pulling fs layer 10:51:18 2437ff75d9bd: Pulling fs layer 10:51:18 765212b225bb: Waiting 10:51:18 d65c8cfc05b1: Waiting 10:51:18 f23df028b6ca: Waiting 10:51:18 2437ff75d9bd: Waiting 10:51:18 04944245beec: Verifying Checksum 10:51:18 04944245beec: Download complete 10:51:18 765212b225bb: Verifying Checksum 10:51:18 765212b225bb: Download complete 10:51:18 f23df028b6ca: Verifying Checksum 10:51:18 f23df028b6ca: Download complete 10:51:18 d65c8cfc05b1: Download complete 10:51:18 699f458cf7ca: Verifying Checksum 10:51:18 699f458cf7ca: Download complete 10:51:19 8998bd30e6a1: Verifying Checksum 10:51:19 8998bd30e6a1: Download complete 10:51:21 2437ff75d9bd: Verifying Checksum 10:51:21 2437ff75d9bd: Download complete 10:51:22 8998bd30e6a1: Pull complete 10:51:23 04944245beec: Pull complete 10:51:24 699f458cf7ca: Pull complete 10:51:24 765212b225bb: Pull complete 10:51:25 f23df028b6ca: Pull complete 10:51:25 d65c8cfc05b1: Pull complete 10:51:40 2437ff75d9bd: Pull complete 10:51:40 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:51:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:51:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:51:40 prd-ubuntu20.04-docker-arm64-4c-16g-3226 does not seem to be running inside a container 10:51:40 $ 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/87 -v /w/workspace/device-snmp-go/87:/w/workspace/device-snmp-go/87:rw,z -v /w/workspace/device-snmp-go/87@tmp:/w/workspace/device-snmp-go/87@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:51:43 $ docker top b87103fa69870fee2cc3c4be76615d12e57423d60d177ab419f333c793008377 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:51:43 ---> job-cost.sh 10:51:43 lf-activate-venv: SKIPPING 10:51:43 INFO: No Stack... 10:51:44 INFO: Retrieving Pricing Info for: v3-standard-4 10:51:45 INFO: Archiving Costs [Pipeline] sh 10:51:45 + cat /w/workspace/device-snmp-go/87/archives/cost.csv 10:51:45 + cut -d, -f6 [Pipeline] lock 10:51:45 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-87-stack-cost] 10:51:45 Resource [jenkins-edgexfoundry-device-snmp-go-main-87-stack-cost] did not exist. Created. 10:51:45 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-87-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:51:46 /w/workspace/device-snmp-go/87@tmp/durable-1f6fe59e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:51:46 + echo total: 0.10999999940395355 [Pipeline] stash 10:51:46 Warning: overwriting stash ‘stack-cost’ 10:51:46 Stashed 1 file(s) [Pipeline] } 10:51:46 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-87-stack-cost] [Pipeline] // lock [Pipeline] } 10:51:46 $ docker stop --time=1 b87103fa69870fee2cc3c4be76615d12e57423d60d177ab419f333c793008377 10:51:49 $ docker rm -f --volumes b87103fa69870fee2cc3c4be76615d12e57423d60d177ab419f333c793008377 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 10:51:49 provisioning config files... 10:51:49 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1832881439120708650tmp [Pipeline] { [Pipeline] sh 10:51:50 + set +x 10:51:50 + curl -s https://codecov.io/bash 10:51:50 + bash -s -- 10:51:50 10:51:50 _____ _ 10:51:50 / ____| | | 10:51:50 | | ___ __| | ___ ___ _____ __ 10:51:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:51:50 | |___| (_) | (_| | __/ (_| (_) \ V / 10:51:50 \_____\___/ \__,_|\___|\___\___/ \_/ 10:51:50 Bash-1.0.6 10:51:50 10:51:50 10:51:50 ==> git version 2.25.1 found 10:51:50 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 10:51:50 Release-Date: 2020-01-08 10:51:50 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:51:50 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:51:50 ==> Jenkins CI detected. 10:51:50 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 10:51:50 project root: . 10:51:50 --> token set from env 10:51:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:51:50 ==> Running gcov in . (disable via -X gcov) 10:51:50 ==> Python coveragepy not found 10:51:50 ==> Searching for coverage reports in: 10:51:50 + . 10:51:50 -> Found 1 reports 10:51:50 ==> Detecting git/mercurial file structure 10:51:50 ==> Reading reports 10:51:50 + ./coverage.out bytes=8837 10:51:50 ==> Appending adjustments 10:51:50 https://docs.codecov.io/docs/fixing-reports 10:51:50 + Found adjustments 10:51:50 ==> Gzipping contents 10:51:50 4.0K /tmp/codecov.MPoAPi.gz 10:51:50 ==> Uploading reports 10:51:50 url: https://codecov.io 10:51:50 query: branch=main&commit=9a9cfe769be8313ba8a21d40637564934ad0b980&build=87&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F87%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 10:51:50 -> Pinging Codecov 10:51:50 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=main&commit=9a9cfe769be8313ba8a21d40637564934ad0b980&build=87&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F87%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 10:51:50 -> Uploading to 10:51:50 https://storage.googleapis.com/codecov/v4/raw/2023-08-09/6C56EA5C29638FB4528AC87E60AF5AE0/9a9cfe769be8313ba8a21d40637564934ad0b980/206c37f8-96de-4c5d-a3e6-34ba9ff46136.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230809%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230809T105150Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6ca16293587275039a8cedd4ca36c116412311f020a03ef0821d91b711e1494c 10:51:50 % Total % Received % Xferd Average Speed Time Time Time Current 10:51:50 Dload Upload Total Spent Left Speed 10:51:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1604 0 0 100 1604 0 8020 --:--:-- --:--:-- --:--:-- 8020 10:51:50 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/9a9cfe769be8313ba8a21d40637564934ad0b980 [Pipeline] } 10:51:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 10:51:50 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 10:51:50 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:51:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:51:51 10:51:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:51:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:51:51 1.410.4: Pulling from edgex-devops/edgex-snyk-go 10:51:51 df9b9388f04a: Pulling fs layer 10:51:51 52dc419b0ee2: Pulling fs layer 10:51:51 25bc292e5bac: Pulling fs layer 10:51:51 114826534d7a: Pulling fs layer 10:51:51 4657fd5d0bcf: Pulling fs layer 10:51:51 6ad1cebc031e: Pulling fs layer 10:51:51 8a3aa393b2d8: Pulling fs layer 10:51:51 4657fd5d0bcf: Waiting 10:51:51 6ad1cebc031e: Waiting 10:51:51 8a3aa393b2d8: Waiting 10:51:51 25bc292e5bac: Download complete 10:51:51 52dc419b0ee2: Download complete 10:51:51 4657fd5d0bcf: Verifying Checksum 10:51:51 4657fd5d0bcf: Download complete 10:51:51 df9b9388f04a: Verifying Checksum 10:51:51 df9b9388f04a: Pull complete 10:51:51 6ad1cebc031e: Verifying Checksum 10:51:51 6ad1cebc031e: Download complete 10:51:51 52dc419b0ee2: Pull complete 10:51:51 25bc292e5bac: Pull complete 10:51:52 114826534d7a: Verifying Checksum 10:51:52 114826534d7a: Download complete 10:51:52 8a3aa393b2d8: Verifying Checksum 10:51:52 8a3aa393b2d8: Download complete 10:51:55 114826534d7a: Pull complete 10:51:55 4657fd5d0bcf: Pull complete 10:51:55 6ad1cebc031e: Pull complete 10:51:58 8a3aa393b2d8: Pull complete 10:51:58 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 10:51:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:51:58 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:51:58 prd-ubuntu20.04-docker-8c-8g-3222 does not seem to be running inside a container 10:51:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 10:52:02 $ docker top 4696be93173df6e465acfe36acac44b13b80445d5c2137e716cd9d582aec2c20 -eo pid,comm [Pipeline] { [Pipeline] echo 10:52:02 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh 10:52:02 + set -o pipefail 10:52:02 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' 10:52:10 10:52:10 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 10:52:10 10:52:10 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/e6e2dd37-c97f-4606-b0a2-bcf44ec3a6fd 10:52:10 10:52:10 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 10:52:10 10:52:10 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 10:52:10 10:52:10 10:52:10 A medium severity vulnerability was found in the Snyk CLI versions you are using. 10:52:10 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 10:52:10 More details here: https://snyk.co/ue1NS 10:52:10 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 10:52:10 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 10:52:10 $ docker stop --time=1 4696be93173df6e465acfe36acac44b13b80445d5c2137e716cd9d582aec2c20 10:52:13 $ docker rm -f --volumes 4696be93173df6e465acfe36acac44b13b80445d5c2137e716cd9d582aec2c20 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:52:14 + git log --format=format:%s -1 9a9cfe769be8313ba8a21d40637564934ad0b980 [Pipeline] sh 10:52:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:52:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:52:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:52:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:52:14 prd-ubuntu20.04-docker-8c-8g-3222 does not seem to be running inside a container 10:52:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:52:15 $ docker top 61007d6ee7023ac1b6d8b0340a071eb0c5ae26b6f9c11c31f345d80da02ef01b -eo pid,comm 10:52:15 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 10:52:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:52:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:52:15 [ssh-agent] Looking for ssh-agent implementation... 10:52:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:52:15 $ docker exec 61007d6ee7023ac1b6d8b0340a071eb0c5ae26b6f9c11c31f345d80da02ef01b ssh-agent 10:52:15 SSH_AUTH_SOCK=/tmp/ssh-BFyWSJDWeego/agent.31 10:52:15 SSH_AGENT_PID=37 10:52:15 Running ssh-add (command line suppressed) 10:52:15 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_15963171645875578787.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_15963171645875578787.key) 10:52:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:52:16 + git semver tag 10:52:17 2023-08-09 10:52:16,169 [run_tag] DEBUG tag force:False 10:52:17 2023-08-09 10:52:16,169 [check_head_tag] DEBUG check head tag 10:52:17 2023-08-09 10:52:16,170 [execute] INFO git cat-file --batch-check 10:52:17 2023-08-09 10:52:16,170 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 10:52:17 2023-08-09 10:52:16,174 [execute] INFO git cat-file --batch 10:52:17 2023-08-09 10:52:16,174 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 10:52:17 2023-08-09 10:52:16,181 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 10:52:17 2023-08-09 10:52:16,182 [execute] INFO git tag -a v3.1.0-dev.1 -m v3.1.0-dev.1 10:52:17 2023-08-09 10:52:16,182 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.1', '-m', 'v3.1.0-dev.1'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 10:52:17 2023-08-09 10:52:16,187 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 10:52:17 3.1.0-dev.1 [Pipeline] } 10:52:17 $ docker exec --env ******** --env ******** 61007d6ee7023ac1b6d8b0340a071eb0c5ae26b6f9c11c31f345d80da02ef01b ssh-agent -k 10:52:17 unset SSH_AUTH_SOCK; 10:52:17 unset SSH_AGENT_PID; 10:52:17 echo Agent pid 37 killed; 10:52:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:52:20 + git semver [Pipeline] } 10:52:20 $ docker stop --time=1 61007d6ee7023ac1b6d8b0340a071eb0c5ae26b6f9c11c31f345d80da02ef01b 10:52:21 $ docker rm -f --volumes 61007d6ee7023ac1b6d8b0340a071eb0c5ae26b6f9c11c31f345d80da02ef01b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:52:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:52:22 10:52:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:52:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:52:22 0.23.1-centos7: Pulling from edgex-lftools 10:52:22 ab5ef0e58194: Pulling fs layer 10:52:22 9712f1f96733: Pulling fs layer 10:52:22 63f879dbbcfc: Pulling fs layer 10:52:22 0d9ebad4ef96: Pulling fs layer 10:52:22 e9a5061849ea: Pulling fs layer 10:52:22 d747dcd14b5f: Pulling fs layer 10:52:22 2de7ff778b66: Pulling fs layer 10:52:22 0d9ebad4ef96: Waiting 10:52:22 e9a5061849ea: Waiting 10:52:22 d747dcd14b5f: Waiting 10:52:22 2de7ff778b66: Waiting 10:52:22 9712f1f96733: Download complete 10:52:22 63f879dbbcfc: Verifying Checksum 10:52:22 63f879dbbcfc: Download complete 10:52:22 0d9ebad4ef96: Verifying Checksum 10:52:22 0d9ebad4ef96: Download complete 10:52:22 e9a5061849ea: Verifying Checksum 10:52:22 e9a5061849ea: Download complete 10:52:22 d747dcd14b5f: Verifying Checksum 10:52:22 d747dcd14b5f: Download complete 10:52:22 ab5ef0e58194: Verifying Checksum 10:52:22 ab5ef0e58194: Download complete 10:52:23 2de7ff778b66: Verifying Checksum 10:52:23 2de7ff778b66: Download complete 10:52:25 ab5ef0e58194: Pull complete 10:52:25 9712f1f96733: Pull complete 10:52:26 63f879dbbcfc: Pull complete 10:52:29 0d9ebad4ef96: Pull complete 10:52:29 e9a5061849ea: Pull complete 10:52:30 d747dcd14b5f: Pull complete 10:52:31 2de7ff778b66: Pull complete 10:52:31 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 10:52:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:52:31 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:52:31 prd-ubuntu20.04-docker-8c-8g-3222 does not seem to be running inside a container 10:52:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 10:52:36 $ docker top e92b5ce033c0e7f00d4da4dab85f92b6ecf7d076c571ba4422d0fc9c2b0cf4b1 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 10:52:36 provisioning config files... 10:52:36 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config15894789927983619514tmp 10:52:36 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config11901026314308768604tmp 10:52:36 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config17522461314738894870tmp [Pipeline] { [Pipeline] echo 10:52:36 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 10:52:36 ---> sigul-configuration.sh 10:52:36 gpg: directory `/root/.gnupg' created 10:52:36 gpg: new configuration file `/root/.gnupg/gpg.conf' created 10:52:36 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 10:52:36 gpg: keyring `/root/.gnupg/secring.gpg' created 10:52:36 gpg: keyring `/root/.gnupg/pubring.gpg' created 10:52:36 gpg: CAST5 encrypted data 10:52:36 gpg: encrypted with 1 passphrase 10:52:36 gpg: WARNING: message was not integrity protected [Pipeline] sh 10:52:36 + mkdir /home/jenkins 10:52:36 + mkdir /home/jenkins/sigul [Pipeline] sh 10:52:37 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 10:52:37 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 10:52:37 ---> sigul-install.sh 10:52:37 Sigul already installed; skipping installation. [Pipeline] sh 10:52:37 + git tag --list 10:52:37 1.0.0 10:52:37 v0.0.0 10:52:37 v1.1.0 10:52:37 v1.1.1 10:52:37 v1.2.2 10:52:37 v1.3.0 10:52:37 v1.3.1 10:52:37 v2.0.0 10:52:37 v2.1.0 10:52:37 v2.1.1 10:52:37 v2.2.0 10:52:37 v2.3.0 10:52:37 v3.0 10:52:37 v3.0.0 10:52:37 v3.1.0-dev.1 [Pipeline] sh 10:52:38 + lftools sign git-tag v3.1.0-dev.1 10:52:38 Signing Git tag with Sigul... 10:52:38 Signing v3.1.0-dev.1 [Pipeline] echo 10:52:38 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 10:52:39 ---> sigul-configuration-cleanup.sh [Pipeline] } 10:52:39 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 10:52:39 $ docker stop --time=1 e92b5ce033c0e7f00d4da4dab85f92b6ecf7d076c571ba4422d0fc9c2b0cf4b1 10:52:40 $ docker rm -f --volumes e92b5ce033c0e7f00d4da4dab85f92b6ecf7d076c571ba4422d0fc9c2b0cf4b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 10:52:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:52:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:52:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:52:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:52:41 prd-ubuntu20.04-docker-8c-8g-3222 does not seem to be running inside a container 10:52:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:52:41 $ docker top 321619c256d836a37e8f5b70dcb22ca30bbcdccff48bff7586f8171b46a62365 -eo pid,comm 10:52:41 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 10:52:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:52:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:52:41 [ssh-agent] Looking for ssh-agent implementation... 10:52:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:52:41 $ docker exec 321619c256d836a37e8f5b70dcb22ca30bbcdccff48bff7586f8171b46a62365 ssh-agent 10:52:41 SSH_AUTH_SOCK=/tmp/ssh-xe6rGxE1CGuI/agent.31 10:52:41 SSH_AGENT_PID=37 10:52:41 Running ssh-add (command line suppressed) 10:52:42 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1224632594461841381.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1224632594461841381.key) 10:52:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:52:42 + git semver bump pre 10:52:42 2023-08-09 10:52:42,525 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 10:52:42 2023-08-09 10:52:42,525 [bump_version] DEBUG bumping version:3.1.0-dev.1 on axis:pre with prefix:dev 10:52:42 2023-08-09 10:52:42,525 [bump_version] DEBUG bumped version:3.1.0-dev.2 10:52:42 2023-08-09 10:52:42,525 [write_version] DEBUG write version:3.1.0-dev.2 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True 10:52:42 2023-08-09 10:52:42,525 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 10:52:42 2023-08-09 10:52:42,526 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 10:52:42 2023-08-09 10:52:42,527 [execute] INFO git cat-file --batch-check 10:52:42 2023-08-09 10:52:42,527 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 10:52:42 2023-08-09 10:52:42,532 [execute] INFO git cat-file --batch 10:52:42 2023-08-09 10:52:42,532 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 10:52:42 2023-08-09 10:52:42,537 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 10:52:42 3.1.0-dev.2 [Pipeline] } 10:52:42 $ docker exec --env ******** --env ******** 321619c256d836a37e8f5b70dcb22ca30bbcdccff48bff7586f8171b46a62365 ssh-agent -k 10:52:42 unset SSH_AUTH_SOCK; 10:52:42 unset SSH_AGENT_PID; 10:52:42 echo Agent pid 37 killed; 10:52:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:52:43 + git semver [Pipeline] } 10:52:43 $ docker stop --time=1 321619c256d836a37e8f5b70dcb22ca30bbcdccff48bff7586f8171b46a62365 10:52:44 $ docker rm -f --volumes 321619c256d836a37e8f5b70dcb22ca30bbcdccff48bff7586f8171b46a62365 [Pipeline] // withDockerContainer [Pipeline] sh 10:52:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:52:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:52:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:52:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:52:45 prd-ubuntu20.04-docker-8c-8g-3222 does not seem to be running inside a container 10:52:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:52:45 $ docker top 104cb64ac11a25eb635e1af59cd84fd593fb2c7a8d5df7a4e7b7764cadc6848b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:52:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:52:45 [ssh-agent] Looking for ssh-agent implementation... 10:52:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:52:45 $ docker exec 104cb64ac11a25eb635e1af59cd84fd593fb2c7a8d5df7a4e7b7764cadc6848b ssh-agent 10:52:45 SSH_AUTH_SOCK=/tmp/ssh-pvKTG3uWJ9p1/agent.32 10:52:45 SSH_AGENT_PID=38 10:52:45 Running ssh-add (command line suppressed) 10:52:46 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8575265823145012216.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8575265823145012216.key) 10:52:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:52:46 + git semver push 10:52:46 2023-08-09 10:52:46,468 [run_push] DEBUG push 10:52:46 2023-08-09 10:52:46,469 [execute] INFO git cat-file --batch-check 10:52:46 2023-08-09 10:52:46,469 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 10:52:46 2023-08-09 10:52:46,473 [execute] INFO git rev-list 9482784af615ce4ba69f5dba96ce5f5850d0f76a -- 10:52:46 2023-08-09 10:52:46,473 [execute] DEBUG Popen(['git', 'rev-list', '9482784af615ce4ba69f5dba96ce5f5850d0f76a', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 10:52:46 2023-08-09 10:52:46,481 [execute] INFO git fetch -v origin 10:52:46 2023-08-09 10:52:46,482 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) 10:52:47 2023-08-09 10:52:47,231 [run_push] DEBUG no remote changes detected 10:52:47 2023-08-09 10:52:47,232 [execute] INFO git push origin semver 10:52:47 2023-08-09 10:52:47,232 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 10:52:48 2023-08-09 10:52:48,270 [run_push] DEBUG push all version tags 10:52:48 2023-08-09 10:52:48,270 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 10:52:48 2023-08-09 10:52:48,271 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 10:52:49 2023-08-09 10:52:48,957 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 10:52:49 3.1.0-dev.2 [Pipeline] } 10:52:49 $ docker exec --env ******** --env ******** 104cb64ac11a25eb635e1af59cd84fd593fb2c7a8d5df7a4e7b7764cadc6848b ssh-agent -k 10:52:49 unset SSH_AUTH_SOCK; 10:52:49 unset SSH_AGENT_PID; 10:52:49 echo Agent pid 38 killed; 10:52:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:52:49 + git semver [Pipeline] } 10:52:49 $ docker stop --time=1 104cb64ac11a25eb635e1af59cd84fd593fb2c7a8d5df7a4e7b7764cadc6848b 10:52:50 $ docker rm -f --volumes 104cb64ac11a25eb635e1af59cd84fd593fb2c7a8d5df7a4e7b7764cadc6848b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 10:52:51 + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] 10:52:51 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 10:52:51 total 16 10:52:51 drwxr-xr-x 3 root root 4096 Aug 9 10:41 . 10:52:51 drwxrwxr-x 10 jenkins jenkins 4096 Aug 9 10:52 .. 10:52:51 drwxr-xr-x 2 root root 4096 Aug 9 10:41 cost 10:52:51 -rw-r--r-- 1 root root 85 Aug 9 10:41 cost.csv 10:52:51 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives 10:52:51 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 10:52:51 total 16 10:52:51 drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 10:41 . 10:52:51 drwxrwxr-x 10 jenkins jenkins 4096 Aug 9 10:52 .. 10:52:51 drwxr-xr-x 2 jenkins jenkins 4096 Aug 9 10:41 cost 10:52:51 -rw-r--r-- 1 jenkins jenkins 85 Aug 9 10:41 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:52:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:52:52 ---> package-listing.sh 10:52:52 ++ facter osfamily 10:52:52 ++ tr '[:upper:]' '[:lower:]' 10:52:52 + OS_FAMILY=debian 10:52:52 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 10:52:52 + START_PACKAGES=/tmp/packages_start.txt 10:52:52 + END_PACKAGES=/tmp/packages_end.txt 10:52:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:52:52 + PACKAGES=/tmp/packages_start.txt 10:52:52 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 10:52:52 + PACKAGES=/tmp/packages_end.txt 10:52:52 + case "${OS_FAMILY}" in 10:52:52 + dpkg -l 10:52:52 + grep '^ii' 10:52:52 + '[' -f /tmp/packages_start.txt ']' 10:52:52 + '[' -f /tmp/packages_end.txt ']' 10:52:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:52:52 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 10:52:52 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 10:52:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo 10:52:52 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/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:52:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:52:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:52:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:52:53 prd-ubuntu20.04-docker-8c-8g-3222 does not seem to be running inside a container 10:52:54 $ 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/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:52:54 $ docker top 311c95225cca7665f39dc731156818fedcd2edd2a200343d983009bf57932622 -eo pid,comm [Pipeline] { [Pipeline] sh 10:52:54 + touch /tmp/pre-build-complete [Pipeline] sh 10:52:54 + mkdir -p /var/log/sysstat [Pipeline] sh 10:52:55 + ls /var/log/sa-host 10:52:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:52:55 provisioning config files... 10:52:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1068639039223986108tmp [Pipeline] { [Pipeline] echo 10:52:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:52:55 ---> create-netrc.sh [Pipeline] } 10:52:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:52:55 ---> python-tools-install.sh [Pipeline] echo 10:52:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:52:56 ---> sudo-logs.sh 10:52:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:52:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:52:56 ---> job-cost.sh 10:52:56 lf-activate-venv: SKIPPING 10:52:56 DEBUG: total: 0.2199999988079071 10:52:56 INFO: Retrieving Stack Cost... 10:52:56 INFO: Retrieving Pricing Info for: v3-standard-8 10:52:57 INFO: Archiving Costs [Pipeline] echo 10:52:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:52:57 ---> logs-deploy.sh 10:52:57 lf-activate-venv: SKIPPING 10:52:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/87 10:52:57 INFO: archiving workspace using pattern(s): 10:52:58 Archives upload complete. 10:52:58 INFO: archiving logs to Nexus