Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c5649ddb8ffd305e282f5692e5ab02afc05b76b1 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-ssh17410118962532242029.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-ssh10470233484687732630.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-ssh1638819584722746623.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-ssh4951670596039955880.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-ssh12192763722134536438.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 Running on prd-ubuntu20.04-docker-8c-8g-8278 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 c5649ddb8ffd305e282f5692e5ab02afc05b76b1 (main) Commit message: "feat(snap): add config interface with unique identifier (#197)" > 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 c5649ddb8ffd305e282f5692e5ab02afc05b76b1 # timeout=10 > git rev-list --no-walk 4d140b7d88f2fb2bd597ea15c42e7db009f8976b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:47:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:47:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:47:04 ========================================================= 09:47:04 EdgeX Global Pipelines Version Info 09:47:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:47:05 ------------------- 09:47:05 stable info: 09:47:05 ------------------- 09:47:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:47:05 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 09:47:05 Message: update stable to v1.0.239 09:47:05 ------------------- 09:47:05 experimental info: 09:47:05 ------------------- 09:47:05 Commited By: **** collab-it+edgex@linuxfoundation.org 09:47:05 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 09:47:05 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:47:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 09:47:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 09:47:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:47:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:47:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:47:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 09:47:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:47:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:47:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:47:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:47:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:47:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 09:47:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:47:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:47:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:47:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:47:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:47:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:47:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:47:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:47:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:47:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:47:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:47:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:47:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:47:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:47:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:47:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 09:47:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 09:47:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 09:47:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c5649ddb8ffd305e282f5692e5ab02afc05b76b1 [Pipeline] echo 09:47:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c5649dd [Pipeline] echo 09:47:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:47:06 provisioning config files... 09:47:06 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config14036176089884763951tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:47:06 ---> docker-login.sh 09:47:06 nexus3.edgexfoundry.org:10001 09:47:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:47:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:47:06 Configure a credential helper to remove this warning. See 09:47:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:47:06 09:47:06 Login Succeeded 09:47:06 nexus3.edgexfoundry.org:10002 09:47:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:47:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:47:06 Configure a credential helper to remove this warning. See 09:47:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:47:06 09:47:06 Login Succeeded 09:47:06 nexus3.edgexfoundry.org:10003 09:47:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:47:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:47:07 Configure a credential helper to remove this warning. See 09:47:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:47:07 09:47:07 Login Succeeded 09:47:07 nexus3.edgexfoundry.org:10004 09:47:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:47:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:47:07 Configure a credential helper to remove this warning. See 09:47:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:47:07 09:47:07 Login Succeeded 09:47:07 docker.io 09:47:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:47:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:47:07 Configure a credential helper to remove this warning. See 09:47:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:47:07 09:47:07 Login Succeeded 09:47:07 ---> docker-login.sh ends [Pipeline] } 09:47:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:47:08 + git rev-list -1 --merges c5649ddb8ffd305e282f5692e5ab02afc05b76b1~1..c5649ddb8ffd305e282f5692e5ab02afc05b76b1 [Pipeline] echo 09:47:08 -----------> git rev-list -1 --merges c5649ddb8ffd305e282f5692e5ab02afc05b76b1~1..c5649ddb8ffd305e282f5692e5ab02afc05b76b1 c5649ddb8ffd305e282f5692e5ab02afc05b76b1 [false] [Pipeline] sh 09:47:08 + git log --format=format:%s -1 c5649ddb8ffd305e282f5692e5ab02afc05b76b1 [Pipeline] echo 09:47:08 ========================================================= 09:47:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:47:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:47:08 + git log --format=format:%s -1 c5649ddb8ffd305e282f5692e5ab02afc05b76b1 [Pipeline] echo 09:47:08 [semverPrep] GIT_COMMIT: c5649ddb8ffd305e282f5692e5ab02afc05b76b1, Commit Message: feat(snap): add config interface with unique identifier (#197) [Pipeline] echo 09:47:08 [semverPrep] This is not a build commit. [Pipeline] sh 09:47:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:47:09 + grep -v github /etc/ssh/ssh_known_hosts 09:47:09 + [ -e /tmp/ssh_known_hosts ] 09:47:09 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:47:09 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:47:09 sudo tee -a /etc/ssh/ssh_known_hosts 09:47:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:47:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:47:09 09:47:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:47:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:47:09 0.1.4: Pulling from edgex-devops/py-git-semver 09:47:09 b85a868b505f: Pulling fs layer 09:47:09 e2be974225ed: Pulling fs layer 09:47:09 339a4e72a1f5: Pulling fs layer 09:47:09 988bab9f4d93: Pulling fs layer 09:47:09 1469e6f7b9e6: Pulling fs layer 09:47:09 eaf3925da568: Pulling fs layer 09:47:09 bab4dde63d76: Pulling fs layer 09:47:09 bde34c3a00c8: Pulling fs layer 09:47:09 b352a97aabf1: Pulling fs layer 09:47:09 4872d77fe225: Pulling fs layer 09:47:09 5851b861e8e6: Pulling fs layer 09:47:09 988bab9f4d93: Waiting 09:47:09 eaf3925da568: Waiting 09:47:09 bab4dde63d76: Waiting 09:47:09 4872d77fe225: Waiting 09:47:09 bde34c3a00c8: Waiting 09:47:09 b352a97aabf1: Waiting 09:47:09 5851b861e8e6: Waiting 09:47:09 1469e6f7b9e6: Waiting 09:47:09 e2be974225ed: Verifying Checksum 09:47:09 e2be974225ed: Download complete 09:47:09 988bab9f4d93: Verifying Checksum 09:47:09 988bab9f4d93: Download complete 09:47:09 1469e6f7b9e6: Verifying Checksum 09:47:09 1469e6f7b9e6: Download complete 09:47:09 339a4e72a1f5: Verifying Checksum 09:47:09 339a4e72a1f5: Download complete 09:47:09 eaf3925da568: Download complete 09:47:09 bde34c3a00c8: Verifying Checksum 09:47:09 b352a97aabf1: Verifying Checksum 09:47:09 b352a97aabf1: Download complete 09:47:09 4872d77fe225: Download complete 09:47:09 5851b861e8e6: Verifying Checksum 09:47:09 5851b861e8e6: Download complete 09:47:09 b85a868b505f: Verifying Checksum 09:47:09 b85a868b505f: Download complete 09:47:10 bab4dde63d76: Verifying Checksum 09:47:10 bab4dde63d76: Download complete 09:47:11 b85a868b505f: Pull complete 09:47:11 e2be974225ed: Pull complete 09:47:12 339a4e72a1f5: Pull complete 09:47:12 988bab9f4d93: Pull complete 09:47:12 1469e6f7b9e6: Pull complete 09:47:12 eaf3925da568: Pull complete 09:47:14 bab4dde63d76: Pull complete 09:47:14 bde34c3a00c8: Pull complete 09:47:14 b352a97aabf1: Pull complete 09:47:14 4872d77fe225: Pull complete 09:47:14 5851b861e8e6: Pull complete 09:47:14 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:47:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:47:14 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:47:14 prd-ubuntu20.04-docker-8c-8g-8278 does not seem to be running inside a container 09:47:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:47:16 $ docker top 456020f09e58e8b2a08dfd98658dd5d1e7145fcbf0aa8383e7e2b35bee2262e3 -eo pid,comm 09:47:16 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). 09:47:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:47:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:47:16 [ssh-agent] Looking for ssh-agent implementation... 09:47:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:47:16 $ docker exec 456020f09e58e8b2a08dfd98658dd5d1e7145fcbf0aa8383e7e2b35bee2262e3 ssh-agent 09:47:16 SSH_AUTH_SOCK=/tmp/ssh-z8zIegAUjIEF/agent.32 09:47:16 SSH_AGENT_PID=38 09:47:16 Running ssh-add (command line suppressed) 09:47:16 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1976668495452959830.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1976668495452959830.key) 09:47:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:47:17 + git tag --points-at HEAD [Pipeline] } 09:47:17 $ docker exec --env ******** --env ******** 456020f09e58e8b2a08dfd98658dd5d1e7145fcbf0aa8383e7e2b35bee2262e3 ssh-agent -k 09:47:17 unset SSH_AUTH_SOCK; 09:47:17 unset SSH_AGENT_PID; 09:47:17 echo Agent pid 38 killed; 09:47:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:47:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:47:17 [ssh-agent] Looking for ssh-agent implementation... 09:47:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:47:17 $ docker exec 456020f09e58e8b2a08dfd98658dd5d1e7145fcbf0aa8383e7e2b35bee2262e3 ssh-agent 09:47:17 SSH_AUTH_SOCK=/tmp/ssh-XOQnWqAesiQ7/agent.70 09:47:17 SSH_AGENT_PID=76 09:47:17 Running ssh-add (command line suppressed) 09:47:17 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_10896225753025662966.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_10896225753025662966.key) 09:47:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:47:17 + git semver init 09:47:18 2022-10-17 09:47:18,038 [run_init] DEBUG init version:0.0.0 force:False 09:47:18 2022-10-17 09:47:18,038 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver 09:47:18 2022-10-17 09:47:18,039 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver 09:47:18 2022-10-17 09:47:18,039 [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) 09:47:19 2022-10-17 09:47:18,887 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude 09:47:19 2022-10-17 09:47:18,887 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False 09:47:19 2022-10-17 09:47:18,888 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 09:47:19 2022-10-17 09:47:18,888 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 09:47:19 2.3.0-dev.19 [Pipeline] } 09:47:19 $ docker exec --env ******** --env ******** 456020f09e58e8b2a08dfd98658dd5d1e7145fcbf0aa8383e7e2b35bee2262e3 ssh-agent -k 09:47:19 unset SSH_AUTH_SOCK; 09:47:19 unset SSH_AGENT_PID; 09:47:19 echo Agent pid 76 killed; 09:47:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:47:19 + git semver [Pipeline] } 09:47:19 $ docker stop --time=1 456020f09e58e8b2a08dfd98658dd5d1e7145fcbf0aa8383e7e2b35bee2262e3 09:47:21 $ docker rm -f 456020f09e58e8b2a08dfd98658dd5d1e7145fcbf0aa8383e7e2b35bee2262e3 [Pipeline] // withDockerContainer [Pipeline] sh 09:47:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:47:21 Stashed 1 file(s) [Pipeline] echo 09:47:21 [edgeXSemver]: initialized semver on version 2.3.0-dev.19 [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 09:47:21 provisioning config files... 09:47:21 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6056461676629597974tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:47:22 ---> docker-login.sh 09:47:22 nexus3.edgexfoundry.org:10001 09:47:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:47:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:47:22 Configure a credential helper to remove this warning. See 09:47:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:47:22 09:47:22 Login Succeeded 09:47:22 nexus3.edgexfoundry.org:10002 09:47:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:47:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:47:22 Configure a credential helper to remove this warning. See 09:47:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:47:22 09:47:22 Login Succeeded 09:47:22 nexus3.edgexfoundry.org:10003 09:47:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:47:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:47:22 Configure a credential helper to remove this warning. See 09:47:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:47:22 09:47:22 Login Succeeded 09:47:22 nexus3.edgexfoundry.org:10004 09:47:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:47:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:47:22 Configure a credential helper to remove this warning. See 09:47:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:47:22 09:47:22 Login Succeeded 09:47:22 docker.io 09:47:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:47:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:47:22 Configure a credential helper to remove this warning. See 09:47:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:47:22 09:47:22 Login Succeeded 09:47:22 ---> docker-login.sh ends [Pipeline] } 09:47:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:47:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:47:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:47:22 ========================================================= 09:47:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 09:47:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:47:23 + 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 . 09:47:23 Sending build context to Docker daemon 5.515MB 09:47:23 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 09:47:23 Step 2/13 : FROM ${BASE} AS builder 09:47:23 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 09:47:23 213ec9aee27d: Pulling fs layer 09:47:23 4583459ba037: Pulling fs layer 09:47:23 93c1e223e6f2: Pulling fs layer 09:47:23 53926ce57604: Pulling fs layer 09:47:23 21b2b0c7a3f4: Pulling fs layer 09:47:23 30f14e443154: Pulling fs layer 09:47:23 801331c1e519: Pulling fs layer 09:47:23 99cc6dd402b0: Pulling fs layer 09:47:23 7d9ed39f4882: Pulling fs layer 09:47:23 21b2b0c7a3f4: Waiting 09:47:23 7d9ed39f4882: Waiting 09:47:23 99cc6dd402b0: Waiting 09:47:23 30f14e443154: Waiting 09:47:23 801331c1e519: Waiting 09:47:23 53926ce57604: Waiting 09:47:23 93c1e223e6f2: Verifying Checksum 09:47:23 93c1e223e6f2: Download complete 09:47:23 4583459ba037: Download complete 09:47:23 21b2b0c7a3f4: Verifying Checksum 09:47:23 21b2b0c7a3f4: Download complete 09:47:23 30f14e443154: Verifying Checksum 09:47:23 30f14e443154: Download complete 09:47:23 213ec9aee27d: Verifying Checksum 09:47:23 213ec9aee27d: Download complete 09:47:23 801331c1e519: Download complete 09:47:23 213ec9aee27d: Pull complete 09:47:23 4583459ba037: Pull complete 09:47:23 93c1e223e6f2: Pull complete 09:47:24 7d9ed39f4882: Verifying Checksum 09:47:24 7d9ed39f4882: Download complete 09:47:24 99cc6dd402b0: Verifying Checksum 09:47:24 99cc6dd402b0: Download complete 09:47:24 53926ce57604: Verifying Checksum 09:47:24 53926ce57604: Download complete 09:47:28 53926ce57604: Pull complete 09:47:28 21b2b0c7a3f4: Pull complete 09:47:28 30f14e443154: Pull complete 09:47:28 801331c1e519: Pull complete 09:47:30 99cc6dd402b0: Pull complete 09:47:30 7d9ed39f4882: Pull complete 09:47:30 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 09:47:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 09:47:30 ---> 1dedd983c030 09:47:30 Step 3/13 : ARG ADD_BUILD_TAGS="" 09:47:32 ---> Running in c544ecb2d85c 09:47:32 Removing intermediate container c544ecb2d85c 09:47:32 ---> 1cee410e7742 09:47:32 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:47:32 ---> Running in 0c1d9f0a3424 09:47:33 Removing intermediate container 0c1d9f0a3424 09:47:33 ---> 94683371e030 09:47:33 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:47:33 ---> Running in 297a64ade4db 09:47:33 Removing intermediate container 297a64ade4db 09:47:33 ---> ea68628b08fd 09:47:33 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 09:47:33 ---> Running in 90080830d55b 09:47:33 Removing intermediate container 90080830d55b 09:47:33 ---> 157769483c9f 09:47:33 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:47:33 ---> Running in 6c71bb6f05e7 09:47:33 Removing intermediate container 6c71bb6f05e7 09:47:33 ---> a6339bb50e70 09:47:33 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:47:33 ---> Running in 581ca692af09 09:47:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:47:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:47:35 (1/4) Installing openssh-keygen (9.0_p1-r2) 09:47:35 (2/4) Installing libedit (20210910.3.1-r0) 09:47:35 (3/4) Installing openssh-client-common (9.0_p1-r2) 09:47:35 (4/4) Installing openssh-client-default (9.0_p1-r2) 09:47:35 Executing busybox-1.35.0-r17.trigger 09:47:35 OK: 216 MiB in 55 packages 09:47:36 Removing intermediate container 581ca692af09 09:47:36 ---> 221ce6dcd35d 09:47:36 Step 9/13 : WORKDIR /device-snmp-go 09:47:36 ---> Running in 78ce18a667e0 09:47:36 Removing intermediate container 78ce18a667e0 09:47:36 ---> 7f9fc050225e 09:47:36 Step 10/13 : COPY go.mod vendor* ./ 09:47:36 ---> 16e0b981941f 09:47:36 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:47:36 ---> Running in 29bb363ef972 09:47:36 Still waiting to schedule task 09:47:36 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 09:47:51 Removing intermediate container 29bb363ef972 09:47:51 ---> 06d6b5ad451c 09:47:51 Step 12/13 : COPY . . 09:47:51 ---> e915ba1cb3f8 09:47:51 Step 13/13 : RUN ${MAKE} 09:47:51 ---> Running in 01ad5c0ee845 09:47:51 noop 09:47:51 Removing intermediate container 01ad5c0ee845 09:47:51 ---> 87e55b1a6def 09:47:51 Successfully built 87e55b1a6def 09:47:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:47:52 + docker inspect -f . ci-base-image-x86_64 09:47:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:47:52 prd-ubuntu20.04-docker-8c-8g-8278 does not seem to be running inside a container 09:47:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:47:52 $ docker top 8d88ec7fe47fc227d749b8eab0a11747e5c2bc8bb203096fc889608cbde02719 -eo pid,comm [Pipeline] { [Pipeline] sh 09:47:53 + go version 09:47:53 go version go1.18.7 linux/amd64 [Pipeline] } 09:47:53 $ docker stop --time=1 8d88ec7fe47fc227d749b8eab0a11747e5c2bc8bb203096fc889608cbde02719 09:47:54 $ docker rm -f 8d88ec7fe47fc227d749b8eab0a11747e5c2bc8bb203096fc889608cbde02719 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:47:54 + docker inspect -f . ci-base-image-x86_64 09:47:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:47:54 prd-ubuntu20.04-docker-8c-8g-8278 does not seem to be running inside a container 09:47:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:47:55 $ docker top 33eca044ca06d556a555dbeacd471dc03acf4abf4fb01be47a567ea296dc53a4 -eo pid,comm [Pipeline] { [Pipeline] sh 09:47:55 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh 09:47:55 + make test 09:47:55 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 09:47:56 ? github.com/edgexfoundry/device-snmp-go [no test files] 09:48:06 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 09:48:06 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.011s coverage: 0.0% of statements 09:48:10 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." 09:48:10 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:48:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:48:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:48:13 ./bin/test-attribution-txt.sh [Pipeline] echo 09:48:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:48:13 $ docker stop --time=1 33eca044ca06d556a555dbeacd471dc03acf4abf4fb01be47a567ea296dc53a4 09:48:15 $ docker rm -f 33eca044ca06d556a555dbeacd471dc03acf4abf4fb01be47a567ea296dc53a4 [Pipeline] // withDockerContainer [Pipeline] sh 09:48:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:48:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:48:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:48:16 + ls -al . 09:48:16 total 172 09:48:16 drwxrwxr-x 9 jenkins jenkins 4096 Oct 17 09:47 . 09:48:16 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 09:47 .. 09:48:16 -rw-rw-r-- 1 jenkins jenkins 6 Oct 17 09:47 .dockerignore 09:48:16 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 09:48 .git 09:48:16 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:47 .github 09:48:16 -rw-rw-r-- 1 jenkins jenkins 328 Oct 17 09:47 .gitignore 09:48:16 -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 09:47 .golangci.yml 09:48:16 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 09:47 .semver 09:48:16 -rw-rw-r-- 1 jenkins jenkins 8932 Oct 17 09:47 Attribution.txt 09:48:16 -rw-rw-r-- 1 jenkins jenkins 6948 Oct 17 09:47 CHANGELOG.md 09:48:16 -rw-rw-r-- 1 jenkins jenkins 1575 Oct 17 09:47 Dockerfile 09:48:16 -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 09:47 GOVERNANCE.md 09:48:16 -rw-rw-r-- 1 jenkins jenkins 656 Oct 17 09:47 Jenkinsfile 09:48:16 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 09:47 LICENSE 09:48:16 -rw-rw-r-- 1 jenkins jenkins 2543 Oct 17 09:47 Makefile 09:48:16 -rw-rw-r-- 1 jenkins jenkins 620 Oct 17 09:47 OWNERS.md 09:48:16 -rw-rw-r-- 1 jenkins jenkins 10054 Oct 17 09:47 README.md 09:48:16 -rw-rw-r-- 1 jenkins jenkins 12 Oct 17 09:47 VERSION 09:48:16 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 09:47 bin 09:48:16 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:47 cmd 09:48:16 -rw-r--r-- 1 jenkins jenkins 7631 Oct 17 09:48 coverage.out 09:48:16 -rw-rw-r-- 1 jenkins jenkins 3473 Oct 17 09:47 go.mod 09:48:16 -rw-rw-r-- 1 jenkins jenkins 38138 Oct 17 09:47 go.sum 09:48:16 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:47 internal 09:48:16 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 09:47 snap 09:48:16 -rw-rw-r-- 1 jenkins jenkins 228 Oct 17 09:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:48:16 + 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=c5649ddb8ffd305e282f5692e5ab02afc05b76b1 --label arch=amd64 --label version=2.3.0-dev.19 . 09:48:16 Sending build context to Docker daemon 5.523MB 09:48:16 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 09:48:16 Step 2/25 : FROM ${BASE} AS builder 09:48:16 ---> 87e55b1a6def 09:48:16 Step 3/25 : ARG ADD_BUILD_TAGS="" 09:48:16 ---> Running in 0fed7da5ac2c 09:48:17 Removing intermediate container 0fed7da5ac2c 09:48:17 ---> 70a449896db5 09:48:17 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:48:17 ---> Running in 8af735cc7aad 09:48:17 Removing intermediate container 8af735cc7aad 09:48:17 ---> e2ab382074ad 09:48:17 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:48:17 ---> Running in 6b4906eb01a2 09:48:17 Removing intermediate container 6b4906eb01a2 09:48:17 ---> 59a5f2af7819 09:48:17 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 09:48:17 ---> Running in 0bbc02732456 09:48:17 Removing intermediate container 0bbc02732456 09:48:17 ---> 56c76d874e64 09:48:17 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:48:17 ---> Running in 3fbfa1671bbe 09:48:18 Removing intermediate container 3fbfa1671bbe 09:48:18 ---> f88f4bdfbc1f 09:48:18 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:48:18 ---> Running in 4cba73bf0ef3 09:48:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:48:19 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:48:19 OK: 216 MiB in 55 packages 09:48:19 Removing intermediate container 4cba73bf0ef3 09:48:19 ---> 520a2a2f5dc5 09:48:19 Step 9/25 : WORKDIR /device-snmp-go 09:48:19 ---> Running in 50ada1c2375a 09:48:20 Removing intermediate container 50ada1c2375a 09:48:20 ---> d08479f354ac 09:48:20 Step 10/25 : COPY go.mod vendor* ./ 09:48:20 ---> 8734352efdf6 09:48:20 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:48:20 ---> Running in bd9c2e8ea123 09:48:21 Removing intermediate container bd9c2e8ea123 09:48:21 ---> 0ba9e0260bcc 09:48:21 Step 12/25 : COPY . . 09:48:21 ---> 405182ac2fc4 09:48:21 Step 13/25 : RUN ${MAKE} 09:48:21 ---> Running in 026ae7c31f12 09:48:21 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.19" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 09:48:43 Removing intermediate container 026ae7c31f12 09:48:43 ---> bbf2121c2b92 09:48:43 Step 14/25 : FROM alpine:3.16 09:48:43 3.16: Pulling from library/alpine 09:48:43 213ec9aee27d: Already exists 09:48:43 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 09:48:43 Status: Downloaded newer image for alpine:3.16 09:48:43 ---> 9c6f07244728 09:48:43 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 09:48:43 ---> Running in c19e1e8f0c12 09:48:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:48:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:48:43 (1/6) Installing dumb-init (1.2.5-r1) 09:48:43 (2/6) Installing libgcc (11.2.1_git20220219-r2) 09:48:43 (3/6) Installing libsodium (1.0.18-r0) 09:48:43 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 09:48:43 (5/6) Installing libzmq (4.3.4-r0) 09:48:43 (6/6) Installing zeromq (4.3.4-r0) 09:48:43 Executing busybox-1.35.0-r17.trigger 09:48:43 OK: 8 MiB in 20 packages 09:48:43 Removing intermediate container c19e1e8f0c12 09:48:43 ---> c5ffb90c3aa7 09:48:43 Step 16/25 : COPY --from=builder /device-snmp-go/cmd / 09:48:43 ---> ae7838d8ee6d 09:48:43 Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / 09:48:44 ---> 4d94adc9c212 09:48:44 Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / 09:48:44 ---> 5e26181f5e23 09:48:44 Step 19/25 : EXPOSE 59993 09:48:44 ---> Running in dd0aff7dd93f 09:48:44 Removing intermediate container dd0aff7dd93f 09:48:44 ---> 7b93a2e6a125 09:48:44 Step 20/25 : EXPOSE 161 09:48:44 ---> Running in eb5aa940856b 09:48:44 Removing intermediate container eb5aa940856b 09:48:44 ---> 8c3b05e07202 09:48:44 Step 21/25 : ENTRYPOINT ["/device-snmp"] 09:48:44 ---> Running in 9bd7bc6d8545 09:48:44 Removing intermediate container 9bd7bc6d8545 09:48:44 ---> f5d9d1bace1a 09:48:44 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 09:48:44 ---> Running in 1b3ea0e4d123 09:48:44 Removing intermediate container 1b3ea0e4d123 09:48:44 ---> dc47fa92836c 09:48:44 Step 23/25 : LABEL arch=amd64 09:48:44 ---> Running in fb49c38b8745 09:48:45 Removing intermediate container fb49c38b8745 09:48:45 ---> 45eb47ab02ef 09:48:45 Step 24/25 : LABEL git_sha=c5649ddb8ffd305e282f5692e5ab02afc05b76b1 09:48:45 ---> Running in 87974575f6ab 09:48:45 Removing intermediate container 87974575f6ab 09:48:45 ---> 57bb18c2b7c5 09:48:45 Step 25/25 : LABEL version=2.3.0-dev.19 09:48:45 ---> Running in bbad27f19a6f 09:48:45 Removing intermediate container bbad27f19a6f 09:48:45 ---> ad2f115059e7 09:48:45 [Warning] One or more build-args [ARCH] were not consumed 09:48:45 Successfully built ad2f115059e7 09:48:45 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:48:45 provisioning config files... 09:48:45 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4870937282377348669tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:48:45 ---> docker-login.sh 09:48:45 nexus3.edgexfoundry.org:10001 09:48:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:48:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:48:45 Configure a credential helper to remove this warning. See 09:48:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:48:45 09:48:45 Login Succeeded 09:48:45 nexus3.edgexfoundry.org:10002 09:48:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:48:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:48:45 Configure a credential helper to remove this warning. See 09:48:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:48:45 09:48:45 Login Succeeded 09:48:45 nexus3.edgexfoundry.org:10003 09:48:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:48:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:48:45 Configure a credential helper to remove this warning. See 09:48:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:48:45 09:48:45 Login Succeeded 09:48:45 nexus3.edgexfoundry.org:10004 09:48:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:48:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:48:45 Configure a credential helper to remove this warning. See 09:48:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:48:45 09:48:45 Login Succeeded 09:48:45 docker.io 09:48:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:48:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:48:46 Configure a credential helper to remove this warning. See 09:48:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:48:46 09:48:46 Login Succeeded 09:48:46 ---> docker-login.sh ends [Pipeline] } 09:48:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:48:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:48:46 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 09:48:46 c5649ddb8ffd305e282f5692e5ab02afc05b76b1 09:48:46 latest 09:48:46 2.3.0-dev.19 09:48:46 c5649ddb8ffd305e282f5692e5ab02afc05b76b1-2.3.0-dev.19 09:48:46 main 09:48:46 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:48:46 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:c5649ddb8ffd305e282f5692e5ab02afc05b76b1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:48:47 + docker push nexus3.edgexfoundry.org:10004/device-snmp:c5649ddb8ffd305e282f5692e5ab02afc05b76b1 09:48:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 09:48:47 3708b18f72ea: Preparing 09:48:47 7d7dcc43967b: Preparing 09:48:47 33d83c4efdd9: Preparing 09:48:47 6e1298de3ebe: Preparing 09:48:47 994393dc58e7: Preparing 09:48:47 994393dc58e7: Layer already exists 09:48:47 7d7dcc43967b: Pushed 09:48:47 3708b18f72ea: Pushed 09:48:47 6e1298de3ebe: Pushed 09:48:49 33d83c4efdd9: Pushed 09:48:49 c5649ddb8ffd305e282f5692e5ab02afc05b76b1: digest: sha256:a3166308248925d21fd8082cee4c1a3894be5da1146d3f598e8bc922f68a9843 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:48:50 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:48:50 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 09:48:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 09:48:50 3708b18f72ea: Preparing 09:48:50 7d7dcc43967b: Preparing 09:48:50 33d83c4efdd9: Preparing 09:48:50 6e1298de3ebe: Preparing 09:48:50 994393dc58e7: Preparing 09:48:50 994393dc58e7: Layer already exists 09:48:50 3708b18f72ea: Layer already exists 09:48:50 7d7dcc43967b: Layer already exists 09:48:50 33d83c4efdd9: Layer already exists 09:48:50 6e1298de3ebe: Layer already exists 09:48:50 latest: digest: sha256:a3166308248925d21fd8082cee4c1a3894be5da1146d3f598e8bc922f68a9843 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:48:50 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:48:51 + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.19 09:48:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 09:48:51 3708b18f72ea: Preparing 09:48:51 7d7dcc43967b: Preparing 09:48:51 33d83c4efdd9: Preparing 09:48:51 6e1298de3ebe: Preparing 09:48:51 994393dc58e7: Preparing 09:48:51 994393dc58e7: Layer already exists 09:48:51 33d83c4efdd9: Layer already exists 09:48:51 6e1298de3ebe: Layer already exists 09:48:51 7d7dcc43967b: Layer already exists 09:48:51 3708b18f72ea: Layer already exists 09:48:51 2.3.0-dev.19: digest: sha256:a3166308248925d21fd8082cee4c1a3894be5da1146d3f598e8bc922f68a9843 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:48:51 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:c5649ddb8ffd305e282f5692e5ab02afc05b76b1-2.3.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:48:51 + docker push nexus3.edgexfoundry.org:10004/device-snmp:c5649ddb8ffd305e282f5692e5ab02afc05b76b1-2.3.0-dev.19 09:48:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 09:48:51 3708b18f72ea: Preparing 09:48:51 7d7dcc43967b: Preparing 09:48:51 33d83c4efdd9: Preparing 09:48:51 6e1298de3ebe: Preparing 09:48:51 994393dc58e7: Preparing 09:48:51 994393dc58e7: Layer already exists 09:48:51 3708b18f72ea: Layer already exists 09:48:51 33d83c4efdd9: Layer already exists 09:48:51 7d7dcc43967b: Layer already exists 09:48:51 6e1298de3ebe: Layer already exists 09:48:51 c5649ddb8ffd305e282f5692e5ab02afc05b76b1-2.3.0-dev.19: digest: sha256:a3166308248925d21fd8082cee4c1a3894be5da1146d3f598e8bc922f68a9843 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:48:52 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:48:52 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 09:48:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 09:48:52 3708b18f72ea: Preparing 09:48:52 7d7dcc43967b: Preparing 09:48:52 33d83c4efdd9: Preparing 09:48:52 6e1298de3ebe: Preparing 09:48:52 994393dc58e7: Preparing 09:48:52 33d83c4efdd9: Layer already exists 09:48:52 994393dc58e7: Layer already exists 09:48:52 3708b18f72ea: Layer already exists 09:48:52 6e1298de3ebe: Layer already exists 09:48:52 7d7dcc43967b: Layer already exists 09:48:52 main: digest: sha256:a3166308248925d21fd8082cee4c1a3894be5da1146d3f598e8bc922f68a9843 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:48:52 ===================================================== [Pipeline] echo 09:48:52 taggedImages: 09:48:52 - nexus3.edgexfoundry.org:10004/device-snmp:c5649ddb8ffd305e282f5692e5ab02afc05b76b1 09:48:52 - nexus3.edgexfoundry.org:10004/device-snmp:latest 09:48:52 - nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.19 09:48:52 - nexus3.edgexfoundry.org:10004/device-snmp:c5649ddb8ffd305e282f5692e5ab02afc05b76b1-2.3.0-dev.19 09:48:52 - 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 09:48:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:48:52 09:48:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:48:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:48:53 latest: Pulling from edgex-lftools-log-publisher 09:48:53 5eb5b503b376: Pulling fs layer 09:48:53 5c69ac0246d0: Pulling fs layer 09:48:53 ec43610c2a17: Pulling fs layer 09:48:53 3a2ae6a8a46f: Pulling fs layer 09:48:53 33b1e0a273af: Pulling fs layer 09:48:53 5d3b04190fa2: Pulling fs layer 09:48:53 2f39f015ded8: Pulling fs layer 09:48:53 3a2ae6a8a46f: Waiting 09:48:53 2f39f015ded8: Waiting 09:48:53 5c69ac0246d0: Verifying Checksum 09:48:53 5c69ac0246d0: Download complete 09:48:53 3a2ae6a8a46f: Verifying Checksum 09:48:53 3a2ae6a8a46f: Download complete 09:48:53 33b1e0a273af: Verifying Checksum 09:48:53 33b1e0a273af: Download complete 09:48:53 5d3b04190fa2: Download complete 09:48:53 ec43610c2a17: Download complete 09:48:53 5eb5b503b376: Download complete 09:48:53 2f39f015ded8: Download complete 09:48:54 5eb5b503b376: Pull complete 09:48:54 5c69ac0246d0: Pull complete 09:48:55 ec43610c2a17: Pull complete 09:48:55 3a2ae6a8a46f: Pull complete 09:48:55 33b1e0a273af: Pull complete 09:48:55 5d3b04190fa2: Pull complete 09:48:59 2f39f015ded8: Pull complete 09:48:59 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:48:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:48:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:48:59 prd-ubuntu20.04-docker-8c-8g-8278 does not seem to be running inside a container 09:48:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:49:01 $ docker top 77b7b47acc68722bb3f088fc4c4d4878595dee9299a2d08acf626684726084c3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:49:02 ---> job-cost.sh 09:49:02 lf-activate-venv: SKIPPING 09:49:02 INFO: No Stack... 09:49:02 INFO: Retrieving Pricing Info for: v3-standard-8 09:49:02 INFO: Archiving Costs [Pipeline] sh 09:49:03 + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv 09:49:03 + cut -d, -f6 [Pipeline] lock 09:49:03 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-50-stack-cost] 09:49:03 Resource [jenkins-edgexfoundry-device-snmp-go-main-50-stack-cost] did not exist. Created. 09:49:03 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-50-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:49:03 + echo total: 0.2199999988079071 [Pipeline] stash 09:49:03 Stashed 1 file(s) [Pipeline] } 09:49:03 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-50-stack-cost] [Pipeline] // lock [Pipeline] } 09:49:03 $ docker stop --time=1 77b7b47acc68722bb3f088fc4c4d4878595dee9299a2d08acf626684726084c3 09:49:04 $ docker rm -f 77b7b47acc68722bb3f088fc4c4d4878595dee9299a2d08acf626684726084c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:49:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8287 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 09:49:49 Running in /w/workspace/device-snmp-go/50 [Pipeline] { [Pipeline] checkout 09:49:49 Selected Git installation does not exist. Using Default 09:49:49 The recommended git tool is: NONE 09:49:54 using credential edgex-jenkins-ssh 09:49:54 Cloning the remote Git repository 09:49:54 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 09:49:55 > git init /w/workspace/device-snmp-go/50 # timeout=10 09:49:55 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 09:49:55 > git --version # timeout=10 09:49:55 > git --version # 'git version 2.25.1' 09:49:55 using GIT_SSH to set credentials SSH Credentials for GitHub 09:49:55 Verifying host key using known hosts file 09:49:55 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. 09:49:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:49:56 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 09:49:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:49:57 Avoid second fetch 09:49:57 Checking out Revision c5649ddb8ffd305e282f5692e5ab02afc05b76b1 (main) 09:49:57 Commit message: "feat(snap): add config interface with unique identifier (#197)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:49:57 > git config core.sparsecheckout # timeout=10 09:49:57 > git checkout -f c5649ddb8ffd305e282f5692e5ab02afc05b76b1 # timeout=10 09:49:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:49:58 % Total % Received % Xferd Average Speed Time Time Time Current 09:49:58 Dload Upload Total Spent Left Speed 09:49:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 227k 0 --:--:-- --:--:-- --:--:-- 232k [Pipeline] sh 09:49:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:49:59 + sudo tee /etc/docker/daemon.new 09:49:59 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:49:59 { 09:49:59 "registry-mirrors": [ 09:49:59 "https://nexus3.edgexfoundry.org:10001" 09:49:59 ], 09:49:59 "bip": "10.250.0.254/24", 09:49:59 "hosts": [ 09:49:59 "tcp://0.0.0.0:5555", 09:49:59 "unix:///var/run/docker.sock" 09:49:59 ], 09:49:59 "mtu": 1458, 09:49:59 "selinux-enabled": true, 09:49:59 "seccomp-profile": "/etc/docker/seccomp.json" 09:49:59 } [Pipeline] sh 09:49:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:50:00 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:50:18 provisioning config files... 09:50:18 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/50@tmp/config4926375203835076756tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:50:18 ---> docker-login.sh 09:50:18 nexus3.edgexfoundry.org:10001 09:50:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:50:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:50:19 Configure a credential helper to remove this warning. See 09:50:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:50:19 09:50:19 Login Succeeded 09:50:19 nexus3.edgexfoundry.org:10002 09:50:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:50:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:50:19 Configure a credential helper to remove this warning. See 09:50:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:50:19 09:50:19 Login Succeeded 09:50:19 nexus3.edgexfoundry.org:10003 09:50:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:50:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:50:20 Configure a credential helper to remove this warning. See 09:50:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:50:20 09:50:20 Login Succeeded 09:50:20 nexus3.edgexfoundry.org:10004 09:50:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:50:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:50:20 Configure a credential helper to remove this warning. See 09:50:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:50:20 09:50:20 Login Succeeded 09:50:20 docker.io 09:50:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:50:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:50:21 Configure a credential helper to remove this warning. See 09:50:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:50:21 09:50:21 Login Succeeded 09:50:21 ---> docker-login.sh ends [Pipeline] } 09:50:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:50:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:50:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:50:21 ========================================================= 09:50:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 09:50:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:50:21 + 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 . 09:50:22 Sending build context to Docker daemon 2.847MB 09:50:22 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 09:50:22 Step 2/13 : FROM ${BASE} AS builder 09:50:22 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:50:22 9b18e9b68314: Pulling fs layer 09:50:22 d32db5db7311: Pulling fs layer 09:50:22 d0c4b47475fc: Pulling fs layer 09:50:22 5831b945b038: Pulling fs layer 09:50:22 86bbec2aaacd: Pulling fs layer 09:50:22 e10730c5d714: Pulling fs layer 09:50:22 5dd5c2283517: Pulling fs layer 09:50:22 d5ac0230b979: Pulling fs layer 09:50:22 e10730c5d714: Waiting 09:50:22 5dd5c2283517: Waiting 09:50:22 d5ac0230b979: Waiting 09:50:22 5831b945b038: Waiting 09:50:22 d0c4b47475fc: Download complete 09:50:22 d32db5db7311: Download complete 09:50:22 86bbec2aaacd: Verifying Checksum 09:50:22 86bbec2aaacd: Download complete 09:50:22 e10730c5d714: Verifying Checksum 09:50:22 e10730c5d714: Download complete 09:50:22 9b18e9b68314: Verifying Checksum 09:50:22 9b18e9b68314: Download complete 09:50:23 9b18e9b68314: Pull complete 09:50:23 d5ac0230b979: Verifying Checksum 09:50:23 d5ac0230b979: Download complete 09:50:24 5dd5c2283517: Verifying Checksum 09:50:24 5dd5c2283517: Download complete 09:50:24 5831b945b038: Verifying Checksum 09:50:24 5831b945b038: Download complete 09:50:25 d32db5db7311: Pull complete 09:50:25 d0c4b47475fc: Pull complete 09:50:38 5831b945b038: Pull complete 09:50:38 86bbec2aaacd: Pull complete 09:50:38 e10730c5d714: Pull complete 09:50:43 5dd5c2283517: Pull complete 09:50:45 d5ac0230b979: Pull complete 09:50:45 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 09:50:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 09:50:45 ---> 59b3b1a385d4 09:50:45 Step 3/13 : ARG ADD_BUILD_TAGS="" 09:50:47 ---> Running in 658d7e5f9fc0 09:50:47 Removing intermediate container 658d7e5f9fc0 09:50:47 ---> e5b0d27c49cd 09:50:47 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:50:47 ---> Running in 0d217f9b066d 09:50:47 Removing intermediate container 0d217f9b066d 09:50:47 ---> aadb006ece17 09:50:47 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:50:47 ---> Running in 39f44bdea5c5 09:50:48 Removing intermediate container 39f44bdea5c5 09:50:48 ---> 48ed05fb4a10 09:50:48 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 09:50:48 ---> Running in 00c60a50bb2b 09:50:48 Removing intermediate container 00c60a50bb2b 09:50:48 ---> 597b7da324af 09:50:48 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:50:48 ---> Running in 9821fc28b9aa 09:50:50 Removing intermediate container 9821fc28b9aa 09:50:50 ---> 593767f845c3 09:50:50 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:50:50 ---> Running in e4257d498074 09:50:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:50:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:50:52 (1/4) Installing openssh-keygen (9.0_p1-r2) 09:50:52 (2/4) Installing libedit (20210910.3.1-r0) 09:50:53 (3/4) Installing openssh-client-common (9.0_p1-r2) 09:50:53 (4/4) Installing openssh-client-default (9.0_p1-r2) 09:50:53 Executing busybox-1.35.0-r17.trigger 09:50:53 OK: 226 MiB in 55 packages 09:50:54 Removing intermediate container e4257d498074 09:50:54 ---> d0929fea8b99 09:50:54 Step 9/13 : WORKDIR /device-snmp-go 09:50:54 ---> Running in ef49117ef3b7 09:50:54 Removing intermediate container ef49117ef3b7 09:50:54 ---> 0af20d9f903b 09:50:54 Step 10/13 : COPY go.mod vendor* ./ 09:50:55 ---> c3d2a68a3c8b 09:50:55 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:50:55 ---> Running in f23f28d3158f 09:51:42 Removing intermediate container f23f28d3158f 09:51:42 ---> 850b4a761fc5 09:51:42 Step 12/13 : COPY . . 09:51:42 ---> c28aeacfc2a5 09:51:42 Step 13/13 : RUN ${MAKE} 09:51:42 ---> Running in f5c61351bf9e 09:51:43 noop 09:51:43 Removing intermediate container f5c61351bf9e 09:51:43 ---> 1f2502dd6c4b 09:51:43 Successfully built 1f2502dd6c4b 09:51:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:51:44 + docker inspect -f . ci-base-image-arm64 09:51:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:51:44 prd-ubuntu20.04-docker-arm64-4c-16g-8287 does not seem to be running inside a container 09:51:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/50 -v /w/workspace/device-snmp-go/50:/w/workspace/device-snmp-go/50:rw,z -v /w/workspace/device-snmp-go/50@tmp:/w/workspace/device-snmp-go/50@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:51:45 $ docker top a4adc9646b7418f01af5f1cd0b473df4e405c5add9753ca30af1e4f4388cfcd7 -eo pid,comm [Pipeline] { [Pipeline] sh 09:51:46 + go version 09:51:46 go version go1.18.7 linux/arm64 [Pipeline] } 09:51:46 $ docker stop --time=1 a4adc9646b7418f01af5f1cd0b473df4e405c5add9753ca30af1e4f4388cfcd7 09:51:48 $ docker rm -f a4adc9646b7418f01af5f1cd0b473df4e405c5add9753ca30af1e4f4388cfcd7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:51:48 + docker inspect -f . ci-base-image-arm64 09:51:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:51:48 prd-ubuntu20.04-docker-arm64-4c-16g-8287 does not seem to be running inside a container 09:51:48 $ 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/50 -v /w/workspace/device-snmp-go/50:/w/workspace/device-snmp-go/50:rw,z -v /w/workspace/device-snmp-go/50@tmp:/w/workspace/device-snmp-go/50@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:51:49 $ docker top 9703626953cb47c8bf8eab0731634ea8c5de8c8b271ed86f7e879c6ed846374b -eo pid,comm [Pipeline] { [Pipeline] sh 09:51:50 + git config --global --add safe.directory /w/workspace/device-snmp-go/50 [Pipeline] fileExists [Pipeline] sh 09:51:50 + make test 09:51:50 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 09:51:52 ? github.com/edgexfoundry/device-snmp-go [no test files] 09:53:14 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 09:53:14 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.063s coverage: 0.0% of statements 09:53:14 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:53:14 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:53:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:53:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:53:37 ./bin/test-attribution-txt.sh [Pipeline] echo 09:53:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:53:37 $ docker stop --time=1 9703626953cb47c8bf8eab0731634ea8c5de8c8b271ed86f7e879c6ed846374b 09:53:38 $ docker rm -f 9703626953cb47c8bf8eab0731634ea8c5de8c8b271ed86f7e879c6ed846374b [Pipeline] // withDockerContainer [Pipeline] sh 09:53:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:53:39 Warning: overwriting stash ‘coverage-report’ 09:53:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:53:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:53:40 + ls -al . 09:53:40 total 168 09:53:40 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 09:51 . 09:53:40 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 09:49 .. 09:53:40 -rw-rw-r-- 1 jenkins jenkins 6 Oct 17 09:49 .dockerignore 09:53:40 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 09:49 .git 09:53:40 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:49 .github 09:53:40 -rw-rw-r-- 1 jenkins jenkins 328 Oct 17 09:49 .gitignore 09:53:40 -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 09:49 .golangci.yml 09:53:40 -rw-rw-r-- 1 jenkins jenkins 8932 Oct 17 09:49 Attribution.txt 09:53:40 -rw-rw-r-- 1 jenkins jenkins 6948 Oct 17 09:49 CHANGELOG.md 09:53:40 -rw-rw-r-- 1 jenkins jenkins 1575 Oct 17 09:49 Dockerfile 09:53:40 -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 09:49 GOVERNANCE.md 09:53:40 -rw-rw-r-- 1 jenkins jenkins 656 Oct 17 09:49 Jenkinsfile 09:53:40 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 09:49 LICENSE 09:53:40 -rw-rw-r-- 1 jenkins jenkins 2543 Oct 17 09:49 Makefile 09:53:40 -rw-rw-r-- 1 jenkins jenkins 620 Oct 17 09:49 OWNERS.md 09:53:40 -rw-rw-r-- 1 jenkins jenkins 10054 Oct 17 09:49 README.md 09:53:40 -rw-rw-r-- 1 jenkins jenkins 12 Oct 17 09:47 VERSION 09:53:40 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 09:49 bin 09:53:40 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:49 cmd 09:53:40 -rw-r--r-- 1 jenkins jenkins 7631 Oct 17 09:53 coverage.out 09:53:40 -rw-rw-r-- 1 jenkins jenkins 3473 Oct 17 09:49 go.mod 09:53:40 -rw-rw-r-- 1 jenkins jenkins 38138 Oct 17 09:49 go.sum 09:53:40 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:49 internal 09:53:40 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 09:49 snap 09:53:40 -rw-rw-r-- 1 jenkins jenkins 228 Oct 17 09:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:53:41 + 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=c5649ddb8ffd305e282f5692e5ab02afc05b76b1 --label arch=arm64 --label version=2.3.0-dev.19 . 09:53:41 Sending build context to Docker daemon 2.855MB 09:53:41 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 09:53:41 Step 2/25 : FROM ${BASE} AS builder 09:53:41 ---> 1f2502dd6c4b 09:53:41 Step 3/25 : ARG ADD_BUILD_TAGS="" 09:53:41 ---> Running in 0fdc61d3cd5a 09:53:41 Removing intermediate container 0fdc61d3cd5a 09:53:41 ---> 16747a9f3eea 09:53:41 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:53:42 ---> Running in a38461a3904a 09:53:42 Removing intermediate container a38461a3904a 09:53:42 ---> 662b66bcbf20 09:53:42 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:53:42 ---> Running in 3819411d28d0 09:53:42 Removing intermediate container 3819411d28d0 09:53:42 ---> 94d2bc62970f 09:53:42 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 09:53:42 ---> Running in e2d3e272134f 09:53:43 Removing intermediate container e2d3e272134f 09:53:43 ---> 5a46275cb4c1 09:53:43 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:53:43 ---> Running in 37ea5500daf1 09:53:44 Removing intermediate container 37ea5500daf1 09:53:44 ---> ced99c1833dc 09:53:44 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:53:44 ---> Running in 48dca8eec587 09:53:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:53:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:53:47 OK: 226 MiB in 55 packages 09:53:48 Removing intermediate container 48dca8eec587 09:53:48 ---> 8b8be67236b4 09:53:48 Step 9/25 : WORKDIR /device-snmp-go 09:53:48 ---> Running in 18ea8994887a 09:53:49 Removing intermediate container 18ea8994887a 09:53:49 ---> 3aa295d900ee 09:53:49 Step 10/25 : COPY go.mod vendor* ./ 09:53:49 ---> d3cf8a2b95ee 09:53:49 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:53:49 ---> Running in ca7e464393e3 09:53:51 Removing intermediate container ca7e464393e3 09:53:51 ---> 68a7781c388b 09:53:51 Step 12/25 : COPY . . 09:53:52 ---> 35b50809ec6b 09:53:52 Step 13/25 : RUN ${MAKE} 09:53:52 ---> Running in 347d31f14f5f 09:53:53 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.19" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 09:56:45 Removing intermediate container 347d31f14f5f 09:56:45 ---> ee19896ad1e5 09:56:45 Step 14/25 : FROM alpine:3.16 09:56:45 3.16: Pulling from library/alpine 09:56:45 9b18e9b68314: Already exists 09:56:45 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 09:56:45 Status: Downloaded newer image for alpine:3.16 09:56:45 ---> a6215f271958 09:56:45 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 09:56:45 ---> Running in 8a574729f4d6 09:56:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:56:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:56:45 (1/6) Installing dumb-init (1.2.5-r1) 09:56:45 (2/6) Installing libgcc (11.2.1_git20220219-r2) 09:56:45 (3/6) Installing libsodium (1.0.18-r0) 09:56:45 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 09:56:45 (5/6) Installing libzmq (4.3.4-r0) 09:56:45 (6/6) Installing zeromq (4.3.4-r0) 09:56:45 Executing busybox-1.35.0-r17.trigger 09:56:45 OK: 8 MiB in 20 packages 09:56:45 Removing intermediate container 8a574729f4d6 09:56:45 ---> e7c61957ac9b 09:56:45 Step 16/25 : COPY --from=builder /device-snmp-go/cmd / 09:56:45 ---> 81909a884a3d 09:56:45 Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / 09:56:45 ---> c2636e28f7dc 09:56:45 Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / 09:56:45 ---> ed945b4e2f73 09:56:45 Step 19/25 : EXPOSE 59993 09:56:45 ---> Running in 3f70d161b6d4 09:56:45 Removing intermediate container 3f70d161b6d4 09:56:45 ---> 5fa297697924 09:56:45 Step 20/25 : EXPOSE 161 09:56:45 ---> Running in fdc7218bc4bb 09:56:45 Removing intermediate container fdc7218bc4bb 09:56:45 ---> 2b221147ea46 09:56:45 Step 21/25 : ENTRYPOINT ["/device-snmp"] 09:56:45 ---> Running in eeb8af158437 09:56:45 Removing intermediate container eeb8af158437 09:56:45 ---> 9a9bafde729e 09:56:45 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 09:56:45 ---> Running in 0b1e6f0f26c1 09:56:45 Removing intermediate container 0b1e6f0f26c1 09:56:45 ---> 4fc879e0b062 09:56:45 Step 23/25 : LABEL arch=arm64 09:56:45 ---> Running in 1f6327f538ae 09:56:45 Removing intermediate container 1f6327f538ae 09:56:45 ---> 27e2b65d5486 09:56:45 Step 24/25 : LABEL git_sha=c5649ddb8ffd305e282f5692e5ab02afc05b76b1 09:56:45 ---> Running in 629f771d9fb5 09:56:45 Removing intermediate container 629f771d9fb5 09:56:45 ---> 61be7d2c155c 09:56:45 Step 25/25 : LABEL version=2.3.0-dev.19 09:56:45 ---> Running in de8a9352b35d 09:56:45 Removing intermediate container de8a9352b35d 09:56:45 ---> 545bff444efb 09:56:45 [Warning] One or more build-args [ARCH] were not consumed 09:56:45 Successfully built 545bff444efb 09:56:45 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 09:56:45 provisioning config files... 09:56:45 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/50@tmp/config18420281107531544458tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:56:45 ---> docker-login.sh 09:56:45 nexus3.edgexfoundry.org:10001 09:56:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:56:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:56:45 Configure a credential helper to remove this warning. See 09:56:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:56:45 09:56:45 Login Succeeded 09:56:45 nexus3.edgexfoundry.org:10002 09:56:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:56:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:56:46 Configure a credential helper to remove this warning. See 09:56:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:56:46 09:56:46 Login Succeeded 09:56:46 nexus3.edgexfoundry.org:10003 09:56:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:56:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:56:46 Configure a credential helper to remove this warning. See 09:56:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:56:46 09:56:46 Login Succeeded 09:56:46 nexus3.edgexfoundry.org:10004 09:56:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:56:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:56:47 Configure a credential helper to remove this warning. See 09:56:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:56:47 09:56:47 Login Succeeded 09:56:47 docker.io 09:56:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:56:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:56:47 Configure a credential helper to remove this warning. See 09:56:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:56:47 09:56:47 Login Succeeded 09:56:47 ---> docker-login.sh ends [Pipeline] } 09:56:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:56:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:56:47 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 09:56:47 c5649ddb8ffd305e282f5692e5ab02afc05b76b1 09:56:47 latest 09:56:47 2.3.0-dev.19 09:56:47 c5649ddb8ffd305e282f5692e5ab02afc05b76b1-2.3.0-dev.19 09:56:47 main 09:56:47 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:56:47 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:c5649ddb8ffd305e282f5692e5ab02afc05b76b1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:56:48 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:c5649ddb8ffd305e282f5692e5ab02afc05b76b1 09:56:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 09:56:48 c1236619c5f7: Preparing 09:56:48 baf36bc16a1c: Preparing 09:56:48 7ed246325802: Preparing 09:56:48 7c43ae7492ec: Preparing 09:56:48 5d3e392a13a0: Preparing 09:56:48 5d3e392a13a0: Layer already exists 09:56:48 baf36bc16a1c: Pushed 09:56:48 c1236619c5f7: Pushed 09:56:49 7c43ae7492ec: Pushed 09:56:54 7ed246325802: Pushed 09:56:54 c5649ddb8ffd305e282f5692e5ab02afc05b76b1: digest: sha256:dce782f4cdd2767024b797e9bdd689f8797ad26443b57379ebd710c338137cd9 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:56:54 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:56:55 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 09:56:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 09:56:55 c1236619c5f7: Preparing 09:56:55 baf36bc16a1c: Preparing 09:56:55 7ed246325802: Preparing 09:56:55 7c43ae7492ec: Preparing 09:56:55 5d3e392a13a0: Preparing 09:56:55 baf36bc16a1c: Layer already exists 09:56:55 7c43ae7492ec: Layer already exists 09:56:55 c1236619c5f7: Layer already exists 09:56:55 7ed246325802: Layer already exists 09:56:55 5d3e392a13a0: Layer already exists 09:56:55 latest: digest: sha256:dce782f4cdd2767024b797e9bdd689f8797ad26443b57379ebd710c338137cd9 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:56:55 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:56:56 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.19 09:56:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 09:56:56 c1236619c5f7: Preparing 09:56:56 baf36bc16a1c: Preparing 09:56:56 7ed246325802: Preparing 09:56:56 7c43ae7492ec: Preparing 09:56:56 5d3e392a13a0: Preparing 09:56:56 c1236619c5f7: Layer already exists 09:56:56 7ed246325802: Layer already exists 09:56:56 7c43ae7492ec: Layer already exists 09:56:56 5d3e392a13a0: Layer already exists 09:56:56 baf36bc16a1c: Layer already exists 09:56:56 2.3.0-dev.19: digest: sha256:dce782f4cdd2767024b797e9bdd689f8797ad26443b57379ebd710c338137cd9 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:56:56 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:c5649ddb8ffd305e282f5692e5ab02afc05b76b1-2.3.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:56:56 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:c5649ddb8ffd305e282f5692e5ab02afc05b76b1-2.3.0-dev.19 09:56:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 09:56:56 c1236619c5f7: Preparing 09:56:56 baf36bc16a1c: Preparing 09:56:56 7ed246325802: Preparing 09:56:56 7c43ae7492ec: Preparing 09:56:56 5d3e392a13a0: Preparing 09:56:56 5d3e392a13a0: Layer already exists 09:56:56 baf36bc16a1c: Layer already exists 09:56:56 7ed246325802: Layer already exists 09:56:56 c1236619c5f7: Layer already exists 09:56:56 7c43ae7492ec: Layer already exists 09:56:56 c5649ddb8ffd305e282f5692e5ab02afc05b76b1-2.3.0-dev.19: digest: sha256:dce782f4cdd2767024b797e9bdd689f8797ad26443b57379ebd710c338137cd9 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:56:57 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:56:57 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 09:56:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 09:56:57 c1236619c5f7: Preparing 09:56:57 baf36bc16a1c: Preparing 09:56:57 7ed246325802: Preparing 09:56:57 7c43ae7492ec: Preparing 09:56:57 5d3e392a13a0: Preparing 09:56:57 7c43ae7492ec: Layer already exists 09:56:57 7ed246325802: Layer already exists 09:56:57 c1236619c5f7: Layer already exists 09:56:57 baf36bc16a1c: Layer already exists 09:56:57 5d3e392a13a0: Layer already exists 09:56:57 main: digest: sha256:dce782f4cdd2767024b797e9bdd689f8797ad26443b57379ebd710c338137cd9 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:56:58 ===================================================== [Pipeline] echo 09:56:58 taggedImages: 09:56:58 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:c5649ddb8ffd305e282f5692e5ab02afc05b76b1 09:56:58 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 09:56:58 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.19 09:56:58 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:c5649ddb8ffd305e282f5692e5ab02afc05b76b1-2.3.0-dev.19 09:56:58 - 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 09:56:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:56:58 09:56:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:56:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:56:58 arm64: Pulling from edgex-lftools-log-publisher 09:56:58 8998bd30e6a1: Pulling fs layer 09:56:58 04944245beec: Pulling fs layer 09:56:58 699f458cf7ca: Pulling fs layer 09:56:58 765212b225bb: Pulling fs layer 09:56:58 f23df028b6ca: Pulling fs layer 09:56:58 d65c8cfc05b1: Pulling fs layer 09:56:58 2437ff75d9bd: Pulling fs layer 09:56:58 f23df028b6ca: Waiting 09:56:58 d65c8cfc05b1: Waiting 09:56:58 2437ff75d9bd: Waiting 09:56:58 765212b225bb: Waiting 09:56:59 699f458cf7ca: Verifying Checksum 09:56:59 699f458cf7ca: Download complete 09:56:59 765212b225bb: Verifying Checksum 09:56:59 765212b225bb: Download complete 09:56:59 04944245beec: Verifying Checksum 09:56:59 04944245beec: Download complete 09:56:59 d65c8cfc05b1: Verifying Checksum 09:56:59 d65c8cfc05b1: Download complete 09:56:59 f23df028b6ca: Verifying Checksum 09:56:59 f23df028b6ca: Download complete 09:56:59 8998bd30e6a1: Download complete 09:57:02 2437ff75d9bd: Verifying Checksum 09:57:02 2437ff75d9bd: Download complete 09:57:03 8998bd30e6a1: Pull complete 09:57:03 04944245beec: Pull complete 09:57:05 699f458cf7ca: Pull complete 09:57:05 765212b225bb: Pull complete 09:57:05 f23df028b6ca: Pull complete 09:57:06 d65c8cfc05b1: Pull complete 09:57:21 2437ff75d9bd: Pull complete 09:57:21 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:57:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:57:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:57:21 prd-ubuntu20.04-docker-arm64-4c-16g-8287 does not seem to be running inside a container 09:57:21 $ 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/50 -v /w/workspace/device-snmp-go/50:/w/workspace/device-snmp-go/50:rw,z -v /w/workspace/device-snmp-go/50@tmp:/w/workspace/device-snmp-go/50@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:arm64 cat 09:57:23 $ docker top 412d9e4e737d4a80c8bc82ff77706314a8e92881e7c1a83a3b0e6288afaeb52b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:57:24 ---> job-cost.sh 09:57:24 lf-activate-venv: SKIPPING 09:57:24 INFO: No Stack... 09:57:25 INFO: Retrieving Pricing Info for: v3-standard-4 09:57:25 INFO: Archiving Costs [Pipeline] sh 09:57:25 + cat /w/workspace/device-snmp-go/50/archives/cost.csv 09:57:25 + cut -d, -f6 [Pipeline] lock 09:57:25 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-50-stack-cost] 09:57:25 Resource [jenkins-edgexfoundry-device-snmp-go-main-50-stack-cost] did not exist. Created. 09:57:25 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-50-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:57:26 /w/workspace/device-snmp-go/50@tmp/durable-186360d2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:57:26 + echo total: 0.10999999940395355 [Pipeline] stash 09:57:26 Warning: overwriting stash ‘stack-cost’ 09:57:26 Stashed 1 file(s) [Pipeline] } 09:57:26 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-50-stack-cost] [Pipeline] // lock [Pipeline] } 09:57:26 $ docker stop --time=1 412d9e4e737d4a80c8bc82ff77706314a8e92881e7c1a83a3b0e6288afaeb52b 09:57:28 $ docker rm -f 412d9e4e737d4a80c8bc82ff77706314a8e92881e7c1a83a3b0e6288afaeb52b [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 09:57:28 provisioning config files... 09:57:28 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config14871046599782186528tmp [Pipeline] { [Pipeline] sh 09:57:28 + set +x 09:57:28 + curl -s https://codecov.io/bash 09:57:28 + bash -s -- 09:57:28 09:57:28 _____ _ 09:57:28 / ____| | | 09:57:28 | | ___ __| | ___ ___ _____ __ 09:57:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:57:28 | |___| (_) | (_| | __/ (_| (_) \ V / 09:57:28 \_____\___/ \__,_|\___|\___\___/ \_/ 09:57:28 Bash-1.0.6 09:57:28 09:57:28 09:57:28 ==> git version 2.25.1 found 09:57:28 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 09:57:28 Release-Date: 2020-01-08 09:57:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:57:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:57:28 ==> Jenkins CI detected. 09:57:28 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 09:57:28 project root: . 09:57:28 --> token set from env 09:57:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:57:28 ==> Running gcov in . (disable via -X gcov) 09:57:28 ==> Python coveragepy not found 09:57:28 ==> Searching for coverage reports in: 09:57:28 + . 09:57:28 -> Found 1 reports 09:57:28 ==> Detecting git/mercurial file structure 09:57:28 ==> Reading reports 09:57:28 + ./coverage.out bytes=7631 09:57:28 ==> Appending adjustments 09:57:28 https://docs.codecov.io/docs/fixing-reports 09:57:29 + Found adjustments 09:57:29 ==> Gzipping contents 09:57:29 4.0K /tmp/codecov.Oo7HL7.gz 09:57:29 ==> Uploading reports 09:57:29 url: https://codecov.io 09:57:29 query: branch=main&commit=c5649ddb8ffd305e282f5692e5ab02afc05b76b1&build=50&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F50%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:57:29 -> Pinging Codecov 09:57:29 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=c5649ddb8ffd305e282f5692e5ab02afc05b76b1&build=50&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F50%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:57:29 -> Uploading to 09:57:29 https://storage.googleapis.com/codecov/v4/raw/2022-10-17/6C56EA5C29638FB4528AC87E60AF5AE0/c5649ddb8ffd305e282f5692e5ab02afc05b76b1/13beb50b-0c4c-4995-86df-0a0849a5c809.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221017%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221017T095729Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f398a7b2bab17665dbdcb3e30063604079756782f5f7ee5f8fe49708712e57b6 09:57:29 % Total % Received % Xferd Average Speed Time Time Time Current 09:57:29 Dload Upload Total Spent Left Speed 09:57:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1543 0 0 100 1543 0 6429 --:--:-- --:--:-- --:--:-- 6429 09:57:29 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/c5649ddb8ffd305e282f5692e5ab02afc05b76b1 [Pipeline] } 09:57:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 09:57:29 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 09:57:29 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:57:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:57:29 09:57:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:57:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:57:30 1.410.4: Pulling from edgex-devops/edgex-snyk-go 09:57:30 df9b9388f04a: Pulling fs layer 09:57:30 52dc419b0ee2: Pulling fs layer 09:57:30 25bc292e5bac: Pulling fs layer 09:57:30 114826534d7a: Pulling fs layer 09:57:30 4657fd5d0bcf: Pulling fs layer 09:57:30 6ad1cebc031e: Pulling fs layer 09:57:30 8a3aa393b2d8: Pulling fs layer 09:57:30 114826534d7a: Waiting 09:57:30 4657fd5d0bcf: Waiting 09:57:30 8a3aa393b2d8: Waiting 09:57:30 6ad1cebc031e: Waiting 09:57:30 25bc292e5bac: Verifying Checksum 09:57:30 25bc292e5bac: Download complete 09:57:30 52dc419b0ee2: Verifying Checksum 09:57:30 52dc419b0ee2: Download complete 09:57:30 4657fd5d0bcf: Verifying Checksum 09:57:30 4657fd5d0bcf: Download complete 09:57:30 df9b9388f04a: Download complete 09:57:30 df9b9388f04a: Pull complete 09:57:30 6ad1cebc031e: Verifying Checksum 09:57:30 6ad1cebc031e: Download complete 09:57:30 52dc419b0ee2: Pull complete 09:57:30 25bc292e5bac: Pull complete 09:57:31 114826534d7a: Verifying Checksum 09:57:31 114826534d7a: Download complete 09:57:31 8a3aa393b2d8: Verifying Checksum 09:57:31 8a3aa393b2d8: Download complete 09:57:34 114826534d7a: Pull complete 09:57:34 4657fd5d0bcf: Pull complete 09:57:34 6ad1cebc031e: Pull complete 09:57:37 8a3aa393b2d8: Pull complete 09:57:37 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 09:57:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:57:37 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:57:37 prd-ubuntu20.04-docker-8c-8g-8278 does not seem to be running inside a container 09:57:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 09:57:39 $ docker top 33cf69be35e0684d57f9e6d047db10c1e25ea53deef393567d9c87d8f350c0b4 -eo pid,comm [Pipeline] { [Pipeline] echo 09:57:39 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh 09:57:39 + set -o pipefail 09:57:39 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' 09:57:46 09:57:46 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 09:57:46 09:57:46 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/53ece6f5-2983-4678-947f-d6f68403f8db 09:57:46 09:57:46 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 09:57:46 09:57:46 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 09:57:46 09:57:46 09:57:46 A medium severity vulnerability was found in the Snyk CLI versions you are using. 09:57:46 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 09:57:46 More details here: https://snyk.co/ue1NS [Pipeline] } 09:57:46 $ docker stop --time=1 33cf69be35e0684d57f9e6d047db10c1e25ea53deef393567d9c87d8f350c0b4 09:57:49 $ docker rm -f 33cf69be35e0684d57f9e6d047db10c1e25ea53deef393567d9c87d8f350c0b4 [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 09:57:49 + git log --format=format:%s -1 c5649ddb8ffd305e282f5692e5ab02afc05b76b1 [Pipeline] sh 09:57:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:57:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:57:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:57:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:57:50 prd-ubuntu20.04-docker-8c-8g-8278 does not seem to be running inside a container 09:57:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:57:50 $ docker top 160faec3ddb532e73d518815f568098dfe616de4159b507b2d152d4cc2866acd -eo pid,comm 09:57: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). 09:57:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:57:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:57:50 [ssh-agent] Looking for ssh-agent implementation... 09:57:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:57:51 $ docker exec 160faec3ddb532e73d518815f568098dfe616de4159b507b2d152d4cc2866acd ssh-agent 09:57:51 SSH_AUTH_SOCK=/tmp/ssh-67doiaT2QK4o/agent.34 09:57:51 SSH_AGENT_PID=40 09:57:51 Running ssh-add (command line suppressed) 09:57:51 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_17948642008248492583.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_17948642008248492583.key) 09:57:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:57:51 + git semver tag 09:57:51 2022-10-17 09:57:51,743 [run_tag] DEBUG tag force:False 09:57:51 2022-10-17 09:57:51,743 [check_head_tag] DEBUG check head tag 09:57:51 2022-10-17 09:57:51,744 [execute] INFO git cat-file --batch-check 09:57:51 2022-10-17 09:57:51,744 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 09:57:51 2022-10-17 09:57:51,748 [execute] INFO git cat-file --batch 09:57:51 2022-10-17 09:57:51,749 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 09:57:51 2022-10-17 09:57:51,763 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 09:57:51 2022-10-17 09:57:51,763 [execute] INFO git tag -a v2.3.0-dev.19 -m v2.3.0-dev.19 09:57:51 2022-10-17 09:57:51,764 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.19', '-m', 'v2.3.0-dev.19'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 09:57:51 2022-10-17 09:57:51,769 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 09:57:51 2.3.0-dev.19 [Pipeline] } 09:57:51 $ docker exec --env ******** --env ******** 160faec3ddb532e73d518815f568098dfe616de4159b507b2d152d4cc2866acd ssh-agent -k 09:57:51 unset SSH_AUTH_SOCK; 09:57:51 unset SSH_AGENT_PID; 09:57:51 echo Agent pid 40 killed; 09:57:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:57:52 + git semver [Pipeline] } 09:57:52 $ docker stop --time=1 160faec3ddb532e73d518815f568098dfe616de4159b507b2d152d4cc2866acd 09:57:53 $ docker rm -f 160faec3ddb532e73d518815f568098dfe616de4159b507b2d152d4cc2866acd [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:57:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:57:54 09:57:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:57:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:57:54 0.23.1-centos7: Pulling from edgex-lftools 09:57:54 ab5ef0e58194: Pulling fs layer 09:57:54 9712f1f96733: Pulling fs layer 09:57:54 63f879dbbcfc: Pulling fs layer 09:57:54 0d9ebad4ef96: Pulling fs layer 09:57:54 e9a5061849ea: Pulling fs layer 09:57:54 d747dcd14b5f: Pulling fs layer 09:57:54 2de7ff778b66: Pulling fs layer 09:57:54 0d9ebad4ef96: Waiting 09:57:54 e9a5061849ea: Waiting 09:57:54 2de7ff778b66: Waiting 09:57:54 9712f1f96733: Download complete 09:57:54 63f879dbbcfc: Verifying Checksum 09:57:54 63f879dbbcfc: Download complete 09:57:55 ab5ef0e58194: Verifying Checksum 09:57:55 ab5ef0e58194: Download complete 09:57:55 e9a5061849ea: Verifying Checksum 09:57:55 e9a5061849ea: Download complete 09:57:55 0d9ebad4ef96: Verifying Checksum 09:57:55 0d9ebad4ef96: Download complete 09:57:55 d747dcd14b5f: Verifying Checksum 09:57:55 d747dcd14b5f: Download complete 09:57:55 2de7ff778b66: Verifying Checksum 09:57:55 2de7ff778b66: Download complete 09:57:57 ab5ef0e58194: Pull complete 09:57:57 9712f1f96733: Pull complete 09:57:58 63f879dbbcfc: Pull complete 09:58:01 0d9ebad4ef96: Pull complete 09:58:01 e9a5061849ea: Pull complete 09:58:02 d747dcd14b5f: Pull complete 09:58:03 2de7ff778b66: Pull complete 09:58:03 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:58:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:58:03 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:58:03 prd-ubuntu20.04-docker-8c-8g-8278 does not seem to be running inside a container 09:58: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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 09:58:05 $ docker top 71916ac5d06f5efc80cb3fc924ebdcd8ca5b7137c8cedada43f80f18ea9b219b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:58:05 provisioning config files... 09:58:05 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config13751333771063377556tmp 09:58:05 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3976796700679620309tmp 09:58:05 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2714600110647225440tmp [Pipeline] { [Pipeline] echo 09:58:05 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:58:05 ---> sigul-configuration.sh 09:58:05 gpg: directory `/root/.gnupg' created 09:58:05 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:58:05 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:58:05 gpg: keyring `/root/.gnupg/secring.gpg' created 09:58:05 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:58:05 gpg: CAST5 encrypted data 09:58:05 gpg: encrypted with 1 passphrase 09:58:05 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:58:06 + mkdir /home/jenkins 09:58:06 + mkdir /home/jenkins/sigul [Pipeline] sh 09:58:06 + 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 09:58:06 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:58:06 ---> sigul-install.sh 09:58:06 Sigul already installed; skipping installation. [Pipeline] sh 09:58:07 + git tag --list 09:58:07 1.0.0 09:58:07 v0.0.0 09:58:07 v1.1.0 09:58:07 v1.1.1 09:58:07 v1.2.2 09:58:07 v1.3.0 09:58:07 v1.3.1 09:58:07 v2.0.0 09:58:07 v2.1.0 09:58:07 v2.1.1 09:58:07 v2.1.1-dev.2 09:58:07 v2.1.1-dev.3 09:58:07 v2.2.0 09:58:07 v2.2.1-dev.1 09:58:07 v2.2.1-dev.2 09:58:07 v2.2.1-dev.3 09:58:07 v2.2.1-dev.4 09:58:07 v2.2.1-dev.5 09:58:07 v2.2.1-dev.6 09:58:07 v2.2.1-dev.7 09:58:07 v2.3.0-dev.10 09:58:07 v2.3.0-dev.11 09:58:07 v2.3.0-dev.12 09:58:07 v2.3.0-dev.13 09:58:07 v2.3.0-dev.14 09:58:07 v2.3.0-dev.15 09:58:07 v2.3.0-dev.16 09:58:07 v2.3.0-dev.17 09:58:07 v2.3.0-dev.18 09:58:07 v2.3.0-dev.19 09:58:07 v2.3.0-dev.7 09:58:07 v2.3.0-dev.8 09:58:07 v2.3.0-dev.9 [Pipeline] sh 09:58:07 + lftools sign git-tag v2.3.0-dev.19 09:58:07 Signing Git tag with Sigul... 09:58:07 Signing v2.3.0-dev.19 [Pipeline] echo 09:58:08 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:58:08 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:58:08 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:58:08 $ docker stop --time=1 71916ac5d06f5efc80cb3fc924ebdcd8ca5b7137c8cedada43f80f18ea9b219b 09:58:09 $ docker rm -f 71916ac5d06f5efc80cb3fc924ebdcd8ca5b7137c8cedada43f80f18ea9b219b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 09:58:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:58:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:58:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:58:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:58:10 prd-ubuntu20.04-docker-8c-8g-8278 does not seem to be running inside a container 09:58:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:58:11 $ docker top 1ad892c7ec656189345b37457995ef411c03351e8a2252454b8836d277e5ba20 -eo pid,comm 09:58:11 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). 09:58:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:58:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:58:11 [ssh-agent] Looking for ssh-agent implementation... 09:58:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:58:11 $ docker exec 1ad892c7ec656189345b37457995ef411c03351e8a2252454b8836d277e5ba20 ssh-agent 09:58:11 SSH_AUTH_SOCK=/tmp/ssh-ja9Op91sQLCX/agent.31 09:58:11 SSH_AGENT_PID=37 09:58:11 Running ssh-add (command line suppressed) 09:58:11 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16840376279218029137.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16840376279218029137.key) 09:58:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:58:11 + git semver bump pre 09:58:12 2022-10-17 09:58:11,950 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 09:58:12 2022-10-17 09:58:11,950 [bump_version] DEBUG bumping version:2.3.0-dev.19 on axis:pre with prefix:dev 09:58:12 2022-10-17 09:58:11,950 [bump_version] DEBUG bumped version:2.3.0-dev.20 09:58:12 2022-10-17 09:58:11,950 [write_version] DEBUG write version:2.3.0-dev.20 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True 09:58:12 2022-10-17 09:58:11,950 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 09:58:12 2022-10-17 09:58:11,950 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 09:58:12 2022-10-17 09:58:11,952 [execute] INFO git cat-file --batch-check 09:58:12 2022-10-17 09:58:11,953 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:58:12 2022-10-17 09:58:11,958 [execute] INFO git cat-file --batch 09:58:12 2022-10-17 09:58:11,958 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:58:12 2022-10-17 09:58:11,964 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 09:58:12 2.3.0-dev.20 [Pipeline] } 09:58:12 $ docker exec --env ******** --env ******** 1ad892c7ec656189345b37457995ef411c03351e8a2252454b8836d277e5ba20 ssh-agent -k 09:58:12 unset SSH_AUTH_SOCK; 09:58:12 unset SSH_AGENT_PID; 09:58:12 echo Agent pid 37 killed; 09:58:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:58:12 + git semver [Pipeline] } 09:58:12 $ docker stop --time=1 1ad892c7ec656189345b37457995ef411c03351e8a2252454b8836d277e5ba20 09:58:14 $ docker rm -f 1ad892c7ec656189345b37457995ef411c03351e8a2252454b8836d277e5ba20 [Pipeline] // withDockerContainer [Pipeline] sh 09:58:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:58:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:58:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:58:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:58:14 prd-ubuntu20.04-docker-8c-8g-8278 does not seem to be running inside a container 09:58:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:58:15 $ docker top b1b0686ea7b324feee4f5ce5fa3e7b4a8640dbf10d4325191447e095a890cf2f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:58:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:58:15 [ssh-agent] Looking for ssh-agent implementation... 09:58:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:58:15 $ docker exec b1b0686ea7b324feee4f5ce5fa3e7b4a8640dbf10d4325191447e095a890cf2f ssh-agent 09:58:15 SSH_AUTH_SOCK=/tmp/ssh-RCQb8PvNQ5Oq/agent.31 09:58:15 SSH_AGENT_PID=37 09:58:15 Running ssh-add (command line suppressed) 09:58:15 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16605835075922217382.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16605835075922217382.key) 09:58:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:58:15 + git semver push 09:58:16 2022-10-17 09:58:16,114 [run_push] DEBUG push 09:58:16 2022-10-17 09:58:16,114 [execute] INFO git cat-file --batch-check 09:58:16 2022-10-17 09:58:16,115 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:58:16 2022-10-17 09:58:16,119 [execute] INFO git rev-list 3a26ff33eba0a23b5f93c6fc70b43b3f3b9bd966 -- 09:58:16 2022-10-17 09:58:16,120 [execute] DEBUG Popen(['git', 'rev-list', '3a26ff33eba0a23b5f93c6fc70b43b3f3b9bd966', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:58:16 2022-10-17 09:58:16,128 [execute] INFO git fetch -v origin 09:58:16 2022-10-17 09:58:16,128 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) 09:58:16 2022-10-17 09:58:16,667 [run_push] DEBUG no remote changes detected 09:58:16 2022-10-17 09:58:16,668 [execute] INFO git push origin semver 09:58:16 2022-10-17 09:58:16,668 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:58:17 2022-10-17 09:58:17,629 [run_push] DEBUG push all version tags 09:58:17 2022-10-17 09:58:17,630 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 09:58:17 2022-10-17 09:58:17,630 [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) 09:58:18 2022-10-17 09:58:18,419 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 09:58:18 2.3.0-dev.20 [Pipeline] } 09:58:18 $ docker exec --env ******** --env ******** b1b0686ea7b324feee4f5ce5fa3e7b4a8640dbf10d4325191447e095a890cf2f ssh-agent -k 09:58:18 unset SSH_AUTH_SOCK; 09:58:18 unset SSH_AGENT_PID; 09:58:18 echo Agent pid 37 killed; 09:58:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:58:19 + git semver [Pipeline] } 09:58:19 $ docker stop --time=1 b1b0686ea7b324feee4f5ce5fa3e7b4a8640dbf10d4325191447e095a890cf2f 09:58:20 $ docker rm -f b1b0686ea7b324feee4f5ce5fa3e7b4a8640dbf10d4325191447e095a890cf2f [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 09:58:21 + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] 09:58:21 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 09:58:21 total 16 09:58:21 drwxr-xr-x 3 root root 4096 Oct 17 09:49 . 09:58:21 drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 09:58 .. 09:58:21 drwxr-xr-x 2 root root 4096 Oct 17 09:49 cost 09:58:21 -rw-r--r-- 1 root root 86 Oct 17 09:49 cost.csv 09:58:21 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives 09:58:21 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 09:58:21 total 16 09:58:21 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 09:49 . 09:58:21 drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 09:58 .. 09:58:21 drwxr-xr-x 2 jenkins jenkins 4096 Oct 17 09:49 cost 09:58:21 -rw-r--r-- 1 jenkins jenkins 86 Oct 17 09:49 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:58:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:58:22 ---> package-listing.sh 09:58:22 ++ facter osfamily 09:58:22 ++ tr '[:upper:]' '[:lower:]' 09:58:22 + OS_FAMILY=debian 09:58:22 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 09:58:22 + START_PACKAGES=/tmp/packages_start.txt 09:58:22 + END_PACKAGES=/tmp/packages_end.txt 09:58:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:58:22 + PACKAGES=/tmp/packages_start.txt 09:58:22 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 09:58:22 + PACKAGES=/tmp/packages_end.txt 09:58:22 + case "${OS_FAMILY}" in 09:58:22 + dpkg -l 09:58:22 + grep '^ii' 09:58:22 + '[' -f /tmp/packages_start.txt ']' 09:58:22 + '[' -f /tmp/packages_end.txt ']' 09:58:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:58:22 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 09:58:22 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 09:58:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo 09:58:22 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 09:58:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:58:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:58:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:58:23 prd-ubuntu20.04-docker-8c-8g-8278 does not seem to be running inside a container 09:58:23 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:58:23 $ docker top 28b2c3bd9d41bc213c841c874d5ecb0e830f2e965db7e49bad30971e3b3f0f0d -eo pid,comm [Pipeline] { [Pipeline] sh 09:58:24 + touch /tmp/pre-build-complete [Pipeline] sh 09:58:24 + mkdir -p /var/log/sysstat [Pipeline] sh 09:58:24 + ls /var/log/sa-host 09:58:24 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:58:24 provisioning config files... 09:58:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7446697031712525300tmp [Pipeline] { [Pipeline] echo 09:58:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:58:25 ---> create-netrc.sh [Pipeline] } 09:58:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:58:25 ---> python-tools-install.sh [Pipeline] echo 09:58:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:58:25 ---> sudo-logs.sh 09:58:25 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:58:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:58:25 ---> job-cost.sh 09:58:25 lf-activate-venv: SKIPPING 09:58:25 DEBUG: total: 0.2199999988079071 09:58:25 INFO: Retrieving Stack Cost... 09:58:26 INFO: Retrieving Pricing Info for: v3-standard-8 09:58:26 INFO: Archiving Costs [Pipeline] echo 09:58:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:58:27 ---> logs-deploy.sh 09:58:27 lf-activate-venv: SKIPPING 09:58:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/50 09:58:27 INFO: archiving workspace using pattern(s): 09:58:28 Archives upload complete. 09:58:28 INFO: archiving logs to Nexus