Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 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-ssh24229237099267281.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh1152720943429290656.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh1304457313976974866.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh14880673121960209733.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13861543042064710572.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-8594’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-8595’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-8777’ is offline Running on prd-ubuntu20.04-docker-8c-8g-8778 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/edgexfoundry_device-snmp-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 (main) Commit message: "fix: [WIP BUG] Add ProfilesDir & DevicesDir to local config (#286)" > 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 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 # timeout=10 > git rev-list --no-walk 9857977cf1224abf0980974ddd92ec9b34aea725 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:17:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:17:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:17:49 ========================================================= 20:17:49 EdgeX Global Pipelines Version Info 20:17:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:17:50 ------------------- 20:17:50 stable info: 20:17:50 ------------------- 20:17:50 Commited By: Bill Mahoney bill.mahoney@intel.com 20:17:50 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 20:17:50 Message: update stable to v1.0.248 20:17:50 ------------------- 20:17:50 experimental info: 20:17:50 ------------------- 20:17:50 Commited By: **** collab-it+edgex@linuxfoundation.org 20:17:50 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 20:17:50 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:17:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 20:17:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 20:17:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:17:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:17:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:17:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:17:50 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:17:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:17:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:17:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:17:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:17:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 20:17:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:17:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:17:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:17:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:17:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:17:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:17:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:17:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:17:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:17:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:17:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:17:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:17:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:17:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:17:51 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:17:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:17:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:17:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:17:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 [Pipeline] echo 20:17:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 66f4f92 [Pipeline] echo 20:17:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:17:51 provisioning config files... 20:17:51 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6578881372967204019tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:17:51 ---> docker-login.sh 20:17:51 nexus3.edgexfoundry.org:10001 20:17:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:51 Configure a credential helper to remove this warning. See 20:17:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:51 20:17:51 Login Succeeded 20:17:51 nexus3.edgexfoundry.org:10002 20:17:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:51 Configure a credential helper to remove this warning. See 20:17:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:51 20:17:51 Login Succeeded 20:17:51 nexus3.edgexfoundry.org:10003 20:17:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:52 Configure a credential helper to remove this warning. See 20:17:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:52 20:17:52 Login Succeeded 20:17:52 nexus3.edgexfoundry.org:10004 20:17:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:52 Configure a credential helper to remove this warning. See 20:17:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:52 20:17:52 Login Succeeded 20:17:52 docker.io 20:17:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:52 Configure a credential helper to remove this warning. See 20:17:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:52 20:17:52 Login Succeeded 20:17:52 ---> docker-login.sh ends [Pipeline] } 20:17:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:17:52 + git rev-list -1 --merges 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92~1..66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 [Pipeline] echo 20:17:52 -----------> git rev-list -1 --merges 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92~1..66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 [false] [Pipeline] sh 20:17:53 + git log --format=format:%s -1 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 [Pipeline] echo 20:17:53 ========================================================= 20:17:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:17:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:17:53 + git log --format=format:%s -1 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 [Pipeline] echo 20:17:53 [semverPrep] GIT_COMMIT: 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92, Commit Message: fix: [WIP BUG] Add ProfilesDir & DevicesDir to local config (#286) [Pipeline] echo 20:17:53 [semverPrep] This is not a build commit. [Pipeline] sh 20:17:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:17:53 + grep -v github /etc/ssh/ssh_known_hosts 20:17:53 + [ -e /tmp/ssh_known_hosts ] 20:17:53 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:17:53 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:17:53 + sudo tee -a /etc/ssh/ssh_known_hosts 20:17:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:17:54 20:17:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:17:54 0.1.4: Pulling from edgex-devops/py-git-semver 20:17:54 b85a868b505f: Pulling fs layer 20:17:54 e2be974225ed: Pulling fs layer 20:17:54 339a4e72a1f5: Pulling fs layer 20:17:54 988bab9f4d93: Pulling fs layer 20:17:54 1469e6f7b9e6: Pulling fs layer 20:17:54 eaf3925da568: Pulling fs layer 20:17:54 bab4dde63d76: Pulling fs layer 20:17:54 bde34c3a00c8: Pulling fs layer 20:17:54 b352a97aabf1: Pulling fs layer 20:17:54 4872d77fe225: Pulling fs layer 20:17:54 5851b861e8e6: Pulling fs layer 20:17:54 bab4dde63d76: Waiting 20:17:54 1469e6f7b9e6: Waiting 20:17:54 eaf3925da568: Waiting 20:17:54 bde34c3a00c8: Waiting 20:17:54 b352a97aabf1: Waiting 20:17:54 4872d77fe225: Waiting 20:17:54 988bab9f4d93: Waiting 20:17:54 5851b861e8e6: Waiting 20:17:54 e2be974225ed: Verifying Checksum 20:17:54 e2be974225ed: Download complete 20:17:54 988bab9f4d93: Verifying Checksum 20:17:54 988bab9f4d93: Download complete 20:17:54 1469e6f7b9e6: Verifying Checksum 20:17:54 1469e6f7b9e6: Download complete 20:17:54 339a4e72a1f5: Verifying Checksum 20:17:54 339a4e72a1f5: Download complete 20:17:54 eaf3925da568: Download complete 20:17:54 bde34c3a00c8: Verifying Checksum 20:17:54 bde34c3a00c8: Download complete 20:17:54 b352a97aabf1: Download complete 20:17:54 4872d77fe225: Verifying Checksum 20:17:54 4872d77fe225: Download complete 20:17:54 5851b861e8e6: Download complete 20:17:54 b85a868b505f: Verifying Checksum 20:17:54 b85a868b505f: Download complete 20:17:55 bab4dde63d76: Verifying Checksum 20:17:55 bab4dde63d76: Download complete 20:17:55 b85a868b505f: Pull complete 20:17:55 e2be974225ed: Pull complete 20:17:56 339a4e72a1f5: Pull complete 20:17:56 988bab9f4d93: Pull complete 20:17:56 1469e6f7b9e6: Pull complete 20:17:56 eaf3925da568: Pull complete 20:17:58 bab4dde63d76: Pull complete 20:17:58 bde34c3a00c8: Pull complete 20:17:58 b352a97aabf1: Pull complete 20:17:58 4872d77fe225: Pull complete 20:17:58 5851b861e8e6: Pull complete 20:17:58 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:17:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:17:58 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:17:58 prd-ubuntu20.04-docker-8c-8g-8778 does not seem to be running inside a container 20:17:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:17:59 $ docker top 248fce39d54d705103a3abb6b617d0803673fe728e302fd5ac99e59d44709b65 -eo pid,comm 20:17:59 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). 20:17:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:17:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:17:59 [ssh-agent] Looking for ssh-agent implementation... 20:18:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:18:00 $ docker exec 248fce39d54d705103a3abb6b617d0803673fe728e302fd5ac99e59d44709b65 ssh-agent 20:18:00 SSH_AUTH_SOCK=/tmp/ssh-Syoku7Ca2DjR/agent.32 20:18:00 SSH_AGENT_PID=38 20:18:00 Running ssh-add (command line suppressed) 20:18:00 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_10108625188786771.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_10108625188786771.key) 20:18:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:18:00 + git tag --points-at HEAD [Pipeline] } 20:18:00 $ docker exec --env ******** --env ******** 248fce39d54d705103a3abb6b617d0803673fe728e302fd5ac99e59d44709b65 ssh-agent -k 20:18:00 unset SSH_AUTH_SOCK; 20:18:00 unset SSH_AGENT_PID; 20:18:00 echo Agent pid 38 killed; 20:18:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:18:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:18:00 [ssh-agent] Looking for ssh-agent implementation... 20:18:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:18:00 $ docker exec 248fce39d54d705103a3abb6b617d0803673fe728e302fd5ac99e59d44709b65 ssh-agent 20:18:00 SSH_AUTH_SOCK=/tmp/ssh-6OFaWo7LOwuW/agent.70 20:18:00 SSH_AGENT_PID=76 20:18:00 Running ssh-add (command line suppressed) 20:18:01 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_10110404660327374725.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_10110404660327374725.key) 20:18:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:18:01 + git semver init 20:18:01 2023-04-17 20:18:01,574 [run_init] DEBUG init version:0.0.0 force:False 20:18:01 2023-04-17 20:18:01,575 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver 20:18:01 2023-04-17 20:18:01,576 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver 20:18:01 2023-04-17 20:18:01,576 [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) 20:18:02 2023-04-17 20:18:02,340 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude 20:18:02 2023-04-17 20:18:02,343 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False 20:18:02 2023-04-17 20:18:02,343 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 20:18:02 2023-04-17 20:18:02,343 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 20:18:02 3.0.0-dev.13 [Pipeline] } 20:18:02 $ docker exec --env ******** --env ******** 248fce39d54d705103a3abb6b617d0803673fe728e302fd5ac99e59d44709b65 ssh-agent -k 20:18:02 unset SSH_AUTH_SOCK; 20:18:02 unset SSH_AGENT_PID; 20:18:02 echo Agent pid 76 killed; 20:18:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:18:02 + git semver [Pipeline] } 20:18:03 $ docker stop --time=1 248fce39d54d705103a3abb6b617d0803673fe728e302fd5ac99e59d44709b65 20:18:04 $ docker rm -f --volumes 248fce39d54d705103a3abb6b617d0803673fe728e302fd5ac99e59d44709b65 [Pipeline] // withDockerContainer [Pipeline] sh 20:18:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:18:05 Stashed 1 file(s) [Pipeline] echo 20:18:05 [edgeXSemver]: initialized semver on version 3.0.0-dev.13 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:18:05 provisioning config files... 20:18:05 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config423799233598010464tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:18:05 ---> docker-login.sh 20:18:05 nexus3.edgexfoundry.org:10001 20:18:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:05 Configure a credential helper to remove this warning. See 20:18:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:05 20:18:05 Login Succeeded 20:18:05 nexus3.edgexfoundry.org:10002 20:18:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:05 Configure a credential helper to remove this warning. See 20:18:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:05 20:18:05 Login Succeeded 20:18:05 nexus3.edgexfoundry.org:10003 20:18:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:05 Configure a credential helper to remove this warning. See 20:18:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:05 20:18:05 Login Succeeded 20:18:05 nexus3.edgexfoundry.org:10004 20:18:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:05 Configure a credential helper to remove this warning. See 20:18:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:05 20:18:05 Login Succeeded 20:18:05 docker.io 20:18:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:06 Configure a credential helper to remove this warning. See 20:18:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:06 20:18:06 Login Succeeded 20:18:06 ---> docker-login.sh ends [Pipeline] } 20:18:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:18:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:18:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:18:06 ========================================================= 20:18:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:18:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:06 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 20:18:06 Sending build context to Docker daemon 5.762MB 20:18:06 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 20:18:06 Step 2/12 : FROM ${BASE} AS builder 20:18:06 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:18:06 63b65145d645: Pulling fs layer 20:18:06 a2d21d5440eb: Pulling fs layer 20:18:06 935e6c44a52c: Pulling fs layer 20:18:06 94cc34f8dd06: Pulling fs layer 20:18:06 30dea6a524f1: Pulling fs layer 20:18:06 94cc34f8dd06: Waiting 20:18:06 a2aff8979fd8: Pulling fs layer 20:18:06 30dea6a524f1: Waiting 20:18:06 6808be2612f2: Pulling fs layer 20:18:06 f25807f1079a: Pulling fs layer 20:18:06 f25807f1079a: Waiting 20:18:06 a2d21d5440eb: Download complete 20:18:06 94cc34f8dd06: Verifying Checksum 20:18:06 94cc34f8dd06: Download complete 20:18:06 30dea6a524f1: Download complete 20:18:06 63b65145d645: Verifying Checksum 20:18:06 63b65145d645: Download complete 20:18:06 a2aff8979fd8: Verifying Checksum 20:18:06 a2aff8979fd8: Download complete 20:18:06 63b65145d645: Pull complete 20:18:06 a2d21d5440eb: Pull complete 20:18:06 f25807f1079a: Verifying Checksum 20:18:06 f25807f1079a: Download complete 20:18:07 935e6c44a52c: Verifying Checksum 20:18:07 935e6c44a52c: Download complete 20:18:07 6808be2612f2: Verifying Checksum 20:18:07 6808be2612f2: Download complete 20:18:10 935e6c44a52c: Pull complete 20:18:10 94cc34f8dd06: Pull complete 20:18:10 30dea6a524f1: Pull complete 20:18:11 a2aff8979fd8: Pull complete 20:18:13 6808be2612f2: Pull complete 20:18:14 f25807f1079a: Pull complete 20:18:14 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 20:18:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:18:14 ---> 3b553350e43f 20:18:14 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:18:15 ---> Running in 4b68997bfc65 20:18:15 Removing intermediate container 4b68997bfc65 20:18:15 ---> 4bb6ef0d4cea 20:18:15 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:18:15 ---> Running in b6baffa6a69f 20:18:15 Removing intermediate container b6baffa6a69f 20:18:15 ---> 268a13c40df8 20:18:15 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:18:15 ---> Running in e69d8ad49986 20:18:15 Removing intermediate container e69d8ad49986 20:18:15 ---> f35cec174811 20:18:15 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:18:15 ---> Running in 6fe0e3af46a4 20:18:15 Removing intermediate container 6fe0e3af46a4 20:18:15 ---> 722305400777 20:18:15 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:18:15 ---> Running in 95ca0aad4089 20:18:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:18:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:18:16 (1/4) Installing openssh-keygen (9.1_p1-r2) 20:18:16 (2/4) Installing libedit (20221030.3.1-r0) 20:18:16 (3/4) Installing openssh-client-common (9.1_p1-r2) 20:18:16 (4/4) Installing openssh-client-default (9.1_p1-r2) 20:18:16 Executing busybox-1.35.0-r29.trigger 20:18:16 OK: 269 MiB in 57 packages 20:18:16 Removing intermediate container 95ca0aad4089 20:18:16 ---> 2b5b14f7cd27 20:18:16 Step 8/12 : WORKDIR /device-snmp-go 20:18:17 ---> Running in 39387eab8a37 20:18:17 Removing intermediate container 39387eab8a37 20:18:17 ---> e9c8036154f6 20:18:17 Step 9/12 : COPY go.mod vendor* ./ 20:18:17 ---> b6f51973030a 20:18:17 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:18:17 ---> Running in 24a044d4c164 20:18:20 Still waiting to schedule task 20:18:20 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 20:18:38 Removing intermediate container 24a044d4c164 20:18:38 ---> 8c5509de7613 20:18:38 Step 11/12 : COPY . . 20:18:38 ---> 910833df1db9 20:18:38 Step 12/12 : RUN ${MAKE} 20:18:38 ---> Running in dc87f2c68130 20:18:38 noop 20:18:38 Removing intermediate container dc87f2c68130 20:18:38 ---> 039f7c89ea64 20:18:38 Successfully built 039f7c89ea64 20:18:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:39 + docker inspect -f . ci-base-image-x86_64 20:18:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:18:39 prd-ubuntu20.04-docker-8c-8g-8778 does not seem to be running inside a container 20:18:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:18:39 $ docker top d9c1a451d911a68b481f05634f6041b50acf2855d12dd67b671087cdb69676fb -eo pid,comm [Pipeline] { [Pipeline] sh 20:18:40 + go version 20:18:40 go version go1.20.2 linux/amd64 [Pipeline] } 20:18:40 $ docker stop --time=1 d9c1a451d911a68b481f05634f6041b50acf2855d12dd67b671087cdb69676fb 20:18:41 $ docker rm -f --volumes d9c1a451d911a68b481f05634f6041b50acf2855d12dd67b671087cdb69676fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:41 + docker inspect -f . ci-base-image-x86_64 20:18:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:18:41 prd-ubuntu20.04-docker-8c-8g-8778 does not seem to be running inside a container 20:18:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:18:42 $ docker top 7b4e895b977aef78a0dfcdf53a9dda1e0c6192cf04f7575fd34b511eea00379a -eo pid,comm [Pipeline] { [Pipeline] sh 20:18:42 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh 20:18:42 + make test 20:18:42 go test ./... -coverprofile=coverage.out 20:18:48 ? github.com/edgexfoundry/device-snmp-go [no test files] 20:18:58 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 20:18:58 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.011s coverage: 0.0% of statements 20:19:02 go vet ./... 20:19:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:19:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:19:05 ./bin/test-attribution-txt.sh 20:19:05 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 20:19:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:19:05 $ docker stop --time=1 7b4e895b977aef78a0dfcdf53a9dda1e0c6192cf04f7575fd34b511eea00379a 20:19:07 $ docker rm -f --volumes 7b4e895b977aef78a0dfcdf53a9dda1e0c6192cf04f7575fd34b511eea00379a [Pipeline] // withDockerContainer [Pipeline] sh 20:19:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:19:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:19:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:19:08 + ls -al . 20:19:08 total 172 20:19:08 drwxrwxr-x 9 jenkins jenkins 4096 Apr 17 20:18 . 20:19:08 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 20:17 .. 20:19:08 -rw-rw-r-- 1 jenkins jenkins 6 Apr 17 20:17 .dockerignore 20:19:08 drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 20:18 .git 20:19:08 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 20:17 .github 20:19:08 -rw-rw-r-- 1 jenkins jenkins 328 Apr 17 20:17 .gitignore 20:19:08 -rw-rw-r-- 1 jenkins jenkins 41 Apr 17 20:17 .golangci.yml 20:19:08 drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 20:18 .semver 20:19:08 -rw-rw-r-- 1 jenkins jenkins 8926 Apr 17 20:17 Attribution.txt 20:19:08 -rw-rw-r-- 1 jenkins jenkins 8355 Apr 17 20:17 CHANGELOG.md 20:19:08 -rw-rw-r-- 1 jenkins jenkins 1423 Apr 17 20:17 Dockerfile 20:19:08 -rw-rw-r-- 1 jenkins jenkins 677 Apr 17 20:17 GOVERNANCE.md 20:19:08 -rw-rw-r-- 1 jenkins jenkins 656 Apr 17 20:17 Jenkinsfile 20:19:08 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 17 20:17 LICENSE 20:19:08 -rw-rw-r-- 1 jenkins jenkins 2114 Apr 17 20:17 Makefile 20:19:08 -rw-rw-r-- 1 jenkins jenkins 620 Apr 17 20:17 OWNERS.md 20:19:08 -rw-rw-r-- 1 jenkins jenkins 10054 Apr 17 20:17 README.md 20:19:08 -rw-rw-r-- 1 jenkins jenkins 12 Apr 17 20:18 VERSION 20:19:08 drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 20:17 bin 20:19:08 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 20:17 cmd 20:19:08 -rw-r--r-- 1 jenkins jenkins 8751 Apr 17 20:18 coverage.out 20:19:08 -rw-rw-r-- 1 jenkins jenkins 3283 Apr 17 20:17 go.mod 20:19:08 -rw-rw-r-- 1 jenkins jenkins 31551 Apr 17 20:17 go.sum 20:19:08 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 20:17 internal 20:19:08 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 20:17 snap 20:19:08 -rw-rw-r-- 1 jenkins jenkins 228 Apr 17 20:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:09 + 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=66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 --label arch=amd64 --label version=3.0.0-dev.13 . 20:19:09 Sending build context to Docker daemon 5.772MB 20:19:09 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 20:19:09 Step 2/24 : FROM ${BASE} AS builder 20:19:09 ---> 039f7c89ea64 20:19:09 Step 3/24 : ARG ADD_BUILD_TAGS="" 20:19:09 ---> Running in c0e7ba692316 20:19:09 Removing intermediate container c0e7ba692316 20:19:09 ---> 2cdd1116fa7a 20:19:09 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:19:09 ---> Running in efdbe7433e2e 20:19:09 Removing intermediate container efdbe7433e2e 20:19:09 ---> 7d4e9637d03b 20:19:09 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:19:09 ---> Running in a0740d517f17 20:19:09 Removing intermediate container a0740d517f17 20:19:09 ---> 653e5bbd4666 20:19:09 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 20:19:09 ---> Running in d67df9159f19 20:19:09 Removing intermediate container d67df9159f19 20:19:09 ---> 9c6545880c91 20:19:09 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:19:09 ---> Running in ed6ee3514939 20:19:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:19:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:19:10 OK: 269 MiB in 57 packages 20:19:10 Removing intermediate container ed6ee3514939 20:19:10 ---> 38a3f514573a 20:19:10 Step 8/24 : WORKDIR /device-snmp-go 20:19:10 ---> Running in fd75d4a3d521 20:19:10 Removing intermediate container fd75d4a3d521 20:19:10 ---> 7e0613ed3e4e 20:19:10 Step 9/24 : COPY go.mod vendor* ./ 20:19:10 ---> e88d7be226d7 20:19:10 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:19:10 ---> Running in 08538b8440f4 20:19:11 Removing intermediate container 08538b8440f4 20:19:11 ---> d8ebe1174dbf 20:19:11 Step 11/24 : COPY . . 20:19:11 ---> cca24886f73e 20:19:11 Step 12/24 : RUN ${MAKE} 20:19:11 ---> Running in 3a12652d69a5 20:19:11 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.13" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 20:19:29 Removing intermediate container 3a12652d69a5 20:19:29 ---> a6412d0f7c32 20:19:29 Step 13/24 : FROM alpine:3.17 20:19:29 3.17: Pulling from library/alpine 20:19:29 f56be85fc22e: Pulling fs layer 20:19:29 f56be85fc22e: Verifying Checksum 20:19:29 f56be85fc22e: Download complete 20:19:29 f56be85fc22e: Pull complete 20:19:29 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 20:19:29 Status: Downloaded newer image for alpine:3.17 20:19:29 ---> 9ed4aefc74f6 20:19:29 Step 14/24 : RUN apk add --update --no-cache dumb-init 20:19:29 ---> Running in c57f032610bb 20:19:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:19:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:19:29 (1/1) Installing dumb-init (1.2.5-r2) 20:19:29 Executing busybox-1.35.0-r29.trigger 20:19:29 OK: 7 MiB in 16 packages 20:19:29 Removing intermediate container c57f032610bb 20:19:29 ---> 0e261ad2994d 20:19:29 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 20:19:30 ---> 7b77640d2e05 20:19:30 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 20:19:30 ---> bca7ed341654 20:19:30 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 20:19:30 ---> 3ab46857851a 20:19:30 Step 18/24 : EXPOSE 59993 20:19:30 ---> Running in bd635008b951 20:19:30 Removing intermediate container bd635008b951 20:19:30 ---> ba21b034578c 20:19:30 Step 19/24 : EXPOSE 161 20:19:30 ---> Running in 0e5d56b65ef9 20:19:30 Removing intermediate container 0e5d56b65ef9 20:19:30 ---> 8c36bf3aa282 20:19:30 Step 20/24 : ENTRYPOINT ["/device-snmp"] 20:19:30 ---> Running in 5354c5295849 20:19:30 Removing intermediate container 5354c5295849 20:19:30 ---> de4795e30056 20:19:30 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 20:19:30 ---> Running in 3cf2c5ed5a41 20:19:30 Removing intermediate container 3cf2c5ed5a41 20:19:30 ---> 064510cdb843 20:19:30 Step 22/24 : LABEL arch=amd64 20:19:30 ---> Running in 00d0c88568fe 20:19:30 Removing intermediate container 00d0c88568fe 20:19:30 ---> ba6d4a88c57f 20:19:30 Step 23/24 : LABEL git_sha=66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 20:19:30 ---> Running in a1e760c361c7 20:19:30 Removing intermediate container a1e760c361c7 20:19:30 ---> 39891aade31d 20:19:30 Step 24/24 : LABEL version=3.0.0-dev.13 20:19:30 ---> Running in e0c86853a3e0 20:19:31 Removing intermediate container e0c86853a3e0 20:19:31 ---> 1cafef46aa8c 20:19:31 [Warning] One or more build-args [ARCH] were not consumed 20:19:31 Successfully built 1cafef46aa8c 20:19:31 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:19:31 provisioning config files... 20:19:31 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5237811605215399968tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:19:31 ---> docker-login.sh 20:19:31 nexus3.edgexfoundry.org:10001 20:19:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:19:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:19:31 Configure a credential helper to remove this warning. See 20:19:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:19:31 20:19:31 Login Succeeded 20:19:31 nexus3.edgexfoundry.org:10002 20:19:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:19:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:19:31 Configure a credential helper to remove this warning. See 20:19:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:19:31 20:19:31 Login Succeeded 20:19:31 nexus3.edgexfoundry.org:10003 20:19:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:19:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:19:31 Configure a credential helper to remove this warning. See 20:19:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:19:31 20:19:31 Login Succeeded 20:19:31 nexus3.edgexfoundry.org:10004 20:19:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:19:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:19:32 Configure a credential helper to remove this warning. See 20:19:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:19:32 20:19:32 Login Succeeded 20:19:32 docker.io 20:19:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:19:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:19:32 Configure a credential helper to remove this warning. See 20:19:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:19:32 20:19:32 Login Succeeded 20:19:32 ---> docker-login.sh ends [Pipeline] } 20:19:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:19:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:19:32 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 20:19:32 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 20:19:32 latest 20:19:32 3.0.0-dev.13 20:19:32 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92-3.0.0-dev.13 20:19:32 main 20:19:32 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:32 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:33 + docker push nexus3.edgexfoundry.org:10004/device-snmp:66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 20:19:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 20:19:33 3f2b10603d88: Preparing 20:19:33 c9a0dc1e11d0: Preparing 20:19:33 aa33073dbe72: Preparing 20:19:33 7f28a90357ae: Preparing 20:19:33 f1417ff83b31: Preparing 20:19:33 f1417ff83b31: Layer already exists 20:19:33 c9a0dc1e11d0: Pushed 20:19:33 7f28a90357ae: Pushed 20:19:33 3f2b10603d88: Pushed 20:19:35 aa33073dbe72: Pushed 20:19:35 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92: digest: sha256:3ad4783829d04f386776907ae40d2bee068e5173c8592a2d9ddf9370f3953ba5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:35 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:36 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 20:19:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 20:19:36 3f2b10603d88: Preparing 20:19:36 c9a0dc1e11d0: Preparing 20:19:36 aa33073dbe72: Preparing 20:19:36 7f28a90357ae: Preparing 20:19:36 f1417ff83b31: Preparing 20:19:36 7f28a90357ae: Layer already exists 20:19:36 f1417ff83b31: Layer already exists 20:19:36 3f2b10603d88: Layer already exists 20:19:36 c9a0dc1e11d0: Layer already exists 20:19:36 aa33073dbe72: Layer already exists 20:19:36 latest: digest: sha256:3ad4783829d04f386776907ae40d2bee068e5173c8592a2d9ddf9370f3953ba5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:36 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:36 + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.13 20:19:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 20:19:36 3f2b10603d88: Preparing 20:19:36 c9a0dc1e11d0: Preparing 20:19:36 aa33073dbe72: Preparing 20:19:36 7f28a90357ae: Preparing 20:19:36 f1417ff83b31: Preparing 20:19:36 3f2b10603d88: Layer already exists 20:19:36 f1417ff83b31: Layer already exists 20:19:36 c9a0dc1e11d0: Layer already exists 20:19:36 aa33073dbe72: Layer already exists 20:19:36 7f28a90357ae: Layer already exists 20:19:36 3.0.0-dev.13: digest: sha256:3ad4783829d04f386776907ae40d2bee068e5173c8592a2d9ddf9370f3953ba5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:37 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92-3.0.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:37 + docker push nexus3.edgexfoundry.org:10004/device-snmp:66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92-3.0.0-dev.13 20:19:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 20:19:37 3f2b10603d88: Preparing 20:19:37 c9a0dc1e11d0: Preparing 20:19:37 aa33073dbe72: Preparing 20:19:37 7f28a90357ae: Preparing 20:19:37 f1417ff83b31: Preparing 20:19:37 7f28a90357ae: Layer already exists 20:19:37 c9a0dc1e11d0: Layer already exists 20:19:37 aa33073dbe72: Layer already exists 20:19:37 3f2b10603d88: Layer already exists 20:19:37 f1417ff83b31: Layer already exists 20:19:37 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92-3.0.0-dev.13: digest: sha256:3ad4783829d04f386776907ae40d2bee068e5173c8592a2d9ddf9370f3953ba5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:37 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:38 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 20:19:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 20:19:38 3f2b10603d88: Preparing 20:19:38 c9a0dc1e11d0: Preparing 20:19:38 aa33073dbe72: Preparing 20:19:38 7f28a90357ae: Preparing 20:19:38 f1417ff83b31: Preparing 20:19:38 7f28a90357ae: Layer already exists 20:19:38 3f2b10603d88: Layer already exists 20:19:38 f1417ff83b31: Layer already exists 20:19:38 c9a0dc1e11d0: Layer already exists 20:19:38 aa33073dbe72: Layer already exists 20:19:38 main: digest: sha256:3ad4783829d04f386776907ae40d2bee068e5173c8592a2d9ddf9370f3953ba5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:19:38 ===================================================== [Pipeline] echo 20:19:38 taggedImages: 20:19:38 - nexus3.edgexfoundry.org:10004/device-snmp:66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 20:19:38 - nexus3.edgexfoundry.org:10004/device-snmp:latest 20:19:38 - nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.13 20:19:38 - nexus3.edgexfoundry.org:10004/device-snmp:66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92-3.0.0-dev.13 20:19:38 - 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 20:19:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:19:38 20:19:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:19:38 latest: Pulling from edgex-lftools-log-publisher 20:19:38 5eb5b503b376: Pulling fs layer 20:19:38 5c69ac0246d0: Pulling fs layer 20:19:38 ec43610c2a17: Pulling fs layer 20:19:38 3a2ae6a8a46f: Pulling fs layer 20:19:38 33b1e0a273af: Pulling fs layer 20:19:38 5d3b04190fa2: Pulling fs layer 20:19:38 2f39f015ded8: Pulling fs layer 20:19:38 3a2ae6a8a46f: Waiting 20:19:38 33b1e0a273af: Waiting 20:19:38 5d3b04190fa2: Waiting 20:19:38 2f39f015ded8: Waiting 20:19:38 5c69ac0246d0: Download complete 20:19:38 3a2ae6a8a46f: Verifying Checksum 20:19:38 3a2ae6a8a46f: Download complete 20:19:38 33b1e0a273af: Verifying Checksum 20:19:38 33b1e0a273af: Download complete 20:19:38 5d3b04190fa2: Verifying Checksum 20:19:38 5d3b04190fa2: Download complete 20:19:38 ec43610c2a17: Verifying Checksum 20:19:38 ec43610c2a17: Download complete 20:19:39 5eb5b503b376: Verifying Checksum 20:19:39 5eb5b503b376: Download complete 20:19:39 2f39f015ded8: Download complete 20:19:40 5eb5b503b376: Pull complete 20:19:40 5c69ac0246d0: Pull complete 20:19:40 ec43610c2a17: Pull complete 20:19:40 3a2ae6a8a46f: Pull complete 20:19:40 33b1e0a273af: Pull complete 20:19:40 5d3b04190fa2: Pull complete 20:19:45 2f39f015ded8: Pull complete 20:19:45 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:19:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:19:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:19:45 prd-ubuntu20.04-docker-8c-8g-8778 does not seem to be running inside a container 20:19:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:19:46 $ docker top 75df6ad983943688dcaf1f693e418410f2f7f200b2510c6aed0ecc6eed2edab3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:19:46 ---> job-cost.sh 20:19:46 lf-activate-venv: SKIPPING 20:19:46 INFO: No Stack... 20:19:46 INFO: Retrieving Pricing Info for: v3-standard-8 20:19:47 INFO: Archiving Costs [Pipeline] sh 20:19:47 + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv 20:19:47 + cut -d, -f6 [Pipeline] lock 20:19:47 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-70-stack-cost] 20:19:47 Resource [jenkins-edgexfoundry-device-snmp-go-main-70-stack-cost] did not exist. Created. 20:19:47 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-70-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:19:47 + echo total: 0.2199999988079071 [Pipeline] stash 20:19:47 Stashed 1 file(s) [Pipeline] } 20:19:47 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-70-stack-cost] [Pipeline] // lock [Pipeline] } 20:19:47 $ docker stop --time=1 75df6ad983943688dcaf1f693e418410f2f7f200b2510c6aed0ecc6eed2edab3 20:19:49 $ docker rm -f --volumes 75df6ad983943688dcaf1f693e418410f2f7f200b2510c6aed0ecc6eed2edab3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:21:41 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8782 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 20:21:41 Running in /w/workspace/device-snmp-go/70 [Pipeline] { [Pipeline] checkout 20:21:41 Selected Git installation does not exist. Using Default 20:21:41 The recommended git tool is: NONE 20:21:51 using credential edgex-jenkins-ssh 20:21:51 Cloning the remote Git repository 20:21:51 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 20:21:51 > git init /w/workspace/device-snmp-go/70 # timeout=10 20:21:52 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 20:21:52 > git --version # timeout=10 20:21:52 > git --version # 'git version 2.25.1' 20:21:52 using GIT_SSH to set credentials SSH Credentials for GitHub 20:21:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:21:55 Avoid second fetch 20:21:55 Checking out Revision 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 (main) 20:21:53 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 20:21:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:21:56 Commit message: "fix: [WIP BUG] Add ProfilesDir & DevicesDir to local config (#286)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:21:55 > git config core.sparsecheckout # timeout=10 20:21:55 > git checkout -f 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 # timeout=10 20:21:57 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:21:57 % Total % Received % Xferd Average Speed Time Time Time Current 20:21:57 Dload Upload Total Spent Left Speed 20:21:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 115k 0 --:--:-- --:--:-- --:--:-- 115k [Pipeline] sh 20:21:58 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:21:59 + sudo tee /etc/docker/daemon.new 20:21:59 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:21:59 { 20:21:59 "registry-mirrors": [ 20:21:59 "https://nexus3.edgexfoundry.org:10001" 20:21:59 ], 20:21:59 "bip": "10.250.0.254/24", 20:21:59 "hosts": [ 20:21:59 "tcp://0.0.0.0:5555", 20:21:59 "unix:///var/run/docker.sock" 20:21:59 ], 20:21:59 "mtu": 1458, 20:21:59 "selinux-enabled": true, 20:21:59 "seccomp-profile": "/etc/docker/seccomp.json" 20:21:59 } [Pipeline] sh 20:21:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:22:00 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:22:18 provisioning config files... 20:22:18 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/70@tmp/config15097539116162341782tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:22:18 ---> docker-login.sh 20:22:18 nexus3.edgexfoundry.org:10001 20:22:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:22:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:22:19 Configure a credential helper to remove this warning. See 20:22:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:22:19 20:22:19 Login Succeeded 20:22:19 nexus3.edgexfoundry.org:10002 20:22:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:22:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:22:20 Configure a credential helper to remove this warning. See 20:22:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:22:20 20:22:20 Login Succeeded 20:22:20 nexus3.edgexfoundry.org:10003 20:22:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:22:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:22:20 Configure a credential helper to remove this warning. See 20:22:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:22:20 20:22:20 Login Succeeded 20:22:20 nexus3.edgexfoundry.org:10004 20:22:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:22:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:22:20 Configure a credential helper to remove this warning. See 20:22:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:22:20 20:22:20 Login Succeeded 20:22:20 docker.io 20:22:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:22:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:22:21 Configure a credential helper to remove this warning. See 20:22:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:22:21 20:22:21 Login Succeeded 20:22:21 ---> docker-login.sh ends [Pipeline] } 20:22:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:22:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:22:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:22:21 ========================================================= 20:22:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 20:22:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:22:22 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 20:22:22 Sending build context to Docker daemon 2.983MB 20:22:22 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 20:22:22 Step 2/12 : FROM ${BASE} AS builder 20:22:22 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:22:22 af6eaf76a39c: Pulling fs layer 20:22:22 55522c791124: Pulling fs layer 20:22:22 ce5c4a1c91eb: Pulling fs layer 20:22:22 169dfbe0d373: Pulling fs layer 20:22:22 e1ff8fa3b103: Pulling fs layer 20:22:22 52ebb69f0ebf: Pulling fs layer 20:22:22 5abe8eddf0d5: Pulling fs layer 20:22:22 e1ff8fa3b103: Waiting 20:22:22 52ebb69f0ebf: Waiting 20:22:22 5abe8eddf0d5: Waiting 20:22:22 55522c791124: Verifying Checksum 20:22:22 55522c791124: Download complete 20:22:22 169dfbe0d373: Verifying Checksum 20:22:22 169dfbe0d373: Download complete 20:22:22 e1ff8fa3b103: Verifying Checksum 20:22:22 e1ff8fa3b103: Download complete 20:22:23 af6eaf76a39c: Verifying Checksum 20:22:23 af6eaf76a39c: Download complete 20:22:24 af6eaf76a39c: Pull complete 20:22:24 5abe8eddf0d5: Verifying Checksum 20:22:24 5abe8eddf0d5: Download complete 20:22:24 55522c791124: Pull complete 20:22:25 52ebb69f0ebf: Verifying Checksum 20:22:25 52ebb69f0ebf: Download complete 20:22:25 ce5c4a1c91eb: Verifying Checksum 20:22:25 ce5c4a1c91eb: Download complete 20:22:37 ce5c4a1c91eb: Pull complete 20:22:37 169dfbe0d373: Pull complete 20:22:37 e1ff8fa3b103: Pull complete 20:22:43 52ebb69f0ebf: Pull complete 20:22:45 5abe8eddf0d5: Pull complete 20:22:45 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 20:22:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:22:45 ---> 6cb57ee374ae 20:22:45 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:22:47 ---> Running in 130e3cfda1ee 20:22:47 Removing intermediate container 130e3cfda1ee 20:22:47 ---> 58aa0989cdb0 20:22:47 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:22:47 ---> Running in 7219bbb8de42 20:22:48 Removing intermediate container 7219bbb8de42 20:22:48 ---> 6331a4588819 20:22:48 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:22:48 ---> Running in 394368f88adc 20:22:48 Removing intermediate container 394368f88adc 20:22:48 ---> d56be0aaa426 20:22:48 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:22:48 ---> Running in 34a376b2149c 20:22:48 Removing intermediate container 34a376b2149c 20:22:48 ---> 59a994c07bf4 20:22:48 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:22:48 ---> Running in ee6092841cf6 20:22:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:22:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:22:52 (1/4) Installing openssh-keygen (9.1_p1-r2) 20:22:52 (2/4) Installing libedit (20221030.3.1-r0) 20:22:52 (3/4) Installing openssh-client-common (9.1_p1-r2) 20:22:52 (4/4) Installing openssh-client-default (9.1_p1-r2) 20:22:52 Executing busybox-1.35.0-r29.trigger 20:22:52 OK: 268 MiB in 57 packages 20:22:53 Removing intermediate container ee6092841cf6 20:22:53 ---> 37772ceda2cb 20:22:53 Step 8/12 : WORKDIR /device-snmp-go 20:22:54 ---> Running in 4a46bcaf16e6 20:22:54 Removing intermediate container 4a46bcaf16e6 20:22:54 ---> bc2504d174d7 20:22:54 Step 9/12 : COPY go.mod vendor* ./ 20:22:54 ---> 89d37132b63b 20:22:54 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:22:54 ---> Running in 57b66b7e37de 20:24:16 Removing intermediate container 57b66b7e37de 20:24:16 ---> d44060ea9ed2 20:24:16 Step 11/12 : COPY . . 20:24:16 ---> f9a18faead0b 20:24:16 Step 12/12 : RUN ${MAKE} 20:24:16 ---> Running in add8474299e5 20:24:16 noop 20:24:16 Removing intermediate container add8474299e5 20:24:16 ---> 19f39c0fce21 20:24:16 Successfully built 19f39c0fce21 20:24:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:24:17 + docker inspect -f . ci-base-image-arm64 20:24:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:24:17 prd-ubuntu20.04-docker-arm64-4c-16g-8782 does not seem to be running inside a container 20:24:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/70 -v /w/workspace/device-snmp-go/70:/w/workspace/device-snmp-go/70:rw,z -v /w/workspace/device-snmp-go/70@tmp:/w/workspace/device-snmp-go/70@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:24:18 $ docker top b30311d9d474a1f98ae2ea1dbe81814928318e8369f7d9f5839f2af688cbceac -eo pid,comm [Pipeline] { [Pipeline] sh 20:24:19 + go version 20:24:19 go version go1.20.2 linux/arm64 [Pipeline] } 20:24:19 $ docker stop --time=1 b30311d9d474a1f98ae2ea1dbe81814928318e8369f7d9f5839f2af688cbceac 20:24:21 $ docker rm -f --volumes b30311d9d474a1f98ae2ea1dbe81814928318e8369f7d9f5839f2af688cbceac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:24:22 + docker inspect -f . ci-base-image-arm64 20:24:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:24:22 prd-ubuntu20.04-docker-arm64-4c-16g-8782 does not seem to be running inside a container 20:24:22 $ 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/70 -v /w/workspace/device-snmp-go/70:/w/workspace/device-snmp-go/70:rw,z -v /w/workspace/device-snmp-go/70@tmp:/w/workspace/device-snmp-go/70@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:24:23 $ docker top 1aa29a2fcdfdc7897605c8f428998f5e78f849bc45768f725eb20c57008ad272 -eo pid,comm [Pipeline] { [Pipeline] sh 20:24:24 + git config --global --add safe.directory /w/workspace/device-snmp-go/70 [Pipeline] fileExists [Pipeline] sh 20:24:25 + make test 20:24:25 go test ./... -coverprofile=coverage.out 20:25:12 ? github.com/edgexfoundry/device-snmp-go [no test files] 20:27:18 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 20:27:18 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.053s coverage: 0.0% of statements 20:27:18 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:27:18 go vet ./... 20:27:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:27:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:27:51 ./bin/test-attribution-txt.sh 20:27:51 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 20:27:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:27:51 $ docker stop --time=1 1aa29a2fcdfdc7897605c8f428998f5e78f849bc45768f725eb20c57008ad272 20:27:53 $ docker rm -f --volumes 1aa29a2fcdfdc7897605c8f428998f5e78f849bc45768f725eb20c57008ad272 [Pipeline] // withDockerContainer [Pipeline] sh 20:27:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:27:54 Warning: overwriting stash ‘coverage-report’ 20:27:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:27:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:27:55 + ls -al . 20:27:55 total 168 20:27:55 drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 20:24 . 20:27:55 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 20:21 .. 20:27:55 -rw-rw-r-- 1 jenkins jenkins 6 Apr 17 20:21 .dockerignore 20:27:55 drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 20:21 .git 20:27:55 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 20:21 .github 20:27:55 -rw-rw-r-- 1 jenkins jenkins 328 Apr 17 20:21 .gitignore 20:27:55 -rw-rw-r-- 1 jenkins jenkins 41 Apr 17 20:21 .golangci.yml 20:27:55 -rw-rw-r-- 1 jenkins jenkins 8926 Apr 17 20:21 Attribution.txt 20:27:55 -rw-rw-r-- 1 jenkins jenkins 8355 Apr 17 20:21 CHANGELOG.md 20:27:55 -rw-rw-r-- 1 jenkins jenkins 1423 Apr 17 20:21 Dockerfile 20:27:55 -rw-rw-r-- 1 jenkins jenkins 677 Apr 17 20:21 GOVERNANCE.md 20:27:55 -rw-rw-r-- 1 jenkins jenkins 656 Apr 17 20:21 Jenkinsfile 20:27:55 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 17 20:21 LICENSE 20:27:55 -rw-rw-r-- 1 jenkins jenkins 2114 Apr 17 20:21 Makefile 20:27:55 -rw-rw-r-- 1 jenkins jenkins 620 Apr 17 20:21 OWNERS.md 20:27:55 -rw-rw-r-- 1 jenkins jenkins 10054 Apr 17 20:21 README.md 20:27:55 -rw-rw-r-- 1 jenkins jenkins 12 Apr 17 20:18 VERSION 20:27:55 drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 20:21 bin 20:27:55 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 20:21 cmd 20:27:55 -rw-r--r-- 1 jenkins jenkins 8751 Apr 17 20:27 coverage.out 20:27:55 -rw-rw-r-- 1 jenkins jenkins 3283 Apr 17 20:21 go.mod 20:27:55 -rw-rw-r-- 1 jenkins jenkins 31551 Apr 17 20:21 go.sum 20:27:55 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 20:21 internal 20:27:55 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 20:21 snap 20:27:55 -rw-rw-r-- 1 jenkins jenkins 228 Apr 17 20:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:56 + 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=66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 --label arch=arm64 --label version=3.0.0-dev.13 . 20:27:56 Sending build context to Docker daemon 2.993MB 20:27:56 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 20:27:56 Step 2/24 : FROM ${BASE} AS builder 20:27:56 ---> 19f39c0fce21 20:27:56 Step 3/24 : ARG ADD_BUILD_TAGS="" 20:27:56 ---> Running in e8d894b7faa9 20:27:57 Removing intermediate container e8d894b7faa9 20:27:57 ---> 8cfadd6f64b5 20:27:57 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:27:57 ---> Running in d2914fed5667 20:27:57 Removing intermediate container d2914fed5667 20:27:57 ---> 0fc03458d64b 20:27:57 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:27:57 ---> Running in aad12ff95363 20:27:57 Removing intermediate container aad12ff95363 20:27:57 ---> cb78826ec084 20:27:57 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 20:27:58 ---> Running in 29e8418bad11 20:27:58 Removing intermediate container 29e8418bad11 20:27:58 ---> f6dec5d91438 20:27:58 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:27:58 ---> Running in e49973eccbeb 20:27:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:28:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:28:01 OK: 268 MiB in 57 packages 20:28:02 Removing intermediate container e49973eccbeb 20:28:02 ---> fca07122750b 20:28:02 Step 8/24 : WORKDIR /device-snmp-go 20:28:02 ---> Running in 858f900eb966 20:28:03 Removing intermediate container 858f900eb966 20:28:03 ---> be758a45cd4f 20:28:03 Step 9/24 : COPY go.mod vendor* ./ 20:28:03 ---> f605da7bc0a9 20:28:03 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:28:03 ---> Running in 7867d002ad28 20:28:07 Removing intermediate container 7867d002ad28 20:28:07 ---> 2b167e80ab9e 20:28:07 Step 11/24 : COPY . . 20:28:07 ---> 0f5da8eb451f 20:28:07 Step 12/24 : RUN ${MAKE} 20:28:07 ---> Running in c933c504735e 20:28:08 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.13" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 20:30:45 Removing intermediate container c933c504735e 20:30:45 ---> ea5eca832d74 20:30:45 Step 13/24 : FROM alpine:3.17 20:30:45 3.17: Pulling from library/alpine 20:30:45 c41833b44d91: Pulling fs layer 20:30:45 c41833b44d91: Verifying Checksum 20:30:45 c41833b44d91: Download complete 20:30:45 c41833b44d91: Pull complete 20:30:45 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 20:30:45 Status: Downloaded newer image for alpine:3.17 20:30:45 ---> 51e60588ff2c 20:30:45 Step 14/24 : RUN apk add --update --no-cache dumb-init 20:30:45 ---> Running in ccfa78021806 20:30:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:30:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:30:45 (1/1) Installing dumb-init (1.2.5-r2) 20:30:45 Executing busybox-1.35.0-r29.trigger 20:30:45 OK: 8 MiB in 16 packages 20:30:47 Removing intermediate container ccfa78021806 20:30:47 ---> 47cb4348510e 20:30:47 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 20:30:49 ---> b49734b5c9f9 20:30:49 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 20:30:49 ---> 8e25c980c613 20:30:49 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 20:30:50 ---> 2361c6ca0312 20:30:50 Step 18/24 : EXPOSE 59993 20:30:50 ---> Running in 9fe97678a81f 20:30:50 Removing intermediate container 9fe97678a81f 20:30:50 ---> 1225c3063f7d 20:30:50 Step 19/24 : EXPOSE 161 20:30:50 ---> Running in a60b390b61b4 20:30:51 Removing intermediate container a60b390b61b4 20:30:51 ---> d15e79105ad3 20:30:51 Step 20/24 : ENTRYPOINT ["/device-snmp"] 20:30:51 ---> Running in a57821b493a5 20:30:51 Removing intermediate container a57821b493a5 20:30:51 ---> 5ecc1c2cd96e 20:30:51 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 20:30:51 ---> Running in c8aa39614917 20:30:51 Removing intermediate container c8aa39614917 20:30:51 ---> ef374729704d 20:30:51 Step 22/24 : LABEL arch=arm64 20:30:52 ---> Running in 0ff28d50ec81 20:30:52 Removing intermediate container 0ff28d50ec81 20:30:52 ---> e725f5ccf171 20:30:52 Step 23/24 : LABEL git_sha=66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 20:30:52 ---> Running in 4353766bcb6a 20:30:52 Removing intermediate container 4353766bcb6a 20:30:52 ---> 9743887e845c 20:30:52 Step 24/24 : LABEL version=3.0.0-dev.13 20:30:52 ---> Running in 5bf6ff76bbcc 20:30:53 Removing intermediate container 5bf6ff76bbcc 20:30:53 ---> e4fdb79d9ac5 20:30:53 [Warning] One or more build-args [ARCH] were not consumed 20:30:53 Successfully built e4fdb79d9ac5 20:30:53 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 20:30:53 provisioning config files... 20:30:53 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/70@tmp/config127348280440934421tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:30:53 ---> docker-login.sh 20:30:53 nexus3.edgexfoundry.org:10001 20:30:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:30:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:30:54 Configure a credential helper to remove this warning. See 20:30:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:30:54 20:30:54 Login Succeeded 20:30:54 nexus3.edgexfoundry.org:10002 20:30:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:30:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:30:54 Configure a credential helper to remove this warning. See 20:30:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:30:54 20:30:54 Login Succeeded 20:30:54 nexus3.edgexfoundry.org:10003 20:30:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:30:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:30:54 Configure a credential helper to remove this warning. See 20:30:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:30:54 20:30:54 Login Succeeded 20:30:54 nexus3.edgexfoundry.org:10004 20:30:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:30:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:30:55 Configure a credential helper to remove this warning. See 20:30:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:30:55 20:30:55 Login Succeeded 20:30:55 docker.io 20:30:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:30:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:30:55 Configure a credential helper to remove this warning. See 20:30:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:30:55 20:30:55 Login Succeeded 20:30:55 ---> docker-login.sh ends [Pipeline] } 20:30:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:30:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:30:55 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 20:30:55 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 20:30:55 latest 20:30:55 3.0.0-dev.13 20:30:55 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92-3.0.0-dev.13 20:30:55 main 20:30:55 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:56 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:56 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 20:30:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 20:30:56 edd6976a6372: Preparing 20:30:56 77f0222e6bf2: Preparing 20:30:56 481881604fb8: Preparing 20:30:56 d3e8b9020979: Preparing 20:30:56 26cbea5cba74: Preparing 20:30:56 26cbea5cba74: Layer already exists 20:30:57 77f0222e6bf2: Pushed 20:30:57 edd6976a6372: Pushed 20:30:57 d3e8b9020979: Pushed 20:31:03 481881604fb8: Pushed 20:31:03 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92: digest: sha256:f6e45c3fa95c819d9245680372ff4d61813889a9ebe1438c9b18ecb72cb5bf0d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:04 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:04 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 20:31:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 20:31:04 edd6976a6372: Preparing 20:31:04 77f0222e6bf2: Preparing 20:31:04 481881604fb8: Preparing 20:31:04 d3e8b9020979: Preparing 20:31:04 26cbea5cba74: Preparing 20:31:04 26cbea5cba74: Layer already exists 20:31:04 77f0222e6bf2: Layer already exists 20:31:04 481881604fb8: Layer already exists 20:31:04 edd6976a6372: Layer already exists 20:31:04 d3e8b9020979: Layer already exists 20:31:04 latest: digest: sha256:f6e45c3fa95c819d9245680372ff4d61813889a9ebe1438c9b18ecb72cb5bf0d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:05 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:05 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.13 20:31:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 20:31:05 edd6976a6372: Preparing 20:31:05 77f0222e6bf2: Preparing 20:31:05 481881604fb8: Preparing 20:31:05 d3e8b9020979: Preparing 20:31:05 26cbea5cba74: Preparing 20:31:05 26cbea5cba74: Layer already exists 20:31:05 481881604fb8: Layer already exists 20:31:05 edd6976a6372: Layer already exists 20:31:05 d3e8b9020979: Layer already exists 20:31:05 77f0222e6bf2: Layer already exists 20:31:05 3.0.0-dev.13: digest: sha256:f6e45c3fa95c819d9245680372ff4d61813889a9ebe1438c9b18ecb72cb5bf0d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:06 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92-3.0.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:06 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92-3.0.0-dev.13 20:31:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 20:31:06 edd6976a6372: Preparing 20:31:06 77f0222e6bf2: Preparing 20:31:06 481881604fb8: Preparing 20:31:06 d3e8b9020979: Preparing 20:31:06 26cbea5cba74: Preparing 20:31:06 77f0222e6bf2: Layer already exists 20:31:06 26cbea5cba74: Layer already exists 20:31:06 edd6976a6372: Layer already exists 20:31:06 d3e8b9020979: Layer already exists 20:31:06 481881604fb8: Layer already exists 20:31:06 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92-3.0.0-dev.13: digest: sha256:f6e45c3fa95c819d9245680372ff4d61813889a9ebe1438c9b18ecb72cb5bf0d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:07 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:07 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 20:31:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 20:31:07 edd6976a6372: Preparing 20:31:07 77f0222e6bf2: Preparing 20:31:07 481881604fb8: Preparing 20:31:07 d3e8b9020979: Preparing 20:31:07 26cbea5cba74: Preparing 20:31:07 26cbea5cba74: Layer already exists 20:31:07 77f0222e6bf2: Layer already exists 20:31:07 d3e8b9020979: Layer already exists 20:31:07 edd6976a6372: Layer already exists 20:31:07 481881604fb8: Layer already exists 20:31:07 main: digest: sha256:f6e45c3fa95c819d9245680372ff4d61813889a9ebe1438c9b18ecb72cb5bf0d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:31:07 ===================================================== [Pipeline] echo 20:31:07 taggedImages: 20:31:07 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 20:31:07 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 20:31:07 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.13 20:31:07 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92-3.0.0-dev.13 20:31:07 - 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 20:31:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:31:08 20:31:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:31:08 arm64: Pulling from edgex-lftools-log-publisher 20:31:08 8998bd30e6a1: Pulling fs layer 20:31:08 04944245beec: Pulling fs layer 20:31:08 699f458cf7ca: Pulling fs layer 20:31:08 765212b225bb: Pulling fs layer 20:31:08 f23df028b6ca: Pulling fs layer 20:31:08 d65c8cfc05b1: Pulling fs layer 20:31:08 2437ff75d9bd: Pulling fs layer 20:31:08 f23df028b6ca: Waiting 20:31:08 d65c8cfc05b1: Waiting 20:31:08 2437ff75d9bd: Waiting 20:31:08 765212b225bb: Waiting 20:31:08 04944245beec: Verifying Checksum 20:31:08 04944245beec: Download complete 20:31:08 765212b225bb: Download complete 20:31:08 f23df028b6ca: Verifying Checksum 20:31:08 f23df028b6ca: Download complete 20:31:08 d65c8cfc05b1: Verifying Checksum 20:31:08 d65c8cfc05b1: Download complete 20:31:09 699f458cf7ca: Verifying Checksum 20:31:09 699f458cf7ca: Download complete 20:31:09 8998bd30e6a1: Download complete 20:31:11 2437ff75d9bd: Verifying Checksum 20:31:11 2437ff75d9bd: Download complete 20:31:13 8998bd30e6a1: Pull complete 20:31:14 04944245beec: Pull complete 20:31:15 699f458cf7ca: Pull complete 20:31:15 765212b225bb: Pull complete 20:31:16 f23df028b6ca: Pull complete 20:31:16 d65c8cfc05b1: Pull complete 20:31:31 2437ff75d9bd: Pull complete 20:31:31 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:31:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:31:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:31:32 prd-ubuntu20.04-docker-arm64-4c-16g-8782 does not seem to be running inside a container 20:31:32 $ 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/70 -v /w/workspace/device-snmp-go/70:/w/workspace/device-snmp-go/70:rw,z -v /w/workspace/device-snmp-go/70@tmp:/w/workspace/device-snmp-go/70@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:31:34 $ docker top d73855cae54d9bdc3f2210a0a4f1733480bb1981d9501368b4e4df8ec4f8260e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:31:35 ---> job-cost.sh 20:31:35 lf-activate-venv: SKIPPING 20:31:35 INFO: No Stack... 20:31:36 INFO: Retrieving Pricing Info for: v3-standard-4 20:31:36 INFO: Archiving Costs [Pipeline] sh 20:31:37 + + cutcat -d, /w/workspace/device-snmp-go/70/archives/cost.csv -f6 20:31:37 [Pipeline] lock 20:31:37 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-70-stack-cost] 20:31:37 Resource [jenkins-edgexfoundry-device-snmp-go-main-70-stack-cost] did not exist. Created. 20:31:37 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-70-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:31:38 /w/workspace/device-snmp-go/70@tmp/durable-94086045/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:31:39 + echo total: 0.10999999940395355 [Pipeline] stash 20:31:39 Warning: overwriting stash ‘stack-cost’ 20:31:39 Stashed 1 file(s) [Pipeline] } 20:31:39 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-70-stack-cost] [Pipeline] // lock [Pipeline] } 20:31:39 $ docker stop --time=1 d73855cae54d9bdc3f2210a0a4f1733480bb1981d9501368b4e4df8ec4f8260e 20:31:40 $ docker rm -f --volumes d73855cae54d9bdc3f2210a0a4f1733480bb1981d9501368b4e4df8ec4f8260e [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 20:31:41 provisioning config files... 20:31:41 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4068253606742219481tmp [Pipeline] { [Pipeline] sh 20:31:41 + set +x 20:31:41 + curl -s https://codecov.io/bash 20:31:41 + bash -s -- 20:31:41 20:31:41 _____ _ 20:31:41 / ____| | | 20:31:41 | | ___ __| | ___ ___ _____ __ 20:31:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:31:41 | |___| (_) | (_| | __/ (_| (_) \ V / 20:31:41 \_____\___/ \__,_|\___|\___\___/ \_/ 20:31:41 Bash-1.0.6 20:31:41 20:31:41 20:31:41 ==> git version 2.25.1 found 20:31:41 ==> 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 20:31:41 Release-Date: 2020-01-08 20:31:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:31:41 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:31:41 ==> Jenkins CI detected. 20:31:41 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 20:31:41 project root: . 20:31:41 --> token set from env 20:31:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:31:41 ==> Running gcov in . (disable via -X gcov) 20:31:41 ==> Python coveragepy not found 20:31:41 ==> Searching for coverage reports in: 20:31:41 + . 20:31:41 -> Found 1 reports 20:31:41 ==> Detecting git/mercurial file structure 20:31:41 ==> Reading reports 20:31:41 + ./coverage.out bytes=8751 20:31:41 ==> Appending adjustments 20:31:41 https://docs.codecov.io/docs/fixing-reports 20:31:41 + Found adjustments 20:31:41 ==> Gzipping contents 20:31:41 4.0K /tmp/codecov.GsmTWB.gz 20:31:41 ==> Uploading reports 20:31:41 url: https://codecov.io 20:31:41 query: branch=main&commit=66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92&build=70&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F70%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:31:41 -> Pinging Codecov 20:31:41 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=66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92&build=70&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F70%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:31:41 -> Uploading to 20:31:41 https://storage.googleapis.com/codecov/v4/raw/2023-04-17/6C56EA5C29638FB4528AC87E60AF5AE0/66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92/1ea12e8c-cdee-4016-afcc-1b9129d79a3b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230417%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230417T203141Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6b6c9990f32c7e5171012cd3007fec4c372b8ec130f012aee57b4ab0c1358f96 20:31:41 % Total % Received % Xferd Average Speed Time Time Time Current 20:31:41 Dload Upload Total Spent Left Speed 20:31:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1590 0 0 100 1590 0 7327 --:--:-- --:--:-- --:--:-- 7293 20:31:41 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 [Pipeline] } 20:31:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 20:31:42 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 20:31:42 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:31:42 20:31:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:31:42 1.410.4: Pulling from edgex-devops/edgex-snyk-go 20:31:42 df9b9388f04a: Pulling fs layer 20:31:42 52dc419b0ee2: Pulling fs layer 20:31:42 25bc292e5bac: Pulling fs layer 20:31:42 114826534d7a: Pulling fs layer 20:31:42 4657fd5d0bcf: Pulling fs layer 20:31:42 6ad1cebc031e: Pulling fs layer 20:31:42 8a3aa393b2d8: Pulling fs layer 20:31:42 114826534d7a: Waiting 20:31:42 4657fd5d0bcf: Waiting 20:31:42 6ad1cebc031e: Waiting 20:31:42 8a3aa393b2d8: Waiting 20:31:42 52dc419b0ee2: Verifying Checksum 20:31:42 52dc419b0ee2: Download complete 20:31:42 25bc292e5bac: Verifying Checksum 20:31:42 25bc292e5bac: Download complete 20:31:42 4657fd5d0bcf: Verifying Checksum 20:31:42 4657fd5d0bcf: Download complete 20:31:42 df9b9388f04a: Verifying Checksum 20:31:42 df9b9388f04a: Download complete 20:31:42 df9b9388f04a: Pull complete 20:31:42 6ad1cebc031e: Verifying Checksum 20:31:42 6ad1cebc031e: Download complete 20:31:42 52dc419b0ee2: Pull complete 20:31:42 25bc292e5bac: Pull complete 20:31:43 114826534d7a: Verifying Checksum 20:31:43 114826534d7a: Download complete 20:31:43 8a3aa393b2d8: Verifying Checksum 20:31:43 8a3aa393b2d8: Download complete 20:31:47 114826534d7a: Pull complete 20:31:47 4657fd5d0bcf: Pull complete 20:31:47 6ad1cebc031e: Pull complete 20:31:49 8a3aa393b2d8: Pull complete 20:31:49 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 20:31:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:31:49 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:31:49 prd-ubuntu20.04-docker-8c-8g-8778 does not seem to be running inside a container 20:31:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 20:31:51 $ docker top 5063f55dae931ebf33dae865c731a59c4bcb0ef7ccfbd01adf1fdea5d06be203 -eo pid,comm [Pipeline] { [Pipeline] echo 20:31:51 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh 20:31:51 + set -o pipefail 20:31:51 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' 20:31:56 20:31:56 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 20:31:56 20:31:56 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/da2e8deb-ef8f-4f55-8f24-e0d78326cde2 20:31:56 20:31:56 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 20:31:56 20:31:56 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:31:56 20:31:56 20:31:56 A medium severity vulnerability was found in the Snyk CLI versions you are using. 20:31:56 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 20:31:56 More details here: https://snyk.co/ue1NS [Pipeline] } 20:31:56 $ docker stop --time=1 5063f55dae931ebf33dae865c731a59c4bcb0ef7ccfbd01adf1fdea5d06be203 20:31:58 $ docker rm -f --volumes 5063f55dae931ebf33dae865c731a59c4bcb0ef7ccfbd01adf1fdea5d06be203 [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 20:31:59 + git log --format=format:%s -1 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 [Pipeline] sh 20:31:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:31:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:31:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:31:59 prd-ubuntu20.04-docker-8c-8g-8778 does not seem to be running inside a container 20:31:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:32:00 $ docker top bf916501c81832615b40299f68cd266a3d1eddcddb43a1cad82bb68fb5124df7 -eo pid,comm 20:32:00 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). 20:32:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:32:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:32:00 [ssh-agent] Looking for ssh-agent implementation... 20:32:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:32:00 $ docker exec bf916501c81832615b40299f68cd266a3d1eddcddb43a1cad82bb68fb5124df7 ssh-agent 20:32:00 SSH_AUTH_SOCK=/tmp/ssh-TWaGXXG4Zikr/agent.32 20:32:00 SSH_AGENT_PID=38 20:32:00 Running ssh-add (command line suppressed) 20:32:00 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_11727228136092799928.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_11727228136092799928.key) 20:32:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:32:00 + git semver tag 20:32:01 2023-04-17 20:32:01,153 [run_tag] DEBUG tag force:False 20:32:01 2023-04-17 20:32:01,153 [check_head_tag] DEBUG check head tag 20:32:01 2023-04-17 20:32:01,154 [execute] INFO git cat-file --batch-check 20:32:01 2023-04-17 20:32:01,154 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 20:32:01 2023-04-17 20:32:01,158 [execute] INFO git cat-file --batch 20:32:01 2023-04-17 20:32:01,158 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 20:32:01 2023-04-17 20:32:01,174 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 20:32:01 2023-04-17 20:32:01,174 [execute] INFO git tag -a v3.0.0-dev.13 -m v3.0.0-dev.13 20:32:01 2023-04-17 20:32:01,174 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.13', '-m', 'v3.0.0-dev.13'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 20:32:01 2023-04-17 20:32:01,179 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 20:32:01 3.0.0-dev.13 [Pipeline] } 20:32:01 $ docker exec --env ******** --env ******** bf916501c81832615b40299f68cd266a3d1eddcddb43a1cad82bb68fb5124df7 ssh-agent -k 20:32:01 unset SSH_AUTH_SOCK; 20:32:01 unset SSH_AGENT_PID; 20:32:01 echo Agent pid 38 killed; 20:32:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:32:01 + git semver [Pipeline] } 20:32:01 $ docker stop --time=1 bf916501c81832615b40299f68cd266a3d1eddcddb43a1cad82bb68fb5124df7 20:32:03 $ docker rm -f --volumes bf916501c81832615b40299f68cd266a3d1eddcddb43a1cad82bb68fb5124df7 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:32:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:32:03 20:32:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:32:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:32:03 0.23.1-centos7: Pulling from edgex-lftools 20:32:03 ab5ef0e58194: Pulling fs layer 20:32:03 9712f1f96733: Pulling fs layer 20:32:03 63f879dbbcfc: Pulling fs layer 20:32:03 0d9ebad4ef96: Pulling fs layer 20:32:03 e9a5061849ea: Pulling fs layer 20:32:03 0d9ebad4ef96: Waiting 20:32:03 e9a5061849ea: Waiting 20:32:03 d747dcd14b5f: Pulling fs layer 20:32:03 2de7ff778b66: Pulling fs layer 20:32:03 2de7ff778b66: Waiting 20:32:03 d747dcd14b5f: Waiting 20:32:03 9712f1f96733: Download complete 20:32:04 63f879dbbcfc: Verifying Checksum 20:32:04 63f879dbbcfc: Download complete 20:32:04 0d9ebad4ef96: Verifying Checksum 20:32:04 0d9ebad4ef96: Download complete 20:32:04 e9a5061849ea: Verifying Checksum 20:32:04 e9a5061849ea: Download complete 20:32:04 ab5ef0e58194: Verifying Checksum 20:32:04 ab5ef0e58194: Download complete 20:32:04 d747dcd14b5f: Verifying Checksum 20:32:04 d747dcd14b5f: Download complete 20:32:04 2de7ff778b66: Verifying Checksum 20:32:04 2de7ff778b66: Download complete 20:32:06 ab5ef0e58194: Pull complete 20:32:06 9712f1f96733: Pull complete 20:32:07 63f879dbbcfc: Pull complete 20:32:10 0d9ebad4ef96: Pull complete 20:32:11 e9a5061849ea: Pull complete 20:32:11 d747dcd14b5f: Pull complete 20:32:12 2de7ff778b66: Pull complete 20:32:12 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:32:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:32:12 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:32:12 prd-ubuntu20.04-docker-8c-8g-8778 does not seem to be running inside a container 20:32:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 20:32:13 $ docker top 907ab33c29040544d91b17a50ae741077a104e0888b299d613f73bed4edb10c7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:32:13 provisioning config files... 20:32:13 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2015709118669532660tmp 20:32:14 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config15943970264502930736tmp 20:32:14 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config18184843286275473694tmp [Pipeline] { [Pipeline] echo 20:32:14 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:32:14 ---> sigul-configuration.sh 20:32:14 gpg: directory `/root/.gnupg' created 20:32:14 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:32:14 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:32:14 gpg: keyring `/root/.gnupg/secring.gpg' created 20:32:14 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:32:14 gpg: CAST5 encrypted data 20:32:14 gpg: encrypted with 1 passphrase 20:32:14 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:32:14 + mkdir /home/jenkins 20:32:14 + mkdir /home/jenkins/sigul [Pipeline] sh 20:32:14 + 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 20:32:14 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:32:15 ---> sigul-install.sh 20:32:15 Sigul already installed; skipping installation. [Pipeline] sh 20:32:15 + git tag --list 20:32:15 1.0.0 20:32:15 v0.0.0 20:32:15 v1.1.0 20:32:15 v1.1.1 20:32:15 v1.2.2 20:32:15 v1.3.0 20:32:15 v1.3.1 20:32:15 v2.0.0 20:32:15 v2.1.0 20:32:15 v2.1.1 20:32:15 v2.1.1-dev.2 20:32:15 v2.1.1-dev.3 20:32:15 v2.2.0 20:32:15 v2.2.1-dev.1 20:32:15 v2.2.1-dev.2 20:32:15 v2.2.1-dev.3 20:32:15 v2.2.1-dev.4 20:32:15 v2.2.1-dev.5 20:32:15 v2.2.1-dev.6 20:32:15 v2.2.1-dev.7 20:32:15 v2.3.0 20:32:15 v2.3.0-dev.10 20:32:15 v2.3.0-dev.11 20:32:15 v2.3.0-dev.12 20:32:15 v2.3.0-dev.13 20:32:15 v2.3.0-dev.14 20:32:15 v2.3.0-dev.15 20:32:15 v2.3.0-dev.16 20:32:15 v2.3.0-dev.17 20:32:15 v2.3.0-dev.18 20:32:15 v2.3.0-dev.19 20:32:15 v2.3.0-dev.20 20:32:15 v2.3.0-dev.21 20:32:15 v2.3.0-dev.22 20:32:15 v2.3.0-dev.23 20:32:15 v2.3.0-dev.24 20:32:15 v2.3.0-dev.7 20:32:15 v2.3.0-dev.8 20:32:15 v2.3.0-dev.9 20:32:15 v3.0.0-dev.1 20:32:15 v3.0.0-dev.10 20:32:15 v3.0.0-dev.11 20:32:15 v3.0.0-dev.12 20:32:15 v3.0.0-dev.13 20:32:15 v3.0.0-dev.2 20:32:15 v3.0.0-dev.3 20:32:15 v3.0.0-dev.4 20:32:15 v3.0.0-dev.5 20:32:15 v3.0.0-dev.6 20:32:15 v3.0.0-dev.7 20:32:15 v3.0.0-dev.8 20:32:15 v3.0.0-dev.9 [Pipeline] sh 20:32:15 + lftools sign git-tag v3.0.0-dev.13 20:32:16 Signing Git tag with Sigul... 20:32:16 Signing v3.0.0-dev.13 [Pipeline] echo 20:32:16 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:32:16 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:32:16 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:32:16 $ docker stop --time=1 907ab33c29040544d91b17a50ae741077a104e0888b299d613f73bed4edb10c7 20:32:18 $ docker rm -f --volumes 907ab33c29040544d91b17a50ae741077a104e0888b299d613f73bed4edb10c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 20:32:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:32:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:32:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:32:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:32:18 prd-ubuntu20.04-docker-8c-8g-8778 does not seem to be running inside a container 20:32:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:32:19 $ docker top 7fd3212955f8200e67b186b872398619d74aee4552c14d75c596af39d3fdb5ff -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:32:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:32:19 [ssh-agent] Looking for ssh-agent implementation... 20:32:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:32:19 $ docker exec 7fd3212955f8200e67b186b872398619d74aee4552c14d75c596af39d3fdb5ff ssh-agent 20:32:19 SSH_AUTH_SOCK=/tmp/ssh-HXVtSGaNTKM9/agent.33 20:32:19 SSH_AGENT_PID=39 20:32:19 Running ssh-add (command line suppressed) 20:32:19 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8383751481678503437.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8383751481678503437.key) 20:32:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:32:19 + git semver bump pre 20:32:20 2023-04-17 20:32:20,170 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 20:32:20 2023-04-17 20:32:20,170 [bump_version] DEBUG bumping version:3.0.0-dev.13 on axis:pre with prefix:dev 20:32:20 2023-04-17 20:32:20,170 [bump_version] DEBUG bumped version:3.0.0-dev.14 20:32:20 2023-04-17 20:32:20,170 [write_version] DEBUG write version:3.0.0-dev.14 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True 20:32:20 2023-04-17 20:32:20,170 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 20:32:20 2023-04-17 20:32:20,170 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 20:32:20 2023-04-17 20:32:20,173 [execute] INFO git cat-file --batch-check 20:32:20 2023-04-17 20:32:20,173 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:32:20 2023-04-17 20:32:20,179 [execute] INFO git cat-file --batch 20:32:20 2023-04-17 20:32:20,179 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:32:20 2023-04-17 20:32:20,184 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 20:32:20 3.0.0-dev.14 [Pipeline] } 20:32:20 $ docker exec --env ******** --env ******** 7fd3212955f8200e67b186b872398619d74aee4552c14d75c596af39d3fdb5ff ssh-agent -k 20:32:20 unset SSH_AUTH_SOCK; 20:32:20 unset SSH_AGENT_PID; 20:32:20 echo Agent pid 39 killed; 20:32:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:32:20 + git semver [Pipeline] } 20:32:21 $ docker stop --time=1 7fd3212955f8200e67b186b872398619d74aee4552c14d75c596af39d3fdb5ff 20:32:22 $ docker rm -f --volumes 7fd3212955f8200e67b186b872398619d74aee4552c14d75c596af39d3fdb5ff [Pipeline] // withDockerContainer [Pipeline] sh 20:32:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:32:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:32:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:32:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:32:23 prd-ubuntu20.04-docker-8c-8g-8778 does not seem to be running inside a container 20:32:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:32:23 $ docker top 32e371ef3c011c59e3f3594c99d3c59bc9efb2a806a58717e5d6ee2c37d19bc9 -eo pid,comm 20:32:23 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). 20:32:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:32:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:32:23 [ssh-agent] Looking for ssh-agent implementation... 20:32:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:32:23 $ docker exec 32e371ef3c011c59e3f3594c99d3c59bc9efb2a806a58717e5d6ee2c37d19bc9 ssh-agent 20:32:24 SSH_AUTH_SOCK=/tmp/ssh-bG0YvAadBBox/agent.32 20:32:24 SSH_AGENT_PID=38 20:32:24 Running ssh-add (command line suppressed) 20:32:24 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16374626543721777551.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16374626543721777551.key) 20:32:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:32:24 + git semver push 20:32:24 2023-04-17 20:32:24,607 [run_push] DEBUG push 20:32:24 2023-04-17 20:32:24,608 [execute] INFO git cat-file --batch-check 20:32:24 2023-04-17 20:32:24,608 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:32:24 2023-04-17 20:32:24,611 [execute] INFO git rev-list 3060c0822c12e8b99d26d664b53866e075cc1ac5 -- 20:32:24 2023-04-17 20:32:24,611 [execute] DEBUG Popen(['git', 'rev-list', '3060c0822c12e8b99d26d664b53866e075cc1ac5', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 20:32:24 2023-04-17 20:32:24,618 [execute] INFO git fetch -v origin 20:32:24 2023-04-17 20:32:24,618 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) 20:32:25 2023-04-17 20:32:25,110 [run_push] DEBUG no remote changes detected 20:32:25 2023-04-17 20:32:25,110 [execute] INFO git push origin semver 20:32:25 2023-04-17 20:32:25,110 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 20:32:26 2023-04-17 20:32:25,923 [run_push] DEBUG push all version tags 20:32:26 2023-04-17 20:32:25,923 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 20:32:26 2023-04-17 20:32:25,924 [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) 20:32:26 2023-04-17 20:32:26,680 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 20:32:26 3.0.0-dev.14 [Pipeline] } 20:32:26 $ docker exec --env ******** --env ******** 32e371ef3c011c59e3f3594c99d3c59bc9efb2a806a58717e5d6ee2c37d19bc9 ssh-agent -k 20:32:26 unset SSH_AUTH_SOCK; 20:32:26 unset SSH_AGENT_PID; 20:32:26 echo Agent pid 38 killed; 20:32:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:32:27 + git semver [Pipeline] } 20:32:27 $ docker stop --time=1 32e371ef3c011c59e3f3594c99d3c59bc9efb2a806a58717e5d6ee2c37d19bc9 20:32:28 $ docker rm -f --volumes 32e371ef3c011c59e3f3594c99d3c59bc9efb2a806a58717e5d6ee2c37d19bc9 [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 20:32:29 + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] 20:32:29 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 20:32:29 total 16 20:32:29 drwxr-xr-x 3 root root 4096 Apr 17 20:19 . 20:32:29 drwxrwxr-x 10 jenkins jenkins 4096 Apr 17 20:32 .. 20:32:29 drwxr-xr-x 2 root root 4096 Apr 17 20:19 cost 20:32:29 -rw-r--r-- 1 root root 85 Apr 17 20:19 cost.csv 20:32:29 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives 20:32:29 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 20:32:29 total 16 20:32:29 drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 20:19 . 20:32:29 drwxrwxr-x 10 jenkins jenkins 4096 Apr 17 20:32 .. 20:32:29 drwxr-xr-x 2 jenkins jenkins 4096 Apr 17 20:19 cost 20:32:29 -rw-r--r-- 1 jenkins jenkins 85 Apr 17 20:19 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:32:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:32:30 ---> package-listing.sh 20:32:30 ++ facter osfamily 20:32:30 ++ tr '[:upper:]' '[:lower:]' 20:32:30 + OS_FAMILY=debian 20:32:30 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 20:32:30 + START_PACKAGES=/tmp/packages_start.txt 20:32:30 + END_PACKAGES=/tmp/packages_end.txt 20:32:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:32:30 + PACKAGES=/tmp/packages_start.txt 20:32:30 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 20:32:30 + PACKAGES=/tmp/packages_end.txt 20:32:30 + case "${OS_FAMILY}" in 20:32:30 + dpkg -l 20:32:30 + grep '^ii' 20:32:30 + '[' -f /tmp/packages_start.txt ']' 20:32:30 + '[' -f /tmp/packages_end.txt ']' 20:32:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:32:30 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 20:32:30 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 20:32:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo 20:32:30 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 20:32:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:32:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:32:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:32:31 prd-ubuntu20.04-docker-8c-8g-8778 does not seem to be running inside a container 20:32:31 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:32:31 $ docker top 7a27bc614c50f90a6c9093500faec6ea5e7015f47886f01edb54fe7d3af30f86 -eo pid,comm [Pipeline] { [Pipeline] sh 20:32:32 + touch /tmp/pre-build-complete [Pipeline] sh 20:32:32 + mkdir -p /var/log/sysstat [Pipeline] sh 20:32:32 + ls /var/log/sa-host 20:32:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:32:32 provisioning config files... 20:32:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4706514713882165738tmp [Pipeline] { [Pipeline] echo 20:32:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:32:33 ---> create-netrc.sh [Pipeline] } 20:32:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:32:33 ---> python-tools-install.sh [Pipeline] echo 20:32:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:32:33 ---> sudo-logs.sh 20:32:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:32:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:32:34 ---> job-cost.sh 20:32:34 lf-activate-venv: SKIPPING 20:32:34 DEBUG: total: 0.2199999988079071 20:32:34 INFO: Retrieving Stack Cost... 20:32:34 INFO: Retrieving Pricing Info for: v3-standard-8 20:32:34 INFO: Archiving Costs [Pipeline] echo 20:32:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:32:35 ---> logs-deploy.sh 20:32:35 lf-activate-venv: SKIPPING 20:32:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/70 20:32:35 INFO: archiving workspace using pattern(s): 20:32:36 Archives upload complete. 20:32:36 INFO: archiving logs to Nexus