Pull request #336 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cff50b6e48a4132b9eb62726df369c2f6373a231+027e49bbb3adb675c2501a9a4fed4a08c937de63 (a37a4cb69cb07599840ea8153b3849c1e51f6c1c) 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-ssh851946036015775047.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-ssh11174223853670264459.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-336/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-336/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8529747266536909005.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-336/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17868720646217067349.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-ssh18092992281904684749.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-336/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-336/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18080521824776726049.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 ‘prd-ubuntu20.04-docker-8c-8g-25119’ is offline Running on prd-ubuntu20.04-docker-8c-8g-25140 in /w/workspace/gexfoundry_device-snmp-go_PR-336 [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-336 # 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/336/head:refs/remotes/origin/PR-336 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 027e49bbb3adb675c2501a9a4fed4a08c937de63 into PR head commit cff50b6e48a4132b9eb62726df369c2f6373a231 Merge succeeded, producing cff50b6e48a4132b9eb62726df369c2f6373a231 Checking out Revision cff50b6e48a4132b9eb62726df369c2f6373a231 (PR-336) 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 cff50b6e48a4132b9eb62726df369c2f6373a231 # 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 027e49bbb3adb675c2501a9a4fed4a08c937de63 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cff50b6e48a4132b9eb62726df369c2f6373a231 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:05:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:05:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:05:05 ========================================================= 05:05:05 EdgeX Global Pipelines Version Info 05:05:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:05:06 ------------------- 05:05:06 stable info: 05:05:06 ------------------- 05:05:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:05:06 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 05:05:06 Message: update stable to v1.0.258 05:05:06 ------------------- 05:05:06 experimental info: 05:05:06 ------------------- 05:05:06 Commited By: **** collab-it+edgex@linuxfoundation.org 05:05:06 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 05:05:06 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:05:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 05:05:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 05:05:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:05:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:05:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:05:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 05:05:07 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:05:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:05:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:05:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:05:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:05:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 05:05:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:05:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:05:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:05:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:05:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:05:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:05:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:05:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:05:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:05:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:05:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:05:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:05:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:05:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:05:08 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:05:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-336 [Pipeline] echo 05:05:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-336 [Pipeline] echo 05:05:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-336 [Pipeline] echo 05:05:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cff50b6e48a4132b9eb62726df369c2f6373a231 [Pipeline] echo 05:05:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cff50b6 [Pipeline] echo 05:05:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:05:09 provisioning config files... 05:05:09 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-336@tmp/config3855260030816027796tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:05:09 ---> ****-login.sh 05:05:09 nexus3.edgexfoundry.org:10001 05:05:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:05:10 Configure a credential helper to remove this warning. See 05:05:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:05:10 05:05:10 Login Succeeded 05:05:10 nexus3.edgexfoundry.org:10002 05:05:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:05:10 Configure a credential helper to remove this warning. See 05:05:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:05:10 05:05:10 Login Succeeded 05:05:10 nexus3.edgexfoundry.org:10003 05:05:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:05:10 Configure a credential helper to remove this warning. See 05:05:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:05:10 05:05:10 Login Succeeded 05:05:10 nexus3.edgexfoundry.org:10004 05:05:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:05:10 Configure a credential helper to remove this warning. See 05:05:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:05:10 05:05:10 Login Succeeded 05:05:10 ****.io 05:05:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:05:10 Configure a credential helper to remove this warning. See 05:05:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:05:10 05:05:10 Login Succeeded 05:05:10 ---> ****-login.sh ends [Pipeline] } 05:05:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:05:11 + git rev-list -1 --merges cff50b6e48a4132b9eb62726df369c2f6373a231~1..cff50b6e48a4132b9eb62726df369c2f6373a231 [Pipeline] echo 05:05:11 -----------> git rev-list -1 --merges cff50b6e48a4132b9eb62726df369c2f6373a231~1..cff50b6e48a4132b9eb62726df369c2f6373a231 cff50b6e48a4132b9eb62726df369c2f6373a231 [false] [Pipeline] sh 05:05:11 + git log --format=format:%s -1 cff50b6e48a4132b9eb62726df369c2f6373a231 [Pipeline] echo 05:05:11 ========================================================= 05:05:11 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:05:11 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:05:12 + git log --format=format:%s -1 cff50b6e48a4132b9eb62726df369c2f6373a231 [Pipeline] echo 05:05:12 [semverPrep] GIT_COMMIT: cff50b6e48a4132b9eb62726df369c2f6373a231, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 05:05:12 [semverPrep] This is not a build commit. [Pipeline] sh 05:05:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:05:12 + grep -v github /etc/ssh/ssh_known_hosts 05:05:12 + [ -e /tmp/ssh_known_hosts ] 05:05:12 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:05:12 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:05:12 + sudo tee -a /etc/ssh/ssh_known_hosts 05:05:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:05:13 05:05:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:05:13 0.1.4: Pulling from edgex-devops/py-git-semver 05:05:13 b85a868b505f: Pulling fs layer 05:05:13 e2be974225ed: Pulling fs layer 05:05:13 339a4e72a1f5: Pulling fs layer 05:05:13 988bab9f4d93: Pulling fs layer 05:05:13 1469e6f7b9e6: Pulling fs layer 05:05:13 eaf3925da568: Pulling fs layer 05:05:13 988bab9f4d93: Waiting 05:05:13 bab4dde63d76: Pulling fs layer 05:05:13 bde34c3a00c8: Pulling fs layer 05:05:13 1469e6f7b9e6: Waiting 05:05:13 b352a97aabf1: Pulling fs layer 05:05:13 4872d77fe225: Pulling fs layer 05:05:13 5851b861e8e6: Pulling fs layer 05:05:13 eaf3925da568: Waiting 05:05:13 bde34c3a00c8: Waiting 05:05:13 4872d77fe225: Waiting 05:05:13 5851b861e8e6: Waiting 05:05:13 b352a97aabf1: Waiting 05:05:13 bab4dde63d76: Waiting 05:05:13 e2be974225ed: Verifying Checksum 05:05:13 e2be974225ed: Download complete 05:05:13 988bab9f4d93: Download complete 05:05:14 1469e6f7b9e6: Verifying Checksum 05:05:14 1469e6f7b9e6: Download complete 05:05:14 eaf3925da568: Download complete 05:05:14 339a4e72a1f5: Verifying Checksum 05:05:14 339a4e72a1f5: Download complete 05:05:14 bde34c3a00c8: Download complete 05:05:14 b352a97aabf1: Verifying Checksum 05:05:14 b352a97aabf1: Download complete 05:05:14 4872d77fe225: Download complete 05:05:14 5851b861e8e6: Verifying Checksum 05:05:14 5851b861e8e6: Download complete 05:05:14 b85a868b505f: Verifying Checksum 05:05:14 b85a868b505f: Download complete 05:05:14 bab4dde63d76: Verifying Checksum 05:05:14 bab4dde63d76: Download complete 05:05:15 b85a868b505f: Pull complete 05:05:15 e2be974225ed: Pull complete 05:05:15 339a4e72a1f5: Pull complete 05:05:16 988bab9f4d93: Pull complete 05:05:16 1469e6f7b9e6: Pull complete 05:05:16 eaf3925da568: Pull complete 05:05:18 bab4dde63d76: Pull complete 05:05:18 bde34c3a00c8: Pull complete 05:05:18 b352a97aabf1: Pull complete 05:05:18 4872d77fe225: Pull complete 05:05:18 5851b861e8e6: Pull complete 05:05:18 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:05:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:05:18 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:18 prd-ubuntu20.04-docker-8c-8g-25140 does not seem to be running inside a container 05:05:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-336 -v /w/workspace/gexfoundry_device-snmp-go_PR-336:/w/workspace/gexfoundry_device-snmp-go_PR-336:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-336@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-336@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:05:22 $ docker top 6cbaf09793ec89281894d184016da295ac34c049033d53d0d99449f1754f5247 -eo pid,comm 05:05:22 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:05:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:05:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:05:22 [ssh-agent] Looking for ssh-agent implementation... 05:05:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:05:22 $ docker exec 6cbaf09793ec89281894d184016da295ac34c049033d53d0d99449f1754f5247 ssh-agent 05:05:22 SSH_AUTH_SOCK=/tmp/ssh-7MwW1ABqEczo/agent.32 05:05:22 SSH_AGENT_PID=38 05:05:22 Running ssh-add (command line suppressed) 05:05:22 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-336@tmp/private_key_4358847409083726622.key (/w/workspace/gexfoundry_device-snmp-go_PR-336@tmp/private_key_4358847409083726622.key) 05:05:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:05:23 + git tag --points-at HEAD [Pipeline] } 05:05:23 $ docker exec --env ******** --env ******** 6cbaf09793ec89281894d184016da295ac34c049033d53d0d99449f1754f5247 ssh-agent -k 05:05:23 unset SSH_AUTH_SOCK; 05:05:23 unset SSH_AGENT_PID; 05:05:23 echo Agent pid 38 killed; 05:05:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:05:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:05:23 [ssh-agent] Looking for ssh-agent implementation... 05:05:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:05:23 $ docker exec 6cbaf09793ec89281894d184016da295ac34c049033d53d0d99449f1754f5247 ssh-agent 05:05:23 SSH_AUTH_SOCK=/tmp/ssh-tsOTbfhORjBC/agent.70 05:05:23 SSH_AGENT_PID=76 05:05:23 Running ssh-add (command line suppressed) 05:05:23 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-336@tmp/private_key_5124360688925312570.key (/w/workspace/gexfoundry_device-snmp-go_PR-336@tmp/private_key_5124360688925312570.key) 05:05:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:05:24 + git semver init 05:05:24 2023-12-15 05:05:24,270 [run_init] DEBUG init version:0.0.0 force:False 05:05:24 2023-12-15 05:05:24,271 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-336/.semver 05:05:24 2023-12-15 05:05:24,272 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-336/.semver 05:05:24 2023-12-15 05:05:24,272 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-336/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-336, universal_newlines=False, shell=None, istream=None) 05:05:25 2023-12-15 05:05:25,340 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-336/.git/info/exclude 05:05:25 2023-12-15 05:05:25,340 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-336/.semver/PR-336 with force:False 05:05:25 2023-12-15 05:05:25,340 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-336/.semver/PR-336 05:05:25 2023-12-15 05:05:25,342 [execute] INFO git cat-file --batch-check 05:05:25 2023-12-15 05:05:25,342 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-336/.semver, universal_newlines=False, shell=None, istream=) 05:05:25 2023-12-15 05:05:25,346 [execute] INFO git cat-file --batch 05:05:25 2023-12-15 05:05:25,346 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-336/.semver, universal_newlines=False, shell=None, istream=) 05:05:25 2023-12-15 05:05:25,350 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-336/.semver/PR-336 05:05:25 0.0.0 [Pipeline] } 05:05:25 $ docker exec --env ******** --env ******** 6cbaf09793ec89281894d184016da295ac34c049033d53d0d99449f1754f5247 ssh-agent -k 05:05:25 unset SSH_AUTH_SOCK; 05:05:25 unset SSH_AGENT_PID; 05:05:25 echo Agent pid 76 killed; 05:05:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:05:26 + git semver [Pipeline] } 05:05:26 $ docker stop --time=1 6cbaf09793ec89281894d184016da295ac34c049033d53d0d99449f1754f5247 05:05:27 $ docker rm -f --volumes 6cbaf09793ec89281894d184016da295ac34c049033d53d0d99449f1754f5247 [Pipeline] // withDockerContainer [Pipeline] sh 05:05:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:05:28 Stashed 1 file(s) [Pipeline] echo 05:05:28 [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:05:29 provisioning config files... 05:05:29 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-336@tmp/config12110605966357796996tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:05:30 ---> ****-login.sh 05:05:30 nexus3.edgexfoundry.org:10001 05:05:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:05:30 Configure a credential helper to remove this warning. See 05:05:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:05:30 05:05:30 Login Succeeded 05:05:30 nexus3.edgexfoundry.org:10002 05:05:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:05:30 Configure a credential helper to remove this warning. See 05:05:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:05:30 05:05:30 Login Succeeded 05:05:30 nexus3.edgexfoundry.org:10003 05:05:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:05:30 Configure a credential helper to remove this warning. See 05:05:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:05:30 05:05:30 Login Succeeded 05:05:30 nexus3.edgexfoundry.org:10004 05:05:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:05:30 Configure a credential helper to remove this warning. See 05:05:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:05:30 05:05:30 Login Succeeded 05:05:30 ****.io 05:05:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:05:30 Configure a credential helper to remove this warning. See 05:05:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:05:30 05:05:30 Login Succeeded 05:05:30 ---> ****-login.sh ends [Pipeline] } 05:05:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:05:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:05:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:05:31 ========================================================= 05:05:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 05:05:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:31 + 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:05:31 Sending build context to Docker daemon 14.09MB 05:05:31 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 05:05:31 Step 2/12 : FROM ${BASE} AS builder 05:05:31 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 05:05:31 7264a8db6415: Pulling fs layer 05:05:31 c4d48a809fc2: Pulling fs layer 05:05:31 4f1c88b9dad5: Pulling fs layer 05:05:31 ad3a456e5733: Pulling fs layer 05:05:31 69c7f0334f64: Pulling fs layer 05:05:31 1f1c1a5573a3: Pulling fs layer 05:05:31 ce7588e14bc9: Pulling fs layer 05:05:31 b5e4710f87ac: Pulling fs layer 05:05:31 1f1c1a5573a3: Waiting 05:05:31 69c7f0334f64: Waiting 05:05:31 ce7588e14bc9: Waiting 05:05:31 b5e4710f87ac: Waiting 05:05:31 c4d48a809fc2: Download complete 05:05:31 ad3a456e5733: Download complete 05:05:32 69c7f0334f64: Download complete 05:05:32 7264a8db6415: Verifying Checksum 05:05:32 7264a8db6415: Download complete 05:05:32 1f1c1a5573a3: Verifying Checksum 05:05:32 1f1c1a5573a3: Download complete 05:05:32 7264a8db6415: Pull complete 05:05:32 b5e4710f87ac: Verifying Checksum 05:05:32 b5e4710f87ac: Download complete 05:05:32 c4d48a809fc2: Pull complete 05:05:32 4f1c88b9dad5: Verifying Checksum 05:05:32 4f1c88b9dad5: Download complete 05:05:32 ce7588e14bc9: Verifying Checksum 05:05:35 4f1c88b9dad5: Pull complete 05:05:35 ad3a456e5733: Pull complete 05:05:35 69c7f0334f64: Pull complete 05:05:35 1f1c1a5573a3: Pull complete 05:05:37 ce7588e14bc9: Pull complete 05:05:37 b5e4710f87ac: Pull complete 05:05:37 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 05:05:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 05:05:37 ---> 88b5674ff536 05:05:37 Step 3/12 : ARG ADD_BUILD_TAGS="" 05:05:43 ---> Running in fe066bbdc99b 05:05:43 Removing intermediate container fe066bbdc99b 05:05:43 ---> e3acc609c3d6 05:05:43 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:05:43 ---> Running in e678e3010c1c 05:05:43 Removing intermediate container e678e3010c1c 05:05:43 ---> ae7413599333 05:05:43 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:05:43 ---> Running in 7e906f599596 05:05:43 Removing intermediate container 7e906f599596 05:05:43 ---> 16f0fd9dfdd8 05:05:43 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 05:05:43 ---> Running in 2c128c8222d4 05:05:43 Removing intermediate container 2c128c8222d4 05:05:43 ---> 800022beb572 05:05:43 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:05:43 ---> Running in 1c8f119373b8 05:05:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:05:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:05:43 (1/4) Installing openssh-keygen (9.3_p2-r0) 05:05:43 (2/4) Installing libedit (20221030.3.1-r1) 05:05:43 (3/4) Installing openssh-client-common (9.3_p2-r0) 05:05:43 (4/4) Installing openssh-client-default (9.3_p2-r0) 05:05:43 Executing busybox-1.36.1-r5.trigger 05:05:43 OK: 268 MiB in 56 packages 05:05:44 Removing intermediate container 1c8f119373b8 05:05:44 ---> d5421b8a07d6 05:05:44 Step 8/12 : WORKDIR /device-snmp-go 05:05:44 ---> Running in 9e3a9c263d53 05:05:44 Removing intermediate container 9e3a9c263d53 05:05:44 ---> c301cbb9bc26 05:05:44 Step 9/12 : COPY go.mod vendor* ./ 05:05:44 ---> 1c402289b871 05:05:44 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:05:44 ---> Running in 6288c11ad977 05:05:44 Still waiting to schedule task 05:05:44 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:06:31 Removing intermediate container 6288c11ad977 05:06:31 ---> a45609cdf7e1 05:06:31 Step 11/12 : COPY . . 05:06:31 ---> 81f09df0dc88 05:06:31 Step 12/12 : RUN ${MAKE} 05:06:31 ---> Running in 5d33ab02341d 05:06:31 noop 05:06:32 Removing intermediate container 5d33ab02341d 05:06:32 ---> 4c7eb9b421a7 05:06:32 Successfully built 4c7eb9b421a7 05:06:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:32 + docker inspect -f . ci-base-image-x86_64 05:06:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:06:32 prd-ubuntu20.04-docker-8c-8g-25140 does not seem to be running inside a container 05:06:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-336 -v /w/workspace/gexfoundry_device-snmp-go_PR-336:/w/workspace/gexfoundry_device-snmp-go_PR-336:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-336@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-336@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:06:33 $ docker top 640c1c14b5946fc84606e82a27a6a1ff207b255e66f1519eddffa7fbf493a5ff -eo pid,comm [Pipeline] { [Pipeline] sh 05:06:33 + go version 05:06:33 go version go1.21.0 linux/amd64 [Pipeline] } 05:06:33 $ docker stop --time=1 640c1c14b5946fc84606e82a27a6a1ff207b255e66f1519eddffa7fbf493a5ff 05:06:34 $ docker rm -f --volumes 640c1c14b5946fc84606e82a27a6a1ff207b255e66f1519eddffa7fbf493a5ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:35 + docker inspect -f . ci-base-image-x86_64 05:06:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:06:36 prd-ubuntu20.04-docker-8c-8g-25140 does not seem to be running inside a container 05:06:36 $ 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-336 -v /w/workspace/gexfoundry_device-snmp-go_PR-336:/w/workspace/gexfoundry_device-snmp-go_PR-336:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-336@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-336@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:06:36 $ docker top 1eef8dd8833e62f477da1702de0a55baa62f7949c75ee188e4656923e8bab4b7 -eo pid,comm [Pipeline] { [Pipeline] sh 05:06:36 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-336 [Pipeline] fileExists [Pipeline] sh 05:06:37 + make test 05:06:37 go test ./... -coverprofile=coverage.out 05:06:38 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:06:48 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:06:48 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.010s coverage: 0.0% of statements 05:06:56 go vet ./... 05:06:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:06:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:06:59 ./bin/test-attribution-txt.sh [Pipeline] echo 05:06:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:06:59 $ docker stop --time=1 1eef8dd8833e62f477da1702de0a55baa62f7949c75ee188e4656923e8bab4b7 05:07:02 $ docker rm -f --volumes 1eef8dd8833e62f477da1702de0a55baa62f7949c75ee188e4656923e8bab4b7 [Pipeline] // withDockerContainer [Pipeline] sh 05:07:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:07:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:07:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:07:04 + ls -al . 05:07:04 total 172 05:07:04 drwxrwxr-x 8 jenkins jenkins 4096 Dec 15 05:06 . 05:07:04 drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 05:05 .. 05:07:04 -rw-rw-r-- 1 jenkins jenkins 6 Dec 15 05:05 .dockerignore 05:07:04 drwxrwxr-x 8 jenkins jenkins 4096 Dec 15 05:06 .git 05:07:04 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 05:05 .github 05:07:04 -rw-rw-r-- 1 jenkins jenkins 263 Dec 15 05:05 .gitignore 05:07:04 -rw-rw-r-- 1 jenkins jenkins 41 Dec 15 05:05 .golangci.yml 05:07:04 drwxr-xr-x 3 jenkins jenkins 4096 Dec 15 05:05 .semver 05:07:04 -rw-rw-r-- 1 jenkins jenkins 10025 Dec 15 05:05 Attribution.txt 05:07:04 -rw-rw-r-- 1 jenkins jenkins 11809 Dec 15 05:05 CHANGELOG.md 05:07:04 -rw-rw-r-- 1 jenkins jenkins 1571 Dec 15 05:05 Dockerfile 05:07:04 -rw-rw-r-- 1 jenkins jenkins 677 Dec 15 05:05 GOVERNANCE.md 05:07:04 -rw-rw-r-- 1 jenkins jenkins 656 Dec 15 05:05 Jenkinsfile 05:07:04 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 15 05:05 LICENSE 05:07:04 -rw-rw-r-- 1 jenkins jenkins 2240 Dec 15 05:05 Makefile 05:07:04 -rw-rw-r-- 1 jenkins jenkins 620 Dec 15 05:05 OWNERS.md 05:07:04 -rw-rw-r-- 1 jenkins jenkins 10477 Dec 15 05:05 README.md 05:07:04 -rw-rw-r-- 1 jenkins jenkins 5 Dec 15 05:05 VERSION 05:07:04 drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 05:05 bin 05:07:04 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 05:05 cmd 05:07:04 -rw-r--r-- 1 jenkins jenkins 8837 Dec 15 05:06 coverage.out 05:07:04 -rw-rw-r-- 1 jenkins jenkins 3707 Dec 15 05:05 go.mod 05:07:04 -rw-rw-r-- 1 jenkins jenkins 34812 Dec 15 05:05 go.sum 05:07:04 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 05:05 internal 05:07:04 -rw-rw-r-- 1 jenkins jenkins 228 Dec 15 05:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:07:04 + 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=cff50b6e48a4132b9eb62726df369c2f6373a231 --label arch=amd64 --label version=0.0.0 . 05:07:04 Sending build context to Docker daemon 14.1MB 05:07:04 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 05:07:04 Step 2/25 : FROM ${BASE} AS builder 05:07:04 ---> 4c7eb9b421a7 05:07:04 Step 3/25 : ARG ADD_BUILD_TAGS="" 05:07:04 ---> Running in 979d526fa38d 05:07:04 Removing intermediate container 979d526fa38d 05:07:04 ---> 3f73f4dc170b 05:07:04 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:07:04 ---> Running in 3a0e2942219a 05:07:05 Removing intermediate container 3a0e2942219a 05:07:05 ---> cb454ea37004 05:07:05 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:07:05 ---> Running in 3f2b78db69da 05:07:05 Removing intermediate container 3f2b78db69da 05:07:05 ---> eb6973e068a7 05:07:05 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 05:07:05 ---> Running in b6831ff8f0ec 05:07:05 Removing intermediate container b6831ff8f0ec 05:07:05 ---> d52073e1938c 05:07:05 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:07:05 ---> Running in 52c4d6d6b431 05:07:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:07:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:07:05 OK: 268 MiB in 56 packages 05:07:06 Removing intermediate container 52c4d6d6b431 05:07:06 ---> 1e9f12f4b9a7 05:07:06 Step 8/25 : WORKDIR /device-snmp-go 05:07:06 ---> Running in 43468bd3a06e 05:07:06 Removing intermediate container 43468bd3a06e 05:07:06 ---> 2ac0f10a038e 05:07:06 Step 9/25 : COPY go.mod vendor* ./ 05:07:06 ---> 96e918809e0a 05:07:06 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:07:06 ---> Running in 45f6f7bc7725 05:07:07 Removing intermediate container 45f6f7bc7725 05:07:07 ---> 88b6d056542b 05:07:07 Step 11/25 : COPY . . 05:07:07 ---> a7dfd7ed64de 05:07:07 Step 12/25 : RUN ${MAKE} 05:07:07 ---> Running in 1337f0a890e8 05:07:07 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.4" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 05:07:25 Removing intermediate container 1337f0a890e8 05:07:25 ---> 1c052ba7b05f 05:07:25 Step 13/25 : FROM alpine:3.18 05:07:25 3.18: Pulling from library/alpine 05:07:26 c926b61bad3b: Pulling fs layer 05:07:26 c926b61bad3b: Verifying Checksum 05:07:26 c926b61bad3b: Download complete 05:07:26 c926b61bad3b: Pull complete 05:07:26 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 05:07:26 Status: Downloaded newer image for alpine:3.18 05:07:26 ---> b541f2080109 05:07:26 Step 14/25 : RUN apk add --update --no-cache dumb-init 05:07:26 ---> Running in d46f97517661 05:07:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:07:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:07:27 (1/1) Installing dumb-init (1.2.5-r2) 05:07:27 Executing busybox-1.36.1-r5.trigger 05:07:27 OK: 7 MiB in 16 packages 05:07:27 Removing intermediate container d46f97517661 05:07:27 ---> bc3ada65df7c 05:07:27 Step 15/25 : RUN apk --no-cache upgrade 05:07:27 ---> Running in d288b8dd62db 05:07:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:07:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:07:28 OK: 7 MiB in 16 packages 05:07:28 Removing intermediate container d288b8dd62db 05:07:28 ---> b283739c672f 05:07:28 Step 16/25 : COPY --from=builder /device-snmp-go/cmd / 05:07:29 ---> a2d500928e2b 05:07:29 Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:07:29 ---> 54d890f24b60 05:07:29 Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / 05:07:29 ---> b696a9df9944 05:07:29 Step 19/25 : EXPOSE 59993 05:07:29 ---> Running in e4914fa2fcd9 05:07:30 Removing intermediate container e4914fa2fcd9 05:07:30 ---> 3ef4c53d1154 05:07:30 Step 20/25 : EXPOSE 161 05:07:30 ---> Running in 6253e0d9fa50 05:07:30 Removing intermediate container 6253e0d9fa50 05:07:30 ---> 8585b8d4e4aa 05:07:30 Step 21/25 : ENTRYPOINT ["/device-snmp"] 05:07:30 ---> Running in 15722fca3c85 05:07:30 Removing intermediate container 15722fca3c85 05:07:30 ---> e279765c9e92 05:07:30 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 05:07:30 ---> Running in 021f982aea8d 05:07:30 Removing intermediate container 021f982aea8d 05:07:30 ---> 74f3883f4506 05:07:30 Step 23/25 : LABEL arch=amd64 05:07:30 ---> Running in 21a8fbaa0e3a 05:07:30 Removing intermediate container 21a8fbaa0e3a 05:07:30 ---> 914e57649118 05:07:30 Step 24/25 : LABEL git_sha=cff50b6e48a4132b9eb62726df369c2f6373a231 05:07:30 ---> Running in 76490e911b8d 05:07:30 Removing intermediate container 76490e911b8d 05:07:30 ---> c95e40d59c59 05:07:30 Step 25/25 : LABEL version=0.0.0 05:07:30 ---> Running in 90c2b3ba1b15 05:07:30 Removing intermediate container 90c2b3ba1b15 05:07:30 ---> ba433731857a 05:07:30 [Warning] One or more build-args [ARCH] were not consumed 05:07:30 Successfully built ba433731857a 05:07:30 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:07:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:07:31 05:07:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:07:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:07:32 latest: Pulling from edgex-lftools-log-publisher 05:07:32 5eb5b503b376: Pulling fs layer 05:07:32 5c69ac0246d0: Pulling fs layer 05:07:32 ec43610c2a17: Pulling fs layer 05:07:32 3a2ae6a8a46f: Pulling fs layer 05:07:32 33b1e0a273af: Pulling fs layer 05:07:32 5d3b04190fa2: Pulling fs layer 05:07:32 2f39f015ded8: Pulling fs layer 05:07:32 5d3b04190fa2: Waiting 05:07:32 3a2ae6a8a46f: Waiting 05:07:32 2f39f015ded8: Waiting 05:07:32 33b1e0a273af: Waiting 05:07:32 5c69ac0246d0: Verifying Checksum 05:07:32 5c69ac0246d0: Download complete 05:07:32 3a2ae6a8a46f: Verifying Checksum 05:07:32 3a2ae6a8a46f: Download complete 05:07:32 33b1e0a273af: Verifying Checksum 05:07:32 33b1e0a273af: Download complete 05:07:32 ec43610c2a17: Verifying Checksum 05:07:32 ec43610c2a17: Download complete 05:07:32 5eb5b503b376: Download complete 05:07:33 2f39f015ded8: Download complete 05:07:33 5eb5b503b376: Pull complete 05:07:34 5c69ac0246d0: Pull complete 05:07:34 ec43610c2a17: Pull complete 05:07:34 3a2ae6a8a46f: Pull complete 05:07:34 33b1e0a273af: Pull complete 05:07:34 5d3b04190fa2: Pull complete 05:07:38 2f39f015ded8: Pull complete 05:07:38 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:07:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:07:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:07:39 prd-ubuntu20.04-docker-8c-8g-25140 does not seem to be running inside a container 05:07:39 $ 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-336 -v /w/workspace/gexfoundry_device-snmp-go_PR-336:/w/workspace/gexfoundry_device-snmp-go_PR-336:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-336@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-336@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:07:42 Running on prd-ubuntu20.04-docker-arm64-4c-16g-25141 in /w/workspace/gexfoundry_device-snmp-go_PR-336 05:07:42 $ docker top b9165d8e8b7ef8195e51481b6a946865e7ad16af116f0d06bbecc1f122739e73 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 05:07:43 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 05:07:43 Selected Git installation does not exist. Using Default 05:07:43 The recommended git tool is: NONE 05:07:43 ---> job-cost.sh 05:07:43 lf-activate-venv: SKIPPING 05:07:43 INFO: No Stack... 05:07:43 INFO: Retrieving Pricing Info for: v3-standard-8 05:07:43 INFO: Archiving Costs [Pipeline] sh 05:07:44 + + cut -d, -f6 05:07:44 cat /w/workspace/gexfoundry_device-snmp-go_PR-336/archives/cost.csv [Pipeline] lock 05:07:44 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-336-1-stack-cost] 05:07:44 Resource [jenkins-edgexfoundry-device-snmp-go-PR-336-1-stack-cost] did not exist. Created. 05:07:44 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-336-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:07:44 + echo total: 0.2199999988079071 [Pipeline] stash 05:07:44 Stashed 1 file(s) [Pipeline] } 05:07:44 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-336-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:07:45 $ docker stop --time=1 b9165d8e8b7ef8195e51481b6a946865e7ad16af116f0d06bbecc1f122739e73 05:07:46 $ docker rm -f --volumes b9165d8e8b7ef8195e51481b6a946865e7ad16af116f0d06bbecc1f122739e73 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:07:49 using credential edgex-jenkins-ssh 05:07:49 Cloning the remote Git repository 05:07:49 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 05:07:49 > git init /w/workspace/device-snmp-go/1 # timeout=10 05:07:50 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:07:50 > git --version # timeout=10 05:07:50 > git --version # 'git version 2.25.1' 05:07:50 using GIT_SSH to set credentials SSH Credentials for GitHub 05:07:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:07:51 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:07:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:07:53 Merging remotes/origin/main commit 027e49bbb3adb675c2501a9a4fed4a08c937de63 into PR head commit cff50b6e48a4132b9eb62726df369c2f6373a231 05:07:52 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:07:52 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:07:52 using GIT_SSH to set credentials SSH Credentials for GitHub 05:07:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/336/head:refs/remotes/origin/PR-336 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:07:53 > git config core.sparsecheckout # timeout=10 05:07:53 > git checkout -f cff50b6e48a4132b9eb62726df369c2f6373a231 # timeout=10 05:07:53 Merge succeeded, producing cff50b6e48a4132b9eb62726df369c2f6373a231 05:07:53 Checking out Revision cff50b6e48a4132b9eb62726df369c2f6373a231 (PR-336) 05:07:53 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 05:07:54 > git --version # timeout=10 05:07:54 > git --version # 'git version 2.25.1' 05:07:54 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 05:07:53 > git remote # timeout=10 05:07:53 > git config --get remote.origin.url # timeout=10 05:07:53 using GIT_SSH to set credentials SSH Credentials for GitHub 05:07:53 > git merge 027e49bbb3adb675c2501a9a4fed4a08c937de63 # timeout=10 05:07:53 > git rev-parse HEAD^{commit} # timeout=10 05:07:53 > git config core.sparsecheckout # timeout=10 05:07:53 > git checkout -f cff50b6e48a4132b9eb62726df369c2f6373a231 # timeout=10 [Pipeline] sh 05:07:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:07:55 % Total % Received % Xferd Average Speed Time Time Time Current 05:07:55 Dload Upload Total Spent Left Speed 05:07:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 92569 0 --:--:-- --:--:-- --:--:-- 93250 [Pipeline] sh 05:07:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:07:56 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 05:07:56 /etc/docker/daemon.new 05:07:56 { 05:07:56 "registry-mirrors": [ 05:07:56 "https://nexus3.edgexfoundry.org:10001" 05:07:56 ], 05:07:56 "bip": "10.250.0.254/24", 05:07:56 "hosts": [ 05:07:56 "tcp://0.0.0.0:5555", 05:07:56 "unix:///var/run/docker.sock" 05:07:56 ], 05:07:56 "mtu": 1458, 05:07:56 "selinux-enabled": true, 05:07:56 "seccomp-profile": "/etc/docker/seccomp.json" 05:07:56 } [Pipeline] sh 05:07:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:07:56 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:08:15 provisioning config files... 05:08:15 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config17999772312497351573tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:08:15 ---> ****-login.sh 05:08:15 nexus3.edgexfoundry.org:10001 05:08:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:08:15 Configure a credential helper to remove this warning. See 05:08:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:08:15 05:08:16 Login Succeeded 05:08:16 nexus3.edgexfoundry.org:10002 05:08:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:08:16 Configure a credential helper to remove this warning. See 05:08:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:08:16 05:08:16 Login Succeeded 05:08:16 nexus3.edgexfoundry.org:10003 05:08:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:08:16 Configure a credential helper to remove this warning. See 05:08:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:08:16 05:08:16 Login Succeeded 05:08:16 nexus3.edgexfoundry.org:10004 05:08:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:08:17 Configure a credential helper to remove this warning. See 05:08:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:08:17 05:08:17 Login Succeeded 05:08:17 ****.io 05:08:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:08:17 Configure a credential helper to remove this warning. See 05:08:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:08:17 05:08:17 Login Succeeded 05:08:17 ---> ****-login.sh ends [Pipeline] } 05:08:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:08:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:08:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:08:18 ========================================================= 05:08:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 05:08:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:19 + 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:08:20 #0 building with "default" instance using docker driver 05:08:20 05:08:20 #1 [internal] load build definition from Dockerfile 05:08:20 #1 transferring dockerfile: 05:08:20 #1 transferring dockerfile: 1.61kB 0.0s done 05:08:20 #1 DONE 0.1s 05:08:20 05:08:20 #2 [internal] load .dockerignore 05:08:20 #2 transferring context: 46B done 05:08:20 #2 DONE 0.1s 05:08:20 05:08:20 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 05:08:20 #3 DONE 0.1s 05:08:20 05:08:20 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 05:08:20 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 05:08:20 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 05:08:20 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 1.89MB / 3.33MB 0.1s 05:08:20 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0B / 63.99MB 0.1s 05:08:20 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 05:08:20 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0B / 286.30kB 0.1s 05:08:20 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 05:08:20 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 05:08:20 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 05:08:20 #4 ... 05:08:20 05:08:20 #5 [internal] load build context 05:08:20 #5 transferring context: 7.03MB 0.3s done 05:08:20 #5 DONE 0.3s 05:08:20 05:08:20 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 05:08:20 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 6.29MB / 63.99MB 0.3s 05:08:20 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 05:08:20 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 1.05MB / 97.63MB 0.3s 05:08:20 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0B / 11.40MB 0.3s 05:08:20 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done 05:08:20 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.49MB / 63.99MB 0.4s 05:08:20 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 3.58MB / 11.40MB 0.4s 05:08:20 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 14.68MB / 63.99MB 0.5s 05:08:20 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.4s done 05:08:20 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 9.44MB / 97.63MB 0.5s 05:08:20 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 7.34MB / 11.40MB 0.5s 05:08:21 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 25.17MB / 63.99MB 0.7s 05:08:21 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 20.97MB / 97.63MB 0.7s 05:08:21 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.6s done 05:08:21 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 31.46MB / 63.99MB 0.8s 05:08:21 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 26.21MB / 97.63MB 0.8s 05:08:21 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 05:08:21 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 36.70MB / 63.99MB 0.9s 05:08:21 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 32.51MB / 97.63MB 0.9s 05:08:21 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 41.94MB / 63.99MB 1.0s 05:08:21 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 37.75MB / 97.63MB 1.0s 05:08:21 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 05:08:21 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 51.38MB / 63.99MB 1.2s 05:08:21 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 49.28MB / 97.63MB 1.2s 05:08:21 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 57.67MB / 63.99MB 1.3s 05:08:21 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 55.04MB / 97.63MB 1.3s 05:08:21 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.5s done 05:08:21 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 65.76MB / 97.63MB 1.5s 05:08:22 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 75.50MB / 97.63MB 1.7s 05:08:22 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0.1s 05:08:22 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 81.79MB / 97.63MB 1.8s 05:08:22 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 88.08MB / 97.63MB 1.9s 05:08:22 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 94.27MB / 97.63MB 2.0s 05:08:22 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.2s done 05:08:28 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.2s 05:08:32 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.4s 05:08:39 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 16.3s done 05:08:39 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 05:08:39 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 05:08:39 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 05:08:45 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.0s 05:08:48 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.7s done 05:08:48 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0.1s 05:08:50 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.8s done 05:08:50 #4 DONE 30.5s 05:08:50 05:08:50 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 05:08:51 #6 0.673 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:08:51 #6 1.042 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:08:53 #6 1.987 (1/4) Installing openssh-keygen (9.3_p2-r0) 05:08:53 #6 2.012 (2/4) Installing libedit (20221030.3.1-r1) 05:08:53 #6 2.023 (3/4) Installing openssh-client-common (9.3_p2-r0) 05:08:53 #6 2.085 (4/4) Installing openssh-client-default (9.3_p2-r0) 05:08:53 #6 2.112 Executing busybox-1.36.1-r5.trigger 05:08:53 #6 2.148 OK: 271 MiB in 56 packages 05:08:55 #6 DONE 3.9s 05:08:55 05:08:55 #7 [builder 3/7] WORKDIR /device-snmp-go 05:08:55 #7 DONE 0.1s 05:08:55 05:08:55 #8 [builder 4/7] COPY go.mod vendor* ./ 05:08:55 #8 DONE 0.1s 05:08:55 05:08:55 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:09:21 #9 DONE 23.4s 05:09:21 05:09:21 #10 [builder 6/7] COPY . . 05:09:21 #10 DONE 0.3s 05:09:21 05:09:21 #11 [builder 7/7] RUN echo noop 05:09:21 #11 0.638 noop 05:09:21 #11 DONE 0.7s 05:09:21 05:09:21 #12 exporting to image 05:09:21 #12 exporting layers 05:09:43 #12 exporting layers 21.4s done 05:09:43 #12 writing image sha256:eae9e8107ef977821caa8b9585317864e6bb026875bfa594612551f9e02bc910 done 05:09:43 #12 naming to docker.io/library/ci-base-image-arm64 done 05:09:43 #12 DONE 21.4s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:44 + docker inspect -f . ci-base-image-arm64 05:09:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:09:44 prd-ubuntu20.04-docker-arm64-4c-16g-25141 does not seem to be running inside a container 05:09:44 $ 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 ******** ci-base-image-arm64 cat 05:09:46 $ docker top ade79eb0f063b346d3c7df58a4dc5d14c942d6aeb99ec922098739a9a9ca3aab -eo pid,comm [Pipeline] { [Pipeline] sh 05:09:46 + go version 05:09:47 go version go1.21.0 linux/arm64 [Pipeline] } 05:09:47 $ docker stop --time=1 ade79eb0f063b346d3c7df58a4dc5d14c942d6aeb99ec922098739a9a9ca3aab 05:09:48 $ docker rm -f --volumes ade79eb0f063b346d3c7df58a4dc5d14c942d6aeb99ec922098739a9a9ca3aab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:49 + docker inspect -f . ci-base-image-arm64 05:09:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:09:50 prd-ubuntu20.04-docker-arm64-4c-16g-25141 does not seem to be running inside a container 05:09:50 $ 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 ******** ci-base-image-arm64 cat 05:09:51 $ docker top 51df2b142c1b47be1edfd8eab9fa949ca989b2a9b32f8796a46092615924769e -eo pid,comm [Pipeline] { [Pipeline] sh 05:09:51 + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh 05:09:52 + make test 05:09:52 go test ./... -coverprofile=coverage.out 05:09:56 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:10:52 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:10:52 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.037s coverage: 0.0% of statements 05:10:52 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:10:52 go vet ./... 05:10:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:10:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:10:59 ./bin/test-attribution-txt.sh [Pipeline] echo 05:10:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:10:59 $ docker stop --time=1 51df2b142c1b47be1edfd8eab9fa949ca989b2a9b32f8796a46092615924769e 05:11:01 $ docker rm -f --volumes 51df2b142c1b47be1edfd8eab9fa949ca989b2a9b32f8796a46092615924769e [Pipeline] // withDockerContainer [Pipeline] sh 05:11:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:11:02 Warning: overwriting stash ‘coverage-report’ 05:11:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:11:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:11:04 + ls -al . 05:11:04 total 168 05:11:04 drwxrwxr-x 7 jenkins jenkins 4096 Dec 15 05:09 . 05:11:04 drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 05:07 .. 05:11:04 -rw-rw-r-- 1 jenkins jenkins 6 Dec 15 05:07 .dockerignore 05:11:04 drwxrwxr-x 8 jenkins jenkins 4096 Dec 15 05:07 .git 05:11:04 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 05:07 .github 05:11:04 -rw-rw-r-- 1 jenkins jenkins 263 Dec 15 05:07 .gitignore 05:11:04 -rw-rw-r-- 1 jenkins jenkins 41 Dec 15 05:07 .golangci.yml 05:11:04 -rw-rw-r-- 1 jenkins jenkins 10025 Dec 15 05:07 Attribution.txt 05:11:04 -rw-rw-r-- 1 jenkins jenkins 11809 Dec 15 05:07 CHANGELOG.md 05:11:04 -rw-rw-r-- 1 jenkins jenkins 1571 Dec 15 05:07 Dockerfile 05:11:04 -rw-rw-r-- 1 jenkins jenkins 677 Dec 15 05:07 GOVERNANCE.md 05:11:04 -rw-rw-r-- 1 jenkins jenkins 656 Dec 15 05:07 Jenkinsfile 05:11:04 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 15 05:07 LICENSE 05:11:04 -rw-rw-r-- 1 jenkins jenkins 2240 Dec 15 05:07 Makefile 05:11:04 -rw-rw-r-- 1 jenkins jenkins 620 Dec 15 05:07 OWNERS.md 05:11:04 -rw-rw-r-- 1 jenkins jenkins 10477 Dec 15 05:07 README.md 05:11:04 -rw-rw-r-- 1 jenkins jenkins 5 Dec 15 05:05 VERSION 05:11:04 drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 05:07 bin 05:11:04 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 05:07 cmd 05:11:04 -rw-r--r-- 1 jenkins jenkins 8837 Dec 15 05:10 coverage.out 05:11:04 -rw-rw-r-- 1 jenkins jenkins 3707 Dec 15 05:07 go.mod 05:11:04 -rw-rw-r-- 1 jenkins jenkins 34812 Dec 15 05:07 go.sum 05:11:04 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 05:07 internal 05:11:04 -rw-rw-r-- 1 jenkins jenkins 228 Dec 15 05:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:11:04 + 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=cff50b6e48a4132b9eb62726df369c2f6373a231 --label arch=arm64 --label version=0.0.0 . 05:11:05 #0 building with "default" instance using docker driver 05:11:05 05:11:05 #1 [internal] load build definition from Dockerfile 05:11:05 #1 transferring dockerfile: 05:11:05 #1 transferring dockerfile: 1.61kB done 05:11:05 #1 DONE 0.0s 05:11:05 05:11:05 #2 [internal] load .dockerignore 05:11:05 #2 transferring context: 46B done 05:11:05 #2 DONE 0.0s 05:11:05 05:11:05 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 05:11:05 #3 DONE 0.0s 05:11:05 05:11:05 #4 [internal] load metadata for docker.io/library/alpine:3.18 05:11:06 #4 DONE 0.9s 05:11:06 05:11:06 #5 [internal] load build context 05:11:06 #5 transferring context: 15.59kB 0.0s done 05:11:06 #5 DONE 0.1s 05:11:06 05:11:06 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 05:11:06 #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 05:11:06 #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 05:11:06 #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 05:11:06 #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 05:11:06 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0B / 3.33MB 0.1s 05:11:06 #6 ... 05:11:06 05:11:06 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 05:11:06 #7 DONE 0.2s 05:11:06 05:11:06 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 05:11:06 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 1.05MB / 3.33MB 0.2s 05:11:06 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.3s done 05:11:06 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 05:11:07 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.4s done 05:11:07 #6 DONE 1.0s 05:11:07 05:11:07 #8 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 05:11:07 #8 0.701 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:11:10 #8 3.620 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:11:11 #8 4.897 OK: 271 MiB in 56 packages 05:11:12 #8 DONE 5.5s 05:11:12 05:11:12 #9 [builder 3/7] WORKDIR /device-snmp-go 05:11:12 #9 DONE 0.1s 05:11:12 05:11:12 #10 [builder 4/7] COPY go.mod vendor* ./ 05:11:12 #10 DONE 0.2s 05:11:12 05:11:12 #11 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 05:11:12 #11 0.622 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:11:12 #11 3.524 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:11:12 #11 4.607 (1/1) Installing dumb-init (1.2.5-r2) 05:11:12 #11 4.619 Executing busybox-1.36.1-r5.trigger 05:11:12 #11 4.644 OK: 8 MiB in 16 packages 05:11:12 #11 DONE 5.0s 05:11:12 05:11:12 #12 [stage-1 3/6] RUN apk --no-cache upgrade 05:11:13 #12 0.896 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:11:13 #12 1.243 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:11:13 #12 ... 05:11:13 05:11:13 #13 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:11:13 #13 DONE 1.4s 05:11:13 05:11:13 #14 [builder 6/7] COPY . . 05:11:14 #14 DONE 0.3s 05:11:14 05:11:14 #15 [builder 7/7] RUN make build 05:11:14 #15 0.762 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.4" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 05:11:15 #15 ... 05:11:15 05:11:15 #12 [stage-1 3/6] RUN apk --no-cache upgrade 05:11:15 #12 2.510 OK: 8 MiB in 16 packages 05:11:15 #12 DONE 2.8s 05:11:15 05:11:15 #15 [builder 7/7] RUN make build 05:12:24 #15 DONE 67.5s 05:12:24 05:12:24 #16 [stage-1 4/6] COPY --from=builder /device-snmp-go/cmd / 05:12:24 #16 DONE 0.4s 05:12:24 05:12:24 #17 [stage-1 5/6] COPY --from=builder /device-snmp-go/Attribution.txt / 05:12:24 #17 DONE 0.1s 05:12:24 05:12:24 #18 [stage-1 6/6] COPY --from=builder /device-snmp-go/LICENSE / 05:12:24 #18 DONE 0.1s 05:12:24 05:12:24 #19 exporting to image 05:12:24 #19 exporting layers 05:12:26 #19 exporting layers 3.6s done 05:12:26 #19 writing image sha256:3270e510c296723621a5c295a91c819c88ce22e31a797d8ca0493c8209efe1f2 done 05:12:26 #19 naming to docker.io/library/device-snmp-arm64 done 05:12:26 #19 DONE 3.7s [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:12:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:12:27 05:12:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:12:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:12:28 arm64: Pulling from edgex-lftools-log-publisher 05:12:28 8998bd30e6a1: Pulling fs layer 05:12:28 04944245beec: Pulling fs layer 05:12:28 699f458cf7ca: Pulling fs layer 05:12:28 765212b225bb: Pulling fs layer 05:12:28 f23df028b6ca: Pulling fs layer 05:12:28 d65c8cfc05b1: Pulling fs layer 05:12:28 2437ff75d9bd: Pulling fs layer 05:12:28 765212b225bb: Waiting 05:12:28 f23df028b6ca: Waiting 05:12:28 d65c8cfc05b1: Waiting 05:12:28 2437ff75d9bd: Waiting 05:12:28 04944245beec: Verifying Checksum 05:12:28 04944245beec: Download complete 05:12:28 765212b225bb: Verifying Checksum 05:12:28 765212b225bb: Download complete 05:12:28 f23df028b6ca: Verifying Checksum 05:12:28 f23df028b6ca: Download complete 05:12:28 d65c8cfc05b1: Verifying Checksum 05:12:28 d65c8cfc05b1: Download complete 05:12:28 699f458cf7ca: Verifying Checksum 05:12:28 699f458cf7ca: Download complete 05:12:28 8998bd30e6a1: Verifying Checksum 05:12:28 8998bd30e6a1: Download complete 05:12:30 2437ff75d9bd: Verifying Checksum 05:12:30 2437ff75d9bd: Download complete 05:12:36 8998bd30e6a1: Pull complete 05:12:36 04944245beec: Pull complete 05:12:41 699f458cf7ca: Pull complete 05:12:41 765212b225bb: Pull complete 05:12:42 f23df028b6ca: Pull complete 05:12:42 d65c8cfc05b1: Pull complete 05:13:09 2437ff75d9bd: Pull complete 05:13:09 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:13:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:13:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:13:09 prd-ubuntu20.04-docker-arm64-4c-16g-25141 does not seem to be running inside a container 05:13:09 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:13:12 $ docker top 6569488f38020d3703c0b78c8e5d6217805a036d6653f0cb0f138ba4038e6b9f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:13:13 ---> job-cost.sh 05:13:13 lf-activate-venv: SKIPPING 05:13:13 INFO: No Stack... 05:13:14 INFO: Retrieving Pricing Info for: v3-standard-8 05:13:15 INFO: Archiving Costs [Pipeline] sh 05:13:15 + + cat /w/workspace/device-snmp-go/1/archives/cost.csv 05:13:15 cut -d, -f6 [Pipeline] lock 05:13:15 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-336-1-stack-cost] 05:13:15 Resource [jenkins-edgexfoundry-device-snmp-go-PR-336-1-stack-cost] did not exist. Created. 05:13:15 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-336-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:13:16 /w/workspace/device-snmp-go/1@tmp/durable-1a3b2928/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:13:16 + echo total: 0.2199999988079071 [Pipeline] stash 05:13:16 Warning: overwriting stash ‘stack-cost’ 05:13:16 Stashed 1 file(s) [Pipeline] } 05:13:16 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-336-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:13:16 $ docker stop --time=1 6569488f38020d3703c0b78c8e5d6217805a036d6653f0cb0f138ba4038e6b9f 05:13:18 $ docker rm -f --volumes 6569488f38020d3703c0b78c8e5d6217805a036d6653f0cb0f138ba4038e6b9f [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:13:20 provisioning config files... 05:13:20 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-336@tmp/config2000973024532356432tmp [Pipeline] { [Pipeline] sh 05:13:20 + set +x 05:13:20 + + curl -s https://codecov.io/bash 05:13:20 bash -s -- 05:13:20 05:13:20 _____ _ 05:13:20 / ____| | | 05:13:20 | | ___ __| | ___ ___ _____ __ 05:13:20 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:13:20 | |___| (_) | (_| | __/ (_| (_) \ V / 05:13:20 \_____\___/ \__,_|\___|\___\___/ \_/ 05:13:20 Bash-1.0.6 05:13:20 05:13:20 05:13:20 ==> git version 2.25.1 found 05:13:20 ==> 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:13:20 Release-Date: 2020-01-08 05:13:20 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:13:20 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:13:20 ==> Jenkins CI detected. 05:13:20 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-336 05:13:20 project root: . 05:13:20 --> token set from env 05:13:20 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:13:20 ==> Running gcov in . (disable via -X gcov) 05:13:20 ==> Python coveragepy not found 05:13:20 ==> Searching for coverage reports in: 05:13:20 + . 05:13:21 -> Found 1 reports 05:13:21 ==> Detecting git/mercurial file structure 05:13:21 ==> Reading reports 05:13:21 + ./coverage.out bytes=8837 05:13:21 ==> Appending adjustments 05:13:21 https://docs.codecov.io/docs/fixing-reports 05:13:21 + Found adjustments 05:13:21 ==> Gzipping contents 05:13:21 4.0K /tmp/codecov.74PkIw.gz 05:13:21 ==> Uploading reports 05:13:21 url: https://codecov.io 05:13:21 query: branch=PR-336&commit=cff50b6e48a4132b9eb62726df369c2f6373a231&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-336%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=336&job=&cmd_args= 05:13:21 -> Pinging Codecov 05:13:21 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-336&commit=cff50b6e48a4132b9eb62726df369c2f6373a231&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-336%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=336&job=&cmd_args= 05:13:21 -> Uploading to 05:13:21 https://storage.googleapis.com/codecov/v4/raw/2023-12-15/6C56EA5C29638FB4528AC87E60AF5AE0/cff50b6e48a4132b9eb62726df369c2f6373a231/d0ff63b2-8e23-4431-b0cd-fc8fc0467ad3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231215T051321Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b8ae65e5907168a7e312038532f939ed9de02da3b93bc7794f078b71098a6b9a 05:13:21 % Total % Received % Xferd Average Speed Time Time Time Current 05:13:21 Dload Upload Total Spent Left Speed 05:13:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1435 0 0 100 1435 0 5519 --:--:-- --:--:-- --:--:-- 5498 100 1435 0 0 100 1435 0 5519 --:--:-- --:--:-- --:--:-- 5498 05:13:21 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/cff50b6e48a4132b9eb62726df369c2f6373a231 [Pipeline] } 05:13:21 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:13:24 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-336/archives ] 05:13:24 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-336/archives 05:13:24 total 16 05:13:24 drwxr-xr-x 3 root root 4096 Dec 15 05:07 . 05:13:24 drwxrwxr-x 9 jenkins jenkins 4096 Dec 15 05:07 .. 05:13:24 drwxr-xr-x 2 root root 4096 Dec 15 05:07 cost 05:13:24 -rw-r--r-- 1 root root 86 Dec 15 05:07 cost.csv 05:13:24 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-336/archives 05:13:24 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-336/archives 05:13:24 total 16 05:13:24 drwxr-xr-x 3 jenkins jenkins 4096 Dec 15 05:07 . 05:13:24 drwxrwxr-x 9 jenkins jenkins 4096 Dec 15 05:07 .. 05:13:24 drwxr-xr-x 2 jenkins jenkins 4096 Dec 15 05:07 cost 05:13:24 -rw-r--r-- 1 jenkins jenkins 86 Dec 15 05:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:13:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:13:25 ---> package-listing.sh 05:13:25 ++ facter osfamily 05:13:25 ++ tr '[:upper:]' '[:lower:]' 05:13:25 + OS_FAMILY=debian 05:13:25 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-336 05:13:25 + START_PACKAGES=/tmp/packages_start.txt 05:13:25 + END_PACKAGES=/tmp/packages_end.txt 05:13:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:13:25 + PACKAGES=/tmp/packages_start.txt 05:13:25 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-336 ']' 05:13:25 + PACKAGES=/tmp/packages_end.txt 05:13:25 + case "${OS_FAMILY}" in 05:13:25 + dpkg -l 05:13:25 + grep '^ii' 05:13:25 + '[' -f /tmp/packages_start.txt ']' 05:13:25 + '[' -f /tmp/packages_end.txt ']' 05:13:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:13:25 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-336 ']' 05:13:25 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-336/archives/ 05:13:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-336/archives/ [Pipeline] echo 05:13:26 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-336/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:13:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:13:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:13:27 prd-ubuntu20.04-docker-8c-8g-25140 does not seem to be running inside a container 05:13:27 $ 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-336/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-336 -v /w/workspace/gexfoundry_device-snmp-go_PR-336:/w/workspace/gexfoundry_device-snmp-go_PR-336:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-336@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-336@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:13:27 $ docker top 92260553f09330aa3af5c35241ffbece48cbd82cf71d0370006ed8dda975947d -eo pid,comm [Pipeline] { [Pipeline] sh 05:13:27 + touch /tmp/pre-build-complete [Pipeline] sh 05:13:28 + mkdir -p /var/log/sysstat [Pipeline] sh 05:13:28 + ls /var/log/sa-host 05:13:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:13:28 provisioning config files... 05:13:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-336@tmp/config16197953778595938565tmp [Pipeline] { [Pipeline] echo 05:13:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:13:29 ---> create-netrc.sh [Pipeline] } 05:13:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:13:29 ---> python-tools-install.sh [Pipeline] echo 05:13:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:13:30 ---> sudo-logs.sh 05:13:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:13:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:13:30 ---> job-cost.sh 05:13:30 lf-activate-venv: SKIPPING 05:13:30 DEBUG: total: 0.2199999988079071 05:13:30 INFO: Retrieving Stack Cost... 05:13:30 INFO: Retrieving Pricing Info for: v3-standard-8 05:13:31 INFO: Archiving Costs [Pipeline] echo 05:13:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:13:31 ---> logs-deploy.sh 05:13:31 lf-activate-venv: SKIPPING 05:13:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-336/1 05:13:31 INFO: archiving workspace using pattern(s): 05:13:32 Archives upload complete. 05:13:32 INFO: archiving logs to Nexus