Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4d140b7d88f2fb2bd597ea15c42e7db009f8976b 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-ssh11261341162872300273.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-ssh9307351351316802775.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-ssh1766166201292966606.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-ssh1540820762284513835.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-ssh11610884663840108739.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-8026 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 4d140b7d88f2fb2bd597ea15c42e7db009f8976b (main) Commit message: "Merge pull request #198 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.40" > 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 4d140b7d88f2fb2bd597ea15c42e7db009f8976b # timeout=10 > git rev-list --no-walk 86e265f4693997e38d18c21fe32d96af1ec8218a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:18:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:18:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:18:43 ========================================================= 05:18:43 EdgeX Global Pipelines Version Info 05:18:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:18:44 ------------------- 05:18:44 stable info: 05:18:44 ------------------- 05:18:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:18:44 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 05:18:44 Message: update stable to v1.0.239 05:18:44 ------------------- 05:18:44 experimental info: 05:18:44 ------------------- 05:18:44 Commited By: **** collab-it+edgex@linuxfoundation.org 05:18:44 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 05:18:44 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:18:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 05:18:44 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 05:18:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:18:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:18:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:18:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 05:18:44 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:18:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:18:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:18:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:18:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:18:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 05:18:44 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:18:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:18:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:18:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:18:45 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:18:45 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:18:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:18:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:18:45 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:18:45 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:18:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:18:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:18:45 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:18:45 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:18:45 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:18:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:18:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:18:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:18:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4d140b7d88f2fb2bd597ea15c42e7db009f8976b [Pipeline] echo 05:18:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4d140b7 [Pipeline] echo 05:18:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:18:45 provisioning config files... 05:18:45 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config12632368887459154011tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:18:45 ---> docker-login.sh 05:18:45 nexus3.edgexfoundry.org:10001 05:18:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:18:45 Configure a credential helper to remove this warning. See 05:18:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:18:45 05:18:45 Login Succeeded 05:18:45 nexus3.edgexfoundry.org:10002 05:18:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:18:46 Configure a credential helper to remove this warning. See 05:18:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:18:46 05:18:46 Login Succeeded 05:18:46 nexus3.edgexfoundry.org:10003 05:18:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:18:46 Configure a credential helper to remove this warning. See 05:18:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:18:46 05:18:46 Login Succeeded 05:18:46 nexus3.edgexfoundry.org:10004 05:18:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:18:46 Configure a credential helper to remove this warning. See 05:18:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:18:46 05:18:46 Login Succeeded 05:18:46 docker.io 05:18:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:18:46 Configure a credential helper to remove this warning. See 05:18:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:18:46 05:18:46 Login Succeeded 05:18:46 ---> docker-login.sh ends [Pipeline] } 05:18:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:18:46 + git rev-list -1 --merges 4d140b7d88f2fb2bd597ea15c42e7db009f8976b~1..4d140b7d88f2fb2bd597ea15c42e7db009f8976b [Pipeline] echo 05:18:46 -----------> git rev-list -1 --merges 4d140b7d88f2fb2bd597ea15c42e7db009f8976b~1..4d140b7d88f2fb2bd597ea15c42e7db009f8976b 4d140b7d88f2fb2bd597ea15c42e7db009f8976b 05:18:46 4d140b7d88f2fb2bd597ea15c42e7db009f8976b [false] [Pipeline] sh 05:18:47 + git log --format=format:%s -1 4d140b7d88f2fb2bd597ea15c42e7db009f8976b [Pipeline] echo 05:18:47 ========================================================= 05:18:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:18:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:18:47 + git log --format=format:%s -1 4d140b7d88f2fb2bd597ea15c42e7db009f8976b [Pipeline] echo 05:18:47 [semverPrep] GIT_COMMIT: 4d140b7d88f2fb2bd597ea15c42e7db009f8976b, Commit Message: Merge pull request #198 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.40 [Pipeline] echo 05:18:47 [semverPrep] This is not a build commit. [Pipeline] sh 05:18:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:18:47 + grep -v github /etc/ssh/ssh_known_hosts 05:18:47 + [ -e /tmp/ssh_known_hosts ] 05:18:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:18:47 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:18:47 + sudo tee -a /etc/ssh/ssh_known_hosts 05:18:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:18:48 05:18:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:18:48 0.1.4: Pulling from edgex-devops/py-git-semver 05:18:48 b85a868b505f: Pulling fs layer 05:18:48 e2be974225ed: Pulling fs layer 05:18:48 339a4e72a1f5: Pulling fs layer 05:18:48 988bab9f4d93: Pulling fs layer 05:18:48 1469e6f7b9e6: Pulling fs layer 05:18:48 eaf3925da568: Pulling fs layer 05:18:48 bab4dde63d76: Pulling fs layer 05:18:48 bde34c3a00c8: Pulling fs layer 05:18:48 b352a97aabf1: Pulling fs layer 05:18:48 4872d77fe225: Pulling fs layer 05:18:48 5851b861e8e6: Pulling fs layer 05:18:48 988bab9f4d93: Waiting 05:18:48 1469e6f7b9e6: Waiting 05:18:48 b352a97aabf1: Waiting 05:18:48 eaf3925da568: Waiting 05:18:48 bab4dde63d76: Waiting 05:18:48 4872d77fe225: Waiting 05:18:48 bde34c3a00c8: Waiting 05:18:48 5851b861e8e6: Waiting 05:18:48 e2be974225ed: Verifying Checksum 05:18:48 e2be974225ed: Download complete 05:18:48 988bab9f4d93: Download complete 05:18:48 1469e6f7b9e6: Verifying Checksum 05:18:48 1469e6f7b9e6: Download complete 05:18:48 339a4e72a1f5: Verifying Checksum 05:18:48 339a4e72a1f5: Download complete 05:18:48 eaf3925da568: Verifying Checksum 05:18:48 eaf3925da568: Download complete 05:18:48 bde34c3a00c8: Download complete 05:18:48 b352a97aabf1: Verifying Checksum 05:18:48 b352a97aabf1: Download complete 05:18:48 4872d77fe225: Download complete 05:18:48 5851b861e8e6: Verifying Checksum 05:18:48 5851b861e8e6: Download complete 05:18:48 b85a868b505f: Verifying Checksum 05:18:48 b85a868b505f: Download complete 05:18:49 bab4dde63d76: Verifying Checksum 05:18:49 bab4dde63d76: Download complete 05:18:50 b85a868b505f: Pull complete 05:18:50 e2be974225ed: Pull complete 05:18:50 339a4e72a1f5: Pull complete 05:18:50 988bab9f4d93: Pull complete 05:18:51 1469e6f7b9e6: Pull complete 05:18:51 eaf3925da568: Pull complete 05:18:53 bab4dde63d76: Pull complete 05:18:53 bde34c3a00c8: Pull complete 05:18:53 b352a97aabf1: Pull complete 05:18:53 4872d77fe225: Pull complete 05:18:53 5851b861e8e6: Pull complete 05:18:53 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:18:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:18:53 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:18:53 prd-ubuntu20.04-docker-8c-8g-8026 does not seem to be running inside a container 05:18:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:18:55 $ docker top 41dde28dd9947537bd89aacea5b3bd1450534bdc68021646a3cbaf416115f645 -eo pid,comm 05:18:55 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). 05:18:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:18:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:18:55 [ssh-agent] Looking for ssh-agent implementation... 05:18:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:18:55 $ docker exec 41dde28dd9947537bd89aacea5b3bd1450534bdc68021646a3cbaf416115f645 ssh-agent 05:18:55 SSH_AUTH_SOCK=/tmp/ssh-qkOGxYXrsAUV/agent.32 05:18:55 SSH_AGENT_PID=38 05:18:55 Running ssh-add (command line suppressed) 05:18:55 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_11656730605127408801.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_11656730605127408801.key) 05:18:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:18:56 + git tag --points-at HEAD [Pipeline] } 05:18:56 $ docker exec --env ******** --env ******** 41dde28dd9947537bd89aacea5b3bd1450534bdc68021646a3cbaf416115f645 ssh-agent -k 05:18:56 unset SSH_AUTH_SOCK; 05:18:56 unset SSH_AGENT_PID; 05:18:56 echo Agent pid 38 killed; 05:18:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:18:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:18:56 [ssh-agent] Looking for ssh-agent implementation... 05:18:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:18:56 $ docker exec 41dde28dd9947537bd89aacea5b3bd1450534bdc68021646a3cbaf416115f645 ssh-agent 05:18:56 SSH_AUTH_SOCK=/tmp/ssh-otAU6GD1g92c/agent.71 05:18:56 SSH_AGENT_PID=77 05:18:56 Running ssh-add (command line suppressed) 05:18:56 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5838185469563103945.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5838185469563103945.key) 05:18:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:18:56 + git semver init 05:18:57 2022-10-17 05:18:57,041 [run_init] DEBUG init version:0.0.0 force:False 05:18:57 2022-10-17 05:18:57,041 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver 05:18:57 2022-10-17 05:18:57,042 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver 05:18:57 2022-10-17 05:18:57,042 [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) 05:18:58 2022-10-17 05:18:57,903 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude 05:18:58 2022-10-17 05:18:57,903 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False 05:18:58 2022-10-17 05:18:57,903 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 05:18:58 2022-10-17 05:18:57,904 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 05:18:58 2.3.0-dev.18 [Pipeline] } 05:18:58 $ docker exec --env ******** --env ******** 41dde28dd9947537bd89aacea5b3bd1450534bdc68021646a3cbaf416115f645 ssh-agent -k 05:18:58 unset SSH_AUTH_SOCK; 05:18:58 unset SSH_AGENT_PID; 05:18:58 echo Agent pid 77 killed; 05:18:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:18:58 + git semver [Pipeline] } 05:18:58 $ docker stop --time=1 41dde28dd9947537bd89aacea5b3bd1450534bdc68021646a3cbaf416115f645 05:19:00 $ docker rm -f 41dde28dd9947537bd89aacea5b3bd1450534bdc68021646a3cbaf416115f645 [Pipeline] // withDockerContainer [Pipeline] sh 05:19:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:19:00 Stashed 1 file(s) [Pipeline] echo 05:19:00 [edgeXSemver]: initialized semver on version 2.3.0-dev.18 [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 05:19:00 provisioning config files... 05:19:00 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5039776371828236745tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:19:01 ---> docker-login.sh 05:19:01 nexus3.edgexfoundry.org:10001 05:19:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:01 Configure a credential helper to remove this warning. See 05:19:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:01 05:19:01 Login Succeeded 05:19:01 nexus3.edgexfoundry.org:10002 05:19:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:01 Configure a credential helper to remove this warning. See 05:19:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:01 05:19:01 Login Succeeded 05:19:01 nexus3.edgexfoundry.org:10003 05:19:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:01 Configure a credential helper to remove this warning. See 05:19:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:01 05:19:01 Login Succeeded 05:19:01 nexus3.edgexfoundry.org:10004 05:19:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:01 Configure a credential helper to remove this warning. See 05:19:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:01 05:19:01 Login Succeeded 05:19:01 docker.io 05:19:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:01 Configure a credential helper to remove this warning. See 05:19:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:01 05:19:01 Login Succeeded 05:19:01 ---> docker-login.sh ends [Pipeline] } 05:19:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:19:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:19:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:19:01 ========================================================= 05:19:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 05:19:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:02 + 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 . 05:19:02 Sending build context to Docker daemon 5.509MB 05:19:02 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 05:19:02 Step 2/13 : FROM ${BASE} AS builder 05:19:02 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 05:19:02 213ec9aee27d: Pulling fs layer 05:19:02 4583459ba037: Pulling fs layer 05:19:02 93c1e223e6f2: Pulling fs layer 05:19:02 53926ce57604: Pulling fs layer 05:19:02 21b2b0c7a3f4: Pulling fs layer 05:19:02 30f14e443154: Pulling fs layer 05:19:02 801331c1e519: Pulling fs layer 05:19:02 99cc6dd402b0: Pulling fs layer 05:19:02 7d9ed39f4882: Pulling fs layer 05:19:02 53926ce57604: Waiting 05:19:02 21b2b0c7a3f4: Waiting 05:19:02 30f14e443154: Waiting 05:19:02 801331c1e519: Waiting 05:19:02 99cc6dd402b0: Waiting 05:19:02 7d9ed39f4882: Waiting 05:19:02 93c1e223e6f2: Verifying Checksum 05:19:02 93c1e223e6f2: Download complete 05:19:02 4583459ba037: Download complete 05:19:02 21b2b0c7a3f4: Verifying Checksum 05:19:02 21b2b0c7a3f4: Download complete 05:19:02 30f14e443154: Download complete 05:19:02 213ec9aee27d: Verifying Checksum 05:19:02 213ec9aee27d: Download complete 05:19:02 801331c1e519: Download complete 05:19:02 213ec9aee27d: Pull complete 05:19:02 4583459ba037: Pull complete 05:19:02 93c1e223e6f2: Pull complete 05:19:03 7d9ed39f4882: Verifying Checksum 05:19:03 7d9ed39f4882: Download complete 05:19:03 99cc6dd402b0: Verifying Checksum 05:19:03 99cc6dd402b0: Download complete 05:19:03 53926ce57604: Verifying Checksum 05:19:03 53926ce57604: Download complete 05:19:07 53926ce57604: Pull complete 05:19:07 21b2b0c7a3f4: Pull complete 05:19:07 30f14e443154: Pull complete 05:19:07 801331c1e519: Pull complete 05:19:09 99cc6dd402b0: Pull complete 05:19:10 7d9ed39f4882: Pull complete 05:19:10 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 05:19:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 05:19:10 ---> 1dedd983c030 05:19:10 Step 3/13 : ARG ADD_BUILD_TAGS="" 05:19:13 ---> Running in 01a251f66f3e 05:19:13 Removing intermediate container 01a251f66f3e 05:19:13 ---> c3592156e511 05:19:13 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:19:13 ---> Running in 3c70f0aa719f 05:19:13 Removing intermediate container 3c70f0aa719f 05:19:13 ---> 852ccfb6d313 05:19:13 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:19:13 ---> Running in 5576d5c11d0e 05:19:13 Removing intermediate container 5576d5c11d0e 05:19:13 ---> 06f0980a116f 05:19:13 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 05:19:13 ---> Running in 9cb279ad8ac3 05:19:13 Removing intermediate container 9cb279ad8ac3 05:19:13 ---> e3638f51429f 05:19:13 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:19:13 ---> Running in 2d8d75e415bd 05:19:14 Removing intermediate container 2d8d75e415bd 05:19:14 ---> 6868251eda29 05:19:14 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:19:14 ---> Running in f93a9d2b616d 05:19:14 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:19:15 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:19:15 (1/4) Installing openssh-keygen (9.0_p1-r2) 05:19:15 (2/4) Installing libedit (20210910.3.1-r0) 05:19:15 (3/4) Installing openssh-client-common (9.0_p1-r2) 05:19:15 Still waiting to schedule task 05:19:15 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:19:15 (4/4) Installing openssh-client-default (9.0_p1-r2) 05:19:15 Executing busybox-1.35.0-r17.trigger 05:19:15 OK: 216 MiB in 55 packages 05:19:16 Removing intermediate container f93a9d2b616d 05:19:16 ---> 95373e519afd 05:19:16 Step 9/13 : WORKDIR /device-snmp-go 05:19:16 ---> Running in 8334e2bd93a8 05:19:16 Removing intermediate container 8334e2bd93a8 05:19:16 ---> 689aab571462 05:19:16 Step 10/13 : COPY go.mod vendor* ./ 05:19:16 ---> 30ceb54ba459 05:19:16 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:19:16 ---> Running in 388357dcb4ff 05:19:34 Removing intermediate container 388357dcb4ff 05:19:34 ---> 3a46db841d71 05:19:34 Step 12/13 : COPY . . 05:19:34 ---> 9172d2e52a05 05:19:34 Step 13/13 : RUN ${MAKE} 05:19:34 ---> Running in d6dc23a9e7f8 05:19:34 noop 05:19:34 Removing intermediate container d6dc23a9e7f8 05:19:34 ---> b08885c8d718 05:19:34 Successfully built b08885c8d718 05:19:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:35 + docker inspect -f . ci-base-image-x86_64 05:19:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:19:35 prd-ubuntu20.04-docker-8c-8g-8026 does not seem to be running inside a container 05:19:35 $ 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 05:19:35 $ docker top ce2fa696c8507008c5559ce4ee07cb375f9745ab27424711f5f21fccb7118a7f -eo pid,comm [Pipeline] { [Pipeline] sh 05:19:36 + go version 05:19:36 go version go1.18.7 linux/amd64 [Pipeline] } 05:19:36 $ docker stop --time=1 ce2fa696c8507008c5559ce4ee07cb375f9745ab27424711f5f21fccb7118a7f 05:19:37 $ docker rm -f ce2fa696c8507008c5559ce4ee07cb375f9745ab27424711f5f21fccb7118a7f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:37 + docker inspect -f . ci-base-image-x86_64 05:19:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:19:37 prd-ubuntu20.04-docker-8c-8g-8026 does not seem to be running inside a container 05:19:37 $ 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 05:19:38 $ docker top bc1c0b6c8323edae7f78865aa41e14f5c6e59100c384f0fc3e7b64bde26aed41 -eo pid,comm [Pipeline] { [Pipeline] sh 05:19:38 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh 05:19:38 + make test 05:19:38 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:19:39 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:19:49 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:19:49 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.018s coverage: 0.0% of statements 05:19:55 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." 05:19:55 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:19:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:19:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:19:59 ./bin/test-attribution-txt.sh [Pipeline] echo 05:19:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:19:59 $ docker stop --time=1 bc1c0b6c8323edae7f78865aa41e14f5c6e59100c384f0fc3e7b64bde26aed41 05:20:01 $ docker rm -f bc1c0b6c8323edae7f78865aa41e14f5c6e59100c384f0fc3e7b64bde26aed41 [Pipeline] // withDockerContainer [Pipeline] sh 05:20:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:20:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:20:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:20:02 + ls -al . 05:20:02 total 172 05:20:02 drwxrwxr-x 9 jenkins jenkins 4096 Oct 17 05:19 . 05:20:02 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 05:18 .. 05:20:02 -rw-rw-r-- 1 jenkins jenkins 6 Oct 17 05:18 .dockerignore 05:20:02 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 05:19 .git 05:20:02 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 05:18 .github 05:20:02 -rw-rw-r-- 1 jenkins jenkins 328 Oct 17 05:18 .gitignore 05:20:02 -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 05:18 .golangci.yml 05:20:02 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 05:18 .semver 05:20:02 -rw-rw-r-- 1 jenkins jenkins 8932 Oct 17 05:18 Attribution.txt 05:20:02 -rw-rw-r-- 1 jenkins jenkins 6948 Oct 17 05:18 CHANGELOG.md 05:20:02 -rw-rw-r-- 1 jenkins jenkins 1575 Oct 17 05:18 Dockerfile 05:20:02 -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 05:18 GOVERNANCE.md 05:20:02 -rw-rw-r-- 1 jenkins jenkins 656 Oct 17 05:18 Jenkinsfile 05:20:02 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 05:18 LICENSE 05:20:02 -rw-rw-r-- 1 jenkins jenkins 2543 Oct 17 05:18 Makefile 05:20:02 -rw-rw-r-- 1 jenkins jenkins 620 Oct 17 05:18 OWNERS.md 05:20:02 -rw-rw-r-- 1 jenkins jenkins 10054 Oct 17 05:18 README.md 05:20:02 -rw-rw-r-- 1 jenkins jenkins 12 Oct 17 05:19 VERSION 05:20:02 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 05:18 bin 05:20:02 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 05:18 cmd 05:20:02 -rw-r--r-- 1 jenkins jenkins 7631 Oct 17 05:19 coverage.out 05:20:02 -rw-rw-r-- 1 jenkins jenkins 3473 Oct 17 05:18 go.mod 05:20:02 -rw-rw-r-- 1 jenkins jenkins 38138 Oct 17 05:18 go.sum 05:20:02 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 05:18 internal 05:20:02 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 05:18 snap 05:20:02 -rw-rw-r-- 1 jenkins jenkins 228 Oct 17 05:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:02 + 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=4d140b7d88f2fb2bd597ea15c42e7db009f8976b --label arch=amd64 --label version=2.3.0-dev.18 . 05:20:02 Sending build context to Docker daemon 5.517MB 05:20:02 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 05:20:02 Step 2/25 : FROM ${BASE} AS builder 05:20:02 ---> b08885c8d718 05:20:02 Step 3/25 : ARG ADD_BUILD_TAGS="" 05:20:02 ---> Running in b88271f7e847 05:20:03 Removing intermediate container b88271f7e847 05:20:03 ---> bef2478ad271 05:20:03 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:20:03 ---> Running in eb021e7203ca 05:20:03 Removing intermediate container eb021e7203ca 05:20:03 ---> f8d3fe6b4186 05:20:03 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:20:03 ---> Running in 71c31d77ac55 05:20:03 Removing intermediate container 71c31d77ac55 05:20:03 ---> d102d534a4d3 05:20:03 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 05:20:03 ---> Running in a2f53d9f82ce 05:20:03 Removing intermediate container a2f53d9f82ce 05:20:03 ---> e4ce064e0533 05:20:03 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:20:03 ---> Running in 794abc24dbff 05:20:04 Removing intermediate container 794abc24dbff 05:20:04 ---> 4fb513e65509 05:20:04 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:20:04 ---> Running in 16fee8627952 05:20:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:20:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:20:05 OK: 216 MiB in 55 packages 05:20:05 Removing intermediate container 16fee8627952 05:20:05 ---> e58e5cdc70db 05:20:05 Step 9/25 : WORKDIR /device-snmp-go 05:20:06 ---> Running in 3a89504731df 05:20:06 Removing intermediate container 3a89504731df 05:20:06 ---> cccc3e5972e4 05:20:06 Step 10/25 : COPY go.mod vendor* ./ 05:20:06 ---> 39b774c0f20b 05:20:06 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:20:06 ---> Running in b40756e69877 05:20:07 Removing intermediate container b40756e69877 05:20:07 ---> 9e64d368b140 05:20:07 Step 12/25 : COPY . . 05:20:07 ---> 0d15d893f6cf 05:20:07 Step 13/25 : RUN ${MAKE} 05:20:07 ---> Running in 3f0adf786837 05:20:08 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.40 -X github.com/edgexfoundry/device-snmp-go.Version=2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 05:20:30 Removing intermediate container 3f0adf786837 05:20:30 ---> 0d1420341871 05:20:30 Step 14/25 : FROM alpine:3.16 05:20:30 3.16: Pulling from library/alpine 05:20:30 213ec9aee27d: Already exists 05:20:30 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 05:20:30 Status: Downloaded newer image for alpine:3.16 05:20:30 ---> 9c6f07244728 05:20:30 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 05:20:30 ---> Running in 26a74ca34305 05:20:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:20:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:20:31 (1/6) Installing dumb-init (1.2.5-r1) 05:20:31 (2/6) Installing libgcc (11.2.1_git20220219-r2) 05:20:31 (3/6) Installing libsodium (1.0.18-r0) 05:20:31 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 05:20:31 (5/6) Installing libzmq (4.3.4-r0) 05:20:31 (6/6) Installing zeromq (4.3.4-r0) 05:20:31 Executing busybox-1.35.0-r17.trigger 05:20:31 OK: 8 MiB in 20 packages 05:20:31 Removing intermediate container 26a74ca34305 05:20:31 ---> 4a28d8df6dc7 05:20:31 Step 16/25 : COPY --from=builder /device-snmp-go/cmd / 05:20:32 ---> 7ae381581134 05:20:32 Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:20:32 ---> ed6b43c6540f 05:20:32 Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / 05:20:32 ---> fb298d2ae802 05:20:32 Step 19/25 : EXPOSE 59993 05:20:32 ---> Running in 048d820a86ea 05:20:32 Removing intermediate container 048d820a86ea 05:20:32 ---> ae44f90537ce 05:20:32 Step 20/25 : EXPOSE 161 05:20:32 ---> Running in 1815abcbf067 05:20:32 Removing intermediate container 1815abcbf067 05:20:32 ---> dbe5de308e7a 05:20:32 Step 21/25 : ENTRYPOINT ["/device-snmp"] 05:20:32 ---> Running in fd24ee7e229c 05:20:32 Removing intermediate container fd24ee7e229c 05:20:32 ---> 492edce33f42 05:20:32 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 05:20:33 ---> Running in 5aead9fbff15 05:20:33 Removing intermediate container 5aead9fbff15 05:20:33 ---> e1bd712db489 05:20:33 Step 23/25 : LABEL arch=amd64 05:20:33 ---> Running in fd48c629a907 05:20:33 Removing intermediate container fd48c629a907 05:20:33 ---> 1436a6cc1534 05:20:33 Step 24/25 : LABEL git_sha=4d140b7d88f2fb2bd597ea15c42e7db009f8976b 05:20:33 ---> Running in b6d01caf0429 05:20:33 Removing intermediate container b6d01caf0429 05:20:33 ---> 4de1d9ece8a3 05:20:33 Step 25/25 : LABEL version=2.3.0-dev.18 05:20:33 ---> Running in f292f240218c 05:20:33 Removing intermediate container f292f240218c 05:20:33 ---> 3175137c4ae5 05:20:33 [Warning] One or more build-args [ARCH] were not consumed 05:20:33 Successfully built 3175137c4ae5 05:20:33 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:20:33 provisioning config files... 05:20:33 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2157736911197415113tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:20:33 ---> docker-login.sh 05:20:33 nexus3.edgexfoundry.org:10001 05:20:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:20:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:20:33 Configure a credential helper to remove this warning. See 05:20:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:20:33 05:20:33 Login Succeeded 05:20:33 nexus3.edgexfoundry.org:10002 05:20:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:20:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:20:33 Configure a credential helper to remove this warning. See 05:20:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:20:33 05:20:33 Login Succeeded 05:20:34 nexus3.edgexfoundry.org:10003 05:20:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:20:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:20:34 Configure a credential helper to remove this warning. See 05:20:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:20:34 05:20:34 Login Succeeded 05:20:34 nexus3.edgexfoundry.org:10004 05:20:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:20:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:20:34 Configure a credential helper to remove this warning. See 05:20:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:20:34 05:20:34 Login Succeeded 05:20:34 docker.io 05:20:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:20:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:20:34 Configure a credential helper to remove this warning. See 05:20:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:20:34 05:20:34 Login Succeeded 05:20:34 ---> docker-login.sh ends [Pipeline] } 05:20:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:20:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:20:34 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 05:20:34 4d140b7d88f2fb2bd597ea15c42e7db009f8976b 05:20:34 latest 05:20:34 2.3.0-dev.18 05:20:34 4d140b7d88f2fb2bd597ea15c42e7db009f8976b-2.3.0-dev.18 05:20:34 main 05:20:34 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:34 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:4d140b7d88f2fb2bd597ea15c42e7db009f8976b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:35 + docker push nexus3.edgexfoundry.org:10004/device-snmp:4d140b7d88f2fb2bd597ea15c42e7db009f8976b 05:20:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 05:20:35 1a20b4f5a664: Preparing 05:20:35 26cdfde92ee9: Preparing 05:20:35 64162eb73494: Preparing 05:20:35 5bba7818b5d6: Preparing 05:20:35 994393dc58e7: Preparing 05:20:35 994393dc58e7: Layer already exists 05:20:35 26cdfde92ee9: Pushed 05:20:35 1a20b4f5a664: Pushed 05:20:35 5bba7818b5d6: Pushed 05:20:38 64162eb73494: Pushed 05:20:38 4d140b7d88f2fb2bd597ea15c42e7db009f8976b: digest: sha256:a4a841dabad59302795558a656328a57dc6faa73b812888b4a0fb96a66385e1b size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:38 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:38 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 05:20:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 05:20:38 1a20b4f5a664: Preparing 05:20:38 26cdfde92ee9: Preparing 05:20:38 64162eb73494: Preparing 05:20:38 5bba7818b5d6: Preparing 05:20:38 994393dc58e7: Preparing 05:20:38 64162eb73494: Layer already exists 05:20:38 5bba7818b5d6: Layer already exists 05:20:38 26cdfde92ee9: Layer already exists 05:20:38 1a20b4f5a664: Layer already exists 05:20:38 994393dc58e7: Layer already exists 05:20:38 latest: digest: sha256:a4a841dabad59302795558a656328a57dc6faa73b812888b4a0fb96a66385e1b size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:38 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:39 + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.18 05:20:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 05:20:39 1a20b4f5a664: Preparing 05:20:39 26cdfde92ee9: Preparing 05:20:39 64162eb73494: Preparing 05:20:39 5bba7818b5d6: Preparing 05:20:39 994393dc58e7: Preparing 05:20:39 26cdfde92ee9: Layer already exists 05:20:39 64162eb73494: Layer already exists 05:20:39 994393dc58e7: Layer already exists 05:20:39 1a20b4f5a664: Layer already exists 05:20:39 5bba7818b5d6: Layer already exists 05:20:39 2.3.0-dev.18: digest: sha256:a4a841dabad59302795558a656328a57dc6faa73b812888b4a0fb96a66385e1b size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:39 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:4d140b7d88f2fb2bd597ea15c42e7db009f8976b-2.3.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:39 + docker push nexus3.edgexfoundry.org:10004/device-snmp:4d140b7d88f2fb2bd597ea15c42e7db009f8976b-2.3.0-dev.18 05:20:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 05:20:39 1a20b4f5a664: Preparing 05:20:39 26cdfde92ee9: Preparing 05:20:39 64162eb73494: Preparing 05:20:39 5bba7818b5d6: Preparing 05:20:39 994393dc58e7: Preparing 05:20:39 1a20b4f5a664: Layer already exists 05:20:39 994393dc58e7: Layer already exists 05:20:39 64162eb73494: Layer already exists 05:20:39 26cdfde92ee9: Layer already exists 05:20:39 5bba7818b5d6: Layer already exists 05:20:39 4d140b7d88f2fb2bd597ea15c42e7db009f8976b-2.3.0-dev.18: digest: sha256:a4a841dabad59302795558a656328a57dc6faa73b812888b4a0fb96a66385e1b size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:40 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:40 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 05:20:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 05:20:40 1a20b4f5a664: Preparing 05:20:40 26cdfde92ee9: Preparing 05:20:40 64162eb73494: Preparing 05:20:40 5bba7818b5d6: Preparing 05:20:40 994393dc58e7: Preparing 05:20:40 64162eb73494: Layer already exists 05:20:40 1a20b4f5a664: Layer already exists 05:20:40 26cdfde92ee9: Layer already exists 05:20:40 5bba7818b5d6: Layer already exists 05:20:40 994393dc58e7: Layer already exists 05:20:40 main: digest: sha256:a4a841dabad59302795558a656328a57dc6faa73b812888b4a0fb96a66385e1b size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:20:40 ===================================================== [Pipeline] echo 05:20:40 taggedImages: 05:20:40 - nexus3.edgexfoundry.org:10004/device-snmp:4d140b7d88f2fb2bd597ea15c42e7db009f8976b 05:20:40 - nexus3.edgexfoundry.org:10004/device-snmp:latest 05:20:40 - nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.18 05:20:40 - nexus3.edgexfoundry.org:10004/device-snmp:4d140b7d88f2fb2bd597ea15c42e7db009f8976b-2.3.0-dev.18 05:20:40 - 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 05:20:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:20:40 05:20:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:20:41 latest: Pulling from edgex-lftools-log-publisher 05:20:41 5eb5b503b376: Pulling fs layer 05:20:41 5c69ac0246d0: Pulling fs layer 05:20:41 ec43610c2a17: Pulling fs layer 05:20:41 3a2ae6a8a46f: Pulling fs layer 05:20:41 33b1e0a273af: Pulling fs layer 05:20:41 5d3b04190fa2: Pulling fs layer 05:20:41 2f39f015ded8: Pulling fs layer 05:20:41 3a2ae6a8a46f: Waiting 05:20:41 33b1e0a273af: Waiting 05:20:41 5d3b04190fa2: Waiting 05:20:41 2f39f015ded8: Waiting 05:20:41 5c69ac0246d0: Download complete 05:20:41 3a2ae6a8a46f: Verifying Checksum 05:20:41 3a2ae6a8a46f: Download complete 05:20:41 33b1e0a273af: Verifying Checksum 05:20:41 33b1e0a273af: Download complete 05:20:41 5d3b04190fa2: Verifying Checksum 05:20:41 5d3b04190fa2: Download complete 05:20:41 ec43610c2a17: Verifying Checksum 05:20:41 ec43610c2a17: Download complete 05:20:41 5eb5b503b376: Verifying Checksum 05:20:41 5eb5b503b376: Download complete 05:20:42 2f39f015ded8: Download complete 05:20:42 5eb5b503b376: Pull complete 05:20:42 5c69ac0246d0: Pull complete 05:20:43 ec43610c2a17: Pull complete 05:20:43 3a2ae6a8a46f: Pull complete 05:20:43 33b1e0a273af: Pull complete 05:20:43 5d3b04190fa2: Pull complete 05:20:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8028 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 05:20:44 Running in /w/workspace/device-snmp-go/49 [Pipeline] { [Pipeline] checkout 05:20:44 Selected Git installation does not exist. Using Default 05:20:44 The recommended git tool is: NONE 05:20:47 2f39f015ded8: Pull complete 05:20:47 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:20:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:20:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:20:47 prd-ubuntu20.04-docker-8c-8g-8026 does not seem to be running inside a container 05:20:47 $ 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 05:20:49 using credential edgex-jenkins-ssh 05:20:49 Cloning the remote Git repository 05:20:49 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 05:20:49 > git init /w/workspace/device-snmp-go/49 # timeout=10 05:20:49 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:20:49 > git --version # timeout=10 05:20:49 > git --version # 'git version 2.25.1' 05:20:49 using GIT_SSH to set credentials SSH Credentials for GitHub 05:20:49 Verifying host key using known hosts file 05:20:50 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. 05:20:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:20:51 $ docker top 4c311de9fd4a3e5baebf67d2baad29cb0c5372e46d007ea0f59212aa7621a7b7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:20:51 ---> job-cost.sh 05:20:51 lf-activate-venv: SKIPPING 05:20:51 INFO: No Stack... 05:20:51 INFO: Retrieving Pricing Info for: v3-standard-8 05:20:51 Avoid second fetch 05:20:51 Checking out Revision 4d140b7d88f2fb2bd597ea15c42e7db009f8976b (main) 05:20:52 INFO: Archiving Costs 05:20:51 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:20:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:20:52 > git config core.sparsecheckout # timeout=10 05:20:52 > git checkout -f 4d140b7d88f2fb2bd597ea15c42e7db009f8976b # timeout=10 [Pipeline] sh 05:20:52 Commit message: "Merge pull request #198 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.40" 05:20:52 + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv 05:20:52 + cut -d, -f6 [Pipeline] lock 05:20:52 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-49-stack-cost] 05:20:52 Resource [jenkins-edgexfoundry-device-snmp-go-main-49-stack-cost] did not exist. Created. 05:20:52 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-49-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:20:52 05:20:52 GitHub has been notified of this commit’s build result 05:20:52 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:20:52 + echo total: 0.2199999988079071 [Pipeline] stash 05:20:53 Stashed 1 file(s) [Pipeline] } 05:20:53 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-49-stack-cost] [Pipeline] // lock [Pipeline] } 05:20:53 $ docker stop --time=1 4c311de9fd4a3e5baebf67d2baad29cb0c5372e46d007ea0f59212aa7621a7b7 05:20:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:20:53 % Total % Received % Xferd Average Speed Time Time Time Current 05:20:53 Dload Upload Total Spent Left Speed 05:20:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 98453 0 --:--:-- --:--:-- --:--:-- 98453 05:20:54 $ docker rm -f 4c311de9fd4a3e5baebf67d2baad29cb0c5372e46d007ea0f59212aa7621a7b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:20:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:20:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:20:54 + sudo tee /etc/docker/daemon.new 05:20:54 { 05:20:54 "registry-mirrors": [ 05:20:54 "https://nexus3.edgexfoundry.org:10001" 05:20:54 ], 05:20:54 "bip": "10.250.0.254/24", 05:20:54 "hosts": [ 05:20:54 "tcp://0.0.0.0:5555", 05:20:54 "unix:///var/run/docker.sock" 05:20:54 ], 05:20:54 "mtu": 1458, 05:20:54 "selinux-enabled": true, 05:20:54 "seccomp-profile": "/etc/docker/seccomp.json" 05:20:54 } [Pipeline] sh 05:20:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:20:55 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:21:13 provisioning config files... 05:21:13 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/49@tmp/config6939007343028923559tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:21:14 ---> docker-login.sh 05:21:14 nexus3.edgexfoundry.org:10001 05:21:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:21:14 Configure a credential helper to remove this warning. See 05:21:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:21:14 05:21:14 Login Succeeded 05:21:14 nexus3.edgexfoundry.org:10002 05:21:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:21:15 Configure a credential helper to remove this warning. See 05:21:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:21:15 05:21:15 Login Succeeded 05:21:15 nexus3.edgexfoundry.org:10003 05:21:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:21:15 Configure a credential helper to remove this warning. See 05:21:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:21:15 05:21:15 Login Succeeded 05:21:15 nexus3.edgexfoundry.org:10004 05:21:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:21:15 Configure a credential helper to remove this warning. See 05:21:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:21:15 05:21:15 Login Succeeded 05:21:15 docker.io 05:21:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:21:16 Configure a credential helper to remove this warning. See 05:21:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:21:16 05:21:16 Login Succeeded 05:21:16 ---> docker-login.sh ends [Pipeline] } 05:21:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:21:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:21:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:21:16 ========================================================= 05:21:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 05:21:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:21:17 + 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 . 05:21:17 Sending build context to Docker daemon 2.843MB 05:21:17 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 05:21:17 Step 2/13 : FROM ${BASE} AS builder 05:21:17 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:21:17 9b18e9b68314: Pulling fs layer 05:21:17 d32db5db7311: Pulling fs layer 05:21:17 d0c4b47475fc: Pulling fs layer 05:21:17 5831b945b038: Pulling fs layer 05:21:17 86bbec2aaacd: Pulling fs layer 05:21:17 e10730c5d714: Pulling fs layer 05:21:17 5dd5c2283517: Pulling fs layer 05:21:17 d5ac0230b979: Pulling fs layer 05:21:17 5831b945b038: Waiting 05:21:17 86bbec2aaacd: Waiting 05:21:17 e10730c5d714: Waiting 05:21:17 5dd5c2283517: Waiting 05:21:17 d5ac0230b979: Waiting 05:21:17 d0c4b47475fc: Verifying Checksum 05:21:17 d0c4b47475fc: Download complete 05:21:17 d32db5db7311: Verifying Checksum 05:21:17 d32db5db7311: Download complete 05:21:17 86bbec2aaacd: Verifying Checksum 05:21:17 86bbec2aaacd: Download complete 05:21:17 e10730c5d714: Verifying Checksum 05:21:17 e10730c5d714: Download complete 05:21:17 9b18e9b68314: Verifying Checksum 05:21:17 9b18e9b68314: Download complete 05:21:18 9b18e9b68314: Pull complete 05:21:18 d5ac0230b979: Verifying Checksum 05:21:18 d5ac0230b979: Download complete 05:21:20 5dd5c2283517: Verifying Checksum 05:21:20 5dd5c2283517: Download complete 05:21:20 5831b945b038: Download complete 05:21:20 d32db5db7311: Pull complete 05:21:20 d0c4b47475fc: Pull complete 05:21:33 5831b945b038: Pull complete 05:21:33 86bbec2aaacd: Pull complete 05:21:33 e10730c5d714: Pull complete 05:21:40 5dd5c2283517: Pull complete 05:21:41 d5ac0230b979: Pull complete 05:21:41 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 05:21:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 05:21:41 ---> 59b3b1a385d4 05:21:41 Step 3/13 : ARG ADD_BUILD_TAGS="" 05:21:43 ---> Running in fa6acfbd2579 05:21:43 Removing intermediate container fa6acfbd2579 05:21:43 ---> 339e62a62fec 05:21:43 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:21:43 ---> Running in 84e91146813c 05:21:43 Removing intermediate container 84e91146813c 05:21:43 ---> b7480ecf65d8 05:21:43 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:21:43 ---> Running in baa8dc943148 05:21:44 Removing intermediate container baa8dc943148 05:21:44 ---> e8ca3a3e04f8 05:21:44 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 05:21:44 ---> Running in ee8aa69db4da 05:21:44 Removing intermediate container ee8aa69db4da 05:21:44 ---> bd84a3dab478 05:21:44 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:21:44 ---> Running in 1ff4e98b4223 05:21:46 Removing intermediate container 1ff4e98b4223 05:21:46 ---> fb12cc9d6af1 05:21:46 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:21:46 ---> Running in bdab21eb7601 05:21:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:21:48 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:21:49 (1/4) Installing openssh-keygen (9.0_p1-r2) 05:21:49 (2/4) Installing libedit (20210910.3.1-r0) 05:21:49 (3/4) Installing openssh-client-common (9.0_p1-r2) 05:21:49 (4/4) Installing openssh-client-default (9.0_p1-r2) 05:21:49 Executing busybox-1.35.0-r17.trigger 05:21:49 OK: 226 MiB in 55 packages 05:21:50 Removing intermediate container bdab21eb7601 05:21:50 ---> 960535b668b7 05:21:50 Step 9/13 : WORKDIR /device-snmp-go 05:21:50 ---> Running in 21b6e2b379ec 05:21:51 Removing intermediate container 21b6e2b379ec 05:21:51 ---> 216e954c8efe 05:21:51 Step 10/13 : COPY go.mod vendor* ./ 05:21:51 ---> fb6c3c9bf0c5 05:21:51 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:21:51 ---> Running in 093ebc6cdbcd 05:22:48 Removing intermediate container 093ebc6cdbcd 05:22:48 ---> e0ba85d55d4c 05:22:48 Step 12/13 : COPY . . 05:22:48 ---> 315db1c5c5e4 05:22:48 Step 13/13 : RUN ${MAKE} 05:22:48 ---> Running in d6f84702a8b8 05:22:48 noop 05:22:48 Removing intermediate container d6f84702a8b8 05:22:48 ---> 8584aa21b17d 05:22:48 Successfully built 8584aa21b17d 05:22:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22:48 + docker inspect -f . ci-base-image-arm64 05:22:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:22:48 prd-ubuntu20.04-docker-arm64-4c-16g-8028 does not seem to be running inside a container 05:22:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/49 -v /w/workspace/device-snmp-go/49:/w/workspace/device-snmp-go/49:rw,z -v /w/workspace/device-snmp-go/49@tmp:/w/workspace/device-snmp-go/49@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 05:22:49 $ docker top 6c16006ee75e7279471aa7480ee47dfb3055fd0c5945782a4edb6efe7084ca64 -eo pid,comm [Pipeline] { [Pipeline] sh 05:22:50 + go version 05:22:50 go version go1.18.7 linux/arm64 [Pipeline] } 05:22:50 $ docker stop --time=1 6c16006ee75e7279471aa7480ee47dfb3055fd0c5945782a4edb6efe7084ca64 05:22:52 $ docker rm -f 6c16006ee75e7279471aa7480ee47dfb3055fd0c5945782a4edb6efe7084ca64 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22:52 + docker inspect -f . ci-base-image-arm64 05:22:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:22:52 prd-ubuntu20.04-docker-arm64-4c-16g-8028 does not seem to be running inside a container 05:22:52 $ 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/49 -v /w/workspace/device-snmp-go/49:/w/workspace/device-snmp-go/49:rw,z -v /w/workspace/device-snmp-go/49@tmp:/w/workspace/device-snmp-go/49@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 05:22:54 $ docker top 69450411f20923aeccbf7c1816b0fc2832a29f32ac229b5e44ba48cb2bdb488c -eo pid,comm [Pipeline] { [Pipeline] sh 05:22:54 + git config --global --add safe.directory /w/workspace/device-snmp-go/49 [Pipeline] fileExists [Pipeline] sh 05:22:54 + make test 05:22:54 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:22:57 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:24:19 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:24:19 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.076s coverage: 0.0% of statements 05:24:19 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:24:19 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:24:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:24:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:24:41 ./bin/test-attribution-txt.sh [Pipeline] echo 05:24:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:24:41 $ docker stop --time=1 69450411f20923aeccbf7c1816b0fc2832a29f32ac229b5e44ba48cb2bdb488c 05:24:42 $ docker rm -f 69450411f20923aeccbf7c1816b0fc2832a29f32ac229b5e44ba48cb2bdb488c [Pipeline] // withDockerContainer [Pipeline] sh 05:24:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:24:43 Warning: overwriting stash ‘coverage-report’ 05:24:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:24:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:24:44 + ls -al . 05:24:44 total 168 05:24:44 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 05:22 . 05:24:44 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 05:20 .. 05:24:44 -rw-rw-r-- 1 jenkins jenkins 6 Oct 17 05:20 .dockerignore 05:24:44 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 05:20 .git 05:24:44 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 05:20 .github 05:24:44 -rw-rw-r-- 1 jenkins jenkins 328 Oct 17 05:20 .gitignore 05:24:44 -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 05:20 .golangci.yml 05:24:44 -rw-rw-r-- 1 jenkins jenkins 8932 Oct 17 05:20 Attribution.txt 05:24:44 -rw-rw-r-- 1 jenkins jenkins 6948 Oct 17 05:20 CHANGELOG.md 05:24:44 -rw-rw-r-- 1 jenkins jenkins 1575 Oct 17 05:20 Dockerfile 05:24:44 -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 05:20 GOVERNANCE.md 05:24:44 -rw-rw-r-- 1 jenkins jenkins 656 Oct 17 05:20 Jenkinsfile 05:24:44 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 05:20 LICENSE 05:24:44 -rw-rw-r-- 1 jenkins jenkins 2543 Oct 17 05:20 Makefile 05:24:44 -rw-rw-r-- 1 jenkins jenkins 620 Oct 17 05:20 OWNERS.md 05:24:44 -rw-rw-r-- 1 jenkins jenkins 10054 Oct 17 05:20 README.md 05:24:44 -rw-rw-r-- 1 jenkins jenkins 12 Oct 17 05:19 VERSION 05:24:44 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 05:20 bin 05:24:44 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 05:20 cmd 05:24:44 -rw-r--r-- 1 jenkins jenkins 7631 Oct 17 05:24 coverage.out 05:24:44 -rw-rw-r-- 1 jenkins jenkins 3473 Oct 17 05:20 go.mod 05:24:44 -rw-rw-r-- 1 jenkins jenkins 38138 Oct 17 05:20 go.sum 05:24:44 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 05:20 internal 05:24:44 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 05:20 snap 05:24:44 -rw-rw-r-- 1 jenkins jenkins 228 Oct 17 05:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:24:45 + 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=4d140b7d88f2fb2bd597ea15c42e7db009f8976b --label arch=arm64 --label version=2.3.0-dev.18 . 05:24:45 Sending build context to Docker daemon 2.851MB 05:24:45 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 05:24:45 Step 2/25 : FROM ${BASE} AS builder 05:24:45 ---> 8584aa21b17d 05:24:45 Step 3/25 : ARG ADD_BUILD_TAGS="" 05:24:45 ---> Running in a21b2c4436f1 05:24:45 Removing intermediate container a21b2c4436f1 05:24:45 ---> 29fd6dfba183 05:24:45 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:24:46 ---> Running in ba0467911f39 05:24:46 Removing intermediate container ba0467911f39 05:24:46 ---> 51f94432d89c 05:24:46 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:24:46 ---> Running in 7ecae3c2382b 05:24:46 Removing intermediate container 7ecae3c2382b 05:24:46 ---> 2e35730390df 05:24:46 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 05:24:46 ---> Running in 251d8ddf7ac3 05:24:46 Removing intermediate container 251d8ddf7ac3 05:24:46 ---> eca6579ec692 05:24:46 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:24:46 ---> Running in 5ec8b4f135d6 05:24:48 Removing intermediate container 5ec8b4f135d6 05:24:48 ---> 68c6c6329c6f 05:24:48 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:24:48 ---> Running in 0669d7385d57 05:24:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:24:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:24:51 OK: 226 MiB in 55 packages 05:24:52 Removing intermediate container 0669d7385d57 05:24:52 ---> c7891f108d7b 05:24:52 Step 9/25 : WORKDIR /device-snmp-go 05:24:52 ---> Running in fccc14d97735 05:24:52 Removing intermediate container fccc14d97735 05:24:52 ---> db94cd8f7fd5 05:24:52 Step 10/25 : COPY go.mod vendor* ./ 05:24:53 ---> 5d99e9759dd7 05:24:53 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:24:53 ---> Running in cdc6202b72b8 05:24:55 Removing intermediate container cdc6202b72b8 05:24:55 ---> 70528744dd0e 05:24:55 Step 12/25 : COPY . . 05:24:56 ---> d5688a871050 05:24:56 Step 13/25 : RUN ${MAKE} 05:24:56 ---> Running in 2567f12fd71e 05:24:57 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.40 -X github.com/edgexfoundry/device-snmp-go.Version=2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 05:27:33 Removing intermediate container 2567f12fd71e 05:27:33 ---> 6e1af2a44a26 05:27:33 Step 14/25 : FROM alpine:3.16 05:27:33 3.16: Pulling from library/alpine 05:27:33 9b18e9b68314: Already exists 05:27:33 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 05:27:33 Status: Downloaded newer image for alpine:3.16 05:27:33 ---> a6215f271958 05:27:33 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 05:27:33 ---> Running in 41ea01849fb5 05:27:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:27:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:27:34 (1/6) Installing dumb-init (1.2.5-r1) 05:27:34 (2/6) Installing libgcc (11.2.1_git20220219-r2) 05:27:34 (3/6) Installing libsodium (1.0.18-r0) 05:27:34 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 05:27:34 (5/6) Installing libzmq (4.3.4-r0) 05:27:34 (6/6) Installing zeromq (4.3.4-r0) 05:27:34 Executing busybox-1.35.0-r17.trigger 05:27:34 OK: 8 MiB in 20 packages 05:27:36 Removing intermediate container 41ea01849fb5 05:27:36 ---> a68bae5ca424 05:27:36 Step 16/25 : COPY --from=builder /device-snmp-go/cmd / 05:27:38 ---> dfe70c5ad5cf 05:27:38 Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:27:38 ---> 5550998c19b8 05:27:38 Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / 05:27:38 ---> fc9c9f805068 05:27:38 Step 19/25 : EXPOSE 59993 05:27:38 ---> Running in 825c035edfee 05:27:39 Removing intermediate container 825c035edfee 05:27:39 ---> 63c25705697e 05:27:39 Step 20/25 : EXPOSE 161 05:27:39 ---> Running in 2bbeec2832b5 05:27:39 Removing intermediate container 2bbeec2832b5 05:27:39 ---> 25d2167038e5 05:27:39 Step 21/25 : ENTRYPOINT ["/device-snmp"] 05:27:39 ---> Running in aa0b44251d59 05:27:39 Removing intermediate container aa0b44251d59 05:27:39 ---> 61f03339e548 05:27:39 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 05:27:39 ---> Running in 3c342308a10c 05:27:40 Removing intermediate container 3c342308a10c 05:27:40 ---> 424bdb7881ed 05:27:40 Step 23/25 : LABEL arch=arm64 05:27:40 ---> Running in 9c4f7c5af573 05:27:40 Removing intermediate container 9c4f7c5af573 05:27:40 ---> 37642bd42dd4 05:27:40 Step 24/25 : LABEL git_sha=4d140b7d88f2fb2bd597ea15c42e7db009f8976b 05:27:40 ---> Running in 27590e1b2b4e 05:27:40 Removing intermediate container 27590e1b2b4e 05:27:40 ---> f443f8d46a17 05:27:40 Step 25/25 : LABEL version=2.3.0-dev.18 05:27:41 ---> Running in 47d66c206f39 05:27:41 Removing intermediate container 47d66c206f39 05:27:41 ---> 1c8c707c4531 05:27:41 [Warning] One or more build-args [ARCH] were not consumed 05:27:41 Successfully built 1c8c707c4531 05:27:41 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 05:27:41 provisioning config files... 05:27:41 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/49@tmp/config10606450875843690155tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:27:41 ---> docker-login.sh 05:27:41 nexus3.edgexfoundry.org:10001 05:27:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:27:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:27:42 Configure a credential helper to remove this warning. See 05:27:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:27:42 05:27:42 Login Succeeded 05:27:42 nexus3.edgexfoundry.org:10002 05:27:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:27:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:27:42 Configure a credential helper to remove this warning. See 05:27:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:27:42 05:27:42 Login Succeeded 05:27:42 nexus3.edgexfoundry.org:10003 05:27:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:27:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:27:42 Configure a credential helper to remove this warning. See 05:27:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:27:42 05:27:42 Login Succeeded 05:27:42 nexus3.edgexfoundry.org:10004 05:27:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:27:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:27:43 Configure a credential helper to remove this warning. See 05:27:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:27:43 05:27:43 Login Succeeded 05:27:43 docker.io 05:27:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:27:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:27:43 Configure a credential helper to remove this warning. See 05:27:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:27:43 05:27:43 Login Succeeded 05:27:43 ---> docker-login.sh ends [Pipeline] } 05:27:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:27:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:27:43 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 05:27:43 4d140b7d88f2fb2bd597ea15c42e7db009f8976b 05:27:43 latest 05:27:43 2.3.0-dev.18 05:27:43 4d140b7d88f2fb2bd597ea15c42e7db009f8976b-2.3.0-dev.18 05:27:43 main 05:27:43 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:43 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:4d140b7d88f2fb2bd597ea15c42e7db009f8976b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:44 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:4d140b7d88f2fb2bd597ea15c42e7db009f8976b 05:27:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 05:27:44 6584eeb25bb4: Preparing 05:27:44 746cb7ecbc87: Preparing 05:27:44 049bde368e76: Preparing 05:27:44 aa69bbaaa040: Preparing 05:27:44 5d3e392a13a0: Preparing 05:27:44 5d3e392a13a0: Layer already exists 05:27:44 746cb7ecbc87: Pushed 05:27:44 6584eeb25bb4: Pushed 05:27:45 aa69bbaaa040: Pushed 05:27:49 049bde368e76: Pushed 05:27:49 4d140b7d88f2fb2bd597ea15c42e7db009f8976b: digest: sha256:ee9b3e534919db4589bde32384213fa58101ea9bc9424f13624a342e83e1b26f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:50 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:50 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 05:27:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 05:27:50 6584eeb25bb4: Preparing 05:27:50 746cb7ecbc87: Preparing 05:27:50 049bde368e76: Preparing 05:27:50 aa69bbaaa040: Preparing 05:27:50 5d3e392a13a0: Preparing 05:27:50 aa69bbaaa040: Layer already exists 05:27:50 6584eeb25bb4: Layer already exists 05:27:50 049bde368e76: Layer already exists 05:27:50 5d3e392a13a0: Layer already exists 05:27:50 746cb7ecbc87: Layer already exists 05:27:50 latest: digest: sha256:ee9b3e534919db4589bde32384213fa58101ea9bc9424f13624a342e83e1b26f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:50 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:51 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.18 05:27:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 05:27:51 6584eeb25bb4: Preparing 05:27:51 746cb7ecbc87: Preparing 05:27:51 049bde368e76: Preparing 05:27:51 aa69bbaaa040: Preparing 05:27:51 5d3e392a13a0: Preparing 05:27:51 746cb7ecbc87: Layer already exists 05:27:51 049bde368e76: Layer already exists 05:27:51 aa69bbaaa040: Layer already exists 05:27:51 5d3e392a13a0: Layer already exists 05:27:51 6584eeb25bb4: Layer already exists 05:27:51 2.3.0-dev.18: digest: sha256:ee9b3e534919db4589bde32384213fa58101ea9bc9424f13624a342e83e1b26f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:51 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:4d140b7d88f2fb2bd597ea15c42e7db009f8976b-2.3.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:52 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:4d140b7d88f2fb2bd597ea15c42e7db009f8976b-2.3.0-dev.18 05:27:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 05:27:52 6584eeb25bb4: Preparing 05:27:52 746cb7ecbc87: Preparing 05:27:52 049bde368e76: Preparing 05:27:52 aa69bbaaa040: Preparing 05:27:52 5d3e392a13a0: Preparing 05:27:52 746cb7ecbc87: Layer already exists 05:27:52 5d3e392a13a0: Layer already exists 05:27:52 aa69bbaaa040: Layer already exists 05:27:52 049bde368e76: Layer already exists 05:27:52 6584eeb25bb4: Layer already exists 05:27:52 4d140b7d88f2fb2bd597ea15c42e7db009f8976b-2.3.0-dev.18: digest: sha256:ee9b3e534919db4589bde32384213fa58101ea9bc9424f13624a342e83e1b26f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:52 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:52 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 05:27:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 05:27:52 6584eeb25bb4: Preparing 05:27:52 746cb7ecbc87: Preparing 05:27:52 049bde368e76: Preparing 05:27:52 aa69bbaaa040: Preparing 05:27:52 5d3e392a13a0: Preparing 05:27:52 5d3e392a13a0: Layer already exists 05:27:52 746cb7ecbc87: Layer already exists 05:27:52 049bde368e76: Layer already exists 05:27:52 6584eeb25bb4: Layer already exists 05:27:52 aa69bbaaa040: Layer already exists 05:27:52 main: digest: sha256:ee9b3e534919db4589bde32384213fa58101ea9bc9424f13624a342e83e1b26f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:27:52 ===================================================== [Pipeline] echo 05:27:52 taggedImages: 05:27:52 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:4d140b7d88f2fb2bd597ea15c42e7db009f8976b 05:27:52 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 05:27:52 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.18 05:27:52 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:4d140b7d88f2fb2bd597ea15c42e7db009f8976b-2.3.0-dev.18 05:27:52 - 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 05:27:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:27:53 05:27:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:27:53 arm64: Pulling from edgex-lftools-log-publisher 05:27:53 8998bd30e6a1: Pulling fs layer 05:27:53 04944245beec: Pulling fs layer 05:27:53 699f458cf7ca: Pulling fs layer 05:27:53 765212b225bb: Pulling fs layer 05:27:53 f23df028b6ca: Pulling fs layer 05:27:53 d65c8cfc05b1: Pulling fs layer 05:27:53 2437ff75d9bd: Pulling fs layer 05:27:53 d65c8cfc05b1: Waiting 05:27:53 2437ff75d9bd: Waiting 05:27:53 765212b225bb: Waiting 05:27:53 f23df028b6ca: Waiting 05:27:53 04944245beec: Verifying Checksum 05:27:53 04944245beec: Download complete 05:27:53 765212b225bb: Verifying Checksum 05:27:53 765212b225bb: Download complete 05:27:53 f23df028b6ca: Verifying Checksum 05:27:53 f23df028b6ca: Download complete 05:27:53 d65c8cfc05b1: Verifying Checksum 05:27:53 d65c8cfc05b1: Download complete 05:27:53 699f458cf7ca: Verifying Checksum 05:27:53 699f458cf7ca: Download complete 05:27:54 8998bd30e6a1: Verifying Checksum 05:27:54 8998bd30e6a1: Download complete 05:27:56 2437ff75d9bd: Verifying Checksum 05:27:56 2437ff75d9bd: Download complete 05:27:58 8998bd30e6a1: Pull complete 05:27:58 04944245beec: Pull complete 05:27:59 699f458cf7ca: Pull complete 05:27:59 765212b225bb: Pull complete 05:28:00 f23df028b6ca: Pull complete 05:28:00 d65c8cfc05b1: Pull complete 05:28:15 2437ff75d9bd: Pull complete 05:28:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:28:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:28:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:28:16 prd-ubuntu20.04-docker-arm64-4c-16g-8028 does not seem to be running inside a container 05:28:16 $ 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/49 -v /w/workspace/device-snmp-go/49:/w/workspace/device-snmp-go/49:rw,z -v /w/workspace/device-snmp-go/49@tmp:/w/workspace/device-snmp-go/49@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 05:28:18 $ docker top 1a3e4748a6394b238f567100bd36160fab70b3fa19d4556b583a191f090b9bd5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:28:19 ---> job-cost.sh 05:28:19 lf-activate-venv: SKIPPING 05:28:19 INFO: No Stack... 05:28:19 INFO: Retrieving Pricing Info for: v3-standard-4 05:28:20 INFO: Archiving Costs [Pipeline] sh 05:28:21 + cat /w/workspace/device-snmp-go/49/archives/cost.csv 05:28:21 + cut -d, -f6 [Pipeline] lock 05:28:21 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-49-stack-cost] 05:28:21 Resource [jenkins-edgexfoundry-device-snmp-go-main-49-stack-cost] did not exist. Created. 05:28:21 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-49-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:28:21 /w/workspace/device-snmp-go/49@tmp/durable-ece0ecc8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:28:22 + echo total: 0.10999999940395355 [Pipeline] stash 05:28:22 Warning: overwriting stash ‘stack-cost’ 05:28:22 Stashed 1 file(s) [Pipeline] } 05:28:22 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-49-stack-cost] [Pipeline] // lock [Pipeline] } 05:28:22 $ docker stop --time=1 1a3e4748a6394b238f567100bd36160fab70b3fa19d4556b583a191f090b9bd5 05:28:24 $ docker rm -f 1a3e4748a6394b238f567100bd36160fab70b3fa19d4556b583a191f090b9bd5 [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 05:28:24 provisioning config files... 05:28:24 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config13751536935725925015tmp [Pipeline] { [Pipeline] sh 05:28:24 + set +x 05:28:24 + curl -s https://codecov.io/bash 05:28:24 + bash -s -- 05:28:24 05:28:24 _____ _ 05:28:24 / ____| | | 05:28:24 | | ___ __| | ___ ___ _____ __ 05:28:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:28:24 | |___| (_) | (_| | __/ (_| (_) \ V / 05:28:24 \_____\___/ \__,_|\___|\___\___/ \_/ 05:28:24 Bash-1.0.6 05:28:24 05:28:24 05:28:24 ==> git version 2.25.1 found 05:28:24 ==> 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 05:28:24 Release-Date: 2020-01-08 05:28:24 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:28:24 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:28:24 ==> Jenkins CI detected. 05:28:24 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 05:28:24 project root: . 05:28:24 --> token set from env 05:28:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:28:24 ==> Running gcov in . (disable via -X gcov) 05:28:24 ==> Python coveragepy not found 05:28:24 ==> Searching for coverage reports in: 05:28:24 + . 05:28:24 -> Found 1 reports 05:28:24 ==> Detecting git/mercurial file structure 05:28:24 ==> Reading reports 05:28:24 + ./coverage.out bytes=7631 05:28:24 ==> Appending adjustments 05:28:24 https://docs.codecov.io/docs/fixing-reports 05:28:25 + Found adjustments 05:28:25 ==> Gzipping contents 05:28:25 4.0K /tmp/codecov.ZiDIcw.gz 05:28:25 ==> Uploading reports 05:28:25 url: https://codecov.io 05:28:25 query: branch=main&commit=4d140b7d88f2fb2bd597ea15c42e7db009f8976b&build=49&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F49%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:28:25 -> Pinging Codecov 05:28:25 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=4d140b7d88f2fb2bd597ea15c42e7db009f8976b&build=49&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F49%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:28:25 -> Uploading to 05:28:25 https://storage.googleapis.com/codecov/v4/raw/2022-10-17/6C56EA5C29638FB4528AC87E60AF5AE0/4d140b7d88f2fb2bd597ea15c42e7db009f8976b/aab6551c-e98e-4eeb-929f-7facb8fb6182.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221017%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221017T052825Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1c80a773903a567b19ed73a2a9e7b7a93c31a23a7f5ad9a6fb6e85f38d69622e 05:28:25 % Total % Received % Xferd Average Speed Time Time Time Current 05:28:25 Dload Upload Total Spent Left Speed 05:28:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1543 0 0 100 1543 0 6349 --:--:-- --:--:-- --:--:-- 6349 05:28:25 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/4d140b7d88f2fb2bd597ea15c42e7db009f8976b [Pipeline] } 05:28:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:28:25 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:28:25 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:28:26 05:28:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:28:26 1.410.4: Pulling from edgex-devops/edgex-snyk-go 05:28:26 df9b9388f04a: Pulling fs layer 05:28:26 52dc419b0ee2: Pulling fs layer 05:28:26 25bc292e5bac: Pulling fs layer 05:28:26 114826534d7a: Pulling fs layer 05:28:26 4657fd5d0bcf: Pulling fs layer 05:28:26 6ad1cebc031e: Pulling fs layer 05:28:26 8a3aa393b2d8: Pulling fs layer 05:28:26 4657fd5d0bcf: Waiting 05:28:26 6ad1cebc031e: Waiting 05:28:26 8a3aa393b2d8: Waiting 05:28:26 114826534d7a: Waiting 05:28:26 25bc292e5bac: Verifying Checksum 05:28:26 25bc292e5bac: Download complete 05:28:26 52dc419b0ee2: Download complete 05:28:26 4657fd5d0bcf: Verifying Checksum 05:28:26 4657fd5d0bcf: Download complete 05:28:26 df9b9388f04a: Verifying Checksum 05:28:26 df9b9388f04a: Download complete 05:28:26 6ad1cebc031e: Verifying Checksum 05:28:26 6ad1cebc031e: Download complete 05:28:26 df9b9388f04a: Pull complete 05:28:26 52dc419b0ee2: Pull complete 05:28:26 25bc292e5bac: Pull complete 05:28:27 114826534d7a: Verifying Checksum 05:28:27 114826534d7a: Download complete 05:28:27 8a3aa393b2d8: Verifying Checksum 05:28:27 8a3aa393b2d8: Download complete 05:28:31 114826534d7a: Pull complete 05:28:31 4657fd5d0bcf: Pull complete 05:28:31 6ad1cebc031e: Pull complete 05:28:34 8a3aa393b2d8: Pull complete 05:28:34 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 05:28:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:28:34 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:28:34 prd-ubuntu20.04-docker-8c-8g-8026 does not seem to be running inside a container 05:28:34 $ 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 05:28:38 $ docker top eccbdb684823549056c7fac72909d46a647f769befc17de7a05935938d849682 -eo pid,comm [Pipeline] { [Pipeline] echo 05:28:38 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh 05:28:38 + set -o pipefail 05:28:38 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' 05:28:45 05:28:45 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 05:28:45 05:28:45 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/a5d73783-cd96-4649-9b38-845b341a4e87 05:28:45 05:28:45 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 05:28:45 05:28:45 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:28:45 05:28:45 05:28:45 A medium severity vulnerability was found in the Snyk CLI versions you are using. 05:28:45 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 05:28:45 More details here: https://snyk.co/ue1NS [Pipeline] } 05:28:45 $ docker stop --time=1 eccbdb684823549056c7fac72909d46a647f769befc17de7a05935938d849682 05:28:48 $ docker rm -f eccbdb684823549056c7fac72909d46a647f769befc17de7a05935938d849682 [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 05:28:49 + git log --format=format:%s -1 4d140b7d88f2fb2bd597ea15c42e7db009f8976b [Pipeline] sh 05:28:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:28:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:28:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:28:49 prd-ubuntu20.04-docker-8c-8g-8026 does not seem to be running inside a container 05:28:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:28:50 $ docker top 4f19ff723ba84f5e49febab2b6f186845bb9b5681074e8f2cd9675fb8ef17e1e -eo pid,comm 05:28:50 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). 05:28:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:28:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:28:50 [ssh-agent] Looking for ssh-agent implementation... 05:28:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:28:50 $ docker exec 4f19ff723ba84f5e49febab2b6f186845bb9b5681074e8f2cd9675fb8ef17e1e ssh-agent 05:28:50 SSH_AUTH_SOCK=/tmp/ssh-cLdnGWj6HeFK/agent.33 05:28:50 SSH_AGENT_PID=39 05:28:50 Running ssh-add (command line suppressed) 05:28:50 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_15736576328143150465.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_15736576328143150465.key) 05:28:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:28:50 + git semver tag 05:28:51 2022-10-17 05:28:51,067 [run_tag] DEBUG tag force:False 05:28:51 2022-10-17 05:28:51,067 [check_head_tag] DEBUG check head tag 05:28:51 2022-10-17 05:28:51,068 [execute] INFO git cat-file --batch-check 05:28:51 2022-10-17 05:28:51,068 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 05:28:51 2022-10-17 05:28:51,073 [execute] INFO git cat-file --batch 05:28:51 2022-10-17 05:28:51,073 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 05:28:51 2022-10-17 05:28:51,087 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 05:28:51 2022-10-17 05:28:51,087 [execute] INFO git tag -a v2.3.0-dev.18 -m v2.3.0-dev.18 05:28:51 2022-10-17 05:28:51,087 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.18', '-m', 'v2.3.0-dev.18'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 05:28:51 2022-10-17 05:28:51,092 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 05:28:51 2.3.0-dev.18 [Pipeline] } 05:28:51 $ docker exec --env ******** --env ******** 4f19ff723ba84f5e49febab2b6f186845bb9b5681074e8f2cd9675fb8ef17e1e ssh-agent -k 05:28:51 unset SSH_AUTH_SOCK; 05:28:51 unset SSH_AGENT_PID; 05:28:51 echo Agent pid 39 killed; 05:28:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:28:51 + git semver [Pipeline] } 05:28:51 $ docker stop --time=1 4f19ff723ba84f5e49febab2b6f186845bb9b5681074e8f2cd9675fb8ef17e1e 05:28:53 $ docker rm -f 4f19ff723ba84f5e49febab2b6f186845bb9b5681074e8f2cd9675fb8ef17e1e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:28:53 05:28:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:28:53 0.23.1-centos7: Pulling from edgex-lftools 05:28:53 ab5ef0e58194: Pulling fs layer 05:28:53 9712f1f96733: Pulling fs layer 05:28:53 63f879dbbcfc: Pulling fs layer 05:28:53 0d9ebad4ef96: Pulling fs layer 05:28:53 e9a5061849ea: Pulling fs layer 05:28:53 d747dcd14b5f: Pulling fs layer 05:28:53 2de7ff778b66: Pulling fs layer 05:28:53 d747dcd14b5f: Waiting 05:28:53 2de7ff778b66: Waiting 05:28:53 9712f1f96733: Verifying Checksum 05:28:53 9712f1f96733: Download complete 05:28:54 63f879dbbcfc: Verifying Checksum 05:28:54 63f879dbbcfc: Download complete 05:28:54 0d9ebad4ef96: Verifying Checksum 05:28:54 0d9ebad4ef96: Download complete 05:28:54 d747dcd14b5f: Download complete 05:28:54 e9a5061849ea: Verifying Checksum 05:28:54 e9a5061849ea: Download complete 05:28:54 ab5ef0e58194: Verifying Checksum 05:28:54 ab5ef0e58194: Download complete 05:28:54 2de7ff778b66: Verifying Checksum 05:28:54 2de7ff778b66: Download complete 05:28:57 ab5ef0e58194: Pull complete 05:28:57 9712f1f96733: Pull complete 05:28:57 63f879dbbcfc: Pull complete 05:29:02 0d9ebad4ef96: Pull complete 05:29:02 e9a5061849ea: Pull complete 05:29:02 d747dcd14b5f: Pull complete 05:29:03 2de7ff778b66: Pull complete 05:29:03 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:29:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:29:03 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:29:03 prd-ubuntu20.04-docker-8c-8g-8026 does not seem to be running inside a container 05:29:03 $ 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 05:29:08 $ docker top 754396be2747b1b77134e51e588414947e20b0a88d512f89d8147a8a0a57911a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:29:08 provisioning config files... 05:29:08 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config18424234265438472211tmp 05:29:08 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config17519738653343185653tmp 05:29:08 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config13922165727253181343tmp [Pipeline] { [Pipeline] echo 05:29:08 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:29:08 ---> sigul-configuration.sh 05:29:08 gpg: directory `/root/.gnupg' created 05:29:08 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:29:08 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:29:08 gpg: keyring `/root/.gnupg/secring.gpg' created 05:29:08 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:29:08 gpg: CAST5 encrypted data 05:29:08 gpg: encrypted with 1 passphrase 05:29:08 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:29:08 + mkdir /home/jenkins 05:29:08 + mkdir /home/jenkins/sigul [Pipeline] sh 05:29:09 + 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 05:29:09 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:29:09 ---> sigul-install.sh 05:29:09 Sigul already installed; skipping installation. [Pipeline] sh 05:29:09 + git tag --list 05:29:09 1.0.0 05:29:09 v0.0.0 05:29:09 v1.1.0 05:29:09 v1.1.1 05:29:09 v1.2.2 05:29:09 v1.3.0 05:29:09 v1.3.1 05:29:09 v2.0.0 05:29:09 v2.1.0 05:29:09 v2.1.1 05:29:09 v2.1.1-dev.2 05:29:09 v2.1.1-dev.3 05:29:09 v2.2.0 05:29:09 v2.2.1-dev.1 05:29:09 v2.2.1-dev.2 05:29:09 v2.2.1-dev.3 05:29:09 v2.2.1-dev.4 05:29:09 v2.2.1-dev.5 05:29:09 v2.2.1-dev.6 05:29:09 v2.2.1-dev.7 05:29:09 v2.3.0-dev.10 05:29:09 v2.3.0-dev.11 05:29:09 v2.3.0-dev.12 05:29:09 v2.3.0-dev.13 05:29:09 v2.3.0-dev.14 05:29:09 v2.3.0-dev.15 05:29:09 v2.3.0-dev.16 05:29:09 v2.3.0-dev.17 05:29:09 v2.3.0-dev.18 05:29:09 v2.3.0-dev.7 05:29:09 v2.3.0-dev.8 05:29:09 v2.3.0-dev.9 [Pipeline] sh 05:29:10 + lftools sign git-tag v2.3.0-dev.18 05:29:10 Signing Git tag with Sigul... 05:29:10 Signing v2.3.0-dev.18 [Pipeline] echo 05:29:11 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:29:11 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:29:11 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:29:11 $ docker stop --time=1 754396be2747b1b77134e51e588414947e20b0a88d512f89d8147a8a0a57911a 05:29:12 $ docker rm -f 754396be2747b1b77134e51e588414947e20b0a88d512f89d8147a8a0a57911a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:29:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:29:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:29:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:29:13 prd-ubuntu20.04-docker-8c-8g-8026 does not seem to be running inside a container 05:29:13 $ 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 05:29:13 $ docker top 592d8ea4be679485bd5a5ead44cb8d8f630c0b3223ed4b5f526e950b45084694 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:29:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:29:13 [ssh-agent] Looking for ssh-agent implementation... 05:29:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:29:14 $ docker exec 592d8ea4be679485bd5a5ead44cb8d8f630c0b3223ed4b5f526e950b45084694 ssh-agent 05:29:14 SSH_AUTH_SOCK=/tmp/ssh-jHOH9GqetVE9/agent.32 05:29:14 SSH_AGENT_PID=38 05:29:14 Running ssh-add (command line suppressed) 05:29:14 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16773131656115096376.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16773131656115096376.key) 05:29:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:29:14 + git semver bump pre 05:29:14 2022-10-17 05:29:14,821 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 05:29:14 2022-10-17 05:29:14,821 [bump_version] DEBUG bumping version:2.3.0-dev.18 on axis:pre with prefix:dev 05:29:14 2022-10-17 05:29:14,821 [bump_version] DEBUG bumped version:2.3.0-dev.19 05:29:14 2022-10-17 05:29:14,821 [write_version] DEBUG write version:2.3.0-dev.19 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True 05:29:14 2022-10-17 05:29:14,821 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 05:29:14 2022-10-17 05:29:14,821 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 05:29:14 2022-10-17 05:29:14,823 [execute] INFO git cat-file --batch-check 05:29:14 2022-10-17 05:29:14,823 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:29:14 2022-10-17 05:29:14,828 [execute] INFO git cat-file --batch 05:29:14 2022-10-17 05:29:14,828 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:29:14 2022-10-17 05:29:14,832 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 05:29:14 2.3.0-dev.19 [Pipeline] } 05:29:14 $ docker exec --env ******** --env ******** 592d8ea4be679485bd5a5ead44cb8d8f630c0b3223ed4b5f526e950b45084694 ssh-agent -k 05:29:15 unset SSH_AUTH_SOCK; 05:29:15 unset SSH_AGENT_PID; 05:29:15 echo Agent pid 38 killed; 05:29:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:29:15 + git semver [Pipeline] } 05:29:15 $ docker stop --time=1 592d8ea4be679485bd5a5ead44cb8d8f630c0b3223ed4b5f526e950b45084694 05:29:16 $ docker rm -f 592d8ea4be679485bd5a5ead44cb8d8f630c0b3223ed4b5f526e950b45084694 [Pipeline] // withDockerContainer [Pipeline] sh 05:29:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:29:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:29:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:29:17 prd-ubuntu20.04-docker-8c-8g-8026 does not seem to be running inside a container 05:29:17 $ 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 05:29:17 $ docker top 2255d30dcfea636a4e6b0ded3f2855dbf9f0e76b3306a171f4390da7068944a8 -eo pid,comm 05:29:18 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:29:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:29:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:29:18 [ssh-agent] Looking for ssh-agent implementation... 05:29:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:29:18 $ docker exec 2255d30dcfea636a4e6b0ded3f2855dbf9f0e76b3306a171f4390da7068944a8 ssh-agent 05:29:18 SSH_AUTH_SOCK=/tmp/ssh-6tlmrjN6GcTc/agent.31 05:29:18 SSH_AGENT_PID=37 05:29:18 Running ssh-add (command line suppressed) 05:29:18 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_10705260293076951882.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_10705260293076951882.key) 05:29:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:29:18 + git semver push 05:29:18 2022-10-17 05:29:18,887 [run_push] DEBUG push 05:29:18 2022-10-17 05:29:18,888 [execute] INFO git cat-file --batch-check 05:29:18 2022-10-17 05:29:18,889 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:29:18 2022-10-17 05:29:18,893 [execute] INFO git rev-list 8f826185f2776cc19084cb84d2be1c88cfa13f19 -- 05:29:18 2022-10-17 05:29:18,893 [execute] DEBUG Popen(['git', 'rev-list', '8f826185f2776cc19084cb84d2be1c88cfa13f19', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:29:18 2022-10-17 05:29:18,901 [execute] INFO git fetch -v origin 05:29:18 2022-10-17 05:29:18,902 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) 05:29:19 2022-10-17 05:29:19,427 [run_push] DEBUG no remote changes detected 05:29:19 2022-10-17 05:29:19,427 [execute] INFO git push origin semver 05:29:19 2022-10-17 05:29:19,427 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:29:20 2022-10-17 05:29:20,184 [run_push] DEBUG push all version tags 05:29:20 2022-10-17 05:29:20,185 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 05:29:20 2022-10-17 05:29:20,185 [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) 05:29:21 2022-10-17 05:29:20,975 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 05:29:21 2.3.0-dev.19 [Pipeline] } 05:29:21 $ docker exec --env ******** --env ******** 2255d30dcfea636a4e6b0ded3f2855dbf9f0e76b3306a171f4390da7068944a8 ssh-agent -k 05:29:21 unset SSH_AUTH_SOCK; 05:29:21 unset SSH_AGENT_PID; 05:29:21 echo Agent pid 37 killed; 05:29:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:29:21 + git semver [Pipeline] } 05:29:21 $ docker stop --time=1 2255d30dcfea636a4e6b0ded3f2855dbf9f0e76b3306a171f4390da7068944a8 05:29:23 $ docker rm -f 2255d30dcfea636a4e6b0ded3f2855dbf9f0e76b3306a171f4390da7068944a8 [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 05:29:23 + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] 05:29:23 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 05:29:23 total 16 05:29:23 drwxr-xr-x 3 root root 4096 Oct 17 05:20 . 05:29:23 drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 05:29 .. 05:29:23 drwxr-xr-x 2 root root 4096 Oct 17 05:20 cost 05:29:23 -rw-r--r-- 1 root root 85 Oct 17 05:20 cost.csv 05:29:23 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives 05:29:23 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 05:29:23 total 16 05:29:23 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 05:20 . 05:29:23 drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 05:29 .. 05:29:23 drwxr-xr-x 2 jenkins jenkins 4096 Oct 17 05:20 cost 05:29:23 -rw-r--r-- 1 jenkins jenkins 85 Oct 17 05:20 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:29:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:29:24 ---> package-listing.sh 05:29:24 ++ facter osfamily 05:29:24 ++ tr '[:upper:]' '[:lower:]' 05:29:25 + OS_FAMILY=debian 05:29:25 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 05:29:25 + START_PACKAGES=/tmp/packages_start.txt 05:29:25 + END_PACKAGES=/tmp/packages_end.txt 05:29:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:29:25 + PACKAGES=/tmp/packages_start.txt 05:29:25 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 05:29:25 + PACKAGES=/tmp/packages_end.txt 05:29:25 + case "${OS_FAMILY}" in 05:29:25 + dpkg -l 05:29:25 + grep '^ii' 05:29:25 + '[' -f /tmp/packages_start.txt ']' 05:29:25 + '[' -f /tmp/packages_end.txt ']' 05:29:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:29:25 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 05:29:25 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 05:29:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo 05:29:25 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 05:29:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:29:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:29:26 prd-ubuntu20.04-docker-8c-8g-8026 does not seem to be running inside a container 05:29:26 $ 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 05:29:26 $ docker top 275b4eefe32f8a0eb70f1eb08f40516914a87a3594cc51646b898c2072a304c7 -eo pid,comm [Pipeline] { [Pipeline] sh 05:29:26 + touch /tmp/pre-build-complete [Pipeline] sh 05:29:26 + mkdir -p /var/log/sysstat [Pipeline] sh 05:29:27 + ls /var/log/sa-host 05:29:27 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:29:27 provisioning config files... 05:29:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7529580609539131207tmp [Pipeline] { [Pipeline] echo 05:29:27 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:29:27 ---> create-netrc.sh [Pipeline] } 05:29:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:29:27 ---> python-tools-install.sh [Pipeline] echo 05:29:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:29:28 ---> sudo-logs.sh 05:29:28 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:29:28 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:29:28 ---> job-cost.sh 05:29:28 lf-activate-venv: SKIPPING 05:29:28 DEBUG: total: 0.2199999988079071 05:29:28 INFO: Retrieving Stack Cost... 05:29:29 INFO: Retrieving Pricing Info for: v3-standard-8 05:29:29 INFO: Archiving Costs [Pipeline] echo 05:29:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:29:29 ---> logs-deploy.sh 05:29:29 lf-activate-venv: SKIPPING 05:29:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/49 05:29:29 INFO: archiving workspace using pattern(s): 05:29:30 Archives upload complete. 05:29:30 INFO: archiving logs to Nexus