Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d33e94f3f1180f7604676314315f9cce542fcb85 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-ssh16344688444740132824.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2740084472405528075.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > 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-ssh12889967164784896414.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh8501779209513276661.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-ssh5988911298641168820.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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9323 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 d33e94f3f1180f7604676314315f9cce542fcb85 (main) Commit message: "Merge pull request #255 from lenny-intel/common-config" > 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 d33e94f3f1180f7604676314315f9cce542fcb85 # timeout=10 > git rev-list --no-walk 2bd6e5dae59222faf073cfb9822f90f2048c0bba # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:42:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:42:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:42:11 ========================================================= 02:42:11 EdgeX Global Pipelines Version Info 02:42:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:42:12 ------------------- 02:42:12 stable info: 02:42:12 ------------------- 02:42:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:42:12 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 02:42:12 Message: update stable to v1.0.244 02:42:12 ------------------- 02:42:12 experimental info: 02:42:12 ------------------- 02:42:12 Commited By: **** collab-it+edgex@linuxfoundation.org 02:42:12 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 02:42:12 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:42:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 02:42:12 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 02:42:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:42:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:42:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:42:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 02:42:12 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:42:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:42:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:42:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:42:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:42:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 02:42:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:42:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:42:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:42:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:42:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:42:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:42:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:42:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:42:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:42:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:42:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:42:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:42:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:42:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:42:13 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:42:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:42:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:42:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:42:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d33e94f3f1180f7604676314315f9cce542fcb85 [Pipeline] echo 02:42:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d33e94f [Pipeline] echo 02:42:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:42:13 provisioning config files... 02:42:13 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config15768428508260871426tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:42:13 ---> docker-login.sh 02:42:13 nexus3.edgexfoundry.org:10001 02:42:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:14 Configure a credential helper to remove this warning. See 02:42:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:14 02:42:14 Login Succeeded 02:42:14 nexus3.edgexfoundry.org:10002 02:42:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:14 Configure a credential helper to remove this warning. See 02:42:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:14 02:42:14 Login Succeeded 02:42:14 nexus3.edgexfoundry.org:10003 02:42:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:14 Configure a credential helper to remove this warning. See 02:42:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:14 02:42:14 Login Succeeded 02:42:14 nexus3.edgexfoundry.org:10004 02:42:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:14 Configure a credential helper to remove this warning. See 02:42:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:14 02:42:14 Login Succeeded 02:42:14 docker.io 02:42:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:14 Configure a credential helper to remove this warning. See 02:42:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:14 02:42:14 Login Succeeded 02:42:14 ---> docker-login.sh ends [Pipeline] } 02:42:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:42:15 + git rev-list -1 --merges d33e94f3f1180f7604676314315f9cce542fcb85~1..d33e94f3f1180f7604676314315f9cce542fcb85 [Pipeline] echo 02:42:15 -----------> git rev-list -1 --merges d33e94f3f1180f7604676314315f9cce542fcb85~1..d33e94f3f1180f7604676314315f9cce542fcb85 d33e94f3f1180f7604676314315f9cce542fcb85 02:42:15 d33e94f3f1180f7604676314315f9cce542fcb85 [false] [Pipeline] sh 02:42:15 + git log --format=format:%s -1 d33e94f3f1180f7604676314315f9cce542fcb85 [Pipeline] echo 02:42:15 ========================================================= 02:42:15 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:42:15 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:42:15 + git log --format=format:%s -1 d33e94f3f1180f7604676314315f9cce542fcb85 [Pipeline] echo 02:42:15 [semverPrep] GIT_COMMIT: d33e94f3f1180f7604676314315f9cce542fcb85, Commit Message: Merge pull request #255 from lenny-intel/common-config [Pipeline] echo 02:42:15 [semverPrep] This is not a build commit. [Pipeline] sh 02:42:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:42:16 + grep -v github /etc/ssh/ssh_known_hosts 02:42:16 + [ -e /tmp/ssh_known_hosts ] 02:42:16 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:42:16 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:42:16 + sudo tee -a /etc/ssh/ssh_known_hosts 02:42:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:42:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:42:16 02:42:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:42:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:42:16 0.1.4: Pulling from edgex-devops/py-git-semver 02:42:16 b85a868b505f: Pulling fs layer 02:42:16 e2be974225ed: Pulling fs layer 02:42:16 339a4e72a1f5: Pulling fs layer 02:42:16 988bab9f4d93: Pulling fs layer 02:42:16 1469e6f7b9e6: Pulling fs layer 02:42:16 eaf3925da568: Pulling fs layer 02:42:16 bab4dde63d76: Pulling fs layer 02:42:16 bde34c3a00c8: Pulling fs layer 02:42:16 b352a97aabf1: Pulling fs layer 02:42:16 4872d77fe225: Pulling fs layer 02:42:16 5851b861e8e6: Pulling fs layer 02:42:16 bab4dde63d76: Waiting 02:42:16 bde34c3a00c8: Waiting 02:42:16 b352a97aabf1: Waiting 02:42:16 4872d77fe225: Waiting 02:42:16 5851b861e8e6: Waiting 02:42:16 988bab9f4d93: Waiting 02:42:16 1469e6f7b9e6: Waiting 02:42:16 eaf3925da568: Waiting 02:42:16 e2be974225ed: Verifying Checksum 02:42:16 e2be974225ed: Download complete 02:42:16 988bab9f4d93: Download complete 02:42:17 1469e6f7b9e6: Verifying Checksum 02:42:17 1469e6f7b9e6: Download complete 02:42:17 eaf3925da568: Verifying Checksum 02:42:17 eaf3925da568: Download complete 02:42:17 339a4e72a1f5: Verifying Checksum 02:42:17 339a4e72a1f5: Download complete 02:42:17 bde34c3a00c8: Download complete 02:42:17 b352a97aabf1: Verifying Checksum 02:42:17 b352a97aabf1: Download complete 02:42:17 4872d77fe225: Verifying Checksum 02:42:17 4872d77fe225: Download complete 02:42:17 5851b861e8e6: Download complete 02:42:17 b85a868b505f: Verifying Checksum 02:42:17 b85a868b505f: Download complete 02:42:17 bab4dde63d76: Verifying Checksum 02:42:18 b85a868b505f: Pull complete 02:42:18 e2be974225ed: Pull complete 02:42:19 339a4e72a1f5: Pull complete 02:42:19 988bab9f4d93: Pull complete 02:42:19 1469e6f7b9e6: Pull complete 02:42:19 eaf3925da568: Pull complete 02:42:21 bab4dde63d76: Pull complete 02:42:22 bde34c3a00c8: Pull complete 02:42:22 b352a97aabf1: Pull complete 02:42:22 4872d77fe225: Pull complete 02:42:22 5851b861e8e6: Pull complete 02:42:22 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:42:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:42:22 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:42:22 prd-ubuntu20.04-docker-8c-8g-9323 does not seem to be running inside a container 02:42:22 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:42:24 $ docker top 0fe99dddd2607ab077ff14f415366cc22ecb8620afe20485bc51bdee2bddf92e -eo pid,comm 02:42:24 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:42:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:42:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:42:24 [ssh-agent] Looking for ssh-agent implementation... 02:42:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:42:24 $ docker exec 0fe99dddd2607ab077ff14f415366cc22ecb8620afe20485bc51bdee2bddf92e ssh-agent 02:42:24 SSH_AUTH_SOCK=/tmp/ssh-6lXO3LncbMtv/agent.32 02:42:24 SSH_AGENT_PID=38 02:42:24 Running ssh-add (command line suppressed) 02:42:25 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7084291466607949172.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7084291466607949172.key) 02:42:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:42:25 + git tag --points-at HEAD [Pipeline] } 02:42:25 $ docker exec --env ******** --env ******** 0fe99dddd2607ab077ff14f415366cc22ecb8620afe20485bc51bdee2bddf92e ssh-agent -k 02:42:25 unset SSH_AUTH_SOCK; 02:42:25 unset SSH_AGENT_PID; 02:42:25 echo Agent pid 38 killed; 02:42:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:42:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:42:25 [ssh-agent] Looking for ssh-agent implementation... 02:42:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:42:25 $ docker exec 0fe99dddd2607ab077ff14f415366cc22ecb8620afe20485bc51bdee2bddf92e ssh-agent 02:42:25 SSH_AUTH_SOCK=/tmp/ssh-GJ65s14DQOyV/agent.70 02:42:25 SSH_AGENT_PID=76 02:42:25 Running ssh-add (command line suppressed) 02:42:25 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_15755414576223892826.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_15755414576223892826.key) 02:42:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:42:26 + git semver init 02:42:26 2023-03-09 02:42:26,343 [run_init] DEBUG init version:0.0.0 force:False 02:42:26 2023-03-09 02:42:26,344 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver 02:42:26 2023-03-09 02:42:26,345 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver 02:42:26 2023-03-09 02:42:26,345 [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) 02:42:27 2023-03-09 02:42:27,126 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude 02:42:27 2023-03-09 02:42:27,126 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False 02:42:27 2023-03-09 02:42:27,126 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 02:42:27 2023-03-09 02:42:27,127 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 02:42:27 3.0.0-dev.6 [Pipeline] } 02:42:27 $ docker exec --env ******** --env ******** 0fe99dddd2607ab077ff14f415366cc22ecb8620afe20485bc51bdee2bddf92e ssh-agent -k 02:42:27 unset SSH_AUTH_SOCK; 02:42:27 unset SSH_AGENT_PID; 02:42:27 echo Agent pid 76 killed; 02:42:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:42:27 + git semver [Pipeline] } 02:42:28 $ docker stop --time=1 0fe99dddd2607ab077ff14f415366cc22ecb8620afe20485bc51bdee2bddf92e 02:42:29 $ docker rm -f --volumes 0fe99dddd2607ab077ff14f415366cc22ecb8620afe20485bc51bdee2bddf92e [Pipeline] // withDockerContainer [Pipeline] sh 02:42:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:42:29 Stashed 1 file(s) [Pipeline] echo 02:42:29 [edgeXSemver]: initialized semver on version 3.0.0-dev.6 [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 02:42:30 provisioning config files... 02:42:30 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3209131453348626188tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:42:30 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9265 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 02:42:30 Running in /w/workspace/device-snmp-go/62 [Pipeline] { [Pipeline] checkout 02:42:30 Selected Git installation does not exist. Using Default 02:42:30 The recommended git tool is: NONE 02:42:30 ---> docker-login.sh 02:42:30 nexus3.edgexfoundry.org:10001 02:42:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:30 Configure a credential helper to remove this warning. See 02:42:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:30 02:42:30 Login Succeeded 02:42:30 nexus3.edgexfoundry.org:10002 02:42:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:30 Configure a credential helper to remove this warning. See 02:42:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:30 02:42:30 Login Succeeded 02:42:30 nexus3.edgexfoundry.org:10003 02:42:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:30 Configure a credential helper to remove this warning. See 02:42:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:30 02:42:30 Login Succeeded 02:42:30 nexus3.edgexfoundry.org:10004 02:42:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:30 Configure a credential helper to remove this warning. See 02:42:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:30 02:42:30 Login Succeeded 02:42:30 docker.io 02:42:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:30 Configure a credential helper to remove this warning. See 02:42:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:30 02:42:30 Login Succeeded 02:42:30 ---> docker-login.sh ends [Pipeline] } 02:42:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:42:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:42:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:42:30 ========================================================= 02:42:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 02:42:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:42:31 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 02:42:31 Sending build context to Docker daemon 5.69MB 02:42:31 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 02:42:31 Step 2/12 : FROM ${BASE} AS builder 02:42:31 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 02:42:31 213ec9aee27d: Pulling fs layer 02:42:31 4583459ba037: Pulling fs layer 02:42:31 93c1e223e6f2: Pulling fs layer 02:42:31 53926ce57604: Pulling fs layer 02:42:31 21b2b0c7a3f4: Pulling fs layer 02:42:31 22ff95d597cd: Pulling fs layer 02:42:31 12d6caf4c0d1: Pulling fs layer 02:42:31 96b7cbca73a9: Pulling fs layer 02:42:31 a7acece74701: Pulling fs layer 02:42:31 22ff95d597cd: Waiting 02:42:31 12d6caf4c0d1: Waiting 02:42:31 96b7cbca73a9: Waiting 02:42:31 a7acece74701: Waiting 02:42:31 53926ce57604: Waiting 02:42:31 21b2b0c7a3f4: Waiting 02:42:31 4583459ba037: Verifying Checksum 02:42:31 4583459ba037: Download complete 02:42:31 21b2b0c7a3f4: Download complete 02:42:31 22ff95d597cd: Verifying Checksum 02:42:31 22ff95d597cd: Download complete 02:42:31 213ec9aee27d: Verifying Checksum 02:42:31 213ec9aee27d: Download complete 02:42:31 12d6caf4c0d1: Download complete 02:42:31 213ec9aee27d: Pull complete 02:42:31 4583459ba037: Pull complete 02:42:31 93c1e223e6f2: Pull complete 02:42:32 a7acece74701: Verifying Checksum 02:42:32 a7acece74701: Download complete 02:42:32 96b7cbca73a9: Verifying Checksum 02:42:32 96b7cbca73a9: Download complete 02:42:32 53926ce57604: Verifying Checksum 02:42:32 53926ce57604: Download complete 02:42:35 using credential edgex-jenkins-ssh 02:42:35 Cloning the remote Git repository 02:42:35 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 02:42:35 > git init /w/workspace/device-snmp-go/62 # timeout=10 02:42:36 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 02:42:36 > git --version # timeout=10 02:42:36 > git --version # 'git version 2.25.1' 02:42:36 using GIT_SSH to set credentials SSH Credentials for GitHub 02:42:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:42:36 53926ce57604: Pull complete 02:42:36 21b2b0c7a3f4: Pull complete 02:42:36 22ff95d597cd: Pull complete 02:42:36 12d6caf4c0d1: Pull complete 02:42:37 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 02:42:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:42:37 96b7cbca73a9: Pull complete 02:42:38 Avoid second fetch 02:42:38 Checking out Revision d33e94f3f1180f7604676314315f9cce542fcb85 (main) 02:42:38 a7acece74701: Pull complete 02:42:38 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 02:42:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 02:42:38 ---> db6d94c90886 02:42:38 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:42:38 > git config core.sparsecheckout # timeout=10 02:42:38 > git checkout -f d33e94f3f1180f7604676314315f9cce542fcb85 # timeout=10 02:42:39 Commit message: "Merge pull request #255 from lenny-intel/common-config" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:42:39 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:42:39 % Total % Received % Xferd Average Speed Time Time Time Current 02:42:39 Dload Upload Total Spent Left Speed 02:42:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89167 0 --:--:-- --:--:-- --:--:-- 89167 [Pipeline] sh 02:42:40 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:42:40 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 02:42:40 /etc/docker/daemon.new 02:42:40 { 02:42:40 "registry-mirrors": [ 02:42:40 "https://nexus3.edgexfoundry.org:10001" 02:42:40 ], 02:42:40 "bip": "10.250.0.254/24", 02:42:40 "hosts": [ 02:42:40 "tcp://0.0.0.0:5555", 02:42:40 "unix:///var/run/docker.sock" 02:42:40 ], 02:42:40 "mtu": 1458, 02:42:40 "selinux-enabled": true, 02:42:40 "seccomp-profile": "/etc/docker/seccomp.json" 02:42:40 } [Pipeline] sh 02:42:41 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:42:41 ---> Running in e370fd987f00 02:42:41 Removing intermediate container e370fd987f00 02:42:41 ---> 696a7fc76038 02:42:41 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:42:41 ---> Running in 3ba775cf5e47 02:42:41 Removing intermediate container 3ba775cf5e47 02:42:41 ---> 8599eaf21d6f 02:42:41 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:42:41 ---> Running in fa127ae8452f 02:42:41 Removing intermediate container fa127ae8452f 02:42:41 ---> 2869bac04aa2 02:42:41 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:42:41 ---> Running in 0602b857f0fc 02:42:41 + sudo service docker restart 02:42:41 Removing intermediate container 0602b857f0fc 02:42:41 ---> e40f363adfc1 02:42:41 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:42:41 ---> Running in ad9edf31021b 02:42:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:42:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:42:42 (1/4) Installing openssh-keygen (9.0_p1-r2) 02:42:42 (2/4) Installing libedit (20210910.3.1-r0) 02:42:42 (3/4) Installing openssh-client-common (9.0_p1-r2) 02:42:42 (4/4) Installing openssh-client-default (9.0_p1-r2) 02:42:42 Executing busybox-1.35.0-r17.trigger 02:42:42 OK: 216 MiB in 55 packages 02:42:42 Removing intermediate container ad9edf31021b 02:42:42 ---> b59e880c3748 02:42:42 Step 8/12 : WORKDIR /device-snmp-go 02:42:42 ---> Running in 9bae594c5c34 02:42:43 Removing intermediate container 9bae594c5c34 02:42:43 ---> ff0687bd4833 02:42:43 Step 9/12 : COPY go.mod vendor* ./ 02:42:43 ---> d5b3fb8a06d5 02:42:43 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:42:43 ---> Running in 931710c27d98 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:42:59 provisioning config files... 02:42:59 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/62@tmp/config222249759588225689tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:43:00 ---> docker-login.sh 02:43:00 nexus3.edgexfoundry.org:10001 02:43:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:00 Configure a credential helper to remove this warning. See 02:43:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:00 02:43:00 Login Succeeded 02:43:00 nexus3.edgexfoundry.org:10002 02:43:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:01 Configure a credential helper to remove this warning. See 02:43:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:01 02:43:01 Login Succeeded 02:43:01 nexus3.edgexfoundry.org:10003 02:43:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:01 Configure a credential helper to remove this warning. See 02:43:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:01 02:43:01 Login Succeeded 02:43:01 nexus3.edgexfoundry.org:10004 02:43:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:02 Configure a credential helper to remove this warning. See 02:43:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:02 02:43:02 Login Succeeded 02:43:02 docker.io 02:43:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:02 Configure a credential helper to remove this warning. See 02:43:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:02 02:43:02 Login Succeeded 02:43:02 ---> docker-login.sh ends [Pipeline] } 02:43:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:43:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:43:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:43:02 ========================================================= 02:43:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 02:43:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:43:03 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 02:43:03 Sending build context to Docker daemon 2.948MB 02:43:03 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 02:43:03 Step 2/12 : FROM ${BASE} AS builder 02:43:03 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:43:03 9b18e9b68314: Pulling fs layer 02:43:03 35d82f9e3411: Pulling fs layer 02:43:03 e16973657156: Pulling fs layer 02:43:03 fc693d55d65f: Pulling fs layer 02:43:03 7e9fc2657dce: Pulling fs layer 02:43:03 dda99020689f: Pulling fs layer 02:43:03 db1c61fa0a46: Pulling fs layer 02:43:03 891c053d2c06: Pulling fs layer 02:43:03 dda99020689f: Waiting 02:43:03 fc693d55d65f: Waiting 02:43:03 7e9fc2657dce: Waiting 02:43:03 db1c61fa0a46: Waiting 02:43:03 891c053d2c06: Waiting 02:43:03 e16973657156: Verifying Checksum 02:43:03 e16973657156: Download complete 02:43:03 35d82f9e3411: Download complete 02:43:03 7e9fc2657dce: Download complete 02:43:03 dda99020689f: Verifying Checksum 02:43:03 dda99020689f: Download complete 02:43:03 9b18e9b68314: Verifying Checksum 02:43:03 9b18e9b68314: Download complete 02:43:04 9b18e9b68314: Pull complete 02:43:04 891c053d2c06: Verifying Checksum 02:43:04 891c053d2c06: Download complete 02:43:05 35d82f9e3411: Pull complete 02:43:05 e16973657156: Pull complete 02:43:06 db1c61fa0a46: Verifying Checksum 02:43:06 db1c61fa0a46: Download complete 02:43:06 fc693d55d65f: Verifying Checksum 02:43:06 fc693d55d65f: Download complete 02:43:09 Removing intermediate container 931710c27d98 02:43:09 ---> 4473141359ca 02:43:09 Step 11/12 : COPY . . 02:43:09 ---> 477188647a23 02:43:09 Step 12/12 : RUN ${MAKE} 02:43:09 ---> Running in 00d55b441290 02:43:09 noop 02:43:10 Removing intermediate container 00d55b441290 02:43:10 ---> 96232506f052 02:43:10 Successfully built 96232506f052 02:43:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:43:10 + docker inspect -f . ci-base-image-x86_64 02:43:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:43:10 prd-ubuntu20.04-docker-8c-8g-9323 does not seem to be running inside a container 02:43:10 $ 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 ******** ci-base-image-x86_64 cat 02:43:10 $ docker top 1d2aeb9949be6aedf6bf4a1b318d1aa42023a395fe31591b62354801526f118e -eo pid,comm [Pipeline] { [Pipeline] sh 02:43:11 + go version 02:43:11 go version go1.18.7 linux/amd64 [Pipeline] } 02:43:11 $ docker stop --time=1 1d2aeb9949be6aedf6bf4a1b318d1aa42023a395fe31591b62354801526f118e 02:43:12 $ docker rm -f --volumes 1d2aeb9949be6aedf6bf4a1b318d1aa42023a395fe31591b62354801526f118e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:43:12 + docker inspect -f . ci-base-image-x86_64 02:43:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:43:13 prd-ubuntu20.04-docker-8c-8g-9323 does not seem to be running inside a container 02:43:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:43:13 $ docker top 0205f0d54911015e29fa5e7a5203655a0641227a73665af75f3cdce8f322b60e -eo pid,comm [Pipeline] { [Pipeline] sh 02:43:13 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh 02:43:14 + make test 02:43:14 go test ./... -coverprofile=coverage.out 02:43:14 ? github.com/edgexfoundry/device-snmp-go [no test files] 02:43:19 fc693d55d65f: Pull complete 02:43:19 7e9fc2657dce: Pull complete 02:43:19 dda99020689f: Pull complete 02:43:22 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 02:43:22 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.015s coverage: 0.0% of statements 02:43:25 db1c61fa0a46: Pull complete 02:43:27 891c053d2c06: Pull complete 02:43:27 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 02:43:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 02:43:27 ---> f96f9c87975a 02:43:27 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:43:29 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 02:43:29 go vet ./... 02:43:29 ---> Running in 6c0b3ffce352 02:43:29 Removing intermediate container 6c0b3ffce352 02:43:29 ---> 1becf5079464 02:43:29 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:43:29 ---> Running in 172cb86ef7d2 02:43:29 Removing intermediate container 172cb86ef7d2 02:43:29 ---> 4bf12737299b 02:43:29 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:43:30 ---> Running in 5a7cfd74d97d 02:43:30 Removing intermediate container 5a7cfd74d97d 02:43:30 ---> 9452cc4dc67f 02:43:30 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:43:30 ---> Running in dc00c2095f4a 02:43:30 Removing intermediate container dc00c2095f4a 02:43:30 ---> f1e804d3053f 02:43:30 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:43:30 ---> Running in 610f2ea09e50 02:43:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:43:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:43:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:43:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:43:32 ./bin/test-attribution-txt.sh 02:43:32 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 02:43:32 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 02:43:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:43:32 $ docker stop --time=1 0205f0d54911015e29fa5e7a5203655a0641227a73665af75f3cdce8f322b60e 02:43:33 (1/4) Installing openssh-keygen (9.0_p1-r2) 02:43:33 (2/4) Installing libedit (20210910.3.1-r0) 02:43:33 (3/4) Installing openssh-client-common (9.0_p1-r2) 02:43:33 (4/4) Installing openssh-client-default (9.0_p1-r2) 02:43:33 Executing busybox-1.35.0-r17.trigger 02:43:33 OK: 226 MiB in 55 packages 02:43:34 Removing intermediate container 610f2ea09e50 02:43:34 ---> 46a551127120 02:43:34 Step 8/12 : WORKDIR /device-snmp-go 02:43:34 $ docker rm -f --volumes 0205f0d54911015e29fa5e7a5203655a0641227a73665af75f3cdce8f322b60e [Pipeline] // withDockerContainer [Pipeline] sh 02:43:34 ---> Running in a3e0419dff81 02:43:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:43:34 Removing intermediate container a3e0419dff81 02:43:34 ---> 0597576cd685 02:43:34 Step 9/12 : COPY go.mod vendor* ./ 02:43:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:43:35 ---> a6bdd1205c0a 02:43:35 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:43:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:43:35 ---> Running in 2c3555fec89c 02:43:35 + ls -al . 02:43:35 total 172 02:43:35 drwxrwxr-x 9 jenkins jenkins 4096 Mar 9 02:43 . 02:43:35 drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 02:42 .. 02:43:35 -rw-rw-r-- 1 jenkins jenkins 6 Mar 9 02:42 .dockerignore 02:43:35 drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 02:43 .git 02:43:35 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 02:42 .github 02:43:35 -rw-rw-r-- 1 jenkins jenkins 328 Mar 9 02:42 .gitignore 02:43:35 -rw-rw-r-- 1 jenkins jenkins 41 Mar 9 02:42 .golangci.yml 02:43:35 drwxr-xr-x 3 jenkins jenkins 4096 Mar 9 02:42 .semver 02:43:35 -rw-rw-r-- 1 jenkins jenkins 8828 Mar 9 02:42 Attribution.txt 02:43:35 -rw-rw-r-- 1 jenkins jenkins 8355 Mar 9 02:42 CHANGELOG.md 02:43:35 -rw-rw-r-- 1 jenkins jenkins 1423 Mar 9 02:42 Dockerfile 02:43:35 -rw-rw-r-- 1 jenkins jenkins 677 Mar 9 02:42 GOVERNANCE.md 02:43:35 -rw-rw-r-- 1 jenkins jenkins 656 Mar 9 02:42 Jenkinsfile 02:43:35 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 9 02:42 LICENSE 02:43:35 -rw-rw-r-- 1 jenkins jenkins 2079 Mar 9 02:42 Makefile 02:43:35 -rw-rw-r-- 1 jenkins jenkins 620 Mar 9 02:42 OWNERS.md 02:43:35 -rw-rw-r-- 1 jenkins jenkins 10054 Mar 9 02:42 README.md 02:43:35 -rw-rw-r-- 1 jenkins jenkins 11 Mar 9 02:42 VERSION 02:43:35 drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 02:42 bin 02:43:35 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 02:42 cmd 02:43:35 -rw-r--r-- 1 jenkins jenkins 7631 Mar 9 02:43 coverage.out 02:43:35 -rw-rw-r-- 1 jenkins jenkins 3326 Mar 9 02:42 go.mod 02:43:35 -rw-rw-r-- 1 jenkins jenkins 32920 Mar 9 02:42 go.sum 02:43:35 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 02:42 internal 02:43:35 drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 02:42 snap 02:43:35 -rw-rw-r-- 1 jenkins jenkins 228 Mar 9 02:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:43:35 + 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=d33e94f3f1180f7604676314315f9cce542fcb85 --label arch=amd64 --label version=3.0.0-dev.6 . 02:43:35 Sending build context to Docker daemon 5.699MB 02:43:35 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 02:43:35 Step 2/24 : FROM ${BASE} AS builder 02:43:35 ---> 96232506f052 02:43:35 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:43:35 ---> Running in cac79ec82d51 02:43:36 Removing intermediate container cac79ec82d51 02:43:36 ---> 58fa0f181ca2 02:43:36 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:43:36 ---> Running in e8fc58e203bf 02:43:36 Removing intermediate container e8fc58e203bf 02:43:36 ---> 07ec4491bf10 02:43:36 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:43:36 ---> Running in 9526b77566e8 02:43:36 Removing intermediate container 9526b77566e8 02:43:36 ---> 8580b5160f6f 02:43:36 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:43:36 ---> Running in e24d809d5ece 02:43:36 Removing intermediate container e24d809d5ece 02:43:36 ---> 3ce5502425a9 02:43:36 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:43:36 ---> Running in f341723bd22c 02:43:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:43:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:43:37 OK: 216 MiB in 55 packages 02:43:37 Removing intermediate container f341723bd22c 02:43:37 ---> cbd188810c4e 02:43:37 Step 8/24 : WORKDIR /device-snmp-go 02:43:37 ---> Running in 9a081abadf6d 02:43:37 Removing intermediate container 9a081abadf6d 02:43:37 ---> fcc02d61e102 02:43:37 Step 9/24 : COPY go.mod vendor* ./ 02:43:37 ---> 666726f3001e 02:43:37 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:43:37 ---> Running in 6760c59979b6 02:43:38 Removing intermediate container 6760c59979b6 02:43:38 ---> de5df376cf76 02:43:38 Step 11/24 : COPY . . 02:43:39 ---> e19c6fa085cb 02:43:39 Step 12/24 : RUN ${MAKE} 02:43:39 ---> Running in 0f838216f8e9 02:43:39 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.6" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 02:43:57 Removing intermediate container 0f838216f8e9 02:43:57 ---> 7fd5f65df37b 02:43:57 Step 13/24 : FROM alpine:3.16 02:43:57 3.16: Pulling from library/alpine 02:43:57 ef5531b6e74e: Pulling fs layer 02:43:58 ef5531b6e74e: Verifying Checksum 02:43:58 ef5531b6e74e: Download complete 02:43:58 ef5531b6e74e: Pull complete 02:43:58 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 02:43:58 Status: Downloaded newer image for alpine:3.16 02:43:58 ---> dfd21b5a31f5 02:43:58 Step 14/24 : RUN apk add --update --no-cache dumb-init 02:43:58 ---> Running in 925dc6c73ecd 02:43:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:43:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:43:59 (1/1) Installing dumb-init (1.2.5-r1) 02:43:59 Executing busybox-1.35.0-r17.trigger 02:43:59 OK: 6 MiB in 15 packages 02:43:59 Removing intermediate container 925dc6c73ecd 02:43:59 ---> 71da46874d82 02:43:59 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 02:44:00 ---> 19a44eacf085 02:44:00 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 02:44:00 ---> 61f78ca1ed11 02:44:00 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 02:44:00 ---> 0961fcf4e73e 02:44:00 Step 18/24 : EXPOSE 59993 02:44:00 ---> Running in a8ca2849190d 02:44:00 Removing intermediate container a8ca2849190d 02:44:00 ---> fc39c9f8ee63 02:44:00 Step 19/24 : EXPOSE 161 02:44:00 ---> Running in 4049391dd343 02:44:00 Removing intermediate container 4049391dd343 02:44:00 ---> b0541cc8ecef 02:44:00 Step 20/24 : ENTRYPOINT ["/device-snmp"] 02:44:00 ---> Running in cf3c4102099f 02:44:00 Removing intermediate container cf3c4102099f 02:44:00 ---> b34f1b4aebc5 02:44:00 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 02:44:00 ---> Running in e3eb5a6d1f65 02:44:00 Removing intermediate container e3eb5a6d1f65 02:44:00 ---> f1399568cb91 02:44:00 Step 22/24 : LABEL arch=amd64 02:44:00 ---> Running in de0d3bae36ed 02:44:00 Removing intermediate container de0d3bae36ed 02:44:00 ---> 10cc2df568e7 02:44:00 Step 23/24 : LABEL git_sha=d33e94f3f1180f7604676314315f9cce542fcb85 02:44:01 ---> Running in 44f156432641 02:44:01 Removing intermediate container 44f156432641 02:44:01 ---> 79065189e091 02:44:01 Step 24/24 : LABEL version=3.0.0-dev.6 02:44:01 ---> Running in 0cc1384f9717 02:44:01 Removing intermediate container 0cc1384f9717 02:44:01 ---> 4febc79e5cdf 02:44:01 [Warning] One or more build-args [ARCH] were not consumed 02:44:01 Successfully built 4febc79e5cdf 02:44:01 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:44:01 provisioning config files... 02:44:01 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config18219635369897035002tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:44:01 ---> docker-login.sh 02:44:01 nexus3.edgexfoundry.org:10001 02:44:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:01 Configure a credential helper to remove this warning. See 02:44:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:01 02:44:01 Login Succeeded 02:44:01 nexus3.edgexfoundry.org:10002 02:44:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:01 Configure a credential helper to remove this warning. See 02:44:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:01 02:44:01 Login Succeeded 02:44:01 nexus3.edgexfoundry.org:10003 02:44:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:01 Configure a credential helper to remove this warning. See 02:44:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:01 02:44:01 Login Succeeded 02:44:01 nexus3.edgexfoundry.org:10004 02:44:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:01 Configure a credential helper to remove this warning. See 02:44:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:01 02:44:01 Login Succeeded 02:44:01 docker.io 02:44:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:02 Configure a credential helper to remove this warning. See 02:44:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:02 02:44:02 Login Succeeded 02:44:02 ---> docker-login.sh ends [Pipeline] } 02:44:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:44:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:44:02 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 02:44:02 d33e94f3f1180f7604676314315f9cce542fcb85 02:44:02 latest 02:44:02 3.0.0-dev.6 02:44:02 d33e94f3f1180f7604676314315f9cce542fcb85-3.0.0-dev.6 02:44:02 main 02:44:02 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:02 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:d33e94f3f1180f7604676314315f9cce542fcb85 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:02 + docker push nexus3.edgexfoundry.org:10004/device-snmp:d33e94f3f1180f7604676314315f9cce542fcb85 02:44:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 02:44:02 b2c18b3da092: Preparing 02:44:02 7b9c5b4e5c4b: Preparing 02:44:02 07befd7d69a2: Preparing 02:44:02 8cec00ccfb79: Preparing 02:44:02 aa5968d388b8: Preparing 02:44:02 aa5968d388b8: Layer already exists 02:44:02 7b9c5b4e5c4b: Pushed 02:44:02 8cec00ccfb79: Pushed 02:44:02 b2c18b3da092: Pushed 02:44:05 07befd7d69a2: Pushed 02:44:05 d33e94f3f1180f7604676314315f9cce542fcb85: digest: sha256:2c0c6eaa76369e4f38c79c0278b7fa591ad44502d1ed9e80d6ed5b87e0b7454a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:05 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:05 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 02:44:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 02:44:05 b2c18b3da092: Preparing 02:44:05 7b9c5b4e5c4b: Preparing 02:44:05 07befd7d69a2: Preparing 02:44:05 8cec00ccfb79: Preparing 02:44:05 aa5968d388b8: Preparing 02:44:05 aa5968d388b8: Layer already exists 02:44:05 07befd7d69a2: Layer already exists 02:44:05 8cec00ccfb79: Layer already exists 02:44:05 7b9c5b4e5c4b: Layer already exists 02:44:05 b2c18b3da092: Layer already exists 02:44:05 latest: digest: sha256:2c0c6eaa76369e4f38c79c0278b7fa591ad44502d1ed9e80d6ed5b87e0b7454a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:06 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:06 + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.6 02:44:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 02:44:06 b2c18b3da092: Preparing 02:44:06 7b9c5b4e5c4b: Preparing 02:44:06 07befd7d69a2: Preparing 02:44:06 8cec00ccfb79: Preparing 02:44:06 aa5968d388b8: Preparing 02:44:06 aa5968d388b8: Layer already exists 02:44:06 7b9c5b4e5c4b: Layer already exists 02:44:06 8cec00ccfb79: Layer already exists 02:44:06 07befd7d69a2: Layer already exists 02:44:06 b2c18b3da092: Layer already exists 02:44:06 3.0.0-dev.6: digest: sha256:2c0c6eaa76369e4f38c79c0278b7fa591ad44502d1ed9e80d6ed5b87e0b7454a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:06 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:d33e94f3f1180f7604676314315f9cce542fcb85-3.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:07 + docker push nexus3.edgexfoundry.org:10004/device-snmp:d33e94f3f1180f7604676314315f9cce542fcb85-3.0.0-dev.6 02:44:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 02:44:07 b2c18b3da092: Preparing 02:44:07 7b9c5b4e5c4b: Preparing 02:44:07 07befd7d69a2: Preparing 02:44:07 8cec00ccfb79: Preparing 02:44:07 aa5968d388b8: Preparing 02:44:07 aa5968d388b8: Layer already exists 02:44:07 7b9c5b4e5c4b: Layer already exists 02:44:07 b2c18b3da092: Layer already exists 02:44:07 8cec00ccfb79: Layer already exists 02:44:07 07befd7d69a2: Layer already exists 02:44:07 d33e94f3f1180f7604676314315f9cce542fcb85-3.0.0-dev.6: digest: sha256:2c0c6eaa76369e4f38c79c0278b7fa591ad44502d1ed9e80d6ed5b87e0b7454a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:07 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:07 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 02:44:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 02:44:07 b2c18b3da092: Preparing 02:44:07 7b9c5b4e5c4b: Preparing 02:44:07 07befd7d69a2: Preparing 02:44:07 8cec00ccfb79: Preparing 02:44:07 aa5968d388b8: Preparing 02:44:07 aa5968d388b8: Layer already exists 02:44:07 07befd7d69a2: Layer already exists 02:44:07 8cec00ccfb79: Layer already exists 02:44:07 b2c18b3da092: Layer already exists 02:44:07 7b9c5b4e5c4b: Layer already exists 02:44:07 main: digest: sha256:2c0c6eaa76369e4f38c79c0278b7fa591ad44502d1ed9e80d6ed5b87e0b7454a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:44:07 ===================================================== [Pipeline] echo 02:44:07 taggedImages: 02:44:07 - nexus3.edgexfoundry.org:10004/device-snmp:d33e94f3f1180f7604676314315f9cce542fcb85 02:44:07 - nexus3.edgexfoundry.org:10004/device-snmp:latest 02:44:07 - nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.6 02:44:07 - nexus3.edgexfoundry.org:10004/device-snmp:d33e94f3f1180f7604676314315f9cce542fcb85-3.0.0-dev.6 02:44:07 - 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 02:44:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:44:08 02:44:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:44:08 latest: Pulling from edgex-lftools-log-publisher 02:44:08 5eb5b503b376: Pulling fs layer 02:44:08 5c69ac0246d0: Pulling fs layer 02:44:08 ec43610c2a17: Pulling fs layer 02:44:08 3a2ae6a8a46f: Pulling fs layer 02:44:08 33b1e0a273af: Pulling fs layer 02:44:08 5d3b04190fa2: Pulling fs layer 02:44:08 2f39f015ded8: Pulling fs layer 02:44:08 3a2ae6a8a46f: Waiting 02:44:08 33b1e0a273af: Waiting 02:44:08 5d3b04190fa2: Waiting 02:44:08 5c69ac0246d0: Download complete 02:44:08 3a2ae6a8a46f: Verifying Checksum 02:44:08 3a2ae6a8a46f: Download complete 02:44:08 33b1e0a273af: Verifying Checksum 02:44:08 33b1e0a273af: Download complete 02:44:08 5d3b04190fa2: Verifying Checksum 02:44:08 5d3b04190fa2: Download complete 02:44:08 ec43610c2a17: Verifying Checksum 02:44:08 ec43610c2a17: Download complete 02:44:09 5eb5b503b376: Verifying Checksum 02:44:09 5eb5b503b376: Download complete 02:44:09 2f39f015ded8: Download complete 02:44:09 5eb5b503b376: Pull complete 02:44:10 5c69ac0246d0: Pull complete 02:44:10 ec43610c2a17: Pull complete 02:44:10 3a2ae6a8a46f: Pull complete 02:44:10 33b1e0a273af: Pull complete 02:44:10 5d3b04190fa2: Pull complete 02:44:15 2f39f015ded8: Pull complete 02:44:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:44:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:44:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:44:15 prd-ubuntu20.04-docker-8c-8g-9323 does not seem to be running inside a container 02:44:15 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:44:17 $ docker top 877c094ec89ce346c708de69bb689b760ffa2635f3c59d8f49c69626c3837ac6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:44:17 ---> job-cost.sh 02:44:17 lf-activate-venv: SKIPPING 02:44:17 INFO: No Stack... 02:44:17 INFO: Retrieving Pricing Info for: v3-standard-8 02:44:18 INFO: Archiving Costs [Pipeline] sh 02:44:18 + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv 02:44:18 + cut -d, -f6 [Pipeline] lock 02:44:18 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-62-stack-cost] 02:44:18 Resource [jenkins-edgexfoundry-device-snmp-go-main-62-stack-cost] did not exist. Created. 02:44:18 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-62-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:44:18 + echo total: 0.2199999988079071 [Pipeline] stash 02:44:18 Stashed 1 file(s) [Pipeline] } 02:44:18 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-62-stack-cost] [Pipeline] // lock [Pipeline] } 02:44:18 $ docker stop --time=1 877c094ec89ce346c708de69bb689b760ffa2635f3c59d8f49c69626c3837ac6 02:44:20 $ docker rm -f --volumes 877c094ec89ce346c708de69bb689b760ffa2635f3c59d8f49c69626c3837ac6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:44:43 Removing intermediate container 2c3555fec89c 02:44:43 ---> d25da6960db8 02:44:43 Step 11/12 : COPY . . 02:44:43 ---> e03ee9614f0f 02:44:43 Step 12/12 : RUN ${MAKE} 02:44:43 ---> Running in 9e5948165261 02:44:43 noop 02:44:43 Removing intermediate container 9e5948165261 02:44:43 ---> 4c24f5dd6717 02:44:43 Successfully built 4c24f5dd6717 02:44:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:43 + docker inspect -f . ci-base-image-arm64 02:44:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:44:43 prd-ubuntu20.04-docker-arm64-4c-16g-9265 does not seem to be running inside a container 02:44:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/62 -v /w/workspace/device-snmp-go/62:/w/workspace/device-snmp-go/62:rw,z -v /w/workspace/device-snmp-go/62@tmp:/w/workspace/device-snmp-go/62@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 ******** ci-base-image-arm64 cat 02:44:46 $ docker top 91d7cf19839c82e932b11b869e5da532b8b2ddac80693812c21940e2f2e5ec48 -eo pid,comm [Pipeline] { [Pipeline] sh 02:44:47 + go version 02:44:47 go version go1.18.7 linux/arm64 [Pipeline] } 02:44:47 $ docker stop --time=1 91d7cf19839c82e932b11b869e5da532b8b2ddac80693812c21940e2f2e5ec48 02:44:48 $ docker rm -f --volumes 91d7cf19839c82e932b11b869e5da532b8b2ddac80693812c21940e2f2e5ec48 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:49 + docker inspect -f . ci-base-image-arm64 02:44:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:44:49 prd-ubuntu20.04-docker-arm64-4c-16g-9265 does not seem to be running inside a container 02:44:49 $ 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/62 -v /w/workspace/device-snmp-go/62:/w/workspace/device-snmp-go/62:rw,z -v /w/workspace/device-snmp-go/62@tmp:/w/workspace/device-snmp-go/62@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 ******** ci-base-image-arm64 cat 02:44:50 $ docker top e3eaf687309896034a1105e9c47299ba4a8cfefdeb6294a2a1f10ff3c93710c3 -eo pid,comm [Pipeline] { [Pipeline] sh 02:44:51 + git config --global --add safe.directory /w/workspace/device-snmp-go/62 [Pipeline] fileExists [Pipeline] sh 02:44:52 + make test 02:44:52 go test ./... -coverprofile=coverage.out 02:44:54 ? github.com/edgexfoundry/device-snmp-go [no test files] 02:46:15 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 02:46:15 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.061s coverage: 0.0% of statements 02:46:15 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:46:15 go vet ./... 02:46:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:46:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:46:34 ./bin/test-attribution-txt.sh 02:46:34 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 02:46:34 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 02:46:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:46:34 $ docker stop --time=1 e3eaf687309896034a1105e9c47299ba4a8cfefdeb6294a2a1f10ff3c93710c3 02:46:35 $ docker rm -f --volumes e3eaf687309896034a1105e9c47299ba4a8cfefdeb6294a2a1f10ff3c93710c3 [Pipeline] // withDockerContainer [Pipeline] sh 02:46:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:46:36 Warning: overwriting stash ‘coverage-report’ 02:46:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:46:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:46:37 + ls -al . 02:46:37 total 168 02:46:37 drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 02:44 . 02:46:37 drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 02:42 .. 02:46:37 -rw-rw-r-- 1 jenkins jenkins 6 Mar 9 02:42 .dockerignore 02:46:37 drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 02:42 .git 02:46:37 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 02:42 .github 02:46:37 -rw-rw-r-- 1 jenkins jenkins 328 Mar 9 02:42 .gitignore 02:46:37 -rw-rw-r-- 1 jenkins jenkins 41 Mar 9 02:42 .golangci.yml 02:46:37 -rw-rw-r-- 1 jenkins jenkins 8828 Mar 9 02:42 Attribution.txt 02:46:37 -rw-rw-r-- 1 jenkins jenkins 8355 Mar 9 02:42 CHANGELOG.md 02:46:37 -rw-rw-r-- 1 jenkins jenkins 1423 Mar 9 02:42 Dockerfile 02:46:37 -rw-rw-r-- 1 jenkins jenkins 677 Mar 9 02:42 GOVERNANCE.md 02:46:37 -rw-rw-r-- 1 jenkins jenkins 656 Mar 9 02:42 Jenkinsfile 02:46:37 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 9 02:42 LICENSE 02:46:37 -rw-rw-r-- 1 jenkins jenkins 2079 Mar 9 02:42 Makefile 02:46:37 -rw-rw-r-- 1 jenkins jenkins 620 Mar 9 02:42 OWNERS.md 02:46:37 -rw-rw-r-- 1 jenkins jenkins 10054 Mar 9 02:42 README.md 02:46:37 -rw-rw-r-- 1 jenkins jenkins 11 Mar 9 02:42 VERSION 02:46:37 drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 02:42 bin 02:46:37 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 02:42 cmd 02:46:37 -rw-r--r-- 1 jenkins jenkins 7631 Mar 9 02:46 coverage.out 02:46:37 -rw-rw-r-- 1 jenkins jenkins 3326 Mar 9 02:42 go.mod 02:46:37 -rw-rw-r-- 1 jenkins jenkins 32920 Mar 9 02:42 go.sum 02:46:37 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 02:42 internal 02:46:37 drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 02:42 snap 02:46:37 -rw-rw-r-- 1 jenkins jenkins 228 Mar 9 02:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:46:38 + 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=d33e94f3f1180f7604676314315f9cce542fcb85 --label arch=arm64 --label version=3.0.0-dev.6 . 02:46:38 Sending build context to Docker daemon 2.956MB 02:46:38 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 02:46:38 Step 2/24 : FROM ${BASE} AS builder 02:46:38 ---> 4c24f5dd6717 02:46:38 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:46:38 ---> Running in aad50cc69024 02:46:39 Removing intermediate container aad50cc69024 02:46:39 ---> 81bdbcc4bada 02:46:39 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:46:39 ---> Running in d7c4f30dc166 02:46:39 Removing intermediate container d7c4f30dc166 02:46:39 ---> ce9aca1535c7 02:46:39 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:46:39 ---> Running in 4c7673b7fc4a 02:46:39 Removing intermediate container 4c7673b7fc4a 02:46:39 ---> cb4642a85370 02:46:39 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:46:39 ---> Running in 17b146dac37d 02:46:40 Removing intermediate container 17b146dac37d 02:46:40 ---> 19350b00f90a 02:46:40 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:46:40 ---> Running in 5991de2224da 02:46:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:46:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:46:42 OK: 226 MiB in 55 packages 02:46:43 Removing intermediate container 5991de2224da 02:46:43 ---> cdf122ec9780 02:46:43 Step 8/24 : WORKDIR /device-snmp-go 02:46:43 ---> Running in 1b97a3d20498 02:46:43 Removing intermediate container 1b97a3d20498 02:46:43 ---> ac9f5e772d3c 02:46:43 Step 9/24 : COPY go.mod vendor* ./ 02:46:44 ---> 4dfd2c33e78c 02:46:44 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:46:44 ---> Running in d9f8e8219463 02:46:48 Removing intermediate container d9f8e8219463 02:46:48 ---> 0c02f4c8db24 02:46:48 Step 11/24 : COPY . . 02:46:48 ---> bbcf456ab11c 02:46:48 Step 12/24 : RUN ${MAKE} 02:46:48 ---> Running in f05183aec4d4 02:46:49 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.6" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 02:48:56 Removing intermediate container f05183aec4d4 02:48:56 ---> 8d53efd2bc5a 02:48:56 Step 13/24 : FROM alpine:3.16 02:48:56 3.16: Pulling from library/alpine 02:48:56 3760b48202b3: Pulling fs layer 02:48:56 3760b48202b3: Verifying Checksum 02:48:56 3760b48202b3: Download complete 02:48:56 3760b48202b3: Pull complete 02:48:56 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 02:48:56 Status: Downloaded newer image for alpine:3.16 02:48:56 ---> 4c81e5bf8899 02:48:56 Step 14/24 : RUN apk add --update --no-cache dumb-init 02:48:56 ---> Running in 725b4482402a 02:48:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:48:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:48:56 (1/1) Installing dumb-init (1.2.5-r1) 02:48:56 Executing busybox-1.35.0-r17.trigger 02:48:56 OK: 5 MiB in 15 packages 02:48:56 Removing intermediate container 725b4482402a 02:48:56 ---> 536a951bc70e 02:48:56 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 02:48:56 ---> 408800fe3132 02:48:56 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 02:48:56 ---> 0b5fbb2aa5d4 02:48:56 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 02:48:56 ---> 9c8e14f8e4b5 02:48:56 Step 18/24 : EXPOSE 59993 02:48:56 ---> Running in 63d902ade9bc 02:48:56 Removing intermediate container 63d902ade9bc 02:48:56 ---> c204a49b16d5 02:48:56 Step 19/24 : EXPOSE 161 02:48:56 ---> Running in 47a8448475e0 02:48:56 Removing intermediate container 47a8448475e0 02:48:56 ---> 76a62ccba88c 02:48:56 Step 20/24 : ENTRYPOINT ["/device-snmp"] 02:48:56 ---> Running in f03c2c08f663 02:48:56 Removing intermediate container f03c2c08f663 02:48:56 ---> 7152bee27a6e 02:48:56 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 02:48:56 ---> Running in 1680c7713c60 02:48:57 Removing intermediate container 1680c7713c60 02:48:57 ---> f157fd8767e9 02:48:57 Step 22/24 : LABEL arch=arm64 02:48:57 ---> Running in 7fe982e814db 02:48:57 Removing intermediate container 7fe982e814db 02:48:57 ---> 4126a166d7ef 02:48:57 Step 23/24 : LABEL git_sha=d33e94f3f1180f7604676314315f9cce542fcb85 02:48:57 ---> Running in fad0d606babe 02:48:57 Removing intermediate container fad0d606babe 02:48:57 ---> abf390c005b0 02:48:57 Step 24/24 : LABEL version=3.0.0-dev.6 02:48:58 ---> Running in 4299ed34644e 02:48:58 Removing intermediate container 4299ed34644e 02:48:58 ---> 0fb5e6b5512a 02:48:58 [Warning] One or more build-args [ARCH] were not consumed 02:48:58 Successfully built 0fb5e6b5512a 02:48:58 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 02:48:58 provisioning config files... 02:48:58 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/62@tmp/config2457298379329300484tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:48:58 ---> docker-login.sh 02:48:58 nexus3.edgexfoundry.org:10001 02:48:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:48:59 Configure a credential helper to remove this warning. See 02:48:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:48:59 02:48:59 Login Succeeded 02:48:59 nexus3.edgexfoundry.org:10002 02:48:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:48:59 Configure a credential helper to remove this warning. See 02:48:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:48:59 02:48:59 Login Succeeded 02:48:59 nexus3.edgexfoundry.org:10003 02:48:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:48:59 Configure a credential helper to remove this warning. See 02:48:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:48:59 02:48:59 Login Succeeded 02:48:59 nexus3.edgexfoundry.org:10004 02:49:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:49:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:49:00 Configure a credential helper to remove this warning. See 02:49:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:49:00 02:49:00 Login Succeeded 02:49:00 docker.io 02:49:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:49:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:49:00 Configure a credential helper to remove this warning. See 02:49:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:49:00 02:49:00 Login Succeeded 02:49:00 ---> docker-login.sh ends [Pipeline] } 02:49:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:49:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:49:00 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 02:49:00 d33e94f3f1180f7604676314315f9cce542fcb85 02:49:00 latest 02:49:00 3.0.0-dev.6 02:49:00 d33e94f3f1180f7604676314315f9cce542fcb85-3.0.0-dev.6 02:49:00 main 02:49:00 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:49:01 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:d33e94f3f1180f7604676314315f9cce542fcb85 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:49:01 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:d33e94f3f1180f7604676314315f9cce542fcb85 02:49:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 02:49:01 ab87e4810a56: Preparing 02:49:01 b8d01e970e1e: Preparing 02:49:01 4bf0bce9955b: Preparing 02:49:01 501edb56e611: Preparing 02:49:01 f70ee36035b9: Preparing 02:49:01 ab87e4810a56: Pushed 02:49:01 b8d01e970e1e: Pushed 02:49:01 501edb56e611: Pushed 02:49:05 f70ee36035b9: Layer already exists 02:49:07 4bf0bce9955b: Pushed 02:49:07 d33e94f3f1180f7604676314315f9cce542fcb85: digest: sha256:d79007f6ece1f01666a828ccbaa4628182d78f20f35e24abedc62d5aa6e8bb1a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:49:07 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:49:07 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 02:49:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 02:49:07 ab87e4810a56: Preparing 02:49:07 b8d01e970e1e: Preparing 02:49:07 4bf0bce9955b: Preparing 02:49:07 501edb56e611: Preparing 02:49:07 f70ee36035b9: Preparing 02:49:07 f70ee36035b9: Layer already exists 02:49:07 4bf0bce9955b: Layer already exists 02:49:07 ab87e4810a56: Layer already exists 02:49:07 501edb56e611: Layer already exists 02:49:07 b8d01e970e1e: Layer already exists 02:49:08 latest: digest: sha256:d79007f6ece1f01666a828ccbaa4628182d78f20f35e24abedc62d5aa6e8bb1a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:49:08 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:49:08 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.6 02:49:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 02:49:08 ab87e4810a56: Preparing 02:49:08 b8d01e970e1e: Preparing 02:49:08 4bf0bce9955b: Preparing 02:49:08 501edb56e611: Preparing 02:49:08 f70ee36035b9: Preparing 02:49:08 b8d01e970e1e: Layer already exists 02:49:08 501edb56e611: Layer already exists 02:49:08 ab87e4810a56: Layer already exists 02:49:08 f70ee36035b9: Layer already exists 02:49:08 4bf0bce9955b: Layer already exists 02:49:08 3.0.0-dev.6: digest: sha256:d79007f6ece1f01666a828ccbaa4628182d78f20f35e24abedc62d5aa6e8bb1a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:49:09 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:d33e94f3f1180f7604676314315f9cce542fcb85-3.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:49:09 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:d33e94f3f1180f7604676314315f9cce542fcb85-3.0.0-dev.6 02:49:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 02:49:09 ab87e4810a56: Preparing 02:49:09 b8d01e970e1e: Preparing 02:49:09 4bf0bce9955b: Preparing 02:49:09 501edb56e611: Preparing 02:49:09 f70ee36035b9: Preparing 02:49:09 f70ee36035b9: Layer already exists 02:49:09 b8d01e970e1e: Layer already exists 02:49:09 ab87e4810a56: Layer already exists 02:49:09 501edb56e611: Layer already exists 02:49:09 4bf0bce9955b: Layer already exists 02:49:09 d33e94f3f1180f7604676314315f9cce542fcb85-3.0.0-dev.6: digest: sha256:d79007f6ece1f01666a828ccbaa4628182d78f20f35e24abedc62d5aa6e8bb1a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:49:10 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:49:10 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 02:49:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 02:49:10 ab87e4810a56: Preparing 02:49:10 b8d01e970e1e: Preparing 02:49:10 4bf0bce9955b: Preparing 02:49:10 501edb56e611: Preparing 02:49:10 f70ee36035b9: Preparing 02:49:10 b8d01e970e1e: Layer already exists 02:49:10 4bf0bce9955b: Layer already exists 02:49:10 501edb56e611: Layer already exists 02:49:10 ab87e4810a56: Layer already exists 02:49:10 f70ee36035b9: Layer already exists 02:49:10 main: digest: sha256:d79007f6ece1f01666a828ccbaa4628182d78f20f35e24abedc62d5aa6e8bb1a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:49:10 ===================================================== [Pipeline] echo 02:49:10 taggedImages: 02:49:10 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:d33e94f3f1180f7604676314315f9cce542fcb85 02:49:10 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 02:49:10 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.6 02:49:10 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:d33e94f3f1180f7604676314315f9cce542fcb85-3.0.0-dev.6 02:49:10 - 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 02:49:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:49:10 02:49:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:49:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:49:11 arm64: Pulling from edgex-lftools-log-publisher 02:49:11 8998bd30e6a1: Pulling fs layer 02:49:11 04944245beec: Pulling fs layer 02:49:11 699f458cf7ca: Pulling fs layer 02:49:11 765212b225bb: Pulling fs layer 02:49:11 f23df028b6ca: Pulling fs layer 02:49:11 d65c8cfc05b1: Pulling fs layer 02:49:11 2437ff75d9bd: Pulling fs layer 02:49:11 765212b225bb: Waiting 02:49:11 f23df028b6ca: Waiting 02:49:11 d65c8cfc05b1: Waiting 02:49:11 2437ff75d9bd: Waiting 02:49:11 04944245beec: Verifying Checksum 02:49:11 04944245beec: Download complete 02:49:11 765212b225bb: Verifying Checksum 02:49:11 765212b225bb: Download complete 02:49:11 f23df028b6ca: Verifying Checksum 02:49:11 f23df028b6ca: Download complete 02:49:11 d65c8cfc05b1: Verifying Checksum 02:49:11 d65c8cfc05b1: Download complete 02:49:11 699f458cf7ca: Verifying Checksum 02:49:11 699f458cf7ca: Download complete 02:49:12 8998bd30e6a1: Download complete 02:49:13 2437ff75d9bd: Verifying Checksum 02:49:13 2437ff75d9bd: Download complete 02:49:15 8998bd30e6a1: Pull complete 02:49:16 04944245beec: Pull complete 02:49:17 699f458cf7ca: Pull complete 02:49:17 765212b225bb: Pull complete 02:49:18 f23df028b6ca: Pull complete 02:49:18 d65c8cfc05b1: Pull complete 02:49:30 2437ff75d9bd: Pull complete 02:49:30 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:49:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:49:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:49:30 prd-ubuntu20.04-docker-arm64-4c-16g-9265 does not seem to be running inside a container 02:49:31 $ 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/62 -v /w/workspace/device-snmp-go/62:/w/workspace/device-snmp-go/62:rw,z -v /w/workspace/device-snmp-go/62@tmp:/w/workspace/device-snmp-go/62@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:arm64 cat 02:49:33 $ docker top be620dede9d791927ca750898365b86400b3b12cbd81fd8711b09a7a58565663 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:49:34 ---> job-cost.sh 02:49:34 lf-activate-venv: SKIPPING 02:49:34 INFO: No Stack... 02:49:35 INFO: Retrieving Pricing Info for: v3-standard-4 02:49:35 INFO: Archiving Costs [Pipeline] sh 02:49:36 + cat /w/workspace/device-snmp-go/62/archives/cost.csv 02:49:36 + cut -d, -f6 [Pipeline] lock 02:49:36 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-62-stack-cost] 02:49:36 Resource [jenkins-edgexfoundry-device-snmp-go-main-62-stack-cost] did not exist. Created. 02:49:36 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-62-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:49:37 /w/workspace/device-snmp-go/62@tmp/durable-6ba60688/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:49:38 + echo total: 0.10999999940395355 [Pipeline] stash 02:49:38 Warning: overwriting stash ‘stack-cost’ 02:49:38 Stashed 1 file(s) [Pipeline] } 02:49:38 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-62-stack-cost] [Pipeline] // lock [Pipeline] } 02:49:38 $ docker stop --time=1 be620dede9d791927ca750898365b86400b3b12cbd81fd8711b09a7a58565663 02:49:39 $ docker rm -f --volumes be620dede9d791927ca750898365b86400b3b12cbd81fd8711b09a7a58565663 [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 02:49:40 provisioning config files... 02:49:40 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6157213970717084219tmp [Pipeline] { [Pipeline] sh 02:49:40 + set +x 02:49:40 + curl -s https://codecov.io/bash 02:49:40 + bash -s -- 02:49:40 02:49:40 _____ _ 02:49:40 / ____| | | 02:49:40 | | ___ __| | ___ ___ _____ __ 02:49:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:49:40 | |___| (_) | (_| | __/ (_| (_) \ V / 02:49:40 \_____\___/ \__,_|\___|\___\___/ \_/ 02:49:40 Bash-1.0.6 02:49:40 02:49:40 02:49:40 ==> git version 2.25.1 found 02:49:40 ==> 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 02:49:40 Release-Date: 2020-01-08 02:49:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:49:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:49:40 ==> Jenkins CI detected. 02:49:40 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 02:49:40 project root: . 02:49:40 --> token set from env 02:49:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:49:40 ==> Running gcov in . (disable via -X gcov) 02:49:40 ==> Python coveragepy not found 02:49:40 ==> Searching for coverage reports in: 02:49:40 + . 02:49:40 -> Found 1 reports 02:49:40 ==> Detecting git/mercurial file structure 02:49:40 ==> Reading reports 02:49:40 + ./coverage.out bytes=7631 02:49:40 ==> Appending adjustments 02:49:40 https://docs.codecov.io/docs/fixing-reports 02:49:40 + Found adjustments 02:49:40 ==> Gzipping contents 02:49:40 4.0K /tmp/codecov.VTfzks.gz 02:49:40 ==> Uploading reports 02:49:40 url: https://codecov.io 02:49:40 query: branch=main&commit=d33e94f3f1180f7604676314315f9cce542fcb85&build=62&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F62%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:49:40 -> Pinging Codecov 02:49:40 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=d33e94f3f1180f7604676314315f9cce542fcb85&build=62&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F62%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:49:40 -> Uploading to 02:49:40 https://storage.googleapis.com/codecov/v4/raw/2023-03-09/6C56EA5C29638FB4528AC87E60AF5AE0/d33e94f3f1180f7604676314315f9cce542fcb85/8745dc46-de59-4d95-974e-ca44a9bb4ea0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230309%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230309T024940Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4122af83bc02984b3c3d716e290e09d3bfc43cb6db771c9e98fb1a17acf5012b 02:49:40 % Total % Received % Xferd Average Speed Time Time Time Current 02:49:40 Dload Upload Total Spent Left Speed 02:49:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1522 0 0 100 1522 0 5359 --:--:-- --:--:-- --:--:-- 5340 100 1522 0 0 100 1522 0 5359 --:--:-- --:--:-- --:--:-- 5340 02:49:41 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/d33e94f3f1180f7604676314315f9cce542fcb85 [Pipeline] } 02:49:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:49:41 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:49:41 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:49:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:49:41 02:49:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:49:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:49:41 1.410.4: Pulling from edgex-devops/edgex-snyk-go 02:49:41 df9b9388f04a: Pulling fs layer 02:49:41 52dc419b0ee2: Pulling fs layer 02:49:41 25bc292e5bac: Pulling fs layer 02:49:41 114826534d7a: Pulling fs layer 02:49:41 4657fd5d0bcf: Pulling fs layer 02:49:41 6ad1cebc031e: Pulling fs layer 02:49:41 8a3aa393b2d8: Pulling fs layer 02:49:41 114826534d7a: Waiting 02:49:41 4657fd5d0bcf: Waiting 02:49:41 6ad1cebc031e: Waiting 02:49:41 8a3aa393b2d8: Waiting 02:49:41 25bc292e5bac: Verifying Checksum 02:49:41 25bc292e5bac: Download complete 02:49:41 52dc419b0ee2: Verifying Checksum 02:49:41 52dc419b0ee2: Download complete 02:49:41 4657fd5d0bcf: Verifying Checksum 02:49:41 4657fd5d0bcf: Download complete 02:49:41 df9b9388f04a: Download complete 02:49:42 df9b9388f04a: Pull complete 02:49:42 6ad1cebc031e: Verifying Checksum 02:49:42 6ad1cebc031e: Download complete 02:49:42 52dc419b0ee2: Pull complete 02:49:42 25bc292e5bac: Pull complete 02:49:42 114826534d7a: Verifying Checksum 02:49:42 114826534d7a: Download complete 02:49:42 8a3aa393b2d8: Verifying Checksum 02:49:42 8a3aa393b2d8: Download complete 02:49:46 114826534d7a: Pull complete 02:49:46 4657fd5d0bcf: Pull complete 02:49:46 6ad1cebc031e: Pull complete 02:49:49 8a3aa393b2d8: Pull complete 02:49:49 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 02:49:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:49:49 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:49:49 prd-ubuntu20.04-docker-8c-8g-9323 does not seem to be running inside a container 02:49:49 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 02:49:52 $ docker top f9dea7e83b7f62866597160d4aedc7a18ce632e5a5b559a46aa5f39dc997c2b8 -eo pid,comm [Pipeline] { [Pipeline] echo 02:49:52 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh 02:49:52 + set -o pipefail 02:49:52 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' 02:49:57 02:49:57 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 02:49:57 02:49:57 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/d5c3c605-9c98-460b-b8fa-b5b12249b06c 02:49:57 02:49:57 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 02:49:57 02:49:57 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:49:57 02:49:57 02:49:57 A medium severity vulnerability was found in the Snyk CLI versions you are using. 02:49:57 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 02:49:57 More details here: https://snyk.co/ue1NS [Pipeline] } 02:49:57 $ docker stop --time=1 f9dea7e83b7f62866597160d4aedc7a18ce632e5a5b559a46aa5f39dc997c2b8 02:50:00 $ docker rm -f --volumes f9dea7e83b7f62866597160d4aedc7a18ce632e5a5b559a46aa5f39dc997c2b8 [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 02:50:00 + git log --format=format:%s -1 d33e94f3f1180f7604676314315f9cce542fcb85 [Pipeline] sh 02:50:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:50:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:50:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:50:01 prd-ubuntu20.04-docker-8c-8g-9323 does not seem to be running inside a container 02:50:01 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:50:02 $ docker top 9d9829188134050982a39be9b40982823f04b663012d2658e2baabea25ded993 -eo pid,comm 02:50:02 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). 02:50:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:50:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:50:02 [ssh-agent] Looking for ssh-agent implementation... 02:50:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:50:02 $ docker exec 9d9829188134050982a39be9b40982823f04b663012d2658e2baabea25ded993 ssh-agent 02:50:02 SSH_AUTH_SOCK=/tmp/ssh-qZybDmtXhYYC/agent.32 02:50:02 SSH_AGENT_PID=38 02:50:02 Running ssh-add (command line suppressed) 02:50:02 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7100076564252097077.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7100076564252097077.key) 02:50:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:50:02 + git semver tag 02:50:03 2023-03-09 02:50:02,943 [run_tag] DEBUG tag force:False 02:50:03 2023-03-09 02:50:02,943 [check_head_tag] DEBUG check head tag 02:50:03 2023-03-09 02:50:02,944 [execute] INFO git cat-file --batch-check 02:50:03 2023-03-09 02:50:02,944 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 02:50:03 2023-03-09 02:50:02,948 [execute] INFO git cat-file --batch 02:50:03 2023-03-09 02:50:02,949 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 02:50:03 2023-03-09 02:50:02,968 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 02:50:03 2023-03-09 02:50:02,968 [execute] INFO git tag -a v3.0.0-dev.6 -m v3.0.0-dev.6 02:50:03 2023-03-09 02:50:02,968 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.6', '-m', 'v3.0.0-dev.6'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 02:50:03 2023-03-09 02:50:02,974 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 02:50:03 3.0.0-dev.6 [Pipeline] } 02:50:03 $ docker exec --env ******** --env ******** 9d9829188134050982a39be9b40982823f04b663012d2658e2baabea25ded993 ssh-agent -k 02:50:03 unset SSH_AUTH_SOCK; 02:50:03 unset SSH_AGENT_PID; 02:50:03 echo Agent pid 38 killed; 02:50:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:50:03 + git semver [Pipeline] } 02:50:03 $ docker stop --time=1 9d9829188134050982a39be9b40982823f04b663012d2658e2baabea25ded993 02:50:05 $ docker rm -f --volumes 9d9829188134050982a39be9b40982823f04b663012d2658e2baabea25ded993 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:50:05 02:50:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:50:05 0.23.1-centos7: Pulling from edgex-lftools 02:50:05 ab5ef0e58194: Pulling fs layer 02:50:05 9712f1f96733: Pulling fs layer 02:50:05 63f879dbbcfc: Pulling fs layer 02:50:05 0d9ebad4ef96: Pulling fs layer 02:50:05 e9a5061849ea: Pulling fs layer 02:50:05 d747dcd14b5f: Pulling fs layer 02:50:05 0d9ebad4ef96: Waiting 02:50:05 e9a5061849ea: Waiting 02:50:05 2de7ff778b66: Pulling fs layer 02:50:05 d747dcd14b5f: Waiting 02:50:05 2de7ff778b66: Waiting 02:50:05 9712f1f96733: Verifying Checksum 02:50:05 9712f1f96733: Download complete 02:50:06 0d9ebad4ef96: Verifying Checksum 02:50:06 0d9ebad4ef96: Download complete 02:50:06 e9a5061849ea: Verifying Checksum 02:50:06 e9a5061849ea: Download complete 02:50:06 63f879dbbcfc: Verifying Checksum 02:50:06 63f879dbbcfc: Download complete 02:50:06 d747dcd14b5f: Download complete 02:50:06 2de7ff778b66: Verifying Checksum 02:50:06 2de7ff778b66: Download complete 02:50:06 ab5ef0e58194: Verifying Checksum 02:50:06 ab5ef0e58194: Download complete 02:50:10 ab5ef0e58194: Pull complete 02:50:10 9712f1f96733: Pull complete 02:50:10 63f879dbbcfc: Pull complete 02:50:13 0d9ebad4ef96: Pull complete 02:50:13 e9a5061849ea: Pull complete 02:50:13 d747dcd14b5f: Pull complete 02:50:14 2de7ff778b66: Pull complete 02:50:14 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:50:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:50:14 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:50:14 prd-ubuntu20.04-docker-8c-8g-9323 does not seem to be running inside a container 02:50:14 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 02:50:17 $ docker top 86d2caaf43903acea264eff8b94ec58ee63907224b99d66abe18a78f1414f013 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:50:17 provisioning config files... 02:50:17 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2165233841046535467tmp 02:50:17 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config11080712102894801903tmp 02:50:17 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8391398546152920061tmp [Pipeline] { [Pipeline] echo 02:50:17 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:50:18 ---> sigul-configuration.sh 02:50:18 gpg: directory `/root/.gnupg' created 02:50:18 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:50:18 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:50:18 gpg: keyring `/root/.gnupg/secring.gpg' created 02:50:18 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:50:18 gpg: CAST5 encrypted data 02:50:18 gpg: encrypted with 1 passphrase 02:50:18 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:50:18 + mkdir /home/jenkins 02:50:18 + mkdir /home/jenkins/sigul [Pipeline] sh 02:50:18 + 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 02:50:18 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:50:19 ---> sigul-install.sh 02:50:19 Sigul already installed; skipping installation. [Pipeline] sh 02:50:19 + git tag --list 02:50:19 1.0.0 02:50:19 v0.0.0 02:50:19 v1.1.0 02:50:19 v1.1.1 02:50:19 v1.2.2 02:50:19 v1.3.0 02:50:19 v1.3.1 02:50:19 v2.0.0 02:50:19 v2.1.0 02:50:19 v2.1.1 02:50:19 v2.1.1-dev.2 02:50:19 v2.1.1-dev.3 02:50:19 v2.2.0 02:50:19 v2.2.1-dev.1 02:50:19 v2.2.1-dev.2 02:50:19 v2.2.1-dev.3 02:50:19 v2.2.1-dev.4 02:50:19 v2.2.1-dev.5 02:50:19 v2.2.1-dev.6 02:50:19 v2.2.1-dev.7 02:50:19 v2.3.0 02:50:19 v2.3.0-dev.10 02:50:19 v2.3.0-dev.11 02:50:19 v2.3.0-dev.12 02:50:19 v2.3.0-dev.13 02:50:19 v2.3.0-dev.14 02:50:19 v2.3.0-dev.15 02:50:19 v2.3.0-dev.16 02:50:19 v2.3.0-dev.17 02:50:19 v2.3.0-dev.18 02:50:19 v2.3.0-dev.19 02:50:19 v2.3.0-dev.20 02:50:19 v2.3.0-dev.21 02:50:19 v2.3.0-dev.22 02:50:19 v2.3.0-dev.23 02:50:19 v2.3.0-dev.24 02:50:19 v2.3.0-dev.7 02:50:19 v2.3.0-dev.8 02:50:19 v2.3.0-dev.9 02:50:19 v3.0.0-dev.1 02:50:19 v3.0.0-dev.2 02:50:19 v3.0.0-dev.3 02:50:19 v3.0.0-dev.4 02:50:19 v3.0.0-dev.5 02:50:19 v3.0.0-dev.6 [Pipeline] sh 02:50:19 + lftools sign git-tag v3.0.0-dev.6 02:50:20 Signing Git tag with Sigul... 02:50:20 Signing v3.0.0-dev.6 [Pipeline] echo 02:50:20 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:50:21 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:50:21 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:50:21 $ docker stop --time=1 86d2caaf43903acea264eff8b94ec58ee63907224b99d66abe18a78f1414f013 02:50:22 $ docker rm -f --volumes 86d2caaf43903acea264eff8b94ec58ee63907224b99d66abe18a78f1414f013 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 02:50:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:50:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:50:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:50:23 prd-ubuntu20.04-docker-8c-8g-9323 does not seem to be running inside a container 02:50:23 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:50:23 $ docker top e98e4c23ae1bd9dc76d02e7ab48a159f4582951cf8dcaeda73af594b62aa7652 -eo pid,comm 02:50:23 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). 02:50:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:50:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:50:23 [ssh-agent] Looking for ssh-agent implementation... 02:50:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:50:23 $ docker exec e98e4c23ae1bd9dc76d02e7ab48a159f4582951cf8dcaeda73af594b62aa7652 ssh-agent 02:50:23 SSH_AUTH_SOCK=/tmp/ssh-LcFP4UdOIYDa/agent.32 02:50:23 SSH_AGENT_PID=38 02:50:23 Running ssh-add (command line suppressed) 02:50:24 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_11961139017021921550.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_11961139017021921550.key) 02:50:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:50:24 + git semver bump pre 02:50:24 2023-03-09 02:50:24,577 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 02:50:24 2023-03-09 02:50:24,577 [bump_version] DEBUG bumping version:3.0.0-dev.6 on axis:pre with prefix:dev 02:50:24 2023-03-09 02:50:24,577 [bump_version] DEBUG bumped version:3.0.0-dev.7 02:50:24 2023-03-09 02:50:24,577 [write_version] DEBUG write version:3.0.0-dev.7 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True 02:50:24 2023-03-09 02:50:24,577 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 02:50:24 2023-03-09 02:50:24,577 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 02:50:24 2023-03-09 02:50:24,579 [execute] INFO git cat-file --batch-check 02:50:24 2023-03-09 02:50:24,580 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:50:24 2023-03-09 02:50:24,586 [execute] INFO git cat-file --batch 02:50:24 2023-03-09 02:50:24,586 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:50:24 2023-03-09 02:50:24,593 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 02:50:24 3.0.0-dev.7 [Pipeline] } 02:50:24 $ docker exec --env ******** --env ******** e98e4c23ae1bd9dc76d02e7ab48a159f4582951cf8dcaeda73af594b62aa7652 ssh-agent -k 02:50:24 unset SSH_AUTH_SOCK; 02:50:24 unset SSH_AGENT_PID; 02:50:24 echo Agent pid 38 killed; 02:50:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:50:25 + git semver [Pipeline] } 02:50:25 $ docker stop --time=1 e98e4c23ae1bd9dc76d02e7ab48a159f4582951cf8dcaeda73af594b62aa7652 02:50:26 $ docker rm -f --volumes e98e4c23ae1bd9dc76d02e7ab48a159f4582951cf8dcaeda73af594b62aa7652 [Pipeline] // withDockerContainer [Pipeline] sh 02:50:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:50:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:50:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:50:27 prd-ubuntu20.04-docker-8c-8g-9323 does not seem to be running inside a container 02:50:27 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:50:27 $ docker top f096ed8c0a9dddfa79cb2d64510bfc588e514958ed9472d79954ac5579ac1bd4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:50:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:50:27 [ssh-agent] Looking for ssh-agent implementation... 02:50:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:50:28 $ docker exec f096ed8c0a9dddfa79cb2d64510bfc588e514958ed9472d79954ac5579ac1bd4 ssh-agent 02:50:28 SSH_AUTH_SOCK=/tmp/ssh-F6SGIedeIDjX/agent.32 02:50:28 SSH_AGENT_PID=39 02:50:28 Running ssh-add (command line suppressed) 02:50:28 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5950595246899643629.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5950595246899643629.key) 02:50:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:50:28 + git semver push 02:50:28 2023-03-09 02:50:28,751 [run_push] DEBUG push 02:50:28 2023-03-09 02:50:28,752 [execute] INFO git cat-file --batch-check 02:50:28 2023-03-09 02:50:28,752 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:50:28 2023-03-09 02:50:28,756 [execute] INFO git rev-list a2b5eef2f73ba6d1e112fe84dd39c22b3644167d -- 02:50:28 2023-03-09 02:50:28,756 [execute] DEBUG Popen(['git', 'rev-list', 'a2b5eef2f73ba6d1e112fe84dd39c22b3644167d', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:50:28 2023-03-09 02:50:28,761 [execute] INFO git fetch -v origin 02:50:28 2023-03-09 02:50:28,762 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) 02:50:29 2023-03-09 02:50:29,279 [run_push] DEBUG no remote changes detected 02:50:29 2023-03-09 02:50:29,279 [execute] INFO git push origin semver 02:50:29 2023-03-09 02:50:29,280 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:50:30 2023-03-09 02:50:30,040 [run_push] DEBUG push all version tags 02:50:30 2023-03-09 02:50:30,041 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 02:50:30 2023-03-09 02:50:30,041 [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) 02:50:30 2023-03-09 02:50:30,800 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 02:50:30 3.0.0-dev.7 [Pipeline] } 02:50:30 $ docker exec --env ******** --env ******** f096ed8c0a9dddfa79cb2d64510bfc588e514958ed9472d79954ac5579ac1bd4 ssh-agent -k 02:50:30 unset SSH_AUTH_SOCK; 02:50:30 unset SSH_AGENT_PID; 02:50:30 echo Agent pid 39 killed; 02:50:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:50:31 + git semver [Pipeline] } 02:50:31 $ docker stop --time=1 f096ed8c0a9dddfa79cb2d64510bfc588e514958ed9472d79954ac5579ac1bd4 02:50:32 $ docker rm -f --volumes f096ed8c0a9dddfa79cb2d64510bfc588e514958ed9472d79954ac5579ac1bd4 [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 02:50:33 + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] 02:50:33 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 02:50:33 total 16 02:50:33 drwxr-xr-x 3 root root 4096 Mar 9 02:44 . 02:50:33 drwxrwxr-x 10 jenkins jenkins 4096 Mar 9 02:50 .. 02:50:33 drwxr-xr-x 2 root root 4096 Mar 9 02:44 cost 02:50:33 -rw-r--r-- 1 root root 85 Mar 9 02:44 cost.csv 02:50:33 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives 02:50:33 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 02:50:33 total 16 02:50:33 drwxr-xr-x 3 jenkins jenkins 4096 Mar 9 02:44 . 02:50:33 drwxrwxr-x 10 jenkins jenkins 4096 Mar 9 02:50 .. 02:50:33 drwxr-xr-x 2 jenkins jenkins 4096 Mar 9 02:44 cost 02:50:33 -rw-r--r-- 1 jenkins jenkins 85 Mar 9 02:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:50:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:50:34 ---> package-listing.sh 02:50:34 ++ facter osfamily 02:50:34 ++ tr '[:upper:]' '[:lower:]' 02:50:34 + OS_FAMILY=debian 02:50:34 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 02:50:34 + START_PACKAGES=/tmp/packages_start.txt 02:50:34 + END_PACKAGES=/tmp/packages_end.txt 02:50:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:50:34 + PACKAGES=/tmp/packages_start.txt 02:50:34 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 02:50:34 + PACKAGES=/tmp/packages_end.txt 02:50:34 + case "${OS_FAMILY}" in 02:50:34 + dpkg -l 02:50:34 + grep '^ii' 02:50:34 + '[' -f /tmp/packages_start.txt ']' 02:50:34 + '[' -f /tmp/packages_end.txt ']' 02:50:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:50:34 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 02:50:34 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 02:50:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo 02:50:34 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 02:50:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:50:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:50:35 prd-ubuntu20.04-docker-8c-8g-9323 does not seem to be running inside a container 02:50:35 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:50:35 $ docker top bfc8e2937d02534ec04e5ae342cd1bf5ef6fe0114826451eab062440f0ca325d -eo pid,comm [Pipeline] { [Pipeline] sh 02:50:36 + touch /tmp/pre-build-complete [Pipeline] sh 02:50:36 + mkdir -p /var/log/sysstat [Pipeline] sh 02:50:36 + ls /var/log/sa-host 02:50:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:50:37 provisioning config files... 02:50:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config17318851164027537670tmp [Pipeline] { [Pipeline] echo 02:50:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:50:37 ---> create-netrc.sh [Pipeline] } 02:50:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:50:37 ---> python-tools-install.sh [Pipeline] echo 02:50:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:50:37 ---> sudo-logs.sh 02:50:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:50:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:50:38 ---> job-cost.sh 02:50:38 lf-activate-venv: SKIPPING 02:50:38 DEBUG: total: 0.2199999988079071 02:50:38 INFO: Retrieving Stack Cost... 02:50:38 INFO: Retrieving Pricing Info for: v3-standard-8 02:50:39 INFO: Archiving Costs [Pipeline] echo 02:50:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:50:39 ---> logs-deploy.sh 02:50:39 lf-activate-venv: SKIPPING 02:50:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/62 02:50:39 INFO: archiving workspace using pattern(s): 02:50:40 Archives upload complete. 02:50:40 INFO: archiving logs to Nexus 02:50:41 ---> uname -a: 02:50:41 Linux prd-ubuntu20-04-docker-8c-8g-9323 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 02:50:41 02:50:41 02:50:41 ---> lscpu: 02:50:41 Architecture: x86_64 02:50:41 CPU op-mode(s): 32-bit, 64-bit 02:50:41 Byte Order: Little Endian 02:50:41 Address sizes: 40 bits physical, 48 bits virtual 02:50:41 CPU(s): 8 02:50:41 On-line CPU(s) list: 0-7 02:50:41 Thread(s) per core: 1 02:50:41 Core(s) per socket: 1 02:50:41 Socket(s): 8 02:50:41 NUMA node(s): 1 02:50:41 Vendor ID: AuthenticAMD 02:50:41 CPU family: 23 02:50:41 Model: 49 02:50:41 Model name: AMD EPYC-Rome Processor 02:50:41 Stepping: 0 02:50:41 CPU MHz: 2799.994 02:50:41 BogoMIPS: 5599.98 02:50:41 Virtualization: AMD-V 02:50:41 Hypervisor vendor: KVM 02:50:41 Virtualization type: full 02:50:41 L1d cache: 256 KiB 02:50:41 L1i cache: 256 KiB 02:50:41 L2 cache: 4 MiB 02:50:41 L3 cache: 128 MiB 02:50:41 NUMA node0 CPU(s): 0-7 02:50:41 Vulnerability Itlb multihit: Not affected 02:50:41 Vulnerability L1tf: Not affected 02:50:41 Vulnerability Mds: Not affected 02:50:41 Vulnerability Meltdown: Not affected 02:50:41 Vulnerability Mmio stale data: Not affected 02:50:41 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:50:41 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 02:50:41 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 02:50:41 Vulnerability Srbds: Not affected 02:50:41 Vulnerability Tsx async abort: Not affected 02:50:41 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 02:50:41 02:50:41 02:50:41 ---> nproc: 02:50:41 8 02:50:41 02:50:41 02:50:41 ---> df -h: 02:50:41 Filesystem Size Used Avail Use% Mounted on 02:50:41 overlay 155G 13G 143G 9% / 02:50:41 tmpfs 64M 0 64M 0% /dev 02:50:41 tmpfs 16G 0 16G 0% /sys/fs/cgroup 02:50:41 shm 64M 0 64M 0% /dev/shm 02:50:41 /dev/vda1 155G 13G 143G 9% /facter-os 02:50:41 02:50:41 02:50:41 ---> sar -b -r -n DEV: 02:50:41 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-9323) 03/09/23 _x86_64_ (8 CPU) 02:50:41 02:50:41 02:41:32 LINUX RESTART (8 CPU) 02:50:41 02:50:41 02:42:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:50:41 02:43:01 190.78 23.97 166.81 0.00 2305.93 139663.57 0.00 02:50:41 02:44:01 198.37 0.25 198.12 0.00 12.66 45554.54 0.00 02:50:41 02:45:01 35.51 0.07 35.44 0.00 6.00 16808.27 0.00 02:50:41 02:46:01 1.40 0.00 1.40 0.00 0.00 16.94 0.00 02:50:41 02:47:01 54.99 11.61 43.38 0.00 5178.20 8806.27 0.00 02:50:41 02:48:01 5.23 0.02 5.21 0.00 0.13 115.29 0.00 02:50:41 02:49:01 2.17 0.00 2.17 0.00 0.00 24.80 0.00 02:50:41 02:50:01 50.01 0.30 49.71 0.00 14.00 35062.42 0.00 02:50:41 Average: 67.05 4.49 62.56 0.00 936.75 30530.19 0.00 02:50:41 02:50:41 02:42:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:50:41 02:43:01 28164216 31567220 745576 2.27 123592 3467992 2032636 5.99 1171612 3098392 304696 02:50:41 02:44:01 28173612 31546592 759948 2.31 150876 3416956 1896792 5.59 1237776 3021884 336 02:50:41 02:45:01 27694188 31571432 733788 2.23 159016 3863116 1760908 5.19 1230268 3454932 132 02:50:41 02:46:01 27693456 31570864 733872 2.23 159052 3863124 1760908 5.19 1230052 3454936 160 02:50:41 02:47:01 27155732 31536224 747500 2.27 192716 4319244 1797728 5.30 1566804 3619652 996 02:50:41 02:48:01 27175976 31551716 732560 2.23 191288 4315984 1792040 5.28 1549988 3616432 364 02:50:41 02:49:01 27185052 31560880 723348 2.20 191368 4315988 1792040 5.28 1541364 3616436 176 02:50:41 02:50:01 26369656 31520328 761560 2.32 209056 5020216 1894076 5.58 1638180 4282032 320 02:50:41 Average: 27451486 31553157 742269 2.26 172120 4072828 1840891 5.43 1395756 3520587 38398 02:50:41 02:50:41 02:42:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:50:41 02:43:01 ens3 955.37 577.96 8507.52 106.59 0.00 0.00 0.00 0.00 02:50:41 02:43:01 docker0 177.04 296.90 14.36 2000.44 0.00 0.00 0.00 0.00 02:50:41 02:43:01 lo 6.51 6.51 0.63 0.63 0.00 0.00 0.00 0.00 02:50:41 02:44:01 ens3 75.35 58.02 171.47 83.33 0.00 0.00 0.00 0.00 02:50:41 02:44:01 docker0 3.53 8.38 0.21 81.67 0.00 0.00 0.00 0.00 02:50:41 02:44:01 lo 1.20 1.20 0.11 0.11 0.00 0.00 0.00 0.00 02:50:41 02:45:01 ens3 185.45 125.63 2554.20 241.98 0.00 0.00 0.00 0.00 02:50:41 02:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:41 02:45:01 lo 6.60 6.60 0.65 0.65 0.00 0.00 0.00 0.00 02:50:41 02:46:01 ens3 0.20 0.13 0.01 0.01 0.00 0.00 0.00 0.00 02:50:41 02:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:41 02:46:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:50:41 02:47:01 ens3 232.69 115.48 2806.59 7.98 0.00 0.00 0.00 0.00 02:50:41 02:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:41 02:47:01 lo 0.60 0.60 0.06 0.06 0.00 0.00 0.00 0.00 02:50:41 02:48:01 ens3 3.52 1.25 2.08 0.57 0.00 0.00 0.00 0.00 02:50:41 02:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:41 02:48:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:50:41 02:49:01 ens3 2.50 0.72 0.75 0.48 0.00 0.00 0.00 0.00 02:50:41 02:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:41 02:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:41 02:50:01 ens3 235.43 124.23 4568.06 18.27 0.00 0.00 0.00 0.00 02:50:41 02:50:01 docker0 33.18 60.91 2.82 585.37 0.00 0.00 0.00 0.00 02:50:41 02:50:01 lo 1.27 1.27 0.12 0.12 0.00 0.00 0.00 0.00 02:50:41 Average: ens3 209.77 124.49 2313.47 57.30 0.00 0.00 0.00 0.00 02:50:41 Average: docker0 26.41 45.25 2.15 329.98 0.00 0.00 0.00 0.00 02:50:41 Average: lo 2.06 2.06 0.20 0.20 0.00 0.00 0.00 0.00 02:50:41 02:50:41 02:50:41 ---> sar -P ALL: 02:50:41 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-9323) 03/09/23 _x86_64_ (8 CPU) 02:50:41 02:50:41 02:41:32 LINUX RESTART (8 CPU) 02:50:41 02:50:41 02:42:02 CPU %user %nice %system %iowait %steal %idle 02:50:41 02:43:01 all 12.53 0.00 4.57 2.10 0.09 80.71 02:50:41 02:43:01 0 10.82 0.00 5.08 0.84 0.07 83.19 02:50:41 02:43:01 1 12.08 0.00 4.20 0.67 0.07 82.99 02:50:41 02:43:01 2 15.45 0.00 4.50 0.52 0.09 79.45 02:50:41 02:43:01 3 12.17 0.00 4.59 1.38 0.09 81.78 02:50:41 02:43:01 4 12.57 0.00 5.06 7.65 0.12 74.61 02:50:41 02:43:01 5 12.73 0.00 4.32 4.58 0.07 78.29 02:50:41 02:43:01 6 10.94 0.00 3.55 0.89 0.10 84.52 02:50:41 02:43:01 7 13.47 0.00 5.25 0.31 0.09 80.88 02:50:41 02:44:01 all 36.21 0.00 7.11 1.46 0.11 55.11 02:50:41 02:44:01 0 36.01 0.00 7.97 4.55 0.12 51.36 02:50:41 02:44:01 1 35.25 0.00 6.99 0.93 0.12 56.72 02:50:41 02:44:01 2 37.27 0.00 6.89 1.02 0.12 54.70 02:50:41 02:44:01 3 36.99 0.00 7.49 0.79 0.12 54.61 02:50:41 02:44:01 4 36.63 0.00 7.42 0.64 0.10 55.20 02:50:41 02:44:01 5 35.03 0.00 6.60 0.61 0.10 57.67 02:50:41 02:44:01 6 35.66 0.00 6.55 2.76 0.10 54.93 02:50:41 02:44:01 7 36.81 0.00 6.98 0.37 0.12 55.71 02:50:41 02:45:01 all 3.12 0.00 1.29 0.42 0.02 95.15 02:50:41 02:45:01 0 3.62 0.00 1.05 0.25 0.02 95.06 02:50:41 02:45:01 1 2.98 0.00 1.12 0.10 0.03 95.76 02:50:41 02:45:01 2 3.20 0.00 1.45 2.84 0.02 92.49 02:50:41 02:45:01 3 2.87 0.00 1.54 0.02 0.02 95.56 02:50:41 02:45:01 4 2.31 0.00 1.01 0.05 0.03 96.60 02:50:41 02:45:01 5 2.39 0.00 1.55 0.02 0.02 96.03 02:50:41 02:45:01 6 4.47 0.00 1.41 0.05 0.03 94.04 02:50:41 02:45:01 7 3.13 0.00 1.19 0.02 0.02 95.65 02:50:41 02:46:01 all 0.03 0.00 0.01 0.00 0.00 99.95 02:50:41 02:46:01 0 0.02 0.00 0.00 0.00 0.00 99.98 02:50:41 02:46:01 1 0.03 0.00 0.02 0.00 0.00 99.95 02:50:41 02:46:01 2 0.00 0.00 0.02 0.00 0.00 99.98 02:50:41 02:46:01 3 0.07 0.00 0.05 0.00 0.02 99.87 02:50:41 02:46:01 4 0.05 0.00 0.00 0.02 0.00 99.93 02:50:41 02:46:01 5 0.02 0.00 0.00 0.00 0.02 99.97 02:50:41 02:46:01 6 0.03 0.00 0.02 0.00 0.00 99.95 02:50:41 02:46:01 7 0.00 0.00 0.02 0.00 0.00 99.98 02:50:41 02:47:01 all 2.32 0.00 1.50 0.49 0.02 95.66 02:50:41 02:47:01 0 1.58 0.00 1.15 0.03 0.03 97.20 02:50:41 02:47:01 1 2.91 0.00 1.60 0.33 0.02 95.14 02:50:41 02:47:01 2 1.49 0.00 2.00 1.47 0.02 95.02 02:50:41 02:47:01 3 2.44 0.00 2.59 0.12 0.03 94.81 02:50:41 02:47:01 4 3.51 0.00 1.72 0.52 0.03 94.22 02:50:41 02:47:01 5 1.59 0.00 0.79 0.23 0.00 97.39 02:50:41 02:47:01 6 1.89 0.00 1.12 0.25 0.02 96.72 02:50:41 02:47:01 7 3.18 0.00 1.03 0.96 0.03 94.81 02:50:41 02:48:01 all 0.10 0.00 0.06 0.04 0.01 99.78 02:50:41 02:48:01 0 0.12 0.00 0.08 0.05 0.02 99.73 02:50:41 02:48:01 1 0.07 0.00 0.07 0.00 0.02 99.85 02:50:41 02:48:01 2 0.03 0.00 0.03 0.00 0.02 99.92 02:50:41 02:48:01 3 0.07 0.00 0.05 0.12 0.00 99.77 02:50:41 02:48:01 4 0.05 0.00 0.05 0.02 0.00 99.88 02:50:41 02:48:01 5 0.23 0.00 0.12 0.00 0.02 99.63 02:50:41 02:48:01 6 0.15 0.00 0.05 0.02 0.02 99.77 02:50:41 02:48:01 7 0.07 0.00 0.07 0.15 0.00 99.72 02:50:41 02:49:01 all 0.03 0.00 0.01 0.01 0.00 99.95 02:50:41 02:49:01 0 0.07 0.00 0.05 0.00 0.00 99.88 02:50:41 02:49:01 1 0.03 0.00 0.00 0.00 0.00 99.97 02:50:41 02:49:01 2 0.00 0.00 0.03 0.00 0.00 99.97 02:50:41 02:49:01 3 0.02 0.00 0.00 0.02 0.00 99.97 02:50:41 02:49:01 4 0.03 0.00 0.00 0.00 0.00 99.97 02:50:41 02:49:01 5 0.02 0.00 0.00 0.00 0.00 99.98 02:50:41 02:49:01 6 0.07 0.00 0.02 0.00 0.00 99.92 02:50:41 02:49:01 7 0.02 0.00 0.00 0.03 0.02 99.93 02:50:41 02:50:01 all 4.21 0.00 1.83 0.82 0.02 93.11 02:50:41 02:50:01 0 4.44 0.00 1.73 0.17 0.03 93.63 02:50:41 02:50:01 1 4.30 0.00 1.46 0.02 0.02 94.21 02:50:41 02:50:01 2 5.09 0.00 2.16 0.10 0.02 92.64 02:50:41 02:50:01 3 4.56 0.00 1.68 3.29 0.03 90.44 02:50:41 02:50:01 4 4.52 0.00 1.46 0.40 0.03 93.58 02:50:41 02:50:01 5 3.24 0.00 2.13 0.00 0.02 94.61 02:50:41 02:50:01 6 3.73 0.00 1.83 1.19 0.02 93.23 02:50:41 02:50:01 7 3.82 0.00 2.23 1.43 0.02 92.50 02:50:41 Average: all 7.26 0.00 2.03 0.66 0.04 90.01 02:50:41 Average: 0 7.02 0.00 2.12 0.73 0.04 90.09 02:50:41 Average: 1 7.15 0.00 1.92 0.25 0.03 90.64 02:50:41 Average: 2 7.73 0.00 2.12 0.74 0.03 89.37 02:50:41 Average: 3 7.35 0.00 2.24 0.71 0.04 89.66 02:50:41 Average: 4 7.40 0.00 2.07 1.14 0.04 89.35 02:50:41 Average: 5 6.87 0.00 1.93 0.67 0.03 90.50 02:50:41 Average: 6 7.06 0.00 1.80 0.64 0.04 90.46 02:50:41 Average: 7 7.48 0.00 2.07 0.41 0.04 90.00 02:50:41 02:50:41 02:50:41