Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 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-ssh16527404861429636351.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh6876987454915159890.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh3361172423528923985.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh12485990136013091873.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10074959728721922176.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-29315 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 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 (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 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 (#190)" > git rev-list --no-walk fe7a4eb43542f16c84660f884d46e7cb5999737b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:04:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:04:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:04:16 ========================================================= 22:04:16 EdgeX Global Pipelines Version Info 22:04:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:04:17 ------------------- 22:04:17 stable info: 22:04:17 ------------------- 22:04:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:04:17 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 22:04:17 Message: update stable to v1.0.239 22:04:17 ------------------- 22:04:17 experimental info: 22:04:17 ------------------- 22:04:17 Commited By: **** collab-it+edgex@linuxfoundation.org 22:04:17 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 22:04:17 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:04:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 22:04:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 22:04:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:04:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:04:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:04:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 22:04:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:04:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:04:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:04:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:04:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:04:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 22:04:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:04:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:04:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:04:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:04:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:04:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:04:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:04:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:04:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:04:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:04:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:04:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:04:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:04:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:04:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:04:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 22:04:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 22:04:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 22:04:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 [Pipeline] echo 22:04:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1c0032f [Pipeline] echo 22:04:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:04:18 provisioning config files... 22:04:18 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8742686315730669847tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:04:18 ---> docker-login.sh 22:04:18 nexus3.edgexfoundry.org:10001 22:04:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:04:19 Configure a credential helper to remove this warning. See 22:04:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:04:19 22:04:19 Login Succeeded 22:04:19 nexus3.edgexfoundry.org:10002 22:04:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:04:19 Configure a credential helper to remove this warning. See 22:04:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:04:19 22:04:19 Login Succeeded 22:04:19 nexus3.edgexfoundry.org:10003 22:04:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:04:19 Configure a credential helper to remove this warning. See 22:04:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:04:19 22:04:19 Login Succeeded 22:04:19 nexus3.edgexfoundry.org:10004 22:04:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:04:19 Configure a credential helper to remove this warning. See 22:04:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:04:19 22:04:19 Login Succeeded 22:04:19 docker.io 22:04:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:04:19 Configure a credential helper to remove this warning. See 22:04:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:04:19 22:04:19 Login Succeeded 22:04:19 ---> docker-login.sh ends [Pipeline] } 22:04:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:04:20 + git rev-list -1 --merges 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17~1..1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 [Pipeline] echo 22:04:20 -----------> git rev-list -1 --merges 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17~1..1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 [false] [Pipeline] sh 22:04:20 + git log --format=format:%s -1 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 [Pipeline] echo 22:04:20 ========================================================= 22:04:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:04:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:04:20 + git log --format=format:%s -1 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 [Pipeline] echo 22:04:20 [semverPrep] GIT_COMMIT: 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 (#190) [Pipeline] echo 22:04:20 [semverPrep] This is not a build commit. [Pipeline] sh 22:04:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:04:21 + grep -v github /etc/ssh/ssh_known_hosts 22:04:21 + [ -e /tmp/ssh_known_hosts ] 22:04:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:04:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:04:21 + sudo tee -a /etc/ssh/ssh_known_hosts 22:04:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:04:21 22:04:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:04:21 0.1.4: Pulling from edgex-devops/py-git-semver 22:04:21 b85a868b505f: Pulling fs layer 22:04:21 e2be974225ed: Pulling fs layer 22:04:21 339a4e72a1f5: Pulling fs layer 22:04:21 988bab9f4d93: Pulling fs layer 22:04:21 1469e6f7b9e6: Pulling fs layer 22:04:21 eaf3925da568: Pulling fs layer 22:04:21 bab4dde63d76: Pulling fs layer 22:04:21 bde34c3a00c8: Pulling fs layer 22:04:21 b352a97aabf1: Pulling fs layer 22:04:21 4872d77fe225: Pulling fs layer 22:04:21 5851b861e8e6: Pulling fs layer 22:04:21 1469e6f7b9e6: Waiting 22:04:21 eaf3925da568: Waiting 22:04:21 bab4dde63d76: Waiting 22:04:21 bde34c3a00c8: Waiting 22:04:21 b352a97aabf1: Waiting 22:04:21 988bab9f4d93: Waiting 22:04:21 4872d77fe225: Waiting 22:04:21 e2be974225ed: Verifying Checksum 22:04:21 e2be974225ed: Download complete 22:04:21 988bab9f4d93: Verifying Checksum 22:04:21 988bab9f4d93: Download complete 22:04:22 1469e6f7b9e6: Verifying Checksum 22:04:22 1469e6f7b9e6: Download complete 22:04:22 eaf3925da568: Verifying Checksum 22:04:22 eaf3925da568: Download complete 22:04:22 339a4e72a1f5: Verifying Checksum 22:04:22 339a4e72a1f5: Download complete 22:04:22 bde34c3a00c8: Verifying Checksum 22:04:22 bde34c3a00c8: Download complete 22:04:22 b352a97aabf1: Download complete 22:04:22 4872d77fe225: Verifying Checksum 22:04:22 4872d77fe225: Download complete 22:04:22 5851b861e8e6: Verifying Checksum 22:04:22 5851b861e8e6: Download complete 22:04:22 b85a868b505f: Download complete 22:04:22 bab4dde63d76: Verifying Checksum 22:04:22 bab4dde63d76: Download complete 22:04:23 b85a868b505f: Pull complete 22:04:23 e2be974225ed: Pull complete 22:04:24 339a4e72a1f5: Pull complete 22:04:24 988bab9f4d93: Pull complete 22:04:24 1469e6f7b9e6: Pull complete 22:04:24 eaf3925da568: Pull complete 22:04:26 bab4dde63d76: Pull complete 22:04:26 bde34c3a00c8: Pull complete 22:04:26 b352a97aabf1: Pull complete 22:04:26 4872d77fe225: Pull complete 22:04:26 5851b861e8e6: Pull complete 22:04:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:04:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:04:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:04:26 prd-ubuntu20.04-docker-8c-8g-29315 does not seem to be running inside a container 22:04:26 $ 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:04:28 $ docker top 8922522986f166c4d5834d1bcc8d8339321c3528d1ec2430dead118673c580a3 -eo pid,comm 22:04:28 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:04:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:04:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:04:28 [ssh-agent] Looking for ssh-agent implementation... 22:04:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:04:28 $ docker exec 8922522986f166c4d5834d1bcc8d8339321c3528d1ec2430dead118673c580a3 ssh-agent 22:04:28 SSH_AUTH_SOCK=/tmp/ssh-wE2Q1CRU7UI2/agent.32 22:04:28 SSH_AGENT_PID=38 22:04:28 Running ssh-add (command line suppressed) 22:04:28 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1014285068279990385.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1014285068279990385.key) 22:04:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:04:28 + git tag --points-at HEAD [Pipeline] } 22:04:28 $ docker exec --env ******** --env ******** 8922522986f166c4d5834d1bcc8d8339321c3528d1ec2430dead118673c580a3 ssh-agent -k 22:04:28 unset SSH_AUTH_SOCK; 22:04:28 unset SSH_AGENT_PID; 22:04:28 echo Agent pid 38 killed; 22:04:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:04:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:04:29 [ssh-agent] Looking for ssh-agent implementation... 22:04:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:04:29 $ docker exec 8922522986f166c4d5834d1bcc8d8339321c3528d1ec2430dead118673c580a3 ssh-agent 22:04:29 SSH_AUTH_SOCK=/tmp/ssh-eT9nLcIQQVI3/agent.71 22:04:29 SSH_AGENT_PID=78 22:04:29 Running ssh-add (command line suppressed) 22:04:29 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8758457989422686040.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8758457989422686040.key) 22:04:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:04:29 + git semver init 22:04:30 2022-09-15 22:04:29,897 [run_init] DEBUG init version:0.0.0 force:False 22:04:30 2022-09-15 22:04:29,898 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver 22:04:30 2022-09-15 22:04:29,898 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver 22:04:30 2022-09-15 22:04:29,898 [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:04:30 2022-09-15 22:04:30,777 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude 22:04:30 2022-09-15 22:04:30,778 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False 22:04:30 2022-09-15 22:04:30,778 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 22:04:30 2022-09-15 22:04:30,778 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 22:04:30 2.3.0-dev.12 [Pipeline] } 22:04:30 $ docker exec --env ******** --env ******** 8922522986f166c4d5834d1bcc8d8339321c3528d1ec2430dead118673c580a3 ssh-agent -k 22:04:31 unset SSH_AUTH_SOCK; 22:04:31 unset SSH_AGENT_PID; 22:04:31 echo Agent pid 78 killed; 22:04:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:04:31 + git semver [Pipeline] } 22:04:31 $ docker stop --time=1 8922522986f166c4d5834d1bcc8d8339321c3528d1ec2430dead118673c580a3 22:04:32 $ docker rm -f 8922522986f166c4d5834d1bcc8d8339321c3528d1ec2430dead118673c580a3 [Pipeline] // withDockerContainer [Pipeline] sh 22:04:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:04:33 Stashed 1 file(s) [Pipeline] echo 22:04:33 [edgeXSemver]: initialized semver on version 2.3.0-dev.12 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:04:33 provisioning config files... 22:04:33 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1754423752022691462tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:04:34 ---> docker-login.sh 22:04:34 nexus3.edgexfoundry.org:10001 22:04:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:04:34 Configure a credential helper to remove this warning. See 22:04:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:04:34 22:04:34 Login Succeeded 22:04:34 nexus3.edgexfoundry.org:10002 22:04:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:04:34 Configure a credential helper to remove this warning. See 22:04:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:04:34 22:04:34 Login Succeeded 22:04:34 nexus3.edgexfoundry.org:10003 22:04:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:04:34 Configure a credential helper to remove this warning. See 22:04:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:04:34 22:04:34 Login Succeeded 22:04:34 nexus3.edgexfoundry.org:10004 22:04:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:04:34 Configure a credential helper to remove this warning. See 22:04:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:04:34 22:04:34 Login Succeeded 22:04:34 docker.io 22:04:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:04:35 Configure a credential helper to remove this warning. See 22:04:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:04:35 22:04:35 Login Succeeded 22:04:35 ---> docker-login.sh ends [Pipeline] } 22:04:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:04:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:04:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:04:35 ========================================================= 22:04:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 22:04:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:35 + 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:04:35 Sending build context to Docker daemon 5.457MB 22:04:35 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 22:04:35 Step 2/12 : FROM ${BASE} AS builder 22:04:35 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 22:04:35 2408cc74d12b: Pulling fs layer 22:04:35 ea60b727a1ce: Pulling fs layer 22:04:35 30c4a7721957: Pulling fs layer 22:04:35 370296b7ddb6: Pulling fs layer 22:04:35 7c6cee850709: Pulling fs layer 22:04:35 39a5fcdaea64: Pulling fs layer 22:04:35 d94ebbe4e438: Pulling fs layer 22:04:35 bcfd1f05c69d: Pulling fs layer 22:04:35 59ccb84bbe0f: Pulling fs layer 22:04:35 39a5fcdaea64: Waiting 22:04:35 d94ebbe4e438: Waiting 22:04:35 bcfd1f05c69d: Waiting 22:04:35 370296b7ddb6: Waiting 22:04:35 59ccb84bbe0f: Waiting 22:04:35 7c6cee850709: Waiting 22:04:35 30c4a7721957: Verifying Checksum 22:04:35 30c4a7721957: Download complete 22:04:35 ea60b727a1ce: Verifying Checksum 22:04:35 ea60b727a1ce: Download complete 22:04:35 7c6cee850709: Verifying Checksum 22:04:35 7c6cee850709: Download complete 22:04:35 39a5fcdaea64: Verifying Checksum 22:04:35 39a5fcdaea64: Download complete 22:04:35 2408cc74d12b: Verifying Checksum 22:04:35 2408cc74d12b: Download complete 22:04:35 2408cc74d12b: Pull complete 22:04:36 d94ebbe4e438: Download complete 22:04:36 ea60b727a1ce: Pull complete 22:04:36 30c4a7721957: Pull complete 22:04:36 bcfd1f05c69d: Verifying Checksum 22:04:36 bcfd1f05c69d: Download complete 22:04:36 59ccb84bbe0f: Verifying Checksum 22:04:36 59ccb84bbe0f: Download complete 22:04:36 370296b7ddb6: Verifying Checksum 22:04:36 370296b7ddb6: Download complete 22:04:41 370296b7ddb6: Pull complete 22:04:41 7c6cee850709: Pull complete 22:04:41 39a5fcdaea64: Pull complete 22:04:41 d94ebbe4e438: Pull complete 22:04:42 bcfd1f05c69d: Pull complete 22:04:43 59ccb84bbe0f: Pull complete 22:04:43 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 22:04:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 22:04:43 ---> a4fb48ad2a94 22:04:43 Step 3/12 : ARG MAKE='make build' 22:04:44 ---> Running in 2e9ef67066f2 22:04:44 Removing intermediate container 2e9ef67066f2 22:04:44 ---> 200b19cb632e 22:04:44 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:04:44 ---> Running in 986c85d3147c 22:04:45 Removing intermediate container 986c85d3147c 22:04:45 ---> dc0014730466 22:04:45 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 22:04:45 ---> Running in 1f7e8f995e40 22:04:45 Removing intermediate container 1f7e8f995e40 22:04:45 ---> 65b5745c81ce 22:04:45 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:04:45 ---> Running in 095b407b3633 22:04:45 Removing intermediate container 095b407b3633 22:04:45 ---> 8ec5ded7aa0e 22:04:45 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:04:46 ---> Running in e642ef6448d3 22:04:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:04:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:04:47 (1/4) Installing openssh-keygen (9.0_p1-r2) 22:04:47 (2/4) Installing libedit (20210910.3.1-r0) 22:04:47 (3/4) Installing openssh-client-common (9.0_p1-r2) 22:04:47 (4/4) Installing openssh-client-default (9.0_p1-r2) 22:04:47 Executing busybox-1.35.0-r13.trigger 22:04:47 OK: 216 MiB in 55 packages 22:04:48 Removing intermediate container e642ef6448d3 22:04:48 ---> d704d0686a23 22:04:48 Step 8/12 : WORKDIR /device-snmp-go 22:04:48 ---> Running in 768d1d317d58 22:04:48 Removing intermediate container 768d1d317d58 22:04:48 ---> 70d4950f7b82 22:04:48 Step 9/12 : COPY go.mod vendor* ./ 22:04:48 ---> 5e6e38c11836 22:04:48 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:04:48 ---> Running in e89f272288c9 22:04:48 Still waiting to schedule task 22:04:48 ‘prd-ubuntu20.04-docker-arm64-4c-16g-29313’ is offline 22:05:03 Removing intermediate container e89f272288c9 22:05:03 ---> 1e59f5651d51 22:05:03 Step 11/12 : COPY . . 22:05:03 ---> 6f80dd01404a 22:05:03 Step 12/12 : RUN ${MAKE} 22:05:03 ---> Running in 99fb80aa0310 22:05:03 noop 22:05:04 Removing intermediate container 99fb80aa0310 22:05:04 ---> e7cbc7127f42 22:05:04 Successfully built e7cbc7127f42 22:05:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:04 + docker inspect -f . ci-base-image-x86_64 22:05:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:05:04 prd-ubuntu20.04-docker-8c-8g-29315 does not seem to be running inside a container 22:05:04 $ 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:05:05 $ docker top 551c957862cd1e51a2984536c67ff1962ac9a6bc41d2b856837c3199fbf7ded8 -eo pid,comm [Pipeline] { [Pipeline] sh 22:05:05 + go version 22:05:05 go version go1.18.3 linux/amd64 [Pipeline] } 22:05:05 $ docker stop --time=1 551c957862cd1e51a2984536c67ff1962ac9a6bc41d2b856837c3199fbf7ded8 22:05:06 $ docker rm -f 551c957862cd1e51a2984536c67ff1962ac9a6bc41d2b856837c3199fbf7ded8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:07 + docker inspect -f . ci-base-image-x86_64 22:05:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:05:07 prd-ubuntu20.04-docker-8c-8g-29315 does not seem to be running inside a container 22:05:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:05:07 $ docker top 1dd045589f617d299ca34c980db0b8098e5ba50d0bc17a85d9295bdea7c8ca39 -eo pid,comm [Pipeline] { [Pipeline] sh 22:05:08 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh 22:05:08 + make test 22:05:08 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 22:05:09 ? github.com/edgexfoundry/device-snmp-go [no test files] 22:05:19 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 22:05:19 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.008s coverage: 0.0% of statements 22:05:24 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:05:24 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:05:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:05:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:05:28 ./bin/test-attribution-txt.sh 22:05:28 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 22:05:28 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 22:05:28 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 22:05:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:05:28 $ docker stop --time=1 1dd045589f617d299ca34c980db0b8098e5ba50d0bc17a85d9295bdea7c8ca39 22:05:30 $ docker rm -f 1dd045589f617d299ca34c980db0b8098e5ba50d0bc17a85d9295bdea7c8ca39 [Pipeline] // withDockerContainer [Pipeline] sh 22:05:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:05:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:05:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:05:31 + ls -al . 22:05:31 total 172 22:05:31 drwxrwxr-x 9 jenkins jenkins 4096 Sep 15 22:05 . 22:05:31 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 22:04 .. 22:05:31 -rw-rw-r-- 1 jenkins jenkins 6 Sep 15 22:04 .dockerignore 22:05:31 drwxrwxr-x 8 jenkins jenkins 4096 Sep 15 22:05 .git 22:05:31 drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 22:04 .github 22:05:31 -rw-rw-r-- 1 jenkins jenkins 328 Sep 15 22:04 .gitignore 22:05:31 -rw-rw-r-- 1 jenkins jenkins 41 Sep 15 22:04 .golangci.yml 22:05:31 drwxr-xr-x 3 jenkins jenkins 4096 Sep 15 22:04 .semver 22:05:31 -rw-rw-r-- 1 jenkins jenkins 8556 Sep 15 22:04 Attribution.txt 22:05:31 -rw-rw-r-- 1 jenkins jenkins 6948 Sep 15 22:04 CHANGELOG.md 22:05:31 -rw-rw-r-- 1 jenkins jenkins 1518 Sep 15 22:04 Dockerfile 22:05:31 -rw-rw-r-- 1 jenkins jenkins 677 Sep 15 22:04 GOVERNANCE.md 22:05:31 -rw-rw-r-- 1 jenkins jenkins 656 Sep 15 22:04 Jenkinsfile 22:05:31 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 15 22:04 LICENSE 22:05:31 -rw-rw-r-- 1 jenkins jenkins 2334 Sep 15 22:04 Makefile 22:05:31 -rw-rw-r-- 1 jenkins jenkins 620 Sep 15 22:04 OWNERS.md 22:05:31 -rw-rw-r-- 1 jenkins jenkins 9390 Sep 15 22:04 README.md 22:05:31 -rw-rw-r-- 1 jenkins jenkins 12 Sep 15 22:04 VERSION 22:05:31 drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 22:04 bin 22:05:31 drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 22:04 cmd 22:05:31 -rw-r--r-- 1 jenkins jenkins 7631 Sep 15 22:05 coverage.out 22:05:31 -rw-rw-r-- 1 jenkins jenkins 3439 Sep 15 22:04 go.mod 22:05:31 -rw-rw-r-- 1 jenkins jenkins 36897 Sep 15 22:04 go.sum 22:05:31 drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 22:04 internal 22:05:31 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 22:04 snap 22:05:31 -rw-rw-r-- 1 jenkins jenkins 228 Sep 15 22:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:31 + 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=1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 --label arch=amd64 --label version=2.3.0-dev.12 . 22:05:31 Sending build context to Docker daemon 5.466MB 22:05:31 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 22:05:31 Step 2/24 : FROM ${BASE} AS builder 22:05:31 ---> e7cbc7127f42 22:05:31 Step 3/24 : ARG MAKE='make build' 22:05:31 ---> Running in 5d26425668d2 22:05:32 Removing intermediate container 5d26425668d2 22:05:32 ---> e201d41ac757 22:05:32 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:05:32 ---> Running in 68295e10d3d2 22:05:32 Removing intermediate container 68295e10d3d2 22:05:32 ---> 2646d04409a9 22:05:32 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 22:05:32 ---> Running in 3f1cb9c1a03b 22:05:32 Removing intermediate container 3f1cb9c1a03b 22:05:32 ---> 496cae623f19 22:05:32 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:05:32 ---> Running in 11db2f0feda8 22:05:32 Removing intermediate container 11db2f0feda8 22:05:32 ---> 67e0cef3206b 22:05:32 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:05:32 ---> Running in 669f92acc49a 22:05:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:05:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:05:34 OK: 216 MiB in 55 packages 22:05:34 Removing intermediate container 669f92acc49a 22:05:34 ---> 26b30a7cd6a2 22:05:34 Step 8/24 : WORKDIR /device-snmp-go 22:05:34 ---> Running in a23cbc44c614 22:05:34 Removing intermediate container a23cbc44c614 22:05:34 ---> 4c5bcfec654f 22:05:34 Step 9/24 : COPY go.mod vendor* ./ 22:05:34 ---> 9958f3d7e2b7 22:05:34 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:05:34 ---> Running in dab8f38491a5 22:05:35 Removing intermediate container dab8f38491a5 22:05:35 ---> e86ec5882b0b 22:05:35 Step 11/24 : COPY . . 22:05:35 ---> 655b321e0167 22:05:35 Step 12/24 : RUN ${MAKE} 22:05:35 ---> Running in 76dd536d05d2 22:05:36 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.21 -X github.com/edgexfoundry/device-snmp-go.Version=2.3.0-dev.12" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 22:05:57 Removing intermediate container 76dd536d05d2 22:05:57 ---> deec94a0c849 22:05:57 Step 13/24 : FROM alpine:3.16 22:05:57 3.16: Pulling from library/alpine 22:05:57 213ec9aee27d: Pulling fs layer 22:05:57 213ec9aee27d: Verifying Checksum 22:05:57 213ec9aee27d: Download complete 22:05:57 213ec9aee27d: Pull complete 22:05:57 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 22:05:57 Status: Downloaded newer image for alpine:3.16 22:05:57 ---> 9c6f07244728 22:05:57 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 22:05:57 ---> Running in 9a66894c0d35 22:05:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:05:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:05:57 (1/6) Installing dumb-init (1.2.5-r1) 22:05:57 (2/6) Installing libgcc (11.2.1_git20220219-r2) 22:05:57 (3/6) Installing libsodium (1.0.18-r0) 22:05:57 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 22:05:57 (5/6) Installing libzmq (4.3.4-r0) 22:05:57 (6/6) Installing zeromq (4.3.4-r0) 22:05:57 Executing busybox-1.35.0-r17.trigger 22:05:57 OK: 8 MiB in 20 packages 22:05:57 Removing intermediate container 9a66894c0d35 22:05:57 ---> 6f8f2e5d24fd 22:05:57 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 22:05:58 ---> 2820f5b0b599 22:05:58 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 22:05:58 ---> f2b4a89d6ce1 22:05:58 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 22:05:58 ---> 2b910f5130c7 22:05:58 Step 18/24 : EXPOSE 59993 22:05:58 ---> Running in 6dec6b3942e0 22:05:58 Removing intermediate container 6dec6b3942e0 22:05:58 ---> 240156844cb8 22:05:58 Step 19/24 : EXPOSE 161 22:05:58 ---> Running in 6cb242f1b76f 22:05:59 Removing intermediate container 6cb242f1b76f 22:05:59 ---> e6ac49c27530 22:05:59 Step 20/24 : ENTRYPOINT ["/device-snmp"] 22:05:59 ---> Running in 6ffbfae188c5 22:05:59 Removing intermediate container 6ffbfae188c5 22:05:59 ---> 5c0debc03972 22:05:59 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 22:05:59 ---> Running in b0a888e65a42 22:05:59 Removing intermediate container b0a888e65a42 22:05:59 ---> 12dd079cdc88 22:05:59 Step 22/24 : LABEL arch=amd64 22:05:59 ---> Running in c98f8aa3595c 22:05:59 Removing intermediate container c98f8aa3595c 22:05:59 ---> 022bd6324c3f 22:05:59 Step 23/24 : LABEL git_sha=1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 22:05:59 ---> Running in 472fff422741 22:05:59 Removing intermediate container 472fff422741 22:05:59 ---> 069b8a2e127c 22:05:59 Step 24/24 : LABEL version=2.3.0-dev.12 22:05:59 ---> Running in 8a6fc1ecb9e1 22:05:59 Removing intermediate container 8a6fc1ecb9e1 22:05:59 ---> dc8d6e3e34c6 22:05:59 [Warning] One or more build-args [ARCH] were not consumed 22:05:59 Successfully built dc8d6e3e34c6 22:05:59 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:05:59 provisioning config files... 22:05:59 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7564388008426182212tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:06:00 ---> docker-login.sh 22:06:00 nexus3.edgexfoundry.org:10001 22:06:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:06:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:06:00 Configure a credential helper to remove this warning. See 22:06:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:06:00 22:06:00 Login Succeeded 22:06:00 nexus3.edgexfoundry.org:10002 22:06:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:06:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:06:00 Configure a credential helper to remove this warning. See 22:06:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:06:00 22:06:00 Login Succeeded 22:06:00 nexus3.edgexfoundry.org:10003 22:06:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:06:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:06:00 Configure a credential helper to remove this warning. See 22:06:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:06:00 22:06:00 Login Succeeded 22:06:00 nexus3.edgexfoundry.org:10004 22:06:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:06:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:06:00 Configure a credential helper to remove this warning. See 22:06:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:06:00 22:06:00 Login Succeeded 22:06:00 docker.io 22:06:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:06:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:06:00 Configure a credential helper to remove this warning. See 22:06:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:06:00 22:06:00 Login Succeeded 22:06:00 ---> docker-login.sh ends [Pipeline] } 22:06:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:06:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:06:00 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 22:06:00 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 22:06:00 latest 22:06:00 2.3.0-dev.12 22:06:00 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17-2.3.0-dev.12 22:06:00 main 22:06:00 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:06:01 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:06:01 + docker push nexus3.edgexfoundry.org:10004/device-snmp:1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 22:06:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 22:06:01 eb52dd962287: Preparing 22:06:01 244515274361: Preparing 22:06:01 2fe86c5f1b6f: Preparing 22:06:01 c8e76c20e7ed: Preparing 22:06:01 994393dc58e7: Preparing 22:06:01 994393dc58e7: Layer already exists 22:06:01 244515274361: Pushed 22:06:01 eb52dd962287: Pushed 22:06:01 c8e76c20e7ed: Pushed 22:06:04 2fe86c5f1b6f: Pushed 22:06:04 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17: digest: sha256:07dc5b8094bf62cfed33eb70904ebee2549124e2cd004465fcdcba5a625d7b09 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:06:04 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:06:04 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 22:06:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 22:06:04 eb52dd962287: Preparing 22:06:04 244515274361: Preparing 22:06:04 2fe86c5f1b6f: Preparing 22:06:04 c8e76c20e7ed: Preparing 22:06:04 994393dc58e7: Preparing 22:06:04 994393dc58e7: Layer already exists 22:06:04 2fe86c5f1b6f: Layer already exists 22:06:04 244515274361: Layer already exists 22:06:04 c8e76c20e7ed: Layer already exists 22:06:04 eb52dd962287: Layer already exists 22:06:04 latest: digest: sha256:07dc5b8094bf62cfed33eb70904ebee2549124e2cd004465fcdcba5a625d7b09 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:06:05 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:06:05 + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.12 22:06:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 22:06:05 eb52dd962287: Preparing 22:06:05 244515274361: Preparing 22:06:05 2fe86c5f1b6f: Preparing 22:06:05 c8e76c20e7ed: Preparing 22:06:05 994393dc58e7: Preparing 22:06:05 244515274361: Layer already exists 22:06:05 2fe86c5f1b6f: Layer already exists 22:06:05 c8e76c20e7ed: Layer already exists 22:06:05 eb52dd962287: Layer already exists 22:06:05 994393dc58e7: Layer already exists 22:06:05 2.3.0-dev.12: digest: sha256:07dc5b8094bf62cfed33eb70904ebee2549124e2cd004465fcdcba5a625d7b09 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:06:05 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17-2.3.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:06:06 + docker push nexus3.edgexfoundry.org:10004/device-snmp:1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17-2.3.0-dev.12 22:06:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 22:06:06 eb52dd962287: Preparing 22:06:06 244515274361: Preparing 22:06:06 2fe86c5f1b6f: Preparing 22:06:06 c8e76c20e7ed: Preparing 22:06:06 994393dc58e7: Preparing 22:06:06 c8e76c20e7ed: Layer already exists 22:06:06 244515274361: Layer already exists 22:06:06 2fe86c5f1b6f: Layer already exists 22:06:06 eb52dd962287: Layer already exists 22:06:06 994393dc58e7: Layer already exists 22:06:06 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17-2.3.0-dev.12: digest: sha256:07dc5b8094bf62cfed33eb70904ebee2549124e2cd004465fcdcba5a625d7b09 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:06:06 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:06:06 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 22:06:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 22:06:06 eb52dd962287: Preparing 22:06:06 244515274361: Preparing 22:06:06 2fe86c5f1b6f: Preparing 22:06:06 c8e76c20e7ed: Preparing 22:06:06 994393dc58e7: Preparing 22:06:06 994393dc58e7: Layer already exists 22:06:06 eb52dd962287: Layer already exists 22:06:06 c8e76c20e7ed: Layer already exists 22:06:06 2fe86c5f1b6f: Layer already exists 22:06:06 244515274361: Layer already exists 22:06:06 main: digest: sha256:07dc5b8094bf62cfed33eb70904ebee2549124e2cd004465fcdcba5a625d7b09 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:06:07 ===================================================== [Pipeline] echo 22:06:07 taggedImages: 22:06:07 - nexus3.edgexfoundry.org:10004/device-snmp:1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 22:06:07 - nexus3.edgexfoundry.org:10004/device-snmp:latest 22:06:07 - nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.12 22:06:07 - nexus3.edgexfoundry.org:10004/device-snmp:1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17-2.3.0-dev.12 22:06:07 - nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:06:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:06:07 22:06:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:06:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:06:07 latest: Pulling from edgex-lftools-log-publisher 22:06:07 5eb5b503b376: Pulling fs layer 22:06:07 5c69ac0246d0: Pulling fs layer 22:06:07 ec43610c2a17: Pulling fs layer 22:06:07 3a2ae6a8a46f: Pulling fs layer 22:06:07 33b1e0a273af: Pulling fs layer 22:06:07 5d3b04190fa2: Pulling fs layer 22:06:07 2f39f015ded8: Pulling fs layer 22:06:07 3a2ae6a8a46f: Waiting 22:06:07 5d3b04190fa2: Waiting 22:06:07 33b1e0a273af: Waiting 22:06:07 5c69ac0246d0: Download complete 22:06:07 3a2ae6a8a46f: Verifying Checksum 22:06:07 3a2ae6a8a46f: Download complete 22:06:07 33b1e0a273af: Verifying Checksum 22:06:07 33b1e0a273af: Download complete 22:06:07 5d3b04190fa2: Download complete 22:06:07 ec43610c2a17: Verifying Checksum 22:06:07 ec43610c2a17: Download complete 22:06:07 5eb5b503b376: Verifying Checksum 22:06:07 5eb5b503b376: Download complete 22:06:08 2f39f015ded8: Download complete 22:06:09 5eb5b503b376: Pull complete 22:06:09 5c69ac0246d0: Pull complete 22:06:09 ec43610c2a17: Pull complete 22:06:09 3a2ae6a8a46f: Pull complete 22:06:09 33b1e0a273af: Pull complete 22:06:10 5d3b04190fa2: Pull complete 22:06:14 2f39f015ded8: Pull complete 22:06:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:06:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:06:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:06:14 prd-ubuntu20.04-docker-8c-8g-29315 does not seem to be running inside a container 22:06:14 $ 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:06:16 $ docker top 61031ef6fd926152d71cafe67ad33b4715206f16842847b08efc0efc5838dccd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:06:16 ---> job-cost.sh 22:06:16 lf-activate-venv: SKIPPING 22:06:16 INFO: No Stack... 22:06:16 INFO: Retrieving Pricing Info for: v3-standard-8 22:06:17 INFO: Archiving Costs [Pipeline] sh 22:06:17 + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv 22:06:17 + cut -d, -f6 [Pipeline] lock 22:06:17 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-43-stack-cost] 22:06:17 Resource [jenkins-edgexfoundry-device-snmp-go-main-43-stack-cost] did not exist. Created. 22:06:17 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-43-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:06:18 + echo total: 0.2199999988079071 [Pipeline] stash 22:06:18 Stashed 1 file(s) [Pipeline] } 22:06:18 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-43-stack-cost] [Pipeline] // lock [Pipeline] } 22:06:18 $ docker stop --time=1 61031ef6fd926152d71cafe67ad33b4715206f16842847b08efc0efc5838dccd 22:06:19 $ docker rm -f 61031ef6fd926152d71cafe67ad33b4715206f16842847b08efc0efc5838dccd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:07:26 Running on prd-ubuntu20.04-docker-arm64-4c-16g-29317 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 22:07:26 Running in /w/workspace/device-snmp-go/43 [Pipeline] { [Pipeline] checkout 22:07:26 Selected Git installation does not exist. Using Default 22:07:26 The recommended git tool is: NONE 22:07:34 using credential edgex-jenkins-ssh 22:07:34 Cloning the remote Git repository 22:07:34 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 22:07:34 > git init /w/workspace/device-snmp-go/43 # timeout=10 22:07:35 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 22:07:35 > git --version # timeout=10 22:07:35 > git --version # 'git version 2.25.1' 22:07:35 using GIT_SSH to set credentials SSH Credentials for GitHub 22:07:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:07:36 Avoid second fetch 22:07:36 Checking out Revision 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 (main) 22:07:36 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 22:07:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:07:36 > git config core.sparsecheckout # timeout=10 22:07:36 > git checkout -f 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 # timeout=10 22:07:41 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 (#190)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:07:42 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:07:42 % Total % Received % Xferd Average Speed Time Time Time Current 22:07:42 Dload Upload Total Spent Left Speed 22:07:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 173k 0 --:--:-- --:--:-- --:--:-- 175k [Pipeline] sh 22:07:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:07:43 + sudo tee /etc/docker/daemon.new 22:07:43 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:07:43 { 22:07:43 "registry-mirrors": [ 22:07:43 "https://nexus3.edgexfoundry.org:10001" 22:07:43 ], 22:07:43 "bip": "10.250.0.254/24", 22:07:43 "hosts": [ 22:07:43 "tcp://0.0.0.0:5555", 22:07:43 "unix:///var/run/docker.sock" 22:07:43 ], 22:07:43 "mtu": 1458, 22:07:43 "selinux-enabled": true, 22:07:43 "seccomp-profile": "/etc/docker/seccomp.json" 22:07:43 } [Pipeline] sh 22:07:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:07:44 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:08:02 provisioning config files... 22:08:02 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/43@tmp/config8265050513736089233tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:08:03 ---> docker-login.sh 22:08:03 nexus3.edgexfoundry.org:10001 22:08:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:08:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:08:04 Configure a credential helper to remove this warning. See 22:08:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:08:04 22:08:04 Login Succeeded 22:08:04 nexus3.edgexfoundry.org:10002 22:08:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:08:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:08:04 Configure a credential helper to remove this warning. See 22:08:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:08:04 22:08:04 Login Succeeded 22:08:04 nexus3.edgexfoundry.org:10003 22:08:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:08:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:08:05 Configure a credential helper to remove this warning. See 22:08:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:08:05 22:08:05 Login Succeeded 22:08:05 nexus3.edgexfoundry.org:10004 22:08:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:08:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:08:05 Configure a credential helper to remove this warning. See 22:08:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:08:05 22:08:05 Login Succeeded 22:08:05 docker.io 22:08:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:08:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:08:06 Configure a credential helper to remove this warning. See 22:08:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:08:06 22:08:06 Login Succeeded 22:08:06 ---> docker-login.sh ends [Pipeline] } 22:08:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:08:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:08:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:08:07 ========================================================= 22:08:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 22:08:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:08:07 + 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:08:07 Sending build context to Docker daemon 2.813MB 22:08:07 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 22:08:07 Step 2/12 : FROM ${BASE} AS builder 22:08:08 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:08:08 b3c136eddcbf: Pulling fs layer 22:08:08 c0a3192eca97: Pulling fs layer 22:08:08 a050256f5b6f: Pulling fs layer 22:08:08 656be50a0ddc: Pulling fs layer 22:08:08 2bbca73fdf42: Pulling fs layer 22:08:08 46d945488cbd: Pulling fs layer 22:08:08 8a5474983e97: Pulling fs layer 22:08:08 329c88fbcd65: Pulling fs layer 22:08:08 329c88fbcd65: Waiting 22:08:08 46d945488cbd: Waiting 22:08:08 8a5474983e97: Waiting 22:08:08 2bbca73fdf42: Waiting 22:08:08 656be50a0ddc: Waiting 22:08:08 a050256f5b6f: Verifying Checksum 22:08:08 a050256f5b6f: Download complete 22:08:08 c0a3192eca97: Verifying Checksum 22:08:08 c0a3192eca97: Download complete 22:08:08 2bbca73fdf42: Verifying Checksum 22:08:08 2bbca73fdf42: Download complete 22:08:08 46d945488cbd: Verifying Checksum 22:08:08 46d945488cbd: Download complete 22:08:08 b3c136eddcbf: Verifying Checksum 22:08:08 b3c136eddcbf: Download complete 22:08:09 b3c136eddcbf: Pull complete 22:08:09 329c88fbcd65: Verifying Checksum 22:08:09 329c88fbcd65: Download complete 22:08:09 c0a3192eca97: Pull complete 22:08:10 a050256f5b6f: Pull complete 22:08:10 8a5474983e97: Verifying Checksum 22:08:10 8a5474983e97: Download complete 22:08:11 656be50a0ddc: Download complete 22:08:23 656be50a0ddc: Pull complete 22:08:23 2bbca73fdf42: Pull complete 22:08:23 46d945488cbd: Pull complete 22:08:30 8a5474983e97: Pull complete 22:08:32 329c88fbcd65: Pull complete 22:08:32 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 22:08:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:08:32 ---> ff4287adb874 22:08:32 Step 3/12 : ARG MAKE='make build' 22:08:32 ---> Running in 55bc4cef35ee 22:08:33 Removing intermediate container 55bc4cef35ee 22:08:33 ---> 76ba3e309f4d 22:08:33 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:08:33 ---> Running in 8711c4832ee9 22:08:35 Removing intermediate container 8711c4832ee9 22:08:35 ---> 4506b6eab1f7 22:08:35 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 22:08:35 ---> Running in b4480af60d88 22:08:35 Removing intermediate container b4480af60d88 22:08:35 ---> 9e147f0035d4 22:08:35 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:08:35 ---> Running in d965f66cdf92 22:08:37 Removing intermediate container d965f66cdf92 22:08:37 ---> 838ee6d36f5d 22:08:37 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:08:37 ---> Running in fe5dc0b49e17 22:08:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:08:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:08:40 (1/4) Installing openssh-keygen (9.0_p1-r2) 22:08:40 (2/4) Installing libedit (20210910.3.1-r0) 22:08:40 (3/4) Installing openssh-client-common (9.0_p1-r2) 22:08:40 (4/4) Installing openssh-client-default (9.0_p1-r2) 22:08:41 Executing busybox-1.35.0-r13.trigger 22:08:41 OK: 226 MiB in 55 packages 22:08:42 Removing intermediate container fe5dc0b49e17 22:08:42 ---> 99e50eafc969 22:08:42 Step 8/12 : WORKDIR /device-snmp-go 22:08:42 ---> Running in 0b362290455a 22:08:42 Removing intermediate container 0b362290455a 22:08:42 ---> fe28ddbaf3c2 22:08:42 Step 9/12 : COPY go.mod vendor* ./ 22:08:43 ---> 88f575ea210c 22:08:43 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:08:43 ---> Running in d38cc20cebfa 22:09:39 Removing intermediate container d38cc20cebfa 22:09:39 ---> 8c6299fccb9a 22:09:39 Step 11/12 : COPY . . 22:09:39 ---> 4dcf78eb2f69 22:09:39 Step 12/12 : RUN ${MAKE} 22:09:39 ---> Running in f5c40cfd0745 22:09:39 noop 22:09:39 Removing intermediate container f5c40cfd0745 22:09:39 ---> 7b6f1e1413d9 22:09:39 Successfully built 7b6f1e1413d9 22:09:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:09:40 + docker inspect -f . ci-base-image-arm64 22:09:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:09:40 prd-ubuntu20.04-docker-arm64-4c-16g-29317 does not seem to be running inside a container 22:09:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/43 -v /w/workspace/device-snmp-go/43:/w/workspace/device-snmp-go/43:rw,z -v /w/workspace/device-snmp-go/43@tmp:/w/workspace/device-snmp-go/43@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:09:41 $ docker top a8fe1714eb731308f999125ed4349ad5afd2079003a1cabeca058a4690dc0da5 -eo pid,comm [Pipeline] { [Pipeline] sh 22:09:42 + go version 22:09:42 go version go1.18.3 linux/arm64 [Pipeline] } 22:09:42 $ docker stop --time=1 a8fe1714eb731308f999125ed4349ad5afd2079003a1cabeca058a4690dc0da5 22:09:44 $ docker rm -f a8fe1714eb731308f999125ed4349ad5afd2079003a1cabeca058a4690dc0da5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:09:45 + docker inspect -f . ci-base-image-arm64 22:09:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:09:45 prd-ubuntu20.04-docker-arm64-4c-16g-29317 does not seem to be running inside a container 22:09:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/43 -v /w/workspace/device-snmp-go/43:/w/workspace/device-snmp-go/43:rw,z -v /w/workspace/device-snmp-go/43@tmp:/w/workspace/device-snmp-go/43@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:09:46 $ docker top 5d23c4496273f158f209c049ae62d6961d83d8c055298e7ed734b69074eb9b40 -eo pid,comm [Pipeline] { [Pipeline] sh 22:09:47 + git config --global --add safe.directory /w/workspace/device-snmp-go/43 [Pipeline] fileExists [Pipeline] sh 22:09:48 + make test 22:09:48 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 22:09:50 ? github.com/edgexfoundry/device-snmp-go [no test files] 22:11:27 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 22:11:27 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.048s coverage: 0.0% of statements 22:11:27 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:11:27 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:11:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:11:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:11:42 ./bin/test-attribution-txt.sh 22:11:42 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 22:11:42 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 22:11:42 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 22:11:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:11:42 $ docker stop --time=1 5d23c4496273f158f209c049ae62d6961d83d8c055298e7ed734b69074eb9b40 22:11:44 $ docker rm -f 5d23c4496273f158f209c049ae62d6961d83d8c055298e7ed734b69074eb9b40 [Pipeline] // withDockerContainer [Pipeline] sh 22:11:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:11:45 Warning: overwriting stash ‘coverage-report’ 22:11:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:11:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:11:46 + ls -al . 22:11:46 total 168 22:11:46 drwxrwxr-x 8 jenkins jenkins 4096 Sep 15 22:09 . 22:11:46 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 22:07 .. 22:11:46 -rw-rw-r-- 1 jenkins jenkins 6 Sep 15 22:07 .dockerignore 22:11:46 drwxrwxr-x 8 jenkins jenkins 4096 Sep 15 22:07 .git 22:11:46 drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 22:07 .github 22:11:46 -rw-rw-r-- 1 jenkins jenkins 328 Sep 15 22:07 .gitignore 22:11:46 -rw-rw-r-- 1 jenkins jenkins 41 Sep 15 22:07 .golangci.yml 22:11:46 -rw-rw-r-- 1 jenkins jenkins 8556 Sep 15 22:07 Attribution.txt 22:11:46 -rw-rw-r-- 1 jenkins jenkins 6948 Sep 15 22:07 CHANGELOG.md 22:11:46 -rw-rw-r-- 1 jenkins jenkins 1518 Sep 15 22:07 Dockerfile 22:11:46 -rw-rw-r-- 1 jenkins jenkins 677 Sep 15 22:07 GOVERNANCE.md 22:11:46 -rw-rw-r-- 1 jenkins jenkins 656 Sep 15 22:07 Jenkinsfile 22:11:46 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 15 22:07 LICENSE 22:11:46 -rw-rw-r-- 1 jenkins jenkins 2334 Sep 15 22:07 Makefile 22:11:46 -rw-rw-r-- 1 jenkins jenkins 620 Sep 15 22:07 OWNERS.md 22:11:46 -rw-rw-r-- 1 jenkins jenkins 9390 Sep 15 22:07 README.md 22:11:46 -rw-rw-r-- 1 jenkins jenkins 12 Sep 15 22:04 VERSION 22:11:46 drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 22:07 bin 22:11:46 drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 22:07 cmd 22:11:46 -rw-r--r-- 1 jenkins jenkins 7631 Sep 15 22:11 coverage.out 22:11:46 -rw-rw-r-- 1 jenkins jenkins 3439 Sep 15 22:07 go.mod 22:11:46 -rw-rw-r-- 1 jenkins jenkins 36897 Sep 15 22:07 go.sum 22:11:46 drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 22:07 internal 22:11:46 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 22:07 snap 22:11:46 -rw-rw-r-- 1 jenkins jenkins 228 Sep 15 22:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:47 + 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=1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 --label arch=arm64 --label version=2.3.0-dev.12 . 22:11:47 Sending build context to Docker daemon 2.822MB 22:11:47 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 22:11:47 Step 2/24 : FROM ${BASE} AS builder 22:11:47 ---> 7b6f1e1413d9 22:11:47 Step 3/24 : ARG MAKE='make build' 22:11:47 ---> Running in 619595fa0388 22:11:47 Removing intermediate container 619595fa0388 22:11:47 ---> 737a12aa5ad5 22:11:47 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:11:47 ---> Running in f45e13e0e8c5 22:11:48 Removing intermediate container f45e13e0e8c5 22:11:48 ---> 1d556130efaa 22:11:48 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 22:11:48 ---> Running in a94bbe516618 22:11:48 Removing intermediate container a94bbe516618 22:11:48 ---> c2a1f1b51efb 22:11:48 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:11:48 ---> Running in 66fc61c57eab 22:11:50 Removing intermediate container 66fc61c57eab 22:11:50 ---> 1958ef1da5ed 22:11:50 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:11:50 ---> Running in 384eaa21bd78 22:11:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:11:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:11:53 OK: 226 MiB in 55 packages 22:11:54 Removing intermediate container 384eaa21bd78 22:11:54 ---> 865c12a6f3c8 22:11:54 Step 8/24 : WORKDIR /device-snmp-go 22:11:54 ---> Running in ccd21e6eacf1 22:11:54 Removing intermediate container ccd21e6eacf1 22:11:54 ---> 94e5cdfa93a7 22:11:54 Step 9/24 : COPY go.mod vendor* ./ 22:11:54 ---> cb98cd781da0 22:11:54 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:11:55 ---> Running in 1873dae83d33 22:11:57 Removing intermediate container 1873dae83d33 22:11:57 ---> 8cf956fb66b7 22:11:57 Step 11/24 : COPY . . 22:11:57 ---> 8b6cabf8434e 22:11:57 Step 12/24 : RUN ${MAKE} 22:11:57 ---> Running in 0e8f719680e8 22:11:58 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.21 -X github.com/edgexfoundry/device-snmp-go.Version=2.3.0-dev.12" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 22:14:20 Removing intermediate container 0e8f719680e8 22:14:20 ---> 5ecaa993b008 22:14:20 Step 13/24 : FROM alpine:3.16 22:14:20 3.16: Pulling from library/alpine 22:14:20 9b18e9b68314: Pulling fs layer 22:14:20 9b18e9b68314: Verifying Checksum 22:14:20 9b18e9b68314: Download complete 22:14:20 9b18e9b68314: Pull complete 22:14:20 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 22:14:20 Status: Downloaded newer image for alpine:3.16 22:14:20 ---> a6215f271958 22:14:20 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 22:14:20 ---> Running in 2fa365dc642e 22:14:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:14:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:14:20 (1/6) Installing dumb-init (1.2.5-r1) 22:14:20 (2/6) Installing libgcc (11.2.1_git20220219-r2) 22:14:20 (3/6) Installing libsodium (1.0.18-r0) 22:14:20 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 22:14:20 (5/6) Installing libzmq (4.3.4-r0) 22:14:20 (6/6) Installing zeromq (4.3.4-r0) 22:14:20 Executing busybox-1.35.0-r17.trigger 22:14:20 OK: 8 MiB in 20 packages 22:14:20 Removing intermediate container 2fa365dc642e 22:14:20 ---> 52fca2413656 22:14:20 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 22:14:20 ---> 24a26a0656ba 22:14:20 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 22:14:20 ---> 3b42490c4560 22:14:20 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 22:14:20 ---> 7953c91a01ce 22:14:20 Step 18/24 : EXPOSE 59993 22:14:20 ---> Running in e14a6420a4f6 22:14:20 Removing intermediate container e14a6420a4f6 22:14:20 ---> 0ea89aabb052 22:14:20 Step 19/24 : EXPOSE 161 22:14:20 ---> Running in bd26be4f3737 22:14:20 Removing intermediate container bd26be4f3737 22:14:20 ---> 8d7a7cf3cd5b 22:14:20 Step 20/24 : ENTRYPOINT ["/device-snmp"] 22:14:20 ---> Running in 801fccb7aa1c 22:14:20 Removing intermediate container 801fccb7aa1c 22:14:20 ---> 627eeb5386fc 22:14:20 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 22:14:20 ---> Running in a390cfd90b52 22:14:20 Removing intermediate container a390cfd90b52 22:14:20 ---> bef78ed6a510 22:14:20 Step 22/24 : LABEL arch=arm64 22:14:20 ---> Running in c2c27bc07690 22:14:20 Removing intermediate container c2c27bc07690 22:14:20 ---> 54868be83aa6 22:14:20 Step 23/24 : LABEL git_sha=1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 22:14:20 ---> Running in 01203f2025c2 22:14:20 Removing intermediate container 01203f2025c2 22:14:20 ---> d5ce2d7a2f85 22:14:20 Step 24/24 : LABEL version=2.3.0-dev.12 22:14:20 ---> Running in 1926e523444b 22:14:20 Removing intermediate container 1926e523444b 22:14:20 ---> 164daf18c868 22:14:20 [Warning] One or more build-args [ARCH] were not consumed 22:14:20 Successfully built 164daf18c868 22:14:20 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:14:20 provisioning config files... 22:14:20 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/43@tmp/config3150906723013077329tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:14:21 ---> docker-login.sh 22:14:21 nexus3.edgexfoundry.org:10001 22:14:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:21 Configure a credential helper to remove this warning. See 22:14:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:21 22:14:21 Login Succeeded 22:14:21 nexus3.edgexfoundry.org:10002 22:14:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:21 Configure a credential helper to remove this warning. See 22:14:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:21 22:14:21 Login Succeeded 22:14:21 nexus3.edgexfoundry.org:10003 22:14:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:22 Configure a credential helper to remove this warning. See 22:14:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:22 22:14:22 Login Succeeded 22:14:22 nexus3.edgexfoundry.org:10004 22:14:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:22 Configure a credential helper to remove this warning. See 22:14:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:22 22:14:22 Login Succeeded 22:14:22 docker.io 22:14:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:23 Configure a credential helper to remove this warning. See 22:14:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:23 22:14:23 Login Succeeded 22:14:23 ---> docker-login.sh ends [Pipeline] } 22:14:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:14:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:14:23 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 22:14:23 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 22:14:23 latest 22:14:23 2.3.0-dev.12 22:14:23 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17-2.3.0-dev.12 22:14:23 main 22:14:23 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:24 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:24 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 22:14:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 22:14:24 1746dd5e5bf4: Preparing 22:14:24 1c6b784432b9: Preparing 22:14:24 f27fb80065e3: Preparing 22:14:24 4293cde2c36f: Preparing 22:14:24 5d3e392a13a0: Preparing 22:14:24 5d3e392a13a0: Layer already exists 22:14:24 1746dd5e5bf4: Pushed 22:14:24 1c6b784432b9: Pushed 22:14:25 4293cde2c36f: Pushed 22:14:29 f27fb80065e3: Pushed 22:14:29 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17: digest: sha256:bcef83bd97564da5ac9456c357ec604fb72e69e5ae1147930ef1308ab9c3037a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:30 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:30 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 22:14:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 22:14:30 1746dd5e5bf4: Preparing 22:14:30 1c6b784432b9: Preparing 22:14:30 f27fb80065e3: Preparing 22:14:30 4293cde2c36f: Preparing 22:14:30 5d3e392a13a0: Preparing 22:14:30 1c6b784432b9: Layer already exists 22:14:30 1746dd5e5bf4: Layer already exists 22:14:30 f27fb80065e3: Layer already exists 22:14:30 4293cde2c36f: Layer already exists 22:14:30 5d3e392a13a0: Layer already exists 22:14:30 latest: digest: sha256:bcef83bd97564da5ac9456c357ec604fb72e69e5ae1147930ef1308ab9c3037a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:31 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:31 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.12 22:14:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 22:14:31 1746dd5e5bf4: Preparing 22:14:31 1c6b784432b9: Preparing 22:14:31 f27fb80065e3: Preparing 22:14:31 4293cde2c36f: Preparing 22:14:31 5d3e392a13a0: Preparing 22:14:31 5d3e392a13a0: Layer already exists 22:14:31 1746dd5e5bf4: Layer already exists 22:14:31 4293cde2c36f: Layer already exists 22:14:31 1c6b784432b9: Layer already exists 22:14:31 f27fb80065e3: Layer already exists 22:14:31 2.3.0-dev.12: digest: sha256:bcef83bd97564da5ac9456c357ec604fb72e69e5ae1147930ef1308ab9c3037a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:32 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17-2.3.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:32 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17-2.3.0-dev.12 22:14:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 22:14:32 1746dd5e5bf4: Preparing 22:14:32 1c6b784432b9: Preparing 22:14:32 f27fb80065e3: Preparing 22:14:32 4293cde2c36f: Preparing 22:14:32 5d3e392a13a0: Preparing 22:14:32 5d3e392a13a0: Layer already exists 22:14:32 1c6b784432b9: Layer already exists 22:14:32 1746dd5e5bf4: Layer already exists 22:14:32 4293cde2c36f: Layer already exists 22:14:32 f27fb80065e3: Layer already exists 22:14:32 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17-2.3.0-dev.12: digest: sha256:bcef83bd97564da5ac9456c357ec604fb72e69e5ae1147930ef1308ab9c3037a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:33 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:33 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 22:14:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 22:14:33 1746dd5e5bf4: Preparing 22:14:33 1c6b784432b9: Preparing 22:14:33 f27fb80065e3: Preparing 22:14:33 4293cde2c36f: Preparing 22:14:33 5d3e392a13a0: Preparing 22:14:33 4293cde2c36f: Layer already exists 22:14:33 1c6b784432b9: Layer already exists 22:14:33 f27fb80065e3: Layer already exists 22:14:33 5d3e392a13a0: Layer already exists 22:14:33 1746dd5e5bf4: Layer already exists 22:14:33 main: digest: sha256:bcef83bd97564da5ac9456c357ec604fb72e69e5ae1147930ef1308ab9c3037a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:14:33 ===================================================== [Pipeline] echo 22:14:33 taggedImages: 22:14:33 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 22:14:33 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 22:14:33 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.12 22:14:33 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17-2.3.0-dev.12 22:14:33 - 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:14:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:14:34 22:14:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:14:34 arm64: Pulling from edgex-lftools-log-publisher 22:14:34 8998bd30e6a1: Pulling fs layer 22:14:34 04944245beec: Pulling fs layer 22:14:34 699f458cf7ca: Pulling fs layer 22:14:34 765212b225bb: Pulling fs layer 22:14:34 f23df028b6ca: Pulling fs layer 22:14:34 d65c8cfc05b1: Pulling fs layer 22:14:34 2437ff75d9bd: Pulling fs layer 22:14:34 765212b225bb: Waiting 22:14:34 f23df028b6ca: Waiting 22:14:34 d65c8cfc05b1: Waiting 22:14:34 2437ff75d9bd: Waiting 22:14:34 04944245beec: Verifying Checksum 22:14:34 04944245beec: Download complete 22:14:34 765212b225bb: Verifying Checksum 22:14:34 765212b225bb: Download complete 22:14:34 f23df028b6ca: Verifying Checksum 22:14:34 f23df028b6ca: Download complete 22:14:34 d65c8cfc05b1: Verifying Checksum 22:14:34 d65c8cfc05b1: Download complete 22:14:35 699f458cf7ca: Verifying Checksum 22:14:35 699f458cf7ca: Download complete 22:14:35 8998bd30e6a1: Download complete 22:14:38 2437ff75d9bd: Verifying Checksum 22:14:38 2437ff75d9bd: Download complete 22:14:40 8998bd30e6a1: Pull complete 22:14:40 04944245beec: Pull complete 22:14:41 699f458cf7ca: Pull complete 22:14:42 765212b225bb: Pull complete 22:14:43 f23df028b6ca: Pull complete 22:14:43 d65c8cfc05b1: Pull complete 22:14:58 2437ff75d9bd: Pull complete 22:14:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:14:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:14:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:14:58 prd-ubuntu20.04-docker-arm64-4c-16g-29317 does not seem to be running inside a container 22:14:58 $ 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/43 -v /w/workspace/device-snmp-go/43:/w/workspace/device-snmp-go/43:rw,z -v /w/workspace/device-snmp-go/43@tmp:/w/workspace/device-snmp-go/43@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:15:01 $ docker top 28e1fbedbd3896cdb4365b84f0cec83f193eed23dc03bbbb36e6e11310d357fe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:15:02 ---> job-cost.sh 22:15:02 lf-activate-venv: SKIPPING 22:15:02 INFO: No Stack... 22:15:02 INFO: Retrieving Pricing Info for: v3-standard-4 22:15:03 INFO: Archiving Costs [Pipeline] sh 22:15:04 + cat /w/workspace/device-snmp-go/43/archives/cost.csv 22:15:04 + cut -d, -f6 [Pipeline] lock 22:15:04 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-43-stack-cost] 22:15:04 Resource [jenkins-edgexfoundry-device-snmp-go-main-43-stack-cost] did not exist. Created. 22:15:04 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-43-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:15:05 /w/workspace/device-snmp-go/43@tmp/durable-6db993c3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:15:05 + echo total: 0.10999999940395355 [Pipeline] stash 22:15:05 Warning: overwriting stash ‘stack-cost’ 22:15:05 Stashed 1 file(s) [Pipeline] } 22:15:05 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-43-stack-cost] [Pipeline] // lock [Pipeline] } 22:15:06 $ docker stop --time=1 28e1fbedbd3896cdb4365b84f0cec83f193eed23dc03bbbb36e6e11310d357fe 22:15:07 $ docker rm -f 28e1fbedbd3896cdb4365b84f0cec83f193eed23dc03bbbb36e6e11310d357fe [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:15:08 provisioning config files... 22:15:08 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config15761432202875138tmp [Pipeline] { [Pipeline] sh 22:15:08 + set +x 22:15:08 + curl -s https://codecov.io/bash 22:15:08 + bash -s -- 22:15:08 22:15:08 _____ _ 22:15:08 / ____| | | 22:15:08 | | ___ __| | ___ ___ _____ __ 22:15:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:15:08 | |___| (_) | (_| | __/ (_| (_) \ V / 22:15:08 \_____\___/ \__,_|\___|\___\___/ \_/ 22:15:08 Bash-1.0.6 22:15:08 22:15:08 22:15:08 ==> git version 2.25.1 found 22:15:08 ==> 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:15:08 Release-Date: 2020-01-08 22:15:08 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:15:08 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:15:08 ==> Jenkins CI detected. 22:15:08 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 22:15:08 project root: . 22:15:08 --> token set from env 22:15:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:15:08 ==> Running gcov in . (disable via -X gcov) 22:15:08 ==> Python coveragepy not found 22:15:08 ==> Searching for coverage reports in: 22:15:08 + . 22:15:08 -> Found 1 reports 22:15:08 ==> Detecting git/mercurial file structure 22:15:08 ==> Reading reports 22:15:08 + ./coverage.out bytes=7631 22:15:08 ==> Appending adjustments 22:15:08 https://docs.codecov.io/docs/fixing-reports 22:15:08 + Found adjustments 22:15:08 ==> Gzipping contents 22:15:08 4.0K /tmp/codecov.Y4yWBq.gz 22:15:08 ==> Uploading reports 22:15:08 url: https://codecov.io 22:15:08 query: branch=main&commit=1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17&build=43&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F43%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:15:08 -> Pinging Codecov 22:15:08 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=1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17&build=43&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F43%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:15:08 -> Uploading to 22:15:08 https://storage.googleapis.com/codecov/v4/raw/2022-09-15/6C56EA5C29638FB4528AC87E60AF5AE0/1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17/1e084439-a420-4481-a4d8-0a0b861478f2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220915%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220915T221508Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ac3a75be13c392df6c9dcd7f0ebd77a8296fbb01376ea39b1372281901c441e4 22:15:08 % Total % Received % Xferd Average Speed Time Time Time Current 22:15:08 Dload Upload Total Spent Left Speed 22:15:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1535 0 0 100 1535 0 6559 --:--:-- --:--:-- --:--:-- 6559 22:15:09 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 [Pipeline] } 22:15:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:15:09 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:15:09 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:15:09 22:15:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:15:09 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:15:09 df9b9388f04a: Pulling fs layer 22:15:09 52dc419b0ee2: Pulling fs layer 22:15:09 25bc292e5bac: Pulling fs layer 22:15:09 114826534d7a: Pulling fs layer 22:15:09 4657fd5d0bcf: Pulling fs layer 22:15:09 6ad1cebc031e: Pulling fs layer 22:15:09 8a3aa393b2d8: Pulling fs layer 22:15:09 114826534d7a: Waiting 22:15:09 4657fd5d0bcf: Waiting 22:15:09 6ad1cebc031e: Waiting 22:15:09 8a3aa393b2d8: Waiting 22:15:09 25bc292e5bac: Verifying Checksum 22:15:09 25bc292e5bac: Download complete 22:15:09 52dc419b0ee2: Verifying Checksum 22:15:09 52dc419b0ee2: Download complete 22:15:09 4657fd5d0bcf: Verifying Checksum 22:15:09 4657fd5d0bcf: Download complete 22:15:09 df9b9388f04a: Verifying Checksum 22:15:09 df9b9388f04a: Download complete 22:15:10 df9b9388f04a: Pull complete 22:15:10 52dc419b0ee2: Pull complete 22:15:10 6ad1cebc031e: Verifying Checksum 22:15:10 6ad1cebc031e: Download complete 22:15:10 25bc292e5bac: Pull complete 22:15:11 114826534d7a: Verifying Checksum 22:15:11 114826534d7a: Download complete 22:15:11 8a3aa393b2d8: Verifying Checksum 22:15:14 114826534d7a: Pull complete 22:15:14 4657fd5d0bcf: Pull complete 22:15:14 6ad1cebc031e: Pull complete 22:15:17 8a3aa393b2d8: Pull complete 22:15:17 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 22:15:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:15:17 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:15:17 prd-ubuntu20.04-docker-8c-8g-29315 does not seem to be running inside a container 22:15:17 $ 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:15:18 $ docker top e306d77268798c44d300595906c38f40f7135aa1ede4832457de76ff20b8761f -eo pid,comm [Pipeline] { [Pipeline] echo 22:15:18 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh 22:15:19 + set -o pipefail 22:15:19 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' 22:15:24 22:15:24 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 22:15:24 22:15:24 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/0b3c79a9-8a80-4a73-81ce-69c002d87263 22:15:24 22:15:24 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 22:15:24 22:15:24 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:15:24 22:15:24 [Pipeline] } 22:15:24 $ docker stop --time=1 e306d77268798c44d300595906c38f40f7135aa1ede4832457de76ff20b8761f 22:15:26 $ docker rm -f e306d77268798c44d300595906c38f40f7135aa1ede4832457de76ff20b8761f [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:15:27 + git log --format=format:%s -1 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 [Pipeline] sh 22:15:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:15:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:15:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:15:28 prd-ubuntu20.04-docker-8c-8g-29315 does not seem to be running inside a container 22:15:28 $ 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:15:28 $ docker top 04e71762f99df1f63af25a7a6ba33daa375a43606e140c3dd818b62efbf4e293 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:15:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:15:28 [ssh-agent] Looking for ssh-agent implementation... 22:15:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:15:28 $ docker exec 04e71762f99df1f63af25a7a6ba33daa375a43606e140c3dd818b62efbf4e293 ssh-agent 22:15:28 SSH_AUTH_SOCK=/tmp/ssh-Hv6Idql1xptd/agent.32 22:15:28 SSH_AGENT_PID=38 22:15:28 Running ssh-add (command line suppressed) 22:15:29 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4310571610839332281.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4310571610839332281.key) 22:15:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:15:29 + git semver tag 22:15:29 2022-09-15 22:15:29,493 [run_tag] DEBUG tag force:False 22:15:29 2022-09-15 22:15:29,493 [check_head_tag] DEBUG check head tag 22:15:29 2022-09-15 22:15:29,493 [execute] INFO git cat-file --batch-check 22:15:29 2022-09-15 22:15:29,494 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 22:15:29 2022-09-15 22:15:29,497 [execute] INFO git cat-file --batch 22:15:29 2022-09-15 22:15:29,498 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 22:15:29 2022-09-15 22:15:29,509 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 22:15:29 2022-09-15 22:15:29,510 [execute] INFO git tag -a v2.3.0-dev.12 -m v2.3.0-dev.12 22:15:29 2022-09-15 22:15:29,510 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.12', '-m', 'v2.3.0-dev.12'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 22:15:29 2022-09-15 22:15:29,514 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 22:15:29 2.3.0-dev.12 [Pipeline] } 22:15:29 $ docker exec --env ******** --env ******** 04e71762f99df1f63af25a7a6ba33daa375a43606e140c3dd818b62efbf4e293 ssh-agent -k 22:15:29 unset SSH_AUTH_SOCK; 22:15:29 unset SSH_AGENT_PID; 22:15:29 echo Agent pid 38 killed; 22:15:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:15:30 + git semver [Pipeline] } 22:15:30 $ docker stop --time=1 04e71762f99df1f63af25a7a6ba33daa375a43606e140c3dd818b62efbf4e293 22:15:31 $ docker rm -f 04e71762f99df1f63af25a7a6ba33daa375a43606e140c3dd818b62efbf4e293 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:15:31 22:15:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:15:32 0.23.1-centos7: Pulling from edgex-lftools 22:15:32 ab5ef0e58194: Pulling fs layer 22:15:32 9712f1f96733: Pulling fs layer 22:15:32 63f879dbbcfc: Pulling fs layer 22:15:32 0d9ebad4ef96: Pulling fs layer 22:15:32 e9a5061849ea: Pulling fs layer 22:15:32 d747dcd14b5f: Pulling fs layer 22:15:32 2de7ff778b66: Pulling fs layer 22:15:32 e9a5061849ea: Waiting 22:15:32 0d9ebad4ef96: Waiting 22:15:32 d747dcd14b5f: Waiting 22:15:32 2de7ff778b66: Waiting 22:15:32 9712f1f96733: Verifying Checksum 22:15:32 9712f1f96733: Download complete 22:15:32 0d9ebad4ef96: Verifying Checksum 22:15:32 0d9ebad4ef96: Download complete 22:15:32 63f879dbbcfc: Verifying Checksum 22:15:32 63f879dbbcfc: Download complete 22:15:32 d747dcd14b5f: Verifying Checksum 22:15:32 d747dcd14b5f: Download complete 22:15:33 e9a5061849ea: Verifying Checksum 22:15:33 e9a5061849ea: Download complete 22:15:33 ab5ef0e58194: Download complete 22:15:33 2de7ff778b66: Verifying Checksum 22:15:33 2de7ff778b66: Download complete 22:15:35 ab5ef0e58194: Pull complete 22:15:35 9712f1f96733: Pull complete 22:15:36 63f879dbbcfc: Pull complete 22:15:41 0d9ebad4ef96: Pull complete 22:15:41 e9a5061849ea: Pull complete 22:15:41 d747dcd14b5f: Pull complete 22:15:41 2de7ff778b66: Pull complete 22:15:41 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:15:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:15:41 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:15:42 prd-ubuntu20.04-docker-8c-8g-29315 does not seem to be running inside a container 22:15:42 $ 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:15:44 $ docker top cbe565eeeffaa93fc353f2cf5bb77769b58080075d14f1b9251666ef664e0e93 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:15:44 provisioning config files... 22:15:44 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config830845736769023806tmp 22:15:44 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1094453396949161284tmp 22:15:44 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7717125686324351447tmp [Pipeline] { [Pipeline] echo 22:15:44 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:15:44 ---> sigul-configuration.sh 22:15:44 gpg: directory `/root/.gnupg' created 22:15:44 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:15:44 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:15:44 gpg: keyring `/root/.gnupg/secring.gpg' created 22:15:44 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:15:44 gpg: CAST5 encrypted data 22:15:44 gpg: encrypted with 1 passphrase 22:15:44 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:15:44 + mkdir /home/jenkins 22:15:44 + mkdir /home/jenkins/sigul [Pipeline] sh 22:15:45 + 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:15:45 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:15:45 ---> sigul-install.sh 22:15:45 Sigul already installed; skipping installation. [Pipeline] sh 22:15:45 + git tag --list 22:15:45 1.0.0 22:15:45 v0.0.0 22:15:45 v1.1.0 22:15:45 v1.1.1 22:15:45 v1.2.2 22:15:45 v1.3.0 22:15:45 v1.3.1 22:15:45 v2.0.0 22:15:45 v2.1.0 22:15:45 v2.1.1 22:15:45 v2.1.1-dev.2 22:15:45 v2.1.1-dev.3 22:15:45 v2.2.0 22:15:45 v2.2.1-dev.1 22:15:45 v2.2.1-dev.2 22:15:45 v2.2.1-dev.3 22:15:45 v2.2.1-dev.4 22:15:45 v2.2.1-dev.5 22:15:45 v2.2.1-dev.6 22:15:45 v2.2.1-dev.7 22:15:45 v2.3.0-dev.10 22:15:45 v2.3.0-dev.11 22:15:45 v2.3.0-dev.12 22:15:45 v2.3.0-dev.7 22:15:45 v2.3.0-dev.8 22:15:45 v2.3.0-dev.9 [Pipeline] sh 22:15:45 + lftools sign git-tag v2.3.0-dev.12 22:15:46 Signing Git tag with Sigul... 22:15:46 Signing v2.3.0-dev.12 [Pipeline] echo 22:15:46 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:15:47 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:15:47 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:15:47 $ docker stop --time=1 cbe565eeeffaa93fc353f2cf5bb77769b58080075d14f1b9251666ef664e0e93 22:15:48 $ docker rm -f cbe565eeeffaa93fc353f2cf5bb77769b58080075d14f1b9251666ef664e0e93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:15:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:15:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:15:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:15:49 prd-ubuntu20.04-docker-8c-8g-29315 does not seem to be running inside a container 22:15:49 $ 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:15:49 $ docker top 7a08f99de79d673057656e5b157ffff55606d9456b71529b49bfbf8d46f1569e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:15:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:15:49 [ssh-agent] Looking for ssh-agent implementation... 22:15:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:15:49 $ docker exec 7a08f99de79d673057656e5b157ffff55606d9456b71529b49bfbf8d46f1569e ssh-agent 22:15:49 SSH_AUTH_SOCK=/tmp/ssh-82UyRs2ifZXl/agent.35 22:15:49 SSH_AGENT_PID=42 22:15:49 Running ssh-add (command line suppressed) 22:15:50 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3600628842698747471.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3600628842698747471.key) 22:15:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:15:50 + git semver bump pre 22:15:50 2022-09-15 22:15:50,538 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 22:15:50 2022-09-15 22:15:50,538 [bump_version] DEBUG bumping version:2.3.0-dev.12 on axis:pre with prefix:dev 22:15:50 2022-09-15 22:15:50,538 [bump_version] DEBUG bumped version:2.3.0-dev.13 22:15:50 2022-09-15 22:15:50,538 [write_version] DEBUG write version:2.3.0-dev.13 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True 22:15:50 2022-09-15 22:15:50,538 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 22:15:50 2022-09-15 22:15:50,538 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 22:15:50 2022-09-15 22:15:50,541 [execute] INFO git cat-file --batch-check 22:15:50 2022-09-15 22:15:50,541 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:15:50 2022-09-15 22:15:50,547 [execute] INFO git cat-file --batch 22:15:50 2022-09-15 22:15:50,547 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:15:50 2022-09-15 22:15:50,552 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 22:15:50 2.3.0-dev.13 [Pipeline] } 22:15:50 $ docker exec --env ******** --env ******** 7a08f99de79d673057656e5b157ffff55606d9456b71529b49bfbf8d46f1569e ssh-agent -k 22:15:50 unset SSH_AUTH_SOCK; 22:15:50 unset SSH_AGENT_PID; 22:15:50 echo Agent pid 42 killed; 22:15:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:15:51 + git semver [Pipeline] } 22:15:51 $ docker stop --time=1 7a08f99de79d673057656e5b157ffff55606d9456b71529b49bfbf8d46f1569e 22:15:52 $ docker rm -f 7a08f99de79d673057656e5b157ffff55606d9456b71529b49bfbf8d46f1569e [Pipeline] // withDockerContainer [Pipeline] sh 22:15:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:15:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:15:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:15:53 prd-ubuntu20.04-docker-8c-8g-29315 does not seem to be running inside a container 22:15:53 $ 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:15:53 $ docker top 7af43bd8b7c4eca4d8beb5a63a18a17c5fcd91f87e0c02465d95fcc65fb872b8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:15:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:15:53 [ssh-agent] Looking for ssh-agent implementation... 22:15:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:15:54 $ docker exec 7af43bd8b7c4eca4d8beb5a63a18a17c5fcd91f87e0c02465d95fcc65fb872b8 ssh-agent 22:15:54 SSH_AUTH_SOCK=/tmp/ssh-9oiCyMjV190e/agent.32 22:15:54 SSH_AGENT_PID=38 22:15:54 Running ssh-add (command line suppressed) 22:15:54 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5841854787921986022.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5841854787921986022.key) 22:15:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:15:54 + git semver push 22:15:54 2022-09-15 22:15:54,875 [run_push] DEBUG push 22:15:54 2022-09-15 22:15:54,875 [execute] INFO git cat-file --batch-check 22:15:54 2022-09-15 22:15:54,876 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:15:54 2022-09-15 22:15:54,879 [execute] INFO git rev-list 056e91bc6fca0917f5bce0bef772af86c31f5d81 -- 22:15:54 2022-09-15 22:15:54,879 [execute] DEBUG Popen(['git', 'rev-list', '056e91bc6fca0917f5bce0bef772af86c31f5d81', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:15:54 2022-09-15 22:15:54,886 [execute] INFO git fetch -v origin 22:15:54 2022-09-15 22:15:54,886 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) 22:15:55 2022-09-15 22:15:55,440 [run_push] DEBUG no remote changes detected 22:15:55 2022-09-15 22:15:55,441 [execute] INFO git push origin semver 22:15:55 2022-09-15 22:15:55,441 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:15:56 2022-09-15 22:15:56,198 [run_push] DEBUG push all version tags 22:15:56 2022-09-15 22:15:56,198 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 22:15:56 2022-09-15 22:15:56,199 [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:15:57 2022-09-15 22:15:56,998 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 22:15:57 2.3.0-dev.13 [Pipeline] } 22:15:57 $ docker exec --env ******** --env ******** 7af43bd8b7c4eca4d8beb5a63a18a17c5fcd91f87e0c02465d95fcc65fb872b8 ssh-agent -k 22:15:57 unset SSH_AUTH_SOCK; 22:15:57 unset SSH_AGENT_PID; 22:15:57 echo Agent pid 38 killed; 22:15:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:15:57 + git semver [Pipeline] } 22:15:57 $ docker stop --time=1 7af43bd8b7c4eca4d8beb5a63a18a17c5fcd91f87e0c02465d95fcc65fb872b8 22:15:59 $ docker rm -f 7af43bd8b7c4eca4d8beb5a63a18a17c5fcd91f87e0c02465d95fcc65fb872b8 [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:15:59 + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] 22:15:59 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 22:15:59 total 16 22:15:59 drwxr-xr-x 3 root root 4096 Sep 15 22:06 . 22:15:59 drwxrwxr-x 10 jenkins jenkins 4096 Sep 15 22:15 .. 22:15:59 drwxr-xr-x 2 root root 4096 Sep 15 22:06 cost 22:15:59 -rw-r--r-- 1 root root 85 Sep 15 22:06 cost.csv 22:15:59 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives 22:15:59 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 22:15:59 total 16 22:15:59 drwxr-xr-x 3 jenkins jenkins 4096 Sep 15 22:06 . 22:15:59 drwxrwxr-x 10 jenkins jenkins 4096 Sep 15 22:15 .. 22:15:59 drwxr-xr-x 2 jenkins jenkins 4096 Sep 15 22:06 cost 22:15:59 -rw-r--r-- 1 jenkins jenkins 85 Sep 15 22:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:15:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:16:00 ---> package-listing.sh 22:16:00 ++ facter osfamily 22:16:00 ++ tr '[:upper:]' '[:lower:]' 22:16:01 + OS_FAMILY=debian 22:16:01 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 22:16:01 + START_PACKAGES=/tmp/packages_start.txt 22:16:01 + END_PACKAGES=/tmp/packages_end.txt 22:16:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:16:01 + PACKAGES=/tmp/packages_start.txt 22:16:01 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 22:16:01 + PACKAGES=/tmp/packages_end.txt 22:16:01 + case "${OS_FAMILY}" in 22:16:01 + dpkg -l 22:16:01 + grep '^ii' 22:16:01 + '[' -f /tmp/packages_start.txt ']' 22:16:01 + '[' -f /tmp/packages_end.txt ']' 22:16:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:16:01 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 22:16:01 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 22:16:01 + 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:16:01 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:16:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:16:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:16:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:16:01 prd-ubuntu20.04-docker-8c-8g-29315 does not seem to be running inside a container 22:16:01 $ 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:16:02 $ docker top 8cc9a8162fb53147683e371050a085b9a734e09dd184509b8bf1be46a6aa299d -eo pid,comm [Pipeline] { [Pipeline] sh 22:16:02 + touch /tmp/pre-build-complete [Pipeline] sh 22:16:02 + mkdir -p /var/log/sysstat [Pipeline] sh 22:16:03 + ls /var/log/sa-host 22:16:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:16:03 provisioning config files... 22:16:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5715715284499674782tmp [Pipeline] { [Pipeline] echo 22:16:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:16:03 ---> create-netrc.sh [Pipeline] } 22:16:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:16:03 ---> python-tools-install.sh [Pipeline] echo 22:16:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:16:04 ---> sudo-logs.sh 22:16:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:16:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:16:04 ---> job-cost.sh 22:16:04 lf-activate-venv: SKIPPING 22:16:04 DEBUG: total: 0.2199999988079071 22:16:04 INFO: Retrieving Stack Cost... 22:16:05 INFO: Retrieving Pricing Info for: v3-standard-8 22:16:05 INFO: Archiving Costs [Pipeline] echo 22:16:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:16:05 ---> logs-deploy.sh 22:16:05 lf-activate-venv: SKIPPING 22:16:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/43 22:16:05 INFO: archiving workspace using pattern(s): 22:16:06 Archives upload complete. 22:16:06 INFO: archiving logs to Nexus