Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 60caeb9825f5d012501e30119000cf9f18d868f1 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-ssh3079820376238303677.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-ssh8139985729446656746.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-ssh8102649717888668695.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-ssh13530661165884525800.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-ssh8422017773919691074.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1436 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 60caeb9825f5d012501e30119000cf9f18d868f1 (main) Commit message: "build: Add option to build Service with NATS Capability (#191)" > 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 60caeb9825f5d012501e30119000cf9f18d868f1 # timeout=10 > git rev-list --no-walk 3908b4199cdebd231b53d3be0ce1311ed20ae7a2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:47:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:47:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:47:39 ========================================================= 21:47:39 EdgeX Global Pipelines Version Info 21:47:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:47:40 ------------------- 21:47:40 stable info: 21:47:40 ------------------- 21:47:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:47:40 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 21:47:40 Message: update stable to v1.0.239 21:47:40 ------------------- 21:47:40 experimental info: 21:47:40 ------------------- 21:47:40 Commited By: **** collab-it+edgex@linuxfoundation.org 21:47:40 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 21:47:40 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:47:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 21:47:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 21:47:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:47:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:47:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:47:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 21:47:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:47:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:47:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:47:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:47:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:47:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 21:47:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:47:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:47:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:47:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:47:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:47:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:47:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:47:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:47:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:47:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:47:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:47:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:47:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:47:41 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:47:41 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:47:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:47:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:47:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:47:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 60caeb9825f5d012501e30119000cf9f18d868f1 [Pipeline] echo 21:47:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 60caeb9 [Pipeline] echo 21:47:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:47:41 provisioning config files... 21:47:41 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config15369638740269122488tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:47:41 ---> docker-login.sh 21:47:41 nexus3.edgexfoundry.org:10001 21:47:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:41 Configure a credential helper to remove this warning. See 21:47:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:41 21:47:41 Login Succeeded 21:47:41 nexus3.edgexfoundry.org:10002 21:47:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:41 Configure a credential helper to remove this warning. See 21:47:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:41 21:47:41 Login Succeeded 21:47:41 nexus3.edgexfoundry.org:10003 21:47:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:42 Configure a credential helper to remove this warning. See 21:47:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:42 21:47:42 Login Succeeded 21:47:42 nexus3.edgexfoundry.org:10004 21:47:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:42 Configure a credential helper to remove this warning. See 21:47:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:42 21:47:42 Login Succeeded 21:47:42 docker.io 21:47:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:42 Configure a credential helper to remove this warning. See 21:47:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:42 21:47:42 Login Succeeded 21:47:42 ---> docker-login.sh ends [Pipeline] } 21:47:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:47:43 + git rev-list -1 --merges 60caeb9825f5d012501e30119000cf9f18d868f1~1..60caeb9825f5d012501e30119000cf9f18d868f1 [Pipeline] echo 21:47:43 -----------> git rev-list -1 --merges 60caeb9825f5d012501e30119000cf9f18d868f1~1..60caeb9825f5d012501e30119000cf9f18d868f1 60caeb9825f5d012501e30119000cf9f18d868f1 [false] [Pipeline] sh 21:47:43 + git log --format=format:%s -1 60caeb9825f5d012501e30119000cf9f18d868f1 [Pipeline] echo 21:47:43 ========================================================= 21:47:43 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:47:43 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:47:43 + git log --format=format:%s -1 60caeb9825f5d012501e30119000cf9f18d868f1 [Pipeline] echo 21:47:43 [semverPrep] GIT_COMMIT: 60caeb9825f5d012501e30119000cf9f18d868f1, Commit Message: build: Add option to build Service with NATS Capability (#191) [Pipeline] echo 21:47:43 [semverPrep] This is not a build commit. [Pipeline] sh 21:47:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:47:44 + grep -v github /etc/ssh/ssh_known_hosts 21:47:44 + [ -e /tmp/ssh_known_hosts ] 21:47:44 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:47:44 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:47:44 + sudo tee -a /etc/ssh/ssh_known_hosts 21:47:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:47:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:47:44 21:47:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:47:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:47:44 0.1.4: Pulling from edgex-devops/py-git-semver 21:47:44 b85a868b505f: Pulling fs layer 21:47:44 e2be974225ed: Pulling fs layer 21:47:44 339a4e72a1f5: Pulling fs layer 21:47:44 988bab9f4d93: Pulling fs layer 21:47:44 1469e6f7b9e6: Pulling fs layer 21:47:44 eaf3925da568: Pulling fs layer 21:47:44 bab4dde63d76: Pulling fs layer 21:47:44 bde34c3a00c8: Pulling fs layer 21:47:44 b352a97aabf1: Pulling fs layer 21:47:44 4872d77fe225: Pulling fs layer 21:47:44 5851b861e8e6: Pulling fs layer 21:47:44 988bab9f4d93: Waiting 21:47:44 1469e6f7b9e6: Waiting 21:47:44 eaf3925da568: Waiting 21:47:44 b352a97aabf1: Waiting 21:47:44 4872d77fe225: Waiting 21:47:44 bab4dde63d76: Waiting 21:47:44 bde34c3a00c8: Waiting 21:47:44 5851b861e8e6: Waiting 21:47:44 e2be974225ed: Verifying Checksum 21:47:44 e2be974225ed: Download complete 21:47:44 988bab9f4d93: Download complete 21:47:45 1469e6f7b9e6: Verifying Checksum 21:47:45 1469e6f7b9e6: Download complete 21:47:45 eaf3925da568: Verifying Checksum 21:47:45 eaf3925da568: Download complete 21:47:45 339a4e72a1f5: Verifying Checksum 21:47:45 339a4e72a1f5: Download complete 21:47:45 bde34c3a00c8: Verifying Checksum 21:47:45 bde34c3a00c8: Download complete 21:47:45 b352a97aabf1: Verifying Checksum 21:47:45 b352a97aabf1: Download complete 21:47:45 4872d77fe225: Verifying Checksum 21:47:45 4872d77fe225: Download complete 21:47:45 5851b861e8e6: Verifying Checksum 21:47:45 5851b861e8e6: Download complete 21:47:45 b85a868b505f: Verifying Checksum 21:47:45 b85a868b505f: Download complete 21:47:45 bab4dde63d76: Verifying Checksum 21:47:45 bab4dde63d76: Download complete 21:47:46 b85a868b505f: Pull complete 21:47:46 e2be974225ed: Pull complete 21:47:46 339a4e72a1f5: Pull complete 21:47:46 988bab9f4d93: Pull complete 21:47:47 1469e6f7b9e6: Pull complete 21:47:47 eaf3925da568: Pull complete 21:47:49 bab4dde63d76: Pull complete 21:47:49 bde34c3a00c8: Pull complete 21:47:49 b352a97aabf1: Pull complete 21:47:49 4872d77fe225: Pull complete 21:47:49 5851b861e8e6: Pull complete 21:47:49 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:47:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:47:49 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:47:49 prd-ubuntu20.04-docker-8c-8g-1436 does not seem to be running inside a container 21:47:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:47:51 $ docker top 28991d9d24b59f0deda008c1a61461c7cfb54a6f7b96019d10a72f350ce2160d -eo pid,comm 21:47: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:47:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:47:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:47:51 [ssh-agent] Looking for ssh-agent implementation... 21:47:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:47:51 $ docker exec 28991d9d24b59f0deda008c1a61461c7cfb54a6f7b96019d10a72f350ce2160d ssh-agent 21:47:51 SSH_AUTH_SOCK=/tmp/ssh-C8Z3kaayiK7P/agent.32 21:47:51 SSH_AGENT_PID=38 21:47:51 Running ssh-add (command line suppressed) 21:47:51 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7160963789393449688.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7160963789393449688.key) 21:47:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:47:52 + git tag --points-at HEAD [Pipeline] } 21:47:52 $ docker exec --env ******** --env ******** 28991d9d24b59f0deda008c1a61461c7cfb54a6f7b96019d10a72f350ce2160d ssh-agent -k 21:47:52 unset SSH_AUTH_SOCK; 21:47:52 unset SSH_AGENT_PID; 21:47:52 echo Agent pid 38 killed; 21:47:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:47:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:47:52 [ssh-agent] Looking for ssh-agent implementation... 21:47:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:47:52 $ docker exec 28991d9d24b59f0deda008c1a61461c7cfb54a6f7b96019d10a72f350ce2160d ssh-agent 21:47:52 SSH_AUTH_SOCK=/tmp/ssh-kScBM7Us7HhJ/agent.70 21:47:52 SSH_AGENT_PID=76 21:47:52 Running ssh-add (command line suppressed) 21:47:52 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_12236292190692804596.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_12236292190692804596.key) 21:47:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:47:53 + git semver init 21:47:53 2022-09-27 21:47:53,255 [run_init] DEBUG init version:0.0.0 force:False 21:47:53 2022-09-27 21:47:53,255 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver 21:47:53 2022-09-27 21:47:53,256 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver 21:47:53 2022-09-27 21:47:53,256 [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:47:54 2022-09-27 21:47:54,132 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude 21:47:54 2022-09-27 21:47:54,132 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False 21:47:54 2022-09-27 21:47:54,132 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 21:47:54 2022-09-27 21:47:54,132 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 21:47:54 2.3.0-dev.14 [Pipeline] } 21:47:54 $ docker exec --env ******** --env ******** 28991d9d24b59f0deda008c1a61461c7cfb54a6f7b96019d10a72f350ce2160d ssh-agent -k 21:47:54 unset SSH_AUTH_SOCK; 21:47:54 unset SSH_AGENT_PID; 21:47:54 echo Agent pid 76 killed; 21:47:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:47:54 + git semver [Pipeline] } 21:47:54 $ docker stop --time=1 28991d9d24b59f0deda008c1a61461c7cfb54a6f7b96019d10a72f350ce2160d 21:47:56 $ docker rm -f 28991d9d24b59f0deda008c1a61461c7cfb54a6f7b96019d10a72f350ce2160d [Pipeline] // withDockerContainer [Pipeline] sh 21:47:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:47:56 Stashed 1 file(s) [Pipeline] echo 21:47:56 [edgeXSemver]: initialized semver on version 2.3.0-dev.14 [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:47:56 provisioning config files... 21:47:56 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config16584556489250144451tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:47:57 ---> docker-login.sh 21:47:57 nexus3.edgexfoundry.org:10001 21:47:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:57 Configure a credential helper to remove this warning. See 21:47:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:57 21:47:57 Login Succeeded 21:47:57 nexus3.edgexfoundry.org:10002 21:47:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:57 Configure a credential helper to remove this warning. See 21:47:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:57 21:47:57 Login Succeeded 21:47:57 nexus3.edgexfoundry.org:10003 21:47:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:57 Configure a credential helper to remove this warning. See 21:47:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:57 21:47:57 Login Succeeded 21:47:57 nexus3.edgexfoundry.org:10004 21:47:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:57 Configure a credential helper to remove this warning. See 21:47:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:57 21:47:57 Login Succeeded 21:47:57 docker.io 21:47:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:58 Configure a credential helper to remove this warning. See 21:47:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:58 21:47:58 Login Succeeded 21:47:58 ---> docker-login.sh ends [Pipeline] } 21:47:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:47:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:47:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:47:58 ========================================================= 21:47:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 21:47:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:47:58 + 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:47:58 Sending build context to Docker daemon 5.471MB 21:47:58 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 21:47:58 Step 2/13 : FROM ${BASE} AS builder 21:47:58 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 21:47:58 2408cc74d12b: Pulling fs layer 21:47:58 ea60b727a1ce: Pulling fs layer 21:47:58 30c4a7721957: Pulling fs layer 21:47:58 370296b7ddb6: Pulling fs layer 21:47:58 7c6cee850709: Pulling fs layer 21:47:58 39a5fcdaea64: Pulling fs layer 21:47:58 d94ebbe4e438: Pulling fs layer 21:47:58 bcfd1f05c69d: Pulling fs layer 21:47:58 59ccb84bbe0f: Pulling fs layer 21:47:58 7c6cee850709: Waiting 21:47:58 39a5fcdaea64: Waiting 21:47:58 59ccb84bbe0f: Waiting 21:47:58 d94ebbe4e438: Waiting 21:47:58 bcfd1f05c69d: Waiting 21:47:58 30c4a7721957: Verifying Checksum 21:47:58 30c4a7721957: Download complete 21:47:58 ea60b727a1ce: Verifying Checksum 21:47:58 ea60b727a1ce: Download complete 21:47:58 7c6cee850709: Download complete 21:47:58 39a5fcdaea64: Verifying Checksum 21:47:58 39a5fcdaea64: Download complete 21:47:58 2408cc74d12b: Verifying Checksum 21:47:58 2408cc74d12b: Download complete 21:47:58 d94ebbe4e438: Download complete 21:47:58 2408cc74d12b: Pull complete 21:47:58 ea60b727a1ce: Pull complete 21:47:58 30c4a7721957: Pull complete 21:47:59 59ccb84bbe0f: Verifying Checksum 21:47:59 370296b7ddb6: Verifying Checksum 21:47:59 370296b7ddb6: Download complete 21:47:59 bcfd1f05c69d: Verifying Checksum 21:47:59 bcfd1f05c69d: Download complete 21:48:03 370296b7ddb6: Pull complete 21:48:03 7c6cee850709: Pull complete 21:48:03 39a5fcdaea64: Pull complete 21:48:03 d94ebbe4e438: Pull complete 21:48:05 bcfd1f05c69d: Pull complete 21:48:06 59ccb84bbe0f: Pull complete 21:48:06 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 21:48:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:48:06 ---> a4fb48ad2a94 21:48:06 Step 3/13 : ARG ADD_BUILD_TAGS="" 21:48:08 ---> Running in 8a5aa67e3de6 21:48:08 Removing intermediate container 8a5aa67e3de6 21:48:08 ---> 69873e9a0c39 21:48:08 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:48:08 ---> Running in 0f74211f274a 21:48:08 Removing intermediate container 0f74211f274a 21:48:08 ---> 2ab0a5cb8306 21:48:08 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:48:08 ---> Running in 655198484fb9 21:48:09 Removing intermediate container 655198484fb9 21:48:09 ---> 47bd978717e8 21:48:09 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 21:48:09 ---> Running in ac6e45f5d9e1 21:48:09 Removing intermediate container ac6e45f5d9e1 21:48:09 ---> 9459866a511d 21:48:09 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:48:09 ---> Running in 6978ea854f6d 21:48:09 Removing intermediate container 6978ea854f6d 21:48:09 ---> 1ba37cbb3879 21:48:09 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:48:09 ---> Running in 409bae3a68be 21:48:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:48:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:48:11 (1/4) Installing openssh-keygen (9.0_p1-r2) 21:48:11 (2/4) Installing libedit (20210910.3.1-r0) 21:48:11 (3/4) Installing openssh-client-common (9.0_p1-r2) 21:48:11 (4/4) Installing openssh-client-default (9.0_p1-r2) 21:48:11 Executing busybox-1.35.0-r13.trigger 21:48:11 OK: 216 MiB in 55 packages 21:48:11 Still waiting to schedule task 21:48:11 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:48:12 Removing intermediate container 409bae3a68be 21:48:12 ---> c9a556303f0e 21:48:12 Step 9/13 : WORKDIR /device-snmp-go 21:48:12 ---> Running in 146eb204cb94 21:48:12 Removing intermediate container 146eb204cb94 21:48:12 ---> 0a488125fcc4 21:48:12 Step 10/13 : COPY go.mod vendor* ./ 21:48:12 ---> 05f1bf97d0ed 21:48:12 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:48:12 ---> Running in d0e633233d8d 21:48:30 Removing intermediate container d0e633233d8d 21:48:30 ---> 5f9b53171bb4 21:48:30 Step 12/13 : COPY . . 21:48:30 ---> 5c80bfa13190 21:48:30 Step 13/13 : RUN ${MAKE} 21:48:30 ---> Running in 67a19a81422a 21:48:30 noop 21:48:30 Removing intermediate container 67a19a81422a 21:48:30 ---> e59172a9ded2 21:48:30 Successfully built e59172a9ded2 21:48:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:48:30 + docker inspect -f . ci-base-image-x86_64 21:48:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:48:30 prd-ubuntu20.04-docker-8c-8g-1436 does not seem to be running inside a container 21:48:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:48:31 $ docker top 6e9462e2a52666987296a9a0a7c940b32d92910e6652ad49bd7feb8c0b3b1bcc -eo pid,comm [Pipeline] { [Pipeline] sh 21:48:31 + go version 21:48:31 go version go1.18.3 linux/amd64 [Pipeline] } 21:48:31 $ docker stop --time=1 6e9462e2a52666987296a9a0a7c940b32d92910e6652ad49bd7feb8c0b3b1bcc 21:48:32 $ docker rm -f 6e9462e2a52666987296a9a0a7c940b32d92910e6652ad49bd7feb8c0b3b1bcc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:48:33 + docker inspect -f . ci-base-image-x86_64 21:48:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:48:33 prd-ubuntu20.04-docker-8c-8g-1436 does not seem to be running inside a container 21:48:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:48:33 $ docker top 1dd20a8c3e41bbb69c045f40c42d07b8b445862e8259eb4a35630dfbcd6ba5cf -eo pid,comm [Pipeline] { [Pipeline] sh 21:48:33 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh 21:48:34 + make test 21:48:34 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 21:48:34 ? github.com/edgexfoundry/device-snmp-go [no test files] 21:48:44 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 21:48:44 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.012s coverage: 0.0% of statements 21:48:49 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:48:49 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:48:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:48:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:48:53 ./bin/test-attribution-txt.sh [Pipeline] echo 21:48:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:48:53 $ docker stop --time=1 1dd20a8c3e41bbb69c045f40c42d07b8b445862e8259eb4a35630dfbcd6ba5cf 21:48:55 $ docker rm -f 1dd20a8c3e41bbb69c045f40c42d07b8b445862e8259eb4a35630dfbcd6ba5cf [Pipeline] // withDockerContainer [Pipeline] sh 21:48:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:48:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:48:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:48:56 + ls -al . 21:48:56 total 172 21:48:56 drwxrwxr-x 9 jenkins jenkins 4096 Sep 27 21:48 . 21:48:56 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:47 .. 21:48:56 -rw-rw-r-- 1 jenkins jenkins 6 Sep 27 21:47 .dockerignore 21:48:56 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 21:48 .git 21:48:56 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:47 .github 21:48:56 -rw-rw-r-- 1 jenkins jenkins 328 Sep 27 21:47 .gitignore 21:48:56 -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 21:47 .golangci.yml 21:48:56 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 21:47 .semver 21:48:56 -rw-rw-r-- 1 jenkins jenkins 8932 Sep 27 21:47 Attribution.txt 21:48:56 -rw-rw-r-- 1 jenkins jenkins 6948 Sep 27 21:47 CHANGELOG.md 21:48:56 -rw-rw-r-- 1 jenkins jenkins 1575 Sep 27 21:47 Dockerfile 21:48:56 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 21:47 GOVERNANCE.md 21:48:56 -rw-rw-r-- 1 jenkins jenkins 656 Sep 27 21:47 Jenkinsfile 21:48:56 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 21:47 LICENSE 21:48:56 -rw-rw-r-- 1 jenkins jenkins 2543 Sep 27 21:47 Makefile 21:48:56 -rw-rw-r-- 1 jenkins jenkins 620 Sep 27 21:47 OWNERS.md 21:48:56 -rw-rw-r-- 1 jenkins jenkins 10054 Sep 27 21:47 README.md 21:48:56 -rw-rw-r-- 1 jenkins jenkins 12 Sep 27 21:47 VERSION 21:48:56 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 21:47 bin 21:48:56 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:47 cmd 21:48:56 -rw-r--r-- 1 jenkins jenkins 7631 Sep 27 21:48 coverage.out 21:48:56 -rw-rw-r-- 1 jenkins jenkins 3473 Sep 27 21:47 go.mod 21:48:56 -rw-rw-r-- 1 jenkins jenkins 38137 Sep 27 21:47 go.sum 21:48:56 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:47 internal 21:48:56 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:47 snap 21:48:56 -rw-rw-r-- 1 jenkins jenkins 228 Sep 27 21:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:48:56 + 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=60caeb9825f5d012501e30119000cf9f18d868f1 --label arch=amd64 --label version=2.3.0-dev.14 . 21:48:56 Sending build context to Docker daemon 5.479MB 21:48:56 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 21:48:56 Step 2/25 : FROM ${BASE} AS builder 21:48:56 ---> e59172a9ded2 21:48:56 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:48:56 ---> Running in 9a2dec519b28 21:48:56 Removing intermediate container 9a2dec519b28 21:48:56 ---> a20eac18670f 21:48:56 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:48:56 ---> Running in 7364480ee778 21:48:56 Removing intermediate container 7364480ee778 21:48:56 ---> 243d4b723985 21:48:56 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:48:56 ---> Running in 315d98e2369e 21:48:57 Removing intermediate container 315d98e2369e 21:48:57 ---> 44b4a2dcf941 21:48:57 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:48:57 ---> Running in f7302b5f913f 21:48:57 Removing intermediate container f7302b5f913f 21:48:57 ---> e0a26d5bdb1b 21:48:57 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:48:57 ---> Running in 58c9f9eaee24 21:48:57 Removing intermediate container 58c9f9eaee24 21:48:57 ---> df250a1918d8 21:48:57 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:48:57 ---> Running in eae85b8c8cca 21:48:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:48:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:48:59 OK: 216 MiB in 55 packages 21:48:59 Removing intermediate container eae85b8c8cca 21:48:59 ---> 9c0c7dc9615e 21:48:59 Step 9/25 : WORKDIR /device-snmp-go 21:48:59 ---> Running in 4729a1aa7cb3 21:48:59 Removing intermediate container 4729a1aa7cb3 21:48:59 ---> 6bb4831df28a 21:48:59 Step 10/25 : COPY go.mod vendor* ./ 21:48:59 ---> 05967f7c2c81 21:48:59 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:48:59 ---> Running in 87e866a01249 21:49:00 Removing intermediate container 87e866a01249 21:49:00 ---> cbf283cdb564 21:49:00 Step 12/25 : COPY . . 21:49:00 ---> a4be596ec7a6 21:49:00 Step 13/25 : RUN ${MAKE} 21:49:00 ---> Running in 7ee5b6408de2 21:49:00 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -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.14" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 21:49:22 Removing intermediate container 7ee5b6408de2 21:49:22 ---> c7df7d553d8d 21:49:22 Step 14/25 : FROM alpine:3.16 21:49:22 3.16: Pulling from library/alpine 21:49:22 213ec9aee27d: Pulling fs layer 21:49:22 213ec9aee27d: Verifying Checksum 21:49:22 213ec9aee27d: Download complete 21:49:22 213ec9aee27d: Pull complete 21:49:22 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 21:49:22 Status: Downloaded newer image for alpine:3.16 21:49:22 ---> 9c6f07244728 21:49:22 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 21:49:22 ---> Running in 4357b665d46b 21:49:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:49:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:49:22 (1/6) Installing dumb-init (1.2.5-r1) 21:49:22 (2/6) Installing libgcc (11.2.1_git20220219-r2) 21:49:22 (3/6) Installing libsodium (1.0.18-r0) 21:49:22 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 21:49:22 (5/6) Installing libzmq (4.3.4-r0) 21:49:22 (6/6) Installing zeromq (4.3.4-r0) 21:49:22 Executing busybox-1.35.0-r17.trigger 21:49:22 OK: 8 MiB in 20 packages 21:49:22 Removing intermediate container 4357b665d46b 21:49:22 ---> 5702e7ed7b01 21:49:22 Step 16/25 : COPY --from=builder /device-snmp-go/cmd / 21:49:23 ---> a466a8f7dad5 21:49:23 Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / 21:49:23 ---> 852300d95f31 21:49:23 Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / 21:49:23 ---> 93f1c0740e13 21:49:23 Step 19/25 : EXPOSE 59993 21:49:23 ---> Running in 8e50e5a0c603 21:49:23 Removing intermediate container 8e50e5a0c603 21:49:23 ---> a278aa2a9c74 21:49:23 Step 20/25 : EXPOSE 161 21:49:23 ---> Running in 0faa0594cd37 21:49:23 Removing intermediate container 0faa0594cd37 21:49:23 ---> 554f3310963e 21:49:23 Step 21/25 : ENTRYPOINT ["/device-snmp"] 21:49:23 ---> Running in 884a535444d3 21:49:23 Removing intermediate container 884a535444d3 21:49:23 ---> ea45520d2bd1 21:49:23 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 21:49:23 ---> Running in f1f01c8a82ab 21:49:23 Removing intermediate container f1f01c8a82ab 21:49:23 ---> 47c2e0c338cc 21:49:23 Step 23/25 : LABEL arch=amd64 21:49:23 ---> Running in a0879958330d 21:49:23 Removing intermediate container a0879958330d 21:49:23 ---> 72575a52281a 21:49:23 Step 24/25 : LABEL git_sha=60caeb9825f5d012501e30119000cf9f18d868f1 21:49:23 ---> Running in e898faa242da 21:49:23 Removing intermediate container e898faa242da 21:49:23 ---> 430b8ebbfebf 21:49:23 Step 25/25 : LABEL version=2.3.0-dev.14 21:49:23 ---> Running in f9231b220a6f 21:49:23 Removing intermediate container f9231b220a6f 21:49:23 ---> 41f65c038934 21:49:23 [Warning] One or more build-args [ARCH] were not consumed 21:49:23 Successfully built 41f65c038934 21:49:23 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:49:23 provisioning config files... 21:49:24 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5379055189603365721tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:49:24 ---> docker-login.sh 21:49:24 nexus3.edgexfoundry.org:10001 21:49:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:24 Configure a credential helper to remove this warning. See 21:49:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:24 21:49:24 Login Succeeded 21:49:24 nexus3.edgexfoundry.org:10002 21:49:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:24 Configure a credential helper to remove this warning. See 21:49:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:24 21:49:24 Login Succeeded 21:49:24 nexus3.edgexfoundry.org:10003 21:49:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:24 Configure a credential helper to remove this warning. See 21:49:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:24 21:49:24 Login Succeeded 21:49:24 nexus3.edgexfoundry.org:10004 21:49:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:24 Configure a credential helper to remove this warning. See 21:49:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:24 21:49:24 Login Succeeded 21:49:24 docker.io 21:49:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:25 Configure a credential helper to remove this warning. See 21:49:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:25 21:49:25 Login Succeeded 21:49:25 ---> docker-login.sh ends [Pipeline] } 21:49:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:49:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:49:25 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 21:49:25 60caeb9825f5d012501e30119000cf9f18d868f1 21:49:25 latest 21:49:25 2.3.0-dev.14 21:49:25 60caeb9825f5d012501e30119000cf9f18d868f1-2.3.0-dev.14 21:49:25 main 21:49:25 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:25 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:60caeb9825f5d012501e30119000cf9f18d868f1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:25 + docker push nexus3.edgexfoundry.org:10004/device-snmp:60caeb9825f5d012501e30119000cf9f18d868f1 21:49:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 21:49:25 0607dd800eb6: Preparing 21:49:25 fc5eb1189926: Preparing 21:49:25 1bd5eeb25f7d: Preparing 21:49:25 7d644614f38c: Preparing 21:49:25 994393dc58e7: Preparing 21:49:25 994393dc58e7: Layer already exists 21:49:25 0607dd800eb6: Pushed 21:49:25 fc5eb1189926: Pushed 21:49:25 7d644614f38c: Pushed 21:49:28 1bd5eeb25f7d: Pushed 21:49:28 60caeb9825f5d012501e30119000cf9f18d868f1: digest: sha256:5ab2538c2c2eb828747660ecd446c1f9f171f3af34f3c5169d949a2add171d8c size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:28 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:29 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 21:49:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 21:49:29 0607dd800eb6: Preparing 21:49:29 fc5eb1189926: Preparing 21:49:29 1bd5eeb25f7d: Preparing 21:49:29 7d644614f38c: Preparing 21:49:29 994393dc58e7: Preparing 21:49:29 7d644614f38c: Layer already exists 21:49:29 fc5eb1189926: Layer already exists 21:49:29 994393dc58e7: Layer already exists 21:49:29 1bd5eeb25f7d: Layer already exists 21:49:29 0607dd800eb6: Layer already exists 21:49:29 latest: digest: sha256:5ab2538c2c2eb828747660ecd446c1f9f171f3af34f3c5169d949a2add171d8c size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:29 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:29 + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.14 21:49:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 21:49:29 0607dd800eb6: Preparing 21:49:29 fc5eb1189926: Preparing 21:49:29 1bd5eeb25f7d: Preparing 21:49:29 7d644614f38c: Preparing 21:49:29 994393dc58e7: Preparing 21:49:29 fc5eb1189926: Layer already exists 21:49:29 994393dc58e7: Layer already exists 21:49:29 7d644614f38c: Layer already exists 21:49:29 1bd5eeb25f7d: Layer already exists 21:49:29 0607dd800eb6: Layer already exists 21:49:29 2.3.0-dev.14: digest: sha256:5ab2538c2c2eb828747660ecd446c1f9f171f3af34f3c5169d949a2add171d8c size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:30 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:60caeb9825f5d012501e30119000cf9f18d868f1-2.3.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:30 + docker push nexus3.edgexfoundry.org:10004/device-snmp:60caeb9825f5d012501e30119000cf9f18d868f1-2.3.0-dev.14 21:49:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 21:49:30 0607dd800eb6: Preparing 21:49:30 fc5eb1189926: Preparing 21:49:30 1bd5eeb25f7d: Preparing 21:49:30 7d644614f38c: Preparing 21:49:30 994393dc58e7: Preparing 21:49:30 fc5eb1189926: Layer already exists 21:49:30 994393dc58e7: Layer already exists 21:49:30 0607dd800eb6: Layer already exists 21:49:30 1bd5eeb25f7d: Layer already exists 21:49:30 7d644614f38c: Layer already exists 21:49:30 60caeb9825f5d012501e30119000cf9f18d868f1-2.3.0-dev.14: digest: sha256:5ab2538c2c2eb828747660ecd446c1f9f171f3af34f3c5169d949a2add171d8c size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:30 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:30 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 21:49:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 21:49:30 0607dd800eb6: Preparing 21:49:30 fc5eb1189926: Preparing 21:49:30 1bd5eeb25f7d: Preparing 21:49:30 7d644614f38c: Preparing 21:49:30 994393dc58e7: Preparing 21:49:30 0607dd800eb6: Layer already exists 21:49:30 994393dc58e7: Layer already exists 21:49:30 fc5eb1189926: Layer already exists 21:49:30 1bd5eeb25f7d: Layer already exists 21:49:30 7d644614f38c: Layer already exists 21:49:30 main: digest: sha256:5ab2538c2c2eb828747660ecd446c1f9f171f3af34f3c5169d949a2add171d8c size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:49:31 ===================================================== [Pipeline] echo 21:49:31 taggedImages: 21:49:31 - nexus3.edgexfoundry.org:10004/device-snmp:60caeb9825f5d012501e30119000cf9f18d868f1 21:49:31 - nexus3.edgexfoundry.org:10004/device-snmp:latest 21:49:31 - nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.14 21:49:31 - nexus3.edgexfoundry.org:10004/device-snmp:60caeb9825f5d012501e30119000cf9f18d868f1-2.3.0-dev.14 21:49:31 - 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:49:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:49:31 21:49:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:49:31 latest: Pulling from edgex-lftools-log-publisher 21:49:31 5eb5b503b376: Pulling fs layer 21:49:31 5c69ac0246d0: Pulling fs layer 21:49:31 ec43610c2a17: Pulling fs layer 21:49:31 3a2ae6a8a46f: Pulling fs layer 21:49:31 33b1e0a273af: Pulling fs layer 21:49:31 5d3b04190fa2: Pulling fs layer 21:49:31 2f39f015ded8: Pulling fs layer 21:49:31 33b1e0a273af: Waiting 21:49:31 5d3b04190fa2: Waiting 21:49:31 2f39f015ded8: Waiting 21:49:31 3a2ae6a8a46f: Waiting 21:49:31 5c69ac0246d0: Verifying Checksum 21:49:31 5c69ac0246d0: Download complete 21:49:31 3a2ae6a8a46f: Download complete 21:49:31 33b1e0a273af: Verifying Checksum 21:49:31 33b1e0a273af: Download complete 21:49:31 5d3b04190fa2: Verifying Checksum 21:49:31 5d3b04190fa2: Download complete 21:49:31 ec43610c2a17: Verifying Checksum 21:49:31 ec43610c2a17: Download complete 21:49:31 5eb5b503b376: Verifying Checksum 21:49:31 5eb5b503b376: Download complete 21:49:32 2f39f015ded8: Download complete 21:49:33 5eb5b503b376: Pull complete 21:49:33 5c69ac0246d0: Pull complete 21:49:33 ec43610c2a17: Pull complete 21:49:33 3a2ae6a8a46f: Pull complete 21:49:34 33b1e0a273af: Pull complete 21:49:34 5d3b04190fa2: Pull complete 21:49:38 2f39f015ded8: Pull complete 21:49:38 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:49:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:49:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:49:38 prd-ubuntu20.04-docker-8c-8g-1436 does not seem to be running inside a container 21:49:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:49:40 $ docker top 8cf5b473b81b255e6aead1029199dbfb51e468b32257dc088a47dc2bf9ff5c64 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:49:41 ---> job-cost.sh 21:49:41 lf-activate-venv: SKIPPING 21:49:41 INFO: No Stack... 21:49:41 INFO: Retrieving Pricing Info for: v3-standard-8 21:49:42 INFO: Archiving Costs [Pipeline] sh 21:49:42 + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv 21:49:42 + cut -d, -f6 [Pipeline] lock 21:49:42 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-45-stack-cost] 21:49:42 Resource [jenkins-edgexfoundry-device-snmp-go-main-45-stack-cost] did not exist. Created. 21:49:42 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-45-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:49:42 + echo total: 0.2199999988079071 [Pipeline] stash 21:49:42 Stashed 1 file(s) [Pipeline] } 21:49:42 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-45-stack-cost] [Pipeline] // lock [Pipeline] } 21:49:42 $ docker stop --time=1 8cf5b473b81b255e6aead1029199dbfb51e468b32257dc088a47dc2bf9ff5c64 21:49:43 $ docker rm -f 8cf5b473b81b255e6aead1029199dbfb51e468b32257dc088a47dc2bf9ff5c64 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:50:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1440 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 21:50:51 Running in /w/workspace/device-snmp-go/45 [Pipeline] { [Pipeline] checkout 21:50:51 Selected Git installation does not exist. Using Default 21:50:51 The recommended git tool is: NONE 21:50:57 using credential edgex-jenkins-ssh 21:50:57 Cloning the remote Git repository 21:50:57 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 21:50:57 > git init /w/workspace/device-snmp-go/45 # timeout=10 21:50:57 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 21:50:57 > git --version # timeout=10 21:50:57 > git --version # 'git version 2.25.1' 21:50:57 using GIT_SSH to set credentials SSH Credentials for GitHub 21:50:57 Verifying host key using known hosts file 21:50:57 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:50:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:51:00 Avoid second fetch 21:51:00 Checking out Revision 60caeb9825f5d012501e30119000cf9f18d868f1 (main) 21:50:59 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 21:50:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:51:00 > git config core.sparsecheckout # timeout=10 21:51:00 Commit message: "build: Add option to build Service with NATS Capability (#191)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:51:00 > git checkout -f 60caeb9825f5d012501e30119000cf9f18d868f1 # timeout=10 21:51:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:51:01 % Total % Received % Xferd Average Speed Time Time Time Current 21:51:01 Dload Upload Total Spent Left Speed 21:51:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 195k 0 --:--:-- --:--:-- --:--:-- 198k [Pipeline] sh 21:51:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:51:02 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:51:02 + sudo tee /etc/docker/daemon.new 21:51:02 { 21:51:02 "registry-mirrors": [ 21:51:02 "https://nexus3.edgexfoundry.org:10001" 21:51:02 ], 21:51:02 "bip": "10.250.0.254/24", 21:51:02 "hosts": [ 21:51:02 "tcp://0.0.0.0:5555", 21:51:02 "unix:///var/run/docker.sock" 21:51:02 ], 21:51:02 "mtu": 1458, 21:51:02 "selinux-enabled": true, 21:51:02 "seccomp-profile": "/etc/docker/seccomp.json" 21:51:02 } [Pipeline] sh 21:51:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:51:03 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:51:21 provisioning config files... 21:51:21 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/45@tmp/config4069172986777468978tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:51:22 ---> docker-login.sh 21:51:22 nexus3.edgexfoundry.org:10001 21:51:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:22 Configure a credential helper to remove this warning. See 21:51:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:22 21:51:22 Login Succeeded 21:51:22 nexus3.edgexfoundry.org:10002 21:51:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:23 Configure a credential helper to remove this warning. See 21:51:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:23 21:51:23 Login Succeeded 21:51:23 nexus3.edgexfoundry.org:10003 21:51:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:23 Configure a credential helper to remove this warning. See 21:51:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:23 21:51:23 Login Succeeded 21:51:23 nexus3.edgexfoundry.org:10004 21:51:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:24 Configure a credential helper to remove this warning. See 21:51:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:24 21:51:24 Login Succeeded 21:51:24 docker.io 21:51:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:24 Configure a credential helper to remove this warning. See 21:51:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:24 21:51:24 Login Succeeded 21:51:24 ---> docker-login.sh ends [Pipeline] } 21:51:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:51:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:51:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:51:24 ========================================================= 21:51:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 21:51:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:25 + 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:51:25 Sending build context to Docker daemon 2.822MB 21:51:25 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 21:51:25 Step 2/13 : FROM ${BASE} AS builder 21:51:25 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:51:25 b3c136eddcbf: Pulling fs layer 21:51:25 c0a3192eca97: Pulling fs layer 21:51:25 a050256f5b6f: Pulling fs layer 21:51:25 656be50a0ddc: Pulling fs layer 21:51:25 2bbca73fdf42: Pulling fs layer 21:51:25 46d945488cbd: Pulling fs layer 21:51:25 8a5474983e97: Pulling fs layer 21:51:25 329c88fbcd65: Pulling fs layer 21:51:25 46d945488cbd: Waiting 21:51:25 8a5474983e97: Waiting 21:51:25 656be50a0ddc: Waiting 21:51:25 329c88fbcd65: Waiting 21:51:25 2bbca73fdf42: Waiting 21:51:25 a050256f5b6f: Download complete 21:51:25 c0a3192eca97: Verifying Checksum 21:51:25 c0a3192eca97: Download complete 21:51:25 2bbca73fdf42: Verifying Checksum 21:51:25 2bbca73fdf42: Download complete 21:51:25 46d945488cbd: Verifying Checksum 21:51:25 46d945488cbd: Download complete 21:51:25 b3c136eddcbf: Verifying Checksum 21:51:25 b3c136eddcbf: Download complete 21:51:26 b3c136eddcbf: Pull complete 21:51:27 329c88fbcd65: Verifying Checksum 21:51:27 329c88fbcd65: Download complete 21:51:27 c0a3192eca97: Pull complete 21:51:27 a050256f5b6f: Pull complete 21:51:28 8a5474983e97: Verifying Checksum 21:51:28 8a5474983e97: Download complete 21:51:28 656be50a0ddc: Verifying Checksum 21:51:28 656be50a0ddc: Download complete 21:51:41 656be50a0ddc: Pull complete 21:51:41 2bbca73fdf42: Pull complete 21:51:41 46d945488cbd: Pull complete 21:51:47 8a5474983e97: Pull complete 21:51:49 329c88fbcd65: Pull complete 21:51:49 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 21:51:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:51:49 ---> ff4287adb874 21:51:49 Step 3/13 : ARG ADD_BUILD_TAGS="" 21:51:51 ---> Running in 355740baaa2b 21:51:51 Removing intermediate container 355740baaa2b 21:51:51 ---> e38614512290 21:51:51 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:51:51 ---> Running in 90aba1bf93e5 21:51:52 Removing intermediate container 90aba1bf93e5 21:51:52 ---> ca4f5824a575 21:51:52 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:51:52 ---> Running in e91a32bcdb76 21:51:52 Removing intermediate container e91a32bcdb76 21:51:52 ---> 6f43391b1427 21:51:52 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 21:51:52 ---> Running in 82e69c1961a4 21:51:53 Removing intermediate container 82e69c1961a4 21:51:53 ---> 198670a87aab 21:51:53 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:51:53 ---> Running in 9250bc3cfc16 21:51:55 Removing intermediate container 9250bc3cfc16 21:51:55 ---> 5a33f3cafb4e 21:51:55 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:51:55 ---> Running in 50d762ea188a 21:51:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:51:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:51:58 (1/4) Installing openssh-keygen (9.0_p1-r2) 21:51:58 (2/4) Installing libedit (20210910.3.1-r0) 21:51:58 (3/4) Installing openssh-client-common (9.0_p1-r2) 21:51:58 (4/4) Installing openssh-client-default (9.0_p1-r2) 21:51:58 Executing busybox-1.35.0-r13.trigger 21:51:58 OK: 226 MiB in 55 packages 21:51:59 Removing intermediate container 50d762ea188a 21:51:59 ---> c16477ef9602 21:51:59 Step 9/13 : WORKDIR /device-snmp-go 21:52:00 ---> Running in dea74ed76b38 21:52:00 Removing intermediate container dea74ed76b38 21:52:00 ---> e4ce95464df4 21:52:00 Step 10/13 : COPY go.mod vendor* ./ 21:52:00 ---> 5fcb90dc851e 21:52:00 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:52:00 ---> Running in 16bffef5fe5f 21:52:57 Removing intermediate container 16bffef5fe5f 21:52:57 ---> 5ee9d164e873 21:52:57 Step 12/13 : COPY . . 21:52:57 ---> 8f788e200806 21:52:57 Step 13/13 : RUN ${MAKE} 21:52:57 ---> Running in 4ef749b5d684 21:52:57 noop 21:52:57 Removing intermediate container 4ef749b5d684 21:52:57 ---> 1dd6579da403 21:52:57 Successfully built 1dd6579da403 21:52:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:52:57 + docker inspect -f . ci-base-image-arm64 21:52:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:52:58 prd-ubuntu20.04-docker-arm64-4c-16g-1440 does not seem to be running inside a container 21:52:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/45 -v /w/workspace/device-snmp-go/45:/w/workspace/device-snmp-go/45:rw,z -v /w/workspace/device-snmp-go/45@tmp:/w/workspace/device-snmp-go/45@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:52:59 $ docker top be9d79df5574ca55b0478f9d9263021885990d1d855705ec65cc78e26df295f3 -eo pid,comm [Pipeline] { [Pipeline] sh 21:53:00 + go version 21:53:00 go version go1.18.3 linux/arm64 [Pipeline] } 21:53:00 $ docker stop --time=1 be9d79df5574ca55b0478f9d9263021885990d1d855705ec65cc78e26df295f3 21:53:02 $ docker rm -f be9d79df5574ca55b0478f9d9263021885990d1d855705ec65cc78e26df295f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:02 + docker inspect -f . ci-base-image-arm64 21:53:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:53:02 prd-ubuntu20.04-docker-arm64-4c-16g-1440 does not seem to be running inside a container 21:53:02 $ 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/45 -v /w/workspace/device-snmp-go/45:/w/workspace/device-snmp-go/45:rw,z -v /w/workspace/device-snmp-go/45@tmp:/w/workspace/device-snmp-go/45@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:53:04 $ docker top 966a843c4111001e69d6786e84c238cb8ba23526b598af93a029df022494810e -eo pid,comm [Pipeline] { [Pipeline] sh 21:53:05 + git config --global --add safe.directory /w/workspace/device-snmp-go/45 [Pipeline] fileExists [Pipeline] sh 21:53:05 + make test 21:53:05 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 21:53:08 ? github.com/edgexfoundry/device-snmp-go [no test files] 21:54:44 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 21:54:44 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.049s coverage: 0.0% of statements 21:54:44 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:54:44 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:55:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:55:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:55:07 ./bin/test-attribution-txt.sh [Pipeline] echo 21:55:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:55:07 $ docker stop --time=1 966a843c4111001e69d6786e84c238cb8ba23526b598af93a029df022494810e 21:55:09 $ docker rm -f 966a843c4111001e69d6786e84c238cb8ba23526b598af93a029df022494810e [Pipeline] // withDockerContainer [Pipeline] sh 21:55:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:55:10 Warning: overwriting stash ‘coverage-report’ 21:55:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:55:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:55:11 + ls -al . 21:55:11 total 168 21:55:11 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 21:53 . 21:55:11 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:50 .. 21:55:11 -rw-rw-r-- 1 jenkins jenkins 6 Sep 27 21:51 .dockerignore 21:55:11 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 21:51 .git 21:55:11 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:51 .github 21:55:11 -rw-rw-r-- 1 jenkins jenkins 328 Sep 27 21:51 .gitignore 21:55:11 -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 21:51 .golangci.yml 21:55:11 -rw-rw-r-- 1 jenkins jenkins 8932 Sep 27 21:51 Attribution.txt 21:55:11 -rw-rw-r-- 1 jenkins jenkins 6948 Sep 27 21:51 CHANGELOG.md 21:55:11 -rw-rw-r-- 1 jenkins jenkins 1575 Sep 27 21:51 Dockerfile 21:55:11 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 21:51 GOVERNANCE.md 21:55:11 -rw-rw-r-- 1 jenkins jenkins 656 Sep 27 21:51 Jenkinsfile 21:55:11 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 21:51 LICENSE 21:55:11 -rw-rw-r-- 1 jenkins jenkins 2543 Sep 27 21:51 Makefile 21:55:11 -rw-rw-r-- 1 jenkins jenkins 620 Sep 27 21:51 OWNERS.md 21:55:11 -rw-rw-r-- 1 jenkins jenkins 10054 Sep 27 21:51 README.md 21:55:11 -rw-rw-r-- 1 jenkins jenkins 12 Sep 27 21:47 VERSION 21:55:11 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 21:51 bin 21:55:11 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:51 cmd 21:55:11 -rw-r--r-- 1 jenkins jenkins 7631 Sep 27 21:54 coverage.out 21:55:11 -rw-rw-r-- 1 jenkins jenkins 3473 Sep 27 21:51 go.mod 21:55:11 -rw-rw-r-- 1 jenkins jenkins 38137 Sep 27 21:51 go.sum 21:55:11 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:51 internal 21:55:11 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:51 snap 21:55:11 -rw-rw-r-- 1 jenkins jenkins 228 Sep 27 21:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:55:11 + 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=60caeb9825f5d012501e30119000cf9f18d868f1 --label arch=arm64 --label version=2.3.0-dev.14 . 21:55:12 Sending build context to Docker daemon 2.83MB 21:55:12 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 21:55:12 Step 2/25 : FROM ${BASE} AS builder 21:55:12 ---> 1dd6579da403 21:55:12 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:55:12 ---> Running in 2ed4fcf95e54 21:55:12 Removing intermediate container 2ed4fcf95e54 21:55:12 ---> 7a5025e4ae90 21:55:12 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:55:12 ---> Running in 83f9fd1c40a6 21:55:13 Removing intermediate container 83f9fd1c40a6 21:55:13 ---> 63dcba8fd783 21:55:13 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:55:13 ---> Running in 6a69c8750f72 21:55:13 Removing intermediate container 6a69c8750f72 21:55:13 ---> dd6deecc1c25 21:55:13 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:55:13 ---> Running in 7e534a1b463f 21:55:14 Removing intermediate container 7e534a1b463f 21:55:14 ---> ee778f22f899 21:55:14 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:55:14 ---> Running in c3051532eb43 21:55:16 Removing intermediate container c3051532eb43 21:55:16 ---> 3d326bf2b840 21:55:16 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:55:16 ---> Running in 181f5182c124 21:55:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:55:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:55:20 OK: 226 MiB in 55 packages 21:55:21 Removing intermediate container 181f5182c124 21:55:21 ---> 65204413e6bd 21:55:21 Step 9/25 : WORKDIR /device-snmp-go 21:55:21 ---> Running in dc707374c395 21:55:21 Removing intermediate container dc707374c395 21:55:21 ---> eac32bf57f2e 21:55:21 Step 10/25 : COPY go.mod vendor* ./ 21:55:22 ---> da89411f852a 21:55:22 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:55:22 ---> Running in 114f85171d86 21:55:24 Removing intermediate container 114f85171d86 21:55:24 ---> 00df9f10e010 21:55:24 Step 12/25 : COPY . . 21:55:26 ---> 1d43380940a9 21:55:26 Step 13/25 : RUN ${MAKE} 21:55:26 ---> Running in 658620f829d6 21:55:27 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -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.14" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 21:58:04 Removing intermediate container 658620f829d6 21:58:04 ---> d641af279943 21:58:04 Step 14/25 : FROM alpine:3.16 21:58:04 3.16: Pulling from library/alpine 21:58:04 9b18e9b68314: Pulling fs layer 21:58:04 9b18e9b68314: Verifying Checksum 21:58:05 9b18e9b68314: Pull complete 21:58:05 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 21:58:05 Status: Downloaded newer image for alpine:3.16 21:58:05 ---> a6215f271958 21:58:05 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 21:58:05 ---> Running in e4db6a3c1cd1 21:58:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:58:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:58:07 (1/6) Installing dumb-init (1.2.5-r1) 21:58:07 (2/6) Installing libgcc (11.2.1_git20220219-r2) 21:58:07 (3/6) Installing libsodium (1.0.18-r0) 21:58:07 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 21:58:07 (5/6) Installing libzmq (4.3.4-r0) 21:58:07 (6/6) Installing zeromq (4.3.4-r0) 21:58:07 Executing busybox-1.35.0-r17.trigger 21:58:07 OK: 8 MiB in 20 packages 21:58:08 Removing intermediate container e4db6a3c1cd1 21:58:08 ---> dfc9c15d1ccd 21:58:08 Step 16/25 : COPY --from=builder /device-snmp-go/cmd / 21:58:10 ---> 88eebedf306f 21:58:10 Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / 21:58:10 ---> 826d167be32f 21:58:10 Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / 21:58:11 ---> dff8e68ce445 21:58:11 Step 19/25 : EXPOSE 59993 21:58:11 ---> Running in 54f8fa25b436 21:58:11 Removing intermediate container 54f8fa25b436 21:58:11 ---> 6f06152c2527 21:58:11 Step 20/25 : EXPOSE 161 21:58:11 ---> Running in 103f6bf17471 21:58:11 Removing intermediate container 103f6bf17471 21:58:11 ---> bc2dbaf29925 21:58:11 Step 21/25 : ENTRYPOINT ["/device-snmp"] 21:58:11 ---> Running in 8d5ad05915ea 21:58:12 Removing intermediate container 8d5ad05915ea 21:58:12 ---> 68b010d6a61b 21:58:12 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 21:58:12 ---> Running in e2c33fa25029 21:58:12 Removing intermediate container e2c33fa25029 21:58:12 ---> e04200196cc0 21:58:12 Step 23/25 : LABEL arch=arm64 21:58:12 ---> Running in b0045cf50f6b 21:58:12 Removing intermediate container b0045cf50f6b 21:58:12 ---> d59cbb866b22 21:58:12 Step 24/25 : LABEL git_sha=60caeb9825f5d012501e30119000cf9f18d868f1 21:58:12 ---> Running in 3baf9cef1d43 21:58:13 Removing intermediate container 3baf9cef1d43 21:58:13 ---> ea7fe020c17c 21:58:13 Step 25/25 : LABEL version=2.3.0-dev.14 21:58:13 ---> Running in 8a9c577f7775 21:58:13 Removing intermediate container 8a9c577f7775 21:58:13 ---> 081b0a88c811 21:58:13 [Warning] One or more build-args [ARCH] were not consumed 21:58:13 Successfully built 081b0a88c811 21:58:13 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:58:13 provisioning config files... 21:58:13 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/45@tmp/config18274042584141921303tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:58:14 ---> docker-login.sh 21:58:14 nexus3.edgexfoundry.org:10001 21:58:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:58:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:58:14 Configure a credential helper to remove this warning. See 21:58:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:58:14 21:58:14 Login Succeeded 21:58:14 nexus3.edgexfoundry.org:10002 21:58:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:58:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:58:14 Configure a credential helper to remove this warning. See 21:58:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:58:14 21:58:14 Login Succeeded 21:58:14 nexus3.edgexfoundry.org:10003 21:58:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:58:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:58:15 Configure a credential helper to remove this warning. See 21:58:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:58:15 21:58:15 Login Succeeded 21:58:15 nexus3.edgexfoundry.org:10004 21:58:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:58:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:58:15 Configure a credential helper to remove this warning. See 21:58:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:58:15 21:58:15 Login Succeeded 21:58:15 docker.io 21:58:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:58:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:58:15 Configure a credential helper to remove this warning. See 21:58:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:58:15 21:58:15 Login Succeeded 21:58:15 ---> docker-login.sh ends [Pipeline] } 21:58:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:58:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:58:16 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 21:58:16 60caeb9825f5d012501e30119000cf9f18d868f1 21:58:16 latest 21:58:16 2.3.0-dev.14 21:58:16 60caeb9825f5d012501e30119000cf9f18d868f1-2.3.0-dev.14 21:58:16 main 21:58:16 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:58:16 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:60caeb9825f5d012501e30119000cf9f18d868f1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:58:16 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:60caeb9825f5d012501e30119000cf9f18d868f1 21:58:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 21:58:16 f7b02d8727d0: Preparing 21:58:16 3999d691d04d: Preparing 21:58:16 0148746ede1d: Preparing 21:58:16 bdaf8121d043: Preparing 21:58:16 5d3e392a13a0: Preparing 21:58:16 5d3e392a13a0: Layer already exists 21:58:16 3999d691d04d: Pushed 21:58:16 f7b02d8727d0: Pushed 21:58:17 bdaf8121d043: Pushed 21:58:22 0148746ede1d: Pushed 21:58:22 60caeb9825f5d012501e30119000cf9f18d868f1: digest: sha256:efff1e516e4e907792bfafafc1072206f7742df09ce16cce80ef9a8eb5140fd5 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:58:23 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:58:23 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 21:58:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 21:58:23 f7b02d8727d0: Preparing 21:58:23 3999d691d04d: Preparing 21:58:23 0148746ede1d: Preparing 21:58:23 bdaf8121d043: Preparing 21:58:23 5d3e392a13a0: Preparing 21:58:23 5d3e392a13a0: Layer already exists 21:58:23 0148746ede1d: Layer already exists 21:58:23 bdaf8121d043: Layer already exists 21:58:23 f7b02d8727d0: Layer already exists 21:58:23 3999d691d04d: Layer already exists 21:58:23 latest: digest: sha256:efff1e516e4e907792bfafafc1072206f7742df09ce16cce80ef9a8eb5140fd5 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:58:24 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:58:24 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.14 21:58:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 21:58:24 f7b02d8727d0: Preparing 21:58:24 3999d691d04d: Preparing 21:58:24 0148746ede1d: Preparing 21:58:24 bdaf8121d043: Preparing 21:58:24 5d3e392a13a0: Preparing 21:58:24 5d3e392a13a0: Layer already exists 21:58:24 3999d691d04d: Layer already exists 21:58:24 0148746ede1d: Layer already exists 21:58:24 f7b02d8727d0: Layer already exists 21:58:24 bdaf8121d043: Layer already exists 21:58:24 2.3.0-dev.14: digest: sha256:efff1e516e4e907792bfafafc1072206f7742df09ce16cce80ef9a8eb5140fd5 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:58:24 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:60caeb9825f5d012501e30119000cf9f18d868f1-2.3.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:58:25 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:60caeb9825f5d012501e30119000cf9f18d868f1-2.3.0-dev.14 21:58:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 21:58:25 f7b02d8727d0: Preparing 21:58:25 3999d691d04d: Preparing 21:58:25 0148746ede1d: Preparing 21:58:25 bdaf8121d043: Preparing 21:58:25 5d3e392a13a0: Preparing 21:58:25 5d3e392a13a0: Layer already exists 21:58:25 3999d691d04d: Layer already exists 21:58:25 0148746ede1d: Layer already exists 21:58:25 f7b02d8727d0: Layer already exists 21:58:25 bdaf8121d043: Layer already exists 21:58:25 60caeb9825f5d012501e30119000cf9f18d868f1-2.3.0-dev.14: digest: sha256:efff1e516e4e907792bfafafc1072206f7742df09ce16cce80ef9a8eb5140fd5 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:58:25 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:58:25 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 21:58:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 21:58:25 f7b02d8727d0: Preparing 21:58:25 3999d691d04d: Preparing 21:58:25 0148746ede1d: Preparing 21:58:25 bdaf8121d043: Preparing 21:58:25 5d3e392a13a0: Preparing 21:58:25 0148746ede1d: Layer already exists 21:58:25 5d3e392a13a0: Layer already exists 21:58:25 f7b02d8727d0: Layer already exists 21:58:25 3999d691d04d: Layer already exists 21:58:25 bdaf8121d043: Layer already exists 21:58:25 main: digest: sha256:efff1e516e4e907792bfafafc1072206f7742df09ce16cce80ef9a8eb5140fd5 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:58:25 ===================================================== [Pipeline] echo 21:58:25 taggedImages: 21:58:25 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:60caeb9825f5d012501e30119000cf9f18d868f1 21:58:25 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 21:58:25 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.14 21:58:25 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:60caeb9825f5d012501e30119000cf9f18d868f1-2.3.0-dev.14 21:58:25 - 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:58:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:58:26 21:58:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:58:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:58:26 arm64: Pulling from edgex-lftools-log-publisher 21:58:26 8998bd30e6a1: Pulling fs layer 21:58:26 04944245beec: Pulling fs layer 21:58:26 699f458cf7ca: Pulling fs layer 21:58:26 765212b225bb: Pulling fs layer 21:58:26 f23df028b6ca: Pulling fs layer 21:58:26 d65c8cfc05b1: Pulling fs layer 21:58:26 2437ff75d9bd: Pulling fs layer 21:58:26 f23df028b6ca: Waiting 21:58:26 d65c8cfc05b1: Waiting 21:58:26 2437ff75d9bd: Waiting 21:58:26 765212b225bb: Waiting 21:58:26 04944245beec: Verifying Checksum 21:58:26 04944245beec: Download complete 21:58:26 765212b225bb: Verifying Checksum 21:58:26 765212b225bb: Download complete 21:58:26 f23df028b6ca: Verifying Checksum 21:58:26 f23df028b6ca: Download complete 21:58:26 d65c8cfc05b1: Verifying Checksum 21:58:26 d65c8cfc05b1: Download complete 21:58:27 699f458cf7ca: Verifying Checksum 21:58:27 699f458cf7ca: Download complete 21:58:27 8998bd30e6a1: Verifying Checksum 21:58:27 8998bd30e6a1: Download complete 21:58:29 2437ff75d9bd: Verifying Checksum 21:58:29 2437ff75d9bd: Download complete 21:58:31 8998bd30e6a1: Pull complete 21:58:31 04944245beec: Pull complete 21:58:33 699f458cf7ca: Pull complete 21:58:33 765212b225bb: Pull complete 21:58:34 f23df028b6ca: Pull complete 21:58:34 d65c8cfc05b1: Pull complete 21:58:49 2437ff75d9bd: Pull complete 21:58:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:58:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:58:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:58:49 prd-ubuntu20.04-docker-arm64-4c-16g-1440 does not seem to be running inside a container 21:58:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/45 -v /w/workspace/device-snmp-go/45:/w/workspace/device-snmp-go/45:rw,z -v /w/workspace/device-snmp-go/45@tmp:/w/workspace/device-snmp-go/45@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:58:52 $ docker top c7b999aef8dfbcabfbba6c0c61c7c6f192235aef4e8a91dfd8d4f05dcb610e00 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:58:52 ---> job-cost.sh 21:58:53 lf-activate-venv: SKIPPING 21:58:53 INFO: No Stack... 21:58:53 INFO: Retrieving Pricing Info for: v3-standard-4 21:58:54 INFO: Archiving Costs [Pipeline] sh 21:58:55 + cat /w/workspace/device-snmp-go/45/archives/cost.csv 21:58:55 + cut -d, -f6 [Pipeline] lock 21:58:55 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-45-stack-cost] 21:58:55 Resource [jenkins-edgexfoundry-device-snmp-go-main-45-stack-cost] did not exist. Created. 21:58:55 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-45-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:58:55 /w/workspace/device-snmp-go/45@tmp/durable-52288ef2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:58:55 + echo total: 0.10999999940395355 [Pipeline] stash 21:58:55 Warning: overwriting stash ‘stack-cost’ 21:58:55 Stashed 1 file(s) [Pipeline] } 21:58:55 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-45-stack-cost] [Pipeline] // lock [Pipeline] } 21:58:55 $ docker stop --time=1 c7b999aef8dfbcabfbba6c0c61c7c6f192235aef4e8a91dfd8d4f05dcb610e00 21:58:57 $ docker rm -f c7b999aef8dfbcabfbba6c0c61c7c6f192235aef4e8a91dfd8d4f05dcb610e00 [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:58:57 provisioning config files... 21:58:57 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7520933142650268679tmp [Pipeline] { [Pipeline] sh 21:58:58 + set +x 21:58:58 + + curl -s https://codecov.io/bash 21:58:58 bash -s -- 21:58:58 21:58:58 _____ _ 21:58:58 / ____| | | 21:58:58 | | ___ __| | ___ ___ _____ __ 21:58:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:58:58 | |___| (_) | (_| | __/ (_| (_) \ V / 21:58:58 \_____\___/ \__,_|\___|\___\___/ \_/ 21:58:58 Bash-1.0.6 21:58:58 21:58:58 21:58:58 ==> git version 2.25.1 found 21:58:58 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:58:58 Release-Date: 2020-01-08 21:58:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:58:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:58:58 ==> Jenkins CI detected. 21:58:58 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 21:58:58 project root: . 21:58:58 --> token set from env 21:58:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:58:58 ==> Running gcov in . (disable via -X gcov) 21:58:58 ==> Python coveragepy not found 21:58:58 ==> Searching for coverage reports in: 21:58:58 + . 21:58:58 -> Found 1 reports 21:58:58 ==> Detecting git/mercurial file structure 21:58:58 ==> Reading reports 21:58:58 + ./coverage.out bytes=7631 21:58:58 ==> Appending adjustments 21:58:58 https://docs.codecov.io/docs/fixing-reports 21:58:58 + Found adjustments 21:58:58 ==> Gzipping contents 21:58:58 4.0K /tmp/codecov.ZKNDCP.gz 21:58:58 ==> Uploading reports 21:58:58 url: https://codecov.io 21:58:58 query: branch=main&commit=60caeb9825f5d012501e30119000cf9f18d868f1&build=45&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F45%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:58:58 -> Pinging Codecov 21:58:58 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=60caeb9825f5d012501e30119000cf9f18d868f1&build=45&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F45%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:58:58 -> Uploading to 21:58:58 https://storage.googleapis.com/codecov/v4/raw/2022-09-27/6C56EA5C29638FB4528AC87E60AF5AE0/60caeb9825f5d012501e30119000cf9f18d868f1/2983f1fa-af41-42fc-b91d-1d63e3c4b2ac.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220927%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220927T215858Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=86534c556eb0d6194e3e712d9229759055799c8e3c4d66bdb2403bf35bac1cdf 21:58:58 % Total % Received % Xferd Average Speed Time Time Time Current 21:58:58 Dload Upload Total Spent Left Speed 21:58:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1543 0 0 100 1543 0 7638 --:--:-- --:--:-- --:--:-- 7600 100 1543 0 0 100 1543 0 6456 --:--:-- --:--:-- --:--:-- 6429 21:58:58 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/60caeb9825f5d012501e30119000cf9f18d868f1 [Pipeline] } 21:58:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:58:58 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:58:58 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:58:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:58:59 21:58:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:58:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:58:59 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:58:59 df9b9388f04a: Pulling fs layer 21:58:59 52dc419b0ee2: Pulling fs layer 21:58:59 25bc292e5bac: Pulling fs layer 21:58:59 114826534d7a: Pulling fs layer 21:58:59 114826534d7a: Waiting 21:58:59 4657fd5d0bcf: Pulling fs layer 21:58:59 6ad1cebc031e: Pulling fs layer 21:58:59 8a3aa393b2d8: Pulling fs layer 21:58:59 8a3aa393b2d8: Waiting 21:58:59 4657fd5d0bcf: Waiting 21:58:59 6ad1cebc031e: Waiting 21:58:59 25bc292e5bac: Verifying Checksum 21:58:59 25bc292e5bac: Download complete 21:58:59 52dc419b0ee2: Download complete 21:58:59 4657fd5d0bcf: Verifying Checksum 21:58:59 4657fd5d0bcf: Download complete 21:58:59 df9b9388f04a: Download complete 21:58:59 6ad1cebc031e: Verifying Checksum 21:58:59 6ad1cebc031e: Download complete 21:58:59 df9b9388f04a: Pull complete 21:58:59 52dc419b0ee2: Pull complete 21:58:59 25bc292e5bac: Pull complete 21:59:00 114826534d7a: Verifying Checksum 21:59:00 114826534d7a: Download complete 21:59:00 8a3aa393b2d8: Verifying Checksum 21:59:00 8a3aa393b2d8: Download complete 21:59:03 114826534d7a: Pull complete 21:59:03 4657fd5d0bcf: Pull complete 21:59:04 6ad1cebc031e: Pull complete 21:59:06 8a3aa393b2d8: Pull complete 21:59:06 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:59:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:59:06 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:59:06 prd-ubuntu20.04-docker-8c-8g-1436 does not seem to be running inside a container 21:59:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 21:59:09 $ docker top 6e59ae298121684158778789a9109137d0f87b166b1a9317a9f554c4d2b523c7 -eo pid,comm [Pipeline] { [Pipeline] echo 21:59:09 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh 21:59:09 + set -o pipefail 21:59:09 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' 21:59:15 21:59:15 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 21:59:15 21:59:15 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/cd4bf08e-2fb0-4b2c-984b-8aba260fcbe7 21:59:15 21:59:15 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 21:59:15 21:59:15 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:59:15 21:59:15 [Pipeline] } 21:59:15 $ docker stop --time=1 6e59ae298121684158778789a9109137d0f87b166b1a9317a9f554c4d2b523c7 21:59:18 $ docker rm -f 6e59ae298121684158778789a9109137d0f87b166b1a9317a9f554c4d2b523c7 [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:59:18 + git log --format=format:%s -1 60caeb9825f5d012501e30119000cf9f18d868f1 [Pipeline] sh 21:59:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:59:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:59:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:59:19 prd-ubuntu20.04-docker-8c-8g-1436 does not seem to be running inside a container 21:59:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:59:19 $ docker top 012c0d86cdd6a5b4c361666826f869ddca9e8ee8a4f9ba58e7e5389cbe8343c3 -eo pid,comm 21:59:19 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:59:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:59:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:59:19 [ssh-agent] Looking for ssh-agent implementation... 21:59:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:59:19 $ docker exec 012c0d86cdd6a5b4c361666826f869ddca9e8ee8a4f9ba58e7e5389cbe8343c3 ssh-agent 21:59:20 SSH_AUTH_SOCK=/tmp/ssh-fJ6mLYvTVVIy/agent.32 21:59:20 SSH_AGENT_PID=38 21:59:20 Running ssh-add (command line suppressed) 21:59:20 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_17761129624495156546.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_17761129624495156546.key) 21:59:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:59:20 + git semver tag 21:59:20 2022-09-27 21:59:20,675 [run_tag] DEBUG tag force:False 21:59:20 2022-09-27 21:59:20,675 [check_head_tag] DEBUG check head tag 21:59:20 2022-09-27 21:59:20,675 [execute] INFO git cat-file --batch-check 21:59:20 2022-09-27 21:59:20,676 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 21:59:20 2022-09-27 21:59:20,680 [execute] INFO git cat-file --batch 21:59:20 2022-09-27 21:59:20,680 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 21:59:20 2022-09-27 21:59:20,692 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 21:59:20 2022-09-27 21:59:20,693 [execute] INFO git tag -a v2.3.0-dev.14 -m v2.3.0-dev.14 21:59:20 2022-09-27 21:59:20,693 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.14', '-m', 'v2.3.0-dev.14'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 21:59:20 2022-09-27 21:59:20,698 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 21:59:20 2.3.0-dev.14 [Pipeline] } 21:59:20 $ docker exec --env ******** --env ******** 012c0d86cdd6a5b4c361666826f869ddca9e8ee8a4f9ba58e7e5389cbe8343c3 ssh-agent -k 21:59:20 unset SSH_AUTH_SOCK; 21:59:20 unset SSH_AGENT_PID; 21:59:20 echo Agent pid 38 killed; 21:59:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:59:21 + git semver [Pipeline] } 21:59:21 $ docker stop --time=1 012c0d86cdd6a5b4c361666826f869ddca9e8ee8a4f9ba58e7e5389cbe8343c3 21:59:22 $ docker rm -f 012c0d86cdd6a5b4c361666826f869ddca9e8ee8a4f9ba58e7e5389cbe8343c3 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:59:23 21:59:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:59:23 0.23.1-centos7: Pulling from edgex-lftools 21:59:23 ab5ef0e58194: Pulling fs layer 21:59:23 9712f1f96733: Pulling fs layer 21:59:23 63f879dbbcfc: Pulling fs layer 21:59:23 0d9ebad4ef96: Pulling fs layer 21:59:23 e9a5061849ea: Pulling fs layer 21:59:23 d747dcd14b5f: Pulling fs layer 21:59:23 2de7ff778b66: Pulling fs layer 21:59:23 0d9ebad4ef96: Waiting 21:59:23 2de7ff778b66: Waiting 21:59:23 d747dcd14b5f: Waiting 21:59:23 e9a5061849ea: Waiting 21:59:23 9712f1f96733: Verifying Checksum 21:59:23 9712f1f96733: Download complete 21:59:24 63f879dbbcfc: Verifying Checksum 21:59:24 63f879dbbcfc: Download complete 21:59:24 e9a5061849ea: Verifying Checksum 21:59:24 e9a5061849ea: Download complete 21:59:24 d747dcd14b5f: Download complete 21:59:24 0d9ebad4ef96: Verifying Checksum 21:59:24 0d9ebad4ef96: Download complete 21:59:24 2de7ff778b66: Verifying Checksum 21:59:24 2de7ff778b66: Download complete 21:59:24 ab5ef0e58194: Verifying Checksum 21:59:24 ab5ef0e58194: Download complete 21:59:27 ab5ef0e58194: Pull complete 21:59:27 9712f1f96733: Pull complete 21:59:27 63f879dbbcfc: Pull complete 21:59:31 0d9ebad4ef96: Pull complete 21:59:31 e9a5061849ea: Pull complete 21:59:31 d747dcd14b5f: Pull complete 21:59:32 2de7ff778b66: Pull complete 21:59:32 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:59:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:59:32 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:59:32 prd-ubuntu20.04-docker-8c-8g-1436 does not seem to be running inside a container 21:59:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 21:59:35 $ docker top 312f4fb0d817d228962fae89804a0700c5deef1ea97bb9b4e2c0ce7f87ee9dcd -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:59:36 provisioning config files... 21:59:36 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config15130962558906671730tmp 21:59:36 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1758748652788761101tmp 21:59:36 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config16935622826922578340tmp [Pipeline] { [Pipeline] echo 21:59:36 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:59:36 ---> sigul-configuration.sh 21:59:36 gpg: directory `/root/.gnupg' created 21:59:36 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:59:36 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:59:36 gpg: keyring `/root/.gnupg/secring.gpg' created 21:59:36 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:59:36 gpg: CAST5 encrypted data 21:59:36 gpg: encrypted with 1 passphrase 21:59:36 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:59:36 + mkdir /home/jenkins 21:59:36 + mkdir /home/jenkins/sigul [Pipeline] sh 21:59:36 + 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:59:36 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:59:37 ---> sigul-install.sh 21:59:37 Sigul already installed; skipping installation. [Pipeline] sh 21:59:37 + git tag --list 21:59:37 1.0.0 21:59:37 v0.0.0 21:59:37 v1.1.0 21:59:37 v1.1.1 21:59:37 v1.2.2 21:59:37 v1.3.0 21:59:37 v1.3.1 21:59:37 v2.0.0 21:59:37 v2.1.0 21:59:37 v2.1.1 21:59:37 v2.1.1-dev.2 21:59:37 v2.1.1-dev.3 21:59:37 v2.2.0 21:59:37 v2.2.1-dev.1 21:59:37 v2.2.1-dev.2 21:59:37 v2.2.1-dev.3 21:59:37 v2.2.1-dev.4 21:59:37 v2.2.1-dev.5 21:59:37 v2.2.1-dev.6 21:59:37 v2.2.1-dev.7 21:59:37 v2.3.0-dev.10 21:59:37 v2.3.0-dev.11 21:59:37 v2.3.0-dev.12 21:59:37 v2.3.0-dev.13 21:59:37 v2.3.0-dev.14 21:59:37 v2.3.0-dev.7 21:59:37 v2.3.0-dev.8 21:59:37 v2.3.0-dev.9 [Pipeline] sh 21:59:37 + lftools sign git-tag v2.3.0-dev.14 21:59:38 Signing Git tag with Sigul... 21:59:38 Signing v2.3.0-dev.14 [Pipeline] echo 21:59:38 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:59:38 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:59:38 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:59:38 $ docker stop --time=1 312f4fb0d817d228962fae89804a0700c5deef1ea97bb9b4e2c0ce7f87ee9dcd 21:59:40 $ docker rm -f 312f4fb0d817d228962fae89804a0700c5deef1ea97bb9b4e2c0ce7f87ee9dcd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:59:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:59:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:59:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:59:41 prd-ubuntu20.04-docker-8c-8g-1436 does not seem to be running inside a container 21:59:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:59:41 $ docker top 1f9ff96f6836a877803600c85928c0e35330c8f2e94deae83c28af5317739839 -eo pid,comm 21:59:41 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:59:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:59:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:59:41 [ssh-agent] Looking for ssh-agent implementation... 21:59:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:59:41 $ docker exec 1f9ff96f6836a877803600c85928c0e35330c8f2e94deae83c28af5317739839 ssh-agent 21:59:41 SSH_AUTH_SOCK=/tmp/ssh-39JOg6MTxKPq/agent.32 21:59:41 SSH_AGENT_PID=38 21:59:41 Running ssh-add (command line suppressed) 21:59:41 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_620160764426055998.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_620160764426055998.key) 21:59:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:59:42 + git semver bump pre 21:59:42 2022-09-27 21:59:42,197 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 21:59:42 2022-09-27 21:59:42,197 [bump_version] DEBUG bumping version:2.3.0-dev.14 on axis:pre with prefix:dev 21:59:42 2022-09-27 21:59:42,197 [bump_version] DEBUG bumped version:2.3.0-dev.15 21:59:42 2022-09-27 21:59:42,197 [write_version] DEBUG write version:2.3.0-dev.15 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True 21:59:42 2022-09-27 21:59:42,197 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 21:59:42 2022-09-27 21:59:42,198 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 21:59:42 2022-09-27 21:59:42,200 [execute] INFO git cat-file --batch-check 21:59:42 2022-09-27 21:59:42,200 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:59:42 2022-09-27 21:59:42,205 [execute] INFO git cat-file --batch 21:59:42 2022-09-27 21:59:42,205 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:59:42 2022-09-27 21:59:42,210 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 21:59:42 2.3.0-dev.15 [Pipeline] } 21:59:42 $ docker exec --env ******** --env ******** 1f9ff96f6836a877803600c85928c0e35330c8f2e94deae83c28af5317739839 ssh-agent -k 21:59:42 unset SSH_AUTH_SOCK; 21:59:42 unset SSH_AGENT_PID; 21:59:42 echo Agent pid 38 killed; 21:59:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:59:42 + git semver [Pipeline] } 21:59:42 $ docker stop --time=1 1f9ff96f6836a877803600c85928c0e35330c8f2e94deae83c28af5317739839 21:59:44 $ docker rm -f 1f9ff96f6836a877803600c85928c0e35330c8f2e94deae83c28af5317739839 [Pipeline] // withDockerContainer [Pipeline] sh 21:59:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:59:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:59:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:59:44 prd-ubuntu20.04-docker-8c-8g-1436 does not seem to be running inside a container 21:59:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:59:45 $ docker top c65802344fca95a8b97fb77158a25c83681ccef624f12daea1316c379b4e3614 -eo pid,comm 21:59:45 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:59:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:59:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:59:45 [ssh-agent] Looking for ssh-agent implementation... 21:59:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:59:45 $ docker exec c65802344fca95a8b97fb77158a25c83681ccef624f12daea1316c379b4e3614 ssh-agent 21:59:45 SSH_AUTH_SOCK=/tmp/ssh-Ljf6FLaAQS4a/agent.32 21:59:45 SSH_AGENT_PID=38 21:59:45 Running ssh-add (command line suppressed) 21:59:45 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7287984921163237562.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7287984921163237562.key) 21:59:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:59:46 + git semver push 21:59:46 2022-09-27 21:59:46,187 [run_push] DEBUG push 21:59:46 2022-09-27 21:59:46,188 [execute] INFO git cat-file --batch-check 21:59:46 2022-09-27 21:59:46,188 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:59:46 2022-09-27 21:59:46,191 [execute] INFO git rev-list 2dcedec5098b45c35ab5a500239045e8d33a498c -- 21:59:46 2022-09-27 21:59:46,191 [execute] DEBUG Popen(['git', 'rev-list', '2dcedec5098b45c35ab5a500239045e8d33a498c', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:59:46 2022-09-27 21:59:46,198 [execute] INFO git fetch -v origin 21:59:46 2022-09-27 21:59:46,199 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) 21:59:46 2022-09-27 21:59:46,771 [run_push] DEBUG no remote changes detected 21:59:46 2022-09-27 21:59:46,772 [execute] INFO git push origin semver 21:59:46 2022-09-27 21:59:46,772 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:59:47 2022-09-27 21:59:47,600 [run_push] DEBUG push all version tags 21:59:47 2022-09-27 21:59:47,601 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:59:47 2022-09-27 21:59:47,601 [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:59:48 2022-09-27 21:59:48,357 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 21:59:48 2.3.0-dev.15 [Pipeline] } 21:59:48 $ docker exec --env ******** --env ******** c65802344fca95a8b97fb77158a25c83681ccef624f12daea1316c379b4e3614 ssh-agent -k 21:59:48 unset SSH_AUTH_SOCK; 21:59:48 unset SSH_AGENT_PID; 21:59:48 echo Agent pid 38 killed; 21:59:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:59:49 + git semver [Pipeline] } 21:59:49 $ docker stop --time=1 c65802344fca95a8b97fb77158a25c83681ccef624f12daea1316c379b4e3614 21:59:50 $ docker rm -f c65802344fca95a8b97fb77158a25c83681ccef624f12daea1316c379b4e3614 [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:59:51 + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] 21:59:51 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 21:59:51 total 16 21:59:51 drwxr-xr-x 3 root root 4096 Sep 27 21:49 . 21:59:51 drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 21:59 .. 21:59:51 drwxr-xr-x 2 root root 4096 Sep 27 21:49 cost 21:59:51 -rw-r--r-- 1 root root 85 Sep 27 21:49 cost.csv 21:59:51 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives 21:59:51 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 21:59:51 total 16 21:59:51 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 21:49 . 21:59:51 drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 21:59 .. 21:59:51 drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 21:49 cost 21:59:51 -rw-r--r-- 1 jenkins jenkins 85 Sep 27 21:49 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:59:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:59:52 ---> package-listing.sh 21:59:52 ++ facter osfamily 21:59:52 ++ tr '[:upper:]' '[:lower:]' 21:59:52 + OS_FAMILY=debian 21:59:52 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 21:59:52 + START_PACKAGES=/tmp/packages_start.txt 21:59:52 + END_PACKAGES=/tmp/packages_end.txt 21:59:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:59:52 + PACKAGES=/tmp/packages_start.txt 21:59:52 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 21:59:52 + PACKAGES=/tmp/packages_end.txt 21:59:52 + case "${OS_FAMILY}" in 21:59:52 + dpkg -l 21:59:52 + grep '^ii' 21:59:52 + '[' -f /tmp/packages_start.txt ']' 21:59:52 + '[' -f /tmp/packages_end.txt ']' 21:59:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:59:52 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 21:59:52 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 21:59:52 + 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:59:52 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:59:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:59:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:59:53 prd-ubuntu20.04-docker-8c-8g-1436 does not seem to be running inside a container 21:59:53 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:59:53 $ docker top 38e79a6df98c87a0d6eecd5706768690d18b2cc218f8a942d1a0898564afbaa1 -eo pid,comm [Pipeline] { [Pipeline] sh 21:59:54 + touch /tmp/pre-build-complete [Pipeline] sh 21:59:54 + mkdir -p /var/log/sysstat [Pipeline] sh 21:59:54 + ls /var/log/sa-host 21:59:54 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:59:54 provisioning config files... 21:59:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config431177584901210796tmp [Pipeline] { [Pipeline] echo 21:59:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:59:55 ---> create-netrc.sh [Pipeline] } 21:59:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:59:55 ---> python-tools-install.sh [Pipeline] echo 21:59:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:59:55 ---> sudo-logs.sh 21:59:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:59:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:59:56 ---> job-cost.sh 21:59:56 lf-activate-venv: SKIPPING 21:59:56 DEBUG: total: 0.2199999988079071 21:59:56 INFO: Retrieving Stack Cost... 21:59:56 INFO: Retrieving Pricing Info for: v3-standard-8 21:59:57 INFO: Archiving Costs [Pipeline] echo 21:59:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:59:57 ---> logs-deploy.sh 21:59:57 lf-activate-venv: SKIPPING 21:59:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/45 21:59:57 INFO: archiving workspace using pattern(s): 21:59:58 Archives upload complete. 21:59:58 INFO: archiving logs to Nexus