cloudxxx8 commented: recheck Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jumpingliu for edgexfoundry/device-snmp-go Loading trusted files from base branch main at 4540667df76160ba2257f08fa194345a2d771c5a rather than 75a2d2d486d34bd86faa9df11ef63bdac674ee8d Obtained Jenkinsfile from 4540667df76160ba2257f08fa194345a2d771c5a 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-ssh3516219106049149129.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh13107270471906593828.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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/PR-302/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/PR-302/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3168133223269084172.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh5396794682097563027.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/PR-302/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/PR-302/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3269300038277817476.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-13845 in /w/workspace/gexfoundry_device-snmp-go_PR-302 [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/gexfoundry_device-snmp-go_PR-302 # 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 > 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 remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/302/head:refs/remotes/origin/PR-302 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4540667df76160ba2257f08fa194345a2d771c5a into PR head commit 75a2d2d486d34bd86faa9df11ef63bdac674ee8d Merge succeeded, producing 75a2d2d486d34bd86faa9df11ef63bdac674ee8d Checking out Revision 75a2d2d486d34bd86faa9df11ef63bdac674ee8d (PR-302) > git config core.sparsecheckout # timeout=10 > git checkout -f 75a2d2d486d34bd86faa9df11ef63bdac674ee8d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 4540667df76160ba2257f08fa194345a2d771c5a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 75a2d2d486d34bd86faa9df11ef63bdac674ee8d # timeout=10 Commit message: "build: Ignore all go-mods except device-sdk-go" > git rev-list --no-walk 75a2d2d486d34bd86faa9df11ef63bdac674ee8d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:08:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:08:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:08:53 ========================================================= 06:08:53 EdgeX Global Pipelines Version Info 06:08:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:08:54 ------------------- 06:08:54 stable info: 06:08:54 ------------------- 06:08:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:08:54 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 06:08:54 Message: update stable to v1.0.249 06:08:55 ------------------- 06:08:55 experimental info: 06:08:55 ------------------- 06:08:55 Commited By: **** collab-it+edgex@linuxfoundation.org 06:08:55 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 06:08:55 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:08:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 06:08:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 06:08:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:08:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:08:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:08:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 06:08:55 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:08:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:08:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:08:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:08:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:08:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 06:08:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:08:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:08:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:08:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:08:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:08:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:08:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:08:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:08:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:08:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:08:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:08:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:08:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:08:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:08:55 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:08:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-302 [Pipeline] echo 06:08:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-302 [Pipeline] echo 06:08:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-302 [Pipeline] echo 06:08:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 75a2d2d486d34bd86faa9df11ef63bdac674ee8d [Pipeline] echo 06:08:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 75a2d2d [Pipeline] echo 06:08:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:08:55 provisioning config files... 06:08:55 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-302@tmp/config17704699490833279351tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:08:55 ---> docker-login.sh 06:08:55 nexus3.edgexfoundry.org:10001 06:08:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:56 Configure a credential helper to remove this warning. See 06:08:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:56 06:08:56 Login Succeeded 06:08:56 nexus3.edgexfoundry.org:10002 06:08:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:56 Configure a credential helper to remove this warning. See 06:08:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:56 06:08:56 Login Succeeded 06:08:56 nexus3.edgexfoundry.org:10003 06:08:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:56 Configure a credential helper to remove this warning. See 06:08:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:56 06:08:56 Login Succeeded 06:08:56 nexus3.edgexfoundry.org:10004 06:08:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:56 Configure a credential helper to remove this warning. See 06:08:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:56 06:08:56 Login Succeeded 06:08:56 docker.io 06:08:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:57 Configure a credential helper to remove this warning. See 06:08:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:57 06:08:57 Login Succeeded 06:08:57 ---> docker-login.sh ends [Pipeline] } 06:08:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:08:57 + git rev-list -1 --merges 75a2d2d486d34bd86faa9df11ef63bdac674ee8d~1..75a2d2d486d34bd86faa9df11ef63bdac674ee8d [Pipeline] echo 06:08:57 -----------> git rev-list -1 --merges 75a2d2d486d34bd86faa9df11ef63bdac674ee8d~1..75a2d2d486d34bd86faa9df11ef63bdac674ee8d 75a2d2d486d34bd86faa9df11ef63bdac674ee8d [false] [Pipeline] sh 06:08:57 + git log --format=format:%s -1 75a2d2d486d34bd86faa9df11ef63bdac674ee8d [Pipeline] echo 06:08:57 ========================================================= 06:08:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:08:57 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:08:58 + git log --format=format:%s -1 75a2d2d486d34bd86faa9df11ef63bdac674ee8d [Pipeline] echo 06:08:58 [semverPrep] GIT_COMMIT: 75a2d2d486d34bd86faa9df11ef63bdac674ee8d, Commit Message: build: Ignore all go-mods except device-sdk-go [Pipeline] echo 06:08:58 [semverPrep] This is not a build commit. [Pipeline] sh 06:08:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:08:58 + grep -v github /etc/ssh/ssh_known_hosts 06:08:58 + [ -e /tmp/ssh_known_hosts ] 06:08:58 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:08:58 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:08:58 + sudo tee -a /etc/ssh/ssh_known_hosts 06:08:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:08:58 06:08:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:08:59 0.1.4: Pulling from edgex-devops/py-git-semver 06:08:59 b85a868b505f: Pulling fs layer 06:08:59 e2be974225ed: Pulling fs layer 06:08:59 339a4e72a1f5: Pulling fs layer 06:08:59 988bab9f4d93: Pulling fs layer 06:08:59 1469e6f7b9e6: Pulling fs layer 06:08:59 eaf3925da568: Pulling fs layer 06:08:59 bab4dde63d76: Pulling fs layer 06:08:59 bde34c3a00c8: Pulling fs layer 06:08:59 b352a97aabf1: Pulling fs layer 06:08:59 4872d77fe225: Pulling fs layer 06:08:59 5851b861e8e6: Pulling fs layer 06:08:59 988bab9f4d93: Waiting 06:08:59 1469e6f7b9e6: Waiting 06:08:59 b352a97aabf1: Waiting 06:08:59 eaf3925da568: Waiting 06:08:59 5851b861e8e6: Waiting 06:08:59 4872d77fe225: Waiting 06:08:59 bab4dde63d76: Waiting 06:08:59 e2be974225ed: Download complete 06:08:59 988bab9f4d93: Verifying Checksum 06:08:59 988bab9f4d93: Download complete 06:08:59 339a4e72a1f5: Verifying Checksum 06:08:59 339a4e72a1f5: Download complete 06:08:59 eaf3925da568: Download complete 06:08:59 1469e6f7b9e6: Verifying Checksum 06:08:59 1469e6f7b9e6: Download complete 06:08:59 bde34c3a00c8: Download complete 06:08:59 b352a97aabf1: Download complete 06:08:59 4872d77fe225: Download complete 06:08:59 5851b861e8e6: Verifying Checksum 06:08:59 5851b861e8e6: Download complete 06:08:59 b85a868b505f: Verifying Checksum 06:08:59 b85a868b505f: Download complete 06:08:59 bab4dde63d76: Verifying Checksum 06:08:59 bab4dde63d76: Download complete 06:09:00 b85a868b505f: Pull complete 06:09:00 e2be974225ed: Pull complete 06:09:01 339a4e72a1f5: Pull complete 06:09:01 988bab9f4d93: Pull complete 06:09:01 1469e6f7b9e6: Pull complete 06:09:01 eaf3925da568: Pull complete 06:09:03 bab4dde63d76: Pull complete 06:09:03 bde34c3a00c8: Pull complete 06:09:03 b352a97aabf1: Pull complete 06:09:03 4872d77fe225: Pull complete 06:09:03 5851b861e8e6: Pull complete 06:09:03 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:09:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:09:04 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:09:04 prd-ubuntu20.04-docker-8c-8g-13845 does not seem to be running inside a container 06:09:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-302 -v /w/workspace/gexfoundry_device-snmp-go_PR-302:/w/workspace/gexfoundry_device-snmp-go_PR-302:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-302@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-302@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:09:07 $ docker top 711052d5369bddcffc83fe86b32ed9c3c1f36c97403678dee5817c7fd622649b -eo pid,comm 06:09:07 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). 06:09:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:09:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:09:07 [ssh-agent] Looking for ssh-agent implementation... 06:09:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:09:07 $ docker exec 711052d5369bddcffc83fe86b32ed9c3c1f36c97403678dee5817c7fd622649b ssh-agent 06:09:07 SSH_AUTH_SOCK=/tmp/ssh-DLhqlMbAcHEQ/agent.32 06:09:07 SSH_AGENT_PID=38 06:09:07 Running ssh-add (command line suppressed) 06:09:07 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-302@tmp/private_key_13616410771223932096.key (/w/workspace/gexfoundry_device-snmp-go_PR-302@tmp/private_key_13616410771223932096.key) 06:09:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:09:08 + git tag --points-at HEAD [Pipeline] } 06:09:08 $ docker exec --env ******** --env ******** 711052d5369bddcffc83fe86b32ed9c3c1f36c97403678dee5817c7fd622649b ssh-agent -k 06:09:08 unset SSH_AUTH_SOCK; 06:09:08 unset SSH_AGENT_PID; 06:09:08 echo Agent pid 38 killed; 06:09:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:09:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:09:08 [ssh-agent] Looking for ssh-agent implementation... 06:09:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:09:08 $ docker exec 711052d5369bddcffc83fe86b32ed9c3c1f36c97403678dee5817c7fd622649b ssh-agent 06:09:08 SSH_AUTH_SOCK=/tmp/ssh-oKWi9fR4NAXZ/agent.70 06:09:08 SSH_AGENT_PID=76 06:09:08 Running ssh-add (command line suppressed) 06:09:08 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-302@tmp/private_key_4691131067108373320.key (/w/workspace/gexfoundry_device-snmp-go_PR-302@tmp/private_key_4691131067108373320.key) 06:09:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:09:09 + git semver init 06:09:09 2023-05-05 06:09:09,224 [run_init] DEBUG init version:0.0.0 force:False 06:09:09 2023-05-05 06:09:09,225 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-302/.semver 06:09:09 2023-05-05 06:09:09,225 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-302/.semver 06:09:09 2023-05-05 06:09:09,225 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-302/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-302, universal_newlines=False, shell=None, istream=None) 06:09:10 2023-05-05 06:09:09,990 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-302/.git/info/exclude 06:09:10 2023-05-05 06:09:09,991 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-302/.semver/PR-302 with force:False 06:09:10 2023-05-05 06:09:09,991 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-302/.semver/PR-302 06:09:10 2023-05-05 06:09:09,995 [execute] INFO git cat-file --batch-check 06:09:10 2023-05-05 06:09:09,996 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-302/.semver, universal_newlines=False, shell=None, istream=) 06:09:10 2023-05-05 06:09:10,003 [execute] INFO git cat-file --batch 06:09:10 2023-05-05 06:09:10,004 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-302/.semver, universal_newlines=False, shell=None, istream=) 06:09:10 2023-05-05 06:09:10,010 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-302/.semver/PR-302 06:09:10 0.0.0 [Pipeline] } 06:09:10 $ docker exec --env ******** --env ******** 711052d5369bddcffc83fe86b32ed9c3c1f36c97403678dee5817c7fd622649b ssh-agent -k 06:09:10 unset SSH_AUTH_SOCK; 06:09:10 unset SSH_AGENT_PID; 06:09:10 echo Agent pid 76 killed; 06:09:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:09:10 + git semver [Pipeline] } 06:09:10 $ docker stop --time=1 711052d5369bddcffc83fe86b32ed9c3c1f36c97403678dee5817c7fd622649b 06:09:12 $ docker rm -f --volumes 711052d5369bddcffc83fe86b32ed9c3c1f36c97403678dee5817c7fd622649b [Pipeline] // withDockerContainer [Pipeline] sh 06:09:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:09:12 Stashed 1 file(s) [Pipeline] echo 06:09:12 [edgeXSemver]: initialized semver on version 0.0.0 [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 06:09:12 provisioning config files... 06:09:12 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-302@tmp/config13629839313223392950tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:09:13 ---> docker-login.sh 06:09:13 nexus3.edgexfoundry.org:10001 06:09:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:09:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:09:13 Configure a credential helper to remove this warning. See 06:09:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:09:13 06:09:13 Login Succeeded 06:09:13 nexus3.edgexfoundry.org:10002 06:09:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:09:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:09:13 Configure a credential helper to remove this warning. See 06:09:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:09:13 06:09:13 Login Succeeded 06:09:13 nexus3.edgexfoundry.org:10003 06:09:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:09:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:09:13 Configure a credential helper to remove this warning. See 06:09:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:09:13 06:09:13 Login Succeeded 06:09:13 nexus3.edgexfoundry.org:10004 06:09:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:09:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:09:13 Configure a credential helper to remove this warning. See 06:09:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:09:13 06:09:13 Login Succeeded 06:09:13 docker.io 06:09:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:09:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:09:13 Configure a credential helper to remove this warning. See 06:09:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:09:13 06:09:13 Login Succeeded 06:09:13 ---> docker-login.sh ends [Pipeline] } 06:09:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:09:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:09:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:09:13 ========================================================= 06:09:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 06:09:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:14 + 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 . 06:09:14 Sending build context to Docker daemon 5.812MB 06:09:14 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 06:09:14 Step 2/12 : FROM ${BASE} AS builder 06:09:14 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 06:09:14 f56be85fc22e: Pulling fs layer 06:09:14 85791d961cd3: Pulling fs layer 06:09:14 d694b5ae8c79: Pulling fs layer 06:09:14 9f32a84ed3da: Pulling fs layer 06:09:14 4d19c01a9841: Pulling fs layer 06:09:14 9325e15d5711: Pulling fs layer 06:09:14 556b6ee489ea: Pulling fs layer 06:09:14 c5a4b2cf53e6: Pulling fs layer 06:09:14 9f32a84ed3da: Waiting 06:09:14 4d19c01a9841: Waiting 06:09:14 556b6ee489ea: Waiting 06:09:14 c5a4b2cf53e6: Waiting 06:09:14 85791d961cd3: Verifying Checksum 06:09:14 85791d961cd3: Download complete 06:09:14 9f32a84ed3da: Verifying Checksum 06:09:14 9f32a84ed3da: Download complete 06:09:14 4d19c01a9841: Download complete 06:09:14 f56be85fc22e: Download complete 06:09:14 9325e15d5711: Verifying Checksum 06:09:14 9325e15d5711: Download complete 06:09:14 f56be85fc22e: Pull complete 06:09:14 85791d961cd3: Pull complete 06:09:14 c5a4b2cf53e6: Verifying Checksum 06:09:14 c5a4b2cf53e6: Download complete 06:09:14 d694b5ae8c79: Verifying Checksum 06:09:14 d694b5ae8c79: Download complete 06:09:15 556b6ee489ea: Download complete 06:09:18 d694b5ae8c79: Pull complete 06:09:18 9f32a84ed3da: Pull complete 06:09:18 4d19c01a9841: Pull complete 06:09:18 9325e15d5711: Pull complete 06:09:21 556b6ee489ea: Pull complete 06:09:22 c5a4b2cf53e6: Pull complete 06:09:22 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 06:09:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 06:09:22 ---> c4be618373d6 06:09:22 Step 3/12 : ARG ADD_BUILD_TAGS="" 06:09:26 ---> Running in 2f1f876733db 06:09:26 Removing intermediate container 2f1f876733db 06:09:26 ---> a79a583e935c 06:09:26 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:09:26 ---> Running in 9b6fa523c8a8 06:09:26 Removing intermediate container 9b6fa523c8a8 06:09:26 ---> 9c7a74c42502 06:09:26 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:09:26 ---> Running in 4b5c131cefa7 06:09:27 Removing intermediate container 4b5c131cefa7 06:09:27 ---> edd538a4c7a0 06:09:27 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 06:09:27 ---> Running in 12f08bf6285c 06:09:27 Removing intermediate container 12f08bf6285c 06:09:27 ---> dd1952ef4d77 06:09:27 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:09:27 ---> Running in 9845dd282ddb 06:09:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:09:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:09:27 (1/4) Installing openssh-keygen (9.1_p1-r2) 06:09:27 (2/4) Installing libedit (20221030.3.1-r0) 06:09:27 (3/4) Installing openssh-client-common (9.1_p1-r2) 06:09:27 (4/4) Installing openssh-client-default (9.1_p1-r2) 06:09:27 Executing busybox-1.35.0-r29.trigger 06:09:27 OK: 269 MiB in 57 packages 06:09:27 Still waiting to schedule task 06:09:27 ‘prd-centos7-blackbox-4c-2g-12073’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 06:09:27 ‘prd-centos7-blackbox-4c-2g-12074’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 06:09:27 ‘prd-centos7-builder-2c-1g-13836’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 06:09:27 ‘prd-ubuntu20.04-docker-8c-8g-13847’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 06:09:27 ‘prd-ubuntu20.04-docker-arm64-4c-16g-13844’ is offline 06:09:28 Removing intermediate container 9845dd282ddb 06:09:28 ---> 1be0ce2bec31 06:09:28 Step 8/12 : WORKDIR /device-snmp-go 06:09:28 ---> Running in 9421acef97bc 06:09:28 Removing intermediate container 9421acef97bc 06:09:28 ---> 4f7671732e2f 06:09:28 Step 9/12 : COPY go.mod vendor* ./ 06:09:28 ---> dee86dc281ba 06:09:28 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:09:28 ---> Running in a69f11891f56 06:09:55 Removing intermediate container a69f11891f56 06:09:55 ---> 94872995c52c 06:09:55 Step 11/12 : COPY . . 06:09:55 ---> eef413b179f0 06:09:55 Step 12/12 : RUN ${MAKE} 06:09:55 ---> Running in 93ee0450ceda 06:09:55 noop 06:09:55 Removing intermediate container 93ee0450ceda 06:09:55 ---> 522de33fe493 06:09:55 Successfully built 522de33fe493 06:09:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:55 + docker inspect -f . ci-base-image-x86_64 06:09:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:09:55 prd-ubuntu20.04-docker-8c-8g-13845 does not seem to be running inside a container 06:09:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-302 -v /w/workspace/gexfoundry_device-snmp-go_PR-302:/w/workspace/gexfoundry_device-snmp-go_PR-302:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-302@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-302@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:09:55 $ docker top 16fca7cbef32e3589902be0a0f27e1f1226180014c504aad05b0f12fb7748d46 -eo pid,comm [Pipeline] { [Pipeline] sh 06:09:56 + go version 06:09:56 go version go1.20.2 linux/amd64 [Pipeline] } 06:09:56 $ docker stop --time=1 16fca7cbef32e3589902be0a0f27e1f1226180014c504aad05b0f12fb7748d46 06:09:57 $ docker rm -f --volumes 16fca7cbef32e3589902be0a0f27e1f1226180014c504aad05b0f12fb7748d46 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:58 + docker inspect -f . ci-base-image-x86_64 06:09:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:09:58 prd-ubuntu20.04-docker-8c-8g-13845 does not seem to be running inside a container 06:09:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-snmp-go_PR-302 -v /w/workspace/gexfoundry_device-snmp-go_PR-302:/w/workspace/gexfoundry_device-snmp-go_PR-302:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-302@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-302@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:09:58 $ docker top 530f2fe1bb266147951d71ea9428fb52696a29ea32a5df190e92b352bf655fce -eo pid,comm [Pipeline] { [Pipeline] sh 06:09:58 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-302 [Pipeline] fileExists [Pipeline] sh 06:09:59 + make test 06:09:59 go test ./... -coverprofile=coverage.out 06:10:04 ? github.com/edgexfoundry/device-snmp-go [no test files] 06:10:16 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 06:10:16 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.009s coverage: 0.0% of statements 06:10:21 go vet ./... 06:10:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:10:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:10:26 ./bin/test-attribution-txt.sh [Pipeline] echo 06:10:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:10:26 $ docker stop --time=1 530f2fe1bb266147951d71ea9428fb52696a29ea32a5df190e92b352bf655fce 06:10:29 $ docker rm -f --volumes 530f2fe1bb266147951d71ea9428fb52696a29ea32a5df190e92b352bf655fce [Pipeline] // withDockerContainer [Pipeline] sh 06:10:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:10:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:10:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:10:30 + ls -al . 06:10:30 total 172 06:10:30 drwxrwxr-x 9 jenkins jenkins 4096 May 5 06:09 . 06:10:30 drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:08 .. 06:10:30 -rw-rw-r-- 1 jenkins jenkins 6 May 5 06:08 .dockerignore 06:10:30 drwxrwxr-x 8 jenkins jenkins 4096 May 5 06:09 .git 06:10:30 drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:08 .github 06:10:30 -rw-rw-r-- 1 jenkins jenkins 328 May 5 06:08 .gitignore 06:10:30 -rw-rw-r-- 1 jenkins jenkins 41 May 5 06:08 .golangci.yml 06:10:30 drwxr-xr-x 3 jenkins jenkins 4096 May 5 06:09 .semver 06:10:30 -rw-rw-r-- 1 jenkins jenkins 9056 May 5 06:08 Attribution.txt 06:10:30 -rw-rw-r-- 1 jenkins jenkins 8355 May 5 06:08 CHANGELOG.md 06:10:30 -rw-rw-r-- 1 jenkins jenkins 1423 May 5 06:08 Dockerfile 06:10:30 -rw-rw-r-- 1 jenkins jenkins 677 May 5 06:08 GOVERNANCE.md 06:10:30 -rw-rw-r-- 1 jenkins jenkins 656 May 5 06:08 Jenkinsfile 06:10:30 -rw-rw-r-- 1 jenkins jenkins 11340 May 5 06:08 LICENSE 06:10:30 -rw-rw-r-- 1 jenkins jenkins 2114 May 5 06:08 Makefile 06:10:30 -rw-rw-r-- 1 jenkins jenkins 620 May 5 06:08 OWNERS.md 06:10:30 -rw-rw-r-- 1 jenkins jenkins 10054 May 5 06:08 README.md 06:10:30 -rw-rw-r-- 1 jenkins jenkins 5 May 5 06:09 VERSION 06:10:30 drwxrwxr-x 2 jenkins jenkins 4096 May 5 06:08 bin 06:10:30 drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:08 cmd 06:10:30 -rw-r--r-- 1 jenkins jenkins 8837 May 5 06:10 coverage.out 06:10:30 -rw-rw-r-- 1 jenkins jenkins 3283 May 5 06:08 go.mod 06:10:30 -rw-rw-r-- 1 jenkins jenkins 31441 May 5 06:08 go.sum 06:10:30 drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:08 internal 06:10:30 drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:08 snap 06:10:30 -rw-rw-r-- 1 jenkins jenkins 228 May 5 06:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:30 + 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=75a2d2d486d34bd86faa9df11ef63bdac674ee8d --label arch=amd64 --label version=0.0.0 . 06:10:30 Sending build context to Docker daemon 5.822MB 06:10:30 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 06:10:30 Step 2/24 : FROM ${BASE} AS builder 06:10:30 ---> 522de33fe493 06:10:30 Step 3/24 : ARG ADD_BUILD_TAGS="" 06:10:31 ---> Running in 05f52760a482 06:10:31 Removing intermediate container 05f52760a482 06:10:31 ---> ea7ff3073b56 06:10:31 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:10:31 ---> Running in af0bfe2fa83d 06:10:31 Removing intermediate container af0bfe2fa83d 06:10:31 ---> c776232f955c 06:10:31 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:10:31 ---> Running in c3f30e6ceeab 06:10:31 Removing intermediate container c3f30e6ceeab 06:10:31 ---> cd29eefa2b6d 06:10:31 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 06:10:31 ---> Running in dadd948b8473 06:10:31 Removing intermediate container dadd948b8473 06:10:31 ---> 4f467c912967 06:10:31 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:10:31 ---> Running in 00be97599cae 06:10:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:10:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:10:32 OK: 269 MiB in 57 packages 06:10:32 Removing intermediate container 00be97599cae 06:10:32 ---> 9d5584575964 06:10:32 Step 8/24 : WORKDIR /device-snmp-go 06:10:32 ---> Running in 8e1b2bbf33c3 06:10:32 Removing intermediate container 8e1b2bbf33c3 06:10:32 ---> 6a2bf7e63218 06:10:32 Step 9/24 : COPY go.mod vendor* ./ 06:10:32 ---> 00634321622c 06:10:32 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:10:32 ---> Running in dd34e965a463 06:10:33 Removing intermediate container dd34e965a463 06:10:33 ---> 07c67d44853b 06:10:33 Step 11/24 : COPY . . 06:10:34 ---> 1d74a7bf4d4c 06:10:34 Step 12/24 : RUN ${MAKE} 06:10:34 ---> Running in c7e4e513dc21 06:10:34 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 06:10:56 Removing intermediate container c7e4e513dc21 06:10:56 ---> 482f85959928 06:10:56 Step 13/24 : FROM alpine:3.17 06:10:56 3.17: Pulling from library/alpine 06:10:56 f56be85fc22e: Already exists 06:10:56 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:10:56 Status: Downloaded newer image for alpine:3.17 06:10:56 ---> 9ed4aefc74f6 06:10:56 Step 14/24 : RUN apk add --update --no-cache dumb-init 06:10:56 ---> Running in 929f41cb2a35 06:10:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:10:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:10:56 (1/1) Installing dumb-init (1.2.5-r2) 06:10:56 Executing busybox-1.35.0-r29.trigger 06:10:56 OK: 7 MiB in 16 packages 06:10:56 Removing intermediate container 929f41cb2a35 06:10:56 ---> df2fc1da9498 06:10:56 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 06:10:56 ---> d7d4eabb8f04 06:10:56 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 06:10:56 ---> 6b176bbc4637 06:10:56 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 06:10:56 ---> a795f972b61f 06:10:56 Step 18/24 : EXPOSE 59993 06:10:56 ---> Running in feaef9200037 06:10:56 Removing intermediate container feaef9200037 06:10:56 ---> a8d49085f4f6 06:10:56 Step 19/24 : EXPOSE 161 06:10:56 ---> Running in e481db5fd77c 06:10:57 Removing intermediate container e481db5fd77c 06:10:57 ---> 855e75aabfb6 06:10:57 Step 20/24 : ENTRYPOINT ["/device-snmp"] 06:10:57 ---> Running in 7651fbf1799f 06:10:57 Removing intermediate container 7651fbf1799f 06:10:57 ---> 6248063cb7a5 06:10:57 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 06:10:57 ---> Running in 3bb728ab5f37 06:10:57 Removing intermediate container 3bb728ab5f37 06:10:57 ---> 90593e91f176 06:10:57 Step 22/24 : LABEL arch=amd64 06:10:57 ---> Running in 76e6913f9aaa 06:10:57 Removing intermediate container 76e6913f9aaa 06:10:57 ---> d95f8a518044 06:10:57 Step 23/24 : LABEL git_sha=75a2d2d486d34bd86faa9df11ef63bdac674ee8d 06:10:57 ---> Running in 80b7e496545f 06:10:57 Removing intermediate container 80b7e496545f 06:10:57 ---> db31a4705dc7 06:10:57 Step 24/24 : LABEL version=0.0.0 06:10:57 ---> Running in 8a3b1b42675a 06:10:57 Removing intermediate container 8a3b1b42675a 06:10:57 ---> b9240e7ba68a 06:10:57 [Warning] One or more build-args [ARCH] were not consumed 06:10:57 Successfully built b9240e7ba68a 06:10:57 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [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 06:10:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:10:57 06:10:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:10:58 latest: Pulling from edgex-lftools-log-publisher 06:10:58 5eb5b503b376: Pulling fs layer 06:10:58 5c69ac0246d0: Pulling fs layer 06:10:58 ec43610c2a17: Pulling fs layer 06:10:58 3a2ae6a8a46f: Pulling fs layer 06:10:58 33b1e0a273af: Pulling fs layer 06:10:58 5d3b04190fa2: Pulling fs layer 06:10:58 2f39f015ded8: Pulling fs layer 06:10:58 3a2ae6a8a46f: Waiting 06:10:58 2f39f015ded8: Waiting 06:10:58 5d3b04190fa2: Waiting 06:10:58 33b1e0a273af: Waiting 06:10:58 5c69ac0246d0: Download complete 06:10:58 3a2ae6a8a46f: Download complete 06:10:58 33b1e0a273af: Verifying Checksum 06:10:58 33b1e0a273af: Download complete 06:10:58 5d3b04190fa2: Verifying Checksum 06:10:58 5d3b04190fa2: Download complete 06:10:58 ec43610c2a17: Download complete 06:11:00 5eb5b503b376: Verifying Checksum 06:11:00 5eb5b503b376: Download complete 06:11:02 5eb5b503b376: Pull complete 06:11:02 5c69ac0246d0: Pull complete 06:11:02 ec43610c2a17: Pull complete 06:11:02 3a2ae6a8a46f: Pull complete 06:11:02 33b1e0a273af: Pull complete 06:11:03 5d3b04190fa2: Pull complete 06:11:03 2f39f015ded8: Download complete 06:11:07 2f39f015ded8: Pull complete 06:11:07 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:11:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:11:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:11:07 prd-ubuntu20.04-docker-8c-8g-13845 does not seem to be running inside a container 06:11:07 $ 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/gexfoundry_device-snmp-go_PR-302 -v /w/workspace/gexfoundry_device-snmp-go_PR-302:/w/workspace/gexfoundry_device-snmp-go_PR-302:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-302@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-302@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:11:10 $ docker top 2e5f447e86c8a15fdb32d9b8ea90840017f794518df5a156f75aaae359a70d8a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:11:10 ---> job-cost.sh 06:11:10 lf-activate-venv: SKIPPING 06:11:10 INFO: No Stack... 06:11:11 INFO: Retrieving Pricing Info for: v3-standard-8 06:11:11 INFO: Archiving Costs [Pipeline] sh 06:11:11 + cat /w/workspace/gexfoundry_device-snmp-go_PR-302/archives/cost.csv 06:11:11 + cut -d, -f6 [Pipeline] lock 06:11:11 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-302-2-stack-cost] 06:11:11 Resource [jenkins-edgexfoundry-device-snmp-go-PR-302-2-stack-cost] did not exist. Created. 06:11:11 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-302-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:11:11 + echo total: 0.2199999988079071 [Pipeline] stash 06:11:12 Stashed 1 file(s) [Pipeline] } 06:11:12 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-302-2-stack-cost] [Pipeline] // lock [Pipeline] } 06:11:12 $ docker stop --time=1 2e5f447e86c8a15fdb32d9b8ea90840017f794518df5a156f75aaae359a70d8a 06:11:13 $ docker rm -f --volumes 2e5f447e86c8a15fdb32d9b8ea90840017f794518df5a156f75aaae359a70d8a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:11:42 Running on prd-ubuntu20.04-docker-arm64-4c-16g-13849 in /w/workspace/gexfoundry_device-snmp-go_PR-302 [Pipeline] { [Pipeline] ws 06:11:42 Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout 06:11:42 Selected Git installation does not exist. Using Default 06:11:42 The recommended git tool is: NONE 06:11:50 using credential edgex-jenkins-ssh 06:11:50 Cloning the remote Git repository 06:11:50 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 06:11:50 > git init /w/workspace/device-snmp-go/2 # timeout=10 06:11:50 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 06:11:50 > git --version # timeout=10 06:11:50 > git --version # 'git version 2.25.1' 06:11:50 using GIT_SSH to set credentials SSH Credentials for GitHub 06:11:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:11:52 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 06:11:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:11:54 Merging remotes/origin/main commit 4540667df76160ba2257f08fa194345a2d771c5a into PR head commit 75a2d2d486d34bd86faa9df11ef63bdac674ee8d 06:11:53 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 06:11:53 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 06:11:53 using GIT_SSH to set credentials SSH Credentials for GitHub 06:11:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/302/head:refs/remotes/origin/PR-302 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:11:54 > git config core.sparsecheckout # timeout=10 06:11:54 > git checkout -f 75a2d2d486d34bd86faa9df11ef63bdac674ee8d # timeout=10 06:11:54 Merge succeeded, producing 75a2d2d486d34bd86faa9df11ef63bdac674ee8d 06:11:54 Checking out Revision 75a2d2d486d34bd86faa9df11ef63bdac674ee8d (PR-302) 06:11:54 > git remote # timeout=10 06:11:54 > git config --get remote.origin.url # timeout=10 06:11:54 using GIT_SSH to set credentials SSH Credentials for GitHub 06:11:54 > git merge 4540667df76160ba2257f08fa194345a2d771c5a # timeout=10 06:11:54 > git rev-parse HEAD^{commit} # timeout=10 06:11:54 > git config core.sparsecheckout # timeout=10 06:11:54 > git checkout -f 75a2d2d486d34bd86faa9df11ef63bdac674ee8d # timeout=10 06:11:58 Commit message: "build: Ignore all go-mods except device-sdk-go" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:11:59 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:11:59 % Total % Received % Xferd Average Speed Time Time Time Current 06:11:59 Dload Upload Total Spent Left Speed 06:11:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 159k 0 --:--:-- --:--:-- --:--:-- 159k [Pipeline] sh 06:12:00 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:12:00 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:12:00 + sudo tee /etc/docker/daemon.new 06:12:00 { 06:12:00 "registry-mirrors": [ 06:12:00 "https://nexus3.edgexfoundry.org:10001" 06:12:00 ], 06:12:00 "bip": "10.250.0.254/24", 06:12:00 "hosts": [ 06:12:00 "tcp://0.0.0.0:5555", 06:12:00 "unix:///var/run/docker.sock" 06:12:00 ], 06:12:00 "mtu": 1458, 06:12:00 "selinux-enabled": true, 06:12:00 "seccomp-profile": "/etc/docker/seccomp.json" 06:12:00 } [Pipeline] sh 06:12:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:12:01 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:12:19 provisioning config files... 06:12:19 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config14296252960272881985tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:12:20 ---> docker-login.sh 06:12:20 nexus3.edgexfoundry.org:10001 06:12:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:12:21 Configure a credential helper to remove this warning. See 06:12:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:12:21 06:12:21 Login Succeeded 06:12:21 nexus3.edgexfoundry.org:10002 06:12:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:12:21 Configure a credential helper to remove this warning. See 06:12:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:12:21 06:12:21 Login Succeeded 06:12:21 nexus3.edgexfoundry.org:10003 06:12:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:12:22 Configure a credential helper to remove this warning. See 06:12:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:12:22 06:12:22 Login Succeeded 06:12:22 nexus3.edgexfoundry.org:10004 06:12:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:12:22 Configure a credential helper to remove this warning. See 06:12:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:12:22 06:12:22 Login Succeeded 06:12:22 docker.io 06:12:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:12:23 Configure a credential helper to remove this warning. See 06:12:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:12:23 06:12:23 Login Succeeded 06:12:23 ---> docker-login.sh ends [Pipeline] } 06:12:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:12:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:12:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:12:23 ========================================================= 06:12:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 06:12:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:24 + 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 . 06:12:24 Sending build context to Docker daemon 3.016MB 06:12:24 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 06:12:24 Step 2/12 : FROM ${BASE} AS builder 06:12:24 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:12:24 c41833b44d91: Pulling fs layer 06:12:24 ed15518f5707: Pulling fs layer 06:12:24 feae8fd75edb: Pulling fs layer 06:12:24 242c74f7c9fa: Pulling fs layer 06:12:24 3cdef696dda3: Pulling fs layer 06:12:24 2ced38df9373: Pulling fs layer 06:12:24 58f1dce35555: Pulling fs layer 06:12:24 2ced38df9373: Waiting 06:12:24 242c74f7c9fa: Waiting 06:12:24 3cdef696dda3: Waiting 06:12:24 58f1dce35555: Waiting 06:12:24 ed15518f5707: Verifying Checksum 06:12:24 ed15518f5707: Download complete 06:12:24 242c74f7c9fa: Verifying Checksum 06:12:24 242c74f7c9fa: Download complete 06:12:24 3cdef696dda3: Verifying Checksum 06:12:24 3cdef696dda3: Download complete 06:12:24 c41833b44d91: Verifying Checksum 06:12:26 c41833b44d91: Pull complete 06:12:26 58f1dce35555: Verifying Checksum 06:12:26 58f1dce35555: Download complete 06:12:27 ed15518f5707: Pull complete 06:12:27 feae8fd75edb: Verifying Checksum 06:12:27 feae8fd75edb: Download complete 06:12:27 2ced38df9373: Verifying Checksum 06:12:27 2ced38df9373: Download complete 06:12:40 feae8fd75edb: Pull complete 06:12:40 242c74f7c9fa: Pull complete 06:12:40 3cdef696dda3: Pull complete 06:12:48 2ced38df9373: Pull complete 06:12:50 58f1dce35555: Pull complete 06:12:50 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 06:12:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 06:12:50 ---> fadd8f120f05 06:12:50 Step 3/12 : ARG ADD_BUILD_TAGS="" 06:12:51 ---> Running in 9be3069e318d 06:12:51 Removing intermediate container 9be3069e318d 06:12:51 ---> a4533ea27ad1 06:12:51 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:12:51 ---> Running in 727d167b8c18 06:12:52 Removing intermediate container 727d167b8c18 06:12:52 ---> 360b02523090 06:12:52 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:12:52 ---> Running in 7d84cfdb53b3 06:12:52 Removing intermediate container 7d84cfdb53b3 06:12:52 ---> 9f908aad2456 06:12:52 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 06:12:52 ---> Running in 93385ffde9aa 06:12:52 Removing intermediate container 93385ffde9aa 06:12:52 ---> 7832594d2ca0 06:12:52 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:12:52 ---> Running in 82bc7adb04cb 06:12:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:12:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:12:56 (1/4) Installing openssh-keygen (9.1_p1-r2) 06:12:56 (2/4) Installing libedit (20221030.3.1-r0) 06:12:56 (3/4) Installing openssh-client-common (9.1_p1-r2) 06:12:56 (4/4) Installing openssh-client-default (9.1_p1-r2) 06:12:56 Executing busybox-1.35.0-r29.trigger 06:12:56 OK: 268 MiB in 57 packages 06:12:57 Removing intermediate container 82bc7adb04cb 06:12:57 ---> 8b872806bfc7 06:12:57 Step 8/12 : WORKDIR /device-snmp-go 06:12:57 ---> Running in 7ad9bf485982 06:12:58 Removing intermediate container 7ad9bf485982 06:12:58 ---> 7dcbd5e27fba 06:12:58 Step 9/12 : COPY go.mod vendor* ./ 06:12:58 ---> 7647c8b80790 06:12:58 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:12:58 ---> Running in 820845f17eeb 06:14:06 Removing intermediate container 820845f17eeb 06:14:06 ---> 57c52437f39c 06:14:06 Step 11/12 : COPY . . 06:14:08 ---> 6f3a934a1f2a 06:14:08 Step 12/12 : RUN ${MAKE} 06:14:08 ---> Running in 1d59fee85007 06:14:09 noop 06:14:10 Removing intermediate container 1d59fee85007 06:14:10 ---> 26c9cd6a3ffe 06:14:10 Successfully built 26c9cd6a3ffe 06:14:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:10 + docker inspect -f . ci-base-image-arm64 06:14:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:14:10 prd-ubuntu20.04-docker-arm64-4c-16g-13849 does not seem to be running inside a container 06:14:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:14:12 $ docker top e27227ef3b13fdb39bb102bed9d1f5bff20d6572f40f681421b0bf42703d62ff -eo pid,comm [Pipeline] { [Pipeline] sh 06:14:13 + go version 06:14:13 go version go1.20.2 linux/arm64 [Pipeline] } 06:14:13 $ docker stop --time=1 e27227ef3b13fdb39bb102bed9d1f5bff20d6572f40f681421b0bf42703d62ff 06:14:15 $ docker rm -f --volumes e27227ef3b13fdb39bb102bed9d1f5bff20d6572f40f681421b0bf42703d62ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:15 + docker inspect -f . ci-base-image-arm64 06:14:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:14:16 prd-ubuntu20.04-docker-arm64-4c-16g-13849 does not seem to be running inside a container 06:14:16 $ 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/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:14:17 $ docker top 2166338d33ce86a8a93b57292e588a71c3a72e32d90939036bd704f8e57d0682 -eo pid,comm [Pipeline] { [Pipeline] sh 06:14:18 + git config --global --add safe.directory /w/workspace/device-snmp-go/2 [Pipeline] fileExists [Pipeline] sh 06:14:19 + make test 06:14:19 go test ./... -coverprofile=coverage.out 06:15:06 ? github.com/edgexfoundry/device-snmp-go [no test files] 06:17:28 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 06:17:28 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.056s coverage: 0.0% of statements 06:17:28 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:17:28 go vet ./... 06:17:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:17:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:17:54 ./bin/test-attribution-txt.sh [Pipeline] echo 06:17:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:17:54 $ docker stop --time=1 2166338d33ce86a8a93b57292e588a71c3a72e32d90939036bd704f8e57d0682 06:17:56 $ docker rm -f --volumes 2166338d33ce86a8a93b57292e588a71c3a72e32d90939036bd704f8e57d0682 [Pipeline] // withDockerContainer [Pipeline] sh 06:17:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:17:58 Warning: overwriting stash ‘coverage-report’ 06:17:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:17:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:17:59 + ls -al . 06:17:59 total 168 06:17:59 drwxrwxr-x 8 jenkins jenkins 4096 May 5 06:14 . 06:17:59 drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:11 .. 06:17:59 -rw-rw-r-- 1 jenkins jenkins 6 May 5 06:11 .dockerignore 06:17:59 drwxrwxr-x 8 jenkins jenkins 4096 May 5 06:11 .git 06:17:59 drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:11 .github 06:17:59 -rw-rw-r-- 1 jenkins jenkins 328 May 5 06:11 .gitignore 06:17:59 -rw-rw-r-- 1 jenkins jenkins 41 May 5 06:11 .golangci.yml 06:17:59 -rw-rw-r-- 1 jenkins jenkins 9056 May 5 06:11 Attribution.txt 06:17:59 -rw-rw-r-- 1 jenkins jenkins 8355 May 5 06:11 CHANGELOG.md 06:17:59 -rw-rw-r-- 1 jenkins jenkins 1423 May 5 06:11 Dockerfile 06:17:59 -rw-rw-r-- 1 jenkins jenkins 677 May 5 06:11 GOVERNANCE.md 06:17:59 -rw-rw-r-- 1 jenkins jenkins 656 May 5 06:11 Jenkinsfile 06:17:59 -rw-rw-r-- 1 jenkins jenkins 11340 May 5 06:11 LICENSE 06:17:59 -rw-rw-r-- 1 jenkins jenkins 2114 May 5 06:11 Makefile 06:17:59 -rw-rw-r-- 1 jenkins jenkins 620 May 5 06:11 OWNERS.md 06:17:59 -rw-rw-r-- 1 jenkins jenkins 10054 May 5 06:11 README.md 06:17:59 -rw-rw-r-- 1 jenkins jenkins 5 May 5 06:09 VERSION 06:17:59 drwxrwxr-x 2 jenkins jenkins 4096 May 5 06:11 bin 06:17:59 drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:11 cmd 06:17:59 -rw-r--r-- 1 jenkins jenkins 8837 May 5 06:17 coverage.out 06:17:59 -rw-rw-r-- 1 jenkins jenkins 3283 May 5 06:11 go.mod 06:17:59 -rw-rw-r-- 1 jenkins jenkins 31441 May 5 06:11 go.sum 06:17:59 drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:11 internal 06:17:59 drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:11 snap 06:17:59 -rw-rw-r-- 1 jenkins jenkins 228 May 5 06:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:00 + 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=75a2d2d486d34bd86faa9df11ef63bdac674ee8d --label arch=arm64 --label version=0.0.0 . 06:18:00 Sending build context to Docker daemon 3.025MB 06:18:00 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 06:18:00 Step 2/24 : FROM ${BASE} AS builder 06:18:00 ---> 26c9cd6a3ffe 06:18:00 Step 3/24 : ARG ADD_BUILD_TAGS="" 06:18:00 ---> Running in ab6b51e7a072 06:18:01 Removing intermediate container ab6b51e7a072 06:18:01 ---> 91d4ca6fc7c5 06:18:01 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:18:01 ---> Running in ebbc0250af2e 06:18:01 Removing intermediate container ebbc0250af2e 06:18:01 ---> b2f7834d9f18 06:18:01 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:18:01 ---> Running in 44d8ac5a6400 06:18:02 Removing intermediate container 44d8ac5a6400 06:18:02 ---> f28ac4e224cd 06:18:02 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 06:18:02 ---> Running in 806d17600bc5 06:18:02 Removing intermediate container 806d17600bc5 06:18:02 ---> f4cd470d8515 06:18:02 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:18:02 ---> Running in 0714199ace49 06:18:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:18:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:18:06 OK: 268 MiB in 57 packages 06:18:07 Removing intermediate container 0714199ace49 06:18:07 ---> de57aaf4af88 06:18:07 Step 8/24 : WORKDIR /device-snmp-go 06:18:07 ---> Running in b1eced1bea67 06:18:07 Removing intermediate container b1eced1bea67 06:18:07 ---> 8d97c796e963 06:18:07 Step 9/24 : COPY go.mod vendor* ./ 06:18:08 ---> 735815b7fb75 06:18:08 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:18:08 ---> Running in bf2be646f30f 06:18:12 Removing intermediate container bf2be646f30f 06:18:12 ---> f7e147d53c97 06:18:12 Step 11/24 : COPY . . 06:18:15 ---> d696eaa0b01a 06:18:15 Step 12/24 : RUN ${MAKE} 06:18:15 ---> Running in 9c2e96981344 06:18:16 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 06:21:08 Removing intermediate container 9c2e96981344 06:21:08 ---> d895919a3887 06:21:08 Step 13/24 : FROM alpine:3.17 06:21:08 3.17: Pulling from library/alpine 06:21:08 c41833b44d91: Already exists 06:21:08 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:21:08 Status: Downloaded newer image for alpine:3.17 06:21:08 ---> 51e60588ff2c 06:21:08 Step 14/24 : RUN apk add --update --no-cache dumb-init 06:21:08 ---> Running in 650a1af80fd2 06:21:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:21:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:21:08 (1/1) Installing dumb-init (1.2.5-r2) 06:21:08 Executing busybox-1.35.0-r29.trigger 06:21:08 OK: 8 MiB in 16 packages 06:21:08 Removing intermediate container 650a1af80fd2 06:21:08 ---> f73f36adae2f 06:21:08 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 06:21:08 ---> 4e4ed43276be 06:21:08 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 06:21:08 ---> f7a0d8a04b7a 06:21:08 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 06:21:08 ---> af38420d6c97 06:21:08 Step 18/24 : EXPOSE 59993 06:21:08 ---> Running in f609610ed6b6 06:21:08 Removing intermediate container f609610ed6b6 06:21:08 ---> 0fab3dfb89e4 06:21:08 Step 19/24 : EXPOSE 161 06:21:08 ---> Running in f9524b11ad92 06:21:08 Removing intermediate container f9524b11ad92 06:21:08 ---> ad515968f3c5 06:21:08 Step 20/24 : ENTRYPOINT ["/device-snmp"] 06:21:08 ---> Running in 5e467ebbf4df 06:21:08 Removing intermediate container 5e467ebbf4df 06:21:08 ---> fc767c22335e 06:21:08 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 06:21:08 ---> Running in bd6f91538123 06:21:09 Removing intermediate container bd6f91538123 06:21:09 ---> 5efd73c3c9bf 06:21:09 Step 22/24 : LABEL arch=arm64 06:21:09 ---> Running in ae8c4cb95d35 06:21:09 Removing intermediate container ae8c4cb95d35 06:21:09 ---> a2902a2893db 06:21:09 Step 23/24 : LABEL git_sha=75a2d2d486d34bd86faa9df11ef63bdac674ee8d 06:21:09 ---> Running in e60fe7d3156c 06:21:09 Removing intermediate container e60fe7d3156c 06:21:09 ---> 9c391b824af3 06:21:09 Step 24/24 : LABEL version=0.0.0 06:21:09 ---> Running in 3015e9aa1e47 06:21:10 Removing intermediate container 3015e9aa1e47 06:21:10 ---> 1b65ddf693f8 06:21:10 [Warning] One or more build-args [ARCH] were not consumed 06:21:10 Successfully built 1b65ddf693f8 06:21:10 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:21:10 06:21:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:21:11 arm64: Pulling from edgex-lftools-log-publisher 06:21:11 8998bd30e6a1: Pulling fs layer 06:21:11 04944245beec: Pulling fs layer 06:21:11 699f458cf7ca: Pulling fs layer 06:21:11 765212b225bb: Pulling fs layer 06:21:11 f23df028b6ca: Pulling fs layer 06:21:11 d65c8cfc05b1: Pulling fs layer 06:21:11 2437ff75d9bd: Pulling fs layer 06:21:11 765212b225bb: Waiting 06:21:11 f23df028b6ca: Waiting 06:21:11 2437ff75d9bd: Waiting 06:21:11 d65c8cfc05b1: Waiting 06:21:11 04944245beec: Verifying Checksum 06:21:11 04944245beec: Download complete 06:21:11 765212b225bb: Download complete 06:21:11 f23df028b6ca: Verifying Checksum 06:21:11 f23df028b6ca: Download complete 06:21:11 d65c8cfc05b1: Verifying Checksum 06:21:11 d65c8cfc05b1: Download complete 06:21:11 699f458cf7ca: Verifying Checksum 06:21:11 699f458cf7ca: Download complete 06:21:12 8998bd30e6a1: Verifying Checksum 06:21:12 8998bd30e6a1: Download complete 06:21:14 2437ff75d9bd: Verifying Checksum 06:21:14 2437ff75d9bd: Download complete 06:21:16 8998bd30e6a1: Pull complete 06:21:16 04944245beec: Pull complete 06:21:17 699f458cf7ca: Pull complete 06:21:18 765212b225bb: Pull complete 06:21:19 f23df028b6ca: Pull complete 06:21:19 d65c8cfc05b1: Pull complete 06:21:34 2437ff75d9bd: Pull complete 06:21:34 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:21:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:21:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:21:34 prd-ubuntu20.04-docker-arm64-4c-16g-13849 does not seem to be running inside a container 06:21:34 $ 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/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:21:37 $ docker top 7a1e9d1aae212a92de56bf0d9b0e5ce3f28a7cedbcaba1e8c53b3238af795318 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:21:38 ---> job-cost.sh 06:21:38 lf-activate-venv: SKIPPING 06:21:38 INFO: No Stack... 06:21:38 INFO: Retrieving Pricing Info for: v3-standard-4 06:21:39 INFO: Archiving Costs [Pipeline] sh 06:21:40 + cat /w/workspace/device-snmp-go/2/archives/cost.csv 06:21:40 + cut -d, -f6 [Pipeline] lock 06:21:40 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-302-2-stack-cost] 06:21:40 Resource [jenkins-edgexfoundry-device-snmp-go-PR-302-2-stack-cost] did not exist. Created. 06:21:40 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-302-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:21:41 /w/workspace/device-snmp-go/2@tmp/durable-f603af25/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:21:41 + echo total: 0.10999999940395355 [Pipeline] stash 06:21:41 Warning: overwriting stash ‘stack-cost’ 06:21:41 Stashed 1 file(s) [Pipeline] } 06:21:41 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-302-2-stack-cost] [Pipeline] // lock [Pipeline] } 06:21:41 $ docker stop --time=1 7a1e9d1aae212a92de56bf0d9b0e5ce3f28a7cedbcaba1e8c53b3238af795318 06:21:43 $ docker rm -f --volumes 7a1e9d1aae212a92de56bf0d9b0e5ce3f28a7cedbcaba1e8c53b3238af795318 [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 06:21:43 provisioning config files... 06:21:43 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-302@tmp/config9156501503021091357tmp [Pipeline] { [Pipeline] sh 06:21:44 + set +x 06:21:44 + curl -s https://codecov.io/bash 06:21:44 + bash -s -- 06:21:44 06:21:44 _____ _ 06:21:44 / ____| | | 06:21:44 | | ___ __| | ___ ___ _____ __ 06:21:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:21:44 | |___| (_) | (_| | __/ (_| (_) \ V / 06:21:44 \_____\___/ \__,_|\___|\___\___/ \_/ 06:21:44 Bash-1.0.6 06:21:44 06:21:44 06:21:44 ==> git version 2.25.1 found 06:21:44 ==> 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 06:21:44 Release-Date: 2020-01-08 06:21:44 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:21:44 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:21:44 ==> Jenkins CI detected. 06:21:44 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-302 06:21:44 project root: . 06:21:44 --> token set from env 06:21:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:21:44 ==> Running gcov in . (disable via -X gcov) 06:21:44 ==> Python coveragepy not found 06:21:44 ==> Searching for coverage reports in: 06:21:44 + . 06:21:44 -> Found 1 reports 06:21:44 ==> Detecting git/mercurial file structure 06:21:44 ==> Reading reports 06:21:44 + ./coverage.out bytes=8837 06:21:44 ==> Appending adjustments 06:21:44 https://docs.codecov.io/docs/fixing-reports 06:21:44 + Found adjustments 06:21:44 ==> Gzipping contents 06:21:44 4.0K /tmp/codecov.MYa4Cw.gz 06:21:44 ==> Uploading reports 06:21:44 url: https://codecov.io 06:21:44 query: branch=PR-302&commit=75a2d2d486d34bd86faa9df11ef63bdac674ee8d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-302%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=302&job=&cmd_args= 06:21:44 -> Pinging Codecov 06:21:44 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-302&commit=75a2d2d486d34bd86faa9df11ef63bdac674ee8d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-302%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=302&job=&cmd_args= 06:21:44 -> Uploading to 06:21:44 https://storage.googleapis.com/codecov/v4/raw/2023-05-05/6C56EA5C29638FB4528AC87E60AF5AE0/75a2d2d486d34bd86faa9df11ef63bdac674ee8d/52948a86-f8c1-4d0d-943a-7e396f34e29e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230505%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230505T062144Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2a8e8a70a71bc0144f0674408528b6b036905aca0b748c1a296634d198df538b 06:21:44 % Total % Received % Xferd Average Speed Time Time Time Current 06:21:44 Dload Upload Total Spent Left Speed 06:21:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1604 0 0 100 1604 0 7674 --:--:-- --:--:-- --:--:-- 7674 06:21:44 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/75a2d2d486d34bd86faa9df11ef63bdac674ee8d [Pipeline] } 06:21:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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 06:21:45 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-302/archives ] 06:21:45 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-302/archives 06:21:45 total 16 06:21:45 drwxr-xr-x 3 root root 4096 May 5 06:11 . 06:21:45 drwxrwxr-x 10 jenkins jenkins 4096 May 5 06:11 .. 06:21:45 drwxr-xr-x 2 root root 4096 May 5 06:11 cost 06:21:45 -rw-r--r-- 1 root root 86 May 5 06:11 cost.csv 06:21:45 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-302/archives 06:21:45 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-302/archives 06:21:45 total 16 06:21:45 drwxr-xr-x 3 jenkins jenkins 4096 May 5 06:11 . 06:21:45 drwxrwxr-x 10 jenkins jenkins 4096 May 5 06:11 .. 06:21:45 drwxr-xr-x 2 jenkins jenkins 4096 May 5 06:11 cost 06:21:45 -rw-r--r-- 1 jenkins jenkins 86 May 5 06:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:21:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:21:46 ---> package-listing.sh 06:21:46 ++ tr '[:upper:]' '[:lower:]' 06:21:46 ++ facter osfamily 06:21:46 + OS_FAMILY=debian 06:21:46 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-302 06:21:46 + START_PACKAGES=/tmp/packages_start.txt 06:21:46 + END_PACKAGES=/tmp/packages_end.txt 06:21:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:21:46 + PACKAGES=/tmp/packages_start.txt 06:21:46 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-302 ']' 06:21:46 + PACKAGES=/tmp/packages_end.txt 06:21:46 + case "${OS_FAMILY}" in 06:21:46 + dpkg -l 06:21:46 + grep '^ii' 06:21:46 + '[' -f /tmp/packages_start.txt ']' 06:21:46 + '[' -f /tmp/packages_end.txt ']' 06:21:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:21:46 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-302 ']' 06:21:46 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-302/archives/ 06:21:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-302/archives/ [Pipeline] echo 06:21:46 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/gexfoundry_device-snmp-go_PR-302/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:21:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:21:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:21:47 prd-ubuntu20.04-docker-8c-8g-13845 does not seem to be running inside a container 06:21:47 $ 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/gexfoundry_device-snmp-go_PR-302/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_PR-302 -v /w/workspace/gexfoundry_device-snmp-go_PR-302:/w/workspace/gexfoundry_device-snmp-go_PR-302:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-302@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-302@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:21:47 $ docker top 41a4b72c375073ef8a373af45fe72d59530a489c65c231d50c59200522ff7286 -eo pid,comm [Pipeline] { [Pipeline] sh 06:21:48 + touch /tmp/pre-build-complete [Pipeline] sh 06:21:48 + mkdir -p /var/log/sysstat [Pipeline] sh 06:21:48 + ls /var/log/sa-host 06:21:48 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:21:48 provisioning config files... 06:21:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-302@tmp/config15434095556801490596tmp [Pipeline] { [Pipeline] echo 06:21:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:21:49 ---> create-netrc.sh [Pipeline] } 06:21:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:21:49 ---> python-tools-install.sh [Pipeline] echo 06:21:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:21:49 ---> sudo-logs.sh 06:21:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:21:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:21:50 ---> job-cost.sh 06:21:50 lf-activate-venv: SKIPPING 06:21:50 DEBUG: total: 0.2199999988079071 06:21:50 INFO: Retrieving Stack Cost... 06:21:50 INFO: Retrieving Pricing Info for: v3-standard-8 06:21:51 INFO: Archiving Costs [Pipeline] echo 06:21:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:21:51 ---> logs-deploy.sh 06:21:51 lf-activate-venv: SKIPPING 06:21:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-302/2 06:21:51 INFO: archiving workspace using pattern(s): 06:21:52 Archives upload complete. 06:21:52 INFO: archiving logs to Nexus