Pull request #339 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9d81109dc287cb6102337f413fb17321d9b28cfb+1c898a5d1a99b518c80e00aa3bb7c808b03e10be (48c54e241feff6ac45fefa169ebeab6a002e1eb9) 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-ssh5940685480207344026.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh12405074846579831896.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-339/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-339/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6587891908275128752.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-339/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9112441802820879074.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10499466762405979512.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-339/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-339/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6981424608292248024.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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.21 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-27964 in /w/workspace/gexfoundry_device-snmp-go_PR-339 [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-339 # 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/339/head:refs/remotes/origin/PR-339 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1c898a5d1a99b518c80e00aa3bb7c808b03e10be into PR head commit 9d81109dc287cb6102337f413fb17321d9b28cfb Merge succeeded, producing 9d81109dc287cb6102337f413fb17321d9b28cfb Checking out Revision 9d81109dc287cb6102337f413fb17321d9b28cfb (PR-339) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } > git config core.sparsecheckout # timeout=10 > git checkout -f 9d81109dc287cb6102337f413fb17321d9b28cfb # 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 1c898a5d1a99b518c80e00aa3bb7c808b03e10be # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9d81109dc287cb6102337f413fb17321d9b28cfb # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:17:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:17:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:17:54 ========================================================= 05:17:54 EdgeX Global Pipelines Version Info 05:17:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:17:55 ------------------- 05:17:55 stable info: 05:17:55 ------------------- 05:17:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:17:55 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 05:17:55 Message: update stable to v1.0.258 05:17:56 ------------------- 05:17:56 experimental info: 05:17:56 ------------------- 05:17:56 Commited By: **** collab-it+edgex@linuxfoundation.org 05:17:56 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 05:17:56 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:17:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 05:17:56 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 05:17:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:17:56 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:17:56 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:17:56 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 05:17:56 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:17:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:17:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:17:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:17:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:17:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 05:17:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:17:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:17:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:17:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:17:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:17:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:17:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:17:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:17:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:17:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:17:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:17:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:17:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:17:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:17:58 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:17:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-339 [Pipeline] echo 05:17:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-339 [Pipeline] echo 05:17:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-339 [Pipeline] echo 05:17:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9d81109dc287cb6102337f413fb17321d9b28cfb [Pipeline] echo 05:17:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9d81109 [Pipeline] echo 05:17:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:17:59 provisioning config files... 05:17:59 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-339@tmp/config2111601970116592487tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:17:59 ---> ****-login.sh 05:17:59 nexus3.edgexfoundry.org:10001 05:17:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:17:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:17:59 Configure a credential helper to remove this warning. See 05:17:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:17:59 05:17:59 Login Succeeded 05:17:59 nexus3.edgexfoundry.org:10002 05:18:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:18:00 Configure a credential helper to remove this warning. See 05:18:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:18:00 05:18:00 Login Succeeded 05:18:00 nexus3.edgexfoundry.org:10003 05:18:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:18:00 Configure a credential helper to remove this warning. See 05:18:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:18:00 05:18:00 Login Succeeded 05:18:00 nexus3.edgexfoundry.org:10004 05:18:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:18:00 Configure a credential helper to remove this warning. See 05:18:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:18:00 05:18:00 Login Succeeded 05:18:00 ****.io 05:18:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:18:00 Configure a credential helper to remove this warning. See 05:18:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:18:00 05:18:00 Login Succeeded 05:18:00 ---> ****-login.sh ends [Pipeline] } 05:18:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:18:01 + git rev-list -1 --merges 9d81109dc287cb6102337f413fb17321d9b28cfb~1..9d81109dc287cb6102337f413fb17321d9b28cfb [Pipeline] echo 05:18:01 -----------> git rev-list -1 --merges 9d81109dc287cb6102337f413fb17321d9b28cfb~1..9d81109dc287cb6102337f413fb17321d9b28cfb 9d81109dc287cb6102337f413fb17321d9b28cfb [false] [Pipeline] sh 05:18:01 + git log --format=format:%s -1 9d81109dc287cb6102337f413fb17321d9b28cfb [Pipeline] echo 05:18:01 ========================================================= 05:18:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:18:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:18:02 + git log --format=format:%s -1 9d81109dc287cb6102337f413fb17321d9b28cfb [Pipeline] echo 05:18:02 [semverPrep] GIT_COMMIT: 9d81109dc287cb6102337f413fb17321d9b28cfb, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 05:18:02 [semverPrep] This is not a build commit. [Pipeline] sh 05:18:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:18:03 + grep -v github /etc/ssh/ssh_known_hosts 05:18:03 + [ -e /tmp/ssh_known_hosts ] 05:18:03 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:18:03 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:18:03 + sudo tee -a /etc/ssh/ssh_known_hosts 05:18:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:18:03 05:18:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:18:04 0.1.4: Pulling from edgex-devops/py-git-semver 05:18:04 b85a868b505f: Pulling fs layer 05:18:04 e2be974225ed: Pulling fs layer 05:18:04 339a4e72a1f5: Pulling fs layer 05:18:04 988bab9f4d93: Pulling fs layer 05:18:04 1469e6f7b9e6: Pulling fs layer 05:18:04 eaf3925da568: Pulling fs layer 05:18:04 bab4dde63d76: Pulling fs layer 05:18:04 bde34c3a00c8: Pulling fs layer 05:18:04 b352a97aabf1: Pulling fs layer 05:18:04 4872d77fe225: Pulling fs layer 05:18:04 5851b861e8e6: Pulling fs layer 05:18:04 bab4dde63d76: Waiting 05:18:04 bde34c3a00c8: Waiting 05:18:04 b352a97aabf1: Waiting 05:18:04 4872d77fe225: Waiting 05:18:04 5851b861e8e6: Waiting 05:18:04 1469e6f7b9e6: Waiting 05:18:04 eaf3925da568: Waiting 05:18:04 988bab9f4d93: Waiting 05:18:04 e2be974225ed: Verifying Checksum 05:18:04 e2be974225ed: Download complete 05:18:04 988bab9f4d93: Verifying Checksum 05:18:04 988bab9f4d93: Download complete 05:18:04 1469e6f7b9e6: Verifying Checksum 05:18:04 1469e6f7b9e6: Download complete 05:18:04 eaf3925da568: Download complete 05:18:04 339a4e72a1f5: Verifying Checksum 05:18:04 339a4e72a1f5: Download complete 05:18:04 bde34c3a00c8: Verifying Checksum 05:18:04 bde34c3a00c8: Download complete 05:18:04 b352a97aabf1: Download complete 05:18:04 4872d77fe225: Verifying Checksum 05:18:04 4872d77fe225: Download complete 05:18:04 5851b861e8e6: Verifying Checksum 05:18:04 5851b861e8e6: Download complete 05:18:04 b85a868b505f: Download complete 05:18:04 bab4dde63d76: Verifying Checksum 05:18:04 bab4dde63d76: Download complete 05:18:05 b85a868b505f: Pull complete 05:18:05 e2be974225ed: Pull complete 05:18:06 339a4e72a1f5: Pull complete 05:18:06 988bab9f4d93: Pull complete 05:18:06 1469e6f7b9e6: Pull complete 05:18:06 eaf3925da568: Pull complete 05:18:08 bab4dde63d76: Pull complete 05:18:08 bde34c3a00c8: Pull complete 05:18:08 b352a97aabf1: Pull complete 05:18:08 4872d77fe225: Pull complete 05:18:08 5851b861e8e6: Pull complete 05:18:08 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:18:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:18:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:18:09 prd-ubuntu20.04-docker-8c-8g-27964 does not seem to be running inside a container 05:18:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-339 -v /w/workspace/gexfoundry_device-snmp-go_PR-339:/w/workspace/gexfoundry_device-snmp-go_PR-339:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-339@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-339@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:18:11 $ docker top 1ee508ed945ac1348c85f978ae544fbad2dfdefee1e7da96f8bd285f0f7e1746 -eo pid,comm 05:18:11 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). 05:18:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:18:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:18:12 [ssh-agent] Looking for ssh-agent implementation... 05:18:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:18:12 $ docker exec 1ee508ed945ac1348c85f978ae544fbad2dfdefee1e7da96f8bd285f0f7e1746 ssh-agent 05:18:12 SSH_AUTH_SOCK=/tmp/ssh-ZNLhRKbAbYqS/agent.31 05:18:12 SSH_AGENT_PID=37 05:18:12 Running ssh-add (command line suppressed) 05:18:12 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-339@tmp/private_key_3709572072867824192.key (/w/workspace/gexfoundry_device-snmp-go_PR-339@tmp/private_key_3709572072867824192.key) 05:18:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:18:12 + git tag --points-at HEAD [Pipeline] } 05:18:12 $ docker exec --env ******** --env ******** 1ee508ed945ac1348c85f978ae544fbad2dfdefee1e7da96f8bd285f0f7e1746 ssh-agent -k 05:18:12 unset SSH_AUTH_SOCK; 05:18:12 unset SSH_AGENT_PID; 05:18:12 echo Agent pid 37 killed; 05:18:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:18:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:18:13 [ssh-agent] Looking for ssh-agent implementation... 05:18:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:18:13 $ docker exec 1ee508ed945ac1348c85f978ae544fbad2dfdefee1e7da96f8bd285f0f7e1746 ssh-agent 05:18:13 SSH_AUTH_SOCK=/tmp/ssh-tfPf8VQ40N7F/agent.70 05:18:13 SSH_AGENT_PID=76 05:18:13 Running ssh-add (command line suppressed) 05:18:13 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-339@tmp/private_key_14882050176199794526.key (/w/workspace/gexfoundry_device-snmp-go_PR-339@tmp/private_key_14882050176199794526.key) 05:18:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:18:13 + git semver init 05:18:14 2024-01-26 05:18:13,968 [run_init] DEBUG init version:0.0.0 force:False 05:18:14 2024-01-26 05:18:13,969 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-339/.semver 05:18:14 2024-01-26 05:18:13,970 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-339/.semver 05:18:14 2024-01-26 05:18:13,970 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-339/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-339, universal_newlines=False, shell=None, istream=None) 05:18:15 2024-01-26 05:18:15,005 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-339/.git/info/exclude 05:18:15 2024-01-26 05:18:15,005 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-339/.semver/PR-339 with force:False 05:18:15 2024-01-26 05:18:15,005 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-339/.semver/PR-339 05:18:15 2024-01-26 05:18:15,007 [execute] INFO git cat-file --batch-check 05:18:15 2024-01-26 05:18:15,008 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-339/.semver, universal_newlines=False, shell=None, istream=) 05:18:15 2024-01-26 05:18:15,012 [execute] INFO git cat-file --batch 05:18:15 2024-01-26 05:18:15,012 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-339/.semver, universal_newlines=False, shell=None, istream=) 05:18:15 2024-01-26 05:18:15,016 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-339/.semver/PR-339 05:18:15 0.0.0 [Pipeline] } 05:18:15 $ docker exec --env ******** --env ******** 1ee508ed945ac1348c85f978ae544fbad2dfdefee1e7da96f8bd285f0f7e1746 ssh-agent -k 05:18:15 unset SSH_AUTH_SOCK; 05:18:15 unset SSH_AGENT_PID; 05:18:15 echo Agent pid 76 killed; 05:18:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:18:16 + git semver [Pipeline] } 05:18:16 $ docker stop --time=1 1ee508ed945ac1348c85f978ae544fbad2dfdefee1e7da96f8bd285f0f7e1746 05:18:17 $ docker rm -f --volumes 1ee508ed945ac1348c85f978ae544fbad2dfdefee1e7da96f8bd285f0f7e1746 [Pipeline] // withDockerContainer [Pipeline] sh 05:18:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:18:18 Stashed 1 file(s) [Pipeline] echo 05:18:18 [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 05:18:19 provisioning config files... 05:18:19 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-339@tmp/config10868981125916753721tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:18:20 ---> ****-login.sh 05:18:20 nexus3.edgexfoundry.org:10001 05:18:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:18:20 Configure a credential helper to remove this warning. See 05:18:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:18:20 05:18:20 Login Succeeded 05:18:20 nexus3.edgexfoundry.org:10002 05:18:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:18:20 Configure a credential helper to remove this warning. See 05:18:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:18:20 05:18:20 Login Succeeded 05:18:20 nexus3.edgexfoundry.org:10003 05:18:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:18:20 Configure a credential helper to remove this warning. See 05:18:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:18:20 05:18:20 Login Succeeded 05:18:20 nexus3.edgexfoundry.org:10004 05:18:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:18:20 Configure a credential helper to remove this warning. See 05:18:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:18:20 05:18:20 Login Succeeded 05:18:20 ****.io 05:18:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:18:20 Configure a credential helper to remove this warning. See 05:18:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:18:20 05:18:20 Login Succeeded 05:18:20 ---> ****-login.sh ends [Pipeline] } 05:18:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:18:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:18:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:18:21 ========================================================= 05:18:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 05:18:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:21 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 05:18:21 Sending build context to Docker daemon 14.11MB 05:18:21 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 05:18:21 Step 2/12 : FROM ${BASE} AS builder 05:18:21 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 05:18:21 7264a8db6415: Pulling fs layer 05:18:21 c4d48a809fc2: Pulling fs layer 05:18:21 4f1c88b9dad5: Pulling fs layer 05:18:21 ad3a456e5733: Pulling fs layer 05:18:21 69c7f0334f64: Pulling fs layer 05:18:21 1f1c1a5573a3: Pulling fs layer 05:18:21 ce7588e14bc9: Pulling fs layer 05:18:21 b5e4710f87ac: Pulling fs layer 05:18:21 ad3a456e5733: Waiting 05:18:21 69c7f0334f64: Waiting 05:18:21 1f1c1a5573a3: Waiting 05:18:21 ce7588e14bc9: Waiting 05:18:21 b5e4710f87ac: Waiting 05:18:21 c4d48a809fc2: Download complete 05:18:22 ad3a456e5733: Verifying Checksum 05:18:22 ad3a456e5733: Download complete 05:18:22 69c7f0334f64: Download complete 05:18:22 7264a8db6415: Verifying Checksum 05:18:22 7264a8db6415: Download complete 05:18:22 1f1c1a5573a3: Verifying Checksum 05:18:22 1f1c1a5573a3: Download complete 05:18:22 7264a8db6415: Pull complete 05:18:22 b5e4710f87ac: Verifying Checksum 05:18:22 b5e4710f87ac: Download complete 05:18:22 c4d48a809fc2: Pull complete 05:18:22 4f1c88b9dad5: Verifying Checksum 05:18:22 4f1c88b9dad5: Download complete 05:18:22 ce7588e14bc9: Verifying Checksum 05:18:22 ce7588e14bc9: Download complete 05:18:25 4f1c88b9dad5: Pull complete 05:18:25 ad3a456e5733: Pull complete 05:18:25 69c7f0334f64: Pull complete 05:18:25 1f1c1a5573a3: Pull complete 05:18:27 ce7588e14bc9: Pull complete 05:18:27 b5e4710f87ac: Pull complete 05:18:27 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 05:18:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 05:18:27 ---> 88b5674ff536 05:18:27 Step 3/12 : ARG ADD_BUILD_TAGS="" 05:18:32 ---> Running in 59c378144f67 05:18:32 Removing intermediate container 59c378144f67 05:18:32 ---> d45662fc5870 05:18:32 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:18:32 ---> Running in a98d21e145e7 05:18:32 Removing intermediate container a98d21e145e7 05:18:32 ---> 74cc7a204603 05:18:32 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:18:32 ---> Running in 4bcf6958f424 05:18:32 Removing intermediate container 4bcf6958f424 05:18:32 ---> 9dc61df2360a 05:18:32 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 05:18:32 ---> Running in 99f01b17b3ad 05:18:32 Removing intermediate container 99f01b17b3ad 05:18:32 ---> 131c45f56d7d 05:18:32 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:18:32 ---> Running in 13cbffbe2da0 05:18:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:18:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:18:33 (1/4) Installing openssh-keygen (9.3_p2-r1) 05:18:33 (2/4) Installing libedit (20221030.3.1-r1) 05:18:33 (3/4) Installing openssh-client-common (9.3_p2-r1) 05:18:33 (4/4) Installing openssh-client-default (9.3_p2-r1) 05:18:33 Executing busybox-1.36.1-r5.trigger 05:18:33 OK: 268 MiB in 56 packages 05:18:34 Removing intermediate container 13cbffbe2da0 05:18:34 ---> 1f9e0ccc642e 05:18:34 Step 8/12 : WORKDIR /device-snmp-go 05:18:34 ---> Running in b3f6035229bf 05:18:34 Removing intermediate container b3f6035229bf 05:18:34 ---> 6ac63c903bcb 05:18:34 Step 9/12 : COPY go.mod vendor* ./ 05:18:34 ---> 9062129fe2c1 05:18:34 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:18:34 ---> Running in 33c01bb4b791 05:18:34 Still waiting to schedule task 05:18:34 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:19:06 Removing intermediate container 33c01bb4b791 05:19:06 ---> f7b91bbc8f49 05:19:06 Step 11/12 : COPY . . 05:19:06 ---> f6af3bac6df1 05:19:06 Step 12/12 : RUN ${MAKE} 05:19:06 ---> Running in 48b8bd56a43d 05:19:06 noop 05:19:06 Removing intermediate container 48b8bd56a43d 05:19:06 ---> 3b551bd9d446 05:19:06 Successfully built 3b551bd9d446 05:19:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:06 + docker inspect -f . ci-base-image-x86_64 05:19:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:19:06 prd-ubuntu20.04-docker-8c-8g-27964 does not seem to be running inside a container 05:19:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-339 -v /w/workspace/gexfoundry_device-snmp-go_PR-339:/w/workspace/gexfoundry_device-snmp-go_PR-339:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-339@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-339@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:19:07 $ docker top c9bcd677b9159c38828027192f4c168eeeba1aee0e7738276dc4ece2b81e54f9 -eo pid,comm [Pipeline] { [Pipeline] sh 05:19:07 + go version 05:19:07 go version go1.21.0 linux/amd64 [Pipeline] } 05:19:07 $ docker stop --time=1 c9bcd677b9159c38828027192f4c168eeeba1aee0e7738276dc4ece2b81e54f9 05:19:09 $ docker rm -f --volumes c9bcd677b9159c38828027192f4c168eeeba1aee0e7738276dc4ece2b81e54f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:10 + docker inspect -f . ci-base-image-x86_64 05:19:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:19:10 prd-ubuntu20.04-docker-8c-8g-27964 does not seem to be running inside a container 05:19:10 $ 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-339 -v /w/workspace/gexfoundry_device-snmp-go_PR-339:/w/workspace/gexfoundry_device-snmp-go_PR-339:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-339@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-339@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:19:10 $ docker top 224f5e152fb1b6f9808627cd2faa79aa7e323827f975b1b8d071b7cd1a86336c -eo pid,comm [Pipeline] { [Pipeline] sh 05:19:11 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-339 [Pipeline] fileExists [Pipeline] sh 05:19:11 + make test 05:19:11 go test ./... -coverprofile=coverage.out 05:19:12 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:19:22 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:19:22 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.008s coverage: 0.0% of statements 05:19:28 go vet ./... 05:19:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:19:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:19:30 ./bin/test-attribution-txt.sh 05:19:30 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 05:19:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:19:30 $ docker stop --time=1 224f5e152fb1b6f9808627cd2faa79aa7e323827f975b1b8d071b7cd1a86336c 05:19:33 $ docker rm -f --volumes 224f5e152fb1b6f9808627cd2faa79aa7e323827f975b1b8d071b7cd1a86336c [Pipeline] // withDockerContainer [Pipeline] sh 05:19:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:19:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:19:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:19:35 + ls -al . 05:19:35 total 172 05:19:35 drwxrwxr-x 8 jenkins jenkins 4096 Jan 26 05:19 . 05:19:35 drwxrwxr-x 4 jenkins jenkins 4096 Jan 26 05:17 .. 05:19:35 -rw-rw-r-- 1 jenkins jenkins 6 Jan 26 05:17 .dockerignore 05:19:35 drwxrwxr-x 8 jenkins jenkins 4096 Jan 26 05:19 .git 05:19:35 drwxrwxr-x 3 jenkins jenkins 4096 Jan 26 05:17 .github 05:19:35 -rw-rw-r-- 1 jenkins jenkins 263 Jan 26 05:17 .gitignore 05:19:35 -rw-rw-r-- 1 jenkins jenkins 41 Jan 26 05:17 .golangci.yml 05:19:35 drwxr-xr-x 3 jenkins jenkins 4096 Jan 26 05:18 .semver 05:19:35 -rw-rw-r-- 1 jenkins jenkins 10025 Jan 26 05:17 Attribution.txt 05:19:35 -rw-rw-r-- 1 jenkins jenkins 11809 Jan 26 05:17 CHANGELOG.md 05:19:35 -rw-rw-r-- 1 jenkins jenkins 1571 Jan 26 05:17 Dockerfile 05:19:35 -rw-rw-r-- 1 jenkins jenkins 677 Jan 26 05:17 GOVERNANCE.md 05:19:35 -rw-rw-r-- 1 jenkins jenkins 656 Jan 26 05:17 Jenkinsfile 05:19:35 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 26 05:17 LICENSE 05:19:35 -rw-rw-r-- 1 jenkins jenkins 2240 Jan 26 05:17 Makefile 05:19:35 -rw-rw-r-- 1 jenkins jenkins 620 Jan 26 05:17 OWNERS.md 05:19:35 -rw-rw-r-- 1 jenkins jenkins 10477 Jan 26 05:17 README.md 05:19:35 -rw-rw-r-- 1 jenkins jenkins 5 Jan 26 05:18 VERSION 05:19:35 drwxrwxr-x 2 jenkins jenkins 4096 Jan 26 05:17 bin 05:19:35 drwxrwxr-x 3 jenkins jenkins 4096 Jan 26 05:17 cmd 05:19:35 -rw-r--r-- 1 jenkins jenkins 8837 Jan 26 05:19 coverage.out 05:19:35 -rw-rw-r-- 1 jenkins jenkins 3755 Jan 26 05:17 go.mod 05:19:35 -rw-rw-r-- 1 jenkins jenkins 34417 Jan 26 05:17 go.sum 05:19:35 drwxrwxr-x 3 jenkins jenkins 4096 Jan 26 05:17 internal 05:19:35 -rw-rw-r-- 1 jenkins jenkins 228 Jan 26 05:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:36 + 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=9d81109dc287cb6102337f413fb17321d9b28cfb --label arch=amd64 --label version=0.0.0 . 05:19:36 Sending build context to Docker daemon 14.12MB 05:19:36 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 05:19:36 Step 2/25 : FROM ${BASE} AS builder 05:19:36 ---> 3b551bd9d446 05:19:36 Step 3/25 : ARG ADD_BUILD_TAGS="" 05:19:36 ---> Running in 05b5f14e3f6c 05:19:36 Removing intermediate container 05b5f14e3f6c 05:19:36 ---> c90b3c04f763 05:19:36 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:19:36 ---> Running in f3ba5563fb58 05:19:36 Removing intermediate container f3ba5563fb58 05:19:36 ---> a94027527672 05:19:36 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:19:36 ---> Running in 7e1fd6389a8e 05:19:36 Removing intermediate container 7e1fd6389a8e 05:19:36 ---> fa689eb3aad0 05:19:36 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 05:19:36 ---> Running in e37704d63cf1 05:19:36 Removing intermediate container e37704d63cf1 05:19:36 ---> 23d6d943bed4 05:19:36 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:19:36 ---> Running in c2360fe14a68 05:19:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:19:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:19:37 OK: 268 MiB in 56 packages 05:19:37 Removing intermediate container c2360fe14a68 05:19:37 ---> e719ba815a1e 05:19:37 Step 8/25 : WORKDIR /device-snmp-go 05:19:37 ---> Running in b89a69ba1a5d 05:19:37 Removing intermediate container b89a69ba1a5d 05:19:37 ---> e1677377d985 05:19:37 Step 9/25 : COPY go.mod vendor* ./ 05:19:37 ---> eedc956473c9 05:19:37 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:19:37 ---> Running in 3f7c69b698ac 05:19:38 Removing intermediate container 3f7c69b698ac 05:19:38 ---> f0b9bb4cab3b 05:19:38 Step 11/25 : COPY . . 05:19:39 ---> 7b40fa9df66b 05:19:39 Step 12/25 : RUN ${MAKE} 05:19:39 ---> Running in 2062d9f9af35 05:19:39 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.7" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 05:19:57 Removing intermediate container 2062d9f9af35 05:19:57 ---> d29be2b564ea 05:19:57 Step 13/25 : FROM alpine:3.18 05:19:57 3.18: Pulling from library/alpine 05:19:57 c926b61bad3b: Pulling fs layer 05:19:57 c926b61bad3b: Download complete 05:19:57 c926b61bad3b: Pull complete 05:19:57 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 05:19:57 Status: Downloaded newer image for alpine:3.18 05:19:57 ---> b541f2080109 05:19:57 Step 14/25 : RUN apk add --update --no-cache dumb-init 05:19:57 ---> Running in 570e8487cbba 05:19:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:19:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:19:58 (1/1) Installing dumb-init (1.2.5-r2) 05:19:58 Executing busybox-1.36.1-r5.trigger 05:19:58 OK: 7 MiB in 16 packages 05:19:58 Removing intermediate container 570e8487cbba 05:19:58 ---> 7d8661cbeee0 05:19:58 Step 15/25 : RUN apk --no-cache upgrade 05:19:58 ---> Running in 4531e317df2d 05:19:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:19:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:19:59 (1/2) Upgrading libcrypto3 (3.1.4-r1 -> 3.1.4-r5) 05:19:59 (2/2) Upgrading libssl3 (3.1.4-r1 -> 3.1.4-r5) 05:19:59 OK: 7 MiB in 16 packages 05:19:59 Removing intermediate container 4531e317df2d 05:19:59 ---> f43758868a9f 05:19:59 Step 16/25 : COPY --from=builder /device-snmp-go/cmd / 05:20:00 ---> 89f7d2601be8 05:20:00 Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:20:00 ---> 67b085fe8564 05:20:00 Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / 05:20:00 ---> 5a114fddb8cf 05:20:00 Step 19/25 : EXPOSE 59993 05:20:00 ---> Running in 3cc9faabc089 05:20:00 Removing intermediate container 3cc9faabc089 05:20:00 ---> b0eba2462d83 05:20:00 Step 20/25 : EXPOSE 161 05:20:01 ---> Running in 8e81d314bd26 05:20:01 Removing intermediate container 8e81d314bd26 05:20:01 ---> 7461e41f7335 05:20:01 Step 21/25 : ENTRYPOINT ["/device-snmp"] 05:20:01 ---> Running in e6e9f65ec2e6 05:20:01 Removing intermediate container e6e9f65ec2e6 05:20:01 ---> 63a8fddc4d9d 05:20:01 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 05:20:01 ---> Running in 632712ef354e 05:20:01 Removing intermediate container 632712ef354e 05:20:01 ---> 48dbe653d997 05:20:01 Step 23/25 : LABEL arch=amd64 05:20:01 ---> Running in 1e1fc00bfaf6 05:20:01 Removing intermediate container 1e1fc00bfaf6 05:20:01 ---> 8006fa1bc515 05:20:01 Step 24/25 : LABEL git_sha=9d81109dc287cb6102337f413fb17321d9b28cfb 05:20:01 ---> Running in 64f02d7b35cc 05:20:01 Removing intermediate container 64f02d7b35cc 05:20:01 ---> dad1ff3da597 05:20:01 Step 25/25 : LABEL version=0.0.0 05:20:01 ---> Running in 199658b90539 05:20:01 Removing intermediate container 199658b90539 05:20:01 ---> 42f5242f0b80 05:20:01 [Warning] One or more build-args [ARCH] were not consumed 05:20:01 Successfully built 42f5242f0b80 05:20:01 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 05:20:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:20:02 05:20:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:20:03 latest: Pulling from edgex-lftools-log-publisher 05:20:03 5eb5b503b376: Pulling fs layer 05:20:03 5c69ac0246d0: Pulling fs layer 05:20:03 ec43610c2a17: Pulling fs layer 05:20:03 3a2ae6a8a46f: Pulling fs layer 05:20:03 33b1e0a273af: Pulling fs layer 05:20:03 5d3b04190fa2: Pulling fs layer 05:20:03 2f39f015ded8: Pulling fs layer 05:20:03 3a2ae6a8a46f: Waiting 05:20:03 5d3b04190fa2: Waiting 05:20:03 2f39f015ded8: Waiting 05:20:03 33b1e0a273af: Waiting 05:20:03 5c69ac0246d0: Download complete 05:20:03 3a2ae6a8a46f: Verifying Checksum 05:20:03 3a2ae6a8a46f: Download complete 05:20:03 33b1e0a273af: Verifying Checksum 05:20:03 33b1e0a273af: Download complete 05:20:03 ec43610c2a17: Verifying Checksum 05:20:03 ec43610c2a17: Download complete 05:20:03 5d3b04190fa2: Verifying Checksum 05:20:03 5d3b04190fa2: Download complete 05:20:03 5eb5b503b376: Verifying Checksum 05:20:03 5eb5b503b376: Download complete 05:20:04 2f39f015ded8: Download complete 05:20:04 5eb5b503b376: Pull complete 05:20:04 5c69ac0246d0: Pull complete 05:20:05 ec43610c2a17: Pull complete 05:20:05 3a2ae6a8a46f: Pull complete 05:20:05 33b1e0a273af: Pull complete 05:20:05 5d3b04190fa2: Pull complete 05:20:09 2f39f015ded8: Pull complete 05:20:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:20:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:20:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:20:10 prd-ubuntu20.04-docker-8c-8g-27964 does not seem to be running inside a container 05:20:10 $ 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-339 -v /w/workspace/gexfoundry_device-snmp-go_PR-339:/w/workspace/gexfoundry_device-snmp-go_PR-339:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-339@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-339@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:20:11 Running on prd-ubuntu20.04-docker-arm64-4c-16g-27965 in /w/workspace/gexfoundry_device-snmp-go_PR-339 05:20:13 $ docker top eb6d48885b6159808a453b2019470b78999af1161d8a6215a98391f2483cce6c -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 05:20:14 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 05:20:14 Selected Git installation does not exist. Using Default 05:20:14 The recommended git tool is: NONE 05:20:14 ---> job-cost.sh 05:20:14 lf-activate-venv: SKIPPING 05:20:14 INFO: No Stack... 05:20:14 INFO: Retrieving Pricing Info for: v3-standard-8 05:20:14 INFO: Archiving Costs [Pipeline] sh 05:20:15 + cat /w/workspace/gexfoundry_device-snmp-go_PR-339/archives/cost.csv 05:20:15 + cut -d, -f6 [Pipeline] lock 05:20:15 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-339-1-stack-cost] 05:20:15 Resource [jenkins-edgexfoundry-device-snmp-go-PR-339-1-stack-cost] did not exist. Created. 05:20:15 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-339-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:20:15 + echo total: 0.2199999988079071 [Pipeline] stash 05:20:15 Stashed 1 file(s) [Pipeline] } 05:20:15 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-339-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:20:16 $ docker stop --time=1 eb6d48885b6159808a453b2019470b78999af1161d8a6215a98391f2483cce6c 05:20:17 $ docker rm -f --volumes eb6d48885b6159808a453b2019470b78999af1161d8a6215a98391f2483cce6c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:20:21 using credential edgex-jenkins-ssh 05:20:21 Cloning the remote Git repository 05:20:21 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 05:20:21 > git init /w/workspace/device-snmp-go/1 # timeout=10 05:20:21 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:20:21 > git --version # timeout=10 05:20:21 > git --version # 'git version 2.25.1' 05:20:21 using GIT_SSH to set credentials SSH Credentials for GitHub 05:20:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:20:23 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:20:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:20:24 Merging remotes/origin/main commit 1c898a5d1a99b518c80e00aa3bb7c808b03e10be into PR head commit 9d81109dc287cb6102337f413fb17321d9b28cfb 05:20:23 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:20:23 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:20:23 using GIT_SSH to set credentials SSH Credentials for GitHub 05:20:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/339/head:refs/remotes/origin/PR-339 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:20:24 > git config core.sparsecheckout # timeout=10 05:20:24 > git checkout -f 9d81109dc287cb6102337f413fb17321d9b28cfb # timeout=10 05:20:24 Merge succeeded, producing 9d81109dc287cb6102337f413fb17321d9b28cfb 05:20:24 Checking out Revision 9d81109dc287cb6102337f413fb17321d9b28cfb (PR-339) 05:20:25 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 05:20:25 > git --version # timeout=10 05:20:25 > git --version # 'git version 2.25.1' 05:20:25 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 05:20:24 > git remote # timeout=10 05:20:24 > git config --get remote.origin.url # timeout=10 05:20:24 using GIT_SSH to set credentials SSH Credentials for GitHub 05:20:24 > git merge 1c898a5d1a99b518c80e00aa3bb7c808b03e10be # timeout=10 05:20:24 > git rev-parse HEAD^{commit} # timeout=10 05:20:24 > git config core.sparsecheckout # timeout=10 05:20:24 > git checkout -f 9d81109dc287cb6102337f413fb17321d9b28cfb # timeout=10 [Pipeline] sh 05:20:26 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:20:26 % Total % Received % Xferd Average Speed Time Time Time Current 05:20:26 Dload Upload Total Spent Left Speed 05:20:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 96075 0 --:--:-- --:--:-- --:--:-- 96075 [Pipeline] sh 05:20:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:20:27 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:20:27 + sudo tee /etc/docker/daemon.new 05:20:27 { 05:20:27 "registry-mirrors": [ 05:20:27 "https://nexus3.edgexfoundry.org:10001" 05:20:27 ], 05:20:27 "bip": "10.250.0.254/24", 05:20:27 "hosts": [ 05:20:27 "tcp://0.0.0.0:5555", 05:20:27 "unix:///var/run/docker.sock" 05:20:27 ], 05:20:27 "mtu": 1458, 05:20:27 "selinux-enabled": true, 05:20:27 "seccomp-profile": "/etc/docker/seccomp.json" 05:20:27 } [Pipeline] sh 05:20:27 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:20:27 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:20:46 provisioning config files... 05:20:46 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config148866245993340878tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:20:46 ---> ****-login.sh 05:20:46 nexus3.edgexfoundry.org:10001 05:20:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:20:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:20:47 Configure a credential helper to remove this warning. See 05:20:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:20:47 05:20:47 Login Succeeded 05:20:47 nexus3.edgexfoundry.org:10002 05:20:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:20:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:20:47 Configure a credential helper to remove this warning. See 05:20:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:20:47 05:20:47 Login Succeeded 05:20:47 nexus3.edgexfoundry.org:10003 05:20:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:20:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:20:47 Configure a credential helper to remove this warning. See 05:20:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:20:47 05:20:47 Login Succeeded 05:20:47 nexus3.edgexfoundry.org:10004 05:20:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:20:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:20:48 Configure a credential helper to remove this warning. See 05:20:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:20:48 05:20:48 Login Succeeded 05:20:48 ****.io 05:20:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:20:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:20:48 Configure a credential helper to remove this warning. See 05:20:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:20:48 05:20:48 Login Succeeded 05:20:48 ---> ****-login.sh ends [Pipeline] } 05:20:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:20:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:20:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:20:49 ========================================================= 05:20:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 05:20:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:50 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 05:20:51 #0 building with "default" instance using docker driver 05:20:51 05:20:51 #1 [internal] load build definition from Dockerfile 05:20:51 #1 transferring dockerfile: 1.61kB 0.0s done 05:20:51 #1 DONE 0.1s 05:20:51 05:20:51 #2 [internal] load .dockerignore 05:20:51 #2 transferring context: 46B done 05:20:51 #2 DONE 0.1s 05:20:51 05:20:51 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 05:20:51 #3 DONE 0.1s 05:20:51 05:20:51 #4 [internal] load build context 05:20:51 #4 DONE 0.0s 05:20:51 05:20:51 #5 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 05:20:51 #5 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 05:20:51 #5 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 05:20:51 #5 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 05:20:51 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0B / 63.99MB 0.1s 05:20:51 #5 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 05:20:51 #5 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 05:20:51 #5 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 05:20:51 #5 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s 05:20:51 #5 ... 05:20:51 05:20:51 #4 [internal] load build context 05:20:51 #4 transferring context: 7.04MB 0.3s done 05:20:51 #4 DONE 0.4s 05:20:51 05:20:51 #5 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 05:20:51 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 6.48MB / 63.99MB 0.3s 05:20:51 #5 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done 05:20:51 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 1.05MB / 97.63MB 0.3s 05:20:51 #5 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 2.10MB / 11.40MB 0.3s 05:20:51 #5 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 05:20:51 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.53MB / 63.99MB 0.4s 05:20:51 #5 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 6.46MB / 11.40MB 0.4s 05:20:52 #5 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.4s done 05:20:52 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 9.44MB / 97.63MB 0.5s 05:20:52 #5 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.5s 05:20:52 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 25.17MB / 63.99MB 0.7s 05:20:52 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 17.83MB / 97.63MB 0.7s 05:20:52 #5 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.5s done 05:20:52 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 29.36MB / 63.99MB 0.8s 05:20:52 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 23.07MB / 97.63MB 0.8s 05:20:52 #5 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 05:20:52 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 35.65MB / 63.99MB 0.9s 05:20:52 #5 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 05:20:52 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 46.71MB / 63.99MB 1.1s 05:20:52 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 37.75MB / 97.63MB 1.1s 05:20:52 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 52.43MB / 63.99MB 1.2s 05:20:52 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 44.04MB / 97.63MB 1.2s 05:20:52 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 58.77MB / 63.99MB 1.3s 05:20:52 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 50.33MB / 97.63MB 1.3s 05:20:52 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.4s done 05:20:52 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 62.91MB / 97.63MB 1.5s 05:20:52 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 68.80MB / 97.63MB 1.6s 05:20:52 #5 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 05:20:53 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 77.59MB / 97.63MB 1.8s 05:20:53 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 82.84MB / 97.63MB 1.9s 05:20:53 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 88.08MB / 97.63MB 2.0s 05:20:53 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 94.37MB / 97.63MB 2.1s 05:20:53 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.3s done 05:20:58 #5 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.3s 05:21:03 #5 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.5s 05:21:10 #5 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 16.6s done 05:21:10 #5 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 05:21:10 #5 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 05:21:11 #5 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 05:21:16 #5 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.1s 05:21:19 #5 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.7s done 05:21:19 #5 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 05:21:21 #5 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.7s done 05:21:21 #5 DONE 30.5s 05:21:21 05:21:21 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 05:21:22 #6 0.676 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:21:22 #6 1.066 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:21:23 #6 2.011 (1/4) Installing openssh-keygen (9.3_p2-r1) 05:21:23 #6 2.036 (2/4) Installing libedit (20221030.3.1-r1) 05:21:23 #6 2.053 (3/4) Installing openssh-client-common (9.3_p2-r1) 05:21:24 #6 2.117 (4/4) Installing openssh-client-default (9.3_p2-r1) 05:21:24 #6 2.142 Executing busybox-1.36.1-r5.trigger 05:21:24 #6 2.177 OK: 271 MiB in 56 packages 05:21:26 #6 DONE 4.0s 05:21:26 05:21:26 #7 [builder 3/7] WORKDIR /device-snmp-go 05:21:26 #7 DONE 0.1s 05:21:26 05:21:26 #8 [builder 4/7] COPY go.mod vendor* ./ 05:21:26 #8 DONE 0.1s 05:21:26 05:21:26 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:21:44 #9 DONE 16.8s 05:21:44 05:21:44 #10 [builder 6/7] COPY . . 05:21:44 #10 DONE 0.3s 05:21:44 05:21:44 #11 [builder 7/7] RUN echo noop 05:21:44 #11 0.624 noop 05:21:44 #11 DONE 0.7s 05:21:44 05:21:44 #12 exporting to image 05:21:44 #12 exporting layers 05:22:06 #12 exporting layers 19.4s done 05:22:06 #12 writing image sha256:c8dddb2ee462d0e0a5545691a3ba5ce3f79675e3dbcb3d7886168a33e6754c8a done 05:22:06 #12 naming to docker.io/library/ci-base-image-arm64 0.0s done 05:22:06 #12 DONE 19.4s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22:06 + docker inspect -f . ci-base-image-arm64 05:22:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:22:07 prd-ubuntu20.04-docker-arm64-4c-16g-27965 does not seem to be running inside a container 05:22:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:22:08 $ docker top 40acb94c577fa17382bd258d6a33aae5614841f4af98e608a7613bac33b0e1f9 -eo pid,comm [Pipeline] { [Pipeline] sh 05:22:08 + go version 05:22:09 go version go1.21.0 linux/arm64 [Pipeline] } 05:22:09 $ docker stop --time=1 40acb94c577fa17382bd258d6a33aae5614841f4af98e608a7613bac33b0e1f9 05:22:10 $ docker rm -f --volumes 40acb94c577fa17382bd258d6a33aae5614841f4af98e608a7613bac33b0e1f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22:12 + docker inspect -f . ci-base-image-arm64 05:22:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:22:12 prd-ubuntu20.04-docker-arm64-4c-16g-27965 does not seem to be running inside a container 05:22:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:22:13 $ docker top fd8aae152a792a282e8ae227e21bc5f35c291bee61f08318c2a18b964b952eab -eo pid,comm [Pipeline] { [Pipeline] sh 05:22:14 + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh 05:22:14 + make test 05:22:14 go test ./... -coverprofile=coverage.out 05:22:21 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:23:17 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:23:17 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.030s coverage: 0.0% of statements 05:23:17 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:23:17 go vet ./... 05:23:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:23:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:23:24 ./bin/test-attribution-txt.sh 05:23:24 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 05:23:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:23:24 $ docker stop --time=1 fd8aae152a792a282e8ae227e21bc5f35c291bee61f08318c2a18b964b952eab 05:23:26 $ docker rm -f --volumes fd8aae152a792a282e8ae227e21bc5f35c291bee61f08318c2a18b964b952eab [Pipeline] // withDockerContainer [Pipeline] sh 05:23:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:23:27 Warning: overwriting stash ‘coverage-report’ 05:23:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:23:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:23:29 + ls -al . 05:23:29 total 168 05:23:29 drwxrwxr-x 7 jenkins jenkins 4096 Jan 26 05:22 . 05:23:29 drwxrwxr-x 4 jenkins jenkins 4096 Jan 26 05:20 .. 05:23:29 -rw-rw-r-- 1 jenkins jenkins 6 Jan 26 05:20 .dockerignore 05:23:29 drwxrwxr-x 8 jenkins jenkins 4096 Jan 26 05:20 .git 05:23:29 drwxrwxr-x 3 jenkins jenkins 4096 Jan 26 05:20 .github 05:23:29 -rw-rw-r-- 1 jenkins jenkins 263 Jan 26 05:20 .gitignore 05:23:29 -rw-rw-r-- 1 jenkins jenkins 41 Jan 26 05:20 .golangci.yml 05:23:29 -rw-rw-r-- 1 jenkins jenkins 10025 Jan 26 05:20 Attribution.txt 05:23:29 -rw-rw-r-- 1 jenkins jenkins 11809 Jan 26 05:20 CHANGELOG.md 05:23:29 -rw-rw-r-- 1 jenkins jenkins 1571 Jan 26 05:20 Dockerfile 05:23:29 -rw-rw-r-- 1 jenkins jenkins 677 Jan 26 05:20 GOVERNANCE.md 05:23:29 -rw-rw-r-- 1 jenkins jenkins 656 Jan 26 05:20 Jenkinsfile 05:23:29 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 26 05:20 LICENSE 05:23:29 -rw-rw-r-- 1 jenkins jenkins 2240 Jan 26 05:20 Makefile 05:23:29 -rw-rw-r-- 1 jenkins jenkins 620 Jan 26 05:20 OWNERS.md 05:23:29 -rw-rw-r-- 1 jenkins jenkins 10477 Jan 26 05:20 README.md 05:23:29 -rw-rw-r-- 1 jenkins jenkins 5 Jan 26 05:18 VERSION 05:23:29 drwxrwxr-x 2 jenkins jenkins 4096 Jan 26 05:20 bin 05:23:29 drwxrwxr-x 3 jenkins jenkins 4096 Jan 26 05:20 cmd 05:23:29 -rw-r--r-- 1 jenkins jenkins 8837 Jan 26 05:23 coverage.out 05:23:29 -rw-rw-r-- 1 jenkins jenkins 3755 Jan 26 05:20 go.mod 05:23:29 -rw-rw-r-- 1 jenkins jenkins 34417 Jan 26 05:20 go.sum 05:23:29 drwxrwxr-x 3 jenkins jenkins 4096 Jan 26 05:20 internal 05:23:29 -rw-rw-r-- 1 jenkins jenkins 228 Jan 26 05:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:23:29 + 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=9d81109dc287cb6102337f413fb17321d9b28cfb --label arch=arm64 --label version=0.0.0 . 05:23:30 #0 building with "default" instance using docker driver 05:23:30 05:23:30 #1 [internal] load .dockerignore 05:23:30 #1 transferring context: 46B done 05:23:30 #1 DONE 0.0s 05:23:30 05:23:30 #2 [internal] load build definition from Dockerfile 05:23:30 #2 transferring dockerfile: 1.61kB done 05:23:30 #2 DONE 0.0s 05:23:30 05:23:30 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 05:23:30 #3 DONE 0.0s 05:23:30 05:23:30 #4 [internal] load metadata for docker.io/library/alpine:3.18 05:23:30 #4 DONE 0.3s 05:23:30 05:23:30 #5 [internal] load build context 05:23:30 #5 transferring context: 15.68kB 0.0s done 05:23:30 #5 DONE 0.1s 05:23:30 05:23:30 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 05:23:30 #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 05:23:30 #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 05:23:30 #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 05:23:30 #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 05:23:30 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 2.10MB / 3.33MB 0.1s 05:23:30 #6 ... 05:23:30 05:23:30 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 05:23:30 #7 DONE 0.2s 05:23:30 05:23:30 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 05:23:30 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 05:23:30 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 05:23:31 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.4s done 05:23:31 #6 DONE 0.9s 05:23:31 05:23:31 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 05:23:32 #8 0.618 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:23:32 #8 0.946 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:23:33 #8 ... 05:23:33 05:23:33 #9 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 05:23:33 #9 0.690 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:23:33 #9 1.121 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:23:33 #9 2.171 OK: 271 MiB in 56 packages 05:23:33 #9 DONE 2.5s 05:23:33 05:23:33 #10 [builder 3/7] WORKDIR /device-snmp-go 05:23:33 #10 DONE 0.1s 05:23:33 05:23:33 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 05:23:33 #8 ... 05:23:33 05:23:33 #11 [builder 4/7] COPY go.mod vendor* ./ 05:23:33 #11 DONE 0.1s 05:23:33 05:23:33 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 05:23:33 #8 2.029 (1/1) Installing dumb-init (1.2.5-r2) 05:23:33 #8 2.042 Executing busybox-1.36.1-r5.trigger 05:23:33 #8 2.068 OK: 8 MiB in 16 packages 05:23:34 #8 DONE 2.4s 05:23:34 05:23:34 #12 [stage-1 3/6] RUN apk --no-cache upgrade 05:23:34 #12 ... 05:23:34 05:23:34 #13 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:23:34 #13 DONE 1.2s 05:23:34 05:23:34 #12 [stage-1 3/6] RUN apk --no-cache upgrade 05:23:34 #12 0.860 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:23:34 #12 ... 05:23:34 05:23:34 #14 [builder 6/7] COPY . . 05:23:34 #14 DONE 0.3s 05:23:34 05:23:34 #12 [stage-1 3/6] RUN apk --no-cache upgrade 05:23:34 #12 1.224 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:23:36 #12 2.334 (1/2) Upgrading libcrypto3 (3.1.4-r1 -> 3.1.4-r5) 05:23:36 #12 2.448 (2/2) Upgrading libssl3 (3.1.4-r1 -> 3.1.4-r5) 05:23:36 #12 2.472 OK: 8 MiB in 16 packages 05:23:36 #12 DONE 2.8s 05:23:36 05:23:36 #15 [builder 7/7] RUN make build 05:23:36 #15 0.710 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.7" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 05:24:44 #15 DONE 62.5s 05:24:44 05:24:44 #16 [stage-1 4/6] COPY --from=builder /device-snmp-go/cmd / 05:24:44 #16 DONE 0.3s 05:24:44 05:24:44 #17 [stage-1 5/6] COPY --from=builder /device-snmp-go/Attribution.txt / 05:24:44 #17 DONE 0.1s 05:24:44 05:24:44 #18 [stage-1 6/6] COPY --from=builder /device-snmp-go/LICENSE / 05:24:44 #18 DONE 0.1s 05:24:44 05:24:44 #19 exporting to image 05:24:44 #19 exporting layers 05:24:44 #19 exporting layers 0.4s done 05:24:44 #19 writing image sha256:ff5eb011058eb30b51958ab09e9161fa8fb5caf0079e5263eb666513f2c22755 done 05:24:44 #19 naming to docker.io/library/device-snmp-arm64 0.0s done 05:24:44 #19 DONE 0.4s [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 05:24:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:24:45 05:24:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:24:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:24:46 arm64: Pulling from edgex-lftools-log-publisher 05:24:46 8998bd30e6a1: Pulling fs layer 05:24:46 04944245beec: Pulling fs layer 05:24:46 699f458cf7ca: Pulling fs layer 05:24:46 765212b225bb: Pulling fs layer 05:24:46 f23df028b6ca: Pulling fs layer 05:24:46 d65c8cfc05b1: Pulling fs layer 05:24:46 2437ff75d9bd: Pulling fs layer 05:24:46 f23df028b6ca: Waiting 05:24:46 765212b225bb: Waiting 05:24:46 d65c8cfc05b1: Waiting 05:24:46 2437ff75d9bd: Waiting 05:24:46 04944245beec: Verifying Checksum 05:24:46 04944245beec: Download complete 05:24:46 765212b225bb: Verifying Checksum 05:24:46 765212b225bb: Download complete 05:24:46 f23df028b6ca: Verifying Checksum 05:24:46 f23df028b6ca: Download complete 05:24:46 d65c8cfc05b1: Download complete 05:24:46 699f458cf7ca: Verifying Checksum 05:24:46 699f458cf7ca: Download complete 05:24:47 8998bd30e6a1: Verifying Checksum 05:24:47 8998bd30e6a1: Download complete 05:24:49 2437ff75d9bd: Download complete 05:24:53 8998bd30e6a1: Pull complete 05:24:53 04944245beec: Pull complete 05:24:58 699f458cf7ca: Pull complete 05:24:58 765212b225bb: Pull complete 05:24:59 f23df028b6ca: Pull complete 05:24:59 d65c8cfc05b1: Pull complete 05:25:21 2437ff75d9bd: Pull complete 05:25:21 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:25:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:25:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:25:22 prd-ubuntu20.04-docker-arm64-4c-16g-27965 does not seem to be running inside a container 05:25:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:25:24 $ docker top 1bc3ee0d6418ec29e1a93cc11ed309207698a240ab7caccafb441246db46f148 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:25:24 ---> job-cost.sh 05:25:24 lf-activate-venv: SKIPPING 05:25:24 INFO: No Stack... 05:25:25 INFO: Retrieving Pricing Info for: v3-standard-8 05:25:26 INFO: Archiving Costs [Pipeline] sh 05:25:26 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 05:25:26 + cut -d, -f6 [Pipeline] lock 05:25:26 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-339-1-stack-cost] 05:25:26 Resource [jenkins-edgexfoundry-device-snmp-go-PR-339-1-stack-cost] did not exist. Created. 05:25:26 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-339-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:25:27 /w/workspace/device-snmp-go/1@tmp/durable-98501bc4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:25:27 + echo total: 0.2199999988079071 [Pipeline] stash 05:25:27 Warning: overwriting stash ‘stack-cost’ 05:25:27 Stashed 1 file(s) [Pipeline] } 05:25:27 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-339-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:25:27 $ docker stop --time=1 1bc3ee0d6418ec29e1a93cc11ed309207698a240ab7caccafb441246db46f148 05:25:29 $ docker rm -f --volumes 1bc3ee0d6418ec29e1a93cc11ed309207698a240ab7caccafb441246db46f148 [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 05:25:32 provisioning config files... 05:25:32 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-339@tmp/config16207801760814167945tmp [Pipeline] { [Pipeline] sh 05:25:32 + set +x 05:25:32 + curl -s https://codecov.io/bash 05:25:32 + bash -s -- 05:25:32 05:25:32 _____ _ 05:25:32 / ____| | | 05:25:32 | | ___ __| | ___ ___ _____ __ 05:25:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:25:32 | |___| (_) | (_| | __/ (_| (_) \ V / 05:25:32 \_____\___/ \__,_|\___|\___\___/ \_/ 05:25:32 Bash-1.0.6 05:25:32 05:25:32 05:25:32 ==> git version 2.25.1 found 05:25:32 ==> 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 05:25:32 Release-Date: 2020-01-08 05:25:32 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:25:32 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:25:32 ==> Jenkins CI detected. 05:25:32 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-339 05:25:32 project root: . 05:25:32 --> token set from env 05:25:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:25:32 ==> Running gcov in . (disable via -X gcov) 05:25:32 ==> Python coveragepy not found 05:25:32 ==> Searching for coverage reports in: 05:25:32 + . 05:25:32 -> Found 1 reports 05:25:32 ==> Detecting git/mercurial file structure 05:25:32 ==> Reading reports 05:25:32 + ./coverage.out bytes=8837 05:25:32 ==> Appending adjustments 05:25:32 https://docs.codecov.io/docs/fixing-reports 05:25:32 + Found adjustments 05:25:32 ==> Gzipping contents 05:25:32 4.0K /tmp/codecov.U2VT0v.gz 05:25:32 ==> Uploading reports 05:25:32 url: https://codecov.io 05:25:32 query: branch=PR-339&commit=9d81109dc287cb6102337f413fb17321d9b28cfb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-339%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=339&job=&cmd_args= 05:25:32 -> Pinging Codecov 05:25:32 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-339&commit=9d81109dc287cb6102337f413fb17321d9b28cfb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-339%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=339&job=&cmd_args= 05:25:33 -> Uploading to 05:25:33 https://storage.googleapis.com/codecov/v4/raw/2024-01-26/6C56EA5C29638FB4528AC87E60AF5AE0/9d81109dc287cb6102337f413fb17321d9b28cfb/39f496d2-2286-43a5-a77c-f6d73f8237fe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240126%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240126T052532Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3cc8af10775711cf1c846b7980698f4c3a92c3038104438068074b74fed0153a 05:25:33 % Total % Received % Xferd Average Speed Time Time Time Current 05:25:33 Dload Upload Total Spent Left Speed 05:25:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1435 0 0 100 1435 0 6493 --:--:-- --:--:-- --:--:-- 6463 100 1435 0 0 100 1435 0 5394 --:--:-- --:--:-- --:--:-- 5374 05:25:33 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/9d81109dc287cb6102337f413fb17321d9b28cfb [Pipeline] } 05:25:33 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 05:25:36 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-339/archives ] 05:25:36 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-339/archives 05:25:36 total 16 05:25:36 drwxr-xr-x 3 root root 4096 Jan 26 05:20 . 05:25:36 drwxrwxr-x 9 jenkins jenkins 4096 Jan 26 05:20 .. 05:25:36 drwxr-xr-x 2 root root 4096 Jan 26 05:20 cost 05:25:36 -rw-r--r-- 1 root root 86 Jan 26 05:20 cost.csv 05:25:36 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-339/archives 05:25:36 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-339/archives 05:25:36 total 16 05:25:36 drwxr-xr-x 3 jenkins jenkins 4096 Jan 26 05:20 . 05:25:36 drwxrwxr-x 9 jenkins jenkins 4096 Jan 26 05:20 .. 05:25:36 drwxr-xr-x 2 jenkins jenkins 4096 Jan 26 05:20 cost 05:25:36 -rw-r--r-- 1 jenkins jenkins 86 Jan 26 05:20 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:25:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:25:38 ---> package-listing.sh 05:25:38 ++ facter osfamily 05:25:38 ++ tr '[:upper:]' '[:lower:]' 05:25:38 + OS_FAMILY=debian 05:25:38 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-339 05:25:38 + START_PACKAGES=/tmp/packages_start.txt 05:25:38 + END_PACKAGES=/tmp/packages_end.txt 05:25:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:25:38 + PACKAGES=/tmp/packages_start.txt 05:25:38 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-339 ']' 05:25:38 + PACKAGES=/tmp/packages_end.txt 05:25:38 + case "${OS_FAMILY}" in 05:25:38 + dpkg -l 05:25:38 + grep '^ii' 05:25:38 + '[' -f /tmp/packages_start.txt ']' 05:25:38 + '[' -f /tmp/packages_end.txt ']' 05:25:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:25:38 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-339 ']' 05:25:38 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-339/archives/ 05:25:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-339/archives/ [Pipeline] echo 05:25:38 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-339/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:25:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:25:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:25:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:25:40 prd-ubuntu20.04-docker-8c-8g-27964 does not seem to be running inside a container 05:25:41 $ 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-339/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-339 -v /w/workspace/gexfoundry_device-snmp-go_PR-339:/w/workspace/gexfoundry_device-snmp-go_PR-339:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-339@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-339@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:25:41 $ docker top ac4f83ff0df98809e79e04223ad3443b323b81904694f68c1b92683bdf158126 -eo pid,comm [Pipeline] { [Pipeline] sh 05:25:41 + touch /tmp/pre-build-complete [Pipeline] sh 05:25:41 + mkdir -p /var/log/sysstat [Pipeline] sh 05:25:42 + ls /var/log/sa-host 05:25:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:25:42 provisioning config files... 05:25:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-339@tmp/config10647529076793377873tmp [Pipeline] { [Pipeline] echo 05:25:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:25:43 ---> create-netrc.sh [Pipeline] } 05:25:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:25:43 ---> python-tools-install.sh [Pipeline] echo 05:25:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:25:44 ---> sudo-logs.sh 05:25:44 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:25:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:25:44 ---> job-cost.sh 05:25:44 lf-activate-venv: SKIPPING 05:25:44 DEBUG: total: 0.2199999988079071 05:25:44 INFO: Retrieving Stack Cost... 05:25:45 INFO: Retrieving Pricing Info for: v3-standard-8 05:25:45 INFO: Archiving Costs [Pipeline] echo 05:25:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:25:45 ---> logs-deploy.sh 05:25:45 lf-activate-venv: SKIPPING 05:25:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-339/1 05:25:45 INFO: archiving workspace using pattern(s): 05:25:46 Archives upload complete. 05:25:46 INFO: archiving logs to Nexus