Pull request #284 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-snmp-go Loading trusted files from base branch main at e525481a5759a3c7c2210679b705fbdd3017b839 rather than ee514b3e20f5123b5dc3fac02359f91b932243a6 Obtained Jenkinsfile from e525481a5759a3c7c2210679b705fbdd3017b839 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9000882283627083218.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-ssh1481796382120236215.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-284/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-284/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15526885929147946900.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11993104939145371687.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-284/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-284/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17498672427157486001.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8429 in /w/workspace/gexfoundry_device-snmp-go_PR-284 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/gexfoundry_device-snmp-go_PR-284 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/284/head:refs/remotes/origin/PR-284 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e525481a5759a3c7c2210679b705fbdd3017b839 into PR head commit ee514b3e20f5123b5dc3fac02359f91b932243a6 Merge succeeded, producing ee514b3e20f5123b5dc3fac02359f91b932243a6 Checking out Revision ee514b3e20f5123b5dc3fac02359f91b932243a6 (PR-284) > git config core.sparsecheckout # timeout=10 > git checkout -f ee514b3e20f5123b5dc3fac02359f91b932243a6 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge e525481a5759a3c7c2210679b705fbdd3017b839 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ee514b3e20f5123b5dc3fac02359f91b932243a6 # timeout=10 Commit message: "feat!: Consume SDK interface changes" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:36:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git rev-list --no-walk 6780626918d56b561ff4ae98266f2ed4d4c053fc # timeout=10 [Pipeline] withCredentials 07:36:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:36:15 ========================================================= 07:36:15 EdgeX Global Pipelines Version Info 07:36:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:36:16 ------------------- 07:36:16 stable info: 07:36:16 ------------------- 07:36:16 Commited By: Bill Mahoney bill.mahoney@intel.com 07:36:16 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 07:36:16 Message: update stable to v1.0.248 07:36:16 ------------------- 07:36:16 experimental info: 07:36:16 ------------------- 07:36:16 Commited By: **** collab-it+edgex@linuxfoundation.org 07:36:16 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 07:36:16 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:36:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 07:36:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 07:36:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:36:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:36:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:36:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 07:36:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:36:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:36:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:36:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:36:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:36:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 07:36:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:36:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:36:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:36:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:36:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:36:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:36:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:36:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:36:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:36:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:36:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:36:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:36:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:36:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:36:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:36:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-284 [Pipeline] echo 07:36:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-284 [Pipeline] echo 07:36:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-284 [Pipeline] echo 07:36:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ee514b3e20f5123b5dc3fac02359f91b932243a6 [Pipeline] echo 07:36:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ee514b3 [Pipeline] echo 07:36:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:36:17 provisioning config files... 07:36:17 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-284@tmp/config7302099943023606634tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:36:17 ---> docker-login.sh 07:36:17 nexus3.edgexfoundry.org:10001 07:36:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:36:18 Configure a credential helper to remove this warning. See 07:36:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:36:18 07:36:18 Login Succeeded 07:36:18 nexus3.edgexfoundry.org:10002 07:36:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:36:18 Configure a credential helper to remove this warning. See 07:36:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:36:18 07:36:18 Login Succeeded 07:36:18 nexus3.edgexfoundry.org:10003 07:36:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:36:18 Configure a credential helper to remove this warning. See 07:36:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:36:18 07:36:18 Login Succeeded 07:36:18 nexus3.edgexfoundry.org:10004 07:36:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:36:18 Configure a credential helper to remove this warning. See 07:36:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:36:18 07:36:18 Login Succeeded 07:36:18 docker.io 07:36:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:36:18 Configure a credential helper to remove this warning. See 07:36:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:36:18 07:36:18 Login Succeeded 07:36:18 ---> docker-login.sh ends [Pipeline] } 07:36:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:36:18 + git rev-list -1 --merges ee514b3e20f5123b5dc3fac02359f91b932243a6~1..ee514b3e20f5123b5dc3fac02359f91b932243a6 [Pipeline] echo 07:36:19 -----------> git rev-list -1 --merges ee514b3e20f5123b5dc3fac02359f91b932243a6~1..ee514b3e20f5123b5dc3fac02359f91b932243a6 ee514b3e20f5123b5dc3fac02359f91b932243a6 [false] [Pipeline] sh 07:36:19 + git log --format=format:%s -1 ee514b3e20f5123b5dc3fac02359f91b932243a6 [Pipeline] echo 07:36:19 ========================================================= 07:36:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:36:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:36:19 + git log --format=format:%s -1 ee514b3e20f5123b5dc3fac02359f91b932243a6 [Pipeline] echo 07:36:19 [semverPrep] GIT_COMMIT: ee514b3e20f5123b5dc3fac02359f91b932243a6, Commit Message: feat!: Consume SDK interface changes [Pipeline] echo 07:36:19 [semverPrep] This is not a build commit. [Pipeline] sh 07:36:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:36:20 + grep -v github /etc/ssh/ssh_known_hosts 07:36:20 + [ -e /tmp/ssh_known_hosts ] 07:36:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:36:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:36:20 + sudo tee -a /etc/ssh/ssh_known_hosts 07:36:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:36:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:36:20 07:36:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:36:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:36:20 0.1.4: Pulling from edgex-devops/py-git-semver 07:36:20 b85a868b505f: Pulling fs layer 07:36:20 e2be974225ed: Pulling fs layer 07:36:20 339a4e72a1f5: Pulling fs layer 07:36:20 988bab9f4d93: Pulling fs layer 07:36:20 1469e6f7b9e6: Pulling fs layer 07:36:20 eaf3925da568: Pulling fs layer 07:36:20 bab4dde63d76: Pulling fs layer 07:36:20 bde34c3a00c8: Pulling fs layer 07:36:20 b352a97aabf1: Pulling fs layer 07:36:20 4872d77fe225: Pulling fs layer 07:36:20 5851b861e8e6: Pulling fs layer 07:36:20 988bab9f4d93: Waiting 07:36:20 1469e6f7b9e6: Waiting 07:36:20 eaf3925da568: Waiting 07:36:20 bab4dde63d76: Waiting 07:36:20 bde34c3a00c8: Waiting 07:36:20 b352a97aabf1: Waiting 07:36:20 4872d77fe225: Waiting 07:36:20 5851b861e8e6: Waiting 07:36:20 e2be974225ed: Download complete 07:36:20 988bab9f4d93: Download complete 07:36:20 1469e6f7b9e6: Verifying Checksum 07:36:20 1469e6f7b9e6: Download complete 07:36:20 339a4e72a1f5: Verifying Checksum 07:36:20 339a4e72a1f5: Download complete 07:36:20 eaf3925da568: Download complete 07:36:20 bde34c3a00c8: Download complete 07:36:21 b352a97aabf1: Verifying Checksum 07:36:21 b352a97aabf1: Download complete 07:36:21 4872d77fe225: Download complete 07:36:21 5851b861e8e6: Verifying Checksum 07:36:21 5851b861e8e6: Download complete 07:36:21 b85a868b505f: Verifying Checksum 07:36:21 b85a868b505f: Download complete 07:36:21 bab4dde63d76: Verifying Checksum 07:36:21 bab4dde63d76: Download complete 07:36:22 b85a868b505f: Pull complete 07:36:22 e2be974225ed: Pull complete 07:36:22 339a4e72a1f5: Pull complete 07:36:22 988bab9f4d93: Pull complete 07:36:23 1469e6f7b9e6: Pull complete 07:36:23 eaf3925da568: Pull complete 07:36:24 bab4dde63d76: Pull complete 07:36:24 bde34c3a00c8: Pull complete 07:36:24 b352a97aabf1: Pull complete 07:36:24 4872d77fe225: Pull complete 07:36:24 5851b861e8e6: Pull complete 07:36:24 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:36:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:36:24 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:36:25 prd-ubuntu20.04-docker-8c-8g-8429 does not seem to be running inside a container 07:36:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-284 -v /w/workspace/gexfoundry_device-snmp-go_PR-284:/w/workspace/gexfoundry_device-snmp-go_PR-284:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-284@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-284@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:36:27 $ docker top b87ec94688ba76de1ddfd8c00fb4455f83974a4d5dd5e974fc33ac2d69418a65 -eo pid,comm 07:36:27 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). 07:36:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:36:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:36:27 [ssh-agent] Looking for ssh-agent implementation... 07:36:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:36:27 $ docker exec b87ec94688ba76de1ddfd8c00fb4455f83974a4d5dd5e974fc33ac2d69418a65 ssh-agent 07:36:27 SSH_AUTH_SOCK=/tmp/ssh-ejGc6uXqlQ6R/agent.32 07:36:27 SSH_AGENT_PID=38 07:36:27 Running ssh-add (command line suppressed) 07:36:27 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-284@tmp/private_key_17239474944871220294.key (/w/workspace/gexfoundry_device-snmp-go_PR-284@tmp/private_key_17239474944871220294.key) 07:36:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:36:27 + git tag --points-at HEAD [Pipeline] } 07:36:27 $ docker exec --env ******** --env ******** b87ec94688ba76de1ddfd8c00fb4455f83974a4d5dd5e974fc33ac2d69418a65 ssh-agent -k 07:36:28 unset SSH_AUTH_SOCK; 07:36:28 unset SSH_AGENT_PID; 07:36:28 echo Agent pid 38 killed; 07:36:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:36:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:36:28 [ssh-agent] Looking for ssh-agent implementation... 07:36:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:36:28 $ docker exec b87ec94688ba76de1ddfd8c00fb4455f83974a4d5dd5e974fc33ac2d69418a65 ssh-agent 07:36:28 SSH_AUTH_SOCK=/tmp/ssh-EBBuOalld2ye/agent.70 07:36:28 SSH_AGENT_PID=76 07:36:28 Running ssh-add (command line suppressed) 07:36:28 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-284@tmp/private_key_4441659216424659833.key (/w/workspace/gexfoundry_device-snmp-go_PR-284@tmp/private_key_4441659216424659833.key) 07:36:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:36:28 + git semver init 07:36:29 2023-04-13 07:36:28,954 [run_init] DEBUG init version:0.0.0 force:False 07:36:29 2023-04-13 07:36:28,955 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-284/.semver 07:36:29 2023-04-13 07:36:28,955 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-284/.semver 07:36:29 2023-04-13 07:36:28,955 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-284/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-284, universal_newlines=False, shell=None, istream=None) 07:36:31 2023-04-13 07:36:31,414 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-284/.git/info/exclude 07:36:31 2023-04-13 07:36:31,415 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-284/.semver/PR-284 with force:False 07:36:31 2023-04-13 07:36:31,415 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-284/.semver/PR-284 07:36:31 2023-04-13 07:36:31,419 [execute] INFO git cat-file --batch-check 07:36:31 2023-04-13 07:36:31,420 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-284/.semver, universal_newlines=False, shell=None, istream=) 07:36:31 2023-04-13 07:36:31,426 [execute] INFO git cat-file --batch 07:36:31 2023-04-13 07:36:31,426 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-284/.semver, universal_newlines=False, shell=None, istream=) 07:36:31 2023-04-13 07:36:31,430 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-284/.semver/PR-284 07:36:31 0.0.0 [Pipeline] } 07:36:31 $ docker exec --env ******** --env ******** b87ec94688ba76de1ddfd8c00fb4455f83974a4d5dd5e974fc33ac2d69418a65 ssh-agent -k 07:36:31 unset SSH_AUTH_SOCK; 07:36:31 unset SSH_AGENT_PID; 07:36:31 echo Agent pid 76 killed; 07:36:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:36:32 + git semver [Pipeline] } 07:36:32 $ docker stop --time=1 b87ec94688ba76de1ddfd8c00fb4455f83974a4d5dd5e974fc33ac2d69418a65 07:36:33 $ docker rm -f --volumes b87ec94688ba76de1ddfd8c00fb4455f83974a4d5dd5e974fc33ac2d69418a65 [Pipeline] // withDockerContainer [Pipeline] sh 07:36:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:36:34 Stashed 1 file(s) [Pipeline] echo 07:36:34 [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 07:36:34 provisioning config files... 07:36:34 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-284@tmp/config1703495362688077108tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:36:34 ---> docker-login.sh 07:36:34 nexus3.edgexfoundry.org:10001 07:36:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:36:34 Configure a credential helper to remove this warning. See 07:36:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:36:34 07:36:34 Login Succeeded 07:36:34 nexus3.edgexfoundry.org:10002 07:36:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:36:34 Configure a credential helper to remove this warning. See 07:36:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:36:34 07:36:34 Login Succeeded 07:36:34 nexus3.edgexfoundry.org:10003 07:36:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:36:34 Configure a credential helper to remove this warning. See 07:36:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:36:34 07:36:34 Login Succeeded 07:36:34 nexus3.edgexfoundry.org:10004 07:36:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:36:34 Configure a credential helper to remove this warning. See 07:36:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:36:34 07:36:34 Login Succeeded 07:36:34 docker.io 07:36:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:36:35 Configure a credential helper to remove this warning. See 07:36:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:36:35 07:36:35 Login Succeeded 07:36:35 ---> docker-login.sh ends [Pipeline] } 07:36:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:36:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:36:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:36:35 ========================================================= 07:36:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 07:36:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:36:35 + 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 . 07:36:35 Sending build context to Docker daemon 5.786MB 07:36:35 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 07:36:35 Step 2/12 : FROM ${BASE} AS builder 07:36:35 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 07:36:35 63b65145d645: Pulling fs layer 07:36:35 a2d21d5440eb: Pulling fs layer 07:36:35 935e6c44a52c: Pulling fs layer 07:36:35 94cc34f8dd06: Pulling fs layer 07:36:35 30dea6a524f1: Pulling fs layer 07:36:35 a2aff8979fd8: Pulling fs layer 07:36:35 6808be2612f2: Pulling fs layer 07:36:35 f25807f1079a: Pulling fs layer 07:36:35 94cc34f8dd06: Waiting 07:36:35 30dea6a524f1: Waiting 07:36:35 a2aff8979fd8: Waiting 07:36:35 6808be2612f2: Waiting 07:36:35 f25807f1079a: Waiting 07:36:35 a2d21d5440eb: Download complete 07:36:35 94cc34f8dd06: Download complete 07:36:35 30dea6a524f1: Verifying Checksum 07:36:35 30dea6a524f1: Download complete 07:36:35 63b65145d645: Verifying Checksum 07:36:35 63b65145d645: Download complete 07:36:35 a2aff8979fd8: Verifying Checksum 07:36:35 a2aff8979fd8: Download complete 07:36:35 63b65145d645: Pull complete 07:36:36 a2d21d5440eb: Pull complete 07:36:36 f25807f1079a: Verifying Checksum 07:36:36 935e6c44a52c: Download complete 07:36:36 6808be2612f2: Verifying Checksum 07:36:36 6808be2612f2: Download complete 07:36:39 935e6c44a52c: Pull complete 07:36:39 94cc34f8dd06: Pull complete 07:36:39 30dea6a524f1: Pull complete 07:36:39 a2aff8979fd8: Pull complete 07:36:42 6808be2612f2: Pull complete 07:36:42 f25807f1079a: Pull complete 07:36:42 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 07:36:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 07:36:42 ---> 3b553350e43f 07:36:42 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:36:46 ---> Running in e40382969dab 07:36:46 Removing intermediate container e40382969dab 07:36:46 ---> 669776da7ed0 07:36:46 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:36:46 ---> Running in 72a80ad6d290 07:36:46 Removing intermediate container 72a80ad6d290 07:36:46 ---> 458f3e8c0368 07:36:46 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:36:46 ---> Running in fecbc4bb34c5 07:36:46 Removing intermediate container fecbc4bb34c5 07:36:46 ---> 0f600bde3505 07:36:46 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:36:46 ---> Running in e7f4f965b0a0 07:36:46 Removing intermediate container e7f4f965b0a0 07:36:46 ---> de822c10cd01 07:36:46 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:36:46 ---> Running in b4bea5edd89e 07:36:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:36:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:36:47 (1/4) Installing openssh-keygen (9.1_p1-r2) 07:36:47 (2/4) Installing libedit (20221030.3.1-r0) 07:36:47 (3/4) Installing openssh-client-common (9.1_p1-r2) 07:36:47 (4/4) Installing openssh-client-default (9.1_p1-r2) 07:36:47 Executing busybox-1.35.0-r29.trigger 07:36:47 OK: 269 MiB in 57 packages 07:36:48 Removing intermediate container b4bea5edd89e 07:36:48 ---> 396d42ffdb38 07:36:48 Step 8/12 : WORKDIR /device-snmp-go 07:36:48 ---> Running in 40e47720105e 07:36:48 Removing intermediate container 40e47720105e 07:36:48 ---> 9694b36e84cc 07:36:48 Step 9/12 : COPY go.mod vendor* ./ 07:36:48 ---> 87814874fea1 07:36:48 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:36:48 ---> Running in 5d295de5520a 07:36:49 Still waiting to schedule task 07:36:49 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 07:37:14 Removing intermediate container 5d295de5520a 07:37:14 ---> 2b1a2387748b 07:37:14 Step 11/12 : COPY . . 07:37:14 ---> a1a65fb45a49 07:37:14 Step 12/12 : RUN ${MAKE} 07:37:14 ---> Running in 9dbaeded0aac 07:37:15 noop 07:37:15 Removing intermediate container 9dbaeded0aac 07:37:15 ---> f6ee9b8e56f3 07:37:15 Successfully built f6ee9b8e56f3 07:37:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:37:15 + docker inspect -f . ci-base-image-x86_64 07:37:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:37:15 prd-ubuntu20.04-docker-8c-8g-8429 does not seem to be running inside a container 07:37:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-284 -v /w/workspace/gexfoundry_device-snmp-go_PR-284:/w/workspace/gexfoundry_device-snmp-go_PR-284:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-284@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-284@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:37:16 $ docker top 966b51721a1013f1807b806ab147bf0eaa8a31f7a094df7ab9001c8ed29eb69b -eo pid,comm [Pipeline] { [Pipeline] sh 07:37:16 + go version 07:37:16 go version go1.20.2 linux/amd64 [Pipeline] } 07:37:16 $ docker stop --time=1 966b51721a1013f1807b806ab147bf0eaa8a31f7a094df7ab9001c8ed29eb69b 07:37:17 $ docker rm -f --volumes 966b51721a1013f1807b806ab147bf0eaa8a31f7a094df7ab9001c8ed29eb69b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:37:18 + docker inspect -f . ci-base-image-x86_64 07:37:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:37:18 prd-ubuntu20.04-docker-8c-8g-8429 does not seem to be running inside a container 07:37:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-snmp-go_PR-284 -v /w/workspace/gexfoundry_device-snmp-go_PR-284:/w/workspace/gexfoundry_device-snmp-go_PR-284:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-284@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-284@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:37:18 $ docker top 8141ee6a2e2e7211371d19fa7f1245aef4aa0abfe416fff1406c6453d7b71bae -eo pid,comm [Pipeline] { [Pipeline] sh 07:37:19 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-284 [Pipeline] fileExists [Pipeline] sh 07:37:19 + make test 07:37:19 go test ./... -coverprofile=coverage.out 07:37:24 ? github.com/edgexfoundry/device-snmp-go [no test files] 07:37:32 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 07:37:32 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.008s coverage: 0.0% of statements 07:37:39 go vet ./... 07:37:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:37:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:37:42 ./bin/test-attribution-txt.sh 07:37:42 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 07:37:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:37:42 $ docker stop --time=1 8141ee6a2e2e7211371d19fa7f1245aef4aa0abfe416fff1406c6453d7b71bae 07:37:45 $ docker rm -f --volumes 8141ee6a2e2e7211371d19fa7f1245aef4aa0abfe416fff1406c6453d7b71bae [Pipeline] // withDockerContainer [Pipeline] sh 07:37:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:37:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:37:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:37:46 + ls -al . 07:37:46 total 172 07:37:46 drwxrwxr-x 9 jenkins jenkins 4096 Apr 13 07:37 . 07:37:46 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 07:36 .. 07:37:46 -rw-rw-r-- 1 jenkins jenkins 6 Apr 13 07:36 .dockerignore 07:37:46 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 07:36 .git 07:37:46 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:36 .github 07:37:46 -rw-rw-r-- 1 jenkins jenkins 328 Apr 13 07:36 .gitignore 07:37:46 -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 07:36 .golangci.yml 07:37:46 drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 07:36 .semver 07:37:46 -rw-rw-r-- 1 jenkins jenkins 8926 Apr 13 07:36 Attribution.txt 07:37:46 -rw-rw-r-- 1 jenkins jenkins 8355 Apr 13 07:36 CHANGELOG.md 07:37:46 -rw-rw-r-- 1 jenkins jenkins 1423 Apr 13 07:36 Dockerfile 07:37:46 -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 07:36 GOVERNANCE.md 07:37:46 -rw-rw-r-- 1 jenkins jenkins 656 Apr 13 07:36 Jenkinsfile 07:37:46 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 07:36 LICENSE 07:37:46 -rw-rw-r-- 1 jenkins jenkins 2114 Apr 13 07:36 Makefile 07:37:46 -rw-rw-r-- 1 jenkins jenkins 620 Apr 13 07:36 OWNERS.md 07:37:46 -rw-rw-r-- 1 jenkins jenkins 10054 Apr 13 07:36 README.md 07:37:46 -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 07:36 VERSION 07:37:46 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 07:36 bin 07:37:46 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:36 cmd 07:37:46 -rw-r--r-- 1 jenkins jenkins 8751 Apr 13 07:37 coverage.out 07:37:46 -rw-rw-r-- 1 jenkins jenkins 3283 Apr 13 07:36 go.mod 07:37:46 -rw-rw-r-- 1 jenkins jenkins 31551 Apr 13 07:36 go.sum 07:37:46 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:36 internal 07:37:46 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 07:36 snap 07:37:46 -rw-rw-r-- 1 jenkins jenkins 228 Apr 13 07:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:37:46 + 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=ee514b3e20f5123b5dc3fac02359f91b932243a6 --label arch=amd64 --label version=0.0.0 . 07:37:46 Sending build context to Docker daemon 5.796MB 07:37:46 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 07:37:46 Step 2/24 : FROM ${BASE} AS builder 07:37:46 ---> f6ee9b8e56f3 07:37:46 Step 3/24 : ARG ADD_BUILD_TAGS="" 07:37:46 ---> Running in 2d85fff27e2c 07:37:46 Removing intermediate container 2d85fff27e2c 07:37:46 ---> 23578c459099 07:37:46 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:37:46 ---> Running in 8c4a808b5dec 07:37:46 Removing intermediate container 8c4a808b5dec 07:37:46 ---> 36d130b1816e 07:37:46 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:37:46 ---> Running in f584744937e1 07:37:46 Removing intermediate container f584744937e1 07:37:46 ---> 3a4661cf7350 07:37:46 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 07:37:46 ---> Running in 9385c139c1db 07:37:47 Removing intermediate container 9385c139c1db 07:37:47 ---> fb91835ec9c6 07:37:47 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:37:47 ---> Running in 9c79aa1817e3 07:37:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:37:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:37:47 OK: 269 MiB in 57 packages 07:37:48 Removing intermediate container 9c79aa1817e3 07:37:48 ---> 623b81cc830e 07:37:48 Step 8/24 : WORKDIR /device-snmp-go 07:37:48 ---> Running in b84b0f927af6 07:37:48 Removing intermediate container b84b0f927af6 07:37:48 ---> 1dec7eda10db 07:37:48 Step 9/24 : COPY go.mod vendor* ./ 07:37:48 ---> 2877af73a7e5 07:37:48 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:37:48 ---> Running in 44a094f5887e 07:37:49 Removing intermediate container 44a094f5887e 07:37:49 ---> e032a2e18759 07:37:49 Step 11/24 : COPY . . 07:37:49 ---> acec247c1159 07:37:49 Step 12/24 : RUN ${MAKE} 07:37:49 ---> Running in a3be6ac55bd9 07:37:49 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 07:38:07 Removing intermediate container a3be6ac55bd9 07:38:07 ---> 33328f0f04e1 07:38:07 Step 13/24 : FROM alpine:3.17 07:38:08 3.17: Pulling from library/alpine 07:38:08 f56be85fc22e: Pulling fs layer 07:38:08 f56be85fc22e: Verifying Checksum 07:38:08 f56be85fc22e: Download complete 07:38:08 f56be85fc22e: Pull complete 07:38:08 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 07:38:08 Status: Downloaded newer image for alpine:3.17 07:38:08 ---> 9ed4aefc74f6 07:38:08 Step 14/24 : RUN apk add --update --no-cache dumb-init 07:38:08 ---> Running in ebb1b3a831bc 07:38:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:38:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:38:09 (1/1) Installing dumb-init (1.2.5-r2) 07:38:09 Executing busybox-1.35.0-r29.trigger 07:38:09 OK: 7 MiB in 16 packages 07:38:09 Removing intermediate container ebb1b3a831bc 07:38:09 ---> 2c2487024058 07:38:09 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 07:38:10 ---> efb142fd4402 07:38:10 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 07:38:10 ---> 05912331fe17 07:38:10 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 07:38:10 ---> 8e8a05067dbb 07:38:10 Step 18/24 : EXPOSE 59993 07:38:10 ---> Running in 59f44983099e 07:38:10 Removing intermediate container 59f44983099e 07:38:10 ---> a8cc33198608 07:38:10 Step 19/24 : EXPOSE 161 07:38:10 ---> Running in a5ade8244e14 07:38:10 Removing intermediate container a5ade8244e14 07:38:10 ---> 6157edd888f2 07:38:10 Step 20/24 : ENTRYPOINT ["/device-snmp"] 07:38:10 ---> Running in 0b96a4f8e458 07:38:10 Removing intermediate container 0b96a4f8e458 07:38:10 ---> 555ccf01b6ef 07:38:10 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 07:38:10 ---> Running in 4d54dce8523d 07:38:11 Removing intermediate container 4d54dce8523d 07:38:11 ---> 2febb91f6b54 07:38:11 Step 22/24 : LABEL arch=amd64 07:38:11 ---> Running in 36715256826b 07:38:11 Removing intermediate container 36715256826b 07:38:11 ---> 9459ddd4810b 07:38:11 Step 23/24 : LABEL git_sha=ee514b3e20f5123b5dc3fac02359f91b932243a6 07:38:11 ---> Running in 75f9165dbef5 07:38:11 Removing intermediate container 75f9165dbef5 07:38:11 ---> 8d44c2e14daf 07:38:11 Step 24/24 : LABEL version=0.0.0 07:38:11 ---> Running in 7c5b3d3c37c2 07:38:11 Removing intermediate container 7c5b3d3c37c2 07:38:11 ---> e51fdfdeaac7 07:38:11 [Warning] One or more build-args [ARCH] were not consumed 07:38:11 Successfully built e51fdfdeaac7 07:38:11 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 07:38:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:38:11 07:38:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:38:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:38:12 latest: Pulling from edgex-lftools-log-publisher 07:38:12 5eb5b503b376: Pulling fs layer 07:38:12 5c69ac0246d0: Pulling fs layer 07:38:12 ec43610c2a17: Pulling fs layer 07:38:12 3a2ae6a8a46f: Pulling fs layer 07:38:12 33b1e0a273af: Pulling fs layer 07:38:12 5d3b04190fa2: Pulling fs layer 07:38:12 2f39f015ded8: Pulling fs layer 07:38:12 33b1e0a273af: Waiting 07:38:12 5d3b04190fa2: Waiting 07:38:12 2f39f015ded8: Waiting 07:38:12 3a2ae6a8a46f: Waiting 07:38:12 5c69ac0246d0: Download complete 07:38:12 3a2ae6a8a46f: Download complete 07:38:12 33b1e0a273af: Verifying Checksum 07:38:12 33b1e0a273af: Download complete 07:38:12 ec43610c2a17: Verifying Checksum 07:38:12 ec43610c2a17: Download complete 07:38:12 5d3b04190fa2: Verifying Checksum 07:38:12 5d3b04190fa2: Download complete 07:38:12 5eb5b503b376: Verifying Checksum 07:38:12 5eb5b503b376: Download complete 07:38:12 2f39f015ded8: Download complete 07:38:13 5eb5b503b376: Pull complete 07:38:13 5c69ac0246d0: Pull complete 07:38:13 ec43610c2a17: Pull complete 07:38:13 3a2ae6a8a46f: Pull complete 07:38:14 33b1e0a273af: Pull complete 07:38:14 5d3b04190fa2: Pull complete 07:38:18 2f39f015ded8: Pull complete 07:38:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:38:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:38:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:38:18 prd-ubuntu20.04-docker-8c-8g-8429 does not seem to be running inside a container 07:38:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_PR-284 -v /w/workspace/gexfoundry_device-snmp-go_PR-284:/w/workspace/gexfoundry_device-snmp-go_PR-284:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-284@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-284@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:38:21 $ docker top de455039d3484779c47f7d27c43440c75048f6ed3077d14cff83e42b58034333 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:38:21 ---> job-cost.sh 07:38:21 lf-activate-venv: SKIPPING 07:38:21 INFO: No Stack... 07:38:22 INFO: Retrieving Pricing Info for: v3-standard-8 07:38:22 INFO: Archiving Costs [Pipeline] sh 07:38:22 + cat /w/workspace/gexfoundry_device-snmp-go_PR-284/archives/cost.csv 07:38:22 + cut -d, -f6 [Pipeline] lock 07:38:22 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-284-3-stack-cost] 07:38:22 Resource [jenkins-edgexfoundry-device-snmp-go-PR-284-3-stack-cost] did not exist. Created. 07:38:22 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-284-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:38:22 + echo total: 0.2199999988079071 [Pipeline] stash 07:38:22 Stashed 1 file(s) [Pipeline] } 07:38:22 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-284-3-stack-cost] [Pipeline] // lock [Pipeline] } 07:38:23 $ docker stop --time=1 de455039d3484779c47f7d27c43440c75048f6ed3077d14cff83e42b58034333 07:38:24 $ docker rm -f --volumes de455039d3484779c47f7d27c43440c75048f6ed3077d14cff83e42b58034333 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:38:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8430 in /w/workspace/gexfoundry_device-snmp-go_PR-284 [Pipeline] { [Pipeline] ws 07:38:33 Running in /w/workspace/device-snmp-go/3 [Pipeline] { [Pipeline] checkout 07:38:33 Selected Git installation does not exist. Using Default 07:38:33 The recommended git tool is: NONE 07:38:40 using credential edgex-jenkins-ssh 07:38:40 Cloning the remote Git repository 07:38:40 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 07:38:40 > git init /w/workspace/device-snmp-go/3 # timeout=10 07:38:41 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 07:38:41 > git --version # timeout=10 07:38:41 > git --version # 'git version 2.25.1' 07:38:41 using GIT_SSH to set credentials SSH Credentials for GitHub 07:38:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:38:42 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 07:38:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:38:43 Merging remotes/origin/main commit e525481a5759a3c7c2210679b705fbdd3017b839 into PR head commit ee514b3e20f5123b5dc3fac02359f91b932243a6 07:38:43 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 07:38:43 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 07:38:43 using GIT_SSH to set credentials SSH Credentials for GitHub 07:38:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/284/head:refs/remotes/origin/PR-284 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:38:43 > git config core.sparsecheckout # timeout=10 07:38:43 > git checkout -f ee514b3e20f5123b5dc3fac02359f91b932243a6 # timeout=10 07:38:44 > git remote # timeout=10 07:38:44 > git config --get remote.origin.url # timeout=10 07:38:44 using GIT_SSH to set credentials SSH Credentials for GitHub 07:38:44 > git merge e525481a5759a3c7c2210679b705fbdd3017b839 # timeout=10 07:38:44 > git rev-parse HEAD^{commit} # timeout=10 07:38:44 Merge succeeded, producing ee514b3e20f5123b5dc3fac02359f91b932243a6 07:38:44 Checking out Revision ee514b3e20f5123b5dc3fac02359f91b932243a6 (PR-284) 07:38:44 > git config core.sparsecheckout # timeout=10 07:38:44 > git checkout -f ee514b3e20f5123b5dc3fac02359f91b932243a6 # timeout=10 07:38:47 Commit message: "feat!: Consume SDK interface changes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:38:48 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:38:48 % Total % Received % Xferd Average Speed Time Time Time Current 07:38:48 Dload Upload Total Spent Left Speed 07:38:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 83888 0 --:--:-- --:--:-- --:--:-- 84443 [Pipeline] sh 07:38:49 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:38:49 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:38:49 + sudo tee /etc/docker/daemon.new 07:38:49 { 07:38:49 "registry-mirrors": [ 07:38:49 "https://nexus3.edgexfoundry.org:10001" 07:38:49 ], 07:38:49 "bip": "10.250.0.254/24", 07:38:49 "hosts": [ 07:38:49 "tcp://0.0.0.0:5555", 07:38:49 "unix:///var/run/docker.sock" 07:38:49 ], 07:38:49 "mtu": 1458, 07:38:49 "selinux-enabled": true, 07:38:49 "seccomp-profile": "/etc/docker/seccomp.json" 07:38:49 } [Pipeline] sh 07:38:50 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:38:50 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:39:08 provisioning config files... 07:39:08 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/3@tmp/config13572568817457790280tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:39:09 ---> docker-login.sh 07:39:09 nexus3.edgexfoundry.org:10001 07:39:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:39:09 Configure a credential helper to remove this warning. See 07:39:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:39:09 07:39:09 Login Succeeded 07:39:09 nexus3.edgexfoundry.org:10002 07:39:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:39:10 Configure a credential helper to remove this warning. See 07:39:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:39:10 07:39:10 Login Succeeded 07:39:10 nexus3.edgexfoundry.org:10003 07:39:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:39:10 Configure a credential helper to remove this warning. See 07:39:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:39:10 07:39:10 Login Succeeded 07:39:10 nexus3.edgexfoundry.org:10004 07:39:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:39:10 Configure a credential helper to remove this warning. See 07:39:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:39:10 07:39:10 Login Succeeded 07:39:10 docker.io 07:39:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:39:11 Configure a credential helper to remove this warning. See 07:39:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:39:11 07:39:11 Login Succeeded 07:39:11 ---> docker-login.sh ends [Pipeline] } 07:39:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:39:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:39:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:39:11 ========================================================= 07:39:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 07:39:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:11 + 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 . 07:39:12 Sending build context to Docker daemon 3.007MB 07:39:12 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 07:39:12 Step 2/12 : FROM ${BASE} AS builder 07:39:12 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:39:12 af6eaf76a39c: Pulling fs layer 07:39:12 55522c791124: Pulling fs layer 07:39:12 ce5c4a1c91eb: Pulling fs layer 07:39:12 169dfbe0d373: Pulling fs layer 07:39:12 e1ff8fa3b103: Pulling fs layer 07:39:12 52ebb69f0ebf: Pulling fs layer 07:39:12 5abe8eddf0d5: Pulling fs layer 07:39:12 e1ff8fa3b103: Waiting 07:39:12 52ebb69f0ebf: Waiting 07:39:12 5abe8eddf0d5: Waiting 07:39:12 169dfbe0d373: Waiting 07:39:12 55522c791124: Verifying Checksum 07:39:12 55522c791124: Download complete 07:39:12 169dfbe0d373: Verifying Checksum 07:39:12 169dfbe0d373: Download complete 07:39:12 e1ff8fa3b103: Verifying Checksum 07:39:12 e1ff8fa3b103: Download complete 07:39:12 af6eaf76a39c: Verifying Checksum 07:39:12 af6eaf76a39c: Download complete 07:39:13 af6eaf76a39c: Pull complete 07:39:13 5abe8eddf0d5: Verifying Checksum 07:39:13 5abe8eddf0d5: Download complete 07:39:14 55522c791124: Pull complete 07:39:15 ce5c4a1c91eb: Verifying Checksum 07:39:15 ce5c4a1c91eb: Download complete 07:39:15 52ebb69f0ebf: Verifying Checksum 07:39:15 52ebb69f0ebf: Download complete 07:39:25 ce5c4a1c91eb: Pull complete 07:39:25 169dfbe0d373: Pull complete 07:39:25 e1ff8fa3b103: Pull complete 07:39:32 52ebb69f0ebf: Pull complete 07:39:34 5abe8eddf0d5: Pull complete 07:39:34 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 07:39:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 07:39:34 ---> 6cb57ee374ae 07:39:34 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:39:35 ---> Running in 8233a68962c0 07:39:35 Removing intermediate container 8233a68962c0 07:39:35 ---> a2a2ed69879b 07:39:35 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:39:35 ---> Running in 2d6df93ce86c 07:39:36 Removing intermediate container 2d6df93ce86c 07:39:36 ---> 73d5632cbf23 07:39:36 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:39:36 ---> Running in 7cdb3060ac79 07:39:36 Removing intermediate container 7cdb3060ac79 07:39:36 ---> 3b1a2a2e4338 07:39:36 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:39:36 ---> Running in d920ef2ed83c 07:39:37 Removing intermediate container d920ef2ed83c 07:39:37 ---> b9eac12ccbaf 07:39:37 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:39:37 ---> Running in 3fb1bffcfba8 07:39:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:39:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:39:40 (1/4) Installing openssh-keygen (9.1_p1-r2) 07:39:40 (2/4) Installing libedit (20221030.3.1-r0) 07:39:40 (3/4) Installing openssh-client-common (9.1_p1-r2) 07:39:40 (4/4) Installing openssh-client-default (9.1_p1-r2) 07:39:40 Executing busybox-1.35.0-r29.trigger 07:39:40 OK: 268 MiB in 57 packages 07:39:41 Removing intermediate container 3fb1bffcfba8 07:39:41 ---> 85183d1dcdf6 07:39:41 Step 8/12 : WORKDIR /device-snmp-go 07:39:41 ---> Running in 5b8255ebe067 07:39:41 Removing intermediate container 5b8255ebe067 07:39:41 ---> eb7a62360ec7 07:39:41 Step 9/12 : COPY go.mod vendor* ./ 07:39:45 ---> 160ae0e7000f 07:39:45 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:39:45 ---> Running in 78bcd2517794 07:40:53 Removing intermediate container 78bcd2517794 07:40:53 ---> 6adc6c2586c1 07:40:53 Step 11/12 : COPY . . 07:40:53 ---> cc11fc336ca0 07:40:53 Step 12/12 : RUN ${MAKE} 07:40:53 ---> Running in 17a24e5999f8 07:40:53 noop 07:40:53 Removing intermediate container 17a24e5999f8 07:40:53 ---> 8a41a41bb676 07:40:53 Successfully built 8a41a41bb676 07:40:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:53 + docker inspect -f . ci-base-image-arm64 07:40:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:40:53 prd-ubuntu20.04-docker-arm64-4c-16g-8430 does not seem to be running inside a container 07:40:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:40:55 $ docker top 892c1cad7b06ae4ad1c617936109070ec95bdf2bedf3d55bdab9c745b0744900 -eo pid,comm [Pipeline] { [Pipeline] sh 07:40:55 + go version 07:40:55 go version go1.20.2 linux/arm64 [Pipeline] } 07:40:55 $ docker stop --time=1 892c1cad7b06ae4ad1c617936109070ec95bdf2bedf3d55bdab9c745b0744900 07:40:57 $ docker rm -f --volumes 892c1cad7b06ae4ad1c617936109070ec95bdf2bedf3d55bdab9c745b0744900 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:58 + docker inspect -f . ci-base-image-arm64 07:40:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:40:58 prd-ubuntu20.04-docker-arm64-4c-16g-8430 does not seem to be running inside a container 07:40:58 $ 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/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:40:59 $ docker top 7d4bef47a3e238d74fb5e040e3e79685b05c16cbfe5452ead118be32e4fa7ea2 -eo pid,comm [Pipeline] { [Pipeline] sh 07:41:00 + git config --global --add safe.directory /w/workspace/device-snmp-go/3 [Pipeline] fileExists [Pipeline] sh 07:41:00 + make test 07:41:00 go test ./... -coverprofile=coverage.out 07:41:39 ? github.com/edgexfoundry/device-snmp-go [no test files] 07:44:01 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 07:44:01 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.068s coverage: 0.0% of statements 07:44:01 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:44:01 go vet ./... 07:44:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:44:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:44:27 ./bin/test-attribution-txt.sh 07:44:27 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 07:44:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:44:27 $ docker stop --time=1 7d4bef47a3e238d74fb5e040e3e79685b05c16cbfe5452ead118be32e4fa7ea2 07:44:29 $ docker rm -f --volumes 7d4bef47a3e238d74fb5e040e3e79685b05c16cbfe5452ead118be32e4fa7ea2 [Pipeline] // withDockerContainer [Pipeline] sh 07:44:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:44:30 Warning: overwriting stash ‘coverage-report’ 07:44:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:44:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:44:32 + ls -al . 07:44:32 total 168 07:44:32 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 07:41 . 07:44:32 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 07:38 .. 07:44:32 -rw-rw-r-- 1 jenkins jenkins 6 Apr 13 07:38 .dockerignore 07:44:32 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 07:38 .git 07:44:32 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:38 .github 07:44:32 -rw-rw-r-- 1 jenkins jenkins 328 Apr 13 07:38 .gitignore 07:44:32 -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 07:38 .golangci.yml 07:44:32 -rw-rw-r-- 1 jenkins jenkins 8926 Apr 13 07:38 Attribution.txt 07:44:32 -rw-rw-r-- 1 jenkins jenkins 8355 Apr 13 07:38 CHANGELOG.md 07:44:32 -rw-rw-r-- 1 jenkins jenkins 1423 Apr 13 07:38 Dockerfile 07:44:32 -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 07:38 GOVERNANCE.md 07:44:32 -rw-rw-r-- 1 jenkins jenkins 656 Apr 13 07:38 Jenkinsfile 07:44:32 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 07:38 LICENSE 07:44:32 -rw-rw-r-- 1 jenkins jenkins 2114 Apr 13 07:38 Makefile 07:44:32 -rw-rw-r-- 1 jenkins jenkins 620 Apr 13 07:38 OWNERS.md 07:44:32 -rw-rw-r-- 1 jenkins jenkins 10054 Apr 13 07:38 README.md 07:44:32 -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 07:36 VERSION 07:44:32 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 07:38 bin 07:44:32 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:38 cmd 07:44:32 -rw-r--r-- 1 jenkins jenkins 8751 Apr 13 07:43 coverage.out 07:44:32 -rw-rw-r-- 1 jenkins jenkins 3283 Apr 13 07:38 go.mod 07:44:32 -rw-rw-r-- 1 jenkins jenkins 31551 Apr 13 07:38 go.sum 07:44:32 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:38 internal 07:44:32 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 07:38 snap 07:44:32 -rw-rw-r-- 1 jenkins jenkins 228 Apr 13 07:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:44:32 + 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=ee514b3e20f5123b5dc3fac02359f91b932243a6 --label arch=arm64 --label version=0.0.0 . 07:44:32 Sending build context to Docker daemon 3.017MB 07:44:32 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 07:44:32 Step 2/24 : FROM ${BASE} AS builder 07:44:32 ---> 8a41a41bb676 07:44:32 Step 3/24 : ARG ADD_BUILD_TAGS="" 07:44:33 ---> Running in df8d227bc5ab 07:44:33 Removing intermediate container df8d227bc5ab 07:44:33 ---> 1264c4c41322 07:44:33 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:44:33 ---> Running in b61e2d1293e8 07:44:33 Removing intermediate container b61e2d1293e8 07:44:33 ---> 05bb3c99c253 07:44:33 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:44:33 ---> Running in a3b7e5eac637 07:44:34 Removing intermediate container a3b7e5eac637 07:44:34 ---> 783ac044ed59 07:44:34 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 07:44:34 ---> Running in ccf741440da9 07:44:34 Removing intermediate container ccf741440da9 07:44:34 ---> a6dd1e15a663 07:44:34 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:44:34 ---> Running in 02506087a266 07:44:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:44:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:44:38 OK: 268 MiB in 57 packages 07:44:39 Removing intermediate container 02506087a266 07:44:39 ---> 542ccb951ef8 07:44:39 Step 8/24 : WORKDIR /device-snmp-go 07:44:39 ---> Running in fd8615fd0003 07:44:39 Removing intermediate container fd8615fd0003 07:44:39 ---> 3e2fcaa9ee61 07:44:39 Step 9/24 : COPY go.mod vendor* ./ 07:44:40 ---> 12f000ca4ad7 07:44:40 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:44:40 ---> Running in cc83365bb93a 07:44:43 Removing intermediate container cc83365bb93a 07:44:43 ---> ee815df9eb7e 07:44:43 Step 11/24 : COPY . . 07:44:44 ---> c97331bd7053 07:44:44 Step 12/24 : RUN ${MAKE} 07:44:44 ---> Running in da52f4c0a5ea 07:44:45 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 07:47:22 Removing intermediate container da52f4c0a5ea 07:47:22 ---> 0ef2992db30f 07:47:22 Step 13/24 : FROM alpine:3.17 07:47:22 3.17: Pulling from library/alpine 07:47:22 c41833b44d91: Pulling fs layer 07:47:22 c41833b44d91: Verifying Checksum 07:47:22 c41833b44d91: Download complete 07:47:22 c41833b44d91: Pull complete 07:47:22 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 07:47:22 Status: Downloaded newer image for alpine:3.17 07:47:22 ---> 51e60588ff2c 07:47:22 Step 14/24 : RUN apk add --update --no-cache dumb-init 07:47:22 ---> Running in 860cdf873a96 07:47:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:47:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:47:22 (1/1) Installing dumb-init (1.2.5-r2) 07:47:22 Executing busybox-1.35.0-r29.trigger 07:47:22 OK: 8 MiB in 16 packages 07:47:22 Removing intermediate container 860cdf873a96 07:47:22 ---> 81909d6cd4e1 07:47:22 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 07:47:22 ---> 4f5e38f3828f 07:47:22 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 07:47:22 ---> 8b1116f93da3 07:47:22 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 07:47:22 ---> 629fb9ec0fd8 07:47:22 Step 18/24 : EXPOSE 59993 07:47:22 ---> Running in e80c5e117b30 07:47:22 Removing intermediate container e80c5e117b30 07:47:22 ---> a4288762375f 07:47:22 Step 19/24 : EXPOSE 161 07:47:22 ---> Running in 0c4a94a4d2c8 07:47:22 Removing intermediate container 0c4a94a4d2c8 07:47:22 ---> fff41d1bd4ed 07:47:22 Step 20/24 : ENTRYPOINT ["/device-snmp"] 07:47:22 ---> Running in d1b1de5f665d 07:47:22 Removing intermediate container d1b1de5f665d 07:47:22 ---> 1ab7b91eb348 07:47:22 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 07:47:22 ---> Running in 192ee6346571 07:47:22 Removing intermediate container 192ee6346571 07:47:22 ---> ec46843812b5 07:47:22 Step 22/24 : LABEL arch=arm64 07:47:22 ---> Running in ccc1e4a3c35a 07:47:22 Removing intermediate container ccc1e4a3c35a 07:47:22 ---> c645c7f31182 07:47:22 Step 23/24 : LABEL git_sha=ee514b3e20f5123b5dc3fac02359f91b932243a6 07:47:22 ---> Running in 52c012d1befd 07:47:22 Removing intermediate container 52c012d1befd 07:47:22 ---> 69d7ab940b00 07:47:22 Step 24/24 : LABEL version=0.0.0 07:47:22 ---> Running in 10233c128890 07:47:23 Removing intermediate container 10233c128890 07:47:23 ---> 63c86ae3728e 07:47:23 [Warning] One or more build-args [ARCH] were not consumed 07:47:23 Successfully built 63c86ae3728e 07:47:23 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 07:47:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:47:23 07:47:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:47:24 arm64: Pulling from edgex-lftools-log-publisher 07:47:24 8998bd30e6a1: Pulling fs layer 07:47:24 04944245beec: Pulling fs layer 07:47:24 699f458cf7ca: Pulling fs layer 07:47:24 765212b225bb: Pulling fs layer 07:47:24 f23df028b6ca: Pulling fs layer 07:47:24 d65c8cfc05b1: Pulling fs layer 07:47:24 2437ff75d9bd: Pulling fs layer 07:47:24 d65c8cfc05b1: Waiting 07:47:24 765212b225bb: Waiting 07:47:24 f23df028b6ca: Waiting 07:47:24 04944245beec: Verifying Checksum 07:47:24 04944245beec: Download complete 07:47:24 765212b225bb: Download complete 07:47:24 f23df028b6ca: Verifying Checksum 07:47:24 f23df028b6ca: Download complete 07:47:24 d65c8cfc05b1: Verifying Checksum 07:47:24 d65c8cfc05b1: Download complete 07:47:24 699f458cf7ca: Verifying Checksum 07:47:24 699f458cf7ca: Download complete 07:47:24 8998bd30e6a1: Verifying Checksum 07:47:24 8998bd30e6a1: Download complete 07:47:27 2437ff75d9bd: Verifying Checksum 07:47:27 2437ff75d9bd: Download complete 07:47:29 8998bd30e6a1: Pull complete 07:47:30 04944245beec: Pull complete 07:47:31 699f458cf7ca: Pull complete 07:47:31 765212b225bb: Pull complete 07:47:32 f23df028b6ca: Pull complete 07:47:32 d65c8cfc05b1: Pull complete 07:47:47 2437ff75d9bd: Pull complete 07:47:47 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:47:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:47:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:47:48 prd-ubuntu20.04-docker-arm64-4c-16g-8430 does not seem to be running inside a container 07:47:48 $ 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/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:47:50 $ docker top 92d187c41813ea097702768a215713509799f372b9326eebc2bd2fbae5ffd8d5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:47:51 ---> job-cost.sh 07:47:51 lf-activate-venv: SKIPPING 07:47:51 INFO: No Stack... 07:47:52 INFO: Retrieving Pricing Info for: v3-standard-4 07:47:53 INFO: Archiving Costs [Pipeline] sh 07:47:53 + cat /w/workspace/device-snmp-go/3/archives/cost.csv 07:47:53 + cut -d, -f6 [Pipeline] lock 07:47:53 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-284-3-stack-cost] 07:47:53 Resource [jenkins-edgexfoundry-device-snmp-go-PR-284-3-stack-cost] did not exist. Created. 07:47:53 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-284-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:47:54 /w/workspace/device-snmp-go/3@tmp/durable-e37de9ba/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:47:55 + echo total: 0.10999999940395355 [Pipeline] stash 07:47:55 Warning: overwriting stash ‘stack-cost’ 07:47:55 Stashed 1 file(s) [Pipeline] } 07:47:55 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-284-3-stack-cost] [Pipeline] // lock [Pipeline] } 07:47:55 $ docker stop --time=1 92d187c41813ea097702768a215713509799f372b9326eebc2bd2fbae5ffd8d5 07:47:56 $ docker rm -f --volumes 92d187c41813ea097702768a215713509799f372b9326eebc2bd2fbae5ffd8d5 [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 07:47:57 provisioning config files... 07:47:57 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-284@tmp/config3496833020001833130tmp [Pipeline] { [Pipeline] sh 07:47:57 + set +x 07:47:57 + curl -s https://codecov.io/bash 07:47:57 + bash -s -- 07:47:57 07:47:57 _____ _ 07:47:57 / ____| | | 07:47:57 | | ___ __| | ___ ___ _____ __ 07:47:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:47:57 | |___| (_) | (_| | __/ (_| (_) \ V / 07:47:57 \_____\___/ \__,_|\___|\___\___/ \_/ 07:47:57 Bash-1.0.6 07:47:57 07:47:57 07:47:57 ==> git version 2.25.1 found 07:47:57 ==> 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 07:47:57 Release-Date: 2020-01-08 07:47:57 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:47:57 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:47:57 ==> Jenkins CI detected. 07:47:57 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-284 07:47:57 project root: . 07:47:57 --> token set from env 07:47:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:47:57 ==> Running gcov in . (disable via -X gcov) 07:47:57 ==> Python coveragepy not found 07:47:57 ==> Searching for coverage reports in: 07:47:57 + . 07:47:57 -> Found 1 reports 07:47:57 ==> Detecting git/mercurial file structure 07:47:57 ==> Reading reports 07:47:57 + ./coverage.out bytes=8751 07:47:57 ==> Appending adjustments 07:47:57 https://docs.codecov.io/docs/fixing-reports 07:47:57 + Found adjustments 07:47:57 ==> Gzipping contents 07:47:57 4.0K /tmp/codecov.pmylTp.gz 07:47:57 ==> Uploading reports 07:47:57 url: https://codecov.io 07:47:57 query: branch=PR-284&commit=ee514b3e20f5123b5dc3fac02359f91b932243a6&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-284%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=284&job=&cmd_args= 07:47:57 -> Pinging Codecov 07:47:57 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-284&commit=ee514b3e20f5123b5dc3fac02359f91b932243a6&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-284%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=284&job=&cmd_args= 07:47:57 -> Uploading to 07:47:57 https://storage.googleapis.com/codecov/v4/raw/2023-04-13/6C56EA5C29638FB4528AC87E60AF5AE0/ee514b3e20f5123b5dc3fac02359f91b932243a6/0a225de3-3c46-4032-8e94-4387d7503ae3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230413%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230413T074757Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0d752ae2b9a4269a961c78d8a597d42fa96fa6c37474666960893c58df878124 07:47:57 % Total % Received % Xferd Average Speed Time Time Time Current 07:47:57 Dload Upload Total Spent Left Speed 07:47:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1590 0 0 100 1590 0 5282 --:--:-- --:--:-- --:--:-- 5282 07:47:58 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/ee514b3e20f5123b5dc3fac02359f91b932243a6 [Pipeline] } 07:47:58 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 07:47:58 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-284/archives ] 07:47:58 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-284/archives 07:47:58 total 16 07:47:58 drwxr-xr-x 3 root root 4096 Apr 13 07:38 . 07:47:58 drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 07:38 .. 07:47:58 drwxr-xr-x 2 root root 4096 Apr 13 07:38 cost 07:47:58 -rw-r--r-- 1 root root 86 Apr 13 07:38 cost.csv 07:47:58 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-284/archives 07:47:58 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-284/archives 07:47:58 total 16 07:47:58 drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 07:38 . 07:47:58 drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 07:38 .. 07:47:58 drwxr-xr-x 2 jenkins jenkins 4096 Apr 13 07:38 cost 07:47:58 -rw-r--r-- 1 jenkins jenkins 86 Apr 13 07:38 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:47:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:48:00 ---> package-listing.sh 07:48:00 ++ facter osfamily 07:48:00 ++ tr '[:upper:]' '[:lower:]' 07:48:00 + OS_FAMILY=debian 07:48:00 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-284 07:48:00 + START_PACKAGES=/tmp/packages_start.txt 07:48:00 + END_PACKAGES=/tmp/packages_end.txt 07:48:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:48:00 + PACKAGES=/tmp/packages_start.txt 07:48:00 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-284 ']' 07:48:00 + PACKAGES=/tmp/packages_end.txt 07:48:00 + case "${OS_FAMILY}" in 07:48:00 + dpkg -l 07:48:00 + grep '^ii' 07:48:00 + '[' -f /tmp/packages_start.txt ']' 07:48:00 + '[' -f /tmp/packages_end.txt ']' 07:48:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:48:00 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-284 ']' 07:48:00 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-284/archives/ 07:48:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-284/archives/ [Pipeline] echo 07:48:00 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-284/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:48:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:48:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:48:01 prd-ubuntu20.04-docker-8c-8g-8429 does not seem to be running inside a container 07:48:01 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-284/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_PR-284 -v /w/workspace/gexfoundry_device-snmp-go_PR-284:/w/workspace/gexfoundry_device-snmp-go_PR-284:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-284@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-284@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:48:01 $ docker top 721ebe57dcdfef5b1e02709b44ac13dec48c9800ce34e3807fe3f2d51657f099 -eo pid,comm [Pipeline] { [Pipeline] sh 07:48:01 + touch /tmp/pre-build-complete [Pipeline] sh 07:48:02 + mkdir -p /var/log/sysstat [Pipeline] sh 07:48:02 + ls /var/log/sa-host 07:48:02 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:48:02 provisioning config files... 07:48:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-284@tmp/config12835739371508854765tmp [Pipeline] { [Pipeline] echo 07:48:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:48:02 ---> create-netrc.sh [Pipeline] } 07:48:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:48:03 ---> python-tools-install.sh [Pipeline] echo 07:48:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:48:03 ---> sudo-logs.sh 07:48:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:48:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:48:03 ---> job-cost.sh 07:48:03 lf-activate-venv: SKIPPING 07:48:03 DEBUG: total: 0.2199999988079071 07:48:03 INFO: Retrieving Stack Cost... 07:48:03 INFO: Retrieving Pricing Info for: v3-standard-8 07:48:04 INFO: Archiving Costs [Pipeline] echo 07:48:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:48:04 ---> logs-deploy.sh 07:48:04 lf-activate-venv: SKIPPING 07:48:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-284/3 07:48:04 INFO: archiving workspace using pattern(s): 07:48:05 Archives upload complete. 07:48:05 INFO: archiving logs to Nexus