Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d0a0e99d902e45b7e17db09c4331e4d14954addb 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-ssh11152842335832655964.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-ssh5688838696240377865.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 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-ssh17571081372035715960.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 # timeout=10 Commit message: "Merge pull request #405 from ernestojeda/fix-go-1.18-errors" > 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-ssh5355492444666957029.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > 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-ssh11037139389631137014.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-19778 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 d0a0e99d902e45b7e17db09c4331e4d14954addb (main) > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d0a0e99d902e45b7e17db09c4331e4d14954addb # timeout=10 Commit message: "build: Upgrade to Go 1.18 and optimize attribution script (#182)" > git rev-list --no-walk 2a50195080db95dc897f07c56d427b58d1c43a7f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:10:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:10:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:10:40 ========================================================= 22:10:40 EdgeX Global Pipelines Version Info 22:10:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:10:41 ------------------- 22:10:41 stable info: 22:10:41 ------------------- 22:10:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:10:41 Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 22:10:41 Message: update stable to v1.0.237 22:10:42 ------------------- 22:10:42 experimental info: 22:10:42 ------------------- 22:10:42 Commited By: **** collab-it+edgex@linuxfoundation.org 22:10:42 Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 22:10:42 Message: update experimental to v1.0.237 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:10:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 22:10:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 22:10:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:10:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:10:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:10:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 22:10:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:10:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:10:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:10:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:10:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:10:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 22:10:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:10:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:10:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:10:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:10:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:10:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:10:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:10:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:10:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:10:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:10:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:10:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:10:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:10:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:10:42 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:10:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 22:10:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 22:10:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 22:10:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d0a0e99d902e45b7e17db09c4331e4d14954addb [Pipeline] echo 22:10:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d0a0e99 [Pipeline] echo 22:10:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:10:42 provisioning config files... 22:10:42 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7921033825514009175tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:10:43 ---> docker-login.sh 22:10:43 nexus3.edgexfoundry.org:10001 22:10:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:43 Configure a credential helper to remove this warning. See 22:10:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:43 22:10:43 Login Succeeded 22:10:43 nexus3.edgexfoundry.org:10002 22:10:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:43 Configure a credential helper to remove this warning. See 22:10:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:43 22:10:43 Login Succeeded 22:10:43 nexus3.edgexfoundry.org:10003 22:10:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:44 Configure a credential helper to remove this warning. See 22:10:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:44 22:10:44 Login Succeeded 22:10:44 nexus3.edgexfoundry.org:10004 22:10:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:44 Configure a credential helper to remove this warning. See 22:10:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:44 22:10:44 Login Succeeded 22:10:44 docker.io 22:10:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:44 Configure a credential helper to remove this warning. See 22:10:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:44 22:10:44 Login Succeeded 22:10:44 ---> docker-login.sh ends [Pipeline] } 22:10:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:10:45 + git rev-list -1 --merges d0a0e99d902e45b7e17db09c4331e4d14954addb~1..d0a0e99d902e45b7e17db09c4331e4d14954addb [Pipeline] echo 22:10:45 -----------> git rev-list -1 --merges d0a0e99d902e45b7e17db09c4331e4d14954addb~1..d0a0e99d902e45b7e17db09c4331e4d14954addb d0a0e99d902e45b7e17db09c4331e4d14954addb [false] [Pipeline] sh 22:10:45 + git log --format=format:%s -1 d0a0e99d902e45b7e17db09c4331e4d14954addb [Pipeline] echo 22:10:45 ========================================================= 22:10:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:10:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:10:45 + git log --format=format:%s -1 d0a0e99d902e45b7e17db09c4331e4d14954addb [Pipeline] echo 22:10:45 [semverPrep] GIT_COMMIT: d0a0e99d902e45b7e17db09c4331e4d14954addb, Commit Message: build: Upgrade to Go 1.18 and optimize attribution script (#182) [Pipeline] echo 22:10:45 [semverPrep] This is not a build commit. [Pipeline] sh 22:10:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:10:46 + grep -v github /etc/ssh/ssh_known_hosts 22:10:46 + [ -e /tmp/ssh_known_hosts ] 22:10:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:10:46 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:10:46 + sudo tee -a /etc/ssh/ssh_known_hosts 22:10:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:10:46 22:10:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:10:46 0.1.4: Pulling from edgex-devops/py-git-semver 22:10:46 b85a868b505f: Pulling fs layer 22:10:46 e2be974225ed: Pulling fs layer 22:10:46 339a4e72a1f5: Pulling fs layer 22:10:46 988bab9f4d93: Pulling fs layer 22:10:46 1469e6f7b9e6: Pulling fs layer 22:10:46 eaf3925da568: Pulling fs layer 22:10:46 bab4dde63d76: Pulling fs layer 22:10:46 bde34c3a00c8: Pulling fs layer 22:10:46 b352a97aabf1: Pulling fs layer 22:10:46 4872d77fe225: Pulling fs layer 22:10:46 5851b861e8e6: Pulling fs layer 22:10:46 bde34c3a00c8: Waiting 22:10:46 988bab9f4d93: Waiting 22:10:46 1469e6f7b9e6: Waiting 22:10:46 5851b861e8e6: Waiting 22:10:46 b352a97aabf1: Waiting 22:10:46 eaf3925da568: Waiting 22:10:46 bab4dde63d76: Waiting 22:10:46 4872d77fe225: Waiting 22:10:46 e2be974225ed: Verifying Checksum 22:10:46 e2be974225ed: Download complete 22:10:46 988bab9f4d93: Verifying Checksum 22:10:46 988bab9f4d93: Download complete 22:10:47 1469e6f7b9e6: Verifying Checksum 22:10:47 1469e6f7b9e6: Download complete 22:10:47 eaf3925da568: Verifying Checksum 22:10:47 eaf3925da568: Download complete 22:10:47 339a4e72a1f5: Verifying Checksum 22:10:47 339a4e72a1f5: Download complete 22:10:47 bde34c3a00c8: Download complete 22:10:47 b352a97aabf1: Verifying Checksum 22:10:47 b352a97aabf1: Download complete 22:10:47 4872d77fe225: Verifying Checksum 22:10:47 4872d77fe225: Download complete 22:10:47 5851b861e8e6: Verifying Checksum 22:10:47 5851b861e8e6: Download complete 22:10:47 b85a868b505f: Verifying Checksum 22:10:47 b85a868b505f: Download complete 22:10:47 bab4dde63d76: Verifying Checksum 22:10:47 bab4dde63d76: Download complete 22:10:48 b85a868b505f: Pull complete 22:10:48 e2be974225ed: Pull complete 22:10:49 339a4e72a1f5: Pull complete 22:10:49 988bab9f4d93: Pull complete 22:10:49 1469e6f7b9e6: Pull complete 22:10:49 eaf3925da568: Pull complete 22:10:51 bab4dde63d76: Pull complete 22:10:51 bde34c3a00c8: Pull complete 22:10:51 b352a97aabf1: Pull complete 22:10:52 4872d77fe225: Pull complete 22:10:52 5851b861e8e6: Pull complete 22:10:52 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:10:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:10:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:10:52 prd-ubuntu20.04-docker-8c-8g-19778 does not seem to be running inside a container 22:10:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:10:53 $ docker top a6db14fb6d5dcc214690cddfd1b25117e6f8b886e384701e91dc23399391b691 -eo pid,comm 22:10:53 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). 22:10:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:10:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:10:53 [ssh-agent] Looking for ssh-agent implementation... 22:10:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:10:53 $ docker exec a6db14fb6d5dcc214690cddfd1b25117e6f8b886e384701e91dc23399391b691 ssh-agent 22:10:54 SSH_AUTH_SOCK=/tmp/ssh-Q6xqN4hnhwXl/agent.32 22:10:54 SSH_AGENT_PID=39 22:10:54 Running ssh-add (command line suppressed) 22:10:54 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4574945767913593174.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4574945767913593174.key) 22:10:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:10:54 + git tag --points-at HEAD [Pipeline] } 22:10:54 $ docker exec --env ******** --env ******** a6db14fb6d5dcc214690cddfd1b25117e6f8b886e384701e91dc23399391b691 ssh-agent -k 22:10:54 unset SSH_AUTH_SOCK; 22:10:54 unset SSH_AGENT_PID; 22:10:54 echo Agent pid 39 killed; 22:10:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:10:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:10:54 [ssh-agent] Looking for ssh-agent implementation... 22:10:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:10:54 $ docker exec a6db14fb6d5dcc214690cddfd1b25117e6f8b886e384701e91dc23399391b691 ssh-agent 22:10:54 SSH_AUTH_SOCK=/tmp/ssh-9eAryXakcy9A/agent.72 22:10:54 SSH_AGENT_PID=78 22:10:54 Running ssh-add (command line suppressed) 22:10:55 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3756604002331672640.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3756604002331672640.key) 22:10:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:10:55 + git semver init 22:10:55 2022-07-12 22:10:55,587 [run_init] DEBUG init version:0.0.0 force:False 22:10:55 2022-07-12 22:10:55,589 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver 22:10:55 2022-07-12 22:10:55,590 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver 22:10:55 2022-07-12 22:10:55,590 [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) 22:10:56 2022-07-12 22:10:56,321 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude 22:10:56 2022-07-12 22:10:56,322 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False 22:10:56 2022-07-12 22:10:56,322 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 22:10:56 2022-07-12 22:10:56,322 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 22:10:56 2.2.1-dev.6 [Pipeline] } 22:10:56 $ docker exec --env ******** --env ******** a6db14fb6d5dcc214690cddfd1b25117e6f8b886e384701e91dc23399391b691 ssh-agent -k 22:10:56 unset SSH_AUTH_SOCK; 22:10:56 unset SSH_AGENT_PID; 22:10:56 echo Agent pid 78 killed; 22:10:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:10:56 + git semver [Pipeline] } 22:10:57 $ docker stop --time=1 a6db14fb6d5dcc214690cddfd1b25117e6f8b886e384701e91dc23399391b691 22:10:58 $ docker rm -f a6db14fb6d5dcc214690cddfd1b25117e6f8b886e384701e91dc23399391b691 [Pipeline] // withDockerContainer [Pipeline] sh 22:10:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:10:59 Stashed 1 file(s) [Pipeline] echo 22:10:59 [edgeXSemver]: initialized semver on version 2.2.1-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 22:10:59 provisioning config files... 22:10:59 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1159038298270051625tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:10:59 ---> docker-login.sh 22:10:59 nexus3.edgexfoundry.org:10001 22:10:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:59 Configure a credential helper to remove this warning. See 22:10:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:59 22:10:59 Login Succeeded 22:10:59 nexus3.edgexfoundry.org:10002 22:10:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:59 Configure a credential helper to remove this warning. See 22:10:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:59 22:10:59 Login Succeeded 22:10:59 nexus3.edgexfoundry.org:10003 22:10:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:59 Configure a credential helper to remove this warning. See 22:10:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:59 22:10:59 Login Succeeded 22:10:59 nexus3.edgexfoundry.org:10004 22:10:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:00 Configure a credential helper to remove this warning. See 22:11:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:00 22:11:00 Login Succeeded 22:11:00 docker.io 22:11:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:00 Configure a credential helper to remove this warning. See 22:11:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:00 22:11:00 Login Succeeded 22:11:00 ---> docker-login.sh ends [Pipeline] } 22:11:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:11:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:11:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:11:00 ========================================================= 22:11:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 22:11:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:00 + 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 . 22:11:00 Sending build context to Docker daemon 5.414MB 22:11:00 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 22:11:00 Step 2/12 : FROM ${BASE} AS builder 22:11:00 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 22:11:00 2408cc74d12b: Pulling fs layer 22:11:00 ea60b727a1ce: Pulling fs layer 22:11:00 30c4a7721957: Pulling fs layer 22:11:00 370296b7ddb6: Pulling fs layer 22:11:00 7c6cee850709: Pulling fs layer 22:11:00 39a5fcdaea64: Pulling fs layer 22:11:00 370296b7ddb6: Waiting 22:11:00 d94ebbe4e438: Pulling fs layer 22:11:00 39a5fcdaea64: Waiting 22:11:00 bcfd1f05c69d: Pulling fs layer 22:11:00 d94ebbe4e438: Waiting 22:11:00 59ccb84bbe0f: Pulling fs layer 22:11:00 bcfd1f05c69d: Waiting 22:11:00 30c4a7721957: Verifying Checksum 22:11:00 30c4a7721957: Download complete 22:11:00 ea60b727a1ce: Verifying Checksum 22:11:00 ea60b727a1ce: Download complete 22:11:01 7c6cee850709: Verifying Checksum 22:11:01 7c6cee850709: Download complete 22:11:01 2408cc74d12b: Verifying Checksum 22:11:01 2408cc74d12b: Download complete 22:11:01 39a5fcdaea64: Verifying Checksum 22:11:01 39a5fcdaea64: Download complete 22:11:01 d94ebbe4e438: Download complete 22:11:01 2408cc74d12b: Pull complete 22:11:01 ea60b727a1ce: Pull complete 22:11:01 30c4a7721957: Pull complete 22:11:01 59ccb84bbe0f: Verifying Checksum 22:11:01 59ccb84bbe0f: Download complete 22:11:01 bcfd1f05c69d: Verifying Checksum 22:11:01 bcfd1f05c69d: Download complete 22:11:01 370296b7ddb6: Verifying Checksum 22:11:01 370296b7ddb6: Download complete 22:11:06 370296b7ddb6: Pull complete 22:11:06 7c6cee850709: Pull complete 22:11:06 39a5fcdaea64: Pull complete 22:11:06 d94ebbe4e438: Pull complete 22:11:08 bcfd1f05c69d: Pull complete 22:11:09 59ccb84bbe0f: Pull complete 22:11:09 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 22:11:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 22:11:09 ---> a4fb48ad2a94 22:11:09 Step 3/12 : ARG MAKE='make build' 22:11:11 ---> Running in e71c80dc283b 22:11:11 Removing intermediate container e71c80dc283b 22:11:11 ---> 5c85def67128 22:11:11 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:11:11 ---> Running in dbd77589d475 22:11:11 Removing intermediate container dbd77589d475 22:11:11 ---> 79fe4e0843ee 22:11:11 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 22:11:11 ---> Running in caee32918d71 22:11:11 Removing intermediate container caee32918d71 22:11:11 ---> 95e70823c905 22:11:11 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:11:11 ---> Running in 9ba7746b9017 22:11:11 Removing intermediate container 9ba7746b9017 22:11:11 ---> 004998c41d26 22:11:11 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:11:11 ---> Running in ce5cb6e24eab 22:11:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:11:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:11:13 (1/4) Installing openssh-keygen (9.0_p1-r1) 22:11:13 (2/4) Installing libedit (20210910.3.1-r0) 22:11:13 (3/4) Installing openssh-client-common (9.0_p1-r1) 22:11:13 (4/4) Installing openssh-client-default (9.0_p1-r1) 22:11:13 Executing busybox-1.35.0-r13.trigger 22:11:13 OK: 216 MiB in 55 packages 22:11:14 Removing intermediate container ce5cb6e24eab 22:11:14 ---> 3dc0b710cb57 22:11:14 Step 8/12 : WORKDIR /device-snmp-go 22:11:14 ---> Running in f00ede2017ff 22:11:14 Removing intermediate container f00ede2017ff 22:11:14 ---> 45290a2ffee6 22:11:14 Step 9/12 : COPY go.mod vendor* ./ 22:11:14 Still waiting to schedule task 22:11:14 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:11:14 ---> 4909dbdb99a2 22:11:14 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:11:14 ---> Running in 8a259c699b95 22:11:32 Removing intermediate container 8a259c699b95 22:11:32 ---> 79a419086600 22:11:32 Step 11/12 : COPY . . 22:11:32 ---> f7468db59307 22:11:32 Step 12/12 : RUN ${MAKE} 22:11:32 ---> Running in 8dc800c5230e 22:11:32 noop 22:11:32 Removing intermediate container 8dc800c5230e 22:11:32 ---> 101512e29fb5 22:11:32 Successfully built 101512e29fb5 22:11:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:32 + docker inspect -f . ci-base-image-x86_64 22:11:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:11:32 prd-ubuntu20.04-docker-8c-8g-19778 does not seem to be running inside a container 22:11:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:11:33 $ docker top b6666ecc5faea30aea4a480ceb76bc6be19aa92bcc7511841091297c37dd82cb -eo pid,comm [Pipeline] { [Pipeline] sh 22:11:33 + go version 22:11:33 go version go1.18.3 linux/amd64 [Pipeline] } 22:11:33 $ docker stop --time=1 b6666ecc5faea30aea4a480ceb76bc6be19aa92bcc7511841091297c37dd82cb 22:11:35 $ docker rm -f b6666ecc5faea30aea4a480ceb76bc6be19aa92bcc7511841091297c37dd82cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:35 + docker inspect -f . ci-base-image-x86_64 22:11:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:11:35 prd-ubuntu20.04-docker-8c-8g-19778 does not seem to be running inside a container 22:11:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:11:36 $ docker top 63e265c13497e4dedb8d29888d8d6d1c8f94d4f76e55b00da592f3db8e4859a2 -eo pid,comm [Pipeline] { [Pipeline] sh 22:11:36 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh 22:11:36 + make test 22:11:36 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 22:11:37 ? github.com/edgexfoundry/device-snmp-go [no test files] 22:11:47 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 22:11:47 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.010s coverage: 0.0% of statements 22:11:52 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." 22:11:52 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:11:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:11:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:11:54 ./bin/test-attribution-txt.sh [Pipeline] echo 22:11:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:11:54 $ docker stop --time=1 63e265c13497e4dedb8d29888d8d6d1c8f94d4f76e55b00da592f3db8e4859a2 22:11:56 $ docker rm -f 63e265c13497e4dedb8d29888d8d6d1c8f94d4f76e55b00da592f3db8e4859a2 [Pipeline] // withDockerContainer [Pipeline] sh 22:11:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:11:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:11:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:11:58 + ls -al . 22:11:58 total 168 22:11:58 drwxrwxr-x 9 jenkins jenkins 4096 Jul 12 22:11 . 22:11:58 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 22:10 .. 22:11:58 -rw-rw-r-- 1 jenkins jenkins 6 Jul 12 22:10 .dockerignore 22:11:58 drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 22:11 .git 22:11:58 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 22:10 .github 22:11:58 -rw-rw-r-- 1 jenkins jenkins 328 Jul 12 22:10 .gitignore 22:11:58 -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 22:10 .golangci.yml 22:11:58 drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 22:10 .semver 22:11:58 -rw-rw-r-- 1 jenkins jenkins 8556 Jul 12 22:10 Attribution.txt 22:11:58 -rw-rw-r-- 1 jenkins jenkins 6948 Jul 12 22:10 CHANGELOG.md 22:11:58 -rw-rw-r-- 1 jenkins jenkins 1518 Jul 12 22:10 Dockerfile 22:11:58 -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 22:10 GOVERNANCE.md 22:11:58 -rw-rw-r-- 1 jenkins jenkins 656 Jul 12 22:10 Jenkinsfile 22:11:58 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 12 22:10 LICENSE 22:11:58 -rw-rw-r-- 1 jenkins jenkins 2334 Jul 12 22:10 Makefile 22:11:58 -rw-rw-r-- 1 jenkins jenkins 620 Jul 12 22:10 OWNERS.md 22:11:58 -rw-rw-r-- 1 jenkins jenkins 9390 Jul 12 22:10 README.md 22:11:58 -rw-rw-r-- 1 jenkins jenkins 11 Jul 12 22:10 VERSION 22:11:58 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 22:10 bin 22:11:58 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 22:10 cmd 22:11:58 -rw-r--r-- 1 jenkins jenkins 7631 Jul 12 22:11 coverage.out 22:11:58 -rw-rw-r-- 1 jenkins jenkins 3301 Jul 12 22:10 go.mod 22:11:58 -rw-rw-r-- 1 jenkins jenkins 35532 Jul 12 22:10 go.sum 22:11:58 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 22:10 internal 22:11:58 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 22:10 snap 22:11:58 -rw-rw-r-- 1 jenkins jenkins 228 Jul 12 22:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:58 + 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=d0a0e99d902e45b7e17db09c4331e4d14954addb --label arch=amd64 --label version=2.2.1-dev.6 . 22:11:58 Sending build context to Docker daemon 5.422MB 22:11:58 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 22:11:58 Step 2/24 : FROM ${BASE} AS builder 22:11:58 ---> 101512e29fb5 22:11:58 Step 3/24 : ARG MAKE='make build' 22:11:58 ---> Running in d795d275281c 22:11:58 Removing intermediate container d795d275281c 22:11:58 ---> 3b15afb8e36f 22:11:58 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:11:58 ---> Running in 2b4ea9ef3f8f 22:11:58 Removing intermediate container 2b4ea9ef3f8f 22:11:58 ---> 6b85f4592d48 22:11:58 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 22:11:58 ---> Running in a74b80cfe492 22:11:58 Removing intermediate container a74b80cfe492 22:11:58 ---> c8faf10d37cf 22:11:58 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:11:58 ---> Running in d91047b0f014 22:11:59 Removing intermediate container d91047b0f014 22:11:59 ---> 3dce10c5d501 22:11:59 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:11:59 ---> Running in 42944d7dc263 22:11:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:12:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:12:00 OK: 216 MiB in 55 packages 22:12:01 Removing intermediate container 42944d7dc263 22:12:01 ---> a3e506471f8b 22:12:01 Step 8/24 : WORKDIR /device-snmp-go 22:12:01 ---> Running in 0daf60e60821 22:12:01 Removing intermediate container 0daf60e60821 22:12:01 ---> 5046f58ea578 22:12:01 Step 9/24 : COPY go.mod vendor* ./ 22:12:01 ---> 300c8b7a72fe 22:12:01 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:12:01 ---> Running in a5ea868608b7 22:12:02 Removing intermediate container a5ea868608b7 22:12:02 ---> c2d092ee9751 22:12:02 Step 11/24 : COPY . . 22:12:02 ---> f28a928db926 22:12:02 Step 12/24 : RUN ${MAKE} 22:12:02 ---> Running in 2713016e4172 22:12:03 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.1-dev.11 -X github.com/edgexfoundry/device-snmp-go.Version=2.2.1-dev.6" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 22:12:25 Removing intermediate container 2713016e4172 22:12:25 ---> 20a4c1a35120 22:12:25 Step 13/24 : FROM alpine:3.16 22:12:25 3.16: Pulling from library/alpine 22:12:25 2408cc74d12b: Already exists 22:12:25 Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c 22:12:25 Status: Downloaded newer image for alpine:3.16 22:12:25 ---> e66264b98777 22:12:25 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 22:12:25 ---> Running in 5b68e0513678 22:12:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:12:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:12:25 (1/6) Installing dumb-init (1.2.5-r1) 22:12:25 (2/6) Installing libgcc (11.2.1_git20220219-r2) 22:12:25 (3/6) Installing libsodium (1.0.18-r0) 22:12:25 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 22:12:25 (5/6) Installing libzmq (4.3.4-r0) 22:12:25 (6/6) Installing zeromq (4.3.4-r0) 22:12:25 Executing busybox-1.35.0-r13.trigger 22:12:25 OK: 8 MiB in 20 packages 22:12:25 Removing intermediate container 5b68e0513678 22:12:25 ---> 386548497cdb 22:12:25 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 22:12:25 ---> 81a1d73225bf 22:12:25 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 22:12:25 ---> 1329b985f5ed 22:12:25 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 22:12:25 ---> 24fea37fe1d1 22:12:25 Step 18/24 : EXPOSE 59993 22:12:25 ---> Running in bad81473edc1 22:12:25 Removing intermediate container bad81473edc1 22:12:25 ---> b0bc4f782d77 22:12:25 Step 19/24 : EXPOSE 161 22:12:25 ---> Running in 798a3a6f7f2b 22:12:25 Removing intermediate container 798a3a6f7f2b 22:12:25 ---> a8e6be654ffb 22:12:25 Step 20/24 : ENTRYPOINT ["/device-snmp"] 22:12:25 ---> Running in bcf20839ed32 22:12:25 Removing intermediate container bcf20839ed32 22:12:25 ---> 2572236adb83 22:12:25 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 22:12:25 ---> Running in 352b838eae59 22:12:25 Removing intermediate container 352b838eae59 22:12:25 ---> 0d7cf01813b2 22:12:25 Step 22/24 : LABEL arch=amd64 22:12:25 ---> Running in a8343999266d 22:12:25 Removing intermediate container a8343999266d 22:12:25 ---> b3b3f628ef87 22:12:25 Step 23/24 : LABEL git_sha=d0a0e99d902e45b7e17db09c4331e4d14954addb 22:12:25 ---> Running in 05aca92276b4 22:12:25 Removing intermediate container 05aca92276b4 22:12:25 ---> 05e6d955245d 22:12:25 Step 24/24 : LABEL version=2.2.1-dev.6 22:12:25 ---> Running in fc2920818f4b 22:12:25 Removing intermediate container fc2920818f4b 22:12:25 ---> a0ee11312412 22:12:25 [Warning] One or more build-args [ARCH] were not consumed 22:12:25 Successfully built a0ee11312412 22:12:25 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:12:25 provisioning config files... 22:12:25 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4161328555904983841tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:12:25 ---> docker-login.sh 22:12:25 nexus3.edgexfoundry.org:10001 22:12:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:25 Configure a credential helper to remove this warning. See 22:12:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:25 22:12:25 Login Succeeded 22:12:25 nexus3.edgexfoundry.org:10002 22:12:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:26 Configure a credential helper to remove this warning. See 22:12:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:26 22:12:26 Login Succeeded 22:12:26 nexus3.edgexfoundry.org:10003 22:12:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:26 Configure a credential helper to remove this warning. See 22:12:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:26 22:12:26 Login Succeeded 22:12:26 nexus3.edgexfoundry.org:10004 22:12:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:26 Configure a credential helper to remove this warning. See 22:12:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:26 22:12:26 Login Succeeded 22:12:26 docker.io 22:12:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:26 Configure a credential helper to remove this warning. See 22:12:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:26 22:12:26 Login Succeeded 22:12:26 ---> docker-login.sh ends [Pipeline] } 22:12:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:12:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:12:26 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 22:12:26 d0a0e99d902e45b7e17db09c4331e4d14954addb 22:12:26 latest 22:12:26 2.2.1-dev.6 22:12:26 d0a0e99d902e45b7e17db09c4331e4d14954addb-2.2.1-dev.6 22:12:26 main 22:12:26 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:26 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:d0a0e99d902e45b7e17db09c4331e4d14954addb [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:27 + docker push nexus3.edgexfoundry.org:10004/device-snmp:d0a0e99d902e45b7e17db09c4331e4d14954addb 22:12:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 22:12:27 008e973821b1: Preparing 22:12:27 e480e4b8baed: Preparing 22:12:27 e758be11883a: Preparing 22:12:27 8c0725e21471: Preparing 22:12:27 24302eb7d908: Preparing 22:12:27 24302eb7d908: Layer already exists 22:12:27 e480e4b8baed: Pushed 22:12:27 008e973821b1: Pushed 22:12:27 8c0725e21471: Pushed 22:12:30 e758be11883a: Pushed 22:12:30 d0a0e99d902e45b7e17db09c4331e4d14954addb: digest: sha256:46587e73dd4b3252b420d7a51dabb641941a9347bdbe2b24f67a743500e2c6c0 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:30 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:30 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 22:12:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 22:12:30 008e973821b1: Preparing 22:12:30 e480e4b8baed: Preparing 22:12:30 e758be11883a: Preparing 22:12:30 8c0725e21471: Preparing 22:12:30 24302eb7d908: Preparing 22:12:30 24302eb7d908: Layer already exists 22:12:30 8c0725e21471: Layer already exists 22:12:30 e480e4b8baed: Layer already exists 22:12:30 e758be11883a: Layer already exists 22:12:30 008e973821b1: Layer already exists 22:12:30 latest: digest: sha256:46587e73dd4b3252b420d7a51dabb641941a9347bdbe2b24f67a743500e2c6c0 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:30 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.2.1-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:31 + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.2.1-dev.6 22:12:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 22:12:31 008e973821b1: Preparing 22:12:31 e480e4b8baed: Preparing 22:12:31 e758be11883a: Preparing 22:12:31 8c0725e21471: Preparing 22:12:31 24302eb7d908: Preparing 22:12:31 24302eb7d908: Layer already exists 22:12:31 008e973821b1: Layer already exists 22:12:31 8c0725e21471: Layer already exists 22:12:31 e480e4b8baed: Layer already exists 22:12:31 e758be11883a: Layer already exists 22:12:31 2.2.1-dev.6: digest: sha256:46587e73dd4b3252b420d7a51dabb641941a9347bdbe2b24f67a743500e2c6c0 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:31 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:d0a0e99d902e45b7e17db09c4331e4d14954addb-2.2.1-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:31 + docker push nexus3.edgexfoundry.org:10004/device-snmp:d0a0e99d902e45b7e17db09c4331e4d14954addb-2.2.1-dev.6 22:12:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 22:12:31 008e973821b1: Preparing 22:12:31 e480e4b8baed: Preparing 22:12:31 e758be11883a: Preparing 22:12:31 8c0725e21471: Preparing 22:12:31 24302eb7d908: Preparing 22:12:31 008e973821b1: Layer already exists 22:12:31 24302eb7d908: Layer already exists 22:12:31 e480e4b8baed: Layer already exists 22:12:31 8c0725e21471: Layer already exists 22:12:31 e758be11883a: Layer already exists 22:12:31 d0a0e99d902e45b7e17db09c4331e4d14954addb-2.2.1-dev.6: digest: sha256:46587e73dd4b3252b420d7a51dabb641941a9347bdbe2b24f67a743500e2c6c0 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:32 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:32 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 22:12:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 22:12:32 008e973821b1: Preparing 22:12:32 e480e4b8baed: Preparing 22:12:32 e758be11883a: Preparing 22:12:32 8c0725e21471: Preparing 22:12:32 24302eb7d908: Preparing 22:12:32 24302eb7d908: Layer already exists 22:12:32 e758be11883a: Layer already exists 22:12:32 e480e4b8baed: Layer already exists 22:12:32 008e973821b1: Layer already exists 22:12:32 8c0725e21471: Layer already exists 22:12:32 main: digest: sha256:46587e73dd4b3252b420d7a51dabb641941a9347bdbe2b24f67a743500e2c6c0 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:12:32 ===================================================== [Pipeline] echo 22:12:32 taggedImages: 22:12:32 - nexus3.edgexfoundry.org:10004/device-snmp:d0a0e99d902e45b7e17db09c4331e4d14954addb 22:12:32 - nexus3.edgexfoundry.org:10004/device-snmp:latest 22:12:32 - nexus3.edgexfoundry.org:10004/device-snmp:2.2.1-dev.6 22:12:32 - nexus3.edgexfoundry.org:10004/device-snmp:d0a0e99d902e45b7e17db09c4331e4d14954addb-2.2.1-dev.6 22:12:32 - 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 22:12:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:12:33 22:12:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:12:33 latest: Pulling from edgex-lftools-log-publisher 22:12:33 5eb5b503b376: Pulling fs layer 22:12:33 5c69ac0246d0: Pulling fs layer 22:12:33 ec43610c2a17: Pulling fs layer 22:12:33 3a2ae6a8a46f: Pulling fs layer 22:12:33 33b1e0a273af: Pulling fs layer 22:12:33 5d3b04190fa2: Pulling fs layer 22:12:33 2f39f015ded8: Pulling fs layer 22:12:33 3a2ae6a8a46f: Waiting 22:12:33 33b1e0a273af: Waiting 22:12:33 5d3b04190fa2: Waiting 22:12:33 2f39f015ded8: Waiting 22:12:33 5c69ac0246d0: Download complete 22:12:33 3a2ae6a8a46f: Verifying Checksum 22:12:33 3a2ae6a8a46f: Download complete 22:12:33 33b1e0a273af: Verifying Checksum 22:12:33 33b1e0a273af: Download complete 22:12:33 5d3b04190fa2: Verifying Checksum 22:12:33 5d3b04190fa2: Download complete 22:12:33 ec43610c2a17: Verifying Checksum 22:12:33 ec43610c2a17: Download complete 22:12:33 5eb5b503b376: Verifying Checksum 22:12:33 5eb5b503b376: Download complete 22:12:34 2f39f015ded8: Download complete 22:12:34 5eb5b503b376: Pull complete 22:12:34 5c69ac0246d0: Pull complete 22:12:35 ec43610c2a17: Pull complete 22:12:35 3a2ae6a8a46f: Pull complete 22:12:35 33b1e0a273af: Pull complete 22:12:35 5d3b04190fa2: Pull complete 22:12:41 2f39f015ded8: Pull complete 22:12:41 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:12:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:12:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:12:41 prd-ubuntu20.04-docker-8c-8g-19778 does not seem to be running inside a container 22:12:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:12:43 $ docker top 926190f34596e429823b557423d015fc6d8450dbf1a44bef28e9ac531b1d758f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:12:43 ---> job-cost.sh 22:12:43 lf-activate-venv: SKIPPING 22:12:43 INFO: No Stack... 22:12:43 INFO: Retrieving Pricing Info for: v3-standard-8 22:12:44 INFO: Archiving Costs [Pipeline] sh 22:12:44 + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv 22:12:44 + cut -d, -f6 [Pipeline] lock 22:12:44 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-37-stack-cost] 22:12:44 Resource [jenkins-edgexfoundry-device-snmp-go-main-37-stack-cost] did not exist. Created. 22:12:44 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-37-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:12:44 + echo total: 0.2199999988079071 [Pipeline] stash 22:12:45 Stashed 1 file(s) [Pipeline] } 22:12:45 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-37-stack-cost] [Pipeline] // lock [Pipeline] } 22:12:45 $ docker stop --time=1 926190f34596e429823b557423d015fc6d8450dbf1a44bef28e9ac531b1d758f 22:12:46 $ docker rm -f 926190f34596e429823b557423d015fc6d8450dbf1a44bef28e9ac531b1d758f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:12:47 Running on prd-ubuntu20.04-docker-arm64-4c-16g-19779 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 22:12:47 Running in /w/workspace/device-snmp-go/37 [Pipeline] { [Pipeline] checkout 22:12:47 Selected Git installation does not exist. Using Default 22:12:47 The recommended git tool is: NONE 22:12:54 using credential edgex-jenkins-ssh 22:12:54 Cloning the remote Git repository 22:12:54 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 22:12:54 > git init /w/workspace/device-snmp-go/37 # timeout=10 22:12:54 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 22:12:54 > git --version # timeout=10 22:12:54 > git --version # 'git version 2.25.1' 22:12:54 using GIT_SSH to set credentials SSH Credentials for GitHub 22:12:56 Avoid second fetch 22:12:56 Checking out Revision d0a0e99d902e45b7e17db09c4331e4d14954addb (main) 22:12:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:12:55 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 22:12:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:12:56 > git config core.sparsecheckout # timeout=10 22:12:56 > git checkout -f d0a0e99d902e45b7e17db09c4331e4d14954addb # timeout=10 22:13:00 Commit message: "build: Upgrade to Go 1.18 and optimize attribution script (#182)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:13:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:13:01 % Total % Received % Xferd Average Speed Time Time Time Current 22:13:01 Dload Upload Total Spent Left Speed 22:13:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 85846 0 --:--:-- --:--:-- --:--:-- 86450 [Pipeline] sh 22:13:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:13:02 + sudo tee /etc/docker/daemon.new 22:13:02 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:13:02 { 22:13:02 "registry-mirrors": [ 22:13:02 "https://nexus3.edgexfoundry.org:10001" 22:13:02 ], 22:13:02 "bip": "10.250.0.254/24", 22:13:02 "hosts": [ 22:13:02 "tcp://0.0.0.0:5555", 22:13:02 "unix:///var/run/docker.sock" 22:13:02 ], 22:13:02 "mtu": 1458, 22:13:02 "selinux-enabled": true, 22:13:02 "seccomp-profile": "/etc/docker/seccomp.json" 22:13:02 } [Pipeline] sh 22:13:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:13:03 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:13:21 provisioning config files... 22:13:21 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/37@tmp/config7197011481633690615tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:13:22 ---> docker-login.sh 22:13:22 nexus3.edgexfoundry.org:10001 22:13:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:22 Configure a credential helper to remove this warning. See 22:13:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:22 22:13:22 Login Succeeded 22:13:22 nexus3.edgexfoundry.org:10002 22:13:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:23 Configure a credential helper to remove this warning. See 22:13:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:23 22:13:23 Login Succeeded 22:13:23 nexus3.edgexfoundry.org:10003 22:13:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:23 Configure a credential helper to remove this warning. See 22:13:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:23 22:13:23 Login Succeeded 22:13:23 nexus3.edgexfoundry.org:10004 22:13:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:24 Configure a credential helper to remove this warning. See 22:13:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:24 22:13:24 Login Succeeded 22:13:24 docker.io 22:13:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:25 Configure a credential helper to remove this warning. See 22:13:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:25 22:13:25 Login Succeeded 22:13:25 ---> docker-login.sh ends [Pipeline] } 22:13:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:13:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:13:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:13:25 ========================================================= 22:13:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 22:13:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:26 + 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 . 22:13:26 Sending build context to Docker daemon 2.793MB 22:13:26 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 22:13:26 Step 2/12 : FROM ${BASE} AS builder 22:13:26 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:13:26 b3c136eddcbf: Pulling fs layer 22:13:26 c0a3192eca97: Pulling fs layer 22:13:26 a050256f5b6f: Pulling fs layer 22:13:26 656be50a0ddc: Pulling fs layer 22:13:26 2bbca73fdf42: Pulling fs layer 22:13:26 46d945488cbd: Pulling fs layer 22:13:26 8a5474983e97: Pulling fs layer 22:13:26 329c88fbcd65: Pulling fs layer 22:13:26 656be50a0ddc: Waiting 22:13:26 2bbca73fdf42: Waiting 22:13:26 46d945488cbd: Waiting 22:13:26 8a5474983e97: Waiting 22:13:26 329c88fbcd65: Waiting 22:13:26 a050256f5b6f: Verifying Checksum 22:13:26 a050256f5b6f: Download complete 22:13:26 c0a3192eca97: Verifying Checksum 22:13:26 c0a3192eca97: Download complete 22:13:26 2bbca73fdf42: Verifying Checksum 22:13:26 2bbca73fdf42: Download complete 22:13:26 46d945488cbd: Verifying Checksum 22:13:26 46d945488cbd: Download complete 22:13:26 b3c136eddcbf: Verifying Checksum 22:13:27 b3c136eddcbf: Pull complete 22:13:27 329c88fbcd65: Verifying Checksum 22:13:27 329c88fbcd65: Download complete 22:13:28 c0a3192eca97: Pull complete 22:13:28 a050256f5b6f: Pull complete 22:13:29 8a5474983e97: Verifying Checksum 22:13:29 8a5474983e97: Download complete 22:13:29 656be50a0ddc: Verifying Checksum 22:13:29 656be50a0ddc: Download complete 22:13:42 656be50a0ddc: Pull complete 22:13:42 2bbca73fdf42: Pull complete 22:13:42 46d945488cbd: Pull complete 22:13:48 8a5474983e97: Pull complete 22:13:50 329c88fbcd65: Pull complete 22:13:50 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 22:13:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:13:50 ---> ff4287adb874 22:13:50 Step 3/12 : ARG MAKE='make build' 22:13:51 ---> Running in cdec9f4e5f99 22:13:51 Removing intermediate container cdec9f4e5f99 22:13:51 ---> 3dd276c3312f 22:13:51 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:13:51 ---> Running in 963be4d8274a 22:13:51 Removing intermediate container 963be4d8274a 22:13:51 ---> d29862815fda 22:13:51 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 22:13:51 ---> Running in 5ca327e2c1af 22:13:52 Removing intermediate container 5ca327e2c1af 22:13:52 ---> 4c8e6145e898 22:13:52 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:13:52 ---> Running in a82644eb52aa 22:13:54 Removing intermediate container a82644eb52aa 22:13:54 ---> de7d19b68e6e 22:13:54 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:13:54 ---> Running in e689747627a1 22:13:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:13:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:13:56 (1/4) Installing openssh-keygen (9.0_p1-r1) 22:13:56 (2/4) Installing libedit (20210910.3.1-r0) 22:13:56 (3/4) Installing openssh-client-common (9.0_p1-r1) 22:13:56 (4/4) Installing openssh-client-default (9.0_p1-r1) 22:13:56 Executing busybox-1.35.0-r13.trigger 22:13:56 OK: 226 MiB in 55 packages 22:13:57 Removing intermediate container e689747627a1 22:13:57 ---> f824481301de 22:13:57 Step 8/12 : WORKDIR /device-snmp-go 22:13:57 ---> Running in 65ccf1fa3ed3 22:13:58 Removing intermediate container 65ccf1fa3ed3 22:13:58 ---> d973c4a646fc 22:13:58 Step 9/12 : COPY go.mod vendor* ./ 22:13:58 ---> cd1a03e7caca 22:13:58 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:13:58 ---> Running in 76aaff2efb40 22:14:45 Removing intermediate container 76aaff2efb40 22:14:45 ---> fc6aa756eadc 22:14:45 Step 11/12 : COPY . . 22:14:45 ---> 41f06eff72f2 22:14:45 Step 12/12 : RUN ${MAKE} 22:14:45 ---> Running in 940f3e3681d9 22:14:45 noop 22:14:45 Removing intermediate container 940f3e3681d9 22:14:45 ---> bddbbf4d7803 22:14:45 Successfully built bddbbf4d7803 22:14:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:46 + docker inspect -f . ci-base-image-arm64 22:14:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:14:46 prd-ubuntu20.04-docker-arm64-4c-16g-19779 does not seem to be running inside a container 22:14:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/37 -v /w/workspace/device-snmp-go/37:/w/workspace/device-snmp-go/37:rw,z -v /w/workspace/device-snmp-go/37@tmp:/w/workspace/device-snmp-go/37@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:14:47 $ docker top 35b3917c59331d856293f028bd14d8eeba09a915fe84aaf3c53bddcb4c3326e1 -eo pid,comm [Pipeline] { [Pipeline] sh 22:14:48 + go version 22:14:48 go version go1.18.3 linux/arm64 [Pipeline] } 22:14:48 $ docker stop --time=1 35b3917c59331d856293f028bd14d8eeba09a915fe84aaf3c53bddcb4c3326e1 22:14:50 $ docker rm -f 35b3917c59331d856293f028bd14d8eeba09a915fe84aaf3c53bddcb4c3326e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:50 + docker inspect -f . ci-base-image-arm64 22:14:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:14:50 prd-ubuntu20.04-docker-arm64-4c-16g-19779 does not seem to be running inside a container 22:14:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-snmp-go/37 -v /w/workspace/device-snmp-go/37:/w/workspace/device-snmp-go/37:rw,z -v /w/workspace/device-snmp-go/37@tmp:/w/workspace/device-snmp-go/37@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:14:52 $ docker top 5bbc6806727fb1e7864632ba9c484c5267b49e22e355f1bc522879acdfdeedcc -eo pid,comm [Pipeline] { [Pipeline] sh 22:14:53 + git config --global --add safe.directory /w/workspace/device-snmp-go/37 [Pipeline] fileExists [Pipeline] sh 22:14:53 + make test 22:14:53 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 22:14:55 ? github.com/edgexfoundry/device-snmp-go [no test files] 22:16:17 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 22:16:17 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.040s coverage: 0.0% of statements 22:16:17 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:16:17 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:16:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:16:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:16:32 ./bin/test-attribution-txt.sh [Pipeline] echo 22:16:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:16:32 $ docker stop --time=1 5bbc6806727fb1e7864632ba9c484c5267b49e22e355f1bc522879acdfdeedcc 22:16:33 $ docker rm -f 5bbc6806727fb1e7864632ba9c484c5267b49e22e355f1bc522879acdfdeedcc [Pipeline] // withDockerContainer [Pipeline] sh 22:16:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:16:34 Warning: overwriting stash ‘coverage-report’ 22:16:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:16:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:16:36 + ls -al . 22:16:36 total 164 22:16:36 drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 22:14 . 22:16:36 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 22:12 .. 22:16:36 -rw-rw-r-- 1 jenkins jenkins 6 Jul 12 22:12 .dockerignore 22:16:36 drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 22:12 .git 22:16:36 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 22:12 .github 22:16:36 -rw-rw-r-- 1 jenkins jenkins 328 Jul 12 22:12 .gitignore 22:16:36 -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 22:12 .golangci.yml 22:16:36 -rw-rw-r-- 1 jenkins jenkins 8556 Jul 12 22:12 Attribution.txt 22:16:36 -rw-rw-r-- 1 jenkins jenkins 6948 Jul 12 22:12 CHANGELOG.md 22:16:36 -rw-rw-r-- 1 jenkins jenkins 1518 Jul 12 22:12 Dockerfile 22:16:36 -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 22:12 GOVERNANCE.md 22:16:36 -rw-rw-r-- 1 jenkins jenkins 656 Jul 12 22:12 Jenkinsfile 22:16:36 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 12 22:12 LICENSE 22:16:36 -rw-rw-r-- 1 jenkins jenkins 2334 Jul 12 22:12 Makefile 22:16:36 -rw-rw-r-- 1 jenkins jenkins 620 Jul 12 22:12 OWNERS.md 22:16:36 -rw-rw-r-- 1 jenkins jenkins 9390 Jul 12 22:12 README.md 22:16:36 -rw-rw-r-- 1 jenkins jenkins 11 Jul 12 22:10 VERSION 22:16:36 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 22:12 bin 22:16:36 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 22:12 cmd 22:16:36 -rw-r--r-- 1 jenkins jenkins 7631 Jul 12 22:16 coverage.out 22:16:36 -rw-rw-r-- 1 jenkins jenkins 3301 Jul 12 22:12 go.mod 22:16:36 -rw-rw-r-- 1 jenkins jenkins 35532 Jul 12 22:12 go.sum 22:16:36 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 22:12 internal 22:16:36 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 22:12 snap 22:16:36 -rw-rw-r-- 1 jenkins jenkins 228 Jul 12 22:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:16:36 + 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=d0a0e99d902e45b7e17db09c4331e4d14954addb --label arch=arm64 --label version=2.2.1-dev.6 . 22:16:36 Sending build context to Docker daemon 2.801MB 22:16:36 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 22:16:36 Step 2/24 : FROM ${BASE} AS builder 22:16:36 ---> bddbbf4d7803 22:16:36 Step 3/24 : ARG MAKE='make build' 22:16:37 ---> Running in 1170c186f3c3 22:16:37 Removing intermediate container 1170c186f3c3 22:16:37 ---> 22681a6f3a5e 22:16:37 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:16:37 ---> Running in 1863bc6c28cf 22:16:37 Removing intermediate container 1863bc6c28cf 22:16:37 ---> 7eb2e8429efe 22:16:37 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 22:16:37 ---> Running in 73edc0058551 22:16:38 Removing intermediate container 73edc0058551 22:16:38 ---> 66b29f791c25 22:16:38 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:16:38 ---> Running in 2d3478661a79 22:16:40 Removing intermediate container 2d3478661a79 22:16:40 ---> 719f1ce8a56e 22:16:40 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:16:40 ---> Running in 3c8a5f886666 22:16:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:16:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:16:42 OK: 226 MiB in 55 packages 22:16:43 Removing intermediate container 3c8a5f886666 22:16:43 ---> f9c9e6e2168f 22:16:43 Step 8/24 : WORKDIR /device-snmp-go 22:16:43 ---> Running in 37533bc15705 22:16:43 Removing intermediate container 37533bc15705 22:16:43 ---> 4a4523a27397 22:16:43 Step 9/24 : COPY go.mod vendor* ./ 22:16:44 ---> 68983ec9b047 22:16:44 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:16:44 ---> Running in 41371fa7bf41 22:16:46 Removing intermediate container 41371fa7bf41 22:16:46 ---> 0ac92174166d 22:16:46 Step 11/24 : COPY . . 22:16:47 ---> 7501990b6b0d 22:16:47 Step 12/24 : RUN ${MAKE} 22:16:47 ---> Running in 727e820d6794 22:16:48 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.1-dev.11 -X github.com/edgexfoundry/device-snmp-go.Version=2.2.1-dev.6" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 22:19:10 Removing intermediate container 727e820d6794 22:19:10 ---> cbb90be81010 22:19:10 Step 13/24 : FROM alpine:3.16 22:19:10 3.16: Pulling from library/alpine 22:19:10 b3c136eddcbf: Already exists 22:19:10 Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c 22:19:10 Status: Downloaded newer image for alpine:3.16 22:19:10 ---> 6e30ab57aeee 22:19:10 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 22:19:10 ---> Running in 9a50283decb4 22:19:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:19:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:19:10 (1/6) Installing dumb-init (1.2.5-r1) 22:19:10 (2/6) Installing libgcc (11.2.1_git20220219-r2) 22:19:10 (3/6) Installing libsodium (1.0.18-r0) 22:19:10 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 22:19:10 (5/6) Installing libzmq (4.3.4-r0) 22:19:10 (6/6) Installing zeromq (4.3.4-r0) 22:19:10 Executing busybox-1.35.0-r13.trigger 22:19:10 OK: 8 MiB in 20 packages 22:19:10 Removing intermediate container 9a50283decb4 22:19:10 ---> 60f39ced1409 22:19:10 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 22:19:10 ---> 3a6cc8feef92 22:19:10 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 22:19:10 ---> 0c92c7b05923 22:19:10 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 22:19:10 ---> 6fd6076a94f0 22:19:10 Step 18/24 : EXPOSE 59993 22:19:10 ---> Running in a2906f568bb5 22:19:10 Removing intermediate container a2906f568bb5 22:19:10 ---> 555ad8dc4c7d 22:19:10 Step 19/24 : EXPOSE 161 22:19:10 ---> Running in 9d364ffa928a 22:19:10 Removing intermediate container 9d364ffa928a 22:19:10 ---> afa4c23f2f73 22:19:10 Step 20/24 : ENTRYPOINT ["/device-snmp"] 22:19:10 ---> Running in 19a7e095198b 22:19:10 Removing intermediate container 19a7e095198b 22:19:10 ---> 139af36c5bf5 22:19:10 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 22:19:10 ---> Running in 68acbe083790 22:19:10 Removing intermediate container 68acbe083790 22:19:10 ---> d357f206a243 22:19:10 Step 22/24 : LABEL arch=arm64 22:19:10 ---> Running in c9daa7546d36 22:19:10 Removing intermediate container c9daa7546d36 22:19:10 ---> ee49531b4696 22:19:10 Step 23/24 : LABEL git_sha=d0a0e99d902e45b7e17db09c4331e4d14954addb 22:19:10 ---> Running in 131b62f3530c 22:19:10 Removing intermediate container 131b62f3530c 22:19:10 ---> d8a16eb412d2 22:19:10 Step 24/24 : LABEL version=2.2.1-dev.6 22:19:10 ---> Running in f0e434c26ee4 22:19:10 Removing intermediate container f0e434c26ee4 22:19:10 ---> bc0b28d46377 22:19:10 [Warning] One or more build-args [ARCH] were not consumed 22:19:10 Successfully built bc0b28d46377 22:19:10 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 22:19:10 provisioning config files... 22:19:10 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/37@tmp/config467577251189468198tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:19:10 ---> docker-login.sh 22:19:10 nexus3.edgexfoundry.org:10001 22:19:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:11 Configure a credential helper to remove this warning. See 22:19:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:11 22:19:11 Login Succeeded 22:19:11 nexus3.edgexfoundry.org:10002 22:19:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:11 Configure a credential helper to remove this warning. See 22:19:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:11 22:19:11 Login Succeeded 22:19:11 nexus3.edgexfoundry.org:10003 22:19:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:12 Configure a credential helper to remove this warning. See 22:19:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:12 22:19:12 Login Succeeded 22:19:12 nexus3.edgexfoundry.org:10004 22:19:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:12 Configure a credential helper to remove this warning. See 22:19:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:12 22:19:12 Login Succeeded 22:19:12 docker.io 22:19:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:13 Configure a credential helper to remove this warning. See 22:19:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:13 22:19:13 Login Succeeded 22:19:13 ---> docker-login.sh ends [Pipeline] } 22:19:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:19:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:19:13 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 22:19:13 d0a0e99d902e45b7e17db09c4331e4d14954addb 22:19:13 latest 22:19:13 2.2.1-dev.6 22:19:13 d0a0e99d902e45b7e17db09c4331e4d14954addb-2.2.1-dev.6 22:19:13 main 22:19:13 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:14 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:d0a0e99d902e45b7e17db09c4331e4d14954addb [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:14 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:d0a0e99d902e45b7e17db09c4331e4d14954addb 22:19:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 22:19:14 f46041c98912: Preparing 22:19:14 50c2c81d512f: Preparing 22:19:14 57752724de1f: Preparing 22:19:14 8a2fcaff73f4: Preparing 22:19:14 dd565ff850e7: Preparing 22:19:14 dd565ff850e7: Layer already exists 22:19:14 50c2c81d512f: Pushed 22:19:14 f46041c98912: Pushed 22:19:15 8a2fcaff73f4: Pushed 22:19:19 57752724de1f: Pushed 22:19:20 d0a0e99d902e45b7e17db09c4331e4d14954addb: digest: sha256:93608d52078cf4bc12db56553f627bc07626bbfb47b6051a7bd69f391f1c729f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:20 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:20 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 22:19:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 22:19:20 f46041c98912: Preparing 22:19:20 50c2c81d512f: Preparing 22:19:20 57752724de1f: Preparing 22:19:20 8a2fcaff73f4: Preparing 22:19:20 dd565ff850e7: Preparing 22:19:20 57752724de1f: Layer already exists 22:19:20 50c2c81d512f: Layer already exists 22:19:21 f46041c98912: Layer already exists 22:19:21 dd565ff850e7: Layer already exists 22:19:21 8a2fcaff73f4: Layer already exists 22:19:21 latest: digest: sha256:93608d52078cf4bc12db56553f627bc07626bbfb47b6051a7bd69f391f1c729f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:21 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.1-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:21 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.1-dev.6 22:19:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 22:19:21 f46041c98912: Preparing 22:19:21 50c2c81d512f: Preparing 22:19:21 57752724de1f: Preparing 22:19:21 8a2fcaff73f4: Preparing 22:19:21 dd565ff850e7: Preparing 22:19:21 50c2c81d512f: Layer already exists 22:19:21 57752724de1f: Layer already exists 22:19:21 8a2fcaff73f4: Layer already exists 22:19:21 dd565ff850e7: Layer already exists 22:19:21 f46041c98912: Layer already exists 22:19:22 2.2.1-dev.6: digest: sha256:93608d52078cf4bc12db56553f627bc07626bbfb47b6051a7bd69f391f1c729f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:22 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:d0a0e99d902e45b7e17db09c4331e4d14954addb-2.2.1-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:22 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:d0a0e99d902e45b7e17db09c4331e4d14954addb-2.2.1-dev.6 22:19:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 22:19:22 f46041c98912: Preparing 22:19:22 50c2c81d512f: Preparing 22:19:22 57752724de1f: Preparing 22:19:22 8a2fcaff73f4: Preparing 22:19:22 dd565ff850e7: Preparing 22:19:22 dd565ff850e7: Layer already exists 22:19:22 8a2fcaff73f4: Layer already exists 22:19:22 50c2c81d512f: Layer already exists 22:19:22 f46041c98912: Layer already exists 22:19:22 57752724de1f: Layer already exists 22:19:23 d0a0e99d902e45b7e17db09c4331e4d14954addb-2.2.1-dev.6: digest: sha256:93608d52078cf4bc12db56553f627bc07626bbfb47b6051a7bd69f391f1c729f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:23 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:23 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 22:19:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 22:19:23 f46041c98912: Preparing 22:19:23 50c2c81d512f: Preparing 22:19:23 57752724de1f: Preparing 22:19:23 8a2fcaff73f4: Preparing 22:19:23 dd565ff850e7: Preparing 22:19:23 dd565ff850e7: Layer already exists 22:19:23 57752724de1f: Layer already exists 22:19:23 8a2fcaff73f4: Layer already exists 22:19:23 50c2c81d512f: Layer already exists 22:19:23 f46041c98912: Layer already exists 22:19:24 main: digest: sha256:93608d52078cf4bc12db56553f627bc07626bbfb47b6051a7bd69f391f1c729f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:19:24 ===================================================== [Pipeline] echo 22:19:24 taggedImages: 22:19:24 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:d0a0e99d902e45b7e17db09c4331e4d14954addb 22:19:24 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 22:19:24 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.1-dev.6 22:19:24 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:d0a0e99d902e45b7e17db09c4331e4d14954addb-2.2.1-dev.6 22:19:24 - 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 22:19:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:19:24 22:19:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:19:25 arm64: Pulling from edgex-lftools-log-publisher 22:19:25 8998bd30e6a1: Pulling fs layer 22:19:25 04944245beec: Pulling fs layer 22:19:25 699f458cf7ca: Pulling fs layer 22:19:25 765212b225bb: Pulling fs layer 22:19:25 f23df028b6ca: Pulling fs layer 22:19:25 d65c8cfc05b1: Pulling fs layer 22:19:25 2437ff75d9bd: Pulling fs layer 22:19:25 f23df028b6ca: Waiting 22:19:25 765212b225bb: Waiting 22:19:25 d65c8cfc05b1: Waiting 22:19:25 2437ff75d9bd: Waiting 22:19:25 04944245beec: Verifying Checksum 22:19:25 04944245beec: Download complete 22:19:25 765212b225bb: Verifying Checksum 22:19:25 765212b225bb: Download complete 22:19:25 f23df028b6ca: Download complete 22:19:25 d65c8cfc05b1: Verifying Checksum 22:19:25 d65c8cfc05b1: Download complete 22:19:25 699f458cf7ca: Verifying Checksum 22:19:25 699f458cf7ca: Download complete 22:19:25 8998bd30e6a1: Verifying Checksum 22:19:25 8998bd30e6a1: Download complete 22:19:28 2437ff75d9bd: Verifying Checksum 22:19:28 2437ff75d9bd: Download complete 22:19:30 8998bd30e6a1: Pull complete 22:19:30 04944245beec: Pull complete 22:19:32 699f458cf7ca: Pull complete 22:19:32 765212b225bb: Pull complete 22:19:33 f23df028b6ca: Pull complete 22:19:33 d65c8cfc05b1: Pull complete 22:19:48 2437ff75d9bd: Pull complete 22:19:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:19:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:19:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:19:49 prd-ubuntu20.04-docker-arm64-4c-16g-19779 does not seem to be running inside a container 22:19:49 $ 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/37 -v /w/workspace/device-snmp-go/37:/w/workspace/device-snmp-go/37:rw,z -v /w/workspace/device-snmp-go/37@tmp:/w/workspace/device-snmp-go/37@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:19:52 $ docker top e23b298f17f2d5d92474618d5777f9ef68be9f932832640011a24d9b8cd6936d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:19:53 ---> job-cost.sh 22:19:53 lf-activate-venv: SKIPPING 22:19:53 INFO: No Stack... 22:19:53 INFO: Retrieving Pricing Info for: v3-standard-4 22:19:54 INFO: Archiving Costs [Pipeline] sh 22:19:54 + cat /w/workspace/device-snmp-go/37/archives/cost.csv 22:19:54 + cut -d, -f6 [Pipeline] lock 22:19:55 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-37-stack-cost] 22:19:55 Resource [jenkins-edgexfoundry-device-snmp-go-main-37-stack-cost] did not exist. Created. 22:19:55 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-37-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:19:55 /w/workspace/device-snmp-go/37@tmp/durable-e209afb9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:19:56 + echo total: 0.10999999940395355 [Pipeline] stash 22:19:56 Warning: overwriting stash ‘stack-cost’ 22:19:56 Stashed 1 file(s) [Pipeline] } 22:19:56 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-37-stack-cost] [Pipeline] // lock [Pipeline] } 22:19:56 $ docker stop --time=1 e23b298f17f2d5d92474618d5777f9ef68be9f932832640011a24d9b8cd6936d 22:19:58 $ docker rm -f e23b298f17f2d5d92474618d5777f9ef68be9f932832640011a24d9b8cd6936d [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 22:19:58 provisioning config files... 22:19:58 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config9163549994044588063tmp [Pipeline] { [Pipeline] sh 22:19:58 + set +x 22:19:58 + curl -s https://codecov.io/bash 22:19:58 + bash -s -- 22:19:58 22:19:58 _____ _ 22:19:58 / ____| | | 22:19:58 | | ___ __| | ___ ___ _____ __ 22:19:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:19:58 | |___| (_) | (_| | __/ (_| (_) \ V / 22:19:58 \_____\___/ \__,_|\___|\___\___/ \_/ 22:19:58 Bash-1.0.6 22:19:58 22:19:58 22:19:58 ==> git version 2.25.1 found 22:19:58 ==> 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 22:19:58 Release-Date: 2020-01-08 22:19:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:19:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:19:58 ==> Jenkins CI detected. 22:19:58 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 22:19:58 project root: . 22:19:58 --> token set from env 22:19:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:19:58 ==> Running gcov in . (disable via -X gcov) 22:19:58 ==> Python coveragepy not found 22:19:58 ==> Searching for coverage reports in: 22:19:58 + . 22:19:58 -> Found 1 reports 22:19:58 ==> Detecting git/mercurial file structure 22:19:58 ==> Reading reports 22:19:58 + ./coverage.out bytes=7631 22:19:58 ==> Appending adjustments 22:19:58 https://docs.codecov.io/docs/fixing-reports 22:19:59 + Found adjustments 22:19:59 ==> Gzipping contents 22:19:59 4.0K /tmp/codecov.baKrKm.gz 22:19:59 ==> Uploading reports 22:19:59 url: https://codecov.io 22:19:59 query: branch=main&commit=d0a0e99d902e45b7e17db09c4331e4d14954addb&build=37&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F37%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:19:59 -> Pinging Codecov 22:19:59 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=d0a0e99d902e45b7e17db09c4331e4d14954addb&build=37&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F37%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:19:59 -> Uploading to 22:19:59 https://storage.googleapis.com/codecov/v4/raw/2022-07-12/6C56EA5C29638FB4528AC87E60AF5AE0/d0a0e99d902e45b7e17db09c4331e4d14954addb/cd3cd075-2262-4528-b40f-c04b64732c02.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220712%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220712T221959Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0b60ee70206675c3936d61b61bb6ec83ae86064c010b362949a9efbc85450f1d 22:19:59 % Total % Received % Xferd Average Speed Time Time Time Current 22:19:59 Dload Upload Total Spent Left Speed 22:19:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1603 0 0 100 1603 0 7935 --:--:-- --:--:-- --:--:-- 7896 100 1603 0 0 100 1603 0 5585 --:--:-- --:--:-- --:--:-- 5565 22:19:59 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/d0a0e99d902e45b7e17db09c4331e4d14954addb [Pipeline] } 22:19:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:19:59 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:19:59 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:20:00 22:20:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:20:00 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:20:00 df9b9388f04a: Pulling fs layer 22:20:00 52dc419b0ee2: Pulling fs layer 22:20:00 25bc292e5bac: Pulling fs layer 22:20:00 114826534d7a: Pulling fs layer 22:20:00 4657fd5d0bcf: Pulling fs layer 22:20:00 6ad1cebc031e: Pulling fs layer 22:20:00 8a3aa393b2d8: Pulling fs layer 22:20:00 4657fd5d0bcf: Waiting 22:20:00 114826534d7a: Waiting 22:20:00 8a3aa393b2d8: Waiting 22:20:00 25bc292e5bac: Verifying Checksum 22:20:00 25bc292e5bac: Download complete 22:20:00 52dc419b0ee2: Download complete 22:20:00 4657fd5d0bcf: Download complete 22:20:00 df9b9388f04a: Download complete 22:20:00 6ad1cebc031e: Verifying Checksum 22:20:00 df9b9388f04a: Pull complete 22:20:01 52dc419b0ee2: Pull complete 22:20:01 25bc292e5bac: Pull complete 22:20:01 114826534d7a: Verifying Checksum 22:20:01 114826534d7a: Download complete 22:20:01 8a3aa393b2d8: Verifying Checksum 22:20:01 8a3aa393b2d8: Download complete 22:20:05 114826534d7a: Pull complete 22:20:05 4657fd5d0bcf: Pull complete 22:20:05 6ad1cebc031e: Pull complete 22:20:08 8a3aa393b2d8: Pull complete 22:20:08 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 22:20:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:20:08 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:20:08 prd-ubuntu20.04-docker-8c-8g-19778 does not seem to be running inside a container 22:20:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 22:20:10 $ docker top b68f9d30ae8cd37e417e16791917c09ea567aafc57e9dee501436ac1adaa4321 -eo pid,comm [Pipeline] { [Pipeline] echo 22:20:10 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh 22:20:10 + set -o pipefail 22:20:10 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' 22:20:15 22:20:15 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 22:20:15 22:20:15 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/00f22400-6c34-4ef1-af91-ca8629acedde 22:20:15 22:20:15 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 22:20:15 22:20:15 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:20:15 22:20:15 22:20:15 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 22:20:15 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 22:20:15 $ docker stop --time=1 b68f9d30ae8cd37e417e16791917c09ea567aafc57e9dee501436ac1adaa4321 22:20:17 $ docker rm -f b68f9d30ae8cd37e417e16791917c09ea567aafc57e9dee501436ac1adaa4321 [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 22:20:18 + git log --format=format:%s -1 d0a0e99d902e45b7e17db09c4331e4d14954addb [Pipeline] sh 22:20:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:20:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:20:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:20:19 prd-ubuntu20.04-docker-8c-8g-19778 does not seem to be running inside a container 22:20:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:20:19 $ docker top c3eecf9f8b56d8671e6128183b92da5af1c4c0c7d425c57d7ad84c6afd5b38f5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:20:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:20:20 [ssh-agent] Looking for ssh-agent implementation... 22:20:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:20:20 $ docker exec c3eecf9f8b56d8671e6128183b92da5af1c4c0c7d425c57d7ad84c6afd5b38f5 ssh-agent 22:20:20 SSH_AUTH_SOCK=/tmp/ssh-rrGDx2djoJJw/agent.33 22:20:20 SSH_AGENT_PID=39 22:20:20 Running ssh-add (command line suppressed) 22:20:20 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3918063104797017189.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3918063104797017189.key) 22:20:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:20:20 + git semver tag 22:20:20 2022-07-12 22:20:20,922 [run_tag] DEBUG tag force:False 22:20:20 2022-07-12 22:20:20,922 [check_head_tag] DEBUG check head tag 22:20:20 2022-07-12 22:20:20,922 [execute] INFO git cat-file --batch-check 22:20:20 2022-07-12 22:20:20,923 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 22:20:20 2022-07-12 22:20:20,926 [execute] INFO git cat-file --batch 22:20:20 2022-07-12 22:20:20,927 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 22:20:20 2022-07-12 22:20:20,935 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 22:20:20 2022-07-12 22:20:20,935 [execute] INFO git tag -a v2.2.1-dev.6 -m v2.2.1-dev.6 22:20:20 2022-07-12 22:20:20,936 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.6', '-m', 'v2.2.1-dev.6'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 22:20:20 2022-07-12 22:20:20,941 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 22:20:20 2.2.1-dev.6 [Pipeline] } 22:20:21 $ docker exec --env ******** --env ******** c3eecf9f8b56d8671e6128183b92da5af1c4c0c7d425c57d7ad84c6afd5b38f5 ssh-agent -k 22:20:21 unset SSH_AUTH_SOCK; 22:20:21 unset SSH_AGENT_PID; 22:20:21 echo Agent pid 39 killed; 22:20:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:20:21 + git semver [Pipeline] } 22:20:21 $ docker stop --time=1 c3eecf9f8b56d8671e6128183b92da5af1c4c0c7d425c57d7ad84c6afd5b38f5 22:20:23 $ docker rm -f c3eecf9f8b56d8671e6128183b92da5af1c4c0c7d425c57d7ad84c6afd5b38f5 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:20:23 22:20:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:20:23 0.23.1-centos7: Pulling from edgex-lftools 22:20:23 ab5ef0e58194: Pulling fs layer 22:20:23 9712f1f96733: Pulling fs layer 22:20:23 63f879dbbcfc: Pulling fs layer 22:20:23 0d9ebad4ef96: Pulling fs layer 22:20:23 e9a5061849ea: Pulling fs layer 22:20:23 d747dcd14b5f: Pulling fs layer 22:20:23 2de7ff778b66: Pulling fs layer 22:20:23 e9a5061849ea: Waiting 22:20:23 d747dcd14b5f: Waiting 22:20:23 2de7ff778b66: Waiting 22:20:23 9712f1f96733: Download complete 22:20:24 63f879dbbcfc: Verifying Checksum 22:20:24 63f879dbbcfc: Download complete 22:20:24 e9a5061849ea: Verifying Checksum 22:20:24 e9a5061849ea: Download complete 22:20:24 d747dcd14b5f: Download complete 22:20:24 0d9ebad4ef96: Verifying Checksum 22:20:24 0d9ebad4ef96: Download complete 22:20:24 ab5ef0e58194: Verifying Checksum 22:20:24 ab5ef0e58194: Download complete 22:20:24 2de7ff778b66: Verifying Checksum 22:20:24 2de7ff778b66: Download complete 22:20:27 ab5ef0e58194: Pull complete 22:20:27 9712f1f96733: Pull complete 22:20:28 63f879dbbcfc: Pull complete 22:20:32 0d9ebad4ef96: Pull complete 22:20:32 e9a5061849ea: Pull complete 22:20:32 d747dcd14b5f: Pull complete 22:20:34 2de7ff778b66: Pull complete 22:20:34 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:20:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:20:34 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:20:34 prd-ubuntu20.04-docker-8c-8g-19778 does not seem to be running inside a container 22:20:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 22:20:36 $ docker top eb8ae7212e2c004a68d70f1c4c34a86866fc606c966695a32fbc1ed348dafc0d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:20:36 provisioning config files... 22:20:36 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config499647489392618071tmp 22:20:36 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6117816539465444124tmp 22:20:36 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6332914449512799468tmp [Pipeline] { [Pipeline] echo 22:20:36 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:20:36 ---> sigul-configuration.sh 22:20:36 gpg: directory `/root/.gnupg' created 22:20:36 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:20:36 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:20:36 gpg: keyring `/root/.gnupg/secring.gpg' created 22:20:36 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:20:36 gpg: CAST5 encrypted data 22:20:36 gpg: encrypted with 1 passphrase 22:20:36 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:20:37 + mkdir /home/jenkins 22:20:37 + mkdir /home/jenkins/sigul [Pipeline] sh 22:20:37 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 22:20:37 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:20:37 ---> sigul-install.sh 22:20:37 Sigul already installed; skipping installation. [Pipeline] sh 22:20:37 + git tag --list 22:20:37 1.0.0 22:20:37 v0.0.0 22:20:37 v1.1.0 22:20:37 v1.1.1 22:20:37 v1.2.2 22:20:37 v1.3.0 22:20:37 v1.3.1 22:20:37 v2.0.0 22:20:37 v2.1.0 22:20:37 v2.1.1 22:20:37 v2.1.1-dev.2 22:20:37 v2.1.1-dev.3 22:20:37 v2.2.0 22:20:37 v2.2.1-dev.1 22:20:37 v2.2.1-dev.2 22:20:37 v2.2.1-dev.3 22:20:37 v2.2.1-dev.4 22:20:37 v2.2.1-dev.5 22:20:37 v2.2.1-dev.6 [Pipeline] sh 22:20:38 + lftools sign git-tag v2.2.1-dev.6 22:20:38 Signing Git tag with Sigul... 22:20:38 Signing v2.2.1-dev.6 [Pipeline] echo 22:20:39 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:20:39 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:20:39 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:20:39 $ docker stop --time=1 eb8ae7212e2c004a68d70f1c4c34a86866fc606c966695a32fbc1ed348dafc0d 22:20:40 $ docker rm -f eb8ae7212e2c004a68d70f1c4c34a86866fc606c966695a32fbc1ed348dafc0d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:20:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:20:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:20:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:20:41 prd-ubuntu20.04-docker-8c-8g-19778 does not seem to be running inside a container 22:20:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:20:41 $ docker top 2fb89a620273591b072942850280416719504a9196fd010290d7411f1c76c97f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:20:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:20:41 [ssh-agent] Looking for ssh-agent implementation... 22:20:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:20:41 $ docker exec 2fb89a620273591b072942850280416719504a9196fd010290d7411f1c76c97f ssh-agent 22:20:42 SSH_AUTH_SOCK=/tmp/ssh-KVdwmZ3UoAE6/agent.33 22:20:42 SSH_AGENT_PID=39 22:20:42 Running ssh-add (command line suppressed) 22:20:42 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2736186922133497067.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2736186922133497067.key) 22:20:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:20:42 + git semver bump pre 22:20:42 2022-07-12 22:20:42,729 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 22:20:42 2022-07-12 22:20:42,729 [bump_version] DEBUG bumping version:2.2.1-dev.6 on axis:pre with prefix:dev 22:20:42 2022-07-12 22:20:42,729 [bump_version] DEBUG bumped version:2.2.1-dev.7 22:20:42 2022-07-12 22:20:42,729 [write_version] DEBUG write version:2.2.1-dev.7 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True 22:20:42 2022-07-12 22:20:42,729 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 22:20:42 2022-07-12 22:20:42,729 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 22:20:42 2022-07-12 22:20:42,732 [execute] INFO git cat-file --batch-check 22:20:42 2022-07-12 22:20:42,732 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:20:42 2022-07-12 22:20:42,737 [execute] INFO git cat-file --batch 22:20:42 2022-07-12 22:20:42,738 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:20:42 2022-07-12 22:20:42,742 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 22:20:42 2.2.1-dev.7 [Pipeline] } 22:20:42 $ docker exec --env ******** --env ******** 2fb89a620273591b072942850280416719504a9196fd010290d7411f1c76c97f ssh-agent -k 22:20:42 unset SSH_AUTH_SOCK; 22:20:42 unset SSH_AGENT_PID; 22:20:42 echo Agent pid 39 killed; 22:20:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:20:43 + git semver [Pipeline] } 22:20:43 $ docker stop --time=1 2fb89a620273591b072942850280416719504a9196fd010290d7411f1c76c97f 22:20:44 $ docker rm -f 2fb89a620273591b072942850280416719504a9196fd010290d7411f1c76c97f [Pipeline] // withDockerContainer [Pipeline] sh 22:20:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:20:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:20:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:20:45 prd-ubuntu20.04-docker-8c-8g-19778 does not seem to be running inside a container 22:20:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:20:45 $ docker top 9620fdd40e4608d6707b16a2703221aa67ec996c7e969c82f0108dec6a08c3a8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:20:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:20:46 [ssh-agent] Looking for ssh-agent implementation... 22:20:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:20:46 $ docker exec 9620fdd40e4608d6707b16a2703221aa67ec996c7e969c82f0108dec6a08c3a8 ssh-agent 22:20:46 SSH_AUTH_SOCK=/tmp/ssh-0QzTx9TLjIwd/agent.33 22:20:46 SSH_AGENT_PID=40 22:20:46 Running ssh-add (command line suppressed) 22:20:46 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_477202213350263894.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_477202213350263894.key) 22:20:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:20:46 + git semver push 22:20:47 2022-07-12 22:20:46,923 [run_push] DEBUG push 22:20:47 2022-07-12 22:20:46,924 [execute] INFO git cat-file --batch-check 22:20:47 2022-07-12 22:20:46,924 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:20:47 2022-07-12 22:20:46,928 [execute] INFO git rev-list 38f9b1c5d52a8198debb5de19db841c32bfdd94f -- 22:20:47 2022-07-12 22:20:46,929 [execute] DEBUG Popen(['git', 'rev-list', '38f9b1c5d52a8198debb5de19db841c32bfdd94f', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:20:47 2022-07-12 22:20:46,936 [execute] INFO git fetch -v origin 22:20:47 2022-07-12 22:20:46,937 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) 22:20:47 2022-07-12 22:20:47,418 [run_push] DEBUG no remote changes detected 22:20:47 2022-07-12 22:20:47,418 [execute] INFO git push origin semver 22:20:47 2022-07-12 22:20:47,419 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:20:48 2022-07-12 22:20:48,280 [run_push] DEBUG push all version tags 22:20:48 2022-07-12 22:20:48,280 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 22:20:48 2022-07-12 22:20:48,281 [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) 22:20:49 2022-07-12 22:20:48,992 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 22:20:49 2.2.1-dev.7 [Pipeline] } 22:20:49 $ docker exec --env ******** --env ******** 9620fdd40e4608d6707b16a2703221aa67ec996c7e969c82f0108dec6a08c3a8 ssh-agent -k 22:20:49 unset SSH_AUTH_SOCK; 22:20:49 unset SSH_AGENT_PID; 22:20:49 echo Agent pid 40 killed; 22:20:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:20:49 + git semver [Pipeline] } 22:20:49 $ docker stop --time=1 9620fdd40e4608d6707b16a2703221aa67ec996c7e969c82f0108dec6a08c3a8 22:20:51 $ docker rm -f 9620fdd40e4608d6707b16a2703221aa67ec996c7e969c82f0108dec6a08c3a8 [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 22:20:51 + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] 22:20:51 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 22:20:51 total 16 22:20:51 drwxr-xr-x 3 root root 4096 Jul 12 22:12 . 22:20:51 drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 22:20 .. 22:20:51 drwxr-xr-x 2 root root 4096 Jul 12 22:12 cost 22:20:51 -rw-r--r-- 1 root root 84 Jul 12 22:12 cost.csv 22:20:51 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives 22:20:51 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 22:20:51 total 16 22:20:51 drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 22:12 . 22:20:51 drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 22:20 .. 22:20:51 drwxr-xr-x 2 jenkins jenkins 4096 Jul 12 22:12 cost 22:20:51 -rw-r--r-- 1 jenkins jenkins 84 Jul 12 22:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:20:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:20:52 ---> package-listing.sh 22:20:52 ++ facter osfamily 22:20:52 ++ tr '[:upper:]' '[:lower:]' 22:20:53 + OS_FAMILY=debian 22:20:53 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 22:20:53 + START_PACKAGES=/tmp/packages_start.txt 22:20:53 + END_PACKAGES=/tmp/packages_end.txt 22:20:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:20:53 + PACKAGES=/tmp/packages_start.txt 22:20:53 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 22:20:53 + PACKAGES=/tmp/packages_end.txt 22:20:53 + case "${OS_FAMILY}" in 22:20:53 + dpkg -l 22:20:53 + grep '^ii' 22:20:53 + '[' -f /tmp/packages_start.txt ']' 22:20:53 + '[' -f /tmp/packages_end.txt ']' 22:20:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:20:53 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 22:20:53 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 22:20:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo 22:20:53 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 22:20:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:20:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:20:54 prd-ubuntu20.04-docker-8c-8g-19778 does not seem to be running inside a container 22:20:54 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:20:54 $ docker top 9ce9b1d5dc5497c5ee0ed4c7d6a4c66fb19907ded5af79c2e32261aa0de2b43a -eo pid,comm [Pipeline] { [Pipeline] sh 22:20:54 + touch /tmp/pre-build-complete [Pipeline] sh 22:20:54 + mkdir -p /var/log/sysstat [Pipeline] sh 22:20:55 + ls /var/log/sa-host 22:20:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:20:55 provisioning config files... 22:20:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config501817495474152208tmp [Pipeline] { [Pipeline] echo 22:20:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:20:55 ---> create-netrc.sh [Pipeline] } 22:20:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:20:56 ---> python-tools-install.sh [Pipeline] echo 22:20:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:20:56 ---> sudo-logs.sh 22:20:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:20:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:20:56 ---> job-cost.sh 22:20:56 lf-activate-venv: SKIPPING 22:20:56 DEBUG: total: 0.2199999988079071 22:20:56 INFO: Retrieving Stack Cost... 22:20:57 INFO: Retrieving Pricing Info for: v3-standard-8 22:20:57 INFO: Archiving Costs [Pipeline] echo 22:20:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:20:57 ---> logs-deploy.sh 22:20:57 lf-activate-venv: SKIPPING 22:20:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/37 22:20:57 INFO: archiving workspace using pattern(s): 22:20:58 Archives upload complete. 22:20:58 INFO: archiving logs to Nexus 22:20:59 ---> uname -a: 22:20:59 Linux prd-ubuntu20-04-docker-8c-8g-19778 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 22:20:59 22:20:59 22:20:59 ---> lscpu: 22:20:59 Architecture: x86_64 22:20:59 CPU op-mode(s): 32-bit, 64-bit 22:20:59 Byte Order: Little Endian 22:20:59 Address sizes: 40 bits physical, 48 bits virtual 22:20:59 CPU(s): 8 22:20:59 On-line CPU(s) list: 0-7 22:20:59 Thread(s) per core: 1 22:20:59 Core(s) per socket: 1 22:20:59 Socket(s): 8 22:20:59 NUMA node(s): 1 22:20:59 Vendor ID: AuthenticAMD 22:20:59 CPU family: 23 22:20:59 Model: 49 22:20:59 Model name: AMD EPYC-Rome Processor 22:20:59 Stepping: 0 22:20:59 CPU MHz: 2799.998 22:20:59 BogoMIPS: 5599.99 22:20:59 Virtualization: AMD-V 22:20:59 Hypervisor vendor: KVM 22:20:59 Virtualization type: full 22:20:59 L1d cache: 256 KiB 22:20:59 L1i cache: 256 KiB 22:20:59 L2 cache: 4 MiB 22:20:59 L3 cache: 128 MiB 22:20:59 NUMA node0 CPU(s): 0-7 22:20:59 Vulnerability Itlb multihit: Not affected 22:20:59 Vulnerability L1tf: Not affected 22:20:59 Vulnerability Mds: Not affected 22:20:59 Vulnerability Meltdown: Not affected 22:20:59 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 22:20:59 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 22:20:59 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 22:20:59 Vulnerability Srbds: Not affected 22:20:59 Vulnerability Tsx async abort: Not affected 22:20:59 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 22:20:59 22:20:59 22:20:59 ---> nproc: 22:20:59 8 22:20:59 22:20:59 22:20:59 ---> df -h: 22:20:59 Filesystem Size Used Avail Use% Mounted on 22:20:59 overlay 155G 12G 143G 8% / 22:20:59 tmpfs 64M 0 64M 0% /dev 22:20:59 tmpfs 16G 0 16G 0% /sys/fs/cgroup 22:20:59 shm 64M 0 64M 0% /dev/shm 22:20:59 /dev/vda1 155G 12G 143G 8% /facter-os 22:20:59 22:20:59 22:20:59 ---> sar -b -r -n DEV: 22:20:59 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-19778) 07/12/22 _x86_64_ (8 CPU) 22:20:59 22:20:59 22:10:02 LINUX RESTART (8 CPU) 22:20:59 22:20:59 22:11:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 22:20:59 22:12:01 215.05 1.32 213.73 0.00 24.67 62466.43 0.00 22:20:59 22:13:02 119.65 0.02 119.64 0.00 1.47 33617.99 0.00 22:20:59 22:14:01 1.64 0.00 1.64 0.00 0.00 21.43 0.00 22:20:59 22:15:01 1.42 0.00 1.42 0.00 0.00 17.46 0.00 22:20:59 22:16:01 1.07 0.02 1.05 0.00 0.13 11.60 0.00 22:20:59 22:17:01 1.25 0.02 1.23 0.00 0.13 16.13 0.00 22:20:59 22:18:01 1.10 0.00 1.10 0.00 0.00 13.06 0.00 22:20:59 22:19:01 1.38 0.00 1.38 0.00 0.00 17.06 0.00 22:20:59 22:20:01 2.77 0.10 2.67 0.00 10.26 104.65 0.00 22:20:59 Average: 38.11 0.16 37.95 0.00 4.04 10622.55 0.00 22:20:59 22:20:59 22:11:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 22:20:59 22:12:01 28409120 31728860 563616 1.71 161712 3372380 2020060 5.95 1270924 2756400 548 22:20:59 22:13:02 27699692 31762876 526464 1.60 171900 4045488 1802440 5.31 1283576 3389656 380 22:20:59 22:14:01 27701296 31764596 524672 1.60 171928 4045492 1802440 5.31 1282580 3389660 16 22:20:59 22:15:01 27702272 31765600 523572 1.59 171968 4045488 1802440 5.31 1281332 3389664 16 22:20:59 22:16:01 27702224 31765616 523500 1.59 172000 4045504 1802440 5.31 1281864 3389672 16 22:20:59 22:17:01 27710232 31773656 515392 1.57 172048 4045500 1802440 5.31 1273392 3389672 16 22:20:59 22:18:01 27710488 31774136 514744 1.57 172080 4045508 1802440 5.31 1272480 3389820 32 22:20:59 22:19:01 27710692 31774412 514408 1.56 172128 4045512 1802440 5.31 1272528 3389832 28 22:20:59 22:20:01 27457340 31733152 554764 1.69 172584 4250876 1957960 5.77 1305276 3594720 206276 22:20:59 Average: 27755928 31760323 529015 1.61 170928 3993528 1843900 5.43 1280439 3342122 23036 22:20:59 22:20:59 22:11:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 22:20:59 22:12:01 ens3 225.69 181.17 1154.44 82.82 0.00 0.00 0.00 0.00 22:20:59 22:12:01 docker0 122.30 147.99 9.49 1107.80 0.00 0.00 0.00 0.00 22:20:59 22:12:01 lo 0.27 0.27 0.03 0.03 0.00 0.00 0.00 0.00 22:20:59 22:13:02 ens3 194.07 155.15 2626.49 279.99 0.00 0.00 0.00 0.00 22:20:59 22:13:02 docker0 2.76 5.75 0.18 57.99 0.00 0.00 0.00 0.00 22:20:59 22:13:02 lo 7.46 7.46 0.72 0.72 0.00 0.00 0.00 0.00 22:20:59 22:14:01 ens3 0.05 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:20:59 22:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:20:59 22:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:20:59 22:15:01 ens3 0.25 0.13 0.01 0.01 0.00 0.00 0.00 0.00 22:20:59 22:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:20:59 22:15:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 22:20:59 22:16:01 ens3 0.82 0.17 0.22 0.13 0.00 0.00 0.00 0.00 22:20:59 22:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:20:59 22:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:20:59 22:17:01 ens3 0.53 0.30 0.27 0.20 0.00 0.00 0.00 0.00 22:20:59 22:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:20:59 22:17:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 22:20:59 22:18:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:20:59 22:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:20:59 22:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:20:59 22:19:01 ens3 0.15 0.12 0.01 0.01 0.00 0.00 0.00 0.00 22:20:59 22:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:20:59 22:19:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 22:20:59 22:20:01 ens3 117.28 68.71 3559.99 6.72 0.00 0.00 0.00 0.00 22:20:59 22:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:20:59 22:20:01 lo 1.07 1.07 0.10 0.10 0.00 0.00 0.00 0.00 22:20:59 Average: ens3 59.68 44.92 816.64 41.11 0.00 0.00 0.00 0.00 22:20:59 Average: docker0 13.72 16.87 1.06 127.94 0.00 0.00 0.00 0.00 22:20:59 Average: lo 1.05 1.05 0.10 0.10 0.00 0.00 0.00 0.00 22:20:59 22:20:59 22:20:59 ---> sar -P ALL: 22:20:59 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-19778) 07/12/22 _x86_64_ (8 CPU) 22:20:59 22:20:59 22:10:02 LINUX RESTART (8 CPU) 22:20:59 22:20:59 22:11:02 CPU %user %nice %system %iowait %steal %idle 22:20:59 22:12:01 all 26.18 0.00 6.50 1.51 0.08 65.73 22:20:59 22:12:01 0 27.65 0.00 6.01 0.75 0.09 65.50 22:20:59 22:12:01 1 26.83 0.00 6.03 0.96 0.09 66.09 22:20:59 22:12:01 2 23.26 0.00 7.21 0.57 0.07 68.90 22:20:59 22:12:01 3 25.73 0.00 7.61 4.28 0.10 62.28 22:20:59 22:12:01 4 25.64 0.00 6.12 0.38 0.05 67.81 22:20:59 22:12:01 5 25.76 0.00 6.36 0.29 0.09 67.51 22:20:59 22:12:01 6 27.13 0.00 6.33 4.44 0.09 62.02 22:20:59 22:12:01 7 27.40 0.00 6.34 0.43 0.09 65.74 22:20:59 22:13:02 all 19.88 0.00 4.25 0.83 0.05 74.99 22:20:59 22:13:02 0 18.75 0.00 4.76 0.05 0.05 76.39 22:20:59 22:13:02 1 20.61 0.00 4.34 1.03 0.05 73.98 22:20:59 22:13:02 2 18.34 0.00 3.93 0.64 0.05 77.03 22:20:59 22:13:02 3 20.78 0.00 4.40 2.12 0.05 72.65 22:20:59 22:13:02 4 20.31 0.00 3.82 0.07 0.05 75.75 22:20:59 22:13:02 5 19.22 0.00 4.56 2.22 0.05 73.95 22:20:59 22:13:02 6 20.28 0.00 4.03 0.02 0.03 75.64 22:20:59 22:13:02 7 20.74 0.00 4.15 0.52 0.05 74.54 22:20:59 22:14:01 all 0.19 0.00 0.01 0.01 0.00 99.78 22:20:59 22:14:01 0 0.03 0.00 0.03 0.07 0.00 99.86 22:20:59 22:14:01 1 0.03 0.00 0.02 0.00 0.00 99.95 22:20:59 22:14:01 2 0.00 0.00 0.00 0.00 0.00 100.00 22:20:59 22:14:01 3 0.00 0.00 0.00 0.00 0.00 100.00 22:20:59 22:14:01 4 0.02 0.00 0.00 0.00 0.02 99.97 22:20:59 22:14:01 5 0.02 0.00 0.02 0.00 0.00 99.97 22:20:59 22:14:01 6 0.00 0.00 0.00 0.00 0.00 100.00 22:20:59 22:14:01 7 1.44 0.00 0.02 0.00 0.00 98.54 22:20:59 22:15:01 all 0.03 0.00 0.01 0.00 0.00 99.95 22:20:59 22:15:01 0 0.03 0.00 0.00 0.02 0.00 99.95 22:20:59 22:15:01 1 0.05 0.00 0.00 0.02 0.00 99.93 22:20:59 22:15:01 2 0.03 0.00 0.03 0.00 0.00 99.93 22:20:59 22:15:01 3 0.02 0.00 0.00 0.00 0.00 99.98 22:20:59 22:15:01 4 0.03 0.00 0.02 0.00 0.00 99.95 22:20:59 22:15:01 5 0.05 0.00 0.02 0.00 0.00 99.93 22:20:59 22:15:01 6 0.00 0.00 0.00 0.00 0.00 100.00 22:20:59 22:15:01 7 0.03 0.00 0.03 0.00 0.02 99.92 22:20:59 22:16:01 all 0.01 0.00 0.01 0.01 0.00 99.97 22:20:59 22:16:01 0 0.00 0.00 0.00 0.00 0.00 100.00 22:20:59 22:16:01 1 0.02 0.00 0.03 0.03 0.02 99.90 22:20:59 22:16:01 2 0.00 0.00 0.00 0.00 0.00 100.00 22:20:59 22:16:01 3 0.00 0.00 0.00 0.00 0.02 99.98 22:20:59 22:16:01 4 0.02 0.00 0.02 0.00 0.00 99.97 22:20:59 22:16:01 5 0.03 0.00 0.02 0.02 0.00 99.93 22:20:59 22:16:01 6 0.00 0.00 0.00 0.00 0.00 100.00 22:20:59 22:16:01 7 0.00 0.00 0.00 0.00 0.00 100.00 22:20:59 22:17:01 all 0.03 0.00 0.02 0.00 0.01 99.94 22:20:59 22:17:01 0 0.02 0.00 0.03 0.02 0.00 99.93 22:20:59 22:17:01 1 0.03 0.00 0.03 0.02 0.02 99.90 22:20:59 22:17:01 2 0.03 0.00 0.03 0.00 0.02 99.92 22:20:59 22:17:01 3 0.03 0.00 0.02 0.00 0.00 99.95 22:20:59 22:17:01 4 0.00 0.00 0.02 0.00 0.00 99.98 22:20:59 22:17:01 5 0.02 0.00 0.02 0.00 0.02 99.95 22:20:59 22:17:01 6 0.02 0.00 0.00 0.00 0.02 99.97 22:20:59 22:17:01 7 0.08 0.00 0.03 0.00 0.00 99.88 22:20:59 22:18:01 all 0.01 0.00 0.01 0.00 0.00 99.97 22:20:59 22:18:01 0 0.00 0.00 0.00 0.02 0.00 99.98 22:20:59 22:18:01 1 0.03 0.00 0.03 0.02 0.00 99.92 22:20:59 22:18:01 2 0.00 0.00 0.00 0.00 0.00 100.00 22:20:59 22:18:01 3 0.02 0.00 0.00 0.00 0.00 99.98 22:20:59 22:18:01 4 0.00 0.00 0.02 0.00 0.00 99.98 22:20:59 22:18:01 5 0.03 0.00 0.00 0.00 0.00 99.97 22:20:59 22:18:01 6 0.00 0.00 0.02 0.00 0.00 99.98 22:20:59 22:18:01 7 0.02 0.00 0.02 0.00 0.00 99.97 22:20:59 22:19:01 all 0.05 0.00 0.01 0.01 0.00 99.92 22:20:59 22:19:01 0 0.08 0.00 0.02 0.03 0.00 99.87 22:20:59 22:19:01 1 0.02 0.00 0.02 0.03 0.02 99.92 22:20:59 22:19:01 2 0.02 0.00 0.00 0.00 0.00 99.98 22:20:59 22:19:01 3 0.02 0.00 0.00 0.00 0.00 99.98 22:20:59 22:19:01 4 0.00 0.00 0.05 0.00 0.00 99.95 22:20:59 22:19:01 5 0.08 0.00 0.00 0.00 0.00 99.92 22:20:59 22:19:01 6 0.02 0.00 0.02 0.00 0.00 99.97 22:20:59 22:19:01 7 0.15 0.00 0.02 0.00 0.02 99.82 22:20:59 22:20:01 all 0.57 0.00 0.23 0.02 0.00 99.18 22:20:59 22:20:01 0 0.50 0.00 0.25 0.02 0.02 99.22 22:20:59 22:20:01 1 0.32 0.00 0.25 0.10 0.00 99.33 22:20:59 22:20:01 2 0.38 0.00 0.37 0.00 0.00 99.25 22:20:59 22:20:01 3 0.40 0.00 0.32 0.00 0.00 99.28 22:20:59 22:20:01 4 0.23 0.00 0.12 0.00 0.00 99.65 22:20:59 22:20:01 5 0.47 0.00 0.18 0.00 0.00 99.35 22:20:59 22:20:01 6 0.42 0.00 0.23 0.02 0.00 99.33 22:20:59 22:20:01 7 1.80 0.00 0.15 0.02 0.00 98.04 22:20:59 Average: all 5.14 0.00 1.21 0.26 0.02 93.37 22:20:59 Average: 0 5.16 0.00 1.22 0.11 0.02 93.50 22:20:59 Average: 1 5.25 0.00 1.18 0.24 0.02 93.31 22:20:59 Average: 2 4.60 0.00 1.26 0.13 0.01 94.00 22:20:59 Average: 3 5.13 0.00 1.34 0.70 0.02 92.82 22:20:59 Average: 4 5.07 0.00 1.11 0.05 0.01 93.76 22:20:59 Average: 5 4.99 0.00 1.22 0.28 0.02 93.49 22:20:59 Average: 6 5.25 0.00 1.16 0.49 0.01 93.09 22:20:59 Average: 7 5.67 0.00 1.18 0.11 0.02 93.03 22:20:59 22:20:59 22:20:59