Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3908b4199cdebd231b53d3be0ce1311ed20ae7a2 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-ssh6530330240204895845.key Verifying host key using known hosts file > 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-ssh10601458870443712531.key Verifying host key using known hosts file > 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-ssh8683751269778677457.key Verifying host key using known hosts file > 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-ssh2864198197921583110.key Verifying host key using known hosts file > 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-ssh2865043836945166185.key Verifying host key using known hosts file > 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-1215 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 3908b4199cdebd231b53d3be0ce1311ed20ae7a2 (main) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 (#192)" > 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 3908b4199cdebd231b53d3be0ce1311ed20ae7a2 # timeout=10 > git rev-list --no-walk 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:11:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:11:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:11:57 ========================================================= 21:11:57 EdgeX Global Pipelines Version Info 21:11:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:11:57 ------------------- 21:11:57 stable info: 21:11:57 ------------------- 21:11:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:11:57 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 21:11:57 Message: update stable to v1.0.239 21:11:58 ------------------- 21:11:58 experimental info: 21:11:58 ------------------- 21:11:58 Commited By: **** collab-it+edgex@linuxfoundation.org 21:11:58 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 21:11:58 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:11:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 21:11:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 21:11:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:11:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:11:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:11:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 21:11:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:11:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:11:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:11:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:11:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:11:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 21:11:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:11:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:11:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:11:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:11:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:11:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:11:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:11:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:11:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:11:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:11:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:11:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:11:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:11:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:11:58 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:11:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:11:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:11:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:11:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3908b4199cdebd231b53d3be0ce1311ed20ae7a2 [Pipeline] echo 21:11:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3908b41 [Pipeline] echo 21:11:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:11:59 provisioning config files... 21:11:59 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config11985993721862067496tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:11:59 ---> docker-login.sh 21:11:59 nexus3.edgexfoundry.org:10001 21:11:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:59 Configure a credential helper to remove this warning. See 21:11:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:59 21:11:59 Login Succeeded 21:11:59 nexus3.edgexfoundry.org:10002 21:11:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:59 Configure a credential helper to remove this warning. See 21:11:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:59 21:11:59 Login Succeeded 21:11:59 nexus3.edgexfoundry.org:10003 21:11:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:59 Configure a credential helper to remove this warning. See 21:11:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:59 21:11:59 Login Succeeded 21:11:59 nexus3.edgexfoundry.org:10004 21:11:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:59 Configure a credential helper to remove this warning. See 21:11:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:59 21:11:59 Login Succeeded 21:11:59 docker.io 21:12:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:00 Configure a credential helper to remove this warning. See 21:12:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:00 21:12:00 Login Succeeded 21:12:00 ---> docker-login.sh ends [Pipeline] } 21:12:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:12:00 + git rev-list -1 --merges 3908b4199cdebd231b53d3be0ce1311ed20ae7a2~1..3908b4199cdebd231b53d3be0ce1311ed20ae7a2 [Pipeline] echo 21:12:00 -----------> git rev-list -1 --merges 3908b4199cdebd231b53d3be0ce1311ed20ae7a2~1..3908b4199cdebd231b53d3be0ce1311ed20ae7a2 3908b4199cdebd231b53d3be0ce1311ed20ae7a2 [false] [Pipeline] sh 21:12:01 + git log --format=format:%s -1 3908b4199cdebd231b53d3be0ce1311ed20ae7a2 [Pipeline] echo 21:12:01 ========================================================= 21:12:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:12:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:12:01 + git log --format=format:%s -1 3908b4199cdebd231b53d3be0ce1311ed20ae7a2 [Pipeline] echo 21:12:01 [semverPrep] GIT_COMMIT: 3908b4199cdebd231b53d3be0ce1311ed20ae7a2, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 (#192) [Pipeline] echo 21:12:01 [semverPrep] This is not a build commit. [Pipeline] sh 21:12:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:12:01 + grep -v github /etc/ssh/ssh_known_hosts 21:12:01 + [ -e /tmp/ssh_known_hosts ] 21:12:01 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:12:01 + sudo tee -a /etc/ssh/ssh_known_hosts 21:12:01 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:12:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:12:02 21:12:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:12:02 0.1.4: Pulling from edgex-devops/py-git-semver 21:12:02 b85a868b505f: Pulling fs layer 21:12:02 e2be974225ed: Pulling fs layer 21:12:02 339a4e72a1f5: Pulling fs layer 21:12:02 988bab9f4d93: Pulling fs layer 21:12:02 1469e6f7b9e6: Pulling fs layer 21:12:02 eaf3925da568: Pulling fs layer 21:12:02 bab4dde63d76: Pulling fs layer 21:12:02 988bab9f4d93: Waiting 21:12:02 1469e6f7b9e6: Waiting 21:12:02 eaf3925da568: Waiting 21:12:02 bab4dde63d76: Waiting 21:12:02 bde34c3a00c8: Pulling fs layer 21:12:02 b352a97aabf1: Pulling fs layer 21:12:02 4872d77fe225: Pulling fs layer 21:12:02 bde34c3a00c8: Waiting 21:12:02 5851b861e8e6: Pulling fs layer 21:12:02 b352a97aabf1: Waiting 21:12:02 4872d77fe225: Waiting 21:12:02 5851b861e8e6: Waiting 21:12:02 e2be974225ed: Verifying Checksum 21:12:02 e2be974225ed: Download complete 21:12:02 988bab9f4d93: Verifying Checksum 21:12:02 988bab9f4d93: Download complete 21:12:02 1469e6f7b9e6: Verifying Checksum 21:12:02 1469e6f7b9e6: Download complete 21:12:02 eaf3925da568: Download complete 21:12:02 339a4e72a1f5: Verifying Checksum 21:12:02 339a4e72a1f5: Download complete 21:12:02 bde34c3a00c8: Verifying Checksum 21:12:02 bde34c3a00c8: Download complete 21:12:02 b352a97aabf1: Download complete 21:12:02 b85a868b505f: Verifying Checksum 21:12:02 b85a868b505f: Download complete 21:12:02 4872d77fe225: Verifying Checksum 21:12:02 4872d77fe225: Download complete 21:12:02 5851b861e8e6: Download complete 21:12:02 bab4dde63d76: Verifying Checksum 21:12:02 bab4dde63d76: Download complete 21:12:03 b85a868b505f: Pull complete 21:12:04 e2be974225ed: Pull complete 21:12:04 339a4e72a1f5: Pull complete 21:12:04 988bab9f4d93: Pull complete 21:12:04 1469e6f7b9e6: Pull complete 21:12:04 eaf3925da568: Pull complete 21:12:06 bab4dde63d76: Pull complete 21:12:06 bde34c3a00c8: Pull complete 21:12:06 b352a97aabf1: Pull complete 21:12:06 4872d77fe225: Pull complete 21:12:06 5851b861e8e6: Pull complete 21:12:06 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:12:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:12:06 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:12:06 prd-ubuntu20.04-docker-8c-8g-1215 does not seem to be running inside a container 21:12:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:12:09 $ docker top e1f08e6875269b24fe26ab17dcee2a181975b24bf9850d6560d13e9a69b9d351 -eo pid,comm 21:12:09 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:12:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:12:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:12:09 [ssh-agent] Looking for ssh-agent implementation... 21:12:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:12:09 $ docker exec e1f08e6875269b24fe26ab17dcee2a181975b24bf9850d6560d13e9a69b9d351 ssh-agent 21:12:09 SSH_AUTH_SOCK=/tmp/ssh-Dyo7TY2vDDY2/agent.31 21:12:09 SSH_AGENT_PID=37 21:12:09 Running ssh-add (command line suppressed) 21:12:09 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8951229050313540729.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8951229050313540729.key) 21:12:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:12:09 + git tag --points-at HEAD [Pipeline] } 21:12:09 $ docker exec --env ******** --env ******** e1f08e6875269b24fe26ab17dcee2a181975b24bf9850d6560d13e9a69b9d351 ssh-agent -k 21:12:09 unset SSH_AUTH_SOCK; 21:12:09 unset SSH_AGENT_PID; 21:12:09 echo Agent pid 37 killed; 21:12:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:12:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:12:09 [ssh-agent] Looking for ssh-agent implementation... 21:12:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:12:10 $ docker exec e1f08e6875269b24fe26ab17dcee2a181975b24bf9850d6560d13e9a69b9d351 ssh-agent 21:12:10 SSH_AUTH_SOCK=/tmp/ssh-B1QQVakyxOed/agent.69 21:12:10 SSH_AGENT_PID=75 21:12:10 Running ssh-add (command line suppressed) 21:12:10 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8620453027288330290.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8620453027288330290.key) 21:12:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:12:10 + git semver init 21:12:10 2022-09-26 21:12:10,755 [run_init] DEBUG init version:0.0.0 force:False 21:12:10 2022-09-26 21:12:10,756 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver 21:12:10 2022-09-26 21:12:10,756 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver 21:12:10 2022-09-26 21:12:10,757 [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:12:11 2022-09-26 21:12:11,672 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude 21:12:11 2022-09-26 21:12:11,672 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False 21:12:11 2022-09-26 21:12:11,672 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 21:12:11 2022-09-26 21:12:11,673 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 21:12:11 2.3.0-dev.13 [Pipeline] } 21:12:11 $ docker exec --env ******** --env ******** e1f08e6875269b24fe26ab17dcee2a181975b24bf9850d6560d13e9a69b9d351 ssh-agent -k 21:12:11 unset SSH_AUTH_SOCK; 21:12:11 unset SSH_AGENT_PID; 21:12:11 echo Agent pid 75 killed; 21:12:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:12:12 + git semver [Pipeline] } 21:12:12 $ docker stop --time=1 e1f08e6875269b24fe26ab17dcee2a181975b24bf9850d6560d13e9a69b9d351 21:12:13 $ docker rm -f e1f08e6875269b24fe26ab17dcee2a181975b24bf9850d6560d13e9a69b9d351 [Pipeline] // withDockerContainer [Pipeline] sh 21:12:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:12:14 Stashed 1 file(s) [Pipeline] echo 21:12:14 [edgeXSemver]: initialized semver on version 2.3.0-dev.13 [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:12:14 provisioning config files... 21:12:14 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config14468888004316053437tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:12:14 ---> docker-login.sh 21:12:14 nexus3.edgexfoundry.org:10001 21:12:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:14 Configure a credential helper to remove this warning. See 21:12:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:14 21:12:14 Login Succeeded 21:12:14 nexus3.edgexfoundry.org:10002 21:12:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:14 Configure a credential helper to remove this warning. See 21:12:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:14 21:12:14 Login Succeeded 21:12:14 nexus3.edgexfoundry.org:10003 21:12:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:14 Configure a credential helper to remove this warning. See 21:12:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:14 21:12:14 Login Succeeded 21:12:14 nexus3.edgexfoundry.org:10004 21:12:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:14 Configure a credential helper to remove this warning. See 21:12:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:14 21:12:14 Login Succeeded 21:12:14 docker.io 21:12:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:15 Configure a credential helper to remove this warning. See 21:12:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:15 21:12:15 Login Succeeded 21:12:15 ---> docker-login.sh ends [Pipeline] } 21:12:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:12:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:12:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:12:15 ========================================================= 21:12:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 21:12:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:15 + 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:12:15 Sending build context to Docker daemon 5.464MB 21:12:15 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 21:12:15 Step 2/12 : FROM ${BASE} AS builder 21:12:15 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 21:12:15 2408cc74d12b: Pulling fs layer 21:12:15 ea60b727a1ce: Pulling fs layer 21:12:15 30c4a7721957: Pulling fs layer 21:12:15 370296b7ddb6: Pulling fs layer 21:12:15 7c6cee850709: Pulling fs layer 21:12:15 39a5fcdaea64: Pulling fs layer 21:12:15 d94ebbe4e438: Pulling fs layer 21:12:15 bcfd1f05c69d: Pulling fs layer 21:12:15 59ccb84bbe0f: Pulling fs layer 21:12:15 7c6cee850709: Waiting 21:12:15 370296b7ddb6: Waiting 21:12:15 39a5fcdaea64: Waiting 21:12:15 d94ebbe4e438: Waiting 21:12:15 bcfd1f05c69d: Waiting 21:12:15 59ccb84bbe0f: Waiting 21:12:15 30c4a7721957: Verifying Checksum 21:12:15 30c4a7721957: Download complete 21:12:15 ea60b727a1ce: Verifying Checksum 21:12:15 ea60b727a1ce: Download complete 21:12:15 7c6cee850709: Download complete 21:12:15 39a5fcdaea64: Verifying Checksum 21:12:15 39a5fcdaea64: Download complete 21:12:16 2408cc74d12b: Download complete 21:12:16 d94ebbe4e438: Verifying Checksum 21:12:16 d94ebbe4e438: Download complete 21:12:16 2408cc74d12b: Pull complete 21:12:16 ea60b727a1ce: Pull complete 21:12:16 30c4a7721957: Pull complete 21:12:16 59ccb84bbe0f: Verifying Checksum 21:12:16 59ccb84bbe0f: Download complete 21:12:16 bcfd1f05c69d: Verifying Checksum 21:12:16 bcfd1f05c69d: Download complete 21:12:16 370296b7ddb6: Verifying Checksum 21:12:16 370296b7ddb6: Download complete 21:12:21 370296b7ddb6: Pull complete 21:12:21 7c6cee850709: Pull complete 21:12:21 39a5fcdaea64: Pull complete 21:12:21 d94ebbe4e438: Pull complete 21:12:22 bcfd1f05c69d: Pull complete 21:12:23 59ccb84bbe0f: Pull complete 21:12:23 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 21:12:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:12:23 ---> a4fb48ad2a94 21:12:23 Step 3/12 : ARG MAKE='make build' 21:12:26 ---> Running in 811b5c27e327 21:12:26 Removing intermediate container 811b5c27e327 21:12:26 ---> f926fcef1730 21:12:26 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:12:26 ---> Running in 5327859029cb 21:12:26 Removing intermediate container 5327859029cb 21:12:26 ---> cbb3e097da07 21:12:26 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 21:12:26 ---> Running in 9ac385a4ed02 21:12:26 Removing intermediate container 9ac385a4ed02 21:12:26 ---> 88a16d4f0fab 21:12:26 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:12:26 ---> Running in 095b6cc6b09b 21:12:27 Removing intermediate container 095b6cc6b09b 21:12:27 ---> f1e7c6032785 21:12:27 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:12:27 ---> Running in 3c61cb8e0177 21:12:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:12:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:12:28 (1/4) Installing openssh-keygen (9.0_p1-r2) 21:12:28 (2/4) Installing libedit (20210910.3.1-r0) 21:12:28 (3/4) Installing openssh-client-common (9.0_p1-r2) 21:12:28 (4/4) Installing openssh-client-default (9.0_p1-r2) 21:12:29 Executing busybox-1.35.0-r13.trigger 21:12:29 OK: 216 MiB in 55 packages 21:12:29 Still waiting to schedule task 21:12:29 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1213’ 21:12:29 Removing intermediate container 3c61cb8e0177 21:12:29 ---> 0074e5cec99e 21:12:29 Step 8/12 : WORKDIR /device-snmp-go 21:12:29 ---> Running in 31561f7294b3 21:12:29 Removing intermediate container 31561f7294b3 21:12:29 ---> 7186d80adbd0 21:12:29 Step 9/12 : COPY go.mod vendor* ./ 21:12:29 ---> f3a33011a08b 21:12:29 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:12:29 ---> Running in cabb9f119e24 21:12:51 Removing intermediate container cabb9f119e24 21:12:51 ---> a21636265e5c 21:12:51 Step 11/12 : COPY . . 21:12:51 ---> 64ee256384b2 21:12:51 Step 12/12 : RUN ${MAKE} 21:12:51 ---> Running in 1669af6905f6 21:12:51 noop 21:12:51 Removing intermediate container 1669af6905f6 21:12:51 ---> ab249fc09a24 21:12:51 Successfully built ab249fc09a24 21:12:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:52 + docker inspect -f . ci-base-image-x86_64 21:12:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:12:52 prd-ubuntu20.04-docker-8c-8g-1215 does not seem to be running inside a container 21:12:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:12:52 $ docker top 339f1ceda91e007f8287cfafd4cf54395309a6f81a87a3078abd04733e21d83a -eo pid,comm [Pipeline] { [Pipeline] sh 21:12:52 + go version 21:12:52 go version go1.18.3 linux/amd64 [Pipeline] } 21:12:52 $ docker stop --time=1 339f1ceda91e007f8287cfafd4cf54395309a6f81a87a3078abd04733e21d83a 21:12:54 $ docker rm -f 339f1ceda91e007f8287cfafd4cf54395309a6f81a87a3078abd04733e21d83a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:54 + docker inspect -f . ci-base-image-x86_64 21:12:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:12:54 prd-ubuntu20.04-docker-8c-8g-1215 does not seem to be running inside a container 21:12:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:12:54 $ docker top 544b4a1d36c7abd6f7fe6f4f0a12cd4f4407849f1f1abac8111117841d8f2a0d -eo pid,comm [Pipeline] { [Pipeline] sh 21:12:55 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh 21:12:55 + make test 21:12:55 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 21:12:55 ? github.com/edgexfoundry/device-snmp-go [no test files] 21:13:05 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 21:13:05 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.016s coverage: 0.0% of statements 21:13:11 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:13:11 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:13:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:13:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:13:14 ./bin/test-attribution-txt.sh 21:13:14 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 21:13:14 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 21:13:14 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 21:13:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:13:14 $ docker stop --time=1 544b4a1d36c7abd6f7fe6f4f0a12cd4f4407849f1f1abac8111117841d8f2a0d 21:13:17 $ docker rm -f 544b4a1d36c7abd6f7fe6f4f0a12cd4f4407849f1f1abac8111117841d8f2a0d [Pipeline] // withDockerContainer [Pipeline] sh 21:13:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:13:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:13:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:13:18 + ls -al . 21:13:18 total 172 21:13:18 drwxrwxr-x 9 jenkins jenkins 4096 Sep 26 21:12 . 21:13:18 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 21:11 .. 21:13:18 -rw-rw-r-- 1 jenkins jenkins 6 Sep 26 21:11 .dockerignore 21:13:18 drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 21:13 .git 21:13:18 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 21:11 .github 21:13:18 -rw-rw-r-- 1 jenkins jenkins 328 Sep 26 21:11 .gitignore 21:13:18 -rw-rw-r-- 1 jenkins jenkins 41 Sep 26 21:11 .golangci.yml 21:13:18 drwxr-xr-x 3 jenkins jenkins 4096 Sep 26 21:12 .semver 21:13:18 -rw-rw-r-- 1 jenkins jenkins 8556 Sep 26 21:11 Attribution.txt 21:13:18 -rw-rw-r-- 1 jenkins jenkins 6948 Sep 26 21:11 CHANGELOG.md 21:13:18 -rw-rw-r-- 1 jenkins jenkins 1518 Sep 26 21:11 Dockerfile 21:13:18 -rw-rw-r-- 1 jenkins jenkins 677 Sep 26 21:11 GOVERNANCE.md 21:13:18 -rw-rw-r-- 1 jenkins jenkins 656 Sep 26 21:11 Jenkinsfile 21:13:18 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 26 21:11 LICENSE 21:13:18 -rw-rw-r-- 1 jenkins jenkins 2334 Sep 26 21:11 Makefile 21:13:18 -rw-rw-r-- 1 jenkins jenkins 620 Sep 26 21:11 OWNERS.md 21:13:18 -rw-rw-r-- 1 jenkins jenkins 9390 Sep 26 21:11 README.md 21:13:18 -rw-rw-r-- 1 jenkins jenkins 12 Sep 26 21:12 VERSION 21:13:18 drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 21:11 bin 21:13:18 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 21:11 cmd 21:13:18 -rw-r--r-- 1 jenkins jenkins 7631 Sep 26 21:13 coverage.out 21:13:18 -rw-rw-r-- 1 jenkins jenkins 3473 Sep 26 21:11 go.mod 21:13:18 -rw-rw-r-- 1 jenkins jenkins 38137 Sep 26 21:11 go.sum 21:13:18 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 21:11 internal 21:13:18 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 21:11 snap 21:13:18 -rw-rw-r-- 1 jenkins jenkins 228 Sep 26 21:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:18 + 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=3908b4199cdebd231b53d3be0ce1311ed20ae7a2 --label arch=amd64 --label version=2.3.0-dev.13 . 21:13:18 Sending build context to Docker daemon 5.472MB 21:13:18 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 21:13:18 Step 2/24 : FROM ${BASE} AS builder 21:13:18 ---> ab249fc09a24 21:13:18 Step 3/24 : ARG MAKE='make build' 21:13:18 ---> Running in 9520a58868f5 21:13:18 Removing intermediate container 9520a58868f5 21:13:18 ---> 3223d8438c40 21:13:18 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:13:18 ---> Running in dc54ebf9e83c 21:13:18 Removing intermediate container dc54ebf9e83c 21:13:18 ---> e409c02ea594 21:13:18 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 21:13:18 ---> Running in 135b45a7448c 21:13:19 Removing intermediate container 135b45a7448c 21:13:19 ---> 4ee1d500339a 21:13:19 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:13:19 ---> Running in c5073a75f72e 21:13:19 Removing intermediate container c5073a75f72e 21:13:19 ---> 5e35a99661c1 21:13:19 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:13:19 ---> Running in 48f5c8d5406b 21:13:19 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:13:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:13:20 OK: 216 MiB in 55 packages 21:13:21 Removing intermediate container 48f5c8d5406b 21:13:21 ---> aacfc895f98b 21:13:21 Step 8/24 : WORKDIR /device-snmp-go 21:13:21 ---> Running in 698babad6438 21:13:21 Removing intermediate container 698babad6438 21:13:21 ---> 1eeb8bdfd0cb 21:13:21 Step 9/24 : COPY go.mod vendor* ./ 21:13:21 ---> 4a1abb793d2e 21:13:21 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:13:21 ---> Running in e04019a9d388 21:13:21 Removing intermediate container e04019a9d388 21:13:21 ---> bfae847178ab 21:13:21 Step 11/24 : COPY . . 21:13:22 ---> e474ee613f0a 21:13:22 Step 12/24 : RUN ${MAKE} 21:13:22 ---> Running in 54016fa64ea3 21:13:22 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.26 -X github.com/edgexfoundry/device-snmp-go.Version=2.3.0-dev.13" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 21:13:44 Removing intermediate container 54016fa64ea3 21:13:44 ---> b81424207113 21:13:44 Step 13/24 : FROM alpine:3.16 21:13:44 3.16: Pulling from library/alpine 21:13:44 213ec9aee27d: Pulling fs layer 21:13:44 213ec9aee27d: Verifying Checksum 21:13:44 213ec9aee27d: Download complete 21:13:44 213ec9aee27d: Pull complete 21:13:44 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 21:13:44 Status: Downloaded newer image for alpine:3.16 21:13:44 ---> 9c6f07244728 21:13:44 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 21:13:44 ---> Running in c228dde13585 21:13:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:13:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:13:45 (1/6) Installing dumb-init (1.2.5-r1) 21:13:45 (2/6) Installing libgcc (11.2.1_git20220219-r2) 21:13:45 (3/6) Installing libsodium (1.0.18-r0) 21:13:45 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 21:13:45 (5/6) Installing libzmq (4.3.4-r0) 21:13:45 (6/6) Installing zeromq (4.3.4-r0) 21:13:45 Executing busybox-1.35.0-r17.trigger 21:13:45 OK: 8 MiB in 20 packages 21:13:45 Removing intermediate container c228dde13585 21:13:45 ---> 25f803d6c112 21:13:45 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 21:13:46 ---> a00cb0b99a76 21:13:46 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 21:13:46 ---> ba060dbb1445 21:13:46 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 21:13:46 ---> 293f94720867 21:13:46 Step 18/24 : EXPOSE 59993 21:13:46 ---> Running in 9e498fbe1283 21:13:46 Removing intermediate container 9e498fbe1283 21:13:46 ---> c7c66716ddff 21:13:46 Step 19/24 : EXPOSE 161 21:13:46 ---> Running in 2b42f673a3cb 21:13:46 Removing intermediate container 2b42f673a3cb 21:13:46 ---> 0caf169bd0c7 21:13:46 Step 20/24 : ENTRYPOINT ["/device-snmp"] 21:13:46 ---> Running in 01ed07cd3c8b 21:13:46 Removing intermediate container 01ed07cd3c8b 21:13:46 ---> a26c46343867 21:13:46 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 21:13:46 ---> Running in 0f929249cd08 21:13:46 Removing intermediate container 0f929249cd08 21:13:46 ---> 21e359e0af08 21:13:46 Step 22/24 : LABEL arch=amd64 21:13:46 ---> Running in edc1c85aa5e5 21:13:47 Removing intermediate container edc1c85aa5e5 21:13:47 ---> f1e9ee907c4c 21:13:47 Step 23/24 : LABEL git_sha=3908b4199cdebd231b53d3be0ce1311ed20ae7a2 21:13:47 ---> Running in 5452730dfab9 21:13:47 Removing intermediate container 5452730dfab9 21:13:47 ---> 93e7102eb8e6 21:13:47 Step 24/24 : LABEL version=2.3.0-dev.13 21:13:47 ---> Running in 0ea75aa4321f 21:13:47 Removing intermediate container 0ea75aa4321f 21:13:47 ---> a724bdf944f9 21:13:47 [Warning] One or more build-args [ARCH] were not consumed 21:13:47 Successfully built a724bdf944f9 21:13:47 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:13:47 provisioning config files... 21:13:47 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4226916149299922091tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:13:47 ---> docker-login.sh 21:13:47 nexus3.edgexfoundry.org:10001 21:13:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:13:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:13:47 Configure a credential helper to remove this warning. See 21:13:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:13:47 21:13:47 Login Succeeded 21:13:47 nexus3.edgexfoundry.org:10002 21:13:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:13:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:13:47 Configure a credential helper to remove this warning. See 21:13:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:13:47 21:13:47 Login Succeeded 21:13:47 nexus3.edgexfoundry.org:10003 21:13:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:13:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:13:47 Configure a credential helper to remove this warning. See 21:13:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:13:47 21:13:47 Login Succeeded 21:13:47 nexus3.edgexfoundry.org:10004 21:13:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:13:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:13:47 Configure a credential helper to remove this warning. See 21:13:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:13:47 21:13:47 Login Succeeded 21:13:47 docker.io 21:13:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:13:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:13:48 Configure a credential helper to remove this warning. See 21:13:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:13:48 21:13:48 Login Succeeded 21:13:48 ---> docker-login.sh ends [Pipeline] } 21:13:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:13:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:13:48 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 21:13:48 3908b4199cdebd231b53d3be0ce1311ed20ae7a2 21:13:48 latest 21:13:48 2.3.0-dev.13 21:13:48 3908b4199cdebd231b53d3be0ce1311ed20ae7a2-2.3.0-dev.13 21:13:48 main 21:13:48 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:48 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3908b4199cdebd231b53d3be0ce1311ed20ae7a2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:49 + docker push nexus3.edgexfoundry.org:10004/device-snmp:3908b4199cdebd231b53d3be0ce1311ed20ae7a2 21:13:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 21:13:49 afac5afd5d77: Preparing 21:13:49 ff265010373b: Preparing 21:13:49 eff2312512f1: Preparing 21:13:49 1f301986e1b5: Preparing 21:13:49 994393dc58e7: Preparing 21:13:49 994393dc58e7: Layer already exists 21:13:49 afac5afd5d77: Pushed 21:13:49 ff265010373b: Pushed 21:13:49 1f301986e1b5: Pushed 21:13:51 eff2312512f1: Pushed 21:13:51 3908b4199cdebd231b53d3be0ce1311ed20ae7a2: digest: sha256:563a86ac841cbb1a86f0293c3955751538c109c14d190ce74a1dc290894b7cb6 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:52 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:52 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 21:13:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 21:13:52 afac5afd5d77: Preparing 21:13:52 ff265010373b: Preparing 21:13:52 eff2312512f1: Preparing 21:13:52 1f301986e1b5: Preparing 21:13:52 994393dc58e7: Preparing 21:13:52 afac5afd5d77: Layer already exists 21:13:52 1f301986e1b5: Layer already exists 21:13:52 994393dc58e7: Layer already exists 21:13:52 eff2312512f1: Layer already exists 21:13:52 ff265010373b: Layer already exists 21:13:52 latest: digest: sha256:563a86ac841cbb1a86f0293c3955751538c109c14d190ce74a1dc290894b7cb6 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:52 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:53 + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.13 21:13:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 21:13:53 afac5afd5d77: Preparing 21:13:53 ff265010373b: Preparing 21:13:53 eff2312512f1: Preparing 21:13:53 1f301986e1b5: Preparing 21:13:53 994393dc58e7: Preparing 21:13:53 ff265010373b: Layer already exists 21:13:53 afac5afd5d77: Layer already exists 21:13:53 eff2312512f1: Layer already exists 21:13:53 994393dc58e7: Layer already exists 21:13:53 1f301986e1b5: Layer already exists 21:13:53 2.3.0-dev.13: digest: sha256:563a86ac841cbb1a86f0293c3955751538c109c14d190ce74a1dc290894b7cb6 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:53 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3908b4199cdebd231b53d3be0ce1311ed20ae7a2-2.3.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:53 + docker push nexus3.edgexfoundry.org:10004/device-snmp:3908b4199cdebd231b53d3be0ce1311ed20ae7a2-2.3.0-dev.13 21:13:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 21:13:53 afac5afd5d77: Preparing 21:13:53 ff265010373b: Preparing 21:13:53 eff2312512f1: Preparing 21:13:53 1f301986e1b5: Preparing 21:13:53 994393dc58e7: Preparing 21:13:53 afac5afd5d77: Layer already exists 21:13:53 1f301986e1b5: Layer already exists 21:13:53 ff265010373b: Layer already exists 21:13:53 eff2312512f1: Layer already exists 21:13:53 994393dc58e7: Layer already exists 21:13:53 3908b4199cdebd231b53d3be0ce1311ed20ae7a2-2.3.0-dev.13: digest: sha256:563a86ac841cbb1a86f0293c3955751538c109c14d190ce74a1dc290894b7cb6 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:54 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:54 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 21:13:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 21:13:54 afac5afd5d77: Preparing 21:13:54 ff265010373b: Preparing 21:13:54 eff2312512f1: Preparing 21:13:54 1f301986e1b5: Preparing 21:13:54 994393dc58e7: Preparing 21:13:54 994393dc58e7: Layer already exists 21:13:54 1f301986e1b5: Layer already exists 21:13:54 eff2312512f1: Layer already exists 21:13:54 afac5afd5d77: Layer already exists 21:13:54 ff265010373b: Layer already exists 21:13:54 main: digest: sha256:563a86ac841cbb1a86f0293c3955751538c109c14d190ce74a1dc290894b7cb6 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:13:54 ===================================================== [Pipeline] echo 21:13:54 taggedImages: 21:13:54 - nexus3.edgexfoundry.org:10004/device-snmp:3908b4199cdebd231b53d3be0ce1311ed20ae7a2 21:13:54 - nexus3.edgexfoundry.org:10004/device-snmp:latest 21:13:54 - nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.13 21:13:54 - nexus3.edgexfoundry.org:10004/device-snmp:3908b4199cdebd231b53d3be0ce1311ed20ae7a2-2.3.0-dev.13 21:13:54 - 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:13:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:13:54 21:13:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:13:55 latest: Pulling from edgex-lftools-log-publisher 21:13:55 5eb5b503b376: Pulling fs layer 21:13:55 5c69ac0246d0: Pulling fs layer 21:13:55 ec43610c2a17: Pulling fs layer 21:13:55 3a2ae6a8a46f: Pulling fs layer 21:13:55 33b1e0a273af: Pulling fs layer 21:13:55 5d3b04190fa2: Pulling fs layer 21:13:55 2f39f015ded8: Pulling fs layer 21:13:55 3a2ae6a8a46f: Waiting 21:13:55 33b1e0a273af: Waiting 21:13:55 2f39f015ded8: Waiting 21:13:55 5d3b04190fa2: Waiting 21:13:55 5c69ac0246d0: Download complete 21:13:55 3a2ae6a8a46f: Verifying Checksum 21:13:55 3a2ae6a8a46f: Download complete 21:13:55 33b1e0a273af: Verifying Checksum 21:13:55 33b1e0a273af: Download complete 21:13:55 5d3b04190fa2: Verifying Checksum 21:13:55 5d3b04190fa2: Download complete 21:13:55 ec43610c2a17: Verifying Checksum 21:13:55 ec43610c2a17: Download complete 21:13:55 5eb5b503b376: Verifying Checksum 21:13:55 5eb5b503b376: Download complete 21:13:56 2f39f015ded8: Verifying Checksum 21:13:56 2f39f015ded8: Download complete 21:13:56 5eb5b503b376: Pull complete 21:13:56 5c69ac0246d0: Pull complete 21:13:57 ec43610c2a17: Pull complete 21:13:57 3a2ae6a8a46f: Pull complete 21:13:57 33b1e0a273af: Pull complete 21:13:57 5d3b04190fa2: Pull complete 21:14:02 2f39f015ded8: Pull complete 21:14:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:14:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:14:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:02 prd-ubuntu20.04-docker-8c-8g-1215 does not seem to be running inside a container 21:14:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:14:05 $ docker top bc739c2aea330f877fb99af8b9666ed62ca6fa46e3accb398d0a8e0a46ed40be -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:14:06 ---> job-cost.sh 21:14:06 lf-activate-venv: SKIPPING 21:14:06 INFO: No Stack... 21:14:06 INFO: Retrieving Pricing Info for: v3-standard-8 21:14:06 INFO: Archiving Costs [Pipeline] sh 21:14:07 + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv 21:14:07 + cut -d, -f6 [Pipeline] lock 21:14:07 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-44-stack-cost] 21:14:07 Resource [jenkins-edgexfoundry-device-snmp-go-main-44-stack-cost] did not exist. Created. 21:14:07 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-44-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:14:07 + echo total: 0.2199999988079071 [Pipeline] stash 21:14:07 Stashed 1 file(s) [Pipeline] } 21:14:07 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-44-stack-cost] [Pipeline] // lock [Pipeline] } 21:14:07 $ docker stop --time=1 bc739c2aea330f877fb99af8b9666ed62ca6fa46e3accb398d0a8e0a46ed40be 21:14:08 $ docker rm -f bc739c2aea330f877fb99af8b9666ed62ca6fa46e3accb398d0a8e0a46ed40be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:15:09 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1220 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 21:15:09 Running in /w/workspace/device-snmp-go/44 [Pipeline] { [Pipeline] checkout 21:15:09 Selected Git installation does not exist. Using Default 21:15:09 The recommended git tool is: NONE 21:15:16 using credential edgex-jenkins-ssh 21:15:16 Cloning the remote Git repository 21:15:16 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 21:15:16 > git init /w/workspace/device-snmp-go/44 # timeout=10 21:15:16 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 21:15:16 > git --version # timeout=10 21:15:16 > git --version # 'git version 2.25.1' 21:15:16 using GIT_SSH to set credentials SSH Credentials for GitHub 21:15:16 Verifying host key using known hosts file 21:15:16 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 21:15:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:15:18 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 21:15:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:15:19 Avoid second fetch 21:15:19 Checking out Revision 3908b4199cdebd231b53d3be0ce1311ed20ae7a2 (main) 21:15:19 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 (#192)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 21:15:19 > git config core.sparsecheckout # timeout=10 21:15:19 > git checkout -f 3908b4199cdebd231b53d3be0ce1311ed20ae7a2 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh 21:15:20 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:15:20 % Total % Received % Xferd Average Speed Time Time Time Current 21:15:20 Dload Upload Total Spent Left Speed 21:15:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 161k 0 --:--:-- --:--:-- --:--:-- 161k [Pipeline] sh 21:15:21 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:15:21 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:15:21 + sudo tee /etc/docker/daemon.new 21:15:21 { 21:15:21 "registry-mirrors": [ 21:15:21 "https://nexus3.edgexfoundry.org:10001" 21:15:21 ], 21:15:21 "bip": "10.250.0.254/24", 21:15:21 "hosts": [ 21:15:21 "tcp://0.0.0.0:5555", 21:15:21 "unix:///var/run/docker.sock" 21:15:21 ], 21:15:21 "mtu": 1458, 21:15:21 "selinux-enabled": true, 21:15:21 "seccomp-profile": "/etc/docker/seccomp.json" 21:15:21 } [Pipeline] sh 21:15:21 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:15:22 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:15:40 provisioning config files... 21:15:40 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/44@tmp/config3231940479152687952tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:15:40 ---> docker-login.sh 21:15:40 nexus3.edgexfoundry.org:10001 21:15:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:41 Configure a credential helper to remove this warning. See 21:15:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:41 21:15:41 Login Succeeded 21:15:41 nexus3.edgexfoundry.org:10002 21:15:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:41 Configure a credential helper to remove this warning. See 21:15:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:41 21:15:41 Login Succeeded 21:15:41 nexus3.edgexfoundry.org:10003 21:15:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:42 Configure a credential helper to remove this warning. See 21:15:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:42 21:15:42 Login Succeeded 21:15:42 nexus3.edgexfoundry.org:10004 21:15:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:42 Configure a credential helper to remove this warning. See 21:15:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:42 21:15:42 Login Succeeded 21:15:42 docker.io 21:15:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:43 Configure a credential helper to remove this warning. See 21:15:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:43 21:15:43 Login Succeeded 21:15:43 ---> docker-login.sh ends [Pipeline] } 21:15:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:15:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:15:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:15:43 ========================================================= 21:15:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 21:15:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:43 + 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 . 21:15:44 Sending build context to Docker daemon 2.817MB 21:15:44 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 21:15:44 Step 2/12 : FROM ${BASE} AS builder 21:15:44 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:15:44 b3c136eddcbf: Pulling fs layer 21:15:44 c0a3192eca97: Pulling fs layer 21:15:44 a050256f5b6f: Pulling fs layer 21:15:44 656be50a0ddc: Pulling fs layer 21:15:44 2bbca73fdf42: Pulling fs layer 21:15:44 46d945488cbd: Pulling fs layer 21:15:44 8a5474983e97: Pulling fs layer 21:15:44 329c88fbcd65: Pulling fs layer 21:15:44 46d945488cbd: Waiting 21:15:44 8a5474983e97: Waiting 21:15:44 329c88fbcd65: Waiting 21:15:44 656be50a0ddc: Waiting 21:15:44 2bbca73fdf42: Waiting 21:15:44 a050256f5b6f: Verifying Checksum 21:15:44 a050256f5b6f: Download complete 21:15:44 c0a3192eca97: Verifying Checksum 21:15:44 c0a3192eca97: Download complete 21:15:44 2bbca73fdf42: Verifying Checksum 21:15:44 2bbca73fdf42: Download complete 21:15:44 46d945488cbd: Verifying Checksum 21:15:44 46d945488cbd: Download complete 21:15:44 b3c136eddcbf: Verifying Checksum 21:15:44 b3c136eddcbf: Download complete 21:15:45 b3c136eddcbf: Pull complete 21:15:45 329c88fbcd65: Verifying Checksum 21:15:45 329c88fbcd65: Download complete 21:15:46 c0a3192eca97: Pull complete 21:15:46 a050256f5b6f: Pull complete 21:15:47 8a5474983e97: Verifying Checksum 21:15:47 8a5474983e97: Download complete 21:15:47 656be50a0ddc: Verifying Checksum 21:15:47 656be50a0ddc: Download complete 21:16:00 656be50a0ddc: Pull complete 21:16:00 2bbca73fdf42: Pull complete 21:16:00 46d945488cbd: Pull complete 21:16:05 8a5474983e97: Pull complete 21:16:06 329c88fbcd65: Pull complete 21:16:06 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 21:16:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:16:06 ---> ff4287adb874 21:16:06 Step 3/12 : ARG MAKE='make build' 21:16:08 ---> Running in 2afcd8857786 21:16:09 Removing intermediate container 2afcd8857786 21:16:09 ---> 0d2f79c30dc8 21:16:09 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:16:09 ---> Running in 408e33636109 21:16:09 Removing intermediate container 408e33636109 21:16:09 ---> 779b04d718b0 21:16:09 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 21:16:09 ---> Running in 443160e68a6d 21:16:09 Removing intermediate container 443160e68a6d 21:16:09 ---> 244ec822c26c 21:16:09 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:16:09 ---> Running in 62f58d6a4c10 21:16:11 Removing intermediate container 62f58d6a4c10 21:16:11 ---> bda6b4898e90 21:16:11 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:16:11 ---> Running in 482c0b2a30dc 21:16:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:16:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:16:14 (1/4) Installing openssh-keygen (9.0_p1-r2) 21:16:14 (2/4) Installing libedit (20210910.3.1-r0) 21:16:14 (3/4) Installing openssh-client-common (9.0_p1-r2) 21:16:15 (4/4) Installing openssh-client-default (9.0_p1-r2) 21:16:15 Executing busybox-1.35.0-r13.trigger 21:16:15 OK: 226 MiB in 55 packages 21:16:16 Removing intermediate container 482c0b2a30dc 21:16:16 ---> d23497a7ec62 21:16:16 Step 8/12 : WORKDIR /device-snmp-go 21:16:16 ---> Running in 0668accc4a15 21:16:16 Removing intermediate container 0668accc4a15 21:16:16 ---> c7e500982a78 21:16:16 Step 9/12 : COPY go.mod vendor* ./ 21:16:17 ---> c61791fcf227 21:16:17 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:16:17 ---> Running in 55b1759aacb3 21:17:13 Removing intermediate container 55b1759aacb3 21:17:13 ---> 22c1d17e3ebc 21:17:13 Step 11/12 : COPY . . 21:17:13 ---> 811233a65cbc 21:17:13 Step 12/12 : RUN ${MAKE} 21:17:13 ---> Running in 8697247f0f95 21:17:13 noop 21:17:13 Removing intermediate container 8697247f0f95 21:17:13 ---> 5fd12ba3a3f7 21:17:13 Successfully built 5fd12ba3a3f7 21:17:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:14 + docker inspect -f . ci-base-image-arm64 21:17:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:17:14 prd-ubuntu20.04-docker-arm64-4c-16g-1220 does not seem to be running inside a container 21:17:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/44 -v /w/workspace/device-snmp-go/44:/w/workspace/device-snmp-go/44:rw,z -v /w/workspace/device-snmp-go/44@tmp:/w/workspace/device-snmp-go/44@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 21:17:15 $ docker top 86729c44117f7d7d6cf25ed20653e5e5c9a4617854b0567b6290c09adbfdd5a9 -eo pid,comm [Pipeline] { [Pipeline] sh 21:17:16 + go version 21:17:16 go version go1.18.3 linux/arm64 [Pipeline] } 21:17:16 $ docker stop --time=1 86729c44117f7d7d6cf25ed20653e5e5c9a4617854b0567b6290c09adbfdd5a9 21:17:18 $ docker rm -f 86729c44117f7d7d6cf25ed20653e5e5c9a4617854b0567b6290c09adbfdd5a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:18 + docker inspect -f . ci-base-image-arm64 21:17:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:17:18 prd-ubuntu20.04-docker-arm64-4c-16g-1220 does not seem to be running inside a container 21:17:18 $ 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/44 -v /w/workspace/device-snmp-go/44:/w/workspace/device-snmp-go/44:rw,z -v /w/workspace/device-snmp-go/44@tmp:/w/workspace/device-snmp-go/44@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 21:17:20 $ docker top 002d7ce83d1d41b16396a20cb68eaaa84630053be4687b2396891eeb623aea4f -eo pid,comm [Pipeline] { [Pipeline] sh 21:17:21 + git config --global --add safe.directory /w/workspace/device-snmp-go/44 [Pipeline] fileExists [Pipeline] sh 21:17:21 + make test 21:17:21 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 21:17:23 ? github.com/edgexfoundry/device-snmp-go [no test files] 21:19:00 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 21:19:00 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.046s coverage: 0.0% of statements 21:19:00 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:19:00 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:19:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:19:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:19:15 ./bin/test-attribution-txt.sh 21:19:15 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 21:19:15 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 21:19:15 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 21:19:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:19:15 $ docker stop --time=1 002d7ce83d1d41b16396a20cb68eaaa84630053be4687b2396891eeb623aea4f 21:19:17 $ docker rm -f 002d7ce83d1d41b16396a20cb68eaaa84630053be4687b2396891eeb623aea4f [Pipeline] // withDockerContainer [Pipeline] sh 21:19:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:19:18 Warning: overwriting stash ‘coverage-report’ 21:19:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:19:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:19:19 + ls -al . 21:19:19 total 168 21:19:19 drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 21:17 . 21:19:19 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 21:15 .. 21:19:19 -rw-rw-r-- 1 jenkins jenkins 6 Sep 26 21:15 .dockerignore 21:19:19 drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 21:15 .git 21:19:19 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 21:15 .github 21:19:19 -rw-rw-r-- 1 jenkins jenkins 328 Sep 26 21:15 .gitignore 21:19:19 -rw-rw-r-- 1 jenkins jenkins 41 Sep 26 21:15 .golangci.yml 21:19:19 -rw-rw-r-- 1 jenkins jenkins 8556 Sep 26 21:15 Attribution.txt 21:19:19 -rw-rw-r-- 1 jenkins jenkins 6948 Sep 26 21:15 CHANGELOG.md 21:19:19 -rw-rw-r-- 1 jenkins jenkins 1518 Sep 26 21:15 Dockerfile 21:19:19 -rw-rw-r-- 1 jenkins jenkins 677 Sep 26 21:15 GOVERNANCE.md 21:19:19 -rw-rw-r-- 1 jenkins jenkins 656 Sep 26 21:15 Jenkinsfile 21:19:19 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 26 21:15 LICENSE 21:19:19 -rw-rw-r-- 1 jenkins jenkins 2334 Sep 26 21:15 Makefile 21:19:19 -rw-rw-r-- 1 jenkins jenkins 620 Sep 26 21:15 OWNERS.md 21:19:19 -rw-rw-r-- 1 jenkins jenkins 9390 Sep 26 21:15 README.md 21:19:19 -rw-rw-r-- 1 jenkins jenkins 12 Sep 26 21:12 VERSION 21:19:19 drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 21:15 bin 21:19:19 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 21:15 cmd 21:19:19 -rw-r--r-- 1 jenkins jenkins 7631 Sep 26 21:18 coverage.out 21:19:19 -rw-rw-r-- 1 jenkins jenkins 3473 Sep 26 21:15 go.mod 21:19:19 -rw-rw-r-- 1 jenkins jenkins 38137 Sep 26 21:15 go.sum 21:19:19 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 21:15 internal 21:19:19 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 21:15 snap 21:19:19 -rw-rw-r-- 1 jenkins jenkins 228 Sep 26 21:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:19 + 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=3908b4199cdebd231b53d3be0ce1311ed20ae7a2 --label arch=arm64 --label version=2.3.0-dev.13 . 21:19:19 Sending build context to Docker daemon 2.825MB 21:19:20 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 21:19:20 Step 2/24 : FROM ${BASE} AS builder 21:19:20 ---> 5fd12ba3a3f7 21:19:20 Step 3/24 : ARG MAKE='make build' 21:19:20 ---> Running in bba84caaa040 21:19:20 Removing intermediate container bba84caaa040 21:19:20 ---> 915cb067ded5 21:19:20 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:19:20 ---> Running in af3d44aeb107 21:19:20 Removing intermediate container af3d44aeb107 21:19:20 ---> d57e7050fd6e 21:19:20 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 21:19:20 ---> Running in e855691b8e37 21:19:21 Removing intermediate container e855691b8e37 21:19:21 ---> c03f353131e7 21:19:21 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:19:21 ---> Running in dee5f03dacd1 21:19:23 Removing intermediate container dee5f03dacd1 21:19:23 ---> ad8a185621e6 21:19:23 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:19:23 ---> Running in 7e755d3ef52e 21:19:24 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:19:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:19:26 OK: 226 MiB in 55 packages 21:19:27 Removing intermediate container 7e755d3ef52e 21:19:27 ---> 1d730c63f9f2 21:19:27 Step 8/24 : WORKDIR /device-snmp-go 21:19:27 ---> Running in 70ab2170820c 21:19:27 Removing intermediate container 70ab2170820c 21:19:27 ---> 11bddc6d0010 21:19:27 Step 9/24 : COPY go.mod vendor* ./ 21:19:28 ---> 9e4df7b47b08 21:19:28 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:19:28 ---> Running in 2a0d860658ec 21:19:32 Removing intermediate container 2a0d860658ec 21:19:32 ---> 69d3bda05d9e 21:19:32 Step 11/24 : COPY . . 21:19:33 ---> 933321ea9347 21:19:33 Step 12/24 : RUN ${MAKE} 21:19:33 ---> Running in c54d713c1dda 21:19:34 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.26 -X github.com/edgexfoundry/device-snmp-go.Version=2.3.0-dev.13" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 21:22:43 Removing intermediate container c54d713c1dda 21:22:43 ---> 3d895f21feac 21:22:43 Step 13/24 : FROM alpine:3.16 21:22:43 3.16: Pulling from library/alpine 21:22:43 9b18e9b68314: Pulling fs layer 21:22:43 9b18e9b68314: Verifying Checksum 21:22:43 9b18e9b68314: Download complete 21:22:43 9b18e9b68314: Pull complete 21:22:43 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 21:22:43 Status: Downloaded newer image for alpine:3.16 21:22:43 ---> a6215f271958 21:22:43 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 21:22:43 ---> Running in b7b2b2ec91e5 21:22:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:22:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:22:43 (1/6) Installing dumb-init (1.2.5-r1) 21:22:43 (2/6) Installing libgcc (11.2.1_git20220219-r2) 21:22:43 (3/6) Installing libsodium (1.0.18-r0) 21:22:43 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 21:22:43 (5/6) Installing libzmq (4.3.4-r0) 21:22:43 (6/6) Installing zeromq (4.3.4-r0) 21:22:43 Executing busybox-1.35.0-r17.trigger 21:22:43 OK: 8 MiB in 20 packages 21:22:43 Removing intermediate container b7b2b2ec91e5 21:22:43 ---> 80ec8a401fa7 21:22:43 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 21:22:43 ---> 5461d553e299 21:22:43 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 21:22:43 ---> ff19b8c741f0 21:22:43 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 21:22:43 ---> 53a6cebf39bb 21:22:43 Step 18/24 : EXPOSE 59993 21:22:43 ---> Running in ea5b14bdc824 21:22:43 Removing intermediate container ea5b14bdc824 21:22:43 ---> aee73f957806 21:22:43 Step 19/24 : EXPOSE 161 21:22:43 ---> Running in d7aa3a4bf57a 21:22:43 Removing intermediate container d7aa3a4bf57a 21:22:43 ---> d87160c2c798 21:22:43 Step 20/24 : ENTRYPOINT ["/device-snmp"] 21:22:43 ---> Running in 6e9296281a7f 21:22:43 Removing intermediate container 6e9296281a7f 21:22:43 ---> b4854c42e6c5 21:22:43 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 21:22:43 ---> Running in 4a0cae424a9e 21:22:43 Removing intermediate container 4a0cae424a9e 21:22:43 ---> c6d31277cd3f 21:22:43 Step 22/24 : LABEL arch=arm64 21:22:43 ---> Running in 0bddd9347050 21:22:43 Removing intermediate container 0bddd9347050 21:22:43 ---> 1836fafa3289 21:22:43 Step 23/24 : LABEL git_sha=3908b4199cdebd231b53d3be0ce1311ed20ae7a2 21:22:43 ---> Running in c2135fee17d0 21:22:43 Removing intermediate container c2135fee17d0 21:22:43 ---> 8baabbb749f3 21:22:43 Step 24/24 : LABEL version=2.3.0-dev.13 21:22:43 ---> Running in 4d2c8ab5ef76 21:22:43 Removing intermediate container 4d2c8ab5ef76 21:22:43 ---> e33e858e518f 21:22:43 [Warning] One or more build-args [ARCH] were not consumed 21:22:43 Successfully built e33e858e518f 21:22:43 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 21:22:43 provisioning config files... 21:22:43 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/44@tmp/config1337762728775602514tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:22:43 ---> docker-login.sh 21:22:43 nexus3.edgexfoundry.org:10001 21:22:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:44 Configure a credential helper to remove this warning. See 21:22:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:44 21:22:44 Login Succeeded 21:22:44 nexus3.edgexfoundry.org:10002 21:22:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:44 Configure a credential helper to remove this warning. See 21:22:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:44 21:22:44 Login Succeeded 21:22:44 nexus3.edgexfoundry.org:10003 21:22:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:44 Configure a credential helper to remove this warning. See 21:22:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:44 21:22:44 Login Succeeded 21:22:44 nexus3.edgexfoundry.org:10004 21:22:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:45 Configure a credential helper to remove this warning. See 21:22:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:45 21:22:45 Login Succeeded 21:22:45 docker.io 21:22:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:45 Configure a credential helper to remove this warning. See 21:22:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:45 21:22:45 Login Succeeded 21:22:45 ---> docker-login.sh ends [Pipeline] } 21:22:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:22:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:22:45 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 21:22:45 3908b4199cdebd231b53d3be0ce1311ed20ae7a2 21:22:45 latest 21:22:45 2.3.0-dev.13 21:22:45 3908b4199cdebd231b53d3be0ce1311ed20ae7a2-2.3.0-dev.13 21:22:45 main 21:22:45 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:46 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3908b4199cdebd231b53d3be0ce1311ed20ae7a2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:46 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3908b4199cdebd231b53d3be0ce1311ed20ae7a2 21:22:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 21:22:46 e3fa6e018ed6: Preparing 21:22:46 c29fafbf0c47: Preparing 21:22:46 839b4279e158: Preparing 21:22:46 d25ce067e602: Preparing 21:22:46 5d3e392a13a0: Preparing 21:22:46 5d3e392a13a0: Layer already exists 21:22:46 e3fa6e018ed6: Pushed 21:22:46 c29fafbf0c47: Pushed 21:22:47 d25ce067e602: Pushed 21:22:51 839b4279e158: Pushed 21:22:51 3908b4199cdebd231b53d3be0ce1311ed20ae7a2: digest: sha256:c2380b4867d6c4d2c8afe66604f80f1eb3d9aa84d28954b6316ee135d74a9d8e size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:52 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:52 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 21:22:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 21:22:52 e3fa6e018ed6: Preparing 21:22:52 c29fafbf0c47: Preparing 21:22:52 839b4279e158: Preparing 21:22:52 d25ce067e602: Preparing 21:22:52 5d3e392a13a0: Preparing 21:22:52 5d3e392a13a0: Layer already exists 21:22:52 c29fafbf0c47: Layer already exists 21:22:52 e3fa6e018ed6: Layer already exists 21:22:52 839b4279e158: Layer already exists 21:22:52 d25ce067e602: Layer already exists 21:22:52 latest: digest: sha256:c2380b4867d6c4d2c8afe66604f80f1eb3d9aa84d28954b6316ee135d74a9d8e size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:53 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:53 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.13 21:22:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 21:22:53 e3fa6e018ed6: Preparing 21:22:53 c29fafbf0c47: Preparing 21:22:53 839b4279e158: Preparing 21:22:53 d25ce067e602: Preparing 21:22:53 5d3e392a13a0: Preparing 21:22:53 5d3e392a13a0: Layer already exists 21:22:53 e3fa6e018ed6: Layer already exists 21:22:53 d25ce067e602: Layer already exists 21:22:53 839b4279e158: Layer already exists 21:22:53 c29fafbf0c47: Layer already exists 21:22:53 2.3.0-dev.13: digest: sha256:c2380b4867d6c4d2c8afe66604f80f1eb3d9aa84d28954b6316ee135d74a9d8e size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:54 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3908b4199cdebd231b53d3be0ce1311ed20ae7a2-2.3.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:54 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3908b4199cdebd231b53d3be0ce1311ed20ae7a2-2.3.0-dev.13 21:22:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 21:22:54 e3fa6e018ed6: Preparing 21:22:54 c29fafbf0c47: Preparing 21:22:54 839b4279e158: Preparing 21:22:54 d25ce067e602: Preparing 21:22:54 5d3e392a13a0: Preparing 21:22:54 e3fa6e018ed6: Layer already exists 21:22:54 5d3e392a13a0: Layer already exists 21:22:54 d25ce067e602: Layer already exists 21:22:54 c29fafbf0c47: Layer already exists 21:22:54 839b4279e158: Layer already exists 21:22:54 3908b4199cdebd231b53d3be0ce1311ed20ae7a2-2.3.0-dev.13: digest: sha256:c2380b4867d6c4d2c8afe66604f80f1eb3d9aa84d28954b6316ee135d74a9d8e size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:54 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:55 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 21:22:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 21:22:55 e3fa6e018ed6: Preparing 21:22:55 c29fafbf0c47: Preparing 21:22:55 839b4279e158: Preparing 21:22:55 d25ce067e602: Preparing 21:22:55 5d3e392a13a0: Preparing 21:22:55 839b4279e158: Layer already exists 21:22:55 c29fafbf0c47: Layer already exists 21:22:55 e3fa6e018ed6: Layer already exists 21:22:55 5d3e392a13a0: Layer already exists 21:22:55 d25ce067e602: Layer already exists 21:22:55 main: digest: sha256:c2380b4867d6c4d2c8afe66604f80f1eb3d9aa84d28954b6316ee135d74a9d8e size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:22:55 ===================================================== [Pipeline] echo 21:22:55 taggedImages: 21:22:55 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3908b4199cdebd231b53d3be0ce1311ed20ae7a2 21:22:55 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 21:22:55 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.13 21:22:55 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3908b4199cdebd231b53d3be0ce1311ed20ae7a2-2.3.0-dev.13 21:22:55 - 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 21:22:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:22:56 21:22:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:22:56 arm64: Pulling from edgex-lftools-log-publisher 21:22:56 8998bd30e6a1: Pulling fs layer 21:22:56 04944245beec: Pulling fs layer 21:22:56 699f458cf7ca: Pulling fs layer 21:22:56 765212b225bb: Pulling fs layer 21:22:56 f23df028b6ca: Pulling fs layer 21:22:56 d65c8cfc05b1: Pulling fs layer 21:22:56 2437ff75d9bd: Pulling fs layer 21:22:56 765212b225bb: Waiting 21:22:56 f23df028b6ca: Waiting 21:22:56 d65c8cfc05b1: Waiting 21:22:56 2437ff75d9bd: Waiting 21:22:56 04944245beec: Verifying Checksum 21:22:56 04944245beec: Download complete 21:22:56 765212b225bb: Download complete 21:22:56 f23df028b6ca: Verifying Checksum 21:22:56 f23df028b6ca: Download complete 21:22:56 d65c8cfc05b1: Verifying Checksum 21:22:56 d65c8cfc05b1: Download complete 21:22:56 699f458cf7ca: Verifying Checksum 21:22:56 699f458cf7ca: Download complete 21:22:57 8998bd30e6a1: Verifying Checksum 21:22:57 8998bd30e6a1: Download complete 21:22:59 2437ff75d9bd: Verifying Checksum 21:22:59 2437ff75d9bd: Download complete 21:23:01 8998bd30e6a1: Pull complete 21:23:01 04944245beec: Pull complete 21:23:03 699f458cf7ca: Pull complete 21:23:03 765212b225bb: Pull complete 21:23:04 f23df028b6ca: Pull complete 21:23:04 d65c8cfc05b1: Pull complete 21:23:19 2437ff75d9bd: Pull complete 21:23:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:23:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:23:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:23:19 prd-ubuntu20.04-docker-arm64-4c-16g-1220 does not seem to be running inside a container 21:23:19 $ 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/44 -v /w/workspace/device-snmp-go/44:/w/workspace/device-snmp-go/44:rw,z -v /w/workspace/device-snmp-go/44@tmp:/w/workspace/device-snmp-go/44@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 21:23:22 $ docker top 0996da23eab86625a39f7452e39852e4843275136f54c9a2d6c55bbdb9ebd707 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:23:23 ---> job-cost.sh 21:23:23 lf-activate-venv: SKIPPING 21:23:23 INFO: No Stack... 21:23:23 INFO: Retrieving Pricing Info for: v3-standard-4 21:23:24 INFO: Archiving Costs [Pipeline] sh 21:23:24 + cut -d, -f6 21:23:24 + cat /w/workspace/device-snmp-go/44/archives/cost.csv [Pipeline] lock 21:23:25 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-44-stack-cost] 21:23:25 Resource [jenkins-edgexfoundry-device-snmp-go-main-44-stack-cost] did not exist. Created. 21:23:25 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-44-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:23:25 /w/workspace/device-snmp-go/44@tmp/durable-3afa73ac/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:23:25 + echo total: 0.10999999940395355 [Pipeline] stash 21:23:25 Warning: overwriting stash ‘stack-cost’ 21:23:25 Stashed 1 file(s) [Pipeline] } 21:23:25 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-44-stack-cost] [Pipeline] // lock [Pipeline] } 21:23:25 $ docker stop --time=1 0996da23eab86625a39f7452e39852e4843275136f54c9a2d6c55bbdb9ebd707 21:23:27 $ docker rm -f 0996da23eab86625a39f7452e39852e4843275136f54c9a2d6c55bbdb9ebd707 [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 21:23:27 provisioning config files... 21:23:27 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8489695028344332062tmp [Pipeline] { [Pipeline] sh 21:23:28 + set +x 21:23:28 + bash -s -- 21:23:28 + curl -s https://codecov.io/bash 21:23:28 21:23:28 _____ _ 21:23:28 / ____| | | 21:23:28 | | ___ __| | ___ ___ _____ __ 21:23:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:23:28 | |___| (_) | (_| | __/ (_| (_) \ V / 21:23:28 \_____\___/ \__,_|\___|\___\___/ \_/ 21:23:28 Bash-1.0.6 21:23:28 21:23:28 21:23:28 ==> git version 2.25.1 found 21:23:28 ==> 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 21:23:28 Release-Date: 2020-01-08 21:23:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:23:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:23:28 ==> Jenkins CI detected. 21:23:28 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 21:23:28 project root: . 21:23:28 --> token set from env 21:23:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:23:28 ==> Running gcov in . (disable via -X gcov) 21:23:28 ==> Python coveragepy not found 21:23:28 ==> Searching for coverage reports in: 21:23:28 + . 21:23:28 -> Found 1 reports 21:23:28 ==> Detecting git/mercurial file structure 21:23:28 ==> Reading reports 21:23:28 + ./coverage.out bytes=7631 21:23:28 ==> Appending adjustments 21:23:28 https://docs.codecov.io/docs/fixing-reports 21:23:28 + Found adjustments 21:23:28 ==> Gzipping contents 21:23:28 4.0K /tmp/codecov.SbSUOk.gz 21:23:28 ==> Uploading reports 21:23:28 url: https://codecov.io 21:23:28 query: branch=main&commit=3908b4199cdebd231b53d3be0ce1311ed20ae7a2&build=44&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F44%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:23:28 -> Pinging Codecov 21:23:28 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=3908b4199cdebd231b53d3be0ce1311ed20ae7a2&build=44&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F44%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:23:28 -> Uploading to 21:23:28 https://storage.googleapis.com/codecov/v4/raw/2022-09-26/6C56EA5C29638FB4528AC87E60AF5AE0/3908b4199cdebd231b53d3be0ce1311ed20ae7a2/7d497963-7351-4328-aeef-d2d929439177.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220926%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220926T212328Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ef22ac2128d9fd768f0cfc0eeb61d157fcde6e3c002231c8eb58a83a4e9b8b75 21:23:28 % Total % Received % Xferd Average Speed Time Time Time Current 21:23:28 Dload Upload Total Spent Left Speed 21:23:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1543 0 0 100 1543 0 6919 --:--:-- --:--:-- --:--:-- 6919 21:23:28 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/3908b4199cdebd231b53d3be0ce1311ed20ae7a2 [Pipeline] } 21:23:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:23:29 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:23:29 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:23:29 21:23:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:23:29 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:23:29 df9b9388f04a: Pulling fs layer 21:23:29 52dc419b0ee2: Pulling fs layer 21:23:29 25bc292e5bac: Pulling fs layer 21:23:29 114826534d7a: Pulling fs layer 21:23:29 4657fd5d0bcf: Pulling fs layer 21:23:29 6ad1cebc031e: Pulling fs layer 21:23:29 8a3aa393b2d8: Pulling fs layer 21:23:29 114826534d7a: Waiting 21:23:29 4657fd5d0bcf: Waiting 21:23:29 6ad1cebc031e: Waiting 21:23:29 8a3aa393b2d8: Waiting 21:23:29 25bc292e5bac: Verifying Checksum 21:23:29 25bc292e5bac: Download complete 21:23:29 52dc419b0ee2: Verifying Checksum 21:23:29 52dc419b0ee2: Download complete 21:23:29 4657fd5d0bcf: Verifying Checksum 21:23:29 4657fd5d0bcf: Download complete 21:23:29 df9b9388f04a: Verifying Checksum 21:23:29 df9b9388f04a: Download complete 21:23:29 6ad1cebc031e: Verifying Checksum 21:23:29 6ad1cebc031e: Download complete 21:23:29 df9b9388f04a: Pull complete 21:23:29 52dc419b0ee2: Pull complete 21:23:29 25bc292e5bac: Pull complete 21:23:30 114826534d7a: Verifying Checksum 21:23:30 114826534d7a: Download complete 21:23:30 8a3aa393b2d8: Verifying Checksum 21:23:30 8a3aa393b2d8: Download complete 21:23:33 114826534d7a: Pull complete 21:23:33 4657fd5d0bcf: Pull complete 21:23:33 6ad1cebc031e: Pull complete 21:23:36 8a3aa393b2d8: Pull complete 21:23:36 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:23:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:23:36 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:23:36 prd-ubuntu20.04-docker-8c-8g-1215 does not seem to be running inside a container 21:23:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 21:23:39 $ docker top 4d98e9716c87864c4ea3c9a90542de6fd9ce20604d4fec68d1f35bad95c7d034 -eo pid,comm [Pipeline] { [Pipeline] echo 21:23:39 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh 21:23:39 + set -o pipefail 21:23:39 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' 21:23:46 21:23:46 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 21:23:46 21:23:46 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/710ede73-1547-46d4-9c46-e85d72e0b8c0 21:23:46 21:23:46 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 21:23:46 21:23:46 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:23:46 21:23:46 [Pipeline] } 21:23:46 $ docker stop --time=1 4d98e9716c87864c4ea3c9a90542de6fd9ce20604d4fec68d1f35bad95c7d034 21:23:49 $ docker rm -f 4d98e9716c87864c4ea3c9a90542de6fd9ce20604d4fec68d1f35bad95c7d034 [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 21:23:50 + git log --format=format:%s -1 3908b4199cdebd231b53d3be0ce1311ed20ae7a2 [Pipeline] sh 21:23:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:23:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:23:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:23:51 prd-ubuntu20.04-docker-8c-8g-1215 does not seem to be running inside a container 21:23:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:23:51 $ docker top 89c24c8ba0598e058be74ee46c31c8980c76e3ac5d464b80e782b95a9c1ea38a -eo pid,comm 21:23:51 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:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:23:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:23:51 [ssh-agent] Looking for ssh-agent implementation... 21:23:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:23:51 $ docker exec 89c24c8ba0598e058be74ee46c31c8980c76e3ac5d464b80e782b95a9c1ea38a ssh-agent 21:23:51 SSH_AUTH_SOCK=/tmp/ssh-KYA2bk2axmr3/agent.32 21:23:51 SSH_AGENT_PID=38 21:23:51 Running ssh-add (command line suppressed) 21:23:52 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6041204048781370853.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6041204048781370853.key) 21:23:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:23:52 + git semver tag 21:23:52 2022-09-26 21:23:52,578 [run_tag] DEBUG tag force:False 21:23:52 2022-09-26 21:23:52,578 [check_head_tag] DEBUG check head tag 21:23:52 2022-09-26 21:23:52,579 [execute] INFO git cat-file --batch-check 21:23:52 2022-09-26 21:23:52,579 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 21:23:52 2022-09-26 21:23:52,583 [execute] INFO git cat-file --batch 21:23:52 2022-09-26 21:23:52,583 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 21:23:52 2022-09-26 21:23:52,595 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 21:23:52 2022-09-26 21:23:52,595 [execute] INFO git tag -a v2.3.0-dev.13 -m v2.3.0-dev.13 21:23:52 2022-09-26 21:23:52,596 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.13', '-m', 'v2.3.0-dev.13'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 21:23:52 2022-09-26 21:23:52,601 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 21:23:52 2.3.0-dev.13 [Pipeline] } 21:23:52 $ docker exec --env ******** --env ******** 89c24c8ba0598e058be74ee46c31c8980c76e3ac5d464b80e782b95a9c1ea38a ssh-agent -k 21:23:52 unset SSH_AUTH_SOCK; 21:23:52 unset SSH_AGENT_PID; 21:23:52 echo Agent pid 38 killed; 21:23:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:23:53 + git semver [Pipeline] } 21:23:53 $ docker stop --time=1 89c24c8ba0598e058be74ee46c31c8980c76e3ac5d464b80e782b95a9c1ea38a 21:23:54 $ docker rm -f 89c24c8ba0598e058be74ee46c31c8980c76e3ac5d464b80e782b95a9c1ea38a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:23:55 21:23:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:23:55 0.23.1-centos7: Pulling from edgex-lftools 21:23:55 ab5ef0e58194: Pulling fs layer 21:23:55 9712f1f96733: Pulling fs layer 21:23:55 63f879dbbcfc: Pulling fs layer 21:23:55 0d9ebad4ef96: Pulling fs layer 21:23:55 e9a5061849ea: Pulling fs layer 21:23:55 d747dcd14b5f: Pulling fs layer 21:23:55 2de7ff778b66: Pulling fs layer 21:23:55 e9a5061849ea: Waiting 21:23:55 d747dcd14b5f: Waiting 21:23:55 2de7ff778b66: Waiting 21:23:55 0d9ebad4ef96: Waiting 21:23:55 9712f1f96733: Verifying Checksum 21:23:55 9712f1f96733: Download complete 21:23:55 63f879dbbcfc: Verifying Checksum 21:23:55 63f879dbbcfc: Download complete 21:23:55 e9a5061849ea: Verifying Checksum 21:23:55 e9a5061849ea: Download complete 21:23:55 0d9ebad4ef96: Verifying Checksum 21:23:55 0d9ebad4ef96: Download complete 21:23:55 d747dcd14b5f: Verifying Checksum 21:23:55 d747dcd14b5f: Download complete 21:23:56 ab5ef0e58194: Verifying Checksum 21:23:56 ab5ef0e58194: Download complete 21:23:56 2de7ff778b66: Verifying Checksum 21:23:56 2de7ff778b66: Download complete 21:23:59 ab5ef0e58194: Pull complete 21:23:59 9712f1f96733: Pull complete 21:23:59 63f879dbbcfc: Pull complete 21:24:03 0d9ebad4ef96: Pull complete 21:24:03 e9a5061849ea: Pull complete 21:24:03 d747dcd14b5f: Pull complete 21:24:04 2de7ff778b66: Pull complete 21:24:04 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:24:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:24:04 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:24:04 prd-ubuntu20.04-docker-8c-8g-1215 does not seem to be running inside a container 21:24:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 21:24:09 $ docker top 8c6446cbc02208ad483864e0990339b5eb8e98f9c83947dc4114cd57d2dffe67 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:24:09 provisioning config files... 21:24:09 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8071491200512911576tmp 21:24:09 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3477420090642939711tmp 21:24:09 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config10922395882375117488tmp [Pipeline] { [Pipeline] echo 21:24:09 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:24:09 ---> sigul-configuration.sh 21:24:09 gpg: directory `/root/.gnupg' created 21:24:09 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:24:09 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:24:09 gpg: keyring `/root/.gnupg/secring.gpg' created 21:24:09 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:24:09 gpg: CAST5 encrypted data 21:24:09 gpg: encrypted with 1 passphrase 21:24:09 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:24:09 + mkdir /home/jenkins 21:24:09 + mkdir /home/jenkins/sigul [Pipeline] sh 21:24:10 + 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 21:24:10 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:24:10 ---> sigul-install.sh 21:24:10 Sigul already installed; skipping installation. [Pipeline] sh 21:24:10 + git tag --list 21:24:10 1.0.0 21:24:10 v0.0.0 21:24:10 v1.1.0 21:24:10 v1.1.1 21:24:10 v1.2.2 21:24:10 v1.3.0 21:24:10 v1.3.1 21:24:10 v2.0.0 21:24:10 v2.1.0 21:24:10 v2.1.1 21:24:10 v2.1.1-dev.2 21:24:10 v2.1.1-dev.3 21:24:10 v2.2.0 21:24:10 v2.2.1-dev.1 21:24:10 v2.2.1-dev.2 21:24:10 v2.2.1-dev.3 21:24:10 v2.2.1-dev.4 21:24:10 v2.2.1-dev.5 21:24:10 v2.2.1-dev.6 21:24:10 v2.2.1-dev.7 21:24:10 v2.3.0-dev.10 21:24:10 v2.3.0-dev.11 21:24:10 v2.3.0-dev.12 21:24:10 v2.3.0-dev.13 21:24:10 v2.3.0-dev.7 21:24:10 v2.3.0-dev.8 21:24:10 v2.3.0-dev.9 [Pipeline] sh 21:24:11 + lftools sign git-tag v2.3.0-dev.13 21:24:11 Signing Git tag with Sigul... 21:24:11 Signing v2.3.0-dev.13 [Pipeline] echo 21:24:11 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:24:12 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:24:12 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:24:12 $ docker stop --time=1 8c6446cbc02208ad483864e0990339b5eb8e98f9c83947dc4114cd57d2dffe67 21:24:13 $ docker rm -f 8c6446cbc02208ad483864e0990339b5eb8e98f9c83947dc4114cd57d2dffe67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:24:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:24:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:24:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:24:14 prd-ubuntu20.04-docker-8c-8g-1215 does not seem to be running inside a container 21:24:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:24:14 $ docker top ed300d481b8d125c9f917cfca67d51b85d78605150ac7356dba36d6a11e13306 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:24:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:24:14 [ssh-agent] Looking for ssh-agent implementation... 21:24:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:24:14 $ docker exec ed300d481b8d125c9f917cfca67d51b85d78605150ac7356dba36d6a11e13306 ssh-agent 21:24:14 SSH_AUTH_SOCK=/tmp/ssh-IhrC1zoB1PRS/agent.33 21:24:14 SSH_AGENT_PID=39 21:24:14 Running ssh-add (command line suppressed) 21:24:15 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6261154751875648580.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6261154751875648580.key) 21:24:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:24:15 + git semver bump pre 21:24:15 2022-09-26 21:24:15,512 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 21:24:15 2022-09-26 21:24:15,512 [bump_version] DEBUG bumping version:2.3.0-dev.13 on axis:pre with prefix:dev 21:24:15 2022-09-26 21:24:15,512 [bump_version] DEBUG bumped version:2.3.0-dev.14 21:24:15 2022-09-26 21:24:15,512 [write_version] DEBUG write version:2.3.0-dev.14 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True 21:24:15 2022-09-26 21:24:15,512 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 21:24:15 2022-09-26 21:24:15,512 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 21:24:15 2022-09-26 21:24:15,514 [execute] INFO git cat-file --batch-check 21:24:15 2022-09-26 21:24:15,514 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:24:15 2022-09-26 21:24:15,519 [execute] INFO git cat-file --batch 21:24:15 2022-09-26 21:24:15,520 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:24:15 2022-09-26 21:24:15,526 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 21:24:15 2.3.0-dev.14 [Pipeline] } 21:24:15 $ docker exec --env ******** --env ******** ed300d481b8d125c9f917cfca67d51b85d78605150ac7356dba36d6a11e13306 ssh-agent -k 21:24:15 unset SSH_AUTH_SOCK; 21:24:15 unset SSH_AGENT_PID; 21:24:15 echo Agent pid 39 killed; 21:24:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:24:16 + git semver [Pipeline] } 21:24:16 $ docker stop --time=1 ed300d481b8d125c9f917cfca67d51b85d78605150ac7356dba36d6a11e13306 21:24:17 $ docker rm -f ed300d481b8d125c9f917cfca67d51b85d78605150ac7356dba36d6a11e13306 [Pipeline] // withDockerContainer [Pipeline] sh 21:24:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:24:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:24:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:24:18 prd-ubuntu20.04-docker-8c-8g-1215 does not seem to be running inside a container 21:24:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:24:18 $ docker top 24194b7c3de9ae2b8d8834563faadeab32b30c181f53a405d143893e00995e18 -eo pid,comm 21:24:18 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:24:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:24:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:24:18 [ssh-agent] Looking for ssh-agent implementation... 21:24:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:24:18 $ docker exec 24194b7c3de9ae2b8d8834563faadeab32b30c181f53a405d143893e00995e18 ssh-agent 21:24:18 SSH_AUTH_SOCK=/tmp/ssh-R8RtGcsVtOeQ/agent.33 21:24:18 SSH_AGENT_PID=39 21:24:18 Running ssh-add (command line suppressed) 21:24:19 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5590520340894724330.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5590520340894724330.key) 21:24:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:24:19 + git semver push 21:24:19 2022-09-26 21:24:19,537 [run_push] DEBUG push 21:24:19 2022-09-26 21:24:19,538 [execute] INFO git cat-file --batch-check 21:24:19 2022-09-26 21:24:19,538 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:24:19 2022-09-26 21:24:19,542 [execute] INFO git rev-list bedc447fbc242016c6507508a26a7dde7295513c -- 21:24:19 2022-09-26 21:24:19,542 [execute] DEBUG Popen(['git', 'rev-list', 'bedc447fbc242016c6507508a26a7dde7295513c', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:24:19 2022-09-26 21:24:19,549 [execute] INFO git fetch -v origin 21:24:19 2022-09-26 21:24:19,550 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) 21:24:20 2022-09-26 21:24:20,110 [run_push] DEBUG no remote changes detected 21:24:20 2022-09-26 21:24:20,111 [execute] INFO git push origin semver 21:24:20 2022-09-26 21:24:20,111 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:24:21 2022-09-26 21:24:20,895 [run_push] DEBUG push all version tags 21:24:21 2022-09-26 21:24:20,895 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:24:21 2022-09-26 21:24:20,896 [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) 21:24:22 2022-09-26 21:24:21,708 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 21:24:22 2.3.0-dev.14 [Pipeline] } 21:24:22 $ docker exec --env ******** --env ******** 24194b7c3de9ae2b8d8834563faadeab32b30c181f53a405d143893e00995e18 ssh-agent -k 21:24:22 unset SSH_AUTH_SOCK; 21:24:22 unset SSH_AGENT_PID; 21:24:22 echo Agent pid 39 killed; 21:24:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:24:22 + git semver [Pipeline] } 21:24:22 $ docker stop --time=1 24194b7c3de9ae2b8d8834563faadeab32b30c181f53a405d143893e00995e18 21:24:24 $ docker rm -f 24194b7c3de9ae2b8d8834563faadeab32b30c181f53a405d143893e00995e18 [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 21:24:24 + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] 21:24:24 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 21:24:24 total 16 21:24:24 drwxr-xr-x 3 root root 4096 Sep 26 21:14 . 21:24:24 drwxrwxr-x 10 jenkins jenkins 4096 Sep 26 21:24 .. 21:24:24 drwxr-xr-x 2 root root 4096 Sep 26 21:14 cost 21:24:24 -rw-r--r-- 1 root root 85 Sep 26 21:14 cost.csv 21:24:24 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives 21:24:24 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 21:24:24 total 16 21:24:24 drwxr-xr-x 3 jenkins jenkins 4096 Sep 26 21:14 . 21:24:24 drwxrwxr-x 10 jenkins jenkins 4096 Sep 26 21:24 .. 21:24:24 drwxr-xr-x 2 jenkins jenkins 4096 Sep 26 21:14 cost 21:24:24 -rw-r--r-- 1 jenkins jenkins 85 Sep 26 21:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:24:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:24:25 ---> package-listing.sh 21:24:25 ++ tr '[:upper:]' '[:lower:]' 21:24:25 ++ facter osfamily 21:24:25 + OS_FAMILY=debian 21:24:25 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 21:24:25 + START_PACKAGES=/tmp/packages_start.txt 21:24:25 + END_PACKAGES=/tmp/packages_end.txt 21:24:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:24:25 + PACKAGES=/tmp/packages_start.txt 21:24:25 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 21:24:25 + PACKAGES=/tmp/packages_end.txt 21:24:25 + case "${OS_FAMILY}" in 21:24:25 + dpkg -l 21:24:25 + grep '^ii' 21:24:26 + '[' -f /tmp/packages_start.txt ']' 21:24:26 + '[' -f /tmp/packages_end.txt ']' 21:24:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:24:26 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 21:24:26 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 21:24:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo 21:24:26 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 21:24:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:24:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:24:27 prd-ubuntu20.04-docker-8c-8g-1215 does not seem to be running inside a container 21:24:27 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:24:27 $ docker top 64ac45076eb4ee9ff15a7d9948c0bdad210c1b0343ac54c2cf3d7861bee44b63 -eo pid,comm [Pipeline] { [Pipeline] sh 21:24:27 + touch /tmp/pre-build-complete [Pipeline] sh 21:24:28 + mkdir -p /var/log/sysstat [Pipeline] sh 21:24:28 + ls /var/log/sa-host 21:24:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:24:28 provisioning config files... 21:24:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config16030193011648235003tmp [Pipeline] { [Pipeline] echo 21:24:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:24:28 ---> create-netrc.sh [Pipeline] } 21:24:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:24:28 ---> python-tools-install.sh [Pipeline] echo 21:24:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:24:29 ---> sudo-logs.sh 21:24:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:24:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:24:29 ---> job-cost.sh 21:24:29 lf-activate-venv: SKIPPING 21:24:29 DEBUG: total: 0.2199999988079071 21:24:29 INFO: Retrieving Stack Cost... 21:24:29 INFO: Retrieving Pricing Info for: v3-standard-8 21:24:30 INFO: Archiving Costs [Pipeline] echo 21:24:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:24:30 ---> logs-deploy.sh 21:24:30 lf-activate-venv: SKIPPING 21:24:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/44 21:24:30 INFO: archiving workspace using pattern(s): 21:24:32 Archives upload complete. 21:24:32 INFO: archiving logs to Nexus