Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9857977cf1224abf0980974ddd92ec9b34aea725 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-ssh7774502030190746470.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh2887049699464855263.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh907022868355126638.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh3130814144936612456.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-ssh17808635520197315382.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 ‘prd-ubuntu20.04-docker-8c-8g-8432’ Running on prd-ubuntu20.04-docker-8c-8g-8434 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 9857977cf1224abf0980974ddd92ec9b34aea725 (main) > 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 9857977cf1224abf0980974ddd92ec9b34aea725 # timeout=10 Commit message: "Merge pull request #284 from weichou1229/interface-change" > git rev-list --no-walk e525481a5759a3c7c2210679b705fbdd3017b839 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:01:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:01:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:01:49 ========================================================= 09:01:49 EdgeX Global Pipelines Version Info 09:01:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:01:49 ------------------- 09:01:49 stable info: 09:01:49 ------------------- 09:01:49 Commited By: Bill Mahoney bill.mahoney@intel.com 09:01:49 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 09:01:49 Message: update stable to v1.0.248 09:01:50 ------------------- 09:01:50 experimental info: 09:01:50 ------------------- 09:01:50 Commited By: **** collab-it+edgex@linuxfoundation.org 09:01:50 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 09:01:50 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:01:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 09:01:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 09:01:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:01:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:01:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:01:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 09:01:50 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:01:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:01:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:01:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:01:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:01:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 09:01:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:01:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:01:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:01:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:01:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:01:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:01:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:01:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:01:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:01:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:01:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:01:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:01:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:01:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:01:50 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:01:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 09:01:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 09:01:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 09:01:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9857977cf1224abf0980974ddd92ec9b34aea725 [Pipeline] echo 09:01:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9857977 [Pipeline] echo 09:01:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:01:51 provisioning config files... 09:01:51 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1541323446461756097tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:01:51 ---> docker-login.sh 09:01:51 nexus3.edgexfoundry.org:10001 09:01:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:01:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:01:51 Configure a credential helper to remove this warning. See 09:01:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:01:51 09:01:51 Login Succeeded 09:01:51 nexus3.edgexfoundry.org:10002 09:01:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:01:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:01:51 Configure a credential helper to remove this warning. See 09:01:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:01:51 09:01:51 Login Succeeded 09:01:51 nexus3.edgexfoundry.org:10003 09:01:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:01:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:01:51 Configure a credential helper to remove this warning. See 09:01:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:01:51 09:01:51 Login Succeeded 09:01:51 nexus3.edgexfoundry.org:10004 09:01:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:01:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:01:51 Configure a credential helper to remove this warning. See 09:01:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:01:51 09:01:52 Login Succeeded 09:01:52 docker.io 09:01:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:01:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:01:52 Configure a credential helper to remove this warning. See 09:01:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:01:52 09:01:52 Login Succeeded 09:01:52 ---> docker-login.sh ends [Pipeline] } 09:01:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:01:52 + git rev-list -1 --merges 9857977cf1224abf0980974ddd92ec9b34aea725~1..9857977cf1224abf0980974ddd92ec9b34aea725 [Pipeline] echo 09:01:52 -----------> git rev-list -1 --merges 9857977cf1224abf0980974ddd92ec9b34aea725~1..9857977cf1224abf0980974ddd92ec9b34aea725 9857977cf1224abf0980974ddd92ec9b34aea725 09:01:52 9857977cf1224abf0980974ddd92ec9b34aea725 [false] [Pipeline] sh 09:01:53 + git log --format=format:%s -1 9857977cf1224abf0980974ddd92ec9b34aea725 [Pipeline] echo 09:01:53 ========================================================= 09:01:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:01:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:01:53 + git log --format=format:%s -1 9857977cf1224abf0980974ddd92ec9b34aea725 [Pipeline] echo 09:01:53 [semverPrep] GIT_COMMIT: 9857977cf1224abf0980974ddd92ec9b34aea725, Commit Message: Merge pull request #284 from weichou1229/interface-change [Pipeline] echo 09:01:53 [semverPrep] This is not a build commit. [Pipeline] sh 09:01:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:01:53 + grep -v github /etc/ssh/ssh_known_hosts 09:01:53 + [ -e /tmp/ssh_known_hosts ] 09:01:53 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:01:53 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:01:53 + sudo tee -a /etc/ssh/ssh_known_hosts 09:01:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:01:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:01:54 09:01:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:01:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:01:54 0.1.4: Pulling from edgex-devops/py-git-semver 09:01:54 b85a868b505f: Pulling fs layer 09:01:54 e2be974225ed: Pulling fs layer 09:01:54 339a4e72a1f5: Pulling fs layer 09:01:54 988bab9f4d93: Pulling fs layer 09:01:54 1469e6f7b9e6: Pulling fs layer 09:01:54 eaf3925da568: Pulling fs layer 09:01:54 bab4dde63d76: Pulling fs layer 09:01:54 bde34c3a00c8: Pulling fs layer 09:01:54 b352a97aabf1: Pulling fs layer 09:01:54 4872d77fe225: Pulling fs layer 09:01:54 5851b861e8e6: Pulling fs layer 09:01:54 bab4dde63d76: Waiting 09:01:54 bde34c3a00c8: Waiting 09:01:54 5851b861e8e6: Waiting 09:01:54 b352a97aabf1: Waiting 09:01:54 988bab9f4d93: Waiting 09:01:54 1469e6f7b9e6: Waiting 09:01:54 eaf3925da568: Waiting 09:01:54 4872d77fe225: Waiting 09:01:54 e2be974225ed: Verifying Checksum 09:01:54 e2be974225ed: Download complete 09:01:54 988bab9f4d93: Verifying Checksum 09:01:54 988bab9f4d93: Download complete 09:01:54 1469e6f7b9e6: Verifying Checksum 09:01:54 1469e6f7b9e6: Download complete 09:01:54 eaf3925da568: Verifying Checksum 09:01:54 eaf3925da568: Download complete 09:01:54 339a4e72a1f5: Verifying Checksum 09:01:54 339a4e72a1f5: Download complete 09:01:54 bde34c3a00c8: Verifying Checksum 09:01:54 bde34c3a00c8: Download complete 09:01:54 b352a97aabf1: Verifying Checksum 09:01:54 b352a97aabf1: Download complete 09:01:54 4872d77fe225: Verifying Checksum 09:01:54 4872d77fe225: Download complete 09:01:54 5851b861e8e6: Verifying Checksum 09:01:54 5851b861e8e6: Download complete 09:01:55 b85a868b505f: Download complete 09:01:55 bab4dde63d76: Verifying Checksum 09:01:55 bab4dde63d76: Download complete 09:01:56 b85a868b505f: Pull complete 09:01:56 e2be974225ed: Pull complete 09:01:57 339a4e72a1f5: Pull complete 09:01:57 988bab9f4d93: Pull complete 09:01:57 1469e6f7b9e6: Pull complete 09:01:57 eaf3925da568: Pull complete 09:01:59 bab4dde63d76: Pull complete 09:01:59 bde34c3a00c8: Pull complete 09:01:59 b352a97aabf1: Pull complete 09:01:59 4872d77fe225: Pull complete 09:02:00 5851b861e8e6: Pull complete 09:02:00 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:02:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:02:00 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:02:00 prd-ubuntu20.04-docker-8c-8g-8434 does not seem to be running inside a container 09:02:00 $ 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 09:02:05 $ docker top b03221c514d4d7947925d280e672c237fa67097f26283022adeeac017e27a386 -eo pid,comm 09:02:06 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). 09:02:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:02:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:02:06 [ssh-agent] Looking for ssh-agent implementation... 09:02:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:02:06 $ docker exec b03221c514d4d7947925d280e672c237fa67097f26283022adeeac017e27a386 ssh-agent 09:02:06 SSH_AUTH_SOCK=/tmp/ssh-9l6BcFBxZ60Z/agent.31 09:02:06 SSH_AGENT_PID=37 09:02:06 Running ssh-add (command line suppressed) 09:02:06 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7543465613834287697.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7543465613834287697.key) 09:02:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:02:06 + git tag --points-at HEAD [Pipeline] } 09:02:06 $ docker exec --env ******** --env ******** b03221c514d4d7947925d280e672c237fa67097f26283022adeeac017e27a386 ssh-agent -k 09:02:06 unset SSH_AUTH_SOCK; 09:02:06 unset SSH_AGENT_PID; 09:02:06 echo Agent pid 37 killed; 09:02:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:02:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:02:06 [ssh-agent] Looking for ssh-agent implementation... 09:02:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:02:06 $ docker exec b03221c514d4d7947925d280e672c237fa67097f26283022adeeac017e27a386 ssh-agent 09:02:07 SSH_AUTH_SOCK=/tmp/ssh-7PpCXxSOaJs3/agent.69 09:02:07 SSH_AGENT_PID=75 09:02:07 Running ssh-add (command line suppressed) 09:02:07 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_18042580642056882775.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_18042580642056882775.key) 09:02:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:02:07 + git semver init 09:02:07 2023-04-13 09:02:07,662 [run_init] DEBUG init version:0.0.0 force:False 09:02:07 2023-04-13 09:02:07,664 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver 09:02:07 2023-04-13 09:02:07,665 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver 09:02:07 2023-04-13 09:02:07,666 [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) 09:02:08 2023-04-13 09:02:08,490 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude 09:02:08 2023-04-13 09:02:08,490 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False 09:02:08 2023-04-13 09:02:08,491 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 09:02:08 2023-04-13 09:02:08,491 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 09:02:08 3.0.0-dev.12 [Pipeline] } 09:02:08 $ docker exec --env ******** --env ******** b03221c514d4d7947925d280e672c237fa67097f26283022adeeac017e27a386 ssh-agent -k 09:02:08 unset SSH_AUTH_SOCK; 09:02:08 unset SSH_AGENT_PID; 09:02:08 echo Agent pid 75 killed; 09:02:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:02:09 + git semver [Pipeline] } 09:02:09 $ docker stop --time=1 b03221c514d4d7947925d280e672c237fa67097f26283022adeeac017e27a386 09:02:10 $ docker rm -f --volumes b03221c514d4d7947925d280e672c237fa67097f26283022adeeac017e27a386 [Pipeline] // withDockerContainer [Pipeline] sh 09:02:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:02:11 Stashed 1 file(s) [Pipeline] echo 09:02:11 [edgeXSemver]: initialized semver on version 3.0.0-dev.12 [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 09:02:11 provisioning config files... 09:02:11 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3187823964029632314tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:02:11 ---> docker-login.sh 09:02:11 nexus3.edgexfoundry.org:10001 09:02:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:11 Configure a credential helper to remove this warning. See 09:02:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:11 09:02:11 Login Succeeded 09:02:11 nexus3.edgexfoundry.org:10002 09:02:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:11 Configure a credential helper to remove this warning. See 09:02:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:11 09:02:11 Login Succeeded 09:02:11 nexus3.edgexfoundry.org:10003 09:02:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:11 Configure a credential helper to remove this warning. See 09:02:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:11 09:02:11 Login Succeeded 09:02:11 nexus3.edgexfoundry.org:10004 09:02:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:11 Configure a credential helper to remove this warning. See 09:02:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:11 09:02:11 Login Succeeded 09:02:11 docker.io 09:02:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:12 Configure a credential helper to remove this warning. See 09:02:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:12 09:02:12 Login Succeeded 09:02:12 ---> docker-login.sh ends [Pipeline] } 09:02:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:02:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:02:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:02:12 ========================================================= 09:02:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 09:02:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:02:12 + 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 . 09:02:12 Sending build context to Docker daemon 5.755MB 09:02:12 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 09:02:12 Step 2/12 : FROM ${BASE} AS builder 09:02:12 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 09:02:12 63b65145d645: Pulling fs layer 09:02:12 a2d21d5440eb: Pulling fs layer 09:02:12 935e6c44a52c: Pulling fs layer 09:02:12 94cc34f8dd06: Pulling fs layer 09:02:12 30dea6a524f1: Pulling fs layer 09:02:12 a2aff8979fd8: Pulling fs layer 09:02:12 6808be2612f2: Pulling fs layer 09:02:12 f25807f1079a: Pulling fs layer 09:02:12 30dea6a524f1: Waiting 09:02:12 f25807f1079a: Waiting 09:02:12 a2aff8979fd8: Waiting 09:02:12 6808be2612f2: Waiting 09:02:12 a2d21d5440eb: Verifying Checksum 09:02:12 a2d21d5440eb: Download complete 09:02:12 94cc34f8dd06: Download complete 09:02:12 30dea6a524f1: Verifying Checksum 09:02:12 30dea6a524f1: Download complete 09:02:12 63b65145d645: Verifying Checksum 09:02:12 63b65145d645: Download complete 09:02:12 a2aff8979fd8: Verifying Checksum 09:02:12 a2aff8979fd8: Download complete 09:02:12 63b65145d645: Pull complete 09:02:13 a2d21d5440eb: Pull complete 09:02:13 f25807f1079a: Verifying Checksum 09:02:13 f25807f1079a: Download complete 09:02:13 935e6c44a52c: Verifying Checksum 09:02:13 935e6c44a52c: Download complete 09:02:13 6808be2612f2: Verifying Checksum 09:02:13 6808be2612f2: Download complete 09:02:17 935e6c44a52c: Pull complete 09:02:17 94cc34f8dd06: Pull complete 09:02:17 30dea6a524f1: Pull complete 09:02:17 a2aff8979fd8: Pull complete 09:02:19 6808be2612f2: Pull complete 09:02:20 f25807f1079a: Pull complete 09:02:20 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 09:02:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 09:02:20 ---> 3b553350e43f 09:02:20 Step 3/12 : ARG ADD_BUILD_TAGS="" 09:02:26 Still waiting to schedule task 09:02:26 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8433’ 09:02:28 ---> Running in ef0d0effe6a7 09:02:28 Removing intermediate container ef0d0effe6a7 09:02:28 ---> b8ff9ada4cd5 09:02:28 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:02:28 ---> Running in 20a9697e7dff 09:02:28 Removing intermediate container 20a9697e7dff 09:02:28 ---> b6e377a78b79 09:02:28 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:02:28 ---> Running in 86a41dbdcb9a 09:02:28 Removing intermediate container 86a41dbdcb9a 09:02:28 ---> ef3f7163ffdd 09:02:28 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 09:02:28 ---> Running in 6a79549e3c4e 09:02:28 Removing intermediate container 6a79549e3c4e 09:02:28 ---> cb15395d5792 09:02:28 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:02:28 ---> Running in 7e911657fe3a 09:02:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:02:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:02:28 (1/4) Installing openssh-keygen (9.1_p1-r2) 09:02:28 (2/4) Installing libedit (20221030.3.1-r0) 09:02:28 (3/4) Installing openssh-client-common (9.1_p1-r2) 09:02:28 (4/4) Installing openssh-client-default (9.1_p1-r2) 09:02:28 Executing busybox-1.35.0-r29.trigger 09:02:28 OK: 269 MiB in 57 packages 09:02:29 Removing intermediate container 7e911657fe3a 09:02:29 ---> 962e46014910 09:02:29 Step 8/12 : WORKDIR /device-snmp-go 09:02:29 ---> Running in c5be59d21354 09:02:29 Removing intermediate container c5be59d21354 09:02:29 ---> 54744bfec1f3 09:02:29 Step 9/12 : COPY go.mod vendor* ./ 09:02:29 ---> 768b76f38e66 09:02:29 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:02:29 ---> Running in 81a134579070 09:03:16 Removing intermediate container 81a134579070 09:03:16 ---> fd84fa2f6e21 09:03:16 Step 11/12 : COPY . . 09:03:16 ---> 8bc50196540f 09:03:16 Step 12/12 : RUN ${MAKE} 09:03:16 ---> Running in 5079a1d4f634 09:03:16 noop 09:03:16 Removing intermediate container 5079a1d4f634 09:03:16 ---> eaf00a3d9918 09:03:16 Successfully built eaf00a3d9918 09:03:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:16 + docker inspect -f . ci-base-image-x86_64 09:03:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:03:17 prd-ubuntu20.04-docker-8c-8g-8434 does not seem to be running inside a container 09:03:17 $ 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 09:03:17 $ docker top e1ad67734f29d17c7da56d0ea8d8ea77141ba8b1d7fa50849e043babacc46187 -eo pid,comm [Pipeline] { [Pipeline] sh 09:03:17 + go version 09:03:17 go version go1.20.2 linux/amd64 [Pipeline] } 09:03:17 $ docker stop --time=1 e1ad67734f29d17c7da56d0ea8d8ea77141ba8b1d7fa50849e043babacc46187 09:03:19 $ docker rm -f --volumes e1ad67734f29d17c7da56d0ea8d8ea77141ba8b1d7fa50849e043babacc46187 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:19 + docker inspect -f . ci-base-image-x86_64 09:03:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:03:19 prd-ubuntu20.04-docker-8c-8g-8434 does not seem to be running inside a container 09:03:19 $ 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 09:03:19 $ docker top 19f82435e05cd94b74ae34d30628328a3467df69249e00b675af3f8039616224 -eo pid,comm [Pipeline] { [Pipeline] sh 09:03:20 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh 09:03:20 + make test 09:03:20 go test ./... -coverprofile=coverage.out 09:03:24 ? github.com/edgexfoundry/device-snmp-go [no test files] 09:03:34 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 09:03:34 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.012s coverage: 0.0% of statements 09:03:38 go vet ./... 09:03:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:03:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:03:42 ./bin/test-attribution-txt.sh 09:03:42 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 09:03:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:03:42 $ docker stop --time=1 19f82435e05cd94b74ae34d30628328a3467df69249e00b675af3f8039616224 09:03:45 $ docker rm -f --volumes 19f82435e05cd94b74ae34d30628328a3467df69249e00b675af3f8039616224 [Pipeline] // withDockerContainer [Pipeline] sh 09:03:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:03:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:03:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:03:47 + ls -al . 09:03:47 total 172 09:03:47 drwxrwxr-x 9 jenkins jenkins 4096 Apr 13 09:03 . 09:03:47 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 09:01 .. 09:03:47 -rw-rw-r-- 1 jenkins jenkins 6 Apr 13 09:01 .dockerignore 09:03:47 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 09:02 .git 09:03:47 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:01 .github 09:03:47 -rw-rw-r-- 1 jenkins jenkins 328 Apr 13 09:01 .gitignore 09:03:47 -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 09:01 .golangci.yml 09:03:47 drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 09:02 .semver 09:03:47 -rw-rw-r-- 1 jenkins jenkins 8926 Apr 13 09:01 Attribution.txt 09:03:47 -rw-rw-r-- 1 jenkins jenkins 8355 Apr 13 09:01 CHANGELOG.md 09:03:47 -rw-rw-r-- 1 jenkins jenkins 1423 Apr 13 09:01 Dockerfile 09:03:47 -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 09:01 GOVERNANCE.md 09:03:47 -rw-rw-r-- 1 jenkins jenkins 656 Apr 13 09:01 Jenkinsfile 09:03:47 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 09:01 LICENSE 09:03:47 -rw-rw-r-- 1 jenkins jenkins 2114 Apr 13 09:01 Makefile 09:03:47 -rw-rw-r-- 1 jenkins jenkins 620 Apr 13 09:01 OWNERS.md 09:03:47 -rw-rw-r-- 1 jenkins jenkins 10054 Apr 13 09:01 README.md 09:03:47 -rw-rw-r-- 1 jenkins jenkins 12 Apr 13 09:02 VERSION 09:03:47 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 09:01 bin 09:03:47 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:01 cmd 09:03:47 -rw-r--r-- 1 jenkins jenkins 8751 Apr 13 09:03 coverage.out 09:03:47 -rw-rw-r-- 1 jenkins jenkins 3283 Apr 13 09:01 go.mod 09:03:47 -rw-rw-r-- 1 jenkins jenkins 31551 Apr 13 09:01 go.sum 09:03:47 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:01 internal 09:03:47 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 09:01 snap 09:03:47 -rw-rw-r-- 1 jenkins jenkins 228 Apr 13 09:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:47 + 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=9857977cf1224abf0980974ddd92ec9b34aea725 --label arch=amd64 --label version=3.0.0-dev.12 . 09:03:47 Sending build context to Docker daemon 5.765MB 09:03:47 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 09:03:47 Step 2/24 : FROM ${BASE} AS builder 09:03:47 ---> eaf00a3d9918 09:03:47 Step 3/24 : ARG ADD_BUILD_TAGS="" 09:03:47 ---> Running in 8b9436449527 09:03:47 Removing intermediate container 8b9436449527 09:03:47 ---> bfb67329555d 09:03:47 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:03:47 ---> Running in c8954e8b0357 09:03:47 Removing intermediate container c8954e8b0357 09:03:47 ---> 87fa771ec9df 09:03:47 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:03:47 ---> Running in ad6fca2554f9 09:03:47 Removing intermediate container ad6fca2554f9 09:03:47 ---> 260753a05eda 09:03:47 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 09:03:47 ---> Running in 92cf337fa424 09:03:47 Removing intermediate container 92cf337fa424 09:03:47 ---> b80c3c155a30 09:03:47 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:03:47 ---> Running in 84facfd452e6 09:03:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:03:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:03:48 OK: 269 MiB in 57 packages 09:03:49 Removing intermediate container 84facfd452e6 09:03:49 ---> cf7967fa529c 09:03:49 Step 8/24 : WORKDIR /device-snmp-go 09:03:49 ---> Running in 8f5da1066012 09:03:49 Removing intermediate container 8f5da1066012 09:03:49 ---> c1692d6c6f47 09:03:49 Step 9/24 : COPY go.mod vendor* ./ 09:03:49 ---> 4611636e6753 09:03:49 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:03:49 ---> Running in 3bc978eeee6a 09:03:50 Removing intermediate container 3bc978eeee6a 09:03:50 ---> 5a34b44c6c37 09:03:50 Step 11/24 : COPY . . 09:03:50 ---> 4198bf0e46a9 09:03:50 Step 12/24 : RUN ${MAKE} 09:03:50 ---> Running in 2386e6ad7ac0 09:03:50 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.12" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 09:04:12 Removing intermediate container 2386e6ad7ac0 09:04:12 ---> 7cdfa2959846 09:04:12 Step 13/24 : FROM alpine:3.17 09:04:12 3.17: Pulling from library/alpine 09:04:12 f56be85fc22e: Pulling fs layer 09:04:12 f56be85fc22e: Verifying Checksum 09:04:12 f56be85fc22e: Download complete 09:04:12 f56be85fc22e: Pull complete 09:04:12 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 09:04:12 Status: Downloaded newer image for alpine:3.17 09:04:12 ---> 9ed4aefc74f6 09:04:12 Step 14/24 : RUN apk add --update --no-cache dumb-init 09:04:12 ---> Running in 2f0b287e5ad1 09:04:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:04:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:04:12 (1/1) Installing dumb-init (1.2.5-r2) 09:04:12 Executing busybox-1.35.0-r29.trigger 09:04:12 OK: 7 MiB in 16 packages 09:04:12 Removing intermediate container 2f0b287e5ad1 09:04:12 ---> 2399e03526a3 09:04:12 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 09:04:13 ---> faf5e1770fb3 09:04:13 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 09:04:13 ---> aa4a1b810b6d 09:04:13 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 09:04:13 ---> af2e41aac6b6 09:04:13 Step 18/24 : EXPOSE 59993 09:04:13 ---> Running in 8a2db5d8f915 09:04:13 Removing intermediate container 8a2db5d8f915 09:04:13 ---> 249adf67f581 09:04:13 Step 19/24 : EXPOSE 161 09:04:13 ---> Running in c06934c6f715 09:04:14 Removing intermediate container c06934c6f715 09:04:14 ---> 1c911c7534e3 09:04:14 Step 20/24 : ENTRYPOINT ["/device-snmp"] 09:04:14 ---> Running in cce3ce9d7772 09:04:14 Removing intermediate container cce3ce9d7772 09:04:14 ---> 604f8413a5dc 09:04:14 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 09:04:14 ---> Running in ca7bea85e9d7 09:04:14 Removing intermediate container ca7bea85e9d7 09:04:14 ---> 1334cfd64381 09:04:14 Step 22/24 : LABEL arch=amd64 09:04:14 ---> Running in e24b629c91c5 09:04:14 Removing intermediate container e24b629c91c5 09:04:14 ---> 88bbbc468458 09:04:14 Step 23/24 : LABEL git_sha=9857977cf1224abf0980974ddd92ec9b34aea725 09:04:14 ---> Running in d446caccb549 09:04:14 Removing intermediate container d446caccb549 09:04:14 ---> 052fb0296623 09:04:14 Step 24/24 : LABEL version=3.0.0-dev.12 09:04:14 ---> Running in 873bd72be5b7 09:04:14 Removing intermediate container 873bd72be5b7 09:04:14 ---> 9e2cd198e660 09:04:14 [Warning] One or more build-args [ARCH] were not consumed 09:04:14 Successfully built 9e2cd198e660 09:04:14 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:04:14 provisioning config files... 09:04:14 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config11478124790546720659tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:04:15 ---> docker-login.sh 09:04:15 nexus3.edgexfoundry.org:10001 09:04:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:04:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:04:15 Configure a credential helper to remove this warning. See 09:04:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:04:15 09:04:15 Login Succeeded 09:04:15 nexus3.edgexfoundry.org:10002 09:04:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:04:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:04:15 Configure a credential helper to remove this warning. See 09:04:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:04:15 09:04:15 Login Succeeded 09:04:15 nexus3.edgexfoundry.org:10003 09:04:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:04:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:04:15 Configure a credential helper to remove this warning. See 09:04:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:04:15 09:04:15 Login Succeeded 09:04:15 nexus3.edgexfoundry.org:10004 09:04:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:04:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:04:15 Configure a credential helper to remove this warning. See 09:04:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:04:15 09:04:15 Login Succeeded 09:04:15 docker.io 09:04:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:04:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:04:15 Configure a credential helper to remove this warning. See 09:04:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:04:15 09:04:15 Login Succeeded 09:04:15 ---> docker-login.sh ends [Pipeline] } 09:04:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:04:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:04:15 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 09:04:15 9857977cf1224abf0980974ddd92ec9b34aea725 09:04:15 latest 09:04:15 3.0.0-dev.12 09:04:15 9857977cf1224abf0980974ddd92ec9b34aea725-3.0.0-dev.12 09:04:15 main 09:04:15 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:16 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:9857977cf1224abf0980974ddd92ec9b34aea725 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:16 + docker push nexus3.edgexfoundry.org:10004/device-snmp:9857977cf1224abf0980974ddd92ec9b34aea725 09:04:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 09:04:16 19c66c926bc3: Preparing 09:04:16 ca24b4771271: Preparing 09:04:16 249a0603b0da: Preparing 09:04:16 2dee28d83cd4: Preparing 09:04:16 f1417ff83b31: Preparing 09:04:16 f1417ff83b31: Layer already exists 09:04:16 2dee28d83cd4: Pushed 09:04:16 19c66c926bc3: Pushed 09:04:16 ca24b4771271: Pushed 09:04:18 249a0603b0da: Pushed 09:04:18 9857977cf1224abf0980974ddd92ec9b34aea725: digest: sha256:55644e55cc5411813953979f39012680018746a6c9f9b14d2dae047e17bc822e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:19 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:19 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 09:04:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 09:04:19 19c66c926bc3: Preparing 09:04:19 ca24b4771271: Preparing 09:04:19 249a0603b0da: Preparing 09:04:19 2dee28d83cd4: Preparing 09:04:19 f1417ff83b31: Preparing 09:04:19 2dee28d83cd4: Layer already exists 09:04:19 f1417ff83b31: Layer already exists 09:04:19 ca24b4771271: Layer already exists 09:04:19 249a0603b0da: Layer already exists 09:04:19 19c66c926bc3: Layer already exists 09:04:19 latest: digest: sha256:55644e55cc5411813953979f39012680018746a6c9f9b14d2dae047e17bc822e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:19 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:20 + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.12 09:04:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 09:04:20 19c66c926bc3: Preparing 09:04:20 ca24b4771271: Preparing 09:04:20 249a0603b0da: Preparing 09:04:20 2dee28d83cd4: Preparing 09:04:20 f1417ff83b31: Preparing 09:04:20 ca24b4771271: Layer already exists 09:04:20 f1417ff83b31: Layer already exists 09:04:20 2dee28d83cd4: Layer already exists 09:04:20 19c66c926bc3: Layer already exists 09:04:20 249a0603b0da: Layer already exists 09:04:20 3.0.0-dev.12: digest: sha256:55644e55cc5411813953979f39012680018746a6c9f9b14d2dae047e17bc822e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:20 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:9857977cf1224abf0980974ddd92ec9b34aea725-3.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:20 + docker push nexus3.edgexfoundry.org:10004/device-snmp:9857977cf1224abf0980974ddd92ec9b34aea725-3.0.0-dev.12 09:04:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 09:04:20 19c66c926bc3: Preparing 09:04:20 ca24b4771271: Preparing 09:04:20 249a0603b0da: Preparing 09:04:20 2dee28d83cd4: Preparing 09:04:20 f1417ff83b31: Preparing 09:04:20 2dee28d83cd4: Layer already exists 09:04:20 f1417ff83b31: Layer already exists 09:04:20 ca24b4771271: Layer already exists 09:04:20 249a0603b0da: Layer already exists 09:04:20 19c66c926bc3: Layer already exists 09:04:20 9857977cf1224abf0980974ddd92ec9b34aea725-3.0.0-dev.12: digest: sha256:55644e55cc5411813953979f39012680018746a6c9f9b14d2dae047e17bc822e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:21 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:21 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 09:04:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 09:04:21 19c66c926bc3: Preparing 09:04:21 ca24b4771271: Preparing 09:04:21 249a0603b0da: Preparing 09:04:21 2dee28d83cd4: Preparing 09:04:21 f1417ff83b31: Preparing 09:04:21 f1417ff83b31: Layer already exists 09:04:21 19c66c926bc3: Layer already exists 09:04:21 ca24b4771271: Layer already exists 09:04:21 2dee28d83cd4: Layer already exists 09:04:21 249a0603b0da: Layer already exists 09:04:21 main: digest: sha256:55644e55cc5411813953979f39012680018746a6c9f9b14d2dae047e17bc822e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:04:21 ===================================================== [Pipeline] echo 09:04:21 taggedImages: 09:04:21 - nexus3.edgexfoundry.org:10004/device-snmp:9857977cf1224abf0980974ddd92ec9b34aea725 09:04:21 - nexus3.edgexfoundry.org:10004/device-snmp:latest 09:04:21 - nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.12 09:04:21 - nexus3.edgexfoundry.org:10004/device-snmp:9857977cf1224abf0980974ddd92ec9b34aea725-3.0.0-dev.12 09:04:21 - 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 09:04:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:04:21 09:04:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:04:22 latest: Pulling from edgex-lftools-log-publisher 09:04:22 5eb5b503b376: Pulling fs layer 09:04:22 5c69ac0246d0: Pulling fs layer 09:04:22 ec43610c2a17: Pulling fs layer 09:04:22 3a2ae6a8a46f: Pulling fs layer 09:04:22 33b1e0a273af: Pulling fs layer 09:04:22 5d3b04190fa2: Pulling fs layer 09:04:22 2f39f015ded8: Pulling fs layer 09:04:22 5d3b04190fa2: Waiting 09:04:22 33b1e0a273af: Waiting 09:04:22 2f39f015ded8: Waiting 09:04:22 3a2ae6a8a46f: Waiting 09:04:22 5c69ac0246d0: Verifying Checksum 09:04:22 5c69ac0246d0: Download complete 09:04:22 3a2ae6a8a46f: Verifying Checksum 09:04:22 3a2ae6a8a46f: Download complete 09:04:22 33b1e0a273af: Verifying Checksum 09:04:22 33b1e0a273af: Download complete 09:04:22 5d3b04190fa2: Verifying Checksum 09:04:22 5d3b04190fa2: Download complete 09:04:22 ec43610c2a17: Verifying Checksum 09:04:22 ec43610c2a17: Download complete 09:04:22 5eb5b503b376: Verifying Checksum 09:04:22 5eb5b503b376: Download complete 09:04:22 2f39f015ded8: Download complete 09:04:23 5eb5b503b376: Pull complete 09:04:23 5c69ac0246d0: Pull complete 09:04:24 ec43610c2a17: Pull complete 09:04:24 3a2ae6a8a46f: Pull complete 09:04:24 33b1e0a273af: Pull complete 09:04:24 5d3b04190fa2: Pull complete 09:04:28 2f39f015ded8: Pull complete 09:04:28 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:04:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:04:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:04:28 prd-ubuntu20.04-docker-8c-8g-8434 does not seem to be running inside a container 09:04:28 $ 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 09:04:33 $ docker top 8ce039fe2d6a164874361090fb1da191e42fd609ea901fc3ae664e66c7cd6fab -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:04:33 ---> job-cost.sh 09:04:33 lf-activate-venv: SKIPPING 09:04:33 INFO: No Stack... 09:04:34 INFO: Retrieving Pricing Info for: v3-standard-8 09:04:34 INFO: Archiving Costs [Pipeline] sh 09:04:34 + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv 09:04:34 + cut -d, -f6 [Pipeline] lock 09:04:34 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-69-stack-cost] 09:04:34 Resource [jenkins-edgexfoundry-device-snmp-go-main-69-stack-cost] did not exist. Created. 09:04:34 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-69-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:04:35 + echo total: 0.2199999988079071 [Pipeline] stash 09:04:35 Stashed 1 file(s) [Pipeline] } 09:04:35 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-69-stack-cost] [Pipeline] // lock [Pipeline] } 09:04:35 $ docker stop --time=1 8ce039fe2d6a164874361090fb1da191e42fd609ea901fc3ae664e66c7cd6fab 09:04:36 $ docker rm -f --volumes 8ce039fe2d6a164874361090fb1da191e42fd609ea901fc3ae664e66c7cd6fab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:04:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8436 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 09:04:45 Running in /w/workspace/device-snmp-go/69 [Pipeline] { [Pipeline] checkout 09:04:45 Selected Git installation does not exist. Using Default 09:04:45 The recommended git tool is: NONE 09:04:50 using credential edgex-jenkins-ssh 09:04:50 Cloning the remote Git repository 09:04:51 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 09:04:51 > git init /w/workspace/device-snmp-go/69 # timeout=10 09:04:51 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 09:04:51 > git --version # timeout=10 09:04:51 > git --version # 'git version 2.25.1' 09:04:51 using GIT_SSH to set credentials SSH Credentials for GitHub 09:04:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:04:52 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 09:04:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:04:53 Avoid second fetch 09:04:53 Checking out Revision 9857977cf1224abf0980974ddd92ec9b34aea725 (main) 09:04:53 > git config core.sparsecheckout # timeout=10 09:04:53 > git checkout -f 9857977cf1224abf0980974ddd92ec9b34aea725 # timeout=10 09:04:54 Commit message: "Merge pull request #284 from weichou1229/interface-change" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:04:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:04:55 % Total % Received % Xferd Average Speed Time Time Time Current 09:04:55 Dload Upload Total Spent Left Speed 09:04:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 222k 0 --:--:-- --:--:-- --:--:-- 222k [Pipeline] sh 09:04:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:04:56 + + sudo teesudo /etc/docker/daemon.new jq 09:04:56 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:04:56 { 09:04:56 "registry-mirrors": [ 09:04:56 "https://nexus3.edgexfoundry.org:10001" 09:04:56 ], 09:04:56 "bip": "10.250.0.254/24", 09:04:56 "hosts": [ 09:04:56 "tcp://0.0.0.0:5555", 09:04:56 "unix:///var/run/docker.sock" 09:04:56 ], 09:04:56 "mtu": 1458, 09:04:56 "selinux-enabled": true, 09:04:56 "seccomp-profile": "/etc/docker/seccomp.json" 09:04:56 } [Pipeline] sh 09:04:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:04:57 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:05:15 provisioning config files... 09:05:15 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/69@tmp/config1818674124260631016tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:05:15 ---> docker-login.sh 09:05:15 nexus3.edgexfoundry.org:10001 09:05:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:16 Configure a credential helper to remove this warning. See 09:05:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:16 09:05:16 Login Succeeded 09:05:16 nexus3.edgexfoundry.org:10002 09:05:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:16 Configure a credential helper to remove this warning. See 09:05:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:16 09:05:16 Login Succeeded 09:05:16 nexus3.edgexfoundry.org:10003 09:05:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:17 Configure a credential helper to remove this warning. See 09:05:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:17 09:05:17 Login Succeeded 09:05:17 nexus3.edgexfoundry.org:10004 09:05:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:17 Configure a credential helper to remove this warning. See 09:05:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:17 09:05:17 Login Succeeded 09:05:17 docker.io 09:05:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:17 Configure a credential helper to remove this warning. See 09:05:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:17 09:05:17 Login Succeeded 09:05:17 ---> docker-login.sh ends [Pipeline] } 09:05:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:05:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:05:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:05:18 ========================================================= 09:05:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 09:05:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:05:18 + 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 . 09:05:18 Sending build context to Docker daemon 2.981MB 09:05:18 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 09:05:18 Step 2/12 : FROM ${BASE} AS builder 09:05:19 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:05:19 af6eaf76a39c: Pulling fs layer 09:05:19 55522c791124: Pulling fs layer 09:05:19 ce5c4a1c91eb: Pulling fs layer 09:05:19 169dfbe0d373: Pulling fs layer 09:05:19 e1ff8fa3b103: Pulling fs layer 09:05:19 52ebb69f0ebf: Pulling fs layer 09:05:19 5abe8eddf0d5: Pulling fs layer 09:05:19 169dfbe0d373: Waiting 09:05:19 e1ff8fa3b103: Waiting 09:05:19 52ebb69f0ebf: Waiting 09:05:19 5abe8eddf0d5: Waiting 09:05:19 55522c791124: Verifying Checksum 09:05:19 55522c791124: Download complete 09:05:19 169dfbe0d373: Verifying Checksum 09:05:19 169dfbe0d373: Download complete 09:05:19 e1ff8fa3b103: Verifying Checksum 09:05:19 e1ff8fa3b103: Download complete 09:05:19 af6eaf76a39c: Verifying Checksum 09:05:19 af6eaf76a39c: Download complete 09:05:20 af6eaf76a39c: Pull complete 09:05:20 5abe8eddf0d5: Verifying Checksum 09:05:20 5abe8eddf0d5: Download complete 09:05:20 55522c791124: Pull complete 09:05:21 ce5c4a1c91eb: Verifying Checksum 09:05:21 ce5c4a1c91eb: Download complete 09:05:21 52ebb69f0ebf: Download complete 09:05:34 ce5c4a1c91eb: Pull complete 09:05:34 169dfbe0d373: Pull complete 09:05:34 e1ff8fa3b103: Pull complete 09:05:40 52ebb69f0ebf: Pull complete 09:05:41 5abe8eddf0d5: Pull complete 09:05:41 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 09:05:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 09:05:41 ---> 6cb57ee374ae 09:05:41 Step 3/12 : ARG ADD_BUILD_TAGS="" 09:05:43 ---> Running in 8989e48a6042 09:05:43 Removing intermediate container 8989e48a6042 09:05:43 ---> 2e612c46ff82 09:05:43 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:05:43 ---> Running in 60f5400419a0 09:05:44 Removing intermediate container 60f5400419a0 09:05:44 ---> e4c34dfd30b4 09:05:44 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:05:44 ---> Running in b2037699c5aa 09:05:44 Removing intermediate container b2037699c5aa 09:05:44 ---> 8be2867f84e7 09:05:44 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 09:05:44 ---> Running in d0fa52519aa2 09:05:45 Removing intermediate container d0fa52519aa2 09:05:45 ---> df4492ccf597 09:05:45 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:05:45 ---> Running in 0295bd92ba4f 09:05:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 09:05:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 09:05:48 (1/4) Installing openssh-keygen (9.1_p1-r2) 09:05:48 (2/4) Installing libedit (20221030.3.1-r0) 09:05:48 (3/4) Installing openssh-client-common (9.1_p1-r2) 09:05:48 (4/4) Installing openssh-client-default (9.1_p1-r2) 09:05:48 Executing busybox-1.35.0-r29.trigger 09:05:48 OK: 268 MiB in 57 packages 09:05:49 Removing intermediate container 0295bd92ba4f 09:05:49 ---> 1c0d47bfb85b 09:05:49 Step 8/12 : WORKDIR /device-snmp-go 09:05:49 ---> Running in ebd63099f29c 09:05:49 Removing intermediate container ebd63099f29c 09:05:49 ---> f4b6ef8dd5ce 09:05:49 Step 9/12 : COPY go.mod vendor* ./ 09:05:50 ---> 55068491e8f9 09:05:50 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:05:50 ---> Running in f269f34911ee 09:06:58 Removing intermediate container f269f34911ee 09:06:58 ---> d3314a646e09 09:06:58 Step 11/12 : COPY . . 09:06:58 ---> 7b6ba69b202c 09:06:58 Step 12/12 : RUN ${MAKE} 09:06:58 ---> Running in 8d01321e688a 09:06:58 noop 09:06:58 Removing intermediate container 8d01321e688a 09:06:58 ---> 8079003bfe56 09:06:58 Successfully built 8079003bfe56 09:06:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:06:58 + docker inspect -f . ci-base-image-arm64 09:06:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:06:58 prd-ubuntu20.04-docker-arm64-4c-16g-8436 does not seem to be running inside a container 09:06:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/69 -v /w/workspace/device-snmp-go/69:/w/workspace/device-snmp-go/69:rw,z -v /w/workspace/device-snmp-go/69@tmp:/w/workspace/device-snmp-go/69@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 09:07:00 $ docker top 4dfe8763fab7df660a68ac19478b0a4de464547e3097b6c7b6b20b184ba148b5 -eo pid,comm [Pipeline] { [Pipeline] sh 09:07:01 + go version 09:07:01 go version go1.20.2 linux/arm64 [Pipeline] } 09:07:01 $ docker stop --time=1 4dfe8763fab7df660a68ac19478b0a4de464547e3097b6c7b6b20b184ba148b5 09:07:02 $ docker rm -f --volumes 4dfe8763fab7df660a68ac19478b0a4de464547e3097b6c7b6b20b184ba148b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:07:03 + docker inspect -f . ci-base-image-arm64 09:07:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:07:03 prd-ubuntu20.04-docker-arm64-4c-16g-8436 does not seem to be running inside a container 09:07:03 $ 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/69 -v /w/workspace/device-snmp-go/69:/w/workspace/device-snmp-go/69:rw,z -v /w/workspace/device-snmp-go/69@tmp:/w/workspace/device-snmp-go/69@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 09:07:04 $ docker top b5ee6cc1453b4ea057c71bbb8d8c2bcbdcecf1f0f58c95856b3af7476d2e58f7 -eo pid,comm [Pipeline] { [Pipeline] sh 09:07:05 + git config --global --add safe.directory /w/workspace/device-snmp-go/69 [Pipeline] fileExists [Pipeline] sh 09:07:05 + make test 09:07:05 go test ./... -coverprofile=coverage.out 09:07:44 ? github.com/edgexfoundry/device-snmp-go [no test files] 09:09:51 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 09:09:51 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.051s coverage: 0.0% of statements 09:09:51 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:09:51 go vet ./... 09:10:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:10:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:10:30 ./bin/test-attribution-txt.sh 09:10:30 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 09:10:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:10:30 $ docker stop --time=1 b5ee6cc1453b4ea057c71bbb8d8c2bcbdcecf1f0f58c95856b3af7476d2e58f7 09:10:32 $ docker rm -f --volumes b5ee6cc1453b4ea057c71bbb8d8c2bcbdcecf1f0f58c95856b3af7476d2e58f7 [Pipeline] // withDockerContainer [Pipeline] sh 09:10:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:10:33 Warning: overwriting stash ‘coverage-report’ 09:10:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:10:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:10:34 + ls -al . 09:10:34 total 168 09:10:34 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 09:07 . 09:10:34 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 09:04 .. 09:10:34 -rw-rw-r-- 1 jenkins jenkins 6 Apr 13 09:04 .dockerignore 09:10:34 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 09:04 .git 09:10:34 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:04 .github 09:10:34 -rw-rw-r-- 1 jenkins jenkins 328 Apr 13 09:04 .gitignore 09:10:34 -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 09:04 .golangci.yml 09:10:34 -rw-rw-r-- 1 jenkins jenkins 8926 Apr 13 09:04 Attribution.txt 09:10:34 -rw-rw-r-- 1 jenkins jenkins 8355 Apr 13 09:04 CHANGELOG.md 09:10:34 -rw-rw-r-- 1 jenkins jenkins 1423 Apr 13 09:04 Dockerfile 09:10:34 -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 09:04 GOVERNANCE.md 09:10:34 -rw-rw-r-- 1 jenkins jenkins 656 Apr 13 09:04 Jenkinsfile 09:10:34 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 09:04 LICENSE 09:10:34 -rw-rw-r-- 1 jenkins jenkins 2114 Apr 13 09:04 Makefile 09:10:34 -rw-rw-r-- 1 jenkins jenkins 620 Apr 13 09:04 OWNERS.md 09:10:34 -rw-rw-r-- 1 jenkins jenkins 10054 Apr 13 09:04 README.md 09:10:34 -rw-rw-r-- 1 jenkins jenkins 12 Apr 13 09:02 VERSION 09:10:34 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 09:04 bin 09:10:34 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:04 cmd 09:10:34 -rw-r--r-- 1 jenkins jenkins 8751 Apr 13 09:09 coverage.out 09:10:34 -rw-rw-r-- 1 jenkins jenkins 3283 Apr 13 09:04 go.mod 09:10:34 -rw-rw-r-- 1 jenkins jenkins 31551 Apr 13 09:04 go.sum 09:10:34 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:04 internal 09:10:34 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 09:04 snap 09:10:34 -rw-rw-r-- 1 jenkins jenkins 228 Apr 13 09:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:10:35 + 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=9857977cf1224abf0980974ddd92ec9b34aea725 --label arch=arm64 --label version=3.0.0-dev.12 . 09:10:35 Sending build context to Docker daemon 2.991MB 09:10:35 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 09:10:35 Step 2/24 : FROM ${BASE} AS builder 09:10:35 ---> 8079003bfe56 09:10:35 Step 3/24 : ARG ADD_BUILD_TAGS="" 09:10:38 ---> Running in 541f92db13b3 09:10:38 Removing intermediate container 541f92db13b3 09:10:38 ---> d0282957efaf 09:10:38 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:10:38 ---> Running in 54fabaae9d69 09:10:39 Removing intermediate container 54fabaae9d69 09:10:39 ---> e31ef4a30ebe 09:10:39 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:10:39 ---> Running in 9b59eecae45c 09:10:39 Removing intermediate container 9b59eecae45c 09:10:39 ---> 9be1e852479a 09:10:39 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 09:10:39 ---> Running in a3af0cfa7c1d 09:10:39 Removing intermediate container a3af0cfa7c1d 09:10:39 ---> d7048cd82221 09:10:39 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:10:39 ---> Running in d858bb769f81 09:10:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 09:10:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 09:10:42 OK: 268 MiB in 57 packages 09:10:43 Removing intermediate container d858bb769f81 09:10:43 ---> d5fa0c3aad23 09:10:43 Step 8/24 : WORKDIR /device-snmp-go 09:10:43 ---> Running in 003f8b3cc853 09:10:44 Removing intermediate container 003f8b3cc853 09:10:44 ---> b582b76e6ef5 09:10:44 Step 9/24 : COPY go.mod vendor* ./ 09:10:44 ---> d8a69c41dc59 09:10:44 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:10:44 ---> Running in 805a6bbe0ea5 09:10:47 Removing intermediate container 805a6bbe0ea5 09:10:47 ---> 518e482a6c71 09:10:47 Step 11/24 : COPY . . 09:10:48 ---> fc1043ce3fe9 09:10:48 Step 12/24 : RUN ${MAKE} 09:10:48 ---> Running in 2b4bdc004139 09:10:49 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.12" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 09:13:10 Removing intermediate container 2b4bdc004139 09:13:10 ---> 5b88edcedd7f 09:13:10 Step 13/24 : FROM alpine:3.17 09:13:10 3.17: Pulling from library/alpine 09:13:10 c41833b44d91: Pulling fs layer 09:13:10 c41833b44d91: Verifying Checksum 09:13:10 c41833b44d91: Download complete 09:13:10 c41833b44d91: Pull complete 09:13:10 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 09:13:10 Status: Downloaded newer image for alpine:3.17 09:13:10 ---> 51e60588ff2c 09:13:10 Step 14/24 : RUN apk add --update --no-cache dumb-init 09:13:10 ---> Running in eb251033940b 09:13:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 09:13:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 09:13:13 (1/1) Installing dumb-init (1.2.5-r2) 09:13:13 Executing busybox-1.35.0-r29.trigger 09:13:13 OK: 8 MiB in 16 packages 09:13:14 Removing intermediate container eb251033940b 09:13:14 ---> 4eaf22b16b59 09:13:14 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 09:13:16 ---> ce2f6ad0315c 09:13:16 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 09:13:18 ---> 4f321313fcb8 09:13:18 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 09:13:18 ---> bedf6bc86424 09:13:18 Step 18/24 : EXPOSE 59993 09:13:18 ---> Running in 4da11eb2d9d0 09:13:19 Removing intermediate container 4da11eb2d9d0 09:13:19 ---> 337a99e5918f 09:13:19 Step 19/24 : EXPOSE 161 09:13:19 ---> Running in 3c3e5580c09d 09:13:19 Removing intermediate container 3c3e5580c09d 09:13:19 ---> f49ce98d998c 09:13:19 Step 20/24 : ENTRYPOINT ["/device-snmp"] 09:13:19 ---> Running in d65993f9bdb0 09:13:19 Removing intermediate container d65993f9bdb0 09:13:19 ---> e8181e3288a8 09:13:19 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 09:13:19 ---> Running in 8be12a8aa08a 09:13:20 Removing intermediate container 8be12a8aa08a 09:13:20 ---> c9c9f3052f29 09:13:20 Step 22/24 : LABEL arch=arm64 09:13:20 ---> Running in b0d99c95fbe9 09:13:20 Removing intermediate container b0d99c95fbe9 09:13:20 ---> 03fdfb3b831f 09:13:20 Step 23/24 : LABEL git_sha=9857977cf1224abf0980974ddd92ec9b34aea725 09:13:20 ---> Running in 2f67a3ccf4f3 09:13:20 Removing intermediate container 2f67a3ccf4f3 09:13:20 ---> 3678bca2cb54 09:13:20 Step 24/24 : LABEL version=3.0.0-dev.12 09:13:20 ---> Running in 9d64384240cf 09:13:21 Removing intermediate container 9d64384240cf 09:13:21 ---> 22aacef30d68 09:13:21 [Warning] One or more build-args [ARCH] were not consumed 09:13:21 Successfully built 22aacef30d68 09:13:21 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 09:13:21 provisioning config files... 09:13:21 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/69@tmp/config784466175395744379tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:13:21 ---> docker-login.sh 09:13:21 nexus3.edgexfoundry.org:10001 09:13:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:22 Configure a credential helper to remove this warning. See 09:13:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:22 09:13:22 Login Succeeded 09:13:22 nexus3.edgexfoundry.org:10002 09:13:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:22 Configure a credential helper to remove this warning. See 09:13:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:22 09:13:22 Login Succeeded 09:13:22 nexus3.edgexfoundry.org:10003 09:13:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:23 Configure a credential helper to remove this warning. See 09:13:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:23 09:13:23 Login Succeeded 09:13:23 nexus3.edgexfoundry.org:10004 09:13:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:23 Configure a credential helper to remove this warning. See 09:13:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:23 09:13:23 Login Succeeded 09:13:23 docker.io 09:13:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:23 Configure a credential helper to remove this warning. See 09:13:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:23 09:13:23 Login Succeeded 09:13:23 ---> docker-login.sh ends [Pipeline] } 09:13:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:13:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:13:24 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 09:13:24 9857977cf1224abf0980974ddd92ec9b34aea725 09:13:24 latest 09:13:24 3.0.0-dev.12 09:13:24 9857977cf1224abf0980974ddd92ec9b34aea725-3.0.0-dev.12 09:13:24 main 09:13:24 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:13:24 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:9857977cf1224abf0980974ddd92ec9b34aea725 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:13:24 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:9857977cf1224abf0980974ddd92ec9b34aea725 09:13:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 09:13:24 f85f90b68dd2: Preparing 09:13:24 71d06d589123: Preparing 09:13:24 8d7718be7950: Preparing 09:13:24 52d324038e9e: Preparing 09:13:24 26cbea5cba74: Preparing 09:13:24 26cbea5cba74: Layer already exists 09:13:25 71d06d589123: Pushed 09:13:25 f85f90b68dd2: Pushed 09:13:25 52d324038e9e: Pushed 09:13:30 8d7718be7950: Pushed 09:13:30 9857977cf1224abf0980974ddd92ec9b34aea725: digest: sha256:3e511007226a01daecd98bfa82a7ed38da17a7c12d54034838514e24c84840dc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:13:30 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:13:31 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 09:13:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 09:13:31 f85f90b68dd2: Preparing 09:13:31 71d06d589123: Preparing 09:13:31 8d7718be7950: Preparing 09:13:31 52d324038e9e: Preparing 09:13:31 26cbea5cba74: Preparing 09:13:31 26cbea5cba74: Layer already exists 09:13:31 52d324038e9e: Layer already exists 09:13:31 71d06d589123: Layer already exists 09:13:31 8d7718be7950: Layer already exists 09:13:31 f85f90b68dd2: Layer already exists 09:13:31 latest: digest: sha256:3e511007226a01daecd98bfa82a7ed38da17a7c12d54034838514e24c84840dc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:13:31 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:13:32 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.12 09:13:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 09:13:32 f85f90b68dd2: Preparing 09:13:32 71d06d589123: Preparing 09:13:32 8d7718be7950: Preparing 09:13:32 52d324038e9e: Preparing 09:13:32 26cbea5cba74: Preparing 09:13:32 71d06d589123: Layer already exists 09:13:32 52d324038e9e: Layer already exists 09:13:32 8d7718be7950: Layer already exists 09:13:32 26cbea5cba74: Layer already exists 09:13:32 f85f90b68dd2: Layer already exists 09:13:32 3.0.0-dev.12: digest: sha256:3e511007226a01daecd98bfa82a7ed38da17a7c12d54034838514e24c84840dc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:13:32 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:9857977cf1224abf0980974ddd92ec9b34aea725-3.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:13:33 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:9857977cf1224abf0980974ddd92ec9b34aea725-3.0.0-dev.12 09:13:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 09:13:33 f85f90b68dd2: Preparing 09:13:33 71d06d589123: Preparing 09:13:33 8d7718be7950: Preparing 09:13:33 52d324038e9e: Preparing 09:13:33 26cbea5cba74: Preparing 09:13:33 f85f90b68dd2: Layer already exists 09:13:33 26cbea5cba74: Layer already exists 09:13:33 52d324038e9e: Layer already exists 09:13:33 8d7718be7950: Layer already exists 09:13:33 71d06d589123: Layer already exists 09:13:33 9857977cf1224abf0980974ddd92ec9b34aea725-3.0.0-dev.12: digest: sha256:3e511007226a01daecd98bfa82a7ed38da17a7c12d54034838514e24c84840dc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:13:33 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:13:33 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 09:13:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 09:13:33 f85f90b68dd2: Preparing 09:13:33 71d06d589123: Preparing 09:13:33 8d7718be7950: Preparing 09:13:33 52d324038e9e: Preparing 09:13:33 26cbea5cba74: Preparing 09:13:33 71d06d589123: Layer already exists 09:13:33 8d7718be7950: Layer already exists 09:13:33 52d324038e9e: Layer already exists 09:13:33 f85f90b68dd2: Layer already exists 09:13:33 26cbea5cba74: Layer already exists 09:13:34 main: digest: sha256:3e511007226a01daecd98bfa82a7ed38da17a7c12d54034838514e24c84840dc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:13:34 ===================================================== [Pipeline] echo 09:13:34 taggedImages: 09:13:34 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:9857977cf1224abf0980974ddd92ec9b34aea725 09:13:34 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 09:13:34 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.12 09:13:34 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:9857977cf1224abf0980974ddd92ec9b34aea725-3.0.0-dev.12 09:13:34 - 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 09:13:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:13:34 09:13:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:13:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:13:34 arm64: Pulling from edgex-lftools-log-publisher 09:13:34 8998bd30e6a1: Pulling fs layer 09:13:34 04944245beec: Pulling fs layer 09:13:34 699f458cf7ca: Pulling fs layer 09:13:34 765212b225bb: Pulling fs layer 09:13:34 f23df028b6ca: Pulling fs layer 09:13:34 d65c8cfc05b1: Pulling fs layer 09:13:34 2437ff75d9bd: Pulling fs layer 09:13:34 765212b225bb: Waiting 09:13:34 f23df028b6ca: Waiting 09:13:35 d65c8cfc05b1: Waiting 09:13:35 2437ff75d9bd: Waiting 09:13:35 04944245beec: Verifying Checksum 09:13:35 04944245beec: Download complete 09:13:35 765212b225bb: Verifying Checksum 09:13:35 765212b225bb: Download complete 09:13:35 f23df028b6ca: Verifying Checksum 09:13:35 f23df028b6ca: Download complete 09:13:35 d65c8cfc05b1: Verifying Checksum 09:13:35 d65c8cfc05b1: Download complete 09:13:35 699f458cf7ca: Verifying Checksum 09:13:35 699f458cf7ca: Download complete 09:13:35 8998bd30e6a1: Download complete 09:13:37 2437ff75d9bd: Verifying Checksum 09:13:37 2437ff75d9bd: Download complete 09:13:39 8998bd30e6a1: Pull complete 09:13:39 04944245beec: Pull complete 09:13:41 699f458cf7ca: Pull complete 09:13:41 765212b225bb: Pull complete 09:13:42 f23df028b6ca: Pull complete 09:13:46 d65c8cfc05b1: Pull complete 09:14:01 2437ff75d9bd: Pull complete 09:14:01 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:14:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:14:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:14:01 prd-ubuntu20.04-docker-arm64-4c-16g-8436 does not seem to be running inside a container 09:14:01 $ 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/69 -v /w/workspace/device-snmp-go/69:/w/workspace/device-snmp-go/69:rw,z -v /w/workspace/device-snmp-go/69@tmp:/w/workspace/device-snmp-go/69@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 09:14:04 $ docker top cd8fb938f1d5df1e5ae6769e59ef34b698a1cfa79b343e18a6020d9c657f4f88 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:14:05 ---> job-cost.sh 09:14:05 lf-activate-venv: SKIPPING 09:14:05 INFO: No Stack... 09:14:05 INFO: Retrieving Pricing Info for: v3-standard-4 09:14:06 INFO: Archiving Costs [Pipeline] sh 09:14:07 + cat /w/workspace/device-snmp-go/69/archives/cost.csv 09:14:07 + cut -d, -f6 [Pipeline] lock 09:14:07 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-69-stack-cost] 09:14:07 Resource [jenkins-edgexfoundry-device-snmp-go-main-69-stack-cost] did not exist. Created. 09:14:07 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-69-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:14:07 /w/workspace/device-snmp-go/69@tmp/durable-907299f8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:14:08 + echo total: 0.10999999940395355 [Pipeline] stash 09:14:08 Warning: overwriting stash ‘stack-cost’ 09:14:08 Stashed 1 file(s) [Pipeline] } 09:14:08 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-69-stack-cost] [Pipeline] // lock [Pipeline] } 09:14:08 $ docker stop --time=1 cd8fb938f1d5df1e5ae6769e59ef34b698a1cfa79b343e18a6020d9c657f4f88 09:14:10 $ docker rm -f --volumes cd8fb938f1d5df1e5ae6769e59ef34b698a1cfa79b343e18a6020d9c657f4f88 [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 09:14:10 provisioning config files... 09:14:10 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4940228347123124799tmp [Pipeline] { [Pipeline] sh 09:14:10 + set +x 09:14:10 + curl -s https://codecov.io/bash 09:14:10 + bash -s -- 09:14:10 09:14:10 _____ _ 09:14:10 / ____| | | 09:14:10 | | ___ __| | ___ ___ _____ __ 09:14:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:14:10 | |___| (_) | (_| | __/ (_| (_) \ V / 09:14:10 \_____\___/ \__,_|\___|\___\___/ \_/ 09:14:10 Bash-1.0.6 09:14:10 09:14:10 09:14:10 ==> git version 2.25.1 found 09:14:10 ==> 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 09:14:10 Release-Date: 2020-01-08 09:14:10 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:14:10 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:14:10 ==> Jenkins CI detected. 09:14:10 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 09:14:10 project root: . 09:14:10 --> token set from env 09:14:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:14:10 ==> Running gcov in . (disable via -X gcov) 09:14:10 ==> Python coveragepy not found 09:14:10 ==> Searching for coverage reports in: 09:14:10 + . 09:14:10 -> Found 1 reports 09:14:10 ==> Detecting git/mercurial file structure 09:14:10 ==> Reading reports 09:14:10 + ./coverage.out bytes=8751 09:14:10 ==> Appending adjustments 09:14:10 https://docs.codecov.io/docs/fixing-reports 09:14:11 + Found adjustments 09:14:11 ==> Gzipping contents 09:14:11 4.0K /tmp/codecov.Acx008.gz 09:14:11 ==> Uploading reports 09:14:11 url: https://codecov.io 09:14:11 query: branch=main&commit=9857977cf1224abf0980974ddd92ec9b34aea725&build=69&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F69%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:14:11 -> Pinging Codecov 09:14:11 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=9857977cf1224abf0980974ddd92ec9b34aea725&build=69&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F69%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:14:11 -> Uploading to 09:14:11 https://storage.googleapis.com/codecov/v4/raw/2023-04-13/6C56EA5C29638FB4528AC87E60AF5AE0/9857977cf1224abf0980974ddd92ec9b34aea725/25dc9042-1c8f-4053-8e54-fe41ee4086de.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230413%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230413T091410Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b6d7783a6fcb34f71300f75f6b342137862f36a371f7d6257d75ce0a3487c245 09:14:11 % Total % Received % Xferd Average Speed Time Time Time Current 09:14:11 Dload Upload Total Spent Left Speed 09:14:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1590 0 0 100 1590 0 6680 --:--:-- --:--:-- --:--:-- 6708 09:14:11 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/9857977cf1224abf0980974ddd92ec9b34aea725 [Pipeline] } 09:14:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 09:14:11 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 09:14:11 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:14:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:14:11 09:14:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:14:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:14:12 1.410.4: Pulling from edgex-devops/edgex-snyk-go 09:14:12 df9b9388f04a: Pulling fs layer 09:14:12 52dc419b0ee2: Pulling fs layer 09:14:12 25bc292e5bac: Pulling fs layer 09:14:12 114826534d7a: Pulling fs layer 09:14:12 4657fd5d0bcf: Pulling fs layer 09:14:12 6ad1cebc031e: Pulling fs layer 09:14:12 8a3aa393b2d8: Pulling fs layer 09:14:12 4657fd5d0bcf: Waiting 09:14:12 8a3aa393b2d8: Waiting 09:14:12 114826534d7a: Waiting 09:14:12 6ad1cebc031e: Waiting 09:14:12 25bc292e5bac: Download complete 09:14:12 52dc419b0ee2: Verifying Checksum 09:14:12 52dc419b0ee2: Download complete 09:14:12 4657fd5d0bcf: Verifying Checksum 09:14:12 4657fd5d0bcf: Download complete 09:14:12 df9b9388f04a: Download complete 09:14:12 df9b9388f04a: Pull complete 09:14:12 6ad1cebc031e: Verifying Checksum 09:14:12 6ad1cebc031e: Download complete 09:14:12 52dc419b0ee2: Pull complete 09:14:12 25bc292e5bac: Pull complete 09:14:12 114826534d7a: Verifying Checksum 09:14:12 114826534d7a: Download complete 09:14:12 8a3aa393b2d8: Verifying Checksum 09:14:12 8a3aa393b2d8: Download complete 09:14:16 114826534d7a: Pull complete 09:14:16 4657fd5d0bcf: Pull complete 09:14:16 6ad1cebc031e: Pull complete 09:14:19 8a3aa393b2d8: Pull complete 09:14:19 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 09:14:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:14:19 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:14:19 prd-ubuntu20.04-docker-8c-8g-8434 does not seem to be running inside a container 09:14:19 $ 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 09:14:24 $ docker top 35c054198379058b8e8e124fad690018575b700ab0161bfbd469fc771601274a -eo pid,comm [Pipeline] { [Pipeline] echo 09:14:24 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh 09:14:25 + set -o pipefail 09:14:25 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' 09:14:29 09:14:29 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 09:14:29 09:14:29 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/24e4b838-c256-457b-985f-cb71807bbf82 09:14:29 09:14:29 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 09:14:29 09:14:29 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 09:14:29 09:14:29 09:14:29 A medium severity vulnerability was found in the Snyk CLI versions you are using. 09:14:29 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 09:14:29 More details here: https://snyk.co/ue1NS 09:14:29 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 09:14:29 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 09:14:29 $ docker stop --time=1 35c054198379058b8e8e124fad690018575b700ab0161bfbd469fc771601274a 09:14:33 $ docker rm -f --volumes 35c054198379058b8e8e124fad690018575b700ab0161bfbd469fc771601274a [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 09:14:34 + git log --format=format:%s -1 9857977cf1224abf0980974ddd92ec9b34aea725 [Pipeline] sh 09:14:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:14:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:14:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:14:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:14:34 prd-ubuntu20.04-docker-8c-8g-8434 does not seem to be running inside a container 09:14:34 $ 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 09:14:35 $ docker top 8c45a80d7d17fb518762a5e7c86c87e6955c1f8ad0cb4e5309f37243be7b6a45 -eo pid,comm 09:14:35 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). 09:14:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:14:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:14:35 [ssh-agent] Looking for ssh-agent implementation... 09:14:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:14:35 $ docker exec 8c45a80d7d17fb518762a5e7c86c87e6955c1f8ad0cb4e5309f37243be7b6a45 ssh-agent 09:14:35 SSH_AUTH_SOCK=/tmp/ssh-8eIMxhScIJEz/agent.33 09:14:35 SSH_AGENT_PID=39 09:14:35 Running ssh-add (command line suppressed) 09:14:35 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_15370227794299264371.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_15370227794299264371.key) 09:14:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:14:36 + git semver tag 09:14:36 2023-04-13 09:14:36,356 [run_tag] DEBUG tag force:False 09:14:36 2023-04-13 09:14:36,356 [check_head_tag] DEBUG check head tag 09:14:36 2023-04-13 09:14:36,356 [execute] INFO git cat-file --batch-check 09:14:36 2023-04-13 09:14:36,357 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 09:14:36 2023-04-13 09:14:36,360 [execute] INFO git cat-file --batch 09:14:36 2023-04-13 09:14:36,360 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 09:14:36 2023-04-13 09:14:36,374 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 09:14:36 2023-04-13 09:14:36,374 [execute] INFO git tag -a v3.0.0-dev.12 -m v3.0.0-dev.12 09:14:36 2023-04-13 09:14:36,374 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.12', '-m', 'v3.0.0-dev.12'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 09:14:36 2023-04-13 09:14:36,379 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 09:14:36 3.0.0-dev.12 [Pipeline] } 09:14:36 $ docker exec --env ******** --env ******** 8c45a80d7d17fb518762a5e7c86c87e6955c1f8ad0cb4e5309f37243be7b6a45 ssh-agent -k 09:14:36 unset SSH_AUTH_SOCK; 09:14:36 unset SSH_AGENT_PID; 09:14:36 echo Agent pid 39 killed; 09:14:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:14:36 + git semver [Pipeline] } 09:14:37 $ docker stop --time=1 8c45a80d7d17fb518762a5e7c86c87e6955c1f8ad0cb4e5309f37243be7b6a45 09:14:38 $ docker rm -f --volumes 8c45a80d7d17fb518762a5e7c86c87e6955c1f8ad0cb4e5309f37243be7b6a45 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:14:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:14:38 09:14:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:14:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:14:39 0.23.1-centos7: Pulling from edgex-lftools 09:14:39 ab5ef0e58194: Pulling fs layer 09:14:39 9712f1f96733: Pulling fs layer 09:14:39 63f879dbbcfc: Pulling fs layer 09:14:39 0d9ebad4ef96: Pulling fs layer 09:14:39 e9a5061849ea: Pulling fs layer 09:14:39 d747dcd14b5f: Pulling fs layer 09:14:39 2de7ff778b66: Pulling fs layer 09:14:39 0d9ebad4ef96: Waiting 09:14:39 d747dcd14b5f: Waiting 09:14:39 e9a5061849ea: Waiting 09:14:39 2de7ff778b66: Waiting 09:14:39 9712f1f96733: Verifying Checksum 09:14:39 9712f1f96733: Download complete 09:14:39 63f879dbbcfc: Verifying Checksum 09:14:39 63f879dbbcfc: Download complete 09:14:39 0d9ebad4ef96: Verifying Checksum 09:14:39 0d9ebad4ef96: Download complete 09:14:39 d747dcd14b5f: Download complete 09:14:39 e9a5061849ea: Verifying Checksum 09:14:39 e9a5061849ea: Download complete 09:14:39 ab5ef0e58194: Verifying Checksum 09:14:39 ab5ef0e58194: Download complete 09:14:39 2de7ff778b66: Download complete 09:14:42 ab5ef0e58194: Pull complete 09:14:42 9712f1f96733: Pull complete 09:14:43 63f879dbbcfc: Pull complete 09:14:46 0d9ebad4ef96: Pull complete 09:14:46 e9a5061849ea: Pull complete 09:14:46 d747dcd14b5f: Pull complete 09:14:47 2de7ff778b66: Pull complete 09:14:47 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:14:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:14:47 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:14:47 prd-ubuntu20.04-docker-8c-8g-8434 does not seem to be running inside a container 09:14:47 $ 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 09:14:53 $ docker top 95baf8bdd812e3c72e414f927f16b2d34df16ac27a917291a1582c99a98a86f8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:14:53 provisioning config files... 09:14:53 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6745017293701301469tmp 09:14:53 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8939839662986111191tmp 09:14:53 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5125580354253441778tmp [Pipeline] { [Pipeline] echo 09:14:53 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:14:54 ---> sigul-configuration.sh 09:14:54 gpg: directory `/root/.gnupg' created 09:14:54 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:14:54 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:14:54 gpg: keyring `/root/.gnupg/secring.gpg' created 09:14:54 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:14:54 gpg: CAST5 encrypted data 09:14:54 gpg: encrypted with 1 passphrase 09:14:54 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:14:54 + mkdir /home/jenkins 09:14:54 + mkdir /home/jenkins/sigul [Pipeline] sh 09:14:54 + 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 09:14:54 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:14:54 ---> sigul-install.sh 09:14:54 Sigul already installed; skipping installation. [Pipeline] sh 09:14:55 + git tag --list 09:14:55 1.0.0 09:14:55 v0.0.0 09:14:55 v1.1.0 09:14:55 v1.1.1 09:14:55 v1.2.2 09:14:55 v1.3.0 09:14:55 v1.3.1 09:14:55 v2.0.0 09:14:55 v2.1.0 09:14:55 v2.1.1 09:14:55 v2.1.1-dev.2 09:14:55 v2.1.1-dev.3 09:14:55 v2.2.0 09:14:55 v2.2.1-dev.1 09:14:55 v2.2.1-dev.2 09:14:55 v2.2.1-dev.3 09:14:55 v2.2.1-dev.4 09:14:55 v2.2.1-dev.5 09:14:55 v2.2.1-dev.6 09:14:55 v2.2.1-dev.7 09:14:55 v2.3.0 09:14:55 v2.3.0-dev.10 09:14:55 v2.3.0-dev.11 09:14:55 v2.3.0-dev.12 09:14:55 v2.3.0-dev.13 09:14:55 v2.3.0-dev.14 09:14:55 v2.3.0-dev.15 09:14:55 v2.3.0-dev.16 09:14:55 v2.3.0-dev.17 09:14:55 v2.3.0-dev.18 09:14:55 v2.3.0-dev.19 09:14:55 v2.3.0-dev.20 09:14:55 v2.3.0-dev.21 09:14:55 v2.3.0-dev.22 09:14:55 v2.3.0-dev.23 09:14:55 v2.3.0-dev.24 09:14:55 v2.3.0-dev.7 09:14:55 v2.3.0-dev.8 09:14:55 v2.3.0-dev.9 09:14:55 v3.0.0-dev.1 09:14:55 v3.0.0-dev.10 09:14:55 v3.0.0-dev.11 09:14:55 v3.0.0-dev.12 09:14:55 v3.0.0-dev.2 09:14:55 v3.0.0-dev.3 09:14:55 v3.0.0-dev.4 09:14:55 v3.0.0-dev.5 09:14:55 v3.0.0-dev.6 09:14:55 v3.0.0-dev.7 09:14:55 v3.0.0-dev.8 09:14:55 v3.0.0-dev.9 [Pipeline] sh 09:14:55 + lftools sign git-tag v3.0.0-dev.12 09:14:56 Signing Git tag with Sigul... 09:14:56 Signing v3.0.0-dev.12 [Pipeline] echo 09:14:56 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:14:56 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:14:56 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:14:56 $ docker stop --time=1 95baf8bdd812e3c72e414f927f16b2d34df16ac27a917291a1582c99a98a86f8 09:14:58 $ docker rm -f --volumes 95baf8bdd812e3c72e414f927f16b2d34df16ac27a917291a1582c99a98a86f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 09:14:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:14:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:14:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:14:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:14:58 prd-ubuntu20.04-docker-8c-8g-8434 does not seem to be running inside a container 09:14:58 $ 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 09:14:59 $ docker top 3d52e3c30f0409168094f737ff35fd54a25992270dd66509a9e0cc271a9e6e6b -eo pid,comm 09:14:59 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). 09:14:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:14:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:14:59 [ssh-agent] Looking for ssh-agent implementation... 09:14:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:14:59 $ docker exec 3d52e3c30f0409168094f737ff35fd54a25992270dd66509a9e0cc271a9e6e6b ssh-agent 09:14:59 SSH_AUTH_SOCK=/tmp/ssh-x4QARrsPiO5C/agent.31 09:14:59 SSH_AGENT_PID=37 09:14:59 Running ssh-add (command line suppressed) 09:14:59 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_10397286488592225891.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_10397286488592225891.key) 09:14:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:14:59 + git semver bump pre 09:15:00 2023-04-13 09:15:00,074 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 09:15:00 2023-04-13 09:15:00,074 [bump_version] DEBUG bumping version:3.0.0-dev.12 on axis:pre with prefix:dev 09:15:00 2023-04-13 09:15:00,075 [bump_version] DEBUG bumped version:3.0.0-dev.13 09:15:00 2023-04-13 09:15:00,075 [write_version] DEBUG write version:3.0.0-dev.13 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True 09:15:00 2023-04-13 09:15:00,075 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 09:15:00 2023-04-13 09:15:00,075 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 09:15:00 2023-04-13 09:15:00,078 [execute] INFO git cat-file --batch-check 09:15:00 2023-04-13 09:15:00,078 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:15:00 2023-04-13 09:15:00,084 [execute] INFO git cat-file --batch 09:15:00 2023-04-13 09:15:00,085 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:15:00 2023-04-13 09:15:00,090 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 09:15:00 3.0.0-dev.13 [Pipeline] } 09:15:00 $ docker exec --env ******** --env ******** 3d52e3c30f0409168094f737ff35fd54a25992270dd66509a9e0cc271a9e6e6b ssh-agent -k 09:15:00 unset SSH_AUTH_SOCK; 09:15:00 unset SSH_AGENT_PID; 09:15:00 echo Agent pid 37 killed; 09:15:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:15:00 + git semver [Pipeline] } 09:15:00 $ docker stop --time=1 3d52e3c30f0409168094f737ff35fd54a25992270dd66509a9e0cc271a9e6e6b 09:15:02 $ docker rm -f --volumes 3d52e3c30f0409168094f737ff35fd54a25992270dd66509a9e0cc271a9e6e6b [Pipeline] // withDockerContainer [Pipeline] sh 09:15:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:15:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:15:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:15:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:15:02 prd-ubuntu20.04-docker-8c-8g-8434 does not seem to be running inside a container 09:15:02 $ 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 09:15:03 $ docker top e73a8bf499384dc79e9ccffa655d3f21236d1cdcf98d2b7c11eb1d314bd37d19 -eo pid,comm 09:15:03 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). 09:15:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:15:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:15:03 [ssh-agent] Looking for ssh-agent implementation... 09:15:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:15:03 $ docker exec e73a8bf499384dc79e9ccffa655d3f21236d1cdcf98d2b7c11eb1d314bd37d19 ssh-agent 09:15:03 SSH_AUTH_SOCK=/tmp/ssh-b3J4g6cZJd1J/agent.20 09:15:03 SSH_AGENT_PID=39 09:15:03 Running ssh-add (command line suppressed) 09:15:03 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_11748900124556945468.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_11748900124556945468.key) 09:15:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:15:03 + git semver push 09:15:04 2023-04-13 09:15:04,042 [run_push] DEBUG push 09:15:04 2023-04-13 09:15:04,042 [execute] INFO git cat-file --batch-check 09:15:04 2023-04-13 09:15:04,043 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:15:04 2023-04-13 09:15:04,046 [execute] INFO git rev-list 50cb33161e64a84730196755c95cc35a8ef1d355 -- 09:15:04 2023-04-13 09:15:04,046 [execute] DEBUG Popen(['git', 'rev-list', '50cb33161e64a84730196755c95cc35a8ef1d355', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:15:04 2023-04-13 09:15:04,053 [execute] INFO git fetch -v origin 09:15:04 2023-04-13 09:15:04,053 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) 09:15:04 2023-04-13 09:15:04,539 [run_push] DEBUG no remote changes detected 09:15:04 2023-04-13 09:15:04,539 [execute] INFO git push origin semver 09:15:04 2023-04-13 09:15:04,540 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:15:05 2023-04-13 09:15:05,360 [run_push] DEBUG push all version tags 09:15:05 2023-04-13 09:15:05,360 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 09:15:05 2023-04-13 09:15:05,361 [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) 09:15:06 2023-04-13 09:15:06,087 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 09:15:06 3.0.0-dev.13 [Pipeline] } 09:15:06 $ docker exec --env ******** --env ******** e73a8bf499384dc79e9ccffa655d3f21236d1cdcf98d2b7c11eb1d314bd37d19 ssh-agent -k 09:15:06 unset SSH_AUTH_SOCK; 09:15:06 unset SSH_AGENT_PID; 09:15:06 echo Agent pid 39 killed; 09:15:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:15:06 + git semver [Pipeline] } 09:15:06 $ docker stop --time=1 e73a8bf499384dc79e9ccffa655d3f21236d1cdcf98d2b7c11eb1d314bd37d19 09:15:08 $ docker rm -f --volumes e73a8bf499384dc79e9ccffa655d3f21236d1cdcf98d2b7c11eb1d314bd37d19 [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 09:15:08 + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] 09:15:08 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 09:15:08 total 16 09:15:08 drwxr-xr-x 3 root root 4096 Apr 13 09:04 . 09:15:08 drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 09:14 .. 09:15:08 drwxr-xr-x 2 root root 4096 Apr 13 09:04 cost 09:15:08 -rw-r--r-- 1 root root 85 Apr 13 09:04 cost.csv 09:15:08 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives 09:15:08 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 09:15:08 total 16 09:15:08 drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 09:04 . 09:15:08 drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 09:14 .. 09:15:08 drwxr-xr-x 2 jenkins jenkins 4096 Apr 13 09:04 cost 09:15:08 -rw-r--r-- 1 jenkins jenkins 85 Apr 13 09:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:15:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:15:09 ---> package-listing.sh 09:15:09 ++ facter osfamily 09:15:09 ++ tr '[:upper:]' '[:lower:]' 09:15:10 + OS_FAMILY=debian 09:15:10 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 09:15:10 + START_PACKAGES=/tmp/packages_start.txt 09:15:10 + END_PACKAGES=/tmp/packages_end.txt 09:15:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:15:10 + PACKAGES=/tmp/packages_start.txt 09:15:10 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 09:15:10 + PACKAGES=/tmp/packages_end.txt 09:15:10 + case "${OS_FAMILY}" in 09:15:10 + grep '^ii' 09:15:10 + dpkg -l 09:15:10 + '[' -f /tmp/packages_start.txt ']' 09:15:10 + '[' -f /tmp/packages_end.txt ']' 09:15:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:15:10 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 09:15:10 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 09:15:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo 09:15:10 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 09:15:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:15:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:15:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:15:11 prd-ubuntu20.04-docker-8c-8g-8434 does not seem to be running inside a container 09:15:11 $ 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 09:15:11 $ docker top 37cdfd2f4d4efbf5d45f338c19ef00d06bc85c43d33552d4a90e8625fbf929bb -eo pid,comm [Pipeline] { [Pipeline] sh 09:15:11 + touch /tmp/pre-build-complete [Pipeline] sh 09:15:12 + mkdir -p /var/log/sysstat [Pipeline] sh 09:15:12 + ls /var/log/sa-host 09:15:12 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:15:12 provisioning config files... 09:15:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3970624864009782446tmp [Pipeline] { [Pipeline] echo 09:15:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:15:12 ---> create-netrc.sh [Pipeline] } 09:15:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:15:13 ---> python-tools-install.sh [Pipeline] echo 09:15:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:15:13 ---> sudo-logs.sh 09:15:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:15:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:15:13 ---> job-cost.sh 09:15:13 lf-activate-venv: SKIPPING 09:15:13 DEBUG: total: 0.2199999988079071 09:15:13 INFO: Retrieving Stack Cost... 09:15:14 INFO: Retrieving Pricing Info for: v3-standard-8 09:15:14 INFO: Archiving Costs [Pipeline] echo 09:15:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:15:15 ---> logs-deploy.sh 09:15:15 lf-activate-venv: SKIPPING 09:15:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/69 09:15:15 INFO: archiving workspace using pattern(s): 09:15:16 Archives upload complete. 09:15:16 INFO: archiving logs to Nexus