Pull request #284 updated 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 weichou1229 for edgexfoundry/device-snmp-go Loading trusted files from base branch main at e525481a5759a3c7c2210679b705fbdd3017b839 rather than 6780626918d56b561ff4ae98266f2ed4d4c053fc Obtained Jenkinsfile from e525481a5759a3c7c2210679b705fbdd3017b839 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-ssh3045244117114664839.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2045664669827247905.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-284/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-284/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh282405476367719969.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5957253911581106629.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-284/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-284/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3009459918657209330.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-8399 in /w/workspace/gexfoundry_device-snmp-go_PR-284 [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-284 # 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 Merging remotes/origin/main commit e525481a5759a3c7c2210679b705fbdd3017b839 into PR head commit 6780626918d56b561ff4ae98266f2ed4d4c053fc Merge succeeded, producing 6780626918d56b561ff4ae98266f2ed4d4c053fc Checking out Revision 6780626918d56b561ff4ae98266f2ed4d4c053fc (PR-284) > 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/284/head:refs/remotes/origin/PR-284 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6780626918d56b561ff4ae98266f2ed4d4c053fc # 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 e525481a5759a3c7c2210679b705fbdd3017b839 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6780626918d56b561ff4ae98266f2ed4d4c053fc # timeout=10 Commit message: "feat!: Consume SDK interface changes" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:21:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:21:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:21:30 ========================================================= 06:21:30 EdgeX Global Pipelines Version Info 06:21:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 9e0dcb7b49635585021f6e3cd7bdfcc04e511dff # timeout=10 06:21:30 ------------------- 06:21:30 stable info: 06:21:30 ------------------- 06:21:30 Commited By: Bill Mahoney bill.mahoney@intel.com 06:21:30 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 06:21:30 Message: update stable to v1.0.248 06:21:31 ------------------- 06:21:31 experimental info: 06:21:31 ------------------- 06:21:31 Commited By: **** collab-it+edgex@linuxfoundation.org 06:21:31 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 06:21:31 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:21:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 06:21:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 06:21:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:21:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:21:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:21:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 06:21:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:21:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:21:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:21:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:21:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:21:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 06:21:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:21:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:21:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:21:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:21:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:21:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:21:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:21:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:21:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:21:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:21:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:21:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:21:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:21:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:21:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:21:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-284 [Pipeline] echo 06:21:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-284 [Pipeline] echo 06:21:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-284 [Pipeline] echo 06:21:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6780626918d56b561ff4ae98266f2ed4d4c053fc [Pipeline] echo 06:21:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6780626 [Pipeline] echo 06:21:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:21:31 provisioning config files... 06:21:31 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-284@tmp/config6777523869993688908tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:21:32 ---> docker-login.sh 06:21:32 nexus3.edgexfoundry.org:10001 06:21:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:21:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:21:32 Configure a credential helper to remove this warning. See 06:21:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:21:32 06:21:32 Login Succeeded 06:21:32 nexus3.edgexfoundry.org:10002 06:21:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:21:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:21:32 Configure a credential helper to remove this warning. See 06:21:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:21:32 06:21:32 Login Succeeded 06:21:32 nexus3.edgexfoundry.org:10003 06:21:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:21:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:21:32 Configure a credential helper to remove this warning. See 06:21:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:21:32 06:21:32 Login Succeeded 06:21:32 nexus3.edgexfoundry.org:10004 06:21:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:21:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:21:32 Configure a credential helper to remove this warning. See 06:21:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:21:32 06:21:32 Login Succeeded 06:21:32 docker.io 06:21:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:21:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:21:32 Configure a credential helper to remove this warning. See 06:21:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:21:32 06:21:32 Login Succeeded 06:21:32 ---> docker-login.sh ends [Pipeline] } 06:21:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:21:33 + git rev-list -1 --merges 6780626918d56b561ff4ae98266f2ed4d4c053fc~1..6780626918d56b561ff4ae98266f2ed4d4c053fc [Pipeline] echo 06:21:33 -----------> git rev-list -1 --merges 6780626918d56b561ff4ae98266f2ed4d4c053fc~1..6780626918d56b561ff4ae98266f2ed4d4c053fc 6780626918d56b561ff4ae98266f2ed4d4c053fc [false] [Pipeline] sh 06:21:33 + git log --format=format:%s -1 6780626918d56b561ff4ae98266f2ed4d4c053fc [Pipeline] echo 06:21:33 ========================================================= 06:21:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:21:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:21:33 + git log --format=format:%s -1 6780626918d56b561ff4ae98266f2ed4d4c053fc [Pipeline] echo 06:21:33 [semverPrep] GIT_COMMIT: 6780626918d56b561ff4ae98266f2ed4d4c053fc, Commit Message: feat!: Consume SDK interface changes [Pipeline] echo 06:21:33 [semverPrep] This is not a build commit. [Pipeline] sh 06:21:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:21:34 + grep -v github /etc/ssh/ssh_known_hosts 06:21:34 + [ -e /tmp/ssh_known_hosts ] 06:21:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:21:34 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:21:34 + sudo tee -a /etc/ssh/ssh_known_hosts 06:21:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:21:34 06:21:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:21:34 0.1.4: Pulling from edgex-devops/py-git-semver 06:21:34 b85a868b505f: Pulling fs layer 06:21:34 e2be974225ed: Pulling fs layer 06:21:34 339a4e72a1f5: Pulling fs layer 06:21:34 988bab9f4d93: Pulling fs layer 06:21:34 1469e6f7b9e6: Pulling fs layer 06:21:34 eaf3925da568: Pulling fs layer 06:21:34 bab4dde63d76: Pulling fs layer 06:21:34 bde34c3a00c8: Pulling fs layer 06:21:34 b352a97aabf1: Pulling fs layer 06:21:34 4872d77fe225: Pulling fs layer 06:21:34 5851b861e8e6: Pulling fs layer 06:21:34 eaf3925da568: Waiting 06:21:34 bab4dde63d76: Waiting 06:21:34 4872d77fe225: Waiting 06:21:34 5851b861e8e6: Waiting 06:21:34 bde34c3a00c8: Waiting 06:21:34 988bab9f4d93: Waiting 06:21:34 b352a97aabf1: Waiting 06:21:34 1469e6f7b9e6: Waiting 06:21:34 e2be974225ed: Verifying Checksum 06:21:34 e2be974225ed: Download complete 06:21:34 988bab9f4d93: Verifying Checksum 06:21:34 988bab9f4d93: Download complete 06:21:34 1469e6f7b9e6: Verifying Checksum 06:21:34 1469e6f7b9e6: Download complete 06:21:34 339a4e72a1f5: Verifying Checksum 06:21:34 339a4e72a1f5: Download complete 06:21:34 eaf3925da568: Download complete 06:21:35 bde34c3a00c8: Verifying Checksum 06:21:35 bde34c3a00c8: Download complete 06:21:35 b352a97aabf1: Download complete 06:21:35 4872d77fe225: Download complete 06:21:35 5851b861e8e6: Verifying Checksum 06:21:35 5851b861e8e6: Download complete 06:21:35 b85a868b505f: Verifying Checksum 06:21:35 b85a868b505f: Download complete 06:21:35 bab4dde63d76: Verifying Checksum 06:21:35 bab4dde63d76: Download complete 06:21:36 b85a868b505f: Pull complete 06:21:36 e2be974225ed: Pull complete 06:21:36 339a4e72a1f5: Pull complete 06:21:36 988bab9f4d93: Pull complete 06:21:37 1469e6f7b9e6: Pull complete 06:21:37 eaf3925da568: Pull complete 06:21:39 bab4dde63d76: Pull complete 06:21:39 bde34c3a00c8: Pull complete 06:21:39 b352a97aabf1: Pull complete 06:21:39 4872d77fe225: Pull complete 06:21:39 5851b861e8e6: Pull complete 06:21:39 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:21:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:21:39 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:21:39 prd-ubuntu20.04-docker-8c-8g-8399 does not seem to be running inside a container 06:21:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-284 -v /w/workspace/gexfoundry_device-snmp-go_PR-284:/w/workspace/gexfoundry_device-snmp-go_PR-284:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-284@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-284@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:21:42 $ docker top 5147533988a4e566e4b3174876859b01abb17c083522df6e11c5802f0539fb9e -eo pid,comm 06:21:42 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:21:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:21:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:21:42 [ssh-agent] Looking for ssh-agent implementation... 06:21:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:21:42 $ docker exec 5147533988a4e566e4b3174876859b01abb17c083522df6e11c5802f0539fb9e ssh-agent 06:21:42 SSH_AUTH_SOCK=/tmp/ssh-MIDOtAccwMW0/agent.32 06:21:42 SSH_AGENT_PID=38 06:21:42 Running ssh-add (command line suppressed) 06:21:42 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-284@tmp/private_key_8268181610580139210.key (/w/workspace/gexfoundry_device-snmp-go_PR-284@tmp/private_key_8268181610580139210.key) 06:21:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:21:43 + git tag --points-at HEAD [Pipeline] } 06:21:43 $ docker exec --env ******** --env ******** 5147533988a4e566e4b3174876859b01abb17c083522df6e11c5802f0539fb9e ssh-agent -k 06:21:43 unset SSH_AUTH_SOCK; 06:21:43 unset SSH_AGENT_PID; 06:21:43 echo Agent pid 38 killed; 06:21:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:21:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:21:43 [ssh-agent] Looking for ssh-agent implementation... 06:21:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:21:43 $ docker exec 5147533988a4e566e4b3174876859b01abb17c083522df6e11c5802f0539fb9e ssh-agent 06:21:43 SSH_AUTH_SOCK=/tmp/ssh-BP5Qt4JzcRJY/agent.70 06:21:43 SSH_AGENT_PID=76 06:21:43 Running ssh-add (command line suppressed) 06:21:43 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-284@tmp/private_key_17425495941096021896.key (/w/workspace/gexfoundry_device-snmp-go_PR-284@tmp/private_key_17425495941096021896.key) 06:21:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:21:44 + git semver init 06:21:44 2023-04-13 06:21:44,172 [run_init] DEBUG init version:0.0.0 force:False 06:21:44 2023-04-13 06:21:44,173 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-284/.semver 06:21:44 2023-04-13 06:21:44,173 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-284/.semver 06:21:44 2023-04-13 06:21:44,173 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-284/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-284, universal_newlines=False, shell=None, istream=None) 06:21:45 2023-04-13 06:21:44,939 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-284/.git/info/exclude 06:21:45 2023-04-13 06:21:44,939 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-284/.semver/PR-284 with force:False 06:21:45 2023-04-13 06:21:44,939 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-284/.semver/PR-284 06:21:45 2023-04-13 06:21:44,943 [execute] INFO git cat-file --batch-check 06:21:45 2023-04-13 06:21:44,944 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-284/.semver, universal_newlines=False, shell=None, istream=) 06:21:45 2023-04-13 06:21:44,950 [execute] INFO git cat-file --batch 06:21:45 2023-04-13 06:21:44,951 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-284/.semver, universal_newlines=False, shell=None, istream=) 06:21:45 2023-04-13 06:21:44,956 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-284/.semver/PR-284 06:21:45 0.0.0 [Pipeline] } 06:21:45 $ docker exec --env ******** --env ******** 5147533988a4e566e4b3174876859b01abb17c083522df6e11c5802f0539fb9e ssh-agent -k 06:21:45 unset SSH_AUTH_SOCK; 06:21:45 unset SSH_AGENT_PID; 06:21:45 echo Agent pid 76 killed; 06:21:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:21:45 + git semver [Pipeline] } 06:21:45 $ docker stop --time=1 5147533988a4e566e4b3174876859b01abb17c083522df6e11c5802f0539fb9e 06:21:47 $ docker rm -f --volumes 5147533988a4e566e4b3174876859b01abb17c083522df6e11c5802f0539fb9e [Pipeline] // withDockerContainer [Pipeline] sh 06:21:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:21:47 Stashed 1 file(s) [Pipeline] echo 06:21:47 [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:21:47 provisioning config files... 06:21:47 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-284@tmp/config8275400772984206543tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:21:48 ---> docker-login.sh 06:21:48 nexus3.edgexfoundry.org:10001 06:21:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:21:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:21:48 Configure a credential helper to remove this warning. See 06:21:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:21:48 06:21:48 Login Succeeded 06:21:48 nexus3.edgexfoundry.org:10002 06:21:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:21:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:21:48 Configure a credential helper to remove this warning. See 06:21:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:21:48 06:21:48 Login Succeeded 06:21:48 nexus3.edgexfoundry.org:10003 06:21:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:21:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:21:48 Configure a credential helper to remove this warning. See 06:21:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:21:48 06:21:48 Login Succeeded 06:21:48 nexus3.edgexfoundry.org:10004 06:21:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:21:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:21:48 Configure a credential helper to remove this warning. See 06:21:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:21:48 06:21:48 Login Succeeded 06:21:48 docker.io 06:21:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:21:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:21:48 Configure a credential helper to remove this warning. See 06:21:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:21:48 06:21:48 Login Succeeded 06:21:48 ---> docker-login.sh ends [Pipeline] } 06:21:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:21:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:21:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:21:48 ========================================================= 06:21:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 06:21:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:49 + 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:21:49 Sending build context to Docker daemon 5.786MB 06:21:49 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 06:21:49 Step 2/12 : FROM ${BASE} AS builder 06:21:49 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 06:21:49 63b65145d645: Pulling fs layer 06:21:49 a2d21d5440eb: Pulling fs layer 06:21:49 935e6c44a52c: Pulling fs layer 06:21:49 94cc34f8dd06: Pulling fs layer 06:21:49 30dea6a524f1: Pulling fs layer 06:21:49 a2aff8979fd8: Pulling fs layer 06:21:49 6808be2612f2: Pulling fs layer 06:21:49 f25807f1079a: Pulling fs layer 06:21:49 a2aff8979fd8: Waiting 06:21:49 6808be2612f2: Waiting 06:21:49 94cc34f8dd06: Waiting 06:21:49 f25807f1079a: Waiting 06:21:49 a2d21d5440eb: Download complete 06:21:49 94cc34f8dd06: Download complete 06:21:49 30dea6a524f1: Verifying Checksum 06:21:49 30dea6a524f1: Download complete 06:21:49 63b65145d645: Verifying Checksum 06:21:49 63b65145d645: Download complete 06:21:49 a2aff8979fd8: Download complete 06:21:49 63b65145d645: Pull complete 06:21:49 a2d21d5440eb: Pull complete 06:21:49 f25807f1079a: Verifying Checksum 06:21:49 f25807f1079a: Download complete 06:21:49 935e6c44a52c: Download complete 06:21:50 6808be2612f2: Verifying Checksum 06:21:50 6808be2612f2: Download complete 06:21:53 935e6c44a52c: Pull complete 06:21:53 94cc34f8dd06: Pull complete 06:21:53 30dea6a524f1: Pull complete 06:21:53 a2aff8979fd8: Pull complete 06:21:55 6808be2612f2: Pull complete 06:21:55 f25807f1079a: Pull complete 06:21:55 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 06:21:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 06:21:55 ---> 3b553350e43f 06:21:55 Step 3/12 : ARG ADD_BUILD_TAGS="" 06:22:01 ---> Running in a4f33005db8c 06:22:01 Removing intermediate container a4f33005db8c 06:22:01 ---> 9da77621c6b5 06:22:01 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:22:01 ---> Running in 3d1d2ad0d670 06:22:01 Removing intermediate container 3d1d2ad0d670 06:22:01 ---> 2c3da1785d9e 06:22:01 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:22:01 ---> Running in 02025acc292b 06:22:01 Removing intermediate container 02025acc292b 06:22:01 ---> 3c2550125568 06:22:01 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 06:22:01 ---> Running in da76d15c2097 06:22:01 Removing intermediate container da76d15c2097 06:22:01 ---> 7d7d3d3e42b3 06:22:01 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:22:01 ---> Running in f36d0ea682bd 06:22:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:22:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:22:01 (1/4) Installing openssh-keygen (9.1_p1-r2) 06:22:01 (2/4) Installing libedit (20221030.3.1-r0) 06:22:01 (3/4) Installing openssh-client-common (9.1_p1-r2) 06:22:01 (4/4) Installing openssh-client-default (9.1_p1-r2) 06:22:01 Executing busybox-1.35.0-r29.trigger 06:22:01 OK: 269 MiB in 57 packages 06:22:02 Removing intermediate container f36d0ea682bd 06:22:02 ---> ebfd7aca09a1 06:22:02 Step 8/12 : WORKDIR /device-snmp-go 06:22:02 ---> Running in 991b4abad57c 06:22:02 Removing intermediate container 991b4abad57c 06:22:02 ---> 17e608a1162f 06:22:02 Step 9/12 : COPY go.mod vendor* ./ 06:22:02 ---> c3ad625d444c 06:22:02 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:22:02 ---> Running in ac0b1dfeca3e 06:22:02 Still waiting to schedule task 06:22:02 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 06:22:29 Removing intermediate container ac0b1dfeca3e 06:22:29 ---> 463eea24eedb 06:22:29 Step 11/12 : COPY . . 06:22:29 ---> e83519421fe8 06:22:29 Step 12/12 : RUN ${MAKE} 06:22:29 ---> Running in dd9a851b5192 06:22:29 noop 06:22:29 Removing intermediate container dd9a851b5192 06:22:29 ---> 0d9b160f8d5a 06:22:29 Successfully built 0d9b160f8d5a 06:22:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:22:29 + docker inspect -f . ci-base-image-x86_64 06:22:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:22:29 prd-ubuntu20.04-docker-8c-8g-8399 does not seem to be running inside a container 06:22:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-284 -v /w/workspace/gexfoundry_device-snmp-go_PR-284:/w/workspace/gexfoundry_device-snmp-go_PR-284:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-284@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-284@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:22:29 $ docker top 7d22dac735d377c01da0b32305089829f026ad6f79062587cb9a8b26ddb940fe -eo pid,comm [Pipeline] { [Pipeline] sh 06:22:30 + go version 06:22:30 go version go1.20.2 linux/amd64 [Pipeline] } 06:22:30 $ docker stop --time=1 7d22dac735d377c01da0b32305089829f026ad6f79062587cb9a8b26ddb940fe 06:22:31 $ docker rm -f --volumes 7d22dac735d377c01da0b32305089829f026ad6f79062587cb9a8b26ddb940fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:22:31 + docker inspect -f . ci-base-image-x86_64 06:22:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:22:31 prd-ubuntu20.04-docker-8c-8g-8399 does not seem to be running inside a container 06:22:31 $ 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-284 -v /w/workspace/gexfoundry_device-snmp-go_PR-284:/w/workspace/gexfoundry_device-snmp-go_PR-284:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-284@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-284@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:22:32 $ docker top 7145760e8fb8b175d890ec85cf53cf5a30b53551b6696b7d0699183d790ca74e -eo pid,comm [Pipeline] { [Pipeline] sh 06:22:32 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-284 [Pipeline] fileExists [Pipeline] sh 06:22:32 + make test 06:22:32 go test ./... -coverprofile=coverage.out 06:22:37 ? github.com/edgexfoundry/device-snmp-go [no test files] 06:22:47 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 06:22:47 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.009s coverage: 0.0% of statements 06:22:51 go vet ./... 06:22:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:22:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:22:54 ./bin/test-attribution-txt.sh 06:22:54 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 06:22:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:22:54 $ docker stop --time=1 7145760e8fb8b175d890ec85cf53cf5a30b53551b6696b7d0699183d790ca74e 06:22:57 $ docker rm -f --volumes 7145760e8fb8b175d890ec85cf53cf5a30b53551b6696b7d0699183d790ca74e [Pipeline] // withDockerContainer [Pipeline] sh 06:22:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:22:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:22:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:22:58 + ls -al . 06:22:58 total 172 06:22:58 drwxrwxr-x 9 jenkins jenkins 4096 Apr 13 06:22 . 06:22:58 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 06:21 .. 06:22:58 -rw-rw-r-- 1 jenkins jenkins 6 Apr 13 06:21 .dockerignore 06:22:58 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 06:21 .git 06:22:58 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 06:21 .github 06:22:58 -rw-rw-r-- 1 jenkins jenkins 328 Apr 13 06:21 .gitignore 06:22:58 -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 06:21 .golangci.yml 06:22:58 drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 06:21 .semver 06:22:58 -rw-rw-r-- 1 jenkins jenkins 8926 Apr 13 06:21 Attribution.txt 06:22:58 -rw-rw-r-- 1 jenkins jenkins 8355 Apr 13 06:21 CHANGELOG.md 06:22:58 -rw-rw-r-- 1 jenkins jenkins 1423 Apr 13 06:21 Dockerfile 06:22:58 -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 06:21 GOVERNANCE.md 06:22:58 -rw-rw-r-- 1 jenkins jenkins 656 Apr 13 06:21 Jenkinsfile 06:22:58 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 06:21 LICENSE 06:22:58 -rw-rw-r-- 1 jenkins jenkins 2114 Apr 13 06:21 Makefile 06:22:58 -rw-rw-r-- 1 jenkins jenkins 620 Apr 13 06:21 OWNERS.md 06:22:58 -rw-rw-r-- 1 jenkins jenkins 10054 Apr 13 06:21 README.md 06:22:58 -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 06:21 VERSION 06:22:58 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 06:21 bin 06:22:58 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 06:21 cmd 06:22:58 -rw-r--r-- 1 jenkins jenkins 8751 Apr 13 06:22 coverage.out 06:22:58 -rw-rw-r-- 1 jenkins jenkins 3283 Apr 13 06:21 go.mod 06:22:58 -rw-rw-r-- 1 jenkins jenkins 31551 Apr 13 06:21 go.sum 06:22:58 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 06:21 internal 06:22:58 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 06:21 snap 06:22:58 -rw-rw-r-- 1 jenkins jenkins 228 Apr 13 06:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:22:58 + 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=6780626918d56b561ff4ae98266f2ed4d4c053fc --label arch=amd64 --label version=0.0.0 . 06:22:58 Sending build context to Docker daemon 5.796MB 06:22:58 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 06:22:58 Step 2/24 : FROM ${BASE} AS builder 06:22:58 ---> 0d9b160f8d5a 06:22:58 Step 3/24 : ARG ADD_BUILD_TAGS="" 06:22:58 ---> Running in b56461e22035 06:22:58 Removing intermediate container b56461e22035 06:22:58 ---> ecd4013e3e9c 06:22:58 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:22:58 ---> Running in 86273e35ce87 06:22:58 Removing intermediate container 86273e35ce87 06:22:58 ---> 1e902885b6bc 06:22:58 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:22:58 ---> Running in 8143cf7a0afe 06:22:58 Removing intermediate container 8143cf7a0afe 06:22:58 ---> 4db7544f34e2 06:22:58 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 06:22:59 ---> Running in f9bebd972193 06:22:59 Removing intermediate container f9bebd972193 06:22:59 ---> 67adb14cc50f 06:22:59 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:22:59 ---> Running in 0b1cfd13c7ab 06:22:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:22:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:22:59 OK: 269 MiB in 57 packages 06:22:59 Removing intermediate container 0b1cfd13c7ab 06:22:59 ---> ec625b4276c2 06:22:59 Step 8/24 : WORKDIR /device-snmp-go 06:22:59 ---> Running in 8f51701dea9b 06:22:59 Removing intermediate container 8f51701dea9b 06:22:59 ---> 554119bc04ee 06:22:59 Step 9/24 : COPY go.mod vendor* ./ 06:23:00 ---> e86ed85bbe29 06:23:00 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:23:00 ---> Running in 829c76a2f9b0 06:23:00 Removing intermediate container 829c76a2f9b0 06:23:00 ---> cc3439dddd52 06:23:00 Step 11/24 : COPY . . 06:23:01 ---> 08b7c373b95d 06:23:01 Step 12/24 : RUN ${MAKE} 06:23:01 ---> Running in 749af71883c1 06:23:01 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:23:19 Removing intermediate container 749af71883c1 06:23:19 ---> c69a7d896e27 06:23:19 Step 13/24 : FROM alpine:3.17 06:23:19 3.17: Pulling from library/alpine 06:23:19 f56be85fc22e: Pulling fs layer 06:23:19 f56be85fc22e: Verifying Checksum 06:23:19 f56be85fc22e: Download complete 06:23:19 f56be85fc22e: Pull complete 06:23:19 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:23:19 Status: Downloaded newer image for alpine:3.17 06:23:19 ---> 9ed4aefc74f6 06:23:19 Step 14/24 : RUN apk add --update --no-cache dumb-init 06:23:19 ---> Running in 51198fb0b847 06:23:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:23:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:23:19 (1/1) Installing dumb-init (1.2.5-r2) 06:23:19 Executing busybox-1.35.0-r29.trigger 06:23:19 OK: 7 MiB in 16 packages 06:23:20 Removing intermediate container 51198fb0b847 06:23:20 ---> ef2dc78c44b0 06:23:20 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 06:23:21 ---> f40df4a621f9 06:23:21 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 06:23:21 ---> 3ab5d263d9b5 06:23:21 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 06:23:21 ---> 0953b529db76 06:23:21 Step 18/24 : EXPOSE 59993 06:23:21 ---> Running in 35444b6d0793 06:23:21 Removing intermediate container 35444b6d0793 06:23:21 ---> 80bec35c6200 06:23:21 Step 19/24 : EXPOSE 161 06:23:21 ---> Running in a9cea014c848 06:23:21 Removing intermediate container a9cea014c848 06:23:21 ---> 832e741eb500 06:23:21 Step 20/24 : ENTRYPOINT ["/device-snmp"] 06:23:21 ---> Running in 7e617bc2589b 06:23:21 Removing intermediate container 7e617bc2589b 06:23:21 ---> 1a18c1eed62c 06:23:21 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 06:23:21 ---> Running in eb9a160cc415 06:23:21 Removing intermediate container eb9a160cc415 06:23:21 ---> cde340dcd7ec 06:23:21 Step 22/24 : LABEL arch=amd64 06:23:21 ---> Running in a47510d84d5d 06:23:21 Removing intermediate container a47510d84d5d 06:23:21 ---> dcb001b17653 06:23:21 Step 23/24 : LABEL git_sha=6780626918d56b561ff4ae98266f2ed4d4c053fc 06:23:21 ---> Running in ecf7248b0a24 06:23:21 Removing intermediate container ecf7248b0a24 06:23:21 ---> c70f85273b99 06:23:21 Step 24/24 : LABEL version=0.0.0 06:23:21 ---> Running in c9a9067c230e 06:23:21 Removing intermediate container c9a9067c230e 06:23:21 ---> 645b3a02a7f5 06:23:21 [Warning] One or more build-args [ARCH] were not consumed 06:23:21 Successfully built 645b3a02a7f5 06:23:21 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:23:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:23:22 06:23:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:23:22 latest: Pulling from edgex-lftools-log-publisher 06:23:22 5eb5b503b376: Pulling fs layer 06:23:22 5c69ac0246d0: Pulling fs layer 06:23:22 ec43610c2a17: Pulling fs layer 06:23:22 3a2ae6a8a46f: Pulling fs layer 06:23:22 33b1e0a273af: Pulling fs layer 06:23:22 5d3b04190fa2: Pulling fs layer 06:23:22 2f39f015ded8: Pulling fs layer 06:23:22 3a2ae6a8a46f: Waiting 06:23:22 33b1e0a273af: Waiting 06:23:22 5d3b04190fa2: Waiting 06:23:22 2f39f015ded8: Waiting 06:23:22 5c69ac0246d0: Verifying Checksum 06:23:22 5c69ac0246d0: Download complete 06:23:22 3a2ae6a8a46f: Verifying Checksum 06:23:22 3a2ae6a8a46f: Download complete 06:23:22 33b1e0a273af: Verifying Checksum 06:23:22 33b1e0a273af: Download complete 06:23:22 5d3b04190fa2: Verifying Checksum 06:23:22 5d3b04190fa2: Download complete 06:23:22 ec43610c2a17: Verifying Checksum 06:23:22 ec43610c2a17: Download complete 06:23:22 5eb5b503b376: Verifying Checksum 06:23:22 5eb5b503b376: Download complete 06:23:23 2f39f015ded8: Download complete 06:23:23 5eb5b503b376: Pull complete 06:23:24 5c69ac0246d0: Pull complete 06:23:24 ec43610c2a17: Pull complete 06:23:24 3a2ae6a8a46f: Pull complete 06:23:25 33b1e0a273af: Pull complete 06:23:25 5d3b04190fa2: Pull complete 06:23:29 2f39f015ded8: Pull complete 06:23:29 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:23:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:23:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:23:29 prd-ubuntu20.04-docker-8c-8g-8399 does not seem to be running inside a container 06:23:29 $ 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-284 -v /w/workspace/gexfoundry_device-snmp-go_PR-284:/w/workspace/gexfoundry_device-snmp-go_PR-284:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-284@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-284@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:23:32 $ docker top 82775f155e14b15c338da6b039ee58720ed423ee6beaed08d1d5d4efe6384df0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:23:32 ---> job-cost.sh 06:23:32 lf-activate-venv: SKIPPING 06:23:32 INFO: No Stack... 06:23:32 INFO: Retrieving Pricing Info for: v3-standard-8 06:23:33 INFO: Archiving Costs [Pipeline] sh 06:23:33 + cat /w/workspace/gexfoundry_device-snmp-go_PR-284/archives/cost.csv 06:23:33 + cut -d, -f6 [Pipeline] lock 06:23:33 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-284-2-stack-cost] 06:23:33 Resource [jenkins-edgexfoundry-device-snmp-go-PR-284-2-stack-cost] did not exist. Created. 06:23:33 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-284-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:23:34 + echo total: 0.2199999988079071 [Pipeline] stash 06:23:34 Stashed 1 file(s) [Pipeline] } 06:23:34 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-284-2-stack-cost] [Pipeline] // lock [Pipeline] } 06:23:34 $ docker stop --time=1 82775f155e14b15c338da6b039ee58720ed423ee6beaed08d1d5d4efe6384df0 06:23:35 $ docker rm -f --volumes 82775f155e14b15c338da6b039ee58720ed423ee6beaed08d1d5d4efe6384df0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:24:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8401 in /w/workspace/gexfoundry_device-snmp-go_PR-284 [Pipeline] { [Pipeline] ws 06:24:49 Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout 06:24:49 Selected Git installation does not exist. Using Default 06:24:49 The recommended git tool is: NONE 06:25:00 using credential edgex-jenkins-ssh 06:25:00 Cloning the remote Git repository 06:25:00 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 06:25:01 > git init /w/workspace/device-snmp-go/2 # timeout=10 06:25:01 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 06:25:01 > git --version # timeout=10 06:25:01 > git --version # 'git version 2.25.1' 06:25:01 using GIT_SSH to set credentials SSH Credentials for GitHub 06:25:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:25:03 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 06:25:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:25:04 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 06:25:04 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 06:25:04 using GIT_SSH to set credentials SSH Credentials for GitHub 06:25:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/284/head:refs/remotes/origin/PR-284 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:25:05 Merging remotes/origin/main commit e525481a5759a3c7c2210679b705fbdd3017b839 into PR head commit 6780626918d56b561ff4ae98266f2ed4d4c053fc 06:25:06 Merge succeeded, producing 6780626918d56b561ff4ae98266f2ed4d4c053fc 06:25:06 Checking out Revision 6780626918d56b561ff4ae98266f2ed4d4c053fc (PR-284) 06:25:05 > git config core.sparsecheckout # timeout=10 06:25:05 > git checkout -f 6780626918d56b561ff4ae98266f2ed4d4c053fc # timeout=10 06:25:05 > git remote # timeout=10 06:25:06 > git config --get remote.origin.url # timeout=10 06:25:06 using GIT_SSH to set credentials SSH Credentials for GitHub 06:25:06 > git merge e525481a5759a3c7c2210679b705fbdd3017b839 # timeout=10 06:25:06 > git rev-parse HEAD^{commit} # timeout=10 06:25:06 > git config core.sparsecheckout # timeout=10 06:25:06 > git checkout -f 6780626918d56b561ff4ae98266f2ed4d4c053fc # timeout=10 06:25:10 Commit message: "feat!: Consume SDK interface changes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:25:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:25:11 % Total % Received % Xferd Average Speed Time Time Time Current 06:25:11 Dload Upload Total Spent Left Speed 06:25:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 81216 0 --:--:-- --:--:-- --:--:-- 81216 [Pipeline] sh 06:25:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:25:12 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:25:12 + sudo tee /etc/docker/daemon.new 06:25:12 { 06:25:12 "registry-mirrors": [ 06:25:12 "https://nexus3.edgexfoundry.org:10001" 06:25:12 ], 06:25:12 "bip": "10.250.0.254/24", 06:25:12 "hosts": [ 06:25:12 "tcp://0.0.0.0:5555", 06:25:12 "unix:///var/run/docker.sock" 06:25:12 ], 06:25:12 "mtu": 1458, 06:25:12 "selinux-enabled": true, 06:25:12 "seccomp-profile": "/etc/docker/seccomp.json" 06:25:12 } [Pipeline] sh 06:25:12 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:25:13 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:25:31 provisioning config files... 06:25:31 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config11952778187022638649tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:25:31 ---> docker-login.sh 06:25:31 nexus3.edgexfoundry.org:10001 06:25:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:25:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:25:32 Configure a credential helper to remove this warning. See 06:25:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:25:32 06:25:32 Login Succeeded 06:25:32 nexus3.edgexfoundry.org:10002 06:25:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:25:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:25:32 Configure a credential helper to remove this warning. See 06:25:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:25:32 06:25:32 Login Succeeded 06:25:32 nexus3.edgexfoundry.org:10003 06:25:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:25:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:25:33 Configure a credential helper to remove this warning. See 06:25:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:25:33 06:25:33 Login Succeeded 06:25:33 nexus3.edgexfoundry.org:10004 06:25:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:25:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:25:33 Configure a credential helper to remove this warning. See 06:25:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:25:33 06:25:33 Login Succeeded 06:25:33 docker.io 06:25:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:25:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:25:34 Configure a credential helper to remove this warning. See 06:25:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:25:34 06:25:34 Login Succeeded 06:25:34 ---> docker-login.sh ends [Pipeline] } 06:25:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:25:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:25:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:25:34 ========================================================= 06:25:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 06:25:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:25:34 + 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:25:35 Sending build context to Docker daemon 3.007MB 06:25:35 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 06:25:35 Step 2/12 : FROM ${BASE} AS builder 06:25:35 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:25:35 af6eaf76a39c: Pulling fs layer 06:25:35 55522c791124: Pulling fs layer 06:25:35 ce5c4a1c91eb: Pulling fs layer 06:25:35 169dfbe0d373: Pulling fs layer 06:25:35 e1ff8fa3b103: Pulling fs layer 06:25:35 52ebb69f0ebf: Pulling fs layer 06:25:35 5abe8eddf0d5: Pulling fs layer 06:25:35 169dfbe0d373: Waiting 06:25:35 e1ff8fa3b103: Waiting 06:25:35 52ebb69f0ebf: Waiting 06:25:35 5abe8eddf0d5: Waiting 06:25:35 55522c791124: Verifying Checksum 06:25:35 55522c791124: Download complete 06:25:35 169dfbe0d373: Verifying Checksum 06:25:35 169dfbe0d373: Download complete 06:25:35 e1ff8fa3b103: Verifying Checksum 06:25:35 e1ff8fa3b103: Download complete 06:25:35 af6eaf76a39c: Verifying Checksum 06:25:35 af6eaf76a39c: Download complete 06:25:36 af6eaf76a39c: Pull complete 06:25:36 5abe8eddf0d5: Verifying Checksum 06:25:36 5abe8eddf0d5: Download complete 06:25:37 55522c791124: Pull complete 06:25:38 ce5c4a1c91eb: Verifying Checksum 06:25:38 ce5c4a1c91eb: Download complete 06:25:38 52ebb69f0ebf: Verifying Checksum 06:25:38 52ebb69f0ebf: Download complete 06:25:50 ce5c4a1c91eb: Pull complete 06:25:50 169dfbe0d373: Pull complete 06:25:50 e1ff8fa3b103: Pull complete 06:25:56 52ebb69f0ebf: Pull complete 06:25:58 5abe8eddf0d5: Pull complete 06:25:58 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 06:25:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 06:25:58 ---> 6cb57ee374ae 06:25:58 Step 3/12 : ARG ADD_BUILD_TAGS="" 06:26:00 ---> Running in 47334301626f 06:26:00 Removing intermediate container 47334301626f 06:26:00 ---> 88989364dabf 06:26:00 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:26:00 ---> Running in b2bf25dd03f0 06:26:01 Removing intermediate container b2bf25dd03f0 06:26:01 ---> 3f6042daf2c9 06:26:01 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:26:01 ---> Running in df7a68a08d76 06:26:01 Removing intermediate container df7a68a08d76 06:26:01 ---> d5363d58ce5c 06:26:01 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 06:26:01 ---> Running in a44f1adf7a37 06:26:01 Removing intermediate container a44f1adf7a37 06:26:01 ---> 5bd861daf74e 06:26:01 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:26:02 ---> Running in 8aa1460f9477 06:26:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:26:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:26:05 (1/4) Installing openssh-keygen (9.1_p1-r2) 06:26:05 (2/4) Installing libedit (20221030.3.1-r0) 06:26:05 (3/4) Installing openssh-client-common (9.1_p1-r2) 06:26:05 (4/4) Installing openssh-client-default (9.1_p1-r2) 06:26:05 Executing busybox-1.35.0-r29.trigger 06:26:05 OK: 268 MiB in 57 packages 06:26:06 Removing intermediate container 8aa1460f9477 06:26:06 ---> f9143c6e0e43 06:26:06 Step 8/12 : WORKDIR /device-snmp-go 06:26:06 ---> Running in c26fc11c6098 06:26:06 Removing intermediate container c26fc11c6098 06:26:06 ---> 6dd3b66281ab 06:26:06 Step 9/12 : COPY go.mod vendor* ./ 06:26:07 ---> 2f986ec427a4 06:26:07 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:26:07 ---> Running in ed409c1be8dc 06:27:15 Removing intermediate container ed409c1be8dc 06:27:15 ---> e1af1d2cc88a 06:27:15 Step 11/12 : COPY . . 06:27:15 ---> 1c45d47adc0a 06:27:15 Step 12/12 : RUN ${MAKE} 06:27:15 ---> Running in 519c09bbe759 06:27:16 noop 06:27:16 Removing intermediate container 519c09bbe759 06:27:16 ---> befe51290200 06:27:16 Successfully built befe51290200 06:27:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:27:17 + docker inspect -f . ci-base-image-arm64 06:27:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:27:17 prd-ubuntu20.04-docker-arm64-4c-16g-8401 does not seem to be running inside a container 06:27:17 $ 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:27:18 $ docker top f63181a28a69f87f7300bb35eb97ce9786c48554d15ca516e770669152a5d164 -eo pid,comm [Pipeline] { [Pipeline] sh 06:27:19 + go version 06:27:19 go version go1.20.2 linux/arm64 [Pipeline] } 06:27:19 $ docker stop --time=1 f63181a28a69f87f7300bb35eb97ce9786c48554d15ca516e770669152a5d164 06:27:21 $ docker rm -f --volumes f63181a28a69f87f7300bb35eb97ce9786c48554d15ca516e770669152a5d164 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:27:21 + docker inspect -f . ci-base-image-arm64 06:27:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:27:21 prd-ubuntu20.04-docker-arm64-4c-16g-8401 does not seem to be running inside a container 06:27:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/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:27:23 $ docker top fb84b3ae894e05c0c83834ac8fc600b29e2e7edda2ed8c8db72533c10ed32b20 -eo pid,comm [Pipeline] { [Pipeline] sh 06:27:24 + git config --global --add safe.directory /w/workspace/device-snmp-go/2 [Pipeline] fileExists [Pipeline] sh 06:27:24 + make test 06:27:24 go test ./... -coverprofile=coverage.out 06:28:03 ? github.com/edgexfoundry/device-snmp-go [no test files] 06:29:55 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 06:29:55 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.047s coverage: 0.0% of statements 06:29:55 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:29:55 go vet ./... 06:30:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:30:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:30:13 ./bin/test-attribution-txt.sh 06:30:13 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 06:30:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:30:13 $ docker stop --time=1 fb84b3ae894e05c0c83834ac8fc600b29e2e7edda2ed8c8db72533c10ed32b20 06:30:15 $ docker rm -f --volumes fb84b3ae894e05c0c83834ac8fc600b29e2e7edda2ed8c8db72533c10ed32b20 [Pipeline] // withDockerContainer [Pipeline] sh 06:30:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:30:16 Warning: overwriting stash ‘coverage-report’ 06:30:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:30:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:30:18 + ls -al . 06:30:18 total 168 06:30:18 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 06:27 . 06:30:18 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 06:25 .. 06:30:18 -rw-rw-r-- 1 jenkins jenkins 6 Apr 13 06:25 .dockerignore 06:30:18 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 06:25 .git 06:30:18 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 06:25 .github 06:30:18 -rw-rw-r-- 1 jenkins jenkins 328 Apr 13 06:25 .gitignore 06:30:18 -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 06:25 .golangci.yml 06:30:18 -rw-rw-r-- 1 jenkins jenkins 8926 Apr 13 06:25 Attribution.txt 06:30:18 -rw-rw-r-- 1 jenkins jenkins 8355 Apr 13 06:25 CHANGELOG.md 06:30:18 -rw-rw-r-- 1 jenkins jenkins 1423 Apr 13 06:25 Dockerfile 06:30:18 -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 06:25 GOVERNANCE.md 06:30:18 -rw-rw-r-- 1 jenkins jenkins 656 Apr 13 06:25 Jenkinsfile 06:30:18 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 06:25 LICENSE 06:30:18 -rw-rw-r-- 1 jenkins jenkins 2114 Apr 13 06:25 Makefile 06:30:18 -rw-rw-r-- 1 jenkins jenkins 620 Apr 13 06:25 OWNERS.md 06:30:18 -rw-rw-r-- 1 jenkins jenkins 10054 Apr 13 06:25 README.md 06:30:18 -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 06:21 VERSION 06:30:18 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 06:25 bin 06:30:18 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 06:25 cmd 06:30:18 -rw-r--r-- 1 jenkins jenkins 8751 Apr 13 06:29 coverage.out 06:30:18 -rw-rw-r-- 1 jenkins jenkins 3283 Apr 13 06:25 go.mod 06:30:18 -rw-rw-r-- 1 jenkins jenkins 31551 Apr 13 06:25 go.sum 06:30:18 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 06:25 internal 06:30:18 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 06:25 snap 06:30:18 -rw-rw-r-- 1 jenkins jenkins 228 Apr 13 06:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:30:18 + 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=6780626918d56b561ff4ae98266f2ed4d4c053fc --label arch=arm64 --label version=0.0.0 . 06:30:18 Sending build context to Docker daemon 3.017MB 06:30:18 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 06:30:18 Step 2/24 : FROM ${BASE} AS builder 06:30:18 ---> befe51290200 06:30:18 Step 3/24 : ARG ADD_BUILD_TAGS="" 06:30:18 ---> Running in cb442f653040 06:30:19 Removing intermediate container cb442f653040 06:30:19 ---> 3012539af823 06:30:19 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:30:19 ---> Running in 0496229f8927 06:30:19 Removing intermediate container 0496229f8927 06:30:19 ---> 16fa6877162e 06:30:19 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:30:19 ---> Running in c55a79068f42 06:30:20 Removing intermediate container c55a79068f42 06:30:20 ---> 75bf76f8526b 06:30:20 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 06:30:20 ---> Running in 2064f84c1324 06:30:20 Removing intermediate container 2064f84c1324 06:30:20 ---> 5e2f34405140 06:30:20 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:30:20 ---> Running in 99af5b409f7d 06:30:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:30:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:30:23 OK: 268 MiB in 57 packages 06:30:23 Removing intermediate container 99af5b409f7d 06:30:23 ---> bf1573eec3fb 06:30:23 Step 8/24 : WORKDIR /device-snmp-go 06:30:23 ---> Running in ca1ffaa21690 06:30:24 Removing intermediate container ca1ffaa21690 06:30:24 ---> b079fa4d38a9 06:30:24 Step 9/24 : COPY go.mod vendor* ./ 06:30:24 ---> c7cac0f98f5c 06:30:24 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:30:25 ---> Running in 804932fc5e4b 06:30:27 Removing intermediate container 804932fc5e4b 06:30:27 ---> fbce9f265ee6 06:30:27 Step 11/24 : COPY . . 06:30:28 ---> 798322a6b154 06:30:28 Step 12/24 : RUN ${MAKE} 06:30:28 ---> Running in 1578b5b97ea9 06:30:29 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:32:51 Removing intermediate container 1578b5b97ea9 06:32:51 ---> d1bb35ae30ba 06:32:51 Step 13/24 : FROM alpine:3.17 06:32:51 3.17: Pulling from library/alpine 06:32:51 c41833b44d91: Pulling fs layer 06:32:51 c41833b44d91: Verifying Checksum 06:32:51 c41833b44d91: Download complete 06:32:51 c41833b44d91: Pull complete 06:32:51 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:32:51 Status: Downloaded newer image for alpine:3.17 06:32:51 ---> 51e60588ff2c 06:32:51 Step 14/24 : RUN apk add --update --no-cache dumb-init 06:32:51 ---> Running in dabc5a777111 06:32:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:32:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:32:51 (1/1) Installing dumb-init (1.2.5-r2) 06:32:51 Executing busybox-1.35.0-r29.trigger 06:32:51 OK: 8 MiB in 16 packages 06:32:51 Removing intermediate container dabc5a777111 06:32:51 ---> 1390318da86d 06:32:51 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 06:32:51 ---> 98255187fcd1 06:32:51 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 06:32:51 ---> 1b0b1e46f99a 06:32:51 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 06:32:51 ---> 2fa0af951803 06:32:51 Step 18/24 : EXPOSE 59993 06:32:51 ---> Running in c99f82c3cec4 06:32:51 Removing intermediate container c99f82c3cec4 06:32:51 ---> d1de4dcd2235 06:32:51 Step 19/24 : EXPOSE 161 06:32:51 ---> Running in 7ca06d4f69a3 06:32:51 Removing intermediate container 7ca06d4f69a3 06:32:51 ---> 21f31947e372 06:32:51 Step 20/24 : ENTRYPOINT ["/device-snmp"] 06:32:51 ---> Running in f976ac0e01ba 06:32:52 Removing intermediate container f976ac0e01ba 06:32:52 ---> c6251f835a44 06:32:52 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 06:32:52 ---> Running in 879cf8022969 06:32:52 Removing intermediate container 879cf8022969 06:32:52 ---> 245538d11c0e 06:32:52 Step 22/24 : LABEL arch=arm64 06:32:52 ---> Running in 298a9ef523ef 06:32:53 Removing intermediate container 298a9ef523ef 06:32:53 ---> f9a04b5252dc 06:32:53 Step 23/24 : LABEL git_sha=6780626918d56b561ff4ae98266f2ed4d4c053fc 06:32:53 ---> Running in b4bee1012a35 06:32:53 Removing intermediate container b4bee1012a35 06:32:53 ---> e7f49c816db4 06:32:53 Step 24/24 : LABEL version=0.0.0 06:32:53 ---> Running in d12850d4c141 06:32:53 Removing intermediate container d12850d4c141 06:32:53 ---> af3705c512f3 06:32:53 [Warning] One or more build-args [ARCH] were not consumed 06:32:53 Successfully built af3705c512f3 06:32:53 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:32:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:32:54 06:32:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:32:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:32:54 arm64: Pulling from edgex-lftools-log-publisher 06:32:54 8998bd30e6a1: Pulling fs layer 06:32:54 04944245beec: Pulling fs layer 06:32:54 699f458cf7ca: Pulling fs layer 06:32:54 765212b225bb: Pulling fs layer 06:32:54 f23df028b6ca: Pulling fs layer 06:32:54 d65c8cfc05b1: Pulling fs layer 06:32:54 2437ff75d9bd: Pulling fs layer 06:32:54 f23df028b6ca: Waiting 06:32:54 d65c8cfc05b1: Waiting 06:32:54 2437ff75d9bd: Waiting 06:32:54 765212b225bb: Waiting 06:32:54 04944245beec: Verifying Checksum 06:32:54 04944245beec: Download complete 06:32:54 765212b225bb: Verifying Checksum 06:32:54 765212b225bb: Download complete 06:32:54 f23df028b6ca: Download complete 06:32:54 d65c8cfc05b1: Verifying Checksum 06:32:54 d65c8cfc05b1: Download complete 06:32:54 699f458cf7ca: Verifying Checksum 06:32:54 699f458cf7ca: Download complete 06:32:55 8998bd30e6a1: Verifying Checksum 06:32:55 8998bd30e6a1: Download complete 06:32:57 2437ff75d9bd: Verifying Checksum 06:32:57 2437ff75d9bd: Download complete 06:32:59 8998bd30e6a1: Pull complete 06:32:59 04944245beec: Pull complete 06:33:01 699f458cf7ca: Pull complete 06:33:01 765212b225bb: Pull complete 06:33:01 f23df028b6ca: Pull complete 06:33:02 d65c8cfc05b1: Pull complete 06:33:17 2437ff75d9bd: Pull complete 06:33:17 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:33:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:33:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:33:17 prd-ubuntu20.04-docker-arm64-4c-16g-8401 does not seem to be running inside a container 06:33:17 $ 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:33:20 $ docker top 06f8008bf8d323472c13863b1855491ffe26b1f05282b81cfe2f422b50b54759 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:33:20 ---> job-cost.sh 06:33:21 lf-activate-venv: SKIPPING 06:33:21 INFO: No Stack... 06:33:21 INFO: Retrieving Pricing Info for: v3-standard-4 06:33:22 INFO: Archiving Costs [Pipeline] sh 06:33:22 + cat /w/workspace/device-snmp-go/2/archives/cost.csv 06:33:22 + cut -d, -f6 [Pipeline] lock 06:33:22 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-284-2-stack-cost] 06:33:22 Resource [jenkins-edgexfoundry-device-snmp-go-PR-284-2-stack-cost] did not exist. Created. 06:33:22 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-284-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:33:23 /w/workspace/device-snmp-go/2@tmp/durable-711caac9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:33:24 + echo total: 0.10999999940395355 [Pipeline] stash 06:33:24 Warning: overwriting stash ‘stack-cost’ 06:33:24 Stashed 1 file(s) [Pipeline] } 06:33:24 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-284-2-stack-cost] [Pipeline] // lock [Pipeline] } 06:33:24 $ docker stop --time=1 06f8008bf8d323472c13863b1855491ffe26b1f05282b81cfe2f422b50b54759 06:33:25 $ docker rm -f --volumes 06f8008bf8d323472c13863b1855491ffe26b1f05282b81cfe2f422b50b54759 [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:33:26 provisioning config files... 06:33:26 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-284@tmp/config7603616732417127254tmp [Pipeline] { [Pipeline] sh 06:33:26 + set +x 06:33:26 + + curl -s https://codecov.io/bash 06:33:26 bash -s -- 06:33:26 06:33:26 _____ _ 06:33:26 / ____| | | 06:33:26 | | ___ __| | ___ ___ _____ __ 06:33:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:33:26 | |___| (_) | (_| | __/ (_| (_) \ V / 06:33:26 \_____\___/ \__,_|\___|\___\___/ \_/ 06:33:26 Bash-1.0.6 06:33:26 06:33:26 06:33:26 ==> git version 2.25.1 found 06:33:26 ==> 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:33:26 Release-Date: 2020-01-08 06:33:26 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:33:26 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:33:26 ==> Jenkins CI detected. 06:33:26 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-284 06:33:26 project root: . 06:33:26 --> token set from env 06:33:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:33:26 ==> Running gcov in . (disable via -X gcov) 06:33:26 ==> Python coveragepy not found 06:33:26 ==> Searching for coverage reports in: 06:33:26 + . 06:33:26 -> Found 1 reports 06:33:26 ==> Detecting git/mercurial file structure 06:33:26 ==> Reading reports 06:33:26 + ./coverage.out bytes=8751 06:33:26 ==> Appending adjustments 06:33:26 https://docs.codecov.io/docs/fixing-reports 06:33:26 + Found adjustments 06:33:26 ==> Gzipping contents 06:33:26 4.0K /tmp/codecov.8DCHZn.gz 06:33:26 ==> Uploading reports 06:33:26 url: https://codecov.io 06:33:26 query: branch=PR-284&commit=6780626918d56b561ff4ae98266f2ed4d4c053fc&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-284%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=284&job=&cmd_args= 06:33:26 -> Pinging Codecov 06:33:26 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-284&commit=6780626918d56b561ff4ae98266f2ed4d4c053fc&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-284%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=284&job=&cmd_args= 06:33:26 -> Uploading to 06:33:26 https://storage.googleapis.com/codecov/v4/raw/2023-04-13/6C56EA5C29638FB4528AC87E60AF5AE0/6780626918d56b561ff4ae98266f2ed4d4c053fc/18cb5b3e-e5cb-473c-8af7-9a1bded61076.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230413%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230413T063326Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c0fb1b8fa7d805d5a895878fcc08c0658c02e9ccaee3fb741ca5b2c5cdddeb4d 06:33:27 % Total % Received % Xferd Average Speed Time Time Time Current 06:33:27 Dload Upload Total Spent Left Speed 06:33:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1590 0 0 100 1590 0 6045 --:--:-- --:--:-- --:--:-- 6045 06:33:27 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/6780626918d56b561ff4ae98266f2ed4d4c053fc [Pipeline] } 06:33:27 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:33:28 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-284/archives ] 06:33:28 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-284/archives 06:33:28 total 16 06:33:28 drwxr-xr-x 3 root root 4096 Apr 13 06:23 . 06:33:28 drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 06:23 .. 06:33:28 drwxr-xr-x 2 root root 4096 Apr 13 06:23 cost 06:33:28 -rw-r--r-- 1 root root 86 Apr 13 06:23 cost.csv 06:33:28 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-284/archives 06:33:28 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-284/archives 06:33:28 total 16 06:33:28 drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 06:23 . 06:33:28 drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 06:23 .. 06:33:28 drwxr-xr-x 2 jenkins jenkins 4096 Apr 13 06:23 cost 06:33:28 -rw-r--r-- 1 jenkins jenkins 86 Apr 13 06:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:33:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:33:29 ---> package-listing.sh 06:33:29 ++ facter osfamily 06:33:29 ++ tr '[:upper:]' '[:lower:]' 06:33:29 + OS_FAMILY=debian 06:33:29 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-284 06:33:29 + START_PACKAGES=/tmp/packages_start.txt 06:33:29 + END_PACKAGES=/tmp/packages_end.txt 06:33:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:33:29 + PACKAGES=/tmp/packages_start.txt 06:33:29 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-284 ']' 06:33:29 + PACKAGES=/tmp/packages_end.txt 06:33:29 + case "${OS_FAMILY}" in 06:33:29 + dpkg -l 06:33:29 + grep '^ii' 06:33:29 + '[' -f /tmp/packages_start.txt ']' 06:33:29 + '[' -f /tmp/packages_end.txt ']' 06:33:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:33:29 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-284 ']' 06:33:29 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-284/archives/ 06:33:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-284/archives/ [Pipeline] echo 06:33:29 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-284/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:33:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:33:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:33:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:33:30 prd-ubuntu20.04-docker-8c-8g-8399 does not seem to be running inside a container 06:33:30 $ 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-284/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-284 -v /w/workspace/gexfoundry_device-snmp-go_PR-284:/w/workspace/gexfoundry_device-snmp-go_PR-284:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-284@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-284@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:33:31 $ docker top c331412b12a39d16e9a4d07fa9e4dee25bcee8f9112f1e2f05594eb145c120d1 -eo pid,comm [Pipeline] { [Pipeline] sh 06:33:32 + touch /tmp/pre-build-complete [Pipeline] sh 06:33:32 + mkdir -p /var/log/sysstat [Pipeline] sh 06:33:33 + ls /var/log/sa-host 06:33:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:33:33 provisioning config files... 06:33:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-284@tmp/config10885045812308717140tmp [Pipeline] { [Pipeline] echo 06:33:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:33:33 ---> create-netrc.sh [Pipeline] } 06:33:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:33:33 ---> python-tools-install.sh [Pipeline] echo 06:33:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:33:34 ---> sudo-logs.sh 06:33:34 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:33:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:33:34 ---> job-cost.sh 06:33:34 lf-activate-venv: SKIPPING 06:33:34 DEBUG: total: 0.2199999988079071 06:33:34 INFO: Retrieving Stack Cost... 06:33:34 INFO: Retrieving Pricing Info for: v3-standard-8 06:33:35 INFO: Archiving Costs [Pipeline] echo 06:33:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:33:35 ---> logs-deploy.sh 06:33:35 lf-activate-venv: SKIPPING 06:33:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-284/2 06:33:35 INFO: archiving workspace using pattern(s): 06:33:36 Archives upload complete. 06:33:36 INFO: archiving logs to Nexus