Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fe7a4eb43542f16c84660f884d46e7cb5999737b 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-ssh4695995069989420616.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-ssh7549168925918447935.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-ssh1903849939910374791.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-ssh7057514516219860525.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-ssh2788030306579674852.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-25305 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 fe7a4eb43542f16c84660f884d46e7cb5999737b (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 fe7a4eb43542f16c84660f884d46e7cb5999737b # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 (#189)" > git rev-list --no-walk bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:23:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:23:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:23:19 ========================================================= 21:23:19 EdgeX Global Pipelines Version Info 21:23:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:23:20 ------------------- 21:23:20 stable info: 21:23:20 ------------------- 21:23:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:23:20 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 21:23:20 Message: update stable to v1.0.239 21:23:20 ------------------- 21:23:20 experimental info: 21:23:20 ------------------- 21:23:20 Commited By: **** collab-it+edgex@linuxfoundation.org 21:23:20 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 21:23:20 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:23:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 21:23:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 21:23:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:23:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:23:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:23:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 21:23:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:23:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:23:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:23:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:23:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:23:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 21:23:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:23:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:23:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:23:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:23:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:23:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:23:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:23:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:23:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:23:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:23:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:23:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:23:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:23:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:23:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:23:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:23:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:23:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:23:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fe7a4eb43542f16c84660f884d46e7cb5999737b [Pipeline] echo 21:23:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fe7a4eb [Pipeline] echo 21:23:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:23:21 provisioning config files... 21:23:21 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4785827278389620660tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:23:21 ---> docker-login.sh 21:23:21 nexus3.edgexfoundry.org:10001 21:23:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:21 Configure a credential helper to remove this warning. See 21:23:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:21 21:23:21 Login Succeeded 21:23:21 nexus3.edgexfoundry.org:10002 21:23:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:22 Configure a credential helper to remove this warning. See 21:23:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:22 21:23:22 Login Succeeded 21:23:22 nexus3.edgexfoundry.org:10003 21:23:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:22 Configure a credential helper to remove this warning. See 21:23:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:22 21:23:22 Login Succeeded 21:23:22 nexus3.edgexfoundry.org:10004 21:23:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:22 Configure a credential helper to remove this warning. See 21:23:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:22 21:23:22 Login Succeeded 21:23:22 docker.io 21:23:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:22 Configure a credential helper to remove this warning. See 21:23:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:22 21:23:22 Login Succeeded 21:23:22 ---> docker-login.sh ends [Pipeline] } 21:23:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:23:23 + git rev-list -1 --merges fe7a4eb43542f16c84660f884d46e7cb5999737b~1..fe7a4eb43542f16c84660f884d46e7cb5999737b [Pipeline] echo 21:23:23 -----------> git rev-list -1 --merges fe7a4eb43542f16c84660f884d46e7cb5999737b~1..fe7a4eb43542f16c84660f884d46e7cb5999737b fe7a4eb43542f16c84660f884d46e7cb5999737b [false] [Pipeline] sh 21:23:23 + git log --format=format:%s -1 fe7a4eb43542f16c84660f884d46e7cb5999737b [Pipeline] echo 21:23:23 ========================================================= 21:23:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:23:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:23:23 + git log --format=format:%s -1 fe7a4eb43542f16c84660f884d46e7cb5999737b [Pipeline] echo 21:23:23 [semverPrep] GIT_COMMIT: fe7a4eb43542f16c84660f884d46e7cb5999737b, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 (#189) [Pipeline] echo 21:23:23 [semverPrep] This is not a build commit. [Pipeline] sh 21:23:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:23:24 + grep -v github /etc/ssh/ssh_known_hosts 21:23:24 + [ -e /tmp/ssh_known_hosts ] 21:23:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:23:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:23:24 + sudo tee -a /etc/ssh/ssh_known_hosts 21:23:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:23:24 21:23:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:23:25 0.1.4: Pulling from edgex-devops/py-git-semver 21:23:25 b85a868b505f: Pulling fs layer 21:23:25 e2be974225ed: Pulling fs layer 21:23:25 339a4e72a1f5: Pulling fs layer 21:23:25 988bab9f4d93: Pulling fs layer 21:23:25 1469e6f7b9e6: Pulling fs layer 21:23:25 eaf3925da568: Pulling fs layer 21:23:25 bab4dde63d76: Pulling fs layer 21:23:25 bde34c3a00c8: Pulling fs layer 21:23:25 b352a97aabf1: Pulling fs layer 21:23:25 4872d77fe225: Pulling fs layer 21:23:25 5851b861e8e6: Pulling fs layer 21:23:25 bab4dde63d76: Waiting 21:23:25 bde34c3a00c8: Waiting 21:23:25 b352a97aabf1: Waiting 21:23:25 4872d77fe225: Waiting 21:23:25 5851b861e8e6: Waiting 21:23:25 988bab9f4d93: Waiting 21:23:25 1469e6f7b9e6: Waiting 21:23:25 eaf3925da568: Waiting 21:23:25 e2be974225ed: Verifying Checksum 21:23:25 e2be974225ed: Download complete 21:23:25 988bab9f4d93: Verifying Checksum 21:23:25 988bab9f4d93: Download complete 21:23:25 1469e6f7b9e6: Verifying Checksum 21:23:25 1469e6f7b9e6: Download complete 21:23:25 339a4e72a1f5: Verifying Checksum 21:23:25 339a4e72a1f5: Download complete 21:23:25 eaf3925da568: Download complete 21:23:25 bde34c3a00c8: Download complete 21:23:25 b352a97aabf1: Verifying Checksum 21:23:25 b352a97aabf1: Download complete 21:23:25 4872d77fe225: Verifying Checksum 21:23:25 4872d77fe225: Download complete 21:23:25 5851b861e8e6: Verifying Checksum 21:23:25 5851b861e8e6: Download complete 21:23:25 b85a868b505f: Verifying Checksum 21:23:25 b85a868b505f: Download complete 21:23:25 bab4dde63d76: Verifying Checksum 21:23:25 bab4dde63d76: Download complete 21:23:26 b85a868b505f: Pull complete 21:23:26 e2be974225ed: Pull complete 21:23:27 339a4e72a1f5: Pull complete 21:23:27 988bab9f4d93: Pull complete 21:23:27 1469e6f7b9e6: Pull complete 21:23:27 eaf3925da568: Pull complete 21:23:29 bab4dde63d76: Pull complete 21:23:29 bde34c3a00c8: Pull complete 21:23:29 b352a97aabf1: Pull complete 21:23:29 4872d77fe225: Pull complete 21:23:29 5851b861e8e6: Pull complete 21:23:29 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:23:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:23:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:23:29 prd-ubuntu20.04-docker-8c-8g-25305 does not seem to be running inside a container 21:23:29 $ 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 21:23:32 $ docker top 56c14795951cc1b42deb19ead4eb699fad85c0230a47f29e234ac086ba966fd9 -eo pid,comm 21:23:32 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). 21:23:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:23:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:23:32 [ssh-agent] Looking for ssh-agent implementation... 21:23:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:23:32 $ docker exec 56c14795951cc1b42deb19ead4eb699fad85c0230a47f29e234ac086ba966fd9 ssh-agent 21:23:32 SSH_AUTH_SOCK=/tmp/ssh-d1aLVM65tjWF/agent.35 21:23:32 SSH_AGENT_PID=41 21:23:32 Running ssh-add (command line suppressed) 21:23:32 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1865096365286317096.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1865096365286317096.key) 21:23:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:23:32 + git tag --points-at HEAD [Pipeline] } 21:23:32 $ docker exec --env ******** --env ******** 56c14795951cc1b42deb19ead4eb699fad85c0230a47f29e234ac086ba966fd9 ssh-agent -k 21:23:32 unset SSH_AUTH_SOCK; 21:23:32 unset SSH_AGENT_PID; 21:23:32 echo Agent pid 41 killed; 21:23:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:23:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:23:33 [ssh-agent] Looking for ssh-agent implementation... 21:23:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:23:33 $ docker exec 56c14795951cc1b42deb19ead4eb699fad85c0230a47f29e234ac086ba966fd9 ssh-agent 21:23:33 SSH_AUTH_SOCK=/tmp/ssh-4ZjtCf3eErSi/agent.74 21:23:33 SSH_AGENT_PID=80 21:23:33 Running ssh-add (command line suppressed) 21:23:33 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1545809512902081598.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1545809512902081598.key) 21:23:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:23:33 + git semver init 21:23:33 2022-09-06 21:23:33,859 [run_init] DEBUG init version:0.0.0 force:False 21:23:33 2022-09-06 21:23:33,859 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver 21:23:33 2022-09-06 21:23:33,860 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver 21:23:33 2022-09-06 21:23:33,860 [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) 21:23:34 2022-09-06 21:23:34,760 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude 21:23:34 2022-09-06 21:23:34,761 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False 21:23:34 2022-09-06 21:23:34,761 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 21:23:34 2022-09-06 21:23:34,761 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 21:23:34 2.3.0-dev.11 [Pipeline] } 21:23:34 $ docker exec --env ******** --env ******** 56c14795951cc1b42deb19ead4eb699fad85c0230a47f29e234ac086ba966fd9 ssh-agent -k 21:23:35 unset SSH_AUTH_SOCK; 21:23:35 unset SSH_AGENT_PID; 21:23:35 echo Agent pid 80 killed; 21:23:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:23:35 + git semver [Pipeline] } 21:23:35 $ docker stop --time=1 56c14795951cc1b42deb19ead4eb699fad85c0230a47f29e234ac086ba966fd9 21:23:36 $ docker rm -f 56c14795951cc1b42deb19ead4eb699fad85c0230a47f29e234ac086ba966fd9 [Pipeline] // withDockerContainer [Pipeline] sh 21:23:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:23:37 Stashed 1 file(s) [Pipeline] echo 21:23:37 [edgeXSemver]: initialized semver on version 2.3.0-dev.11 [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 21:23:37 provisioning config files... 21:23:37 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config233334957619470163tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:23:37 ---> docker-login.sh 21:23:37 nexus3.edgexfoundry.org:10001 21:23:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:37 Configure a credential helper to remove this warning. See 21:23:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:37 21:23:37 Login Succeeded 21:23:37 nexus3.edgexfoundry.org:10002 21:23:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:37 Configure a credential helper to remove this warning. See 21:23:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:37 21:23:38 Login Succeeded 21:23:38 nexus3.edgexfoundry.org:10003 21:23:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:38 Configure a credential helper to remove this warning. See 21:23:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:38 21:23:38 Login Succeeded 21:23:38 nexus3.edgexfoundry.org:10004 21:23:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:38 Configure a credential helper to remove this warning. See 21:23:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:38 21:23:38 Login Succeeded 21:23:38 docker.io 21:23:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:38 Configure a credential helper to remove this warning. See 21:23:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:38 21:23:38 Login Succeeded 21:23:38 ---> docker-login.sh ends [Pipeline] } 21:23:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:23:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:23:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:23:38 ========================================================= 21:23:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 21:23:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:39 + 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 . 21:23:39 Sending build context to Docker daemon 5.453MB 21:23:39 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 21:23:39 Step 2/12 : FROM ${BASE} AS builder 21:23:39 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 21:23:39 2408cc74d12b: Pulling fs layer 21:23:39 ea60b727a1ce: Pulling fs layer 21:23:39 30c4a7721957: Pulling fs layer 21:23:39 370296b7ddb6: Pulling fs layer 21:23:39 7c6cee850709: Pulling fs layer 21:23:39 39a5fcdaea64: Pulling fs layer 21:23:39 d94ebbe4e438: Pulling fs layer 21:23:39 bcfd1f05c69d: Pulling fs layer 21:23:39 7c6cee850709: Waiting 21:23:39 370296b7ddb6: Waiting 21:23:39 39a5fcdaea64: Waiting 21:23:39 59ccb84bbe0f: Pulling fs layer 21:23:39 bcfd1f05c69d: Waiting 21:23:39 59ccb84bbe0f: Waiting 21:23:39 d94ebbe4e438: Waiting 21:23:39 30c4a7721957: Download complete 21:23:39 ea60b727a1ce: Verifying Checksum 21:23:39 ea60b727a1ce: Download complete 21:23:39 7c6cee850709: Verifying Checksum 21:23:39 7c6cee850709: Download complete 21:23:39 39a5fcdaea64: Download complete 21:23:39 2408cc74d12b: Verifying Checksum 21:23:39 2408cc74d12b: Download complete 21:23:39 d94ebbe4e438: Verifying Checksum 21:23:39 d94ebbe4e438: Download complete 21:23:39 2408cc74d12b: Pull complete 21:23:39 ea60b727a1ce: Pull complete 21:23:39 30c4a7721957: Pull complete 21:23:39 59ccb84bbe0f: Verifying Checksum 21:23:39 59ccb84bbe0f: Download complete 21:23:40 370296b7ddb6: Verifying Checksum 21:23:40 370296b7ddb6: Download complete 21:23:40 bcfd1f05c69d: Verifying Checksum 21:23:40 bcfd1f05c69d: Download complete 21:23:43 370296b7ddb6: Pull complete 21:23:44 7c6cee850709: Pull complete 21:23:44 39a5fcdaea64: Pull complete 21:23:44 d94ebbe4e438: Pull complete 21:23:46 bcfd1f05c69d: Pull complete 21:23:46 59ccb84bbe0f: Pull complete 21:23:46 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 21:23:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:23:46 ---> a4fb48ad2a94 21:23:46 Step 3/12 : ARG MAKE='make build' 21:23:52 ---> Running in be9a9fe6044f 21:23:52 Removing intermediate container be9a9fe6044f 21:23:52 ---> 4a3b2dc35e29 21:23:52 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:23:52 ---> Running in 52ac117249b9 21:23:52 Removing intermediate container 52ac117249b9 21:23:52 ---> f54494a64f4a 21:23:52 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 21:23:52 ---> Running in 2852de0feeec 21:23:52 Removing intermediate container 2852de0feeec 21:23:52 ---> ec0f05228a88 21:23:52 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:23:52 ---> Running in 357281eb09b8 21:23:52 Removing intermediate container 357281eb09b8 21:23:52 ---> a087624df611 21:23:52 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:23:52 ---> Running in 91fa8585f6ba 21:23:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:23:52 Still waiting to schedule task 21:23:52 ‘prd-centos7-blackbox-4c-2g-24474’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 21:23:52 ‘prd-centos7-blackbox-4c-2g-24475’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 21:23:52 ‘prd-ubuntu20.04-docker-arm64-4c-16g-24772’ is offline 21:23:52 ‘prd-ubuntu20.04-docker-arm64-4c-16g-25333’ is offline 21:23:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:23:53 (1/4) Installing openssh-keygen (9.0_p1-r2) 21:23:53 (2/4) Installing libedit (20210910.3.1-r0) 21:23:53 (3/4) Installing openssh-client-common (9.0_p1-r2) 21:23:53 (4/4) Installing openssh-client-default (9.0_p1-r2) 21:23:54 Executing busybox-1.35.0-r13.trigger 21:23:54 OK: 216 MiB in 55 packages 21:23:54 Removing intermediate container 91fa8585f6ba 21:23:54 ---> 57c776236629 21:23:54 Step 8/12 : WORKDIR /device-snmp-go 21:23:54 ---> Running in d879f1c97e7e 21:23:54 Removing intermediate container d879f1c97e7e 21:23:54 ---> c9895ecbbb66 21:23:54 Step 9/12 : COPY go.mod vendor* ./ 21:23:54 ---> 3cffa61de82f 21:23:54 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:23:54 ---> Running in f63a7b6f2a54 21:24:16 Removing intermediate container f63a7b6f2a54 21:24:16 ---> 818f77e60ca5 21:24:16 Step 11/12 : COPY . . 21:24:16 ---> 447052ca1b21 21:24:16 Step 12/12 : RUN ${MAKE} 21:24:16 ---> Running in 8255c772860d 21:24:16 noop 21:24:16 Removing intermediate container 8255c772860d 21:24:16 ---> 4f6d83723a8b 21:24:16 Successfully built 4f6d83723a8b 21:24:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:17 + docker inspect -f . ci-base-image-x86_64 21:24:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:24:17 prd-ubuntu20.04-docker-8c-8g-25305 does not seem to be running inside a container 21:24:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:24:17 $ docker top cb104cd091b0d99378103877ab91fa4d833d996a78c44d53e6e3aaf2e97a22c4 -eo pid,comm [Pipeline] { [Pipeline] sh 21:24:17 + go version 21:24:17 go version go1.18.3 linux/amd64 [Pipeline] } 21:24:17 $ docker stop --time=1 cb104cd091b0d99378103877ab91fa4d833d996a78c44d53e6e3aaf2e97a22c4 21:24:19 $ docker rm -f cb104cd091b0d99378103877ab91fa4d833d996a78c44d53e6e3aaf2e97a22c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:19 + docker inspect -f . ci-base-image-x86_64 21:24:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:24:19 prd-ubuntu20.04-docker-8c-8g-25305 does not seem to be running inside a container 21:24:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:24:20 $ docker top d68b539893baf916ab5fc6e961799b44866f9b716170ca682f537b1d44523b3d -eo pid,comm [Pipeline] { [Pipeline] sh 21:24:20 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh 21:24:20 + make test 21:24:20 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 21:24:20 ? github.com/edgexfoundry/device-snmp-go [no test files] 21:24:29 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 21:24:29 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.015s coverage: 0.0% of statements 21:24:35 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." 21:24:35 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:24:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:24:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:24:37 ./bin/test-attribution-txt.sh 21:24:37 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 21:24:37 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 21:24:37 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 21:24:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:24:37 $ docker stop --time=1 d68b539893baf916ab5fc6e961799b44866f9b716170ca682f537b1d44523b3d 21:24:39 $ docker rm -f d68b539893baf916ab5fc6e961799b44866f9b716170ca682f537b1d44523b3d [Pipeline] // withDockerContainer [Pipeline] sh 21:24:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:24:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:24:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:24:40 + ls -al . 21:24:40 total 172 21:24:40 drwxrwxr-x 9 jenkins jenkins 4096 Sep 6 21:24 . 21:24:40 drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 21:23 .. 21:24:40 -rw-rw-r-- 1 jenkins jenkins 6 Sep 6 21:23 .dockerignore 21:24:40 drwxrwxr-x 8 jenkins jenkins 4096 Sep 6 21:24 .git 21:24:40 drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 21:23 .github 21:24:40 -rw-rw-r-- 1 jenkins jenkins 328 Sep 6 21:23 .gitignore 21:24:40 -rw-rw-r-- 1 jenkins jenkins 41 Sep 6 21:23 .golangci.yml 21:24:40 drwxr-xr-x 3 jenkins jenkins 4096 Sep 6 21:23 .semver 21:24:40 -rw-rw-r-- 1 jenkins jenkins 8556 Sep 6 21:23 Attribution.txt 21:24:40 -rw-rw-r-- 1 jenkins jenkins 6948 Sep 6 21:23 CHANGELOG.md 21:24:40 -rw-rw-r-- 1 jenkins jenkins 1518 Sep 6 21:23 Dockerfile 21:24:40 -rw-rw-r-- 1 jenkins jenkins 677 Sep 6 21:23 GOVERNANCE.md 21:24:40 -rw-rw-r-- 1 jenkins jenkins 656 Sep 6 21:23 Jenkinsfile 21:24:40 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 6 21:23 LICENSE 21:24:40 -rw-rw-r-- 1 jenkins jenkins 2334 Sep 6 21:23 Makefile 21:24:40 -rw-rw-r-- 1 jenkins jenkins 620 Sep 6 21:23 OWNERS.md 21:24:40 -rw-rw-r-- 1 jenkins jenkins 9390 Sep 6 21:23 README.md 21:24:40 -rw-rw-r-- 1 jenkins jenkins 12 Sep 6 21:23 VERSION 21:24:40 drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 21:23 bin 21:24:40 drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 21:23 cmd 21:24:40 -rw-r--r-- 1 jenkins jenkins 7631 Sep 6 21:24 coverage.out 21:24:40 -rw-rw-r-- 1 jenkins jenkins 3439 Sep 6 21:23 go.mod 21:24:40 -rw-rw-r-- 1 jenkins jenkins 36897 Sep 6 21:23 go.sum 21:24:40 drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 21:23 internal 21:24:40 drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 21:23 snap 21:24:40 -rw-rw-r-- 1 jenkins jenkins 228 Sep 6 21:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:41 + 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=fe7a4eb43542f16c84660f884d46e7cb5999737b --label arch=amd64 --label version=2.3.0-dev.11 . 21:24:41 Sending build context to Docker daemon 5.462MB 21:24:41 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 21:24:41 Step 2/24 : FROM ${BASE} AS builder 21:24:41 ---> 4f6d83723a8b 21:24:41 Step 3/24 : ARG MAKE='make build' 21:24:41 ---> Running in bcf61a5f5d9e 21:24:41 Removing intermediate container bcf61a5f5d9e 21:24:41 ---> eb5bbdebd439 21:24:41 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:24:41 ---> Running in 25f3fdd83b1a 21:24:41 Removing intermediate container 25f3fdd83b1a 21:24:41 ---> 18db2c1dd56f 21:24:41 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 21:24:41 ---> Running in 4c1a1a5ee672 21:24:41 Removing intermediate container 4c1a1a5ee672 21:24:41 ---> 2492a19b4159 21:24:41 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:24:41 ---> Running in cb6029f13d9a 21:24:42 Removing intermediate container cb6029f13d9a 21:24:42 ---> 195f75484b58 21:24:42 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:24:42 ---> Running in 8df8b6b5dfe1 21:24:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:24:43 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:24:43 OK: 216 MiB in 55 packages 21:24:43 Removing intermediate container 8df8b6b5dfe1 21:24:43 ---> da1191b87ac5 21:24:43 Step 8/24 : WORKDIR /device-snmp-go 21:24:43 ---> Running in 7985c934db24 21:24:43 Removing intermediate container 7985c934db24 21:24:43 ---> adc3ab25577a 21:24:43 Step 9/24 : COPY go.mod vendor* ./ 21:24:43 ---> 87f8dd0c3122 21:24:43 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:24:43 ---> Running in 0b7aef02ce3a 21:24:44 Removing intermediate container 0b7aef02ce3a 21:24:44 ---> 8327ab298816 21:24:44 Step 11/24 : COPY . . 21:24:44 ---> dfb8ecab8ae8 21:24:44 Step 12/24 : RUN ${MAKE} 21:24:44 ---> Running in 8d161275dbe7 21:24:45 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.20 -X github.com/edgexfoundry/device-snmp-go.Version=2.3.0-dev.11" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 21:25:06 Removing intermediate container 8d161275dbe7 21:25:06 ---> 763d7ddf2696 21:25:06 Step 13/24 : FROM alpine:3.16 21:25:06 3.16: Pulling from library/alpine 21:25:06 213ec9aee27d: Pulling fs layer 21:25:06 213ec9aee27d: Verifying Checksum 21:25:06 213ec9aee27d: Download complete 21:25:06 213ec9aee27d: Pull complete 21:25:06 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 21:25:06 Status: Downloaded newer image for alpine:3.16 21:25:06 ---> 9c6f07244728 21:25:06 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 21:25:06 ---> Running in 0ea2419e578e 21:25:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:25:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:25:06 (1/6) Installing dumb-init (1.2.5-r1) 21:25:06 (2/6) Installing libgcc (11.2.1_git20220219-r2) 21:25:06 (3/6) Installing libsodium (1.0.18-r0) 21:25:06 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 21:25:06 (5/6) Installing libzmq (4.3.4-r0) 21:25:06 (6/6) Installing zeromq (4.3.4-r0) 21:25:06 Executing busybox-1.35.0-r17.trigger 21:25:06 OK: 8 MiB in 20 packages 21:25:06 Removing intermediate container 0ea2419e578e 21:25:06 ---> f4f25d0a4cc8 21:25:06 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 21:25:06 ---> b3af8df21167 21:25:06 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 21:25:06 ---> 9c76ee5b4e40 21:25:06 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 21:25:06 ---> e636e43af66e 21:25:06 Step 18/24 : EXPOSE 59993 21:25:06 ---> Running in 1968abe4714e 21:25:06 Removing intermediate container 1968abe4714e 21:25:06 ---> bd1c7feda0b2 21:25:06 Step 19/24 : EXPOSE 161 21:25:06 ---> Running in 32aac1f06e0c 21:25:06 Removing intermediate container 32aac1f06e0c 21:25:06 ---> 78117acd689e 21:25:06 Step 20/24 : ENTRYPOINT ["/device-snmp"] 21:25:06 ---> Running in fe876db106f8 21:25:06 Removing intermediate container fe876db106f8 21:25:06 ---> b05bfe7c6af7 21:25:06 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 21:25:06 ---> Running in d189c9b66fbc 21:25:06 Removing intermediate container d189c9b66fbc 21:25:06 ---> 270b574bc332 21:25:06 Step 22/24 : LABEL arch=amd64 21:25:06 ---> Running in 16fd0059faa1 21:25:06 Removing intermediate container 16fd0059faa1 21:25:06 ---> 46a9a3d7387d 21:25:06 Step 23/24 : LABEL git_sha=fe7a4eb43542f16c84660f884d46e7cb5999737b 21:25:06 ---> Running in f494dc66880e 21:25:07 Removing intermediate container f494dc66880e 21:25:07 ---> bd827e8ca07c 21:25:07 Step 24/24 : LABEL version=2.3.0-dev.11 21:25:07 ---> Running in fafdefb3bd57 21:25:07 Removing intermediate container fafdefb3bd57 21:25:07 ---> ea20979f4664 21:25:07 [Warning] One or more build-args [ARCH] were not consumed 21:25:07 Successfully built ea20979f4664 21:25:07 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:25:07 provisioning config files... 21:25:07 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4829211872254451103tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:25:07 ---> docker-login.sh 21:25:07 nexus3.edgexfoundry.org:10001 21:25:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:25:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:25:07 Configure a credential helper to remove this warning. See 21:25:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:25:07 21:25:07 Login Succeeded 21:25:07 nexus3.edgexfoundry.org:10002 21:25:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:25:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:25:07 Configure a credential helper to remove this warning. See 21:25:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:25:07 21:25:07 Login Succeeded 21:25:07 nexus3.edgexfoundry.org:10003 21:25:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:25:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:25:07 Configure a credential helper to remove this warning. See 21:25:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:25:07 21:25:07 Login Succeeded 21:25:07 nexus3.edgexfoundry.org:10004 21:25:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:25:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:25:08 Configure a credential helper to remove this warning. See 21:25:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:25:08 21:25:08 Login Succeeded 21:25:08 docker.io 21:25:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:25:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:25:08 Configure a credential helper to remove this warning. See 21:25:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:25:08 21:25:08 Login Succeeded 21:25:08 ---> docker-login.sh ends [Pipeline] } 21:25:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:25:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:25:08 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 21:25:08 fe7a4eb43542f16c84660f884d46e7cb5999737b 21:25:08 latest 21:25:08 2.3.0-dev.11 21:25:08 fe7a4eb43542f16c84660f884d46e7cb5999737b-2.3.0-dev.11 21:25:08 main 21:25:08 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:08 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:fe7a4eb43542f16c84660f884d46e7cb5999737b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:09 + docker push nexus3.edgexfoundry.org:10004/device-snmp:fe7a4eb43542f16c84660f884d46e7cb5999737b 21:25:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 21:25:09 61a86f9522f4: Preparing 21:25:09 7d3bdd004608: Preparing 21:25:09 21de878c927f: Preparing 21:25:09 751785b56f0c: Preparing 21:25:09 994393dc58e7: Preparing 21:25:09 994393dc58e7: Layer already exists 21:25:09 7d3bdd004608: Pushed 21:25:09 61a86f9522f4: Pushed 21:25:09 751785b56f0c: Pushed 21:25:11 21de878c927f: Pushed 21:25:11 fe7a4eb43542f16c84660f884d46e7cb5999737b: digest: sha256:26d7dda596f24133cea07a512e0683c9e65e2ba39a9d9680ef0e4405f576ab1f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:12 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:12 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 21:25:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 21:25:12 61a86f9522f4: Preparing 21:25:12 7d3bdd004608: Preparing 21:25:12 21de878c927f: Preparing 21:25:12 751785b56f0c: Preparing 21:25:12 994393dc58e7: Preparing 21:25:12 7d3bdd004608: Layer already exists 21:25:12 21de878c927f: Layer already exists 21:25:12 994393dc58e7: Layer already exists 21:25:12 61a86f9522f4: Layer already exists 21:25:12 751785b56f0c: Layer already exists 21:25:12 latest: digest: sha256:26d7dda596f24133cea07a512e0683c9e65e2ba39a9d9680ef0e4405f576ab1f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:12 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:13 + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.11 21:25:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 21:25:13 61a86f9522f4: Preparing 21:25:13 7d3bdd004608: Preparing 21:25:13 21de878c927f: Preparing 21:25:13 751785b56f0c: Preparing 21:25:13 994393dc58e7: Preparing 21:25:13 21de878c927f: Layer already exists 21:25:13 61a86f9522f4: Layer already exists 21:25:13 994393dc58e7: Layer already exists 21:25:13 7d3bdd004608: Layer already exists 21:25:13 751785b56f0c: Layer already exists 21:25:13 2.3.0-dev.11: digest: sha256:26d7dda596f24133cea07a512e0683c9e65e2ba39a9d9680ef0e4405f576ab1f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:13 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:fe7a4eb43542f16c84660f884d46e7cb5999737b-2.3.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:13 + docker push nexus3.edgexfoundry.org:10004/device-snmp:fe7a4eb43542f16c84660f884d46e7cb5999737b-2.3.0-dev.11 21:25:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 21:25:13 61a86f9522f4: Preparing 21:25:13 7d3bdd004608: Preparing 21:25:13 21de878c927f: Preparing 21:25:13 751785b56f0c: Preparing 21:25:13 994393dc58e7: Preparing 21:25:13 21de878c927f: Layer already exists 21:25:13 7d3bdd004608: Layer already exists 21:25:13 751785b56f0c: Layer already exists 21:25:13 61a86f9522f4: Layer already exists 21:25:13 994393dc58e7: Layer already exists 21:25:13 fe7a4eb43542f16c84660f884d46e7cb5999737b-2.3.0-dev.11: digest: sha256:26d7dda596f24133cea07a512e0683c9e65e2ba39a9d9680ef0e4405f576ab1f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:14 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:14 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 21:25:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 21:25:14 61a86f9522f4: Preparing 21:25:14 7d3bdd004608: Preparing 21:25:14 21de878c927f: Preparing 21:25:14 751785b56f0c: Preparing 21:25:14 994393dc58e7: Preparing 21:25:14 61a86f9522f4: Layer already exists 21:25:14 994393dc58e7: Layer already exists 21:25:14 21de878c927f: Layer already exists 21:25:14 7d3bdd004608: Layer already exists 21:25:14 751785b56f0c: Layer already exists 21:25:14 main: digest: sha256:26d7dda596f24133cea07a512e0683c9e65e2ba39a9d9680ef0e4405f576ab1f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:25:14 ===================================================== [Pipeline] echo 21:25:14 taggedImages: 21:25:14 - nexus3.edgexfoundry.org:10004/device-snmp:fe7a4eb43542f16c84660f884d46e7cb5999737b 21:25:14 - nexus3.edgexfoundry.org:10004/device-snmp:latest 21:25:14 - nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.11 21:25:14 - nexus3.edgexfoundry.org:10004/device-snmp:fe7a4eb43542f16c84660f884d46e7cb5999737b-2.3.0-dev.11 21:25:14 - 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 21:25:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:25:14 21:25:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:25:15 latest: Pulling from edgex-lftools-log-publisher 21:25:15 5eb5b503b376: Pulling fs layer 21:25:15 5c69ac0246d0: Pulling fs layer 21:25:15 ec43610c2a17: Pulling fs layer 21:25:15 3a2ae6a8a46f: Pulling fs layer 21:25:15 33b1e0a273af: Pulling fs layer 21:25:15 5d3b04190fa2: Pulling fs layer 21:25:15 2f39f015ded8: Pulling fs layer 21:25:15 3a2ae6a8a46f: Waiting 21:25:15 33b1e0a273af: Waiting 21:25:15 5d3b04190fa2: Waiting 21:25:15 2f39f015ded8: Waiting 21:25:15 5c69ac0246d0: Download complete 21:25:15 3a2ae6a8a46f: Verifying Checksum 21:25:15 3a2ae6a8a46f: Download complete 21:25:15 33b1e0a273af: Verifying Checksum 21:25:15 33b1e0a273af: Download complete 21:25:15 ec43610c2a17: Verifying Checksum 21:25:15 ec43610c2a17: Download complete 21:25:15 5d3b04190fa2: Download complete 21:25:15 5eb5b503b376: Download complete 21:25:16 2f39f015ded8: Download complete 21:25:16 5eb5b503b376: Pull complete 21:25:16 5c69ac0246d0: Pull complete 21:25:17 ec43610c2a17: Pull complete 21:25:17 3a2ae6a8a46f: Pull complete 21:25:17 33b1e0a273af: Pull complete 21:25:17 5d3b04190fa2: Pull complete 21:25:21 2f39f015ded8: Pull complete 21:25:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:25:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:25:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:25:21 prd-ubuntu20.04-docker-8c-8g-25305 does not seem to be running inside a container 21:25:22 $ 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 21:25:24 $ docker top a0e5acd0d4889e22de19e2465381a1247debdaeb7521c4d295397c28ad9c0059 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:25:25 ---> job-cost.sh 21:25:25 lf-activate-venv: SKIPPING 21:25:25 INFO: No Stack... 21:25:25 INFO: Retrieving Pricing Info for: v3-standard-8 21:25:25 INFO: Archiving Costs [Pipeline] sh 21:25:26 + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv 21:25:26 + cut -d, -f6 [Pipeline] lock 21:25:26 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-42-stack-cost] 21:25:26 Resource [jenkins-edgexfoundry-device-snmp-go-main-42-stack-cost] did not exist. Created. 21:25:26 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-42-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:25:26 + echo total: 0.2199999988079071 [Pipeline] stash 21:25:26 Stashed 1 file(s) [Pipeline] } 21:25:26 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-42-stack-cost] [Pipeline] // lock [Pipeline] } 21:25:26 $ docker stop --time=1 a0e5acd0d4889e22de19e2465381a1247debdaeb7521c4d295397c28ad9c0059 21:25:27 $ docker rm -f a0e5acd0d4889e22de19e2465381a1247debdaeb7521c4d295397c28ad9c0059 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:04:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-27533 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 22:04:56 Running in /w/workspace/device-snmp-go/42 [Pipeline] { [Pipeline] checkout 22:04:56 Selected Git installation does not exist. Using Default 22:04:56 The recommended git tool is: NONE 22:05:03 using credential edgex-jenkins-ssh 22:05:03 Cloning the remote Git repository 22:05:03 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 22:05:03 > git init /w/workspace/device-snmp-go/42 # timeout=10 22:05:03 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 22:05:03 > git --version # timeout=10 22:05:03 > git --version # 'git version 2.25.1' 22:05:03 using GIT_SSH to set credentials SSH Credentials for GitHub 22:05:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:05:05 Avoid second fetch 22:05:05 Checking out Revision fe7a4eb43542f16c84660f884d46e7cb5999737b (main) 22:05:05 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 22:05:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:05:05 > git config core.sparsecheckout # timeout=10 22:05:05 > git checkout -f fe7a4eb43542f16c84660f884d46e7cb5999737b # timeout=10 22:05:09 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 (#189)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:05:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:05:10 % Total % Received % Xferd Average Speed Time Time Time Current 22:05:10 Dload Upload Total Spent Left Speed 22:05:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 65 12602 65 8259 0 0 51618 0 --:--:-- --:--:-- --:--:-- 51298 100 12602 100 12602 0 0 77790 0 --:--:-- --:--:-- --:--:-- 77312 [Pipeline] sh 22:05:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:05:11 + sudo jq+ sudo tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:05:11 /etc/docker/daemon.new 22:05:11 { 22:05:11 "registry-mirrors": [ 22:05:11 "https://nexus3.edgexfoundry.org:10001" 22:05:11 ], 22:05:11 "bip": "10.250.0.254/24", 22:05:11 "hosts": [ 22:05:11 "tcp://0.0.0.0:5555", 22:05:11 "unix:///var/run/docker.sock" 22:05:11 ], 22:05:11 "mtu": 1458, 22:05:11 "selinux-enabled": true, 22:05:11 "seccomp-profile": "/etc/docker/seccomp.json" 22:05:11 } [Pipeline] sh 22:05:12 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:05:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:05:31 provisioning config files... 22:05:31 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/42@tmp/config1785285120163001546tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:05:31 ---> docker-login.sh 22:05:31 nexus3.edgexfoundry.org:10001 22:05:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:05:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:05:32 Configure a credential helper to remove this warning. See 22:05:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:05:32 22:05:32 Login Succeeded 22:05:32 nexus3.edgexfoundry.org:10002 22:05:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:05:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:05:32 Configure a credential helper to remove this warning. See 22:05:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:05:32 22:05:32 Login Succeeded 22:05:32 nexus3.edgexfoundry.org:10003 22:05:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:05:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:05:33 Configure a credential helper to remove this warning. See 22:05:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:05:33 22:05:33 Login Succeeded 22:05:33 nexus3.edgexfoundry.org:10004 22:05:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:05:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:05:34 Configure a credential helper to remove this warning. See 22:05:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:05:34 22:05:34 Login Succeeded 22:05:34 docker.io 22:05:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:05:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:05:35 Configure a credential helper to remove this warning. See 22:05:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:05:35 22:05:35 Login Succeeded 22:05:35 ---> docker-login.sh ends [Pipeline] } 22:05:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:05:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:05:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:05:35 ========================================================= 22:05:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 22:05:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:35 + 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:05:36 Sending build context to Docker daemon 2.811MB 22:05:36 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 22:05:36 Step 2/12 : FROM ${BASE} AS builder 22:05:36 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:05:36 b3c136eddcbf: Pulling fs layer 22:05:36 c0a3192eca97: Pulling fs layer 22:05:36 a050256f5b6f: Pulling fs layer 22:05:36 656be50a0ddc: Pulling fs layer 22:05:36 2bbca73fdf42: Pulling fs layer 22:05:36 46d945488cbd: Pulling fs layer 22:05:36 8a5474983e97: Pulling fs layer 22:05:36 329c88fbcd65: Pulling fs layer 22:05:36 46d945488cbd: Waiting 22:05:36 8a5474983e97: Waiting 22:05:36 656be50a0ddc: Waiting 22:05:36 2bbca73fdf42: Waiting 22:05:36 329c88fbcd65: Waiting 22:05:36 a050256f5b6f: Verifying Checksum 22:05:36 a050256f5b6f: Download complete 22:05:36 c0a3192eca97: Verifying Checksum 22:05:36 c0a3192eca97: Download complete 22:05:36 2bbca73fdf42: Verifying Checksum 22:05:36 2bbca73fdf42: Download complete 22:05:36 46d945488cbd: Verifying Checksum 22:05:36 46d945488cbd: Download complete 22:05:36 b3c136eddcbf: Verifying Checksum 22:05:36 b3c136eddcbf: Download complete 22:05:37 b3c136eddcbf: Pull complete 22:05:38 329c88fbcd65: Verifying Checksum 22:05:38 329c88fbcd65: Download complete 22:05:38 c0a3192eca97: Pull complete 22:05:39 a050256f5b6f: Pull complete 22:05:39 8a5474983e97: Verifying Checksum 22:05:39 8a5474983e97: Download complete 22:05:39 656be50a0ddc: Verifying Checksum 22:05:39 656be50a0ddc: Download complete 22:05:52 656be50a0ddc: Pull complete 22:05:52 2bbca73fdf42: Pull complete 22:05:52 46d945488cbd: Pull complete 22:05:59 8a5474983e97: Pull complete 22:06:02 329c88fbcd65: Pull complete 22:06:02 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 22:06:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:06:02 ---> ff4287adb874 22:06:02 Step 3/12 : ARG MAKE='make build' 22:06:04 ---> Running in 89f1282043e4 22:06:04 Removing intermediate container 89f1282043e4 22:06:04 ---> 4681143c9db2 22:06:04 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:06:04 ---> Running in 4bc2622c5c26 22:06:05 Removing intermediate container 4bc2622c5c26 22:06:05 ---> 2c5c98d999be 22:06:05 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 22:06:05 ---> Running in 8070b272acba 22:06:05 Removing intermediate container 8070b272acba 22:06:05 ---> 13ec9262c95e 22:06:05 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:06:05 ---> Running in d02232ee272a 22:06:07 Removing intermediate container d02232ee272a 22:06:07 ---> a0329b3ffb01 22:06:07 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:06:07 ---> Running in f27fd5db1932 22:06:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:06:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:06:11 (1/4) Installing openssh-keygen (9.0_p1-r2) 22:06:11 (2/4) Installing libedit (20210910.3.1-r0) 22:06:11 (3/4) Installing openssh-client-common (9.0_p1-r2) 22:06:11 (4/4) Installing openssh-client-default (9.0_p1-r2) 22:06:11 Executing busybox-1.35.0-r13.trigger 22:06:11 OK: 226 MiB in 55 packages 22:06:12 Removing intermediate container f27fd5db1932 22:06:12 ---> 014428757c98 22:06:12 Step 8/12 : WORKDIR /device-snmp-go 22:06:12 ---> Running in 920264a7ac9a 22:06:12 Removing intermediate container 920264a7ac9a 22:06:12 ---> 9871dd327b82 22:06:12 Step 9/12 : COPY go.mod vendor* ./ 22:06:13 ---> 4cc30a225907 22:06:13 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:06:13 ---> Running in 0e6d49f2c923 22:07:10 Removing intermediate container 0e6d49f2c923 22:07:10 ---> b19f5795d9b8 22:07:10 Step 11/12 : COPY . . 22:07:10 ---> d088dfa3cf12 22:07:10 Step 12/12 : RUN ${MAKE} 22:07:10 ---> Running in de239da7b3ad 22:07:10 noop 22:07:10 Removing intermediate container de239da7b3ad 22:07:10 ---> 456b5c45e577 22:07:10 Successfully built 456b5c45e577 22:07:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:07:10 + docker inspect -f . ci-base-image-arm64 22:07:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:07:11 prd-ubuntu20.04-docker-arm64-4c-16g-27533 does not seem to be running inside a container 22:07:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/42 -v /w/workspace/device-snmp-go/42:/w/workspace/device-snmp-go/42:rw,z -v /w/workspace/device-snmp-go/42@tmp:/w/workspace/device-snmp-go/42@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:07:12 $ docker top c6cccb6513155eaa97b4562adbd11307170c927b90d0bfe4b2cb6a80d18aa9ab -eo pid,comm [Pipeline] { [Pipeline] sh 22:07:13 + go version 22:07:13 go version go1.18.3 linux/arm64 [Pipeline] } 22:07:13 $ docker stop --time=1 c6cccb6513155eaa97b4562adbd11307170c927b90d0bfe4b2cb6a80d18aa9ab 22:07:15 $ docker rm -f c6cccb6513155eaa97b4562adbd11307170c927b90d0bfe4b2cb6a80d18aa9ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:07:15 + docker inspect -f . ci-base-image-arm64 22:07:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:07:16 prd-ubuntu20.04-docker-arm64-4c-16g-27533 does not seem to be running inside a container 22:07:16 $ 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/42 -v /w/workspace/device-snmp-go/42:/w/workspace/device-snmp-go/42:rw,z -v /w/workspace/device-snmp-go/42@tmp:/w/workspace/device-snmp-go/42@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:07:17 $ docker top 2f532b429d709f66e696aa207927263d9bb0d63917caf148b1d113daeb6cd6e0 -eo pid,comm [Pipeline] { [Pipeline] sh 22:07:18 + git config --global --add safe.directory /w/workspace/device-snmp-go/42 [Pipeline] fileExists [Pipeline] sh 22:07:19 + make test 22:07:19 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 22:07:21 ? github.com/edgexfoundry/device-snmp-go [no test files] 22:08:58 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 22:08:58 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.048s coverage: 0.0% of statements 22:08:58 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:08:58 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:09:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:09:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:09:21 ./bin/test-attribution-txt.sh 22:09:21 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 22:09:21 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 22:09:21 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 22:09:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:09:21 $ docker stop --time=1 2f532b429d709f66e696aa207927263d9bb0d63917caf148b1d113daeb6cd6e0 22:09:23 $ docker rm -f 2f532b429d709f66e696aa207927263d9bb0d63917caf148b1d113daeb6cd6e0 [Pipeline] // withDockerContainer [Pipeline] sh 22:09:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:09:24 Warning: overwriting stash ‘coverage-report’ 22:09:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:09:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:09:25 + ls -al . 22:09:25 total 168 22:09:25 drwxrwxr-x 8 jenkins jenkins 4096 Sep 6 22:07 . 22:09:25 drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 22:05 .. 22:09:25 -rw-rw-r-- 1 jenkins jenkins 6 Sep 6 22:05 .dockerignore 22:09:25 drwxrwxr-x 8 jenkins jenkins 4096 Sep 6 22:05 .git 22:09:25 drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 22:05 .github 22:09:25 -rw-rw-r-- 1 jenkins jenkins 328 Sep 6 22:05 .gitignore 22:09:25 -rw-rw-r-- 1 jenkins jenkins 41 Sep 6 22:05 .golangci.yml 22:09:25 -rw-rw-r-- 1 jenkins jenkins 8556 Sep 6 22:05 Attribution.txt 22:09:25 -rw-rw-r-- 1 jenkins jenkins 6948 Sep 6 22:05 CHANGELOG.md 22:09:25 -rw-rw-r-- 1 jenkins jenkins 1518 Sep 6 22:05 Dockerfile 22:09:25 -rw-rw-r-- 1 jenkins jenkins 677 Sep 6 22:05 GOVERNANCE.md 22:09:25 -rw-rw-r-- 1 jenkins jenkins 656 Sep 6 22:05 Jenkinsfile 22:09:25 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 6 22:05 LICENSE 22:09:25 -rw-rw-r-- 1 jenkins jenkins 2334 Sep 6 22:05 Makefile 22:09:25 -rw-rw-r-- 1 jenkins jenkins 620 Sep 6 22:05 OWNERS.md 22:09:25 -rw-rw-r-- 1 jenkins jenkins 9390 Sep 6 22:05 README.md 22:09:25 -rw-rw-r-- 1 jenkins jenkins 12 Sep 6 21:23 VERSION 22:09:25 drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 22:05 bin 22:09:25 drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 22:05 cmd 22:09:25 -rw-r--r-- 1 jenkins jenkins 7631 Sep 6 22:08 coverage.out 22:09:25 -rw-rw-r-- 1 jenkins jenkins 3439 Sep 6 22:05 go.mod 22:09:25 -rw-rw-r-- 1 jenkins jenkins 36897 Sep 6 22:05 go.sum 22:09:25 drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 22:05 internal 22:09:25 drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 22:05 snap 22:09:25 -rw-rw-r-- 1 jenkins jenkins 228 Sep 6 22:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:09:26 + 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=fe7a4eb43542f16c84660f884d46e7cb5999737b --label arch=arm64 --label version=2.3.0-dev.11 . 22:09:26 Sending build context to Docker daemon 2.819MB 22:09:26 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 22:09:26 Step 2/24 : FROM ${BASE} AS builder 22:09:26 ---> 456b5c45e577 22:09:26 Step 3/24 : ARG MAKE='make build' 22:09:26 ---> Running in c85ecb6f9d9c 22:09:27 Removing intermediate container c85ecb6f9d9c 22:09:27 ---> 427b892f317e 22:09:27 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:09:27 ---> Running in f28fc8e32894 22:09:27 Removing intermediate container f28fc8e32894 22:09:27 ---> ebc7cd358d9e 22:09:27 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 22:09:27 ---> Running in fc0e8f3f3126 22:09:27 Removing intermediate container fc0e8f3f3126 22:09:27 ---> 3880ce99d713 22:09:27 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:09:28 ---> Running in 6cff0b9c626a 22:09:30 Removing intermediate container 6cff0b9c626a 22:09:30 ---> c943c692f649 22:09:30 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:09:30 ---> Running in 8de71f2d9d7c 22:09:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:09:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:09:33 OK: 226 MiB in 55 packages 22:09:34 Removing intermediate container 8de71f2d9d7c 22:09:34 ---> e2139809dedc 22:09:34 Step 8/24 : WORKDIR /device-snmp-go 22:09:34 ---> Running in 7d6c579835b8 22:09:34 Removing intermediate container 7d6c579835b8 22:09:34 ---> 5f63106ec5f3 22:09:34 Step 9/24 : COPY go.mod vendor* ./ 22:09:34 ---> 86eee20963ee 22:09:34 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:09:34 ---> Running in 73978cab2123 22:09:36 Removing intermediate container 73978cab2123 22:09:36 ---> 7606583a9b48 22:09:36 Step 11/24 : COPY . . 22:09:37 ---> 88e105d05f9b 22:09:37 Step 12/24 : RUN ${MAKE} 22:09:38 ---> Running in 047f3a59c29c 22:09:39 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.20 -X github.com/edgexfoundry/device-snmp-go.Version=2.3.0-dev.11" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 22:12:16 Removing intermediate container 047f3a59c29c 22:12:16 ---> 3fb2754679c5 22:12:16 Step 13/24 : FROM alpine:3.16 22:12:16 3.16: Pulling from library/alpine 22:12:16 9b18e9b68314: Pulling fs layer 22:12:16 9b18e9b68314: Verifying Checksum 22:12:16 9b18e9b68314: Download complete 22:12:16 9b18e9b68314: Pull complete 22:12:16 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 22:12:16 Status: Downloaded newer image for alpine:3.16 22:12:16 ---> a6215f271958 22:12:16 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 22:12:16 ---> Running in e8aa03826c81 22:12:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:12:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:12:16 (1/6) Installing dumb-init (1.2.5-r1) 22:12:16 (2/6) Installing libgcc (11.2.1_git20220219-r2) 22:12:16 (3/6) Installing libsodium (1.0.18-r0) 22:12:16 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 22:12:16 (5/6) Installing libzmq (4.3.4-r0) 22:12:16 (6/6) Installing zeromq (4.3.4-r0) 22:12:16 Executing busybox-1.35.0-r17.trigger 22:12:16 OK: 8 MiB in 20 packages 22:12:16 Removing intermediate container e8aa03826c81 22:12:16 ---> 99d5838556d9 22:12:16 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 22:12:16 ---> b12fe5a7316c 22:12:16 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 22:12:16 ---> e973dcdfab70 22:12:16 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 22:12:16 ---> a1aa4eb79eb6 22:12:16 Step 18/24 : EXPOSE 59993 22:12:16 ---> Running in 6cd1474009c2 22:12:16 Removing intermediate container 6cd1474009c2 22:12:16 ---> 771bc37b33cf 22:12:16 Step 19/24 : EXPOSE 161 22:12:16 ---> Running in 51f1a51acbf3 22:12:16 Removing intermediate container 51f1a51acbf3 22:12:16 ---> 0193382375e2 22:12:16 Step 20/24 : ENTRYPOINT ["/device-snmp"] 22:12:16 ---> Running in ead3ac199233 22:12:16 Removing intermediate container ead3ac199233 22:12:16 ---> bb59fde12919 22:12:16 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 22:12:16 ---> Running in f41760b4b3b8 22:12:16 Removing intermediate container f41760b4b3b8 22:12:16 ---> 5e1531010088 22:12:16 Step 22/24 : LABEL arch=arm64 22:12:16 ---> Running in 53995b38433d 22:12:17 Removing intermediate container 53995b38433d 22:12:17 ---> 3d5554fd5b36 22:12:17 Step 23/24 : LABEL git_sha=fe7a4eb43542f16c84660f884d46e7cb5999737b 22:12:17 ---> Running in e318e460f7ca 22:12:17 Removing intermediate container e318e460f7ca 22:12:17 ---> 7df3f37bde69 22:12:17 Step 24/24 : LABEL version=2.3.0-dev.11 22:12:17 ---> Running in 3544597993c0 22:12:18 Removing intermediate container 3544597993c0 22:12:18 ---> 603cb112fb91 22:12:18 [Warning] One or more build-args [ARCH] were not consumed 22:12:18 Successfully built 603cb112fb91 22:12:18 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:12:18 provisioning config files... 22:12:18 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/42@tmp/config4946299874814024170tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:12:18 ---> docker-login.sh 22:12:18 nexus3.edgexfoundry.org:10001 22:12:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:19 Configure a credential helper to remove this warning. See 22:12:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:19 22:12:19 Login Succeeded 22:12:19 nexus3.edgexfoundry.org:10002 22:12:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:19 Configure a credential helper to remove this warning. See 22:12:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:19 22:12:19 Login Succeeded 22:12:19 nexus3.edgexfoundry.org:10003 22:12:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:20 Configure a credential helper to remove this warning. See 22:12:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:20 22:12:20 Login Succeeded 22:12:20 nexus3.edgexfoundry.org:10004 22:12:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:21 Configure a credential helper to remove this warning. See 22:12:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:21 22:12:21 Login Succeeded 22:12:21 docker.io 22:12:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:21 Configure a credential helper to remove this warning. See 22:12:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:21 22:12:21 Login Succeeded 22:12:21 ---> docker-login.sh ends [Pipeline] } 22:12:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:12:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:12:22 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 22:12:22 fe7a4eb43542f16c84660f884d46e7cb5999737b 22:12:22 latest 22:12:22 2.3.0-dev.11 22:12:22 fe7a4eb43542f16c84660f884d46e7cb5999737b-2.3.0-dev.11 22:12:22 main 22:12:22 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:22 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:fe7a4eb43542f16c84660f884d46e7cb5999737b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:22 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:fe7a4eb43542f16c84660f884d46e7cb5999737b 22:12:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 22:12:22 50aa2b27a4b8: Preparing 22:12:22 5cd5e42a0c27: Preparing 22:12:22 0d62b1af4db9: Preparing 22:12:22 8485da9a4467: Preparing 22:12:22 5d3e392a13a0: Preparing 22:12:23 5d3e392a13a0: Layer already exists 22:12:23 50aa2b27a4b8: Pushed 22:12:23 5cd5e42a0c27: Pushed 22:12:24 8485da9a4467: Pushed 22:12:29 0d62b1af4db9: Pushed 22:12:29 fe7a4eb43542f16c84660f884d46e7cb5999737b: digest: sha256:65c9c34f3514f92e4eea7a752bf060ee7ed6eab07800a158b92391cf67957041 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:29 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:30 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 22:12:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 22:12:30 50aa2b27a4b8: Preparing 22:12:30 5cd5e42a0c27: Preparing 22:12:30 0d62b1af4db9: Preparing 22:12:30 8485da9a4467: Preparing 22:12:30 5d3e392a13a0: Preparing 22:12:30 5cd5e42a0c27: Layer already exists 22:12:30 5d3e392a13a0: Layer already exists 22:12:30 8485da9a4467: Layer already exists 22:12:30 0d62b1af4db9: Layer already exists 22:12:30 50aa2b27a4b8: Layer already exists 22:12:30 latest: digest: sha256:65c9c34f3514f92e4eea7a752bf060ee7ed6eab07800a158b92391cf67957041 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:30 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:31 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.11 22:12:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 22:12:31 50aa2b27a4b8: Preparing 22:12:31 5cd5e42a0c27: Preparing 22:12:31 0d62b1af4db9: Preparing 22:12:31 8485da9a4467: Preparing 22:12:31 5d3e392a13a0: Preparing 22:12:31 5d3e392a13a0: Layer already exists 22:12:31 50aa2b27a4b8: Layer already exists 22:12:31 8485da9a4467: Layer already exists 22:12:31 5cd5e42a0c27: Layer already exists 22:12:31 0d62b1af4db9: Layer already exists 22:12:31 2.3.0-dev.11: digest: sha256:65c9c34f3514f92e4eea7a752bf060ee7ed6eab07800a158b92391cf67957041 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:31 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:fe7a4eb43542f16c84660f884d46e7cb5999737b-2.3.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:32 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:fe7a4eb43542f16c84660f884d46e7cb5999737b-2.3.0-dev.11 22:12:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 22:12:32 50aa2b27a4b8: Preparing 22:12:32 5cd5e42a0c27: Preparing 22:12:32 0d62b1af4db9: Preparing 22:12:32 8485da9a4467: Preparing 22:12:32 5d3e392a13a0: Preparing 22:12:32 50aa2b27a4b8: Layer already exists 22:12:32 0d62b1af4db9: Layer already exists 22:12:32 5d3e392a13a0: Layer already exists 22:12:32 5cd5e42a0c27: Layer already exists 22:12:32 8485da9a4467: Layer already exists 22:12:32 fe7a4eb43542f16c84660f884d46e7cb5999737b-2.3.0-dev.11: digest: sha256:65c9c34f3514f92e4eea7a752bf060ee7ed6eab07800a158b92391cf67957041 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:32 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:33 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 22:12:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 22:12:33 50aa2b27a4b8: Preparing 22:12:33 5cd5e42a0c27: Preparing 22:12:33 0d62b1af4db9: Preparing 22:12:33 8485da9a4467: Preparing 22:12:33 5d3e392a13a0: Preparing 22:12:33 5d3e392a13a0: Layer already exists 22:12:33 8485da9a4467: Layer already exists 22:12:33 5cd5e42a0c27: Layer already exists 22:12:33 50aa2b27a4b8: Layer already exists 22:12:33 0d62b1af4db9: Layer already exists 22:12:33 main: digest: sha256:65c9c34f3514f92e4eea7a752bf060ee7ed6eab07800a158b92391cf67957041 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:12:33 ===================================================== [Pipeline] echo 22:12:33 taggedImages: 22:12:33 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:fe7a4eb43542f16c84660f884d46e7cb5999737b 22:12:33 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 22:12:33 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.11 22:12:33 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:fe7a4eb43542f16c84660f884d46e7cb5999737b-2.3.0-dev.11 22:12: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:12:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:12:33 22:12:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:12:34 arm64: Pulling from edgex-lftools-log-publisher 22:12:34 8998bd30e6a1: Pulling fs layer 22:12:34 04944245beec: Pulling fs layer 22:12:34 699f458cf7ca: Pulling fs layer 22:12:34 765212b225bb: Pulling fs layer 22:12:34 f23df028b6ca: Pulling fs layer 22:12:34 d65c8cfc05b1: Pulling fs layer 22:12:34 2437ff75d9bd: Pulling fs layer 22:12:34 765212b225bb: Waiting 22:12:34 f23df028b6ca: Waiting 22:12:34 2437ff75d9bd: Waiting 22:12:34 d65c8cfc05b1: Waiting 22:12:34 04944245beec: Verifying Checksum 22:12:34 04944245beec: Download complete 22:12:34 765212b225bb: Verifying Checksum 22:12:34 765212b225bb: Download complete 22:12:34 f23df028b6ca: Download complete 22:12:34 d65c8cfc05b1: Verifying Checksum 22:12:34 d65c8cfc05b1: Download complete 22:12:34 699f458cf7ca: Verifying Checksum 22:12:34 699f458cf7ca: Download complete 22:12:35 8998bd30e6a1: Verifying Checksum 22:12:35 8998bd30e6a1: Download complete 22:12:37 2437ff75d9bd: Verifying Checksum 22:12:37 2437ff75d9bd: Download complete 22:12:40 8998bd30e6a1: Pull complete 22:12:40 04944245beec: Pull complete 22:12:42 699f458cf7ca: Pull complete 22:12:42 765212b225bb: Pull complete 22:12:43 f23df028b6ca: Pull complete 22:12:43 d65c8cfc05b1: Pull complete 22:12:58 2437ff75d9bd: Pull complete 22:12:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:12:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:12:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:12:58 prd-ubuntu20.04-docker-arm64-4c-16g-27533 does not seem to be running inside a container 22:12: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/42 -v /w/workspace/device-snmp-go/42:/w/workspace/device-snmp-go/42:rw,z -v /w/workspace/device-snmp-go/42@tmp:/w/workspace/device-snmp-go/42@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:13:01 $ docker top 8aeb5df52c6d79b4618a9abc683baf6d8de3c17596edc9398b3cbcf2687e62ba -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:13:02 ---> job-cost.sh 22:13:02 lf-activate-venv: SKIPPING 22:13:02 INFO: No Stack... 22:13:03 INFO: Retrieving Pricing Info for: v3-standard-4 22:13:04 INFO: Archiving Costs [Pipeline] sh 22:13:05 + cat /w/workspace/device-snmp-go/42/archives/cost.csv 22:13:05 + cut -d, -f6 [Pipeline] lock 22:13:05 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-42-stack-cost] 22:13:05 Resource [jenkins-edgexfoundry-device-snmp-go-main-42-stack-cost] did not exist. Created. 22:13:05 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-42-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:13:06 /w/workspace/device-snmp-go/42@tmp/durable-4cd80585/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:13:06 + echo total: 0.10999999940395355 [Pipeline] stash 22:13:06 Warning: overwriting stash ‘stack-cost’ 22:13:06 Stashed 1 file(s) [Pipeline] } 22:13:06 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-42-stack-cost] [Pipeline] // lock [Pipeline] } 22:13:06 $ docker stop --time=1 8aeb5df52c6d79b4618a9abc683baf6d8de3c17596edc9398b3cbcf2687e62ba 22:13:08 $ docker rm -f 8aeb5df52c6d79b4618a9abc683baf6d8de3c17596edc9398b3cbcf2687e62ba [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:13:08 provisioning config files... 22:13:08 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config671604832327852189tmp [Pipeline] { [Pipeline] sh 22:13:09 + set +x 22:13:09 + curl -s https://codecov.io/bash 22:13:09 + bash -s -- 22:13:09 22:13:09 _____ _ 22:13:09 / ____| | | 22:13:09 | | ___ __| | ___ ___ _____ __ 22:13:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:13:09 | |___| (_) | (_| | __/ (_| (_) \ V / 22:13:09 \_____\___/ \__,_|\___|\___\___/ \_/ 22:13:09 Bash-1.0.6 22:13:09 22:13:09 22:13:09 ==> git version 2.25.1 found 22:13:09 ==> 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:13:09 Release-Date: 2020-01-08 22:13:09 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:13:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:13:09 ==> Jenkins CI detected. 22:13:09 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 22:13:09 project root: . 22:13:09 --> token set from env 22:13:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:13:09 ==> Running gcov in . (disable via -X gcov) 22:13:09 ==> Python coveragepy not found 22:13:09 ==> Searching for coverage reports in: 22:13:09 + . 22:13:09 -> Found 1 reports 22:13:09 ==> Detecting git/mercurial file structure 22:13:09 ==> Reading reports 22:13:09 + ./coverage.out bytes=7631 22:13:09 ==> Appending adjustments 22:13:09 https://docs.codecov.io/docs/fixing-reports 22:13:09 + Found adjustments 22:13:09 ==> Gzipping contents 22:13:09 4.0K /tmp/codecov.noSANG.gz 22:13:09 ==> Uploading reports 22:13:09 url: https://codecov.io 22:13:09 query: branch=main&commit=fe7a4eb43542f16c84660f884d46e7cb5999737b&build=42&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F42%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:13:09 -> Pinging Codecov 22:13:09 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=fe7a4eb43542f16c84660f884d46e7cb5999737b&build=42&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F42%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:13:09 -> Uploading to 22:13:09 https://storage.googleapis.com/codecov/v4/raw/2022-09-06/6C56EA5C29638FB4528AC87E60AF5AE0/fe7a4eb43542f16c84660f884d46e7cb5999737b/07601849-2391-4026-8203-7e5b48357199.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220906%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220906T221309Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c885ffbf6ef5dbc6dd2e0fc112354ad06a89630dfd5509fe8a5830a3f06e71ca 22:13:09 % Total % Received % Xferd Average Speed Time Time Time Current 22:13:09 Dload Upload Total Spent Left Speed 22:13:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1535 0 0 100 1535 0 6587 --:--:-- --:--:-- --:--:-- 6587 22:13:10 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/fe7a4eb43542f16c84660f884d46e7cb5999737b [Pipeline] } 22:13:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:13:10 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:13:10 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:13:10 22:13:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:13:10 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:13:10 df9b9388f04a: Pulling fs layer 22:13:10 52dc419b0ee2: Pulling fs layer 22:13:10 25bc292e5bac: Pulling fs layer 22:13:10 114826534d7a: Pulling fs layer 22:13:10 4657fd5d0bcf: Pulling fs layer 22:13:10 6ad1cebc031e: Pulling fs layer 22:13:10 8a3aa393b2d8: Pulling fs layer 22:13:10 114826534d7a: Waiting 22:13:10 4657fd5d0bcf: Waiting 22:13:10 8a3aa393b2d8: Waiting 22:13:10 6ad1cebc031e: Waiting 22:13:10 25bc292e5bac: Download complete 22:13:10 52dc419b0ee2: Verifying Checksum 22:13:10 52dc419b0ee2: Download complete 22:13:10 4657fd5d0bcf: Verifying Checksum 22:13:10 4657fd5d0bcf: Download complete 22:13:10 df9b9388f04a: Download complete 22:13:11 df9b9388f04a: Pull complete 22:13:11 6ad1cebc031e: Verifying Checksum 22:13:11 6ad1cebc031e: Download complete 22:13:11 52dc419b0ee2: Pull complete 22:13:11 25bc292e5bac: Pull complete 22:13:11 114826534d7a: Download complete 22:13:11 8a3aa393b2d8: Download complete 22:13:15 114826534d7a: Pull complete 22:13:15 4657fd5d0bcf: Pull complete 22:13:15 6ad1cebc031e: Pull complete 22:13:18 8a3aa393b2d8: Pull complete 22:13:18 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 22:13:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:13:18 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:13:18 prd-ubuntu20.04-docker-8c-8g-25305 does not seem to be running inside a container 22:13:18 $ 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:13:21 $ docker top 09e7248d89bfd40dbf4e87175e09e83a639a364679745fbffa97366ef234b4e1 -eo pid,comm [Pipeline] { [Pipeline] echo 22:13:21 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh 22:13:21 + set -o pipefail 22:13:21 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' 22:13:28 22:13:28 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 22:13:28 22:13:28 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/58276d9a-c3f7-4fa1-9d85-fc349732e1dc 22:13:28 22:13:28 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 22:13:28 22:13:28 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:13:28 22:13:28 [Pipeline] } 22:13:28 $ docker stop --time=1 09e7248d89bfd40dbf4e87175e09e83a639a364679745fbffa97366ef234b4e1 22:13:31 $ docker rm -f 09e7248d89bfd40dbf4e87175e09e83a639a364679745fbffa97366ef234b4e1 [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:13:31 + git log --format=format:%s -1 fe7a4eb43542f16c84660f884d46e7cb5999737b [Pipeline] sh 22:13:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:13:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:13:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:13:32 prd-ubuntu20.04-docker-8c-8g-25305 does not seem to be running inside a container 22:13:32 $ 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:13:32 $ docker top c1a7ae01bedcc149b8ca33288c56c4a2c64bb4097fb2ecb702d471824383e1c9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:13:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:13:33 [ssh-agent] Looking for ssh-agent implementation... 22:13:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:13:33 $ docker exec c1a7ae01bedcc149b8ca33288c56c4a2c64bb4097fb2ecb702d471824383e1c9 ssh-agent 22:13:33 SSH_AUTH_SOCK=/tmp/ssh-stcsZeG4p8SA/agent.32 22:13:33 SSH_AGENT_PID=39 22:13:33 Running ssh-add (command line suppressed) 22:13:33 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1808696675692650744.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1808696675692650744.key) 22:13:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:13:33 + git semver tag 22:13:34 2022-09-06 22:13:33,923 [run_tag] DEBUG tag force:False 22:13:34 2022-09-06 22:13:33,923 [check_head_tag] DEBUG check head tag 22:13:34 2022-09-06 22:13:33,924 [execute] INFO git cat-file --batch-check 22:13:34 2022-09-06 22:13:33,924 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 22:13:34 2022-09-06 22:13:33,928 [execute] INFO git cat-file --batch 22:13:34 2022-09-06 22:13:33,928 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 22:13:34 2022-09-06 22:13:33,939 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 22:13:34 2022-09-06 22:13:33,939 [execute] INFO git tag -a v2.3.0-dev.11 -m v2.3.0-dev.11 22:13:34 2022-09-06 22:13:33,939 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.11', '-m', 'v2.3.0-dev.11'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 22:13:34 2022-09-06 22:13:33,944 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 22:13:34 2.3.0-dev.11 [Pipeline] } 22:13:34 $ docker exec --env ******** --env ******** c1a7ae01bedcc149b8ca33288c56c4a2c64bb4097fb2ecb702d471824383e1c9 ssh-agent -k 22:13:34 unset SSH_AUTH_SOCK; 22:13:34 unset SSH_AGENT_PID; 22:13:34 echo Agent pid 39 killed; 22:13:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:13:34 + git semver [Pipeline] } 22:13:34 $ docker stop --time=1 c1a7ae01bedcc149b8ca33288c56c4a2c64bb4097fb2ecb702d471824383e1c9 22:13:36 $ docker rm -f c1a7ae01bedcc149b8ca33288c56c4a2c64bb4097fb2ecb702d471824383e1c9 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:13:36 22:13:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:13:37 0.23.1-centos7: Pulling from edgex-lftools 22:13:37 ab5ef0e58194: Pulling fs layer 22:13:37 9712f1f96733: Pulling fs layer 22:13:37 63f879dbbcfc: Pulling fs layer 22:13:37 0d9ebad4ef96: Pulling fs layer 22:13:37 e9a5061849ea: Pulling fs layer 22:13:37 d747dcd14b5f: Pulling fs layer 22:13:37 2de7ff778b66: Pulling fs layer 22:13:37 0d9ebad4ef96: Waiting 22:13:37 e9a5061849ea: Waiting 22:13:37 d747dcd14b5f: Waiting 22:13:37 2de7ff778b66: Waiting 22:13:37 9712f1f96733: Verifying Checksum 22:13:37 9712f1f96733: Download complete 22:13:37 63f879dbbcfc: Verifying Checksum 22:13:37 63f879dbbcfc: Download complete 22:13:37 0d9ebad4ef96: Verifying Checksum 22:13:37 0d9ebad4ef96: Download complete 22:13:37 ab5ef0e58194: Verifying Checksum 22:13:37 ab5ef0e58194: Download complete 22:13:37 d747dcd14b5f: Verifying Checksum 22:13:37 d747dcd14b5f: Download complete 22:13:37 e9a5061849ea: Verifying Checksum 22:13:37 e9a5061849ea: Download complete 22:13:37 2de7ff778b66: Verifying Checksum 22:13:37 2de7ff778b66: Download complete 22:13:40 ab5ef0e58194: Pull complete 22:13:40 9712f1f96733: Pull complete 22:13:40 63f879dbbcfc: Pull complete 22:13:45 0d9ebad4ef96: Pull complete 22:13:45 e9a5061849ea: Pull complete 22:13:45 d747dcd14b5f: Pull complete 22:13:46 2de7ff778b66: Pull complete 22:13:46 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:13:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:13:46 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:13:46 prd-ubuntu20.04-docker-8c-8g-25305 does not seem to be running inside a container 22:13:46 $ 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:13:49 $ docker top fc3babc8ce8e352c0fe5c80cb17a8c05ea503c28a5dc556b24fcd5ed7aa6bc87 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:13:49 provisioning config files... 22:13:49 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4781296303558422704tmp 22:13:49 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config9074367768498884935tmp 22:13:49 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3203619697011147652tmp [Pipeline] { [Pipeline] echo 22:13:49 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:13:49 ---> sigul-configuration.sh 22:13:49 gpg: directory `/root/.gnupg' created 22:13:49 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:13:49 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:13:49 gpg: keyring `/root/.gnupg/secring.gpg' created 22:13:49 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:13:49 gpg: CAST5 encrypted data 22:13:49 gpg: encrypted with 1 passphrase 22:13:49 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:13:50 + mkdir /home/jenkins 22:13:50 + mkdir /home/jenkins/sigul [Pipeline] sh 22:13:50 + 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:13:50 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:13:50 ---> sigul-install.sh 22:13:50 Sigul already installed; skipping installation. [Pipeline] sh 22:13:50 + git tag --list 22:13:50 1.0.0 22:13:50 v0.0.0 22:13:50 v1.1.0 22:13:50 v1.1.1 22:13:50 v1.2.2 22:13:50 v1.3.0 22:13:50 v1.3.1 22:13:50 v2.0.0 22:13:50 v2.1.0 22:13:50 v2.1.1 22:13:50 v2.1.1-dev.2 22:13:50 v2.1.1-dev.3 22:13:50 v2.2.0 22:13:50 v2.2.1-dev.1 22:13:50 v2.2.1-dev.2 22:13:50 v2.2.1-dev.3 22:13:50 v2.2.1-dev.4 22:13:50 v2.2.1-dev.5 22:13:50 v2.2.1-dev.6 22:13:50 v2.2.1-dev.7 22:13:50 v2.3.0-dev.10 22:13:50 v2.3.0-dev.11 22:13:50 v2.3.0-dev.7 22:13:50 v2.3.0-dev.8 22:13:50 v2.3.0-dev.9 [Pipeline] sh 22:13:51 + lftools sign git-tag v2.3.0-dev.11 22:13:51 Signing Git tag with Sigul... 22:13:51 Signing v2.3.0-dev.11 [Pipeline] echo 22:13:52 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:13:52 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:13:52 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:13:52 $ docker stop --time=1 fc3babc8ce8e352c0fe5c80cb17a8c05ea503c28a5dc556b24fcd5ed7aa6bc87 22:13:53 $ docker rm -f fc3babc8ce8e352c0fe5c80cb17a8c05ea503c28a5dc556b24fcd5ed7aa6bc87 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:13:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:13:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:13:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:13:54 prd-ubuntu20.04-docker-8c-8g-25305 does not seem to be running inside a container 22:13:54 $ 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:13:54 $ docker top b858a6c9859e2912f4eaa9dfbdb2e05a561feacd1d976fe9d05cde703ce8185f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:13:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:13:54 [ssh-agent] Looking for ssh-agent implementation... 22:13:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:13:54 $ docker exec b858a6c9859e2912f4eaa9dfbdb2e05a561feacd1d976fe9d05cde703ce8185f ssh-agent 22:13:55 SSH_AUTH_SOCK=/tmp/ssh-zCV6HlsA4BIs/agent.33 22:13:55 SSH_AGENT_PID=40 22:13:55 Running ssh-add (command line suppressed) 22:13:55 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7536870778383681840.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7536870778383681840.key) 22:13:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:13:55 + git semver bump pre 22:13:55 2022-09-06 22:13:55,758 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 22:13:55 2022-09-06 22:13:55,758 [bump_version] DEBUG bumping version:2.3.0-dev.11 on axis:pre with prefix:dev 22:13:55 2022-09-06 22:13:55,758 [bump_version] DEBUG bumped version:2.3.0-dev.12 22:13:55 2022-09-06 22:13:55,758 [write_version] DEBUG write version:2.3.0-dev.12 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True 22:13:55 2022-09-06 22:13:55,758 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 22:13:55 2022-09-06 22:13:55,758 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 22:13:55 2022-09-06 22:13:55,760 [execute] INFO git cat-file --batch-check 22:13:55 2022-09-06 22:13:55,760 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:13:55 2022-09-06 22:13:55,765 [execute] INFO git cat-file --batch 22:13:55 2022-09-06 22:13:55,765 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:13:55 2022-09-06 22:13:55,769 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 22:13:55 2.3.0-dev.12 [Pipeline] } 22:13:55 $ docker exec --env ******** --env ******** b858a6c9859e2912f4eaa9dfbdb2e05a561feacd1d976fe9d05cde703ce8185f ssh-agent -k 22:13:55 unset SSH_AUTH_SOCK; 22:13:55 unset SSH_AGENT_PID; 22:13:55 echo Agent pid 40 killed; 22:13:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:13:56 + git semver [Pipeline] } 22:13:56 $ docker stop --time=1 b858a6c9859e2912f4eaa9dfbdb2e05a561feacd1d976fe9d05cde703ce8185f 22:13:57 $ docker rm -f b858a6c9859e2912f4eaa9dfbdb2e05a561feacd1d976fe9d05cde703ce8185f [Pipeline] // withDockerContainer [Pipeline] sh 22:13:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:13:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:13:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:13:58 prd-ubuntu20.04-docker-8c-8g-25305 does not seem to be running inside a container 22:13:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:13:58 $ docker top a16897aba2d444d0577a3564b15c4a9cbc24071e1cd5330a359ffcd8c35d72b8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:13:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:13:59 [ssh-agent] Looking for ssh-agent implementation... 22:13:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:13:59 $ docker exec a16897aba2d444d0577a3564b15c4a9cbc24071e1cd5330a359ffcd8c35d72b8 ssh-agent 22:13:59 SSH_AUTH_SOCK=/tmp/ssh-SjYFiCp8z36O/agent.36 22:13:59 SSH_AGENT_PID=42 22:13:59 Running ssh-add (command line suppressed) 22:13:59 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3881650414838401809.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3881650414838401809.key) 22:13:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:13:59 + git semver push 22:13:59 2022-09-06 22:13:59,810 [run_push] DEBUG push 22:13:59 2022-09-06 22:13:59,811 [execute] INFO git cat-file --batch-check 22:13:59 2022-09-06 22:13:59,811 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:13:59 2022-09-06 22:13:59,814 [execute] INFO git rev-list b674510bd32f605395ffda7991b1dbe6c9e0981d -- 22:13:59 2022-09-06 22:13:59,815 [execute] DEBUG Popen(['git', 'rev-list', 'b674510bd32f605395ffda7991b1dbe6c9e0981d', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:13:59 2022-09-06 22:13:59,820 [execute] INFO git fetch -v origin 22:13:59 2022-09-06 22:13:59,821 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) 22:14:00 2022-09-06 22:14:00,360 [run_push] DEBUG no remote changes detected 22:14:00 2022-09-06 22:14:00,361 [execute] INFO git push origin semver 22:14:00 2022-09-06 22:14:00,361 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:14:01 2022-09-06 22:14:01,155 [run_push] DEBUG push all version tags 22:14:01 2022-09-06 22:14:01,155 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 22:14:01 2022-09-06 22:14:01,156 [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:14:01 2022-09-06 22:14:01,948 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 22:14:01 2.3.0-dev.12 [Pipeline] } 22:14:02 $ docker exec --env ******** --env ******** a16897aba2d444d0577a3564b15c4a9cbc24071e1cd5330a359ffcd8c35d72b8 ssh-agent -k 22:14:02 unset SSH_AUTH_SOCK; 22:14:02 unset SSH_AGENT_PID; 22:14:02 echo Agent pid 42 killed; 22:14:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:14:02 + git semver [Pipeline] } 22:14:02 $ docker stop --time=1 a16897aba2d444d0577a3564b15c4a9cbc24071e1cd5330a359ffcd8c35d72b8 22:14:04 $ docker rm -f a16897aba2d444d0577a3564b15c4a9cbc24071e1cd5330a359ffcd8c35d72b8 [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:14:04 + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] 22:14:04 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 22:14:04 total 16 22:14:04 drwxr-xr-x 3 root root 4096 Sep 6 21:25 . 22:14:04 drwxrwxr-x 10 jenkins jenkins 4096 Sep 6 22:13 .. 22:14:04 drwxr-xr-x 2 root root 4096 Sep 6 21:25 cost 22:14:04 -rw-r--r-- 1 root root 85 Sep 6 21:25 cost.csv 22:14:04 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives 22:14:04 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 22:14:04 total 16 22:14:04 drwxr-xr-x 3 jenkins jenkins 4096 Sep 6 21:25 . 22:14:04 drwxrwxr-x 10 jenkins jenkins 4096 Sep 6 22:13 .. 22:14:04 drwxr-xr-x 2 jenkins jenkins 4096 Sep 6 21:25 cost 22:14:04 -rw-r--r-- 1 jenkins jenkins 85 Sep 6 21:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:14:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:14:05 ---> package-listing.sh 22:14:05 ++ facter osfamily 22:14:05 ++ tr '[:upper:]' '[:lower:]' 22:14:05 + OS_FAMILY=debian 22:14:05 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 22:14:05 + START_PACKAGES=/tmp/packages_start.txt 22:14:05 + END_PACKAGES=/tmp/packages_end.txt 22:14:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:14:05 + PACKAGES=/tmp/packages_start.txt 22:14:05 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 22:14:05 + PACKAGES=/tmp/packages_end.txt 22:14:05 + case "${OS_FAMILY}" in 22:14:05 + dpkg -l 22:14:05 + grep '^ii' 22:14:06 + '[' -f /tmp/packages_start.txt ']' 22:14:06 + '[' -f /tmp/packages_end.txt ']' 22:14:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:14:06 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 22:14:06 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 22:14:06 + 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:14:06 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:14:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:14:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:14:07 prd-ubuntu20.04-docker-8c-8g-25305 does not seem to be running inside a container 22:14:07 $ 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:14:07 $ docker top db5698f6afc10625c99d6dbf8595ee83b55d3faaec20d73b7a85605b41041e3c -eo pid,comm [Pipeline] { [Pipeline] sh 22:14:07 + touch /tmp/pre-build-complete [Pipeline] sh 22:14:08 + mkdir -p /var/log/sysstat [Pipeline] sh 22:14:08 + ls /var/log/sa-host 22:14:08 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:14:08 provisioning config files... 22:14:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5157303434312591854tmp [Pipeline] { [Pipeline] echo 22:14:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:14:08 ---> create-netrc.sh [Pipeline] } 22:14:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:14:09 ---> python-tools-install.sh [Pipeline] echo 22:14:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:14:09 ---> sudo-logs.sh 22:14:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:14:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:14:09 ---> job-cost.sh 22:14:09 lf-activate-venv: SKIPPING 22:14:09 DEBUG: total: 0.2199999988079071 22:14:09 INFO: Retrieving Stack Cost... 22:14:09 INFO: Retrieving Pricing Info for: v3-standard-8 22:14:10 INFO: Archiving Costs [Pipeline] echo 22:14:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:14:10 ---> logs-deploy.sh 22:14:10 lf-activate-venv: SKIPPING 22:14:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/42 22:14:10 INFO: archiving workspace using pattern(s): 22:14:11 Archives upload complete. 22:14:12 INFO: archiving logs to Nexus