Pull request #298 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4f023677b8f95915adcd63e71ce7a43dec541aef+4540667df76160ba2257f08fa194345a2d771c5a (a6b065099c3d69a49b7a7bf131533779386d6b74) 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-ssh14909447059512369774.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-ssh16668375786007798727.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-298/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-298/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17041755971513335496.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-298/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15783124749714307779.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh7579237448700966179.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-298/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-298/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3791256260467160890.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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 ‘prd-ubuntu20.04-docker-8c-8g-12309’ Running on prd-ubuntu20.04-docker-8c-8g-12320 in /w/workspace/gexfoundry_device-snmp-go_PR-298 [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-298 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 4540667df76160ba2257f08fa194345a2d771c5a into PR head commit 4f023677b8f95915adcd63e71ce7a43dec541aef Merge succeeded, producing 4f023677b8f95915adcd63e71ce7a43dec541aef Checking out Revision 4f023677b8f95915adcd63e71ce7a43dec541aef (PR-298) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 > 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/298/head:refs/remotes/origin/PR-298 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4f023677b8f95915adcd63e71ce7a43dec541aef # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 4540667df76160ba2257f08fa194345a2d771c5a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4f023677b8f95915adcd63e71ce7a43dec541aef # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:02:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:02:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:02:16 ========================================================= 06:02:16 EdgeX Global Pipelines Version Info 06:02:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:02:17 ------------------- 06:02:17 stable info: 06:02:17 ------------------- 06:02:17 Commited By: Bill Mahoney bill.mahoney@intel.com 06:02:17 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 06:02:17 Message: update stable to v1.0.248 06:02:17 ------------------- 06:02:17 experimental info: 06:02:17 ------------------- 06:02:17 Commited By: **** collab-it+edgex@linuxfoundation.org 06:02:17 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 06:02:17 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:02:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 06:02:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 06:02:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:02:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:02:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:02:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 06:02:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:02:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:02:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:02:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:02:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:02:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 06:02:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:02:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:02:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:02:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:02:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:02:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:02:19 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:02:19 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:02:19 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:02:19 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:02:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:02:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:02:19 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:02:19 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:02:19 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:02:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-298 [Pipeline] echo 06:02:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-298 [Pipeline] echo 06:02:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-298 [Pipeline] echo 06:02:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4f023677b8f95915adcd63e71ce7a43dec541aef [Pipeline] echo 06:02:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4f02367 [Pipeline] echo 06:02:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:02:19 provisioning config files... 06:02:19 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-298@tmp/config11087278139956003811tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:02:20 ---> docker-login.sh 06:02:20 nexus3.edgexfoundry.org:10001 06:02:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:20 Configure a credential helper to remove this warning. See 06:02:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:20 06:02:20 Login Succeeded 06:02:20 nexus3.edgexfoundry.org:10002 06:02:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:20 Configure a credential helper to remove this warning. See 06:02:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:20 06:02:20 Login Succeeded 06:02:20 nexus3.edgexfoundry.org:10003 06:02:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:20 Configure a credential helper to remove this warning. See 06:02:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:20 06:02:20 Login Succeeded 06:02:20 nexus3.edgexfoundry.org:10004 06:02:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:20 Configure a credential helper to remove this warning. See 06:02:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:20 06:02:20 Login Succeeded 06:02:20 docker.io 06:02:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:21 Configure a credential helper to remove this warning. See 06:02:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:21 06:02:21 Login Succeeded 06:02:21 ---> docker-login.sh ends [Pipeline] } 06:02:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:02:22 + git rev-list -1 --merges 4f023677b8f95915adcd63e71ce7a43dec541aef~1..4f023677b8f95915adcd63e71ce7a43dec541aef [Pipeline] echo 06:02:22 -----------> git rev-list -1 --merges 4f023677b8f95915adcd63e71ce7a43dec541aef~1..4f023677b8f95915adcd63e71ce7a43dec541aef 4f023677b8f95915adcd63e71ce7a43dec541aef [false] [Pipeline] sh 06:02:22 + git log --format=format:%s -1 4f023677b8f95915adcd63e71ce7a43dec541aef [Pipeline] echo 06:02:22 ========================================================= 06:02:22 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:02:22 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:02:22 + git log --format=format:%s -1 4f023677b8f95915adcd63e71ce7a43dec541aef [Pipeline] echo 06:02:22 [semverPrep] GIT_COMMIT: 4f023677b8f95915adcd63e71ce7a43dec541aef, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo 06:02:23 [semverPrep] This is not a build commit. [Pipeline] sh 06:02:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:02:23 + grep -v github /etc/ssh/ssh_known_hosts 06:02:23 + [ -e /tmp/ssh_known_hosts ] 06:02:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:02:23 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:02:23 + sudo tee -a /etc/ssh/ssh_known_hosts 06:02:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:02:23 06:02:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:02:24 0.1.4: Pulling from edgex-devops/py-git-semver 06:02:24 b85a868b505f: Pulling fs layer 06:02:24 e2be974225ed: Pulling fs layer 06:02:24 339a4e72a1f5: Pulling fs layer 06:02:24 988bab9f4d93: Pulling fs layer 06:02:24 1469e6f7b9e6: Pulling fs layer 06:02:24 eaf3925da568: Pulling fs layer 06:02:24 bab4dde63d76: Pulling fs layer 06:02:24 bde34c3a00c8: Pulling fs layer 06:02:24 b352a97aabf1: Pulling fs layer 06:02:24 4872d77fe225: Pulling fs layer 06:02:24 5851b861e8e6: Pulling fs layer 06:02:24 988bab9f4d93: Waiting 06:02:24 1469e6f7b9e6: Waiting 06:02:24 bde34c3a00c8: Waiting 06:02:24 b352a97aabf1: Waiting 06:02:24 bab4dde63d76: Waiting 06:02:24 5851b861e8e6: Waiting 06:02:24 4872d77fe225: Waiting 06:02:24 eaf3925da568: Waiting 06:02:24 e2be974225ed: Download complete 06:02:24 988bab9f4d93: Download complete 06:02:24 339a4e72a1f5: Verifying Checksum 06:02:24 339a4e72a1f5: Download complete 06:02:24 1469e6f7b9e6: Verifying Checksum 06:02:24 1469e6f7b9e6: Download complete 06:02:24 eaf3925da568: Download complete 06:02:24 bde34c3a00c8: Verifying Checksum 06:02:24 bde34c3a00c8: Download complete 06:02:24 b352a97aabf1: Download complete 06:02:24 4872d77fe225: Verifying Checksum 06:02:24 4872d77fe225: Download complete 06:02:24 5851b861e8e6: Verifying Checksum 06:02:24 5851b861e8e6: Download complete 06:02:24 b85a868b505f: Verifying Checksum 06:02:24 b85a868b505f: Download complete 06:02:24 bab4dde63d76: Verifying Checksum 06:02:24 bab4dde63d76: Download complete 06:02:26 b85a868b505f: Pull complete 06:02:26 e2be974225ed: Pull complete 06:02:26 339a4e72a1f5: Pull complete 06:02:26 988bab9f4d93: Pull complete 06:02:26 1469e6f7b9e6: Pull complete 06:02:26 eaf3925da568: Pull complete 06:02:28 bab4dde63d76: Pull complete 06:02:28 bde34c3a00c8: Pull complete 06:02:29 b352a97aabf1: Pull complete 06:02:29 4872d77fe225: Pull complete 06:02:29 5851b861e8e6: Pull complete 06:02:29 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:02:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:02:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:02:29 prd-ubuntu20.04-docker-8c-8g-12320 does not seem to be running inside a container 06:02:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-298 -v /w/workspace/gexfoundry_device-snmp-go_PR-298:/w/workspace/gexfoundry_device-snmp-go_PR-298:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-298@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-298@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:02:32 $ docker top afc9483c5f18a1a257f1cb300f065b43512bf894726511ced8643faa8cc4e7a5 -eo pid,comm 06:02:32 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:02:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:02:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:02:32 [ssh-agent] Looking for ssh-agent implementation... 06:02:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:02:33 $ docker exec afc9483c5f18a1a257f1cb300f065b43512bf894726511ced8643faa8cc4e7a5 ssh-agent 06:02:33 SSH_AUTH_SOCK=/tmp/ssh-fb9Lxz6YLz0Q/agent.33 06:02:33 SSH_AGENT_PID=39 06:02:33 Running ssh-add (command line suppressed) 06:02:33 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-298@tmp/private_key_3871238664993600687.key (/w/workspace/gexfoundry_device-snmp-go_PR-298@tmp/private_key_3871238664993600687.key) 06:02:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:02:33 + git tag --points-at HEAD [Pipeline] } 06:02:33 $ docker exec --env ******** --env ******** afc9483c5f18a1a257f1cb300f065b43512bf894726511ced8643faa8cc4e7a5 ssh-agent -k 06:02:33 unset SSH_AUTH_SOCK; 06:02:33 unset SSH_AGENT_PID; 06:02:33 echo Agent pid 39 killed; 06:02:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:02:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:02:33 [ssh-agent] Looking for ssh-agent implementation... 06:02:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:02:33 $ docker exec afc9483c5f18a1a257f1cb300f065b43512bf894726511ced8643faa8cc4e7a5 ssh-agent 06:02:34 SSH_AUTH_SOCK=/tmp/ssh-Uzuy7AWUpNhf/agent.71 06:02:34 SSH_AGENT_PID=77 06:02:34 Running ssh-add (command line suppressed) 06:02:34 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-298@tmp/private_key_5158344121537323173.key (/w/workspace/gexfoundry_device-snmp-go_PR-298@tmp/private_key_5158344121537323173.key) 06:02:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:02:34 + git semver init 06:02:34 2023-05-02 06:02:34,707 [run_init] DEBUG init version:0.0.0 force:False 06:02:34 2023-05-02 06:02:34,708 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-298/.semver 06:02:34 2023-05-02 06:02:34,709 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-298/.semver 06:02:34 2023-05-02 06:02:34,709 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-298/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-298, universal_newlines=False, shell=None, istream=None) 06:02:35 2023-05-02 06:02:35,434 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-298/.git/info/exclude 06:02:35 2023-05-02 06:02:35,434 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-298/.semver/PR-298 with force:False 06:02:35 2023-05-02 06:02:35,435 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-298/.semver/PR-298 06:02:35 2023-05-02 06:02:35,439 [execute] INFO git cat-file --batch-check 06:02:35 2023-05-02 06:02:35,440 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-298/.semver, universal_newlines=False, shell=None, istream=) 06:02:35 2023-05-02 06:02:35,445 [execute] INFO git cat-file --batch 06:02:35 2023-05-02 06:02:35,445 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-298/.semver, universal_newlines=False, shell=None, istream=) 06:02:35 2023-05-02 06:02:35,449 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-298/.semver/PR-298 06:02:35 0.0.0 [Pipeline] } 06:02:35 $ docker exec --env ******** --env ******** afc9483c5f18a1a257f1cb300f065b43512bf894726511ced8643faa8cc4e7a5 ssh-agent -k 06:02:35 unset SSH_AUTH_SOCK; 06:02:35 unset SSH_AGENT_PID; 06:02:35 echo Agent pid 77 killed; 06:02:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:02:36 + git semver [Pipeline] } 06:02:36 $ docker stop --time=1 afc9483c5f18a1a257f1cb300f065b43512bf894726511ced8643faa8cc4e7a5 06:02:37 $ docker rm -f --volumes afc9483c5f18a1a257f1cb300f065b43512bf894726511ced8643faa8cc4e7a5 [Pipeline] // withDockerContainer [Pipeline] sh 06:02:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:02:38 Stashed 1 file(s) [Pipeline] echo 06:02:38 [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:02:39 provisioning config files... 06:02:39 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-298@tmp/config8950132442682006463tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:02:39 ---> docker-login.sh 06:02:39 nexus3.edgexfoundry.org:10001 06:02:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:39 Configure a credential helper to remove this warning. See 06:02:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:39 06:02:39 Login Succeeded 06:02:39 nexus3.edgexfoundry.org:10002 06:02:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:39 Configure a credential helper to remove this warning. See 06:02:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:39 06:02:39 Login Succeeded 06:02:39 nexus3.edgexfoundry.org:10003 06:02:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:39 Configure a credential helper to remove this warning. See 06:02:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:39 06:02:39 Login Succeeded 06:02:39 nexus3.edgexfoundry.org:10004 06:02:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:39 Configure a credential helper to remove this warning. See 06:02:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:39 06:02:39 Login Succeeded 06:02:39 docker.io 06:02:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:40 Configure a credential helper to remove this warning. See 06:02:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:40 06:02:40 Login Succeeded 06:02:40 ---> docker-login.sh ends [Pipeline] } 06:02:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:02:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:02:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:02:40 ========================================================= 06:02:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 06:02:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:40 + 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:02:40 Sending build context to Docker daemon 5.809MB 06:02:40 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 06:02:40 Step 2/12 : FROM ${BASE} AS builder 06:02:41 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 06:02:41 f56be85fc22e: Pulling fs layer 06:02:41 85791d961cd3: Pulling fs layer 06:02:41 d694b5ae8c79: Pulling fs layer 06:02:41 9f32a84ed3da: Pulling fs layer 06:02:41 4d19c01a9841: Pulling fs layer 06:02:41 9325e15d5711: Pulling fs layer 06:02:41 556b6ee489ea: Pulling fs layer 06:02:41 c5a4b2cf53e6: Pulling fs layer 06:02:41 9325e15d5711: Waiting 06:02:41 556b6ee489ea: Waiting 06:02:41 c5a4b2cf53e6: Waiting 06:02:41 9f32a84ed3da: Waiting 06:02:41 4d19c01a9841: Waiting 06:02:41 85791d961cd3: Verifying Checksum 06:02:41 85791d961cd3: Download complete 06:02:41 9f32a84ed3da: Verifying Checksum 06:02:41 4d19c01a9841: Verifying Checksum 06:02:41 4d19c01a9841: Download complete 06:02:41 f56be85fc22e: Download complete 06:02:41 9325e15d5711: Verifying Checksum 06:02:41 9325e15d5711: Download complete 06:02:41 f56be85fc22e: Pull complete 06:02:41 85791d961cd3: Pull complete 06:02:41 c5a4b2cf53e6: Verifying Checksum 06:02:41 c5a4b2cf53e6: Download complete 06:02:41 d694b5ae8c79: Download complete 06:02:41 556b6ee489ea: Verifying Checksum 06:02:41 556b6ee489ea: Download complete 06:02:45 d694b5ae8c79: Pull complete 06:02:45 9f32a84ed3da: Pull complete 06:02:45 4d19c01a9841: Pull complete 06:02:45 9325e15d5711: Pull complete 06:02:48 556b6ee489ea: Pull complete 06:02:49 c5a4b2cf53e6: Pull complete 06:02:49 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 06:02:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 06:02:49 ---> c4be618373d6 06:02:49 Step 3/12 : ARG ADD_BUILD_TAGS="" 06:02:53 Still waiting to schedule task 06:02:53 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-12315’ 06:02:56 ---> Running in d3c9c863aff4 06:02:56 Removing intermediate container d3c9c863aff4 06:02:56 ---> d09c92a3dca9 06:02:56 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:02:56 ---> Running in c39d55b1d0fe 06:02:57 Removing intermediate container c39d55b1d0fe 06:02:57 ---> d5bb25bcf23e 06:02:57 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:02:57 ---> Running in b5377880c08d 06:02:57 Removing intermediate container b5377880c08d 06:02:57 ---> 700a523e071f 06:02:57 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 06:02:57 ---> Running in e7ec15e92ece 06:02:57 Removing intermediate container e7ec15e92ece 06:02:57 ---> 6cc9d79c4bb3 06:02:57 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:02:57 ---> Running in 646d3820e25f 06:02:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:02:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:02:58 (1/4) Installing openssh-keygen (9.1_p1-r2) 06:02:58 (2/4) Installing libedit (20221030.3.1-r0) 06:02:58 (3/4) Installing openssh-client-common (9.1_p1-r2) 06:02:58 (4/4) Installing openssh-client-default (9.1_p1-r2) 06:02:58 Executing busybox-1.35.0-r29.trigger 06:02:58 OK: 269 MiB in 57 packages 06:02:59 Removing intermediate container 646d3820e25f 06:02:59 ---> b9c51ab6be76 06:02:59 Step 8/12 : WORKDIR /device-snmp-go 06:02:59 ---> Running in f713e4e05c17 06:02:59 Removing intermediate container f713e4e05c17 06:02:59 ---> 57c9574a8a99 06:02:59 Step 9/12 : COPY go.mod vendor* ./ 06:02:59 ---> 5c8fcc09b04b 06:02:59 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:02:59 ---> Running in 8630ffcb6c59 06:03:38 Removing intermediate container 8630ffcb6c59 06:03:38 ---> 648f22799dee 06:03:38 Step 11/12 : COPY . . 06:03:38 ---> 9088c1050fed 06:03:38 Step 12/12 : RUN ${MAKE} 06:03:38 ---> Running in f8e37259b801 06:03:38 noop 06:03:39 Removing intermediate container f8e37259b801 06:03:39 ---> a8419f3e1a12 06:03:39 Successfully built a8419f3e1a12 06:03:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:40 + docker inspect -f . ci-base-image-x86_64 06:03:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:03:40 prd-ubuntu20.04-docker-8c-8g-12320 does not seem to be running inside a container 06:03:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-298 -v /w/workspace/gexfoundry_device-snmp-go_PR-298:/w/workspace/gexfoundry_device-snmp-go_PR-298:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-298@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-298@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 ******** ci-base-image-x86_64 cat 06:03:42 $ docker top 6f4061ab61b3e8b7c756d4dada30fe7e69dd298adffad7bd4ab192c443fb84eb -eo pid,comm [Pipeline] { [Pipeline] sh 06:03:42 + go version 06:03:42 go version go1.20.2 linux/amd64 [Pipeline] } 06:03:42 $ docker stop --time=1 6f4061ab61b3e8b7c756d4dada30fe7e69dd298adffad7bd4ab192c443fb84eb 06:03:44 $ docker rm -f --volumes 6f4061ab61b3e8b7c756d4dada30fe7e69dd298adffad7bd4ab192c443fb84eb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:44 + docker inspect -f . ci-base-image-x86_64 06:03:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:03:45 prd-ubuntu20.04-docker-8c-8g-12320 does not seem to be running inside a container 06:03:45 $ 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-298 -v /w/workspace/gexfoundry_device-snmp-go_PR-298:/w/workspace/gexfoundry_device-snmp-go_PR-298:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-298@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-298@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 ******** ci-base-image-x86_64 cat 06:03:45 $ docker top 36883cfff4cc0397173ae709927ce8865eea76a1da4deae2e93406222266078b -eo pid,comm [Pipeline] { [Pipeline] sh 06:03:46 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-298 [Pipeline] fileExists [Pipeline] sh 06:03:46 + make test 06:03:46 go test ./... -coverprofile=coverage.out 06:03:51 ? github.com/edgexfoundry/device-snmp-go [no test files] 06:04:01 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 06:04:01 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.011s coverage: 0.0% of statements 06:04:07 go vet ./... 06:04:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:04:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:04:10 ./bin/test-attribution-txt.sh [Pipeline] echo 06:04:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:04:10 $ docker stop --time=1 36883cfff4cc0397173ae709927ce8865eea76a1da4deae2e93406222266078b 06:04:16 $ docker rm -f --volumes 36883cfff4cc0397173ae709927ce8865eea76a1da4deae2e93406222266078b [Pipeline] // withDockerContainer [Pipeline] sh 06:04:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:04:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:04:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:04:17 + ls -al . 06:04:17 total 172 06:04:17 drwxrwxr-x 9 jenkins jenkins 4096 May 2 06:03 . 06:04:17 drwxrwxr-x 4 jenkins jenkins 4096 May 2 06:02 .. 06:04:17 -rw-rw-r-- 1 jenkins jenkins 6 May 2 06:02 .dockerignore 06:04:17 drwxrwxr-x 8 jenkins jenkins 4096 May 2 06:02 .git 06:04:17 drwxrwxr-x 3 jenkins jenkins 4096 May 2 06:02 .github 06:04:17 -rw-rw-r-- 1 jenkins jenkins 328 May 2 06:02 .gitignore 06:04:17 -rw-rw-r-- 1 jenkins jenkins 41 May 2 06:02 .golangci.yml 06:04:17 drwxr-xr-x 3 jenkins jenkins 4096 May 2 06:02 .semver 06:04:17 -rw-rw-r-- 1 jenkins jenkins 9056 May 2 06:02 Attribution.txt 06:04:17 -rw-rw-r-- 1 jenkins jenkins 8355 May 2 06:02 CHANGELOG.md 06:04:17 -rw-rw-r-- 1 jenkins jenkins 1423 May 2 06:02 Dockerfile 06:04:17 -rw-rw-r-- 1 jenkins jenkins 677 May 2 06:02 GOVERNANCE.md 06:04:17 -rw-rw-r-- 1 jenkins jenkins 656 May 2 06:02 Jenkinsfile 06:04:17 -rw-rw-r-- 1 jenkins jenkins 11340 May 2 06:02 LICENSE 06:04:17 -rw-rw-r-- 1 jenkins jenkins 2114 May 2 06:02 Makefile 06:04:17 -rw-rw-r-- 1 jenkins jenkins 620 May 2 06:02 OWNERS.md 06:04:17 -rw-rw-r-- 1 jenkins jenkins 10054 May 2 06:02 README.md 06:04:17 -rw-rw-r-- 1 jenkins jenkins 5 May 2 06:02 VERSION 06:04:17 drwxrwxr-x 2 jenkins jenkins 4096 May 2 06:02 bin 06:04:17 drwxrwxr-x 3 jenkins jenkins 4096 May 2 06:02 cmd 06:04:17 -rw-r--r-- 1 jenkins jenkins 8837 May 2 06:04 coverage.out 06:04:17 -rw-rw-r-- 1 jenkins jenkins 3283 May 2 06:02 go.mod 06:04:17 -rw-rw-r-- 1 jenkins jenkins 31326 May 2 06:02 go.sum 06:04:17 drwxrwxr-x 3 jenkins jenkins 4096 May 2 06:02 internal 06:04:17 drwxrwxr-x 4 jenkins jenkins 4096 May 2 06:02 snap 06:04:17 -rw-rw-r-- 1 jenkins jenkins 228 May 2 06:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:18 + 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=4f023677b8f95915adcd63e71ce7a43dec541aef --label arch=amd64 --label version=0.0.0 . 06:04:18 Sending build context to Docker daemon 5.819MB 06:04:18 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 06:04:18 Step 2/24 : FROM ${BASE} AS builder 06:04:18 ---> a8419f3e1a12 06:04:18 Step 3/24 : ARG ADD_BUILD_TAGS="" 06:04:18 ---> Running in 2dbadf363a98 06:04:18 Removing intermediate container 2dbadf363a98 06:04:18 ---> e0cd5ecc715c 06:04:18 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:04:18 ---> Running in 39e0dcab38e2 06:04:18 Removing intermediate container 39e0dcab38e2 06:04:18 ---> 0fce2ea5fe16 06:04:18 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:04:18 ---> Running in 7eac39f85ada 06:04:18 Removing intermediate container 7eac39f85ada 06:04:18 ---> 3cc382e3804d 06:04:18 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 06:04:18 ---> Running in b81b28e9ee0e 06:04:18 Removing intermediate container b81b28e9ee0e 06:04:18 ---> 34b77ec5beea 06:04:18 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:04:18 ---> Running in 924bb4357eae 06:04:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:04:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:04:19 OK: 269 MiB in 57 packages 06:04:20 Removing intermediate container 924bb4357eae 06:04:20 ---> 44641485d881 06:04:20 Step 8/24 : WORKDIR /device-snmp-go 06:04:20 ---> Running in 96153381f071 06:04:21 Removing intermediate container 96153381f071 06:04:21 ---> 78b68da4cac8 06:04:21 Step 9/24 : COPY go.mod vendor* ./ 06:04:21 ---> 903b35e37215 06:04:21 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:04:21 ---> Running in a5073aefde34 06:04:22 Removing intermediate container a5073aefde34 06:04:22 ---> 9be538aa1171 06:04:22 Step 11/24 : COPY . . 06:04:22 ---> 7d4e24d3e3ca 06:04:22 Step 12/24 : RUN ${MAKE} 06:04:22 ---> Running in 9df6b3a251a2 06:04:22 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:04:44 Removing intermediate container 9df6b3a251a2 06:04:44 ---> 0d624d81bfb7 06:04:44 Step 13/24 : FROM alpine:3.17 06:04:44 3.17: Pulling from library/alpine 06:04:44 f56be85fc22e: Already exists 06:04:44 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:04:44 Status: Downloaded newer image for alpine:3.17 06:04:44 ---> 9ed4aefc74f6 06:04:44 Step 14/24 : RUN apk add --update --no-cache dumb-init 06:04:44 ---> Running in a3184a6f1745 06:04:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:04:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:04:44 (1/1) Installing dumb-init (1.2.5-r2) 06:04:44 Executing busybox-1.35.0-r29.trigger 06:04:44 OK: 7 MiB in 16 packages 06:04:44 Removing intermediate container a3184a6f1745 06:04:44 ---> dcdc93f340e9 06:04:44 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 06:04:45 ---> 5cc9e68e5bbb 06:04:45 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 06:04:45 ---> 021b544bd8b9 06:04:45 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 06:04:45 ---> f43791ca1e51 06:04:45 Step 18/24 : EXPOSE 59993 06:04:46 ---> Running in 7026dc376e99 06:04:46 Removing intermediate container 7026dc376e99 06:04:46 ---> 2c598b0c382c 06:04:46 Step 19/24 : EXPOSE 161 06:04:46 ---> Running in 16ea949128f4 06:04:46 Removing intermediate container 16ea949128f4 06:04:46 ---> f6c6b60ceae4 06:04:46 Step 20/24 : ENTRYPOINT ["/device-snmp"] 06:04:46 ---> Running in ccf718a53507 06:04:46 Removing intermediate container ccf718a53507 06:04:46 ---> 4f4501f11173 06:04:46 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 06:04:46 ---> Running in 0404ba24ed5f 06:04:46 Removing intermediate container 0404ba24ed5f 06:04:46 ---> 29b8cf8ac290 06:04:46 Step 22/24 : LABEL arch=amd64 06:04:46 ---> Running in 662ea68987e1 06:04:46 Removing intermediate container 662ea68987e1 06:04:46 ---> 154d7aa3089f 06:04:46 Step 23/24 : LABEL git_sha=4f023677b8f95915adcd63e71ce7a43dec541aef 06:04:46 ---> Running in 65b88c725f76 06:04:46 Removing intermediate container 65b88c725f76 06:04:46 ---> f98962c9a2a5 06:04:46 Step 24/24 : LABEL version=0.0.0 06:04:46 ---> Running in 93046a80b68f 06:04:46 Removing intermediate container 93046a80b68f 06:04:46 ---> 0c5cfa3c77fa 06:04:46 [Warning] One or more build-args [ARCH] were not consumed 06:04:46 Successfully built 0c5cfa3c77fa 06:04:46 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:04:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:04:47 06:04:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:04:48 latest: Pulling from edgex-lftools-log-publisher 06:04:48 5eb5b503b376: Pulling fs layer 06:04:48 5c69ac0246d0: Pulling fs layer 06:04:48 ec43610c2a17: Pulling fs layer 06:04:48 3a2ae6a8a46f: Pulling fs layer 06:04:48 33b1e0a273af: Pulling fs layer 06:04:48 5d3b04190fa2: Pulling fs layer 06:04:48 2f39f015ded8: Pulling fs layer 06:04:48 33b1e0a273af: Waiting 06:04:48 5d3b04190fa2: Waiting 06:04:48 3a2ae6a8a46f: Waiting 06:04:48 5c69ac0246d0: Verifying Checksum 06:04:48 5c69ac0246d0: Download complete 06:04:48 3a2ae6a8a46f: Verifying Checksum 06:04:48 3a2ae6a8a46f: Download complete 06:04:48 5eb5b503b376: Verifying Checksum 06:04:48 5eb5b503b376: Download complete 06:04:48 5d3b04190fa2: Verifying Checksum 06:04:48 5d3b04190fa2: Download complete 06:04:48 ec43610c2a17: Verifying Checksum 06:04:48 ec43610c2a17: Download complete 06:04:48 33b1e0a273af: Verifying Checksum 06:04:48 33b1e0a273af: Download complete 06:04:49 2f39f015ded8: Download complete 06:04:49 5eb5b503b376: Pull complete 06:04:49 5c69ac0246d0: Pull complete 06:04:50 ec43610c2a17: Pull complete 06:04:50 3a2ae6a8a46f: Pull complete 06:04:50 33b1e0a273af: Pull complete 06:04:50 5d3b04190fa2: Pull complete 06:04:54 2f39f015ded8: Pull complete 06:04:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:04:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:04:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:04:55 prd-ubuntu20.04-docker-8c-8g-12320 does not seem to be running inside a container 06:04:55 $ 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-298 -v /w/workspace/gexfoundry_device-snmp-go_PR-298:/w/workspace/gexfoundry_device-snmp-go_PR-298:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-298@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-298@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:04:59 $ docker top 69b8a2e5672ffc448c25fe7f7f869cc479be9f7d50e53c6145735a8b9b180eb4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:04:59 ---> job-cost.sh 06:04:59 lf-activate-venv: SKIPPING 06:04:59 INFO: No Stack... 06:04:59 INFO: Retrieving Pricing Info for: v3-standard-8 06:05:00 INFO: Archiving Costs [Pipeline] sh 06:05:00 + cat /w/workspace/gexfoundry_device-snmp-go_PR-298/archives/cost.csv 06:05:00 + cut -d, -f6 [Pipeline] lock 06:05:00 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-298-1-stack-cost] 06:05:00 Resource [jenkins-edgexfoundry-device-snmp-go-PR-298-1-stack-cost] did not exist. Created. 06:05:00 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-298-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:05:01 + echo total: 0.2199999988079071 [Pipeline] stash 06:05:01 Stashed 1 file(s) [Pipeline] } 06:05:01 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-298-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:05:01 $ docker stop --time=1 69b8a2e5672ffc448c25fe7f7f869cc479be9f7d50e53c6145735a8b9b180eb4 06:05:02 $ docker rm -f --volumes 69b8a2e5672ffc448c25fe7f7f869cc479be9f7d50e53c6145735a8b9b180eb4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:05:06 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12326 in /w/workspace/gexfoundry_device-snmp-go_PR-298 [Pipeline] { [Pipeline] ws 06:05:06 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 06:05:06 Selected Git installation does not exist. Using Default 06:05:06 The recommended git tool is: NONE 06:05:15 using credential edgex-jenkins-ssh 06:05:15 Cloning the remote Git repository 06:05:15 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 06:05:15 > git init /w/workspace/device-snmp-go/1 # timeout=10 06:05:15 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 06:05:15 > git --version # timeout=10 06:05:15 > git --version # 'git version 2.25.1' 06:05:15 using GIT_SSH to set credentials SSH Credentials for GitHub 06:05:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:05:17 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 06:05:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:05:18 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 06:05:18 Merging remotes/origin/main commit 4540667df76160ba2257f08fa194345a2d771c5a into PR head commit 4f023677b8f95915adcd63e71ce7a43dec541aef 06:05:18 Merge succeeded, producing 4f023677b8f95915adcd63e71ce7a43dec541aef 06:05:18 Checking out Revision 4f023677b8f95915adcd63e71ce7a43dec541aef (PR-298) 06:05:19 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" 06:05:19 > git --version # timeout=10 06:05:19 > git --version # 'git version 2.25.1' 06:05:19 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 06:05:18 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 06:05:18 using GIT_SSH to set credentials SSH Credentials for GitHub 06:05:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/298/head:refs/remotes/origin/PR-298 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:05:18 > git config core.sparsecheckout # timeout=10 06:05:18 > git checkout -f 4f023677b8f95915adcd63e71ce7a43dec541aef # timeout=10 06:05:18 > git remote # timeout=10 06:05:18 > git config --get remote.origin.url # timeout=10 06:05:18 using GIT_SSH to set credentials SSH Credentials for GitHub 06:05:18 > git merge 4540667df76160ba2257f08fa194345a2d771c5a # timeout=10 06:05:18 > git rev-parse HEAD^{commit} # timeout=10 06:05:19 > git config core.sparsecheckout # timeout=10 06:05:19 > git checkout -f 4f023677b8f95915adcd63e71ce7a43dec541aef # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:05:20 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:05:20 % Total % Received % Xferd Average Speed Time Time Time Current 06:05:20 Dload Upload Total Spent Left Speed 06:05:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93072 0 --:--:-- --:--:-- --:--:-- 93757 [Pipeline] sh 06:05:21 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:05:21 + sudo tee /etc/docker/daemon.new 06:05:21 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:05:21 { 06:05:21 "registry-mirrors": [ 06:05:21 "https://nexus3.edgexfoundry.org:10001" 06:05:21 ], 06:05:21 "bip": "10.250.0.254/24", 06:05:21 "hosts": [ 06:05:21 "tcp://0.0.0.0:5555", 06:05:21 "unix:///var/run/docker.sock" 06:05:21 ], 06:05:21 "mtu": 1458, 06:05:21 "selinux-enabled": true, 06:05:21 "seccomp-profile": "/etc/docker/seccomp.json" 06:05:21 } [Pipeline] sh 06:05:22 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:05:22 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:05:44 provisioning config files... 06:05:44 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config14639657357096532255tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:05:45 ---> docker-login.sh 06:05:45 nexus3.edgexfoundry.org:10001 06:05:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:05:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:05:46 Configure a credential helper to remove this warning. See 06:05:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:05:46 06:05:46 Login Succeeded 06:05:46 nexus3.edgexfoundry.org:10002 06:05:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:05:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:05:46 Configure a credential helper to remove this warning. See 06:05:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:05:46 06:05:46 Login Succeeded 06:05:46 nexus3.edgexfoundry.org:10003 06:05:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:05:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:05:47 Configure a credential helper to remove this warning. See 06:05:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:05:47 06:05:47 Login Succeeded 06:05:47 nexus3.edgexfoundry.org:10004 06:05:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:05:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:05:47 Configure a credential helper to remove this warning. See 06:05:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:05:47 06:05:47 Login Succeeded 06:05:47 docker.io 06:05:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:05:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:05:48 Configure a credential helper to remove this warning. See 06:05:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:05:48 06:05:48 Login Succeeded 06:05:48 ---> docker-login.sh ends [Pipeline] } 06:05:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:05:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:05:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:05:48 ========================================================= 06:05:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 06:05:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:49 + 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:05:49 Sending build context to Docker daemon 3.009MB 06:05:49 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 06:05:49 Step 2/12 : FROM ${BASE} AS builder 06:05:49 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:05:49 c41833b44d91: Pulling fs layer 06:05:49 ed15518f5707: Pulling fs layer 06:05:49 feae8fd75edb: Pulling fs layer 06:05:49 242c74f7c9fa: Pulling fs layer 06:05:49 3cdef696dda3: Pulling fs layer 06:05:49 2ced38df9373: Pulling fs layer 06:05:49 58f1dce35555: Pulling fs layer 06:05:49 3cdef696dda3: Waiting 06:05:49 2ced38df9373: Waiting 06:05:49 58f1dce35555: Waiting 06:05:49 242c74f7c9fa: Waiting 06:05:49 ed15518f5707: Download complete 06:05:49 242c74f7c9fa: Verifying Checksum 06:05:49 242c74f7c9fa: Download complete 06:05:49 3cdef696dda3: Verifying Checksum 06:05:49 3cdef696dda3: Download complete 06:05:49 c41833b44d91: Verifying Checksum 06:05:51 c41833b44d91: Pull complete 06:05:51 58f1dce35555: Verifying Checksum 06:05:51 58f1dce35555: Download complete 06:05:51 ed15518f5707: Pull complete 06:05:53 feae8fd75edb: Verifying Checksum 06:05:53 feae8fd75edb: Download complete 06:05:53 2ced38df9373: Verifying Checksum 06:05:53 2ced38df9373: Download complete 06:06:05 feae8fd75edb: Pull complete 06:06:05 242c74f7c9fa: Pull complete 06:06:05 3cdef696dda3: Pull complete 06:06:13 2ced38df9373: Pull complete 06:06:15 58f1dce35555: Pull complete 06:06:15 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 06:06:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 06:06:15 ---> fadd8f120f05 06:06:15 Step 3/12 : ARG ADD_BUILD_TAGS="" 06:06:16 ---> Running in 6b3545fc9336 06:06:16 Removing intermediate container 6b3545fc9336 06:06:16 ---> 88ee40ee96a2 06:06:16 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:06:17 ---> Running in 9bc576c2b653 06:06:17 Removing intermediate container 9bc576c2b653 06:06:17 ---> 286d57b95737 06:06:17 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:06:17 ---> Running in 81a416b87c1d 06:06:17 Removing intermediate container 81a416b87c1d 06:06:17 ---> c63987c9261f 06:06:17 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 06:06:17 ---> Running in 398b25f49160 06:06:18 Removing intermediate container 398b25f49160 06:06:18 ---> c1ae332e08bd 06:06:18 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:06:18 ---> Running in 7d3bd3ea5b74 06:06:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:06:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:06:21 (1/4) Installing openssh-keygen (9.1_p1-r2) 06:06:21 (2/4) Installing libedit (20221030.3.1-r0) 06:06:21 (3/4) Installing openssh-client-common (9.1_p1-r2) 06:06:21 (4/4) Installing openssh-client-default (9.1_p1-r2) 06:06:21 Executing busybox-1.35.0-r29.trigger 06:06:21 OK: 268 MiB in 57 packages 06:06:22 Removing intermediate container 7d3bd3ea5b74 06:06:22 ---> 9571d834a6b9 06:06:22 Step 8/12 : WORKDIR /device-snmp-go 06:06:22 ---> Running in 74b4fedf1d8d 06:06:23 Removing intermediate container 74b4fedf1d8d 06:06:23 ---> 3be90b653b77 06:06:23 Step 9/12 : COPY go.mod vendor* ./ 06:06:23 ---> c771764426ee 06:06:23 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:06:23 ---> Running in 891bf60e05dc 06:07:31 Removing intermediate container 891bf60e05dc 06:07:31 ---> bfba8d43e2ab 06:07:31 Step 11/12 : COPY . . 06:07:31 ---> 344b932d7455 06:07:31 Step 12/12 : RUN ${MAKE} 06:07:31 ---> Running in e4578d08affb 06:07:31 noop 06:07:31 Removing intermediate container e4578d08affb 06:07:31 ---> a7be3185a228 06:07:31 Successfully built a7be3185a228 06:07:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:32 + docker inspect -f . ci-base-image-arm64 06:07:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:07:32 prd-ubuntu20.04-docker-arm64-4c-16g-12326 does not seem to be running inside a container 06:07:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@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 ******** ci-base-image-arm64 cat 06:07:34 $ docker top 690083257b4c4ba23b7e58bdbf6b904a4b3cad97d0d76128cd5a6b1945784c97 -eo pid,comm [Pipeline] { [Pipeline] sh 06:07:35 + go version 06:07:35 go version go1.20.2 linux/arm64 [Pipeline] } 06:07:35 $ docker stop --time=1 690083257b4c4ba23b7e58bdbf6b904a4b3cad97d0d76128cd5a6b1945784c97 06:07:36 $ docker rm -f --volumes 690083257b4c4ba23b7e58bdbf6b904a4b3cad97d0d76128cd5a6b1945784c97 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:37 + docker inspect -f . ci-base-image-arm64 06:07:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:07:38 prd-ubuntu20.04-docker-arm64-4c-16g-12326 does not seem to be running inside a container 06:07:38 $ 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/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@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 ******** ci-base-image-arm64 cat 06:07:39 $ docker top 2649ae5dad25cce2bfa311f0e11db14b77932abb3febbc436ec355ea822f0754 -eo pid,comm [Pipeline] { [Pipeline] sh 06:07:40 + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh 06:07:42 + make test 06:07:42 go test ./... -coverprofile=coverage.out 06:08:21 ? github.com/edgexfoundry/device-snmp-go [no test files] 06:10:43 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 06:10:43 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.049s coverage: 0.0% of statements 06:10:43 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:10:43 go vet ./... 06:11:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:11:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:11:05 ./bin/test-attribution-txt.sh [Pipeline] echo 06:11:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:11:05 $ docker stop --time=1 2649ae5dad25cce2bfa311f0e11db14b77932abb3febbc436ec355ea822f0754 06:11:07 $ docker rm -f --volumes 2649ae5dad25cce2bfa311f0e11db14b77932abb3febbc436ec355ea822f0754 [Pipeline] // withDockerContainer [Pipeline] sh 06:11:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:11:08 Warning: overwriting stash ‘coverage-report’ 06:11:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:11:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:11:10 + ls -al . 06:11:10 total 168 06:11:10 drwxrwxr-x 8 jenkins jenkins 4096 May 2 06:07 . 06:11:10 drwxrwxr-x 4 jenkins jenkins 4096 May 2 06:05 .. 06:11:10 -rw-rw-r-- 1 jenkins jenkins 6 May 2 06:05 .dockerignore 06:11:10 drwxrwxr-x 8 jenkins jenkins 4096 May 2 06:05 .git 06:11:10 drwxrwxr-x 3 jenkins jenkins 4096 May 2 06:05 .github 06:11:10 -rw-rw-r-- 1 jenkins jenkins 328 May 2 06:05 .gitignore 06:11:10 -rw-rw-r-- 1 jenkins jenkins 41 May 2 06:05 .golangci.yml 06:11:10 -rw-rw-r-- 1 jenkins jenkins 9056 May 2 06:05 Attribution.txt 06:11:10 -rw-rw-r-- 1 jenkins jenkins 8355 May 2 06:05 CHANGELOG.md 06:11:10 -rw-rw-r-- 1 jenkins jenkins 1423 May 2 06:05 Dockerfile 06:11:10 -rw-rw-r-- 1 jenkins jenkins 677 May 2 06:05 GOVERNANCE.md 06:11:10 -rw-rw-r-- 1 jenkins jenkins 656 May 2 06:05 Jenkinsfile 06:11:10 -rw-rw-r-- 1 jenkins jenkins 11340 May 2 06:05 LICENSE 06:11:10 -rw-rw-r-- 1 jenkins jenkins 2114 May 2 06:05 Makefile 06:11:10 -rw-rw-r-- 1 jenkins jenkins 620 May 2 06:05 OWNERS.md 06:11:10 -rw-rw-r-- 1 jenkins jenkins 10054 May 2 06:05 README.md 06:11:10 -rw-rw-r-- 1 jenkins jenkins 5 May 2 06:02 VERSION 06:11:10 drwxrwxr-x 2 jenkins jenkins 4096 May 2 06:05 bin 06:11:10 drwxrwxr-x 3 jenkins jenkins 4096 May 2 06:05 cmd 06:11:10 -rw-r--r-- 1 jenkins jenkins 8837 May 2 06:10 coverage.out 06:11:10 -rw-rw-r-- 1 jenkins jenkins 3283 May 2 06:05 go.mod 06:11:10 -rw-rw-r-- 1 jenkins jenkins 31326 May 2 06:05 go.sum 06:11:10 drwxrwxr-x 3 jenkins jenkins 4096 May 2 06:05 internal 06:11:10 drwxrwxr-x 4 jenkins jenkins 4096 May 2 06:05 snap 06:11:10 -rw-rw-r-- 1 jenkins jenkins 228 May 2 06:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:10 + 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=4f023677b8f95915adcd63e71ce7a43dec541aef --label arch=arm64 --label version=0.0.0 . 06:11:10 Sending build context to Docker daemon 3.018MB 06:11:10 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 06:11:10 Step 2/24 : FROM ${BASE} AS builder 06:11:10 ---> a7be3185a228 06:11:10 Step 3/24 : ARG ADD_BUILD_TAGS="" 06:11:11 ---> Running in 3efde849f19e 06:11:11 Removing intermediate container 3efde849f19e 06:11:11 ---> a4b3f5cf1d0d 06:11:11 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:11:11 ---> Running in 4a73f6ca5e6e 06:11:12 Removing intermediate container 4a73f6ca5e6e 06:11:12 ---> 9e1d24d5e661 06:11:12 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:11:12 ---> Running in 74e2179fa5c1 06:11:12 Removing intermediate container 74e2179fa5c1 06:11:12 ---> 0a803c86b602 06:11:12 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 06:11:12 ---> Running in f6cb7fe0720a 06:11:12 Removing intermediate container f6cb7fe0720a 06:11:12 ---> 89503ad4ecbc 06:11:12 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:11:12 ---> Running in 4da79d3021ab 06:11:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:11:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:11:16 OK: 268 MiB in 57 packages 06:11:17 Removing intermediate container 4da79d3021ab 06:11:17 ---> 3090b4ecaa23 06:11:17 Step 8/24 : WORKDIR /device-snmp-go 06:11:17 ---> Running in 6bf25ad10560 06:11:17 Removing intermediate container 6bf25ad10560 06:11:17 ---> 286e087af0ba 06:11:17 Step 9/24 : COPY go.mod vendor* ./ 06:11:18 ---> 9dcc33897de0 06:11:18 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:11:18 ---> Running in a032d7914b86 06:11:21 Removing intermediate container a032d7914b86 06:11:21 ---> 154de47683f6 06:11:21 Step 11/24 : COPY . . 06:11:22 ---> e84cd8c51207 06:11:22 Step 12/24 : RUN ${MAKE} 06:11:22 ---> Running in ec3bf323e3c9 06:11:23 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:14:00 Removing intermediate container ec3bf323e3c9 06:14:00 ---> d4c44ed2535c 06:14:00 Step 13/24 : FROM alpine:3.17 06:14:00 3.17: Pulling from library/alpine 06:14:00 c41833b44d91: Already exists 06:14:00 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:14:00 Status: Downloaded newer image for alpine:3.17 06:14:00 ---> 51e60588ff2c 06:14:00 Step 14/24 : RUN apk add --update --no-cache dumb-init 06:14:00 ---> Running in 5729bad4d5cd 06:14:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:14:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:14:00 (1/1) Installing dumb-init (1.2.5-r2) 06:14:00 Executing busybox-1.35.0-r29.trigger 06:14:00 OK: 8 MiB in 16 packages 06:14:00 Removing intermediate container 5729bad4d5cd 06:14:00 ---> 5e0dd497e804 06:14:00 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 06:14:00 ---> 298e5c00431d 06:14:00 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 06:14:00 ---> 42b781bc154d 06:14:00 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 06:14:00 ---> 72d2349e035f 06:14:00 Step 18/24 : EXPOSE 59993 06:14:00 ---> Running in e836596fc6f3 06:14:00 Removing intermediate container e836596fc6f3 06:14:00 ---> 9337cd826967 06:14:00 Step 19/24 : EXPOSE 161 06:14:00 ---> Running in 4c7e6a7e6642 06:14:01 Removing intermediate container 4c7e6a7e6642 06:14:01 ---> a175073a7a68 06:14:01 Step 20/24 : ENTRYPOINT ["/device-snmp"] 06:14:01 ---> Running in d4ecfa4ee602 06:14:01 Removing intermediate container d4ecfa4ee602 06:14:01 ---> 77333d16e601 06:14:01 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 06:14:01 ---> Running in a28e28f5b007 06:14:02 Removing intermediate container a28e28f5b007 06:14:02 ---> 917c5d640354 06:14:02 Step 22/24 : LABEL arch=arm64 06:14:02 ---> Running in 1e9b8f607413 06:14:02 Removing intermediate container 1e9b8f607413 06:14:02 ---> 9633cf2a2752 06:14:02 Step 23/24 : LABEL git_sha=4f023677b8f95915adcd63e71ce7a43dec541aef 06:14:02 ---> Running in d2e5a1f86b67 06:14:02 Removing intermediate container d2e5a1f86b67 06:14:02 ---> afea30d4c2ac 06:14:02 Step 24/24 : LABEL version=0.0.0 06:14:02 ---> Running in 7af0e33e476b 06:14:03 Removing intermediate container 7af0e33e476b 06:14:03 ---> e96741df4223 06:14:03 [Warning] One or more build-args [ARCH] were not consumed 06:14:03 Successfully built e96741df4223 06:14:03 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:14:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:14:04 06:14:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:14:04 arm64: Pulling from edgex-lftools-log-publisher 06:14:04 8998bd30e6a1: Pulling fs layer 06:14:04 04944245beec: Pulling fs layer 06:14:04 699f458cf7ca: Pulling fs layer 06:14:04 765212b225bb: Pulling fs layer 06:14:04 f23df028b6ca: Pulling fs layer 06:14:04 d65c8cfc05b1: Pulling fs layer 06:14:04 2437ff75d9bd: Pulling fs layer 06:14:04 f23df028b6ca: Waiting 06:14:04 d65c8cfc05b1: Waiting 06:14:04 2437ff75d9bd: Waiting 06:14:04 765212b225bb: Waiting 06:14:04 04944245beec: Download complete 06:14:04 765212b225bb: Verifying Checksum 06:14:04 765212b225bb: Download complete 06:14:04 f23df028b6ca: Verifying Checksum 06:14:04 f23df028b6ca: Download complete 06:14:04 d65c8cfc05b1: Verifying Checksum 06:14:04 d65c8cfc05b1: Download complete 06:14:05 699f458cf7ca: Verifying Checksum 06:14:05 699f458cf7ca: Download complete 06:14:05 8998bd30e6a1: Verifying Checksum 06:14:05 8998bd30e6a1: Download complete 06:14:08 2437ff75d9bd: Verifying Checksum 06:14:08 2437ff75d9bd: Download complete 06:14:09 8998bd30e6a1: Pull complete 06:14:12 04944245beec: Pull complete 06:14:13 699f458cf7ca: Pull complete 06:14:13 765212b225bb: Pull complete 06:14:14 f23df028b6ca: Pull complete 06:14:14 d65c8cfc05b1: Pull complete 06:14:29 2437ff75d9bd: Pull complete 06:14:29 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:14:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:14:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:14:29 prd-ubuntu20.04-docker-arm64-4c-16g-12326 does not seem to be running inside a container 06:14: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/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:14:32 $ docker top 84a38bbaa53ec2d422ca6ab62599870f378336b7d918012d30a0d1ba7904cfec -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:14:33 ---> job-cost.sh 06:14:33 lf-activate-venv: SKIPPING 06:14:33 INFO: No Stack... 06:14:34 INFO: Retrieving Pricing Info for: v3-standard-4 06:14:35 INFO: Archiving Costs [Pipeline] sh 06:14:35 + + catcut /w/workspace/device-snmp-go/1/archives/cost.csv -d, 06:14:35 -f6 [Pipeline] lock 06:14:35 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-298-1-stack-cost] 06:14:35 Resource [jenkins-edgexfoundry-device-snmp-go-PR-298-1-stack-cost] did not exist. Created. 06:14:35 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-298-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:14:36 /w/workspace/device-snmp-go/1@tmp/durable-8954519c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:14:37 + echo total: 0.10999999940395355 [Pipeline] stash 06:14:37 Warning: overwriting stash ‘stack-cost’ 06:14:37 Stashed 1 file(s) [Pipeline] } 06:14:37 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-298-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:14:37 $ docker stop --time=1 84a38bbaa53ec2d422ca6ab62599870f378336b7d918012d30a0d1ba7904cfec 06:14:39 $ docker rm -f --volumes 84a38bbaa53ec2d422ca6ab62599870f378336b7d918012d30a0d1ba7904cfec [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:14:40 provisioning config files... 06:14:40 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-298@tmp/config10618447421909186992tmp [Pipeline] { [Pipeline] sh 06:14:40 + set +x 06:14:40 + bash -s -- 06:14:40 + curl -s https://codecov.io/bash 06:14:40 06:14:40 _____ _ 06:14:40 / ____| | | 06:14:40 | | ___ __| | ___ ___ _____ __ 06:14:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:14:40 | |___| (_) | (_| | __/ (_| (_) \ V / 06:14:40 \_____\___/ \__,_|\___|\___\___/ \_/ 06:14:40 Bash-1.0.6 06:14:40 06:14:40 06:14:40 ==> git version 2.25.1 found 06:14:40 ==> 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:14:40 Release-Date: 2020-01-08 06:14:40 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:14:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:14:40 ==> Jenkins CI detected. 06:14:40 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-298 06:14:40 project root: . 06:14:40 --> token set from env 06:14:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:14:40 ==> Running gcov in . (disable via -X gcov) 06:14:40 ==> Python coveragepy not found 06:14:40 ==> Searching for coverage reports in: 06:14:40 + . 06:14:40 -> Found 1 reports 06:14:40 ==> Detecting git/mercurial file structure 06:14:40 ==> Reading reports 06:14:40 + ./coverage.out bytes=8837 06:14:40 ==> Appending adjustments 06:14:40 https://docs.codecov.io/docs/fixing-reports 06:14:40 + Found adjustments 06:14:40 ==> Gzipping contents 06:14:40 4.0K /tmp/codecov.lzWg7A.gz 06:14:40 ==> Uploading reports 06:14:40 url: https://codecov.io 06:14:40 query: branch=PR-298&commit=4f023677b8f95915adcd63e71ce7a43dec541aef&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-298%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=298&job=&cmd_args= 06:14:40 -> Pinging Codecov 06:14:40 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-298&commit=4f023677b8f95915adcd63e71ce7a43dec541aef&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-298%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=298&job=&cmd_args= 06:14:40 -> Uploading to 06:14:40 https://storage.googleapis.com/codecov/v4/raw/2023-05-02/6C56EA5C29638FB4528AC87E60AF5AE0/4f023677b8f95915adcd63e71ce7a43dec541aef/a221c0a8-5779-4155-96a9-de0ee030d90f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230502%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230502T061440Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1348ecc7eb78d917dfdff6fc4dda3c0cd7b431106dde8e00a68061e0a881f975 06:14:41 % Total % Received % Xferd Average Speed Time Time Time Current 06:14:41 Dload Upload Total Spent Left Speed 06:14:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1604 0 0 100 1604 0 7495 --:--:-- --:--:-- --:--:-- 7495 06:14:41 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/4f023677b8f95915adcd63e71ce7a43dec541aef [Pipeline] } 06:14:41 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:14:42 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-298/archives ] 06:14:42 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-298/archives 06:14:42 total 16 06:14:42 drwxr-xr-x 3 root root 4096 May 2 06:05 . 06:14:42 drwxrwxr-x 10 jenkins jenkins 4096 May 2 06:05 .. 06:14:42 drwxr-xr-x 2 root root 4096 May 2 06:05 cost 06:14:42 -rw-r--r-- 1 root root 86 May 2 06:05 cost.csv 06:14:42 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-298/archives 06:14:42 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-298/archives 06:14:42 total 16 06:14:42 drwxr-xr-x 3 jenkins jenkins 4096 May 2 06:05 . 06:14:42 drwxrwxr-x 10 jenkins jenkins 4096 May 2 06:05 .. 06:14:42 drwxr-xr-x 2 jenkins jenkins 4096 May 2 06:05 cost 06:14:42 -rw-r--r-- 1 jenkins jenkins 86 May 2 06:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:14:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:14:44 ---> package-listing.sh 06:14:44 ++ facter osfamily 06:14:44 ++ tr '[:upper:]' '[:lower:]' 06:14:44 + OS_FAMILY=debian 06:14:44 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-298 06:14:44 + START_PACKAGES=/tmp/packages_start.txt 06:14:44 + END_PACKAGES=/tmp/packages_end.txt 06:14:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:14:44 + PACKAGES=/tmp/packages_start.txt 06:14:44 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-298 ']' 06:14:44 + PACKAGES=/tmp/packages_end.txt 06:14:44 + case "${OS_FAMILY}" in 06:14:44 + dpkg -l 06:14:44 + grep '^ii' 06:14:44 + '[' -f /tmp/packages_start.txt ']' 06:14:44 + '[' -f /tmp/packages_end.txt ']' 06:14:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:14:44 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-298 ']' 06:14:44 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-298/archives/ 06:14:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-298/archives/ [Pipeline] echo 06:14:44 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-298/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:14:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:14:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:14:45 prd-ubuntu20.04-docker-8c-8g-12320 does not seem to be running inside a container 06:14:45 $ 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-298/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-298 -v /w/workspace/gexfoundry_device-snmp-go_PR-298:/w/workspace/gexfoundry_device-snmp-go_PR-298:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-298@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-298@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:14:45 $ docker top 153ab6b53c05591c5e539df6d80546ff9ff824ec2952836404f5c29363aba00c -eo pid,comm [Pipeline] { [Pipeline] sh 06:14:46 + touch /tmp/pre-build-complete [Pipeline] sh 06:14:46 + mkdir -p /var/log/sysstat [Pipeline] sh 06:14:46 + ls /var/log/sa-host 06:14:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:14:46 provisioning config files... 06:14:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-298@tmp/config13279970769622526170tmp [Pipeline] { [Pipeline] echo 06:14:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:14:47 ---> create-netrc.sh [Pipeline] } 06:14:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:14:47 ---> python-tools-install.sh [Pipeline] echo 06:14:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:14:47 ---> sudo-logs.sh 06:14:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:14:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:14:48 ---> job-cost.sh 06:14:48 lf-activate-venv: SKIPPING 06:14:48 DEBUG: total: 0.2199999988079071 06:14:48 INFO: Retrieving Stack Cost... 06:14:48 INFO: Retrieving Pricing Info for: v3-standard-8 06:14:49 INFO: Archiving Costs [Pipeline] echo 06:14:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:14:49 ---> logs-deploy.sh 06:14:49 lf-activate-venv: SKIPPING 06:14:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-298/1 06:14:49 INFO: archiving workspace using pattern(s): 06:14:50 Archives upload complete. 06:14:50 INFO: archiving logs to Nexus