Pull request #320 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a6012dd102061e5b4e1a0817a1f490f0d9f1d5bd+a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a (b542a9ef518339d504048b3243bd35fd524a5d5e) 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-ssh18360156248876937983.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh17389096681290800694.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-320/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-320/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh766219581276675787.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-320/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1785195875476508285.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh4881972331286453301.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-320/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-320/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4212773313126798795.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 e143027787c0ac28563f7e92b6cefc600d3b7107 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9114 in /w/workspace/gexfoundry_device-snmp-go_PR-320 [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-320 # 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/320/head:refs/remotes/origin/PR-320 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a into PR head commit a6012dd102061e5b4e1a0817a1f490f0d9f1d5bd Merge succeeded, producing a6012dd102061e5b4e1a0817a1f490f0d9f1d5bd Checking out Revision a6012dd102061e5b4e1a0817a1f490f0d9f1d5bd (PR-320) 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 e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:55:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:55:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f a6012dd102061e5b4e1a0817a1f490f0d9f1d5bd # 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 a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a6012dd102061e5b4e1a0817a1f490f0d9f1d5bd # timeout=10 [Pipeline] echo 05:55:23 ========================================================= 05:55:23 EdgeX Global Pipelines Version Info 05:55:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:55:24 ------------------- 05:55:24 stable info: 05:55:24 ------------------- 05:55:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:55:24 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 05:55:24 Message: update stable to v1.0.254 05:55:25 ------------------- 05:55:25 experimental info: 05:55:25 ------------------- 05:55:25 Commited By: **** collab-it+edgex@linuxfoundation.org 05:55:25 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 05:55:25 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:55:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 05:55:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 05:55:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:55:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:55:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:55:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 05:55:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:55:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:55:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:55:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:55:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:55:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 05:55:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:55:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:55:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:55:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:55:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:55:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:55:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:55:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:55:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:55:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:55:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:55:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:55:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:55:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:55:26 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:55:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-320 [Pipeline] echo 05:55:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-320 [Pipeline] echo 05:55:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-320 [Pipeline] echo 05:55:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a6012dd102061e5b4e1a0817a1f490f0d9f1d5bd [Pipeline] echo 05:55:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a6012dd [Pipeline] echo 05:55:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:55:26 provisioning config files... 05:55:26 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-320@tmp/config6051779429655981914tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:55:27 ---> docker-login.sh 05:55:27 nexus3.edgexfoundry.org:10001 05:55:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:27 Configure a credential helper to remove this warning. See 05:55:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:27 05:55:27 Login Succeeded 05:55:27 nexus3.edgexfoundry.org:10002 05:55:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:27 Configure a credential helper to remove this warning. See 05:55:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:27 05:55:27 Login Succeeded 05:55:27 nexus3.edgexfoundry.org:10003 05:55:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:27 Configure a credential helper to remove this warning. See 05:55:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:27 05:55:27 Login Succeeded 05:55:27 nexus3.edgexfoundry.org:10004 05:55:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:27 Configure a credential helper to remove this warning. See 05:55:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:27 05:55:27 Login Succeeded 05:55:27 docker.io 05:55:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:28 Configure a credential helper to remove this warning. See 05:55:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:28 05:55:28 Login Succeeded 05:55:28 ---> docker-login.sh ends [Pipeline] } 05:55:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:55:28 + git rev-list -1 --merges a6012dd102061e5b4e1a0817a1f490f0d9f1d5bd~1..a6012dd102061e5b4e1a0817a1f490f0d9f1d5bd [Pipeline] echo 05:55:28 -----------> git rev-list -1 --merges a6012dd102061e5b4e1a0817a1f490f0d9f1d5bd~1..a6012dd102061e5b4e1a0817a1f490f0d9f1d5bd a6012dd102061e5b4e1a0817a1f490f0d9f1d5bd [false] [Pipeline] sh 05:55:29 + git log --format=format:%s -1 a6012dd102061e5b4e1a0817a1f490f0d9f1d5bd [Pipeline] echo 05:55:29 ========================================================= 05:55:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:55:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:55:29 + git log --format=format:%s -1 a6012dd102061e5b4e1a0817a1f490f0d9f1d5bd [Pipeline] echo 05:55:29 [semverPrep] GIT_COMMIT: a6012dd102061e5b4e1a0817a1f490f0d9f1d5bd, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 05:55:29 [semverPrep] This is not a build commit. [Pipeline] sh 05:55:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:55:30 + grep -v github /etc/ssh/ssh_known_hosts 05:55:30 + [ -e /tmp/ssh_known_hosts ] 05:55:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:55:30 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:55:30 + sudo tee -a /etc/ssh/ssh_known_hosts 05:55:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:55:30 05:55:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:55:31 0.1.4: Pulling from edgex-devops/py-git-semver 05:55:31 b85a868b505f: Pulling fs layer 05:55:31 e2be974225ed: Pulling fs layer 05:55:31 339a4e72a1f5: Pulling fs layer 05:55:31 988bab9f4d93: Pulling fs layer 05:55:31 1469e6f7b9e6: Pulling fs layer 05:55:31 eaf3925da568: Pulling fs layer 05:55:31 bab4dde63d76: Pulling fs layer 05:55:31 bde34c3a00c8: Pulling fs layer 05:55:31 b352a97aabf1: Pulling fs layer 05:55:31 4872d77fe225: Pulling fs layer 05:55:31 5851b861e8e6: Pulling fs layer 05:55:31 bab4dde63d76: Waiting 05:55:31 988bab9f4d93: Waiting 05:55:31 bde34c3a00c8: Waiting 05:55:31 eaf3925da568: Waiting 05:55:31 1469e6f7b9e6: Waiting 05:55:31 b352a97aabf1: Waiting 05:55:31 4872d77fe225: Waiting 05:55:31 5851b861e8e6: Waiting 05:55:31 e2be974225ed: Verifying Checksum 05:55:31 e2be974225ed: Download complete 05:55:31 988bab9f4d93: Download complete 05:55:31 1469e6f7b9e6: Verifying Checksum 05:55:31 1469e6f7b9e6: Download complete 05:55:31 339a4e72a1f5: Verifying Checksum 05:55:31 339a4e72a1f5: Download complete 05:55:31 eaf3925da568: Download complete 05:55:31 bde34c3a00c8: Download complete 05:55:31 b352a97aabf1: Verifying Checksum 05:55:31 b352a97aabf1: Download complete 05:55:31 4872d77fe225: Download complete 05:55:31 5851b861e8e6: Verifying Checksum 05:55:31 5851b861e8e6: Download complete 05:55:31 b85a868b505f: Verifying Checksum 05:55:31 b85a868b505f: Download complete 05:55:31 bab4dde63d76: Verifying Checksum 05:55:31 bab4dde63d76: Download complete 05:55:32 b85a868b505f: Pull complete 05:55:32 e2be974225ed: Pull complete 05:55:33 339a4e72a1f5: Pull complete 05:55:33 988bab9f4d93: Pull complete 05:55:33 1469e6f7b9e6: Pull complete 05:55:33 eaf3925da568: Pull complete 05:55:35 bab4dde63d76: Pull complete 05:55:35 bde34c3a00c8: Pull complete 05:55:35 b352a97aabf1: Pull complete 05:55:35 4872d77fe225: Pull complete 05:55:35 5851b861e8e6: Pull complete 05:55:35 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:55:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:55:35 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:55:36 prd-ubuntu20.04-docker-8c-8g-9114 does not seem to be running inside a container 05:55:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-320 -v /w/workspace/gexfoundry_device-snmp-go_PR-320:/w/workspace/gexfoundry_device-snmp-go_PR-320:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-320@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-320@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:55:39 $ docker top fe610ae4efa1359a60ed9494b67a874c23eaafd4633c4ddd1d1096ebf133e9bb -eo pid,comm 05:55:39 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:55:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:55:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:55:40 [ssh-agent] Looking for ssh-agent implementation... 05:55:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:55:40 $ docker exec fe610ae4efa1359a60ed9494b67a874c23eaafd4633c4ddd1d1096ebf133e9bb ssh-agent 05:55:40 SSH_AUTH_SOCK=/tmp/ssh-4Wg8a9qBQdKn/agent.32 05:55:40 SSH_AGENT_PID=38 05:55:40 Running ssh-add (command line suppressed) 05:55:40 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-320@tmp/private_key_14310000082859990269.key (/w/workspace/gexfoundry_device-snmp-go_PR-320@tmp/private_key_14310000082859990269.key) 05:55:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:55:40 + git tag --points-at HEAD [Pipeline] } 05:55:40 $ docker exec --env ******** --env ******** fe610ae4efa1359a60ed9494b67a874c23eaafd4633c4ddd1d1096ebf133e9bb ssh-agent -k 05:55:40 unset SSH_AUTH_SOCK; 05:55:40 unset SSH_AGENT_PID; 05:55:40 echo Agent pid 38 killed; 05:55:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:55:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:55:40 [ssh-agent] Looking for ssh-agent implementation... 05:55:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:55:41 $ docker exec fe610ae4efa1359a60ed9494b67a874c23eaafd4633c4ddd1d1096ebf133e9bb ssh-agent 05:55:41 SSH_AUTH_SOCK=/tmp/ssh-PK0jO0Rb4ZBw/agent.70 05:55:41 SSH_AGENT_PID=76 05:55:41 Running ssh-add (command line suppressed) 05:55:41 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-320@tmp/private_key_6611343296682151460.key (/w/workspace/gexfoundry_device-snmp-go_PR-320@tmp/private_key_6611343296682151460.key) 05:55:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:55:41 + git semver init 05:55:41 2023-10-12 05:55:41,819 [run_init] DEBUG init version:0.0.0 force:False 05:55:41 2023-10-12 05:55:41,820 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-320/.semver 05:55:41 2023-10-12 05:55:41,821 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-320/.semver 05:55:41 2023-10-12 05:55:41,821 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-320/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-320, universal_newlines=False, shell=None, istream=None) 05:55:42 2023-10-12 05:55:42,730 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-320/.git/info/exclude 05:55:42 2023-10-12 05:55:42,731 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-320/.semver/PR-320 with force:False 05:55:42 2023-10-12 05:55:42,731 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-320/.semver/PR-320 05:55:42 2023-10-12 05:55:42,735 [execute] INFO git cat-file --batch-check 05:55:42 2023-10-12 05:55:42,735 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-320/.semver, universal_newlines=False, shell=None, istream=) 05:55:42 2023-10-12 05:55:42,743 [execute] INFO git cat-file --batch 05:55:42 2023-10-12 05:55:42,743 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-320/.semver, universal_newlines=False, shell=None, istream=) 05:55:42 2023-10-12 05:55:42,749 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-320/.semver/PR-320 05:55:42 0.0.0 [Pipeline] } 05:55:42 $ docker exec --env ******** --env ******** fe610ae4efa1359a60ed9494b67a874c23eaafd4633c4ddd1d1096ebf133e9bb ssh-agent -k 05:55:42 unset SSH_AUTH_SOCK; 05:55:42 unset SSH_AGENT_PID; 05:55:42 echo Agent pid 76 killed; 05:55:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:55:43 + git semver [Pipeline] } 05:55:43 $ docker stop --time=1 fe610ae4efa1359a60ed9494b67a874c23eaafd4633c4ddd1d1096ebf133e9bb 05:55:45 $ docker rm -f --volumes fe610ae4efa1359a60ed9494b67a874c23eaafd4633c4ddd1d1096ebf133e9bb [Pipeline] // withDockerContainer [Pipeline] sh 05:55:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:55:45 Stashed 1 file(s) [Pipeline] echo 05:55:45 [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:55:46 provisioning config files... 05:55:46 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-320@tmp/config8866605104552277646tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:55:46 ---> docker-login.sh 05:55:46 nexus3.edgexfoundry.org:10001 05:55:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:46 Configure a credential helper to remove this warning. See 05:55:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:46 05:55:46 Login Succeeded 05:55:46 nexus3.edgexfoundry.org:10002 05:55:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:46 Configure a credential helper to remove this warning. See 05:55:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:46 05:55:46 Login Succeeded 05:55:46 nexus3.edgexfoundry.org:10003 05:55:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:46 Configure a credential helper to remove this warning. See 05:55:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:46 05:55:46 Login Succeeded 05:55:46 nexus3.edgexfoundry.org:10004 05:55:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:46 Configure a credential helper to remove this warning. See 05:55:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:46 05:55:46 Login Succeeded 05:55:46 docker.io 05:55:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:47 Configure a credential helper to remove this warning. See 05:55:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:47 05:55:47 Login Succeeded 05:55:47 ---> docker-login.sh ends [Pipeline] } 05:55:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:55:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:55:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:55:47 ========================================================= 05:55:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 05:55:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:48 + 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:55:48 Sending build context to Docker daemon 5.727MB 05:55:48 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 05:55:48 Step 2/12 : FROM ${BASE} AS builder 05:55:48 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 05:55:48 7264a8db6415: Pulling fs layer 05:55:48 c4d48a809fc2: Pulling fs layer 05:55:48 4f1c88b9dad5: Pulling fs layer 05:55:48 ad3a456e5733: Pulling fs layer 05:55:48 33e27b845d1e: Pulling fs layer 05:55:48 c68163c4e522: Pulling fs layer 05:55:48 50da416c3ac9: Pulling fs layer 05:55:48 23d2d4c4bb30: Pulling fs layer 05:55:48 33e27b845d1e: Waiting 05:55:48 c68163c4e522: Waiting 05:55:48 50da416c3ac9: Waiting 05:55:48 23d2d4c4bb30: Waiting 05:55:48 ad3a456e5733: Waiting 05:55:48 c4d48a809fc2: Download complete 05:55:48 ad3a456e5733: Download complete 05:55:48 33e27b845d1e: Verifying Checksum 05:55:48 33e27b845d1e: Download complete 05:55:48 7264a8db6415: Download complete 05:55:48 c68163c4e522: Verifying Checksum 05:55:48 c68163c4e522: Download complete 05:55:48 7264a8db6415: Pull complete 05:55:48 23d2d4c4bb30: Verifying Checksum 05:55:48 23d2d4c4bb30: Download complete 05:55:48 c4d48a809fc2: Pull complete 05:55:48 4f1c88b9dad5: Verifying Checksum 05:55:48 4f1c88b9dad5: Download complete 05:55:49 50da416c3ac9: Verifying Checksum 05:55:49 50da416c3ac9: Download complete 05:55:52 4f1c88b9dad5: Pull complete 05:55:52 ad3a456e5733: Pull complete 05:55:52 33e27b845d1e: Pull complete 05:55:52 c68163c4e522: Pull complete 05:55:54 50da416c3ac9: Pull complete 05:55:55 23d2d4c4bb30: Pull complete 05:55:55 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 05:55:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 05:55:55 ---> 0786185ac409 05:55:55 Step 3/12 : ARG ADD_BUILD_TAGS="" 05:56:00 ---> Running in 855c2b3b401c 05:56:00 Removing intermediate container 855c2b3b401c 05:56:00 ---> 587434b5ec8a 05:56:00 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:56:00 ---> Running in a465b87fbf52 05:56:00 Removing intermediate container a465b87fbf52 05:56:00 ---> 7d1688283549 05:56:00 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:56:00 ---> Running in 9fff5e38d256 05:56:00 Removing intermediate container 9fff5e38d256 05:56:00 ---> 15bf74a513d0 05:56:00 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 05:56:00 ---> Running in 1b5d4eddf161 05:56:00 Removing intermediate container 1b5d4eddf161 05:56:00 ---> d90d591c05e0 05:56:00 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:56:00 ---> Running in 1dd2c2fa76d6 05:56:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:56:01 Still waiting to schedule task 05:56:01 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:56:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:56:01 (1/4) Installing openssh-keygen (9.3_p2-r0) 05:56:01 (2/4) Installing libedit (20221030.3.1-r1) 05:56:01 (3/4) Installing openssh-client-common (9.3_p2-r0) 05:56:01 (4/4) Installing openssh-client-default (9.3_p2-r0) 05:56:01 Executing busybox-1.36.1-r2.trigger 05:56:01 OK: 268 MiB in 56 packages 05:56:01 Removing intermediate container 1dd2c2fa76d6 05:56:01 ---> 272cd36113b7 05:56:01 Step 8/12 : WORKDIR /device-snmp-go 05:56:01 ---> Running in 68304116be47 05:56:01 Removing intermediate container 68304116be47 05:56:01 ---> 10e18a9d2359 05:56:01 Step 9/12 : COPY go.mod vendor* ./ 05:56:02 ---> 48708c3bf25d 05:56:02 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:56:02 ---> Running in 35695f5ca244 05:57:23 Removing intermediate container 35695f5ca244 05:57:23 ---> 19069a9fb1c0 05:57:23 Step 11/12 : COPY . . 05:57:23 ---> 2f5aa5b528f0 05:57:23 Step 12/12 : RUN ${MAKE} 05:57:23 ---> Running in 51a7e428d074 05:57:23 noop 05:57:23 Removing intermediate container 51a7e428d074 05:57:23 ---> 545fbad8407a 05:57:23 Successfully built 545fbad8407a 05:57:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:57:24 + docker inspect -f . ci-base-image-x86_64 05:57:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:57:24 prd-ubuntu20.04-docker-8c-8g-9114 does not seem to be running inside a container 05:57:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-320 -v /w/workspace/gexfoundry_device-snmp-go_PR-320:/w/workspace/gexfoundry_device-snmp-go_PR-320:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-320@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-320@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:57:24 $ docker top b31135baf88e839a8780636b6d20d63930c94d4fc6db8a870d1fe6f9a44bf2b8 -eo pid,comm [Pipeline] { [Pipeline] sh 05:57:25 + go version 05:57:25 go version go1.21.0 linux/amd64 [Pipeline] } 05:57:25 $ docker stop --time=1 b31135baf88e839a8780636b6d20d63930c94d4fc6db8a870d1fe6f9a44bf2b8 05:57:26 $ docker rm -f --volumes b31135baf88e839a8780636b6d20d63930c94d4fc6db8a870d1fe6f9a44bf2b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:57:27 + docker inspect -f . ci-base-image-x86_64 05:57:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:57:27 prd-ubuntu20.04-docker-8c-8g-9114 does not seem to be running inside a container 05:57:27 $ 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-320 -v /w/workspace/gexfoundry_device-snmp-go_PR-320:/w/workspace/gexfoundry_device-snmp-go_PR-320:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-320@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-320@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:57:27 $ docker top d42c9866ba83866c9d6e427f1f3a5754090a3477860777b43bd2f74879481d76 -eo pid,comm [Pipeline] { [Pipeline] sh 05:57:27 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-320 [Pipeline] fileExists [Pipeline] sh 05:57:28 + make test 05:57:28 go test ./... -coverprofile=coverage.out 05:57:29 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:57:39 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:57:39 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.009s coverage: 0.0% of statements 05:57:44 go vet ./... 05:57:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:57:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:57:47 ./bin/test-attribution-txt.sh [Pipeline] echo 05:57:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:57:47 $ docker stop --time=1 d42c9866ba83866c9d6e427f1f3a5754090a3477860777b43bd2f74879481d76 05:57:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9115 in /w/workspace/gexfoundry_device-snmp-go_PR-320 05:57:50 $ docker rm -f --volumes d42c9866ba83866c9d6e427f1f3a5754090a3477860777b43bd2f74879481d76 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws 05:57:51 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 05:57:51 Selected Git installation does not exist. Using Default 05:57:51 The recommended git tool is: NONE 05:57:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:57:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:57:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:57:52 + ls -al . 05:57:52 total 176 05:57:52 drwxrwxr-x 9 jenkins jenkins 4096 Oct 12 05:57 . 05:57:52 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 05:55 .. 05:57:52 -rw-rw-r-- 1 jenkins jenkins 6 Oct 12 05:55 .dockerignore 05:57:52 drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 05:57 .git 05:57:52 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 05:55 .github 05:57:52 -rw-rw-r-- 1 jenkins jenkins 328 Oct 12 05:55 .gitignore 05:57:52 -rw-rw-r-- 1 jenkins jenkins 41 Oct 12 05:55 .golangci.yml 05:57:52 drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 05:55 .semver 05:57:52 -rw-rw-r-- 1 jenkins jenkins 10025 Oct 12 05:55 Attribution.txt 05:57:52 -rw-rw-r-- 1 jenkins jenkins 10534 Oct 12 05:55 CHANGELOG.md 05:57:52 -rw-rw-r-- 1 jenkins jenkins 1462 Oct 12 05:55 Dockerfile 05:57:52 -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 05:55 GOVERNANCE.md 05:57:52 -rw-rw-r-- 1 jenkins jenkins 656 Oct 12 05:55 Jenkinsfile 05:57:52 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 12 05:55 LICENSE 05:57:52 -rw-rw-r-- 1 jenkins jenkins 2240 Oct 12 05:55 Makefile 05:57:52 -rw-rw-r-- 1 jenkins jenkins 620 Oct 12 05:55 OWNERS.md 05:57:52 -rw-rw-r-- 1 jenkins jenkins 10559 Oct 12 05:55 README.md 05:57:52 -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 05:55 VERSION 05:57:52 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 05:55 bin 05:57:52 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 05:55 cmd 05:57:52 -rw-r--r-- 1 jenkins jenkins 8837 Oct 12 05:57 coverage.out 05:57:52 -rw-rw-r-- 1 jenkins jenkins 3712 Oct 12 05:55 go.mod 05:57:52 -rw-rw-r-- 1 jenkins jenkins 35353 Oct 12 05:55 go.sum 05:57:52 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 05:55 internal 05:57:52 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 05:55 snap 05:57:52 -rw-rw-r-- 1 jenkins jenkins 228 Oct 12 05:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:57:52 + 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=a6012dd102061e5b4e1a0817a1f490f0d9f1d5bd --label arch=amd64 --label version=0.0.0 . 05:57:52 Sending build context to Docker daemon 5.737MB 05:57:52 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 05:57:52 Step 2/24 : FROM ${BASE} AS builder 05:57:52 ---> 545fbad8407a 05:57:52 Step 3/24 : ARG ADD_BUILD_TAGS="" 05:57:53 ---> Running in 359daaecf032 05:57:53 Removing intermediate container 359daaecf032 05:57:53 ---> 6895ec60bbbf 05:57:53 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:57:53 ---> Running in bd8096fb9506 05:57:53 Removing intermediate container bd8096fb9506 05:57:53 ---> 359f1182b9bb 05:57:53 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:57:53 ---> Running in b01e3c041aaa 05:57:53 Removing intermediate container b01e3c041aaa 05:57:53 ---> e3bde4b91e07 05:57:53 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 05:57:53 ---> Running in a06a08564e7e 05:57:53 Removing intermediate container a06a08564e7e 05:57:53 ---> 5e989af1421e 05:57:53 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:57:53 ---> Running in 47c3fe88771a 05:57:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:57:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:57:54 OK: 268 MiB in 56 packages 05:57:54 Removing intermediate container 47c3fe88771a 05:57:54 ---> 13734c4214c2 05:57:54 Step 8/24 : WORKDIR /device-snmp-go 05:57:54 ---> Running in c141d55a6eff 05:57:54 Removing intermediate container c141d55a6eff 05:57:54 ---> 244ddb08d4fa 05:57:54 Step 9/24 : COPY go.mod vendor* ./ 05:57:54 ---> 14070933b79b 05:57:54 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:57:54 ---> Running in 0ce09f5f2e4e 05:57:55 Removing intermediate container 0ce09f5f2e4e 05:57:55 ---> fa0e589226df 05:57:55 Step 11/24 : COPY . . 05:57:55 ---> 461229e4870d 05:57:55 Step 12/24 : RUN ${MAKE} 05:57:55 ---> Running in 6060e6c9c9fe 05:57:55 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.1.0-dev.34" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 05:57:58 using credential edgex-jenkins-ssh 05:57:58 Cloning the remote Git repository 05:57:58 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 05:57:58 > git init /w/workspace/device-snmp-go/1 # timeout=10 05:57:58 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:57:58 > git --version # timeout=10 05:57:58 > git --version # 'git version 2.25.1' 05:57:58 using GIT_SSH to set credentials SSH Credentials for GitHub 05:57:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:58:00 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:58:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:58:01 Merging remotes/origin/main commit a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a into PR head commit a6012dd102061e5b4e1a0817a1f490f0d9f1d5bd 05:58:01 Merge succeeded, producing a6012dd102061e5b4e1a0817a1f490f0d9f1d5bd 05:58:01 Checking out Revision a6012dd102061e5b4e1a0817a1f490f0d9f1d5bd (PR-320) 05:58:00 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:58:00 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:58:00 using GIT_SSH to set credentials SSH Credentials for GitHub 05:58:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/320/head:refs/remotes/origin/PR-320 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:58:01 > git config core.sparsecheckout # timeout=10 05:58:01 > git checkout -f a6012dd102061e5b4e1a0817a1f490f0d9f1d5bd # timeout=10 05:58:01 > git remote # timeout=10 05:58:01 > git config --get remote.origin.url # timeout=10 05:58:01 using GIT_SSH to set credentials SSH Credentials for GitHub 05:58:01 > git merge a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a # timeout=10 05:58:01 > git rev-parse HEAD^{commit} # timeout=10 05:58:01 > git config core.sparsecheckout # timeout=10 05:58:01 > git checkout -f a6012dd102061e5b4e1a0817a1f490f0d9f1d5bd # timeout=10 05:58:02 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 05:58:02 > git --version # timeout=10 05:58:02 > git --version # 'git version 2.25.1' 05:58:02 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:58:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:58:03 % Total % Received % Xferd Average Speed Time Time Time Current 05:58:03 Dload Upload Total Spent Left Speed 05:58:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93072 0 --:--:-- --:--:-- --:--:-- 93072 [Pipeline] sh 05:58:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:58:04 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:58:04 + sudo tee /etc/docker/daemon.new 05:58:04 { 05:58:04 "registry-mirrors": [ 05:58:04 "https://nexus3.edgexfoundry.org:10001" 05:58:04 ], 05:58:04 "bip": "10.250.0.254/24", 05:58:04 "hosts": [ 05:58:04 "tcp://0.0.0.0:5555", 05:58:04 "unix:///var/run/docker.sock" 05:58:04 ], 05:58:04 "mtu": 1458, 05:58:04 "selinux-enabled": true, 05:58:04 "seccomp-profile": "/etc/docker/seccomp.json" 05:58:04 } [Pipeline] sh 05:58:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:58:05 + sudo service docker restart 05:58:13 Removing intermediate container 6060e6c9c9fe 05:58:13 ---> 082a9772939f 05:58:13 Step 13/24 : FROM alpine:3.18 05:58:13 3.18: Pulling from library/alpine 05:58:13 96526aa774ef: Pulling fs layer 05:58:13 96526aa774ef: Download complete 05:58:13 96526aa774ef: Pull complete 05:58:13 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 05:58:13 Status: Downloaded newer image for alpine:3.18 05:58:13 ---> 8ca4688f4f35 05:58:13 Step 14/24 : RUN apk add --update --no-cache dumb-init 05:58:13 ---> Running in 0693e806b13a 05:58:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:58:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:58:14 (1/1) Installing dumb-init (1.2.5-r2) 05:58:14 Executing busybox-1.36.1-r2.trigger 05:58:14 OK: 7 MiB in 16 packages 05:58:14 Removing intermediate container 0693e806b13a 05:58:14 ---> 7a121dc13065 05:58:14 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 05:58:15 ---> 2de1230f24b3 05:58:15 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:58:15 ---> 412acb1f2411 05:58:15 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 05:58:15 ---> c05422e276b8 05:58:15 Step 18/24 : EXPOSE 59993 05:58:15 ---> Running in e0ce35304336 05:58:15 Removing intermediate container e0ce35304336 05:58:15 ---> 749d3febc3a9 05:58:15 Step 19/24 : EXPOSE 161 05:58:15 ---> Running in 010823ef8e90 05:58:16 Removing intermediate container 010823ef8e90 05:58:16 ---> 348835216973 05:58:16 Step 20/24 : ENTRYPOINT ["/device-snmp"] 05:58:16 ---> Running in 7e8a48540810 05:58:16 Removing intermediate container 7e8a48540810 05:58:16 ---> 51f9481e9213 05:58:16 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 05:58:16 ---> Running in ed96a3411307 05:58:16 Removing intermediate container ed96a3411307 05:58:16 ---> 93987b81bcee 05:58:16 Step 22/24 : LABEL arch=amd64 05:58:16 ---> Running in b15656a31323 05:58:16 Removing intermediate container b15656a31323 05:58:16 ---> f9caf9866f18 05:58:16 Step 23/24 : LABEL git_sha=a6012dd102061e5b4e1a0817a1f490f0d9f1d5bd 05:58:16 ---> Running in 61b5520d26ee 05:58:16 Removing intermediate container 61b5520d26ee 05:58:16 ---> 4a0b6f2aa5ed 05:58:16 Step 24/24 : LABEL version=0.0.0 05:58:16 ---> Running in 619c979591a1 05:58:16 Removing intermediate container 619c979591a1 05:58:16 ---> c97dc3cee0e8 05:58:16 [Warning] One or more build-args [ARCH] were not consumed 05:58:16 Successfully built c97dc3cee0e8 05:58:16 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:58:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:58:17 05:58:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:58:17 latest: Pulling from edgex-lftools-log-publisher 05:58:17 5eb5b503b376: Pulling fs layer 05:58:17 5c69ac0246d0: Pulling fs layer 05:58:17 ec43610c2a17: Pulling fs layer 05:58:17 3a2ae6a8a46f: Pulling fs layer 05:58:17 33b1e0a273af: Pulling fs layer 05:58:17 5d3b04190fa2: Pulling fs layer 05:58:17 2f39f015ded8: Pulling fs layer 05:58:17 33b1e0a273af: Waiting 05:58:17 5d3b04190fa2: Waiting 05:58:17 2f39f015ded8: Waiting 05:58:17 3a2ae6a8a46f: Waiting 05:58:17 5c69ac0246d0: Download complete 05:58:17 3a2ae6a8a46f: Verifying Checksum 05:58:17 3a2ae6a8a46f: Download complete 05:58:17 33b1e0a273af: Verifying Checksum 05:58:17 33b1e0a273af: Download complete 05:58:17 5d3b04190fa2: Verifying Checksum 05:58:17 5d3b04190fa2: Download complete 05:58:17 ec43610c2a17: Verifying Checksum 05:58:17 ec43610c2a17: Download complete 05:58:18 5eb5b503b376: Verifying Checksum 05:58:18 5eb5b503b376: Download complete 05:58:18 2f39f015ded8: Verifying Checksum 05:58:18 2f39f015ded8: Download complete 05:58:19 5eb5b503b376: Pull complete 05:58:19 5c69ac0246d0: Pull complete 05:58:19 ec43610c2a17: Pull complete 05:58:19 3a2ae6a8a46f: Pull complete 05:58:19 33b1e0a273af: Pull complete 05:58:20 5d3b04190fa2: Pull complete 05:58:24 2f39f015ded8: Pull complete 05:58:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:58:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:58:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:58:24 prd-ubuntu20.04-docker-8c-8g-9114 does not seem to be running inside a container 05:58:24 $ 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-320 -v /w/workspace/gexfoundry_device-snmp-go_PR-320:/w/workspace/gexfoundry_device-snmp-go_PR-320:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-320@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-320@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:58:29 $ docker top 72367127f46d0cdadd71388fd2090e2092756a0e91696d4f774c35c7ca3293cd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider 05:58:29 provisioning config files... 05:58:29 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config4302946587204210748tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:58:29 ---> job-cost.sh 05:58:29 lf-activate-venv: SKIPPING 05:58:29 INFO: No Stack... 05:58:29 ---> docker-login.sh 05:58:29 nexus3.edgexfoundry.org:10001 05:58:30 INFO: Retrieving Pricing Info for: v3-standard-8 05:58:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:30 Configure a credential helper to remove this warning. See 05:58:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:30 05:58:30 Login Succeeded 05:58:30 nexus3.edgexfoundry.org:10002 05:58:30 INFO: Archiving Costs [Pipeline] sh 05:58:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:30 + cat /w/workspace/gexfoundry_device-snmp-go_PR-320/archives/cost.csv 05:58:30 + cut -d, -f6 [Pipeline] lock 05:58:30 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-320-1-stack-cost] 05:58:30 Resource [jenkins-edgexfoundry-device-snmp-go-PR-320-1-stack-cost] did not exist. Created. 05:58:30 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-320-1-stack-cost] [Pipeline] { [Pipeline] unstash 05:58:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:31 Configure a credential helper to remove this warning. See 05:58:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:31 05:58:31 Login Succeeded 05:58:31 nexus3.edgexfoundry.org:10003 05:58:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh 05:58:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:31 Configure a credential helper to remove this warning. See 05:58:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:31 05:58:31 Login Succeeded 05:58:31 nexus3.edgexfoundry.org:10004 05:58:31 + echo total: 0.2199999988079071 [Pipeline] stash 05:58:31 Stashed 1 file(s) [Pipeline] } 05:58:31 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-320-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:58:31 $ docker stop --time=1 72367127f46d0cdadd71388fd2090e2092756a0e91696d4f774c35c7ca3293cd 05:58:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:31 Configure a credential helper to remove this warning. See 05:58:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:31 05:58:31 Login Succeeded 05:58:31 docker.io 05:58:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:32 Configure a credential helper to remove this warning. See 05:58:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:32 05:58:32 Login Succeeded 05:58:32 ---> docker-login.sh ends 05:58:32 $ docker rm -f --volumes 72367127f46d0cdadd71388fd2090e2092756a0e91696d4f774c35c7ca3293cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 05:58:32 Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo 05:58:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:58:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:58:33 ========================================================= 05:58:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 05:58:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:33 + 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:58:34 Sending build context to Docker daemon 2.95MB 05:58:34 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 05:58:34 Step 2/12 : FROM ${BASE} AS builder 05:58:34 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:58:34 9fda8d8052c6: Pulling fs layer 05:58:34 5d54e960e981: Pulling fs layer 05:58:34 c4a7e357bf2a: Pulling fs layer 05:58:34 f0e02332f6b5: Pulling fs layer 05:58:34 cefa15bbcfad: Pulling fs layer 05:58:34 17808c966233: Pulling fs layer 05:58:34 f4c1fc716caa: Pulling fs layer 05:58:34 cefa15bbcfad: Waiting 05:58:34 17808c966233: Waiting 05:58:34 f4c1fc716caa: Waiting 05:58:34 f0e02332f6b5: Waiting 05:58:34 5d54e960e981: Verifying Checksum 05:58:34 5d54e960e981: Download complete 05:58:34 f0e02332f6b5: Verifying Checksum 05:58:34 f0e02332f6b5: Download complete 05:58:34 cefa15bbcfad: Verifying Checksum 05:58:34 cefa15bbcfad: Download complete 05:58:34 9fda8d8052c6: Download complete 05:58:34 f4c1fc716caa: Verifying Checksum 05:58:34 f4c1fc716caa: Download complete 05:58:35 9fda8d8052c6: Pull complete 05:58:36 c4a7e357bf2a: Verifying Checksum 05:58:36 c4a7e357bf2a: Download complete 05:58:36 17808c966233: Verifying Checksum 05:58:39 5d54e960e981: Pull complete 05:58:54 c4a7e357bf2a: Pull complete 05:58:54 f0e02332f6b5: Pull complete 05:58:54 cefa15bbcfad: Pull complete 05:59:02 17808c966233: Pull complete 05:59:03 f4c1fc716caa: Pull complete 05:59:03 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 05:59:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 05:59:03 ---> ea914061e18c 05:59:03 Step 3/12 : ARG ADD_BUILD_TAGS="" 05:59:05 ---> Running in cae5be8a1d12 05:59:05 Removing intermediate container cae5be8a1d12 05:59:05 ---> 962d8cfdbb78 05:59:05 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:59:05 ---> Running in 2432cb452f70 05:59:06 Removing intermediate container 2432cb452f70 05:59:06 ---> 33d6bdc3b077 05:59:06 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:59:06 ---> Running in 40761757a3f7 05:59:06 Removing intermediate container 40761757a3f7 05:59:06 ---> 66148b68a368 05:59:06 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 05:59:06 ---> Running in ffab18aeb77d 05:59:06 Removing intermediate container ffab18aeb77d 05:59:06 ---> 5a9017db619f 05:59:06 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:59:06 ---> Running in aa514e048220 05:59:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:59:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:59:09 (1/4) Installing openssh-keygen (9.3_p2-r0) 05:59:09 (2/4) Installing libedit (20221030.3.1-r1) 05:59:09 (3/4) Installing openssh-client-common (9.3_p2-r0) 05:59:09 (4/4) Installing openssh-client-default (9.3_p2-r0) 05:59:09 Executing busybox-1.36.1-r2.trigger 05:59:09 OK: 270 MiB in 56 packages 05:59:10 Removing intermediate container aa514e048220 05:59:10 ---> 2b0a8cbb7fd6 05:59:10 Step 8/12 : WORKDIR /device-snmp-go 05:59:10 ---> Running in 47e9a5950847 05:59:10 Removing intermediate container 47e9a5950847 05:59:10 ---> 2f1de4063f58 05:59:10 Step 9/12 : COPY go.mod vendor* ./ 05:59:11 ---> 7dd2050e1d2d 05:59:11 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:59:11 ---> Running in 6992e9a680b7 06:00:47 Removing intermediate container 6992e9a680b7 06:00:47 ---> 92306672835a 06:00:47 Step 11/12 : COPY . . 06:00:47 ---> 61a25748f553 06:00:47 Step 12/12 : RUN ${MAKE} 06:00:47 ---> Running in e1daa3e1dcb4 06:00:47 noop 06:00:47 Removing intermediate container e1daa3e1dcb4 06:00:47 ---> 405305c498ea 06:00:47 Successfully built 405305c498ea 06:00:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:48 + docker inspect -f . ci-base-image-arm64 06:00:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:00:48 prd-ubuntu20.04-docker-arm64-4c-16g-9115 does not seem to be running inside a container 06:00:48 $ 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 06:00:49 $ docker top ad8890485923a1abc4b5894f19f8435e9115763b62c19edb0119d826c5cf8015 -eo pid,comm [Pipeline] { [Pipeline] sh 06:00:50 + go version 06:00:50 go version go1.21.0 linux/arm64 [Pipeline] } 06:00:50 $ docker stop --time=1 ad8890485923a1abc4b5894f19f8435e9115763b62c19edb0119d826c5cf8015 06:00:52 $ docker rm -f --volumes ad8890485923a1abc4b5894f19f8435e9115763b62c19edb0119d826c5cf8015 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:53 + docker inspect -f . ci-base-image-arm64 06:00:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:00:53 prd-ubuntu20.04-docker-arm64-4c-16g-9115 does not seem to be running inside a container 06:00:53 $ 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 06:00:54 $ docker top 081e0489b99b2c5bf6a28a277701d333076fdb4b20e9b65309cc2c8a0d845d1d -eo pid,comm [Pipeline] { [Pipeline] sh 06:00:55 + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh 06:00:55 + make test 06:00:55 go test ./... -coverprofile=coverage.out 06:00:59 ? github.com/edgexfoundry/device-snmp-go [no test files] 06:02:36 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 06:02:36 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.038s coverage: 0.0% of statements 06:02:36 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:02:36 go vet ./... 06:02:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:02:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:02:43 ./bin/test-attribution-txt.sh [Pipeline] echo 06:02:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:02:43 $ docker stop --time=1 081e0489b99b2c5bf6a28a277701d333076fdb4b20e9b65309cc2c8a0d845d1d 06:02:46 $ docker rm -f --volumes 081e0489b99b2c5bf6a28a277701d333076fdb4b20e9b65309cc2c8a0d845d1d [Pipeline] // withDockerContainer [Pipeline] sh 06:02:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:02:48 Warning: overwriting stash ‘coverage-report’ 06:02:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:02:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:02:49 + ls -al . 06:02:49 total 172 06:02:49 drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 06:00 . 06:02:49 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 05:57 .. 06:02:49 -rw-rw-r-- 1 jenkins jenkins 6 Oct 12 05:58 .dockerignore 06:02:49 drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 05:58 .git 06:02:49 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 05:58 .github 06:02:49 -rw-rw-r-- 1 jenkins jenkins 328 Oct 12 05:58 .gitignore 06:02:49 -rw-rw-r-- 1 jenkins jenkins 41 Oct 12 05:58 .golangci.yml 06:02:49 -rw-rw-r-- 1 jenkins jenkins 10025 Oct 12 05:58 Attribution.txt 06:02:49 -rw-rw-r-- 1 jenkins jenkins 10534 Oct 12 05:58 CHANGELOG.md 06:02:49 -rw-rw-r-- 1 jenkins jenkins 1462 Oct 12 05:58 Dockerfile 06:02:49 -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 05:58 GOVERNANCE.md 06:02:49 -rw-rw-r-- 1 jenkins jenkins 656 Oct 12 05:58 Jenkinsfile 06:02:49 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 12 05:58 LICENSE 06:02:49 -rw-rw-r-- 1 jenkins jenkins 2240 Oct 12 05:58 Makefile 06:02:49 -rw-rw-r-- 1 jenkins jenkins 620 Oct 12 05:58 OWNERS.md 06:02:49 -rw-rw-r-- 1 jenkins jenkins 10559 Oct 12 05:58 README.md 06:02:49 -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 05:55 VERSION 06:02:49 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 05:58 bin 06:02:49 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 05:58 cmd 06:02:49 -rw-r--r-- 1 jenkins jenkins 8837 Oct 12 06:02 coverage.out 06:02:49 -rw-rw-r-- 1 jenkins jenkins 3712 Oct 12 05:58 go.mod 06:02:49 -rw-rw-r-- 1 jenkins jenkins 35353 Oct 12 05:58 go.sum 06:02:49 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 05:58 internal 06:02:49 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 05:58 snap 06:02:49 -rw-rw-r-- 1 jenkins jenkins 228 Oct 12 05:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:49 + 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=a6012dd102061e5b4e1a0817a1f490f0d9f1d5bd --label arch=arm64 --label version=0.0.0 . 06:02:50 Sending build context to Docker daemon 2.96MB 06:02:50 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 06:02:50 Step 2/24 : FROM ${BASE} AS builder 06:02:50 ---> 405305c498ea 06:02:50 Step 3/24 : ARG ADD_BUILD_TAGS="" 06:02:50 ---> Running in a896881be1a1 06:02:50 Removing intermediate container a896881be1a1 06:02:50 ---> f6d739d93b78 06:02:50 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:02:50 ---> Running in a6d04e7fa70c 06:02:50 Removing intermediate container a6d04e7fa70c 06:02:50 ---> a4dd7de5126e 06:02:50 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:02:50 ---> Running in 738266c67922 06:02:51 Removing intermediate container 738266c67922 06:02:51 ---> 3add9c9f2bad 06:02:51 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 06:02:51 ---> Running in d742d18d3d7f 06:02:51 Removing intermediate container d742d18d3d7f 06:02:51 ---> 0ed554577252 06:02:51 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:02:51 ---> Running in ed83a7be285a 06:02:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:02:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:02:54 OK: 270 MiB in 56 packages 06:02:55 Removing intermediate container ed83a7be285a 06:02:55 ---> 899ddaa2f2af 06:02:55 Step 8/24 : WORKDIR /device-snmp-go 06:02:55 ---> Running in 91b66da9a2ef 06:02:55 Removing intermediate container 91b66da9a2ef 06:02:55 ---> 2a713a9c058a 06:02:55 Step 9/24 : COPY go.mod vendor* ./ 06:02:58 ---> 1b1f91b50460 06:02:58 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:02:58 ---> Running in 66515d15ab0d 06:03:00 Removing intermediate container 66515d15ab0d 06:03:00 ---> 563d39183fb8 06:03:00 Step 11/24 : COPY . . 06:03:01 ---> 53650469a0d2 06:03:01 Step 12/24 : RUN ${MAKE} 06:03:01 ---> Running in 95db0313dd94 06:03:02 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.1.0-dev.34" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 06:04:53 Removing intermediate container 95db0313dd94 06:04:53 ---> 401c8941e276 06:04:53 Step 13/24 : FROM alpine:3.18 06:04:53 3.18: Pulling from library/alpine 06:04:53 579b34f0a95b: Pulling fs layer 06:04:53 579b34f0a95b: Verifying Checksum 06:04:53 579b34f0a95b: Download complete 06:04:53 579b34f0a95b: Pull complete 06:04:53 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 06:04:53 Status: Downloaded newer image for alpine:3.18 06:04:53 ---> 3cc203321400 06:04:53 Step 14/24 : RUN apk add --update --no-cache dumb-init 06:04:53 ---> Running in d365e8816f1b 06:04:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:04:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:04:53 (1/1) Installing dumb-init (1.2.5-r2) 06:04:53 Executing busybox-1.36.1-r2.trigger 06:04:53 OK: 8 MiB in 16 packages 06:04:53 Removing intermediate container d365e8816f1b 06:04:53 ---> 8c5215d811b7 06:04:53 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 06:04:53 ---> cd19dc19da26 06:04:53 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 06:04:53 ---> b3fe63fd786d 06:04:53 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 06:04:53 ---> 1217ddef67d0 06:04:53 Step 18/24 : EXPOSE 59993 06:04:53 ---> Running in 1d2fad991247 06:04:53 Removing intermediate container 1d2fad991247 06:04:53 ---> dfc8315cd809 06:04:53 Step 19/24 : EXPOSE 161 06:04:53 ---> Running in 6bffefc556ac 06:04:53 Removing intermediate container 6bffefc556ac 06:04:53 ---> c9f230c87920 06:04:53 Step 20/24 : ENTRYPOINT ["/device-snmp"] 06:04:53 ---> Running in 025e870857fc 06:04:53 Removing intermediate container 025e870857fc 06:04:53 ---> 9ce171f739c1 06:04:53 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 06:04:53 ---> Running in deac7718539c 06:04:53 Removing intermediate container deac7718539c 06:04:53 ---> 78a1e94f699e 06:04:53 Step 22/24 : LABEL arch=arm64 06:04:53 ---> Running in 2a5e1786c8b6 06:04:53 Removing intermediate container 2a5e1786c8b6 06:04:53 ---> 25f556916a90 06:04:53 Step 23/24 : LABEL git_sha=a6012dd102061e5b4e1a0817a1f490f0d9f1d5bd 06:04:53 ---> Running in df87639ba994 06:04:53 Removing intermediate container df87639ba994 06:04:53 ---> 0b996a3a1e9d 06:04:53 Step 24/24 : LABEL version=0.0.0 06:04:53 ---> Running in bf7f40e06795 06:04:53 Removing intermediate container bf7f40e06795 06:04:53 ---> f688e2684ac3 06:04:53 [Warning] One or more build-args [ARCH] were not consumed 06:04:53 Successfully built f688e2684ac3 06:04:53 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:04:54 06:04:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:04:55 arm64: Pulling from edgex-lftools-log-publisher 06:04:55 8998bd30e6a1: Pulling fs layer 06:04:55 04944245beec: Pulling fs layer 06:04:55 699f458cf7ca: Pulling fs layer 06:04:55 765212b225bb: Pulling fs layer 06:04:55 f23df028b6ca: Pulling fs layer 06:04:55 d65c8cfc05b1: Pulling fs layer 06:04:55 2437ff75d9bd: Pulling fs layer 06:04:55 f23df028b6ca: Waiting 06:04:55 d65c8cfc05b1: Waiting 06:04:55 2437ff75d9bd: Waiting 06:04:55 765212b225bb: Waiting 06:04:55 04944245beec: Verifying Checksum 06:04:55 04944245beec: Download complete 06:04:55 765212b225bb: Verifying Checksum 06:04:55 765212b225bb: Download complete 06:04:55 f23df028b6ca: Verifying Checksum 06:04:55 f23df028b6ca: Download complete 06:04:55 d65c8cfc05b1: Download complete 06:04:55 699f458cf7ca: Verifying Checksum 06:04:55 699f458cf7ca: Download complete 06:04:56 8998bd30e6a1: Verifying Checksum 06:04:56 8998bd30e6a1: Download complete 06:04:58 2437ff75d9bd: Verifying Checksum 06:04:58 2437ff75d9bd: Download complete 06:05:00 8998bd30e6a1: Pull complete 06:05:01 04944245beec: Pull complete 06:05:02 699f458cf7ca: Pull complete 06:05:02 765212b225bb: Pull complete 06:05:03 f23df028b6ca: Pull complete 06:05:03 d65c8cfc05b1: Pull complete 06:05:22 2437ff75d9bd: Pull complete 06:05:22 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:05:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:05:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:05:22 prd-ubuntu20.04-docker-arm64-4c-16g-9115 does not seem to be running inside a container 06:05:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:05:25 $ docker top 2c198c17e6669a45e8ecd272037aa285f25df87f139f92255ce6c1bc65c4bf4d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:05:26 ---> job-cost.sh 06:05:26 lf-activate-venv: SKIPPING 06:05:26 INFO: No Stack... 06:05:26 INFO: Retrieving Pricing Info for: v3-standard-4 06:05:27 INFO: Archiving Costs [Pipeline] sh 06:05:27 + cut -d, -f6 06:05:27 + cat /w/workspace/device-snmp-go/1/archives/cost.csv [Pipeline] lock 06:05:28 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-320-1-stack-cost] 06:05:28 Resource [jenkins-edgexfoundry-device-snmp-go-PR-320-1-stack-cost] did not exist. Created. 06:05:28 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-320-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:05:28 /w/workspace/device-snmp-go/1@tmp/durable-da62f1e6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:05:29 + echo total: 0.10999999940395355 [Pipeline] stash 06:05:29 Warning: overwriting stash ‘stack-cost’ 06:05:29 Stashed 1 file(s) [Pipeline] } 06:05:29 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-320-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:05:29 $ docker stop --time=1 2c198c17e6669a45e8ecd272037aa285f25df87f139f92255ce6c1bc65c4bf4d 06:05:31 $ docker rm -f --volumes 2c198c17e6669a45e8ecd272037aa285f25df87f139f92255ce6c1bc65c4bf4d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 06:05:32 provisioning config files... 06:05:32 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-320@tmp/config10473926417049148150tmp [Pipeline] { [Pipeline] sh 06:05:32 + set +x 06:05:32 + curl -s https://codecov.io/bash 06:05:32 + bash -s -- 06:05:32 06:05:32 _____ _ 06:05:32 / ____| | | 06:05:32 | | ___ __| | ___ ___ _____ __ 06:05:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:05:32 | |___| (_) | (_| | __/ (_| (_) \ V / 06:05:32 \_____\___/ \__,_|\___|\___\___/ \_/ 06:05:32 Bash-1.0.6 06:05:32 06:05:32 06:05:32 ==> git version 2.25.1 found 06:05:32 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 06:05:32 Release-Date: 2020-01-08 06:05:32 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:05:32 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:05:32 ==> Jenkins CI detected. 06:05:32 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-320 06:05:32 project root: . 06:05:32 --> token set from env 06:05:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:05:32 ==> Running gcov in . (disable via -X gcov) 06:05:32 ==> Python coveragepy not found 06:05:32 ==> Searching for coverage reports in: 06:05:32 + . 06:05:32 -> Found 1 reports 06:05:32 ==> Detecting git/mercurial file structure 06:05:32 ==> Reading reports 06:05:32 + ./coverage.out bytes=8837 06:05:32 ==> Appending adjustments 06:05:32 https://docs.codecov.io/docs/fixing-reports 06:05:32 + Found adjustments 06:05:32 ==> Gzipping contents 06:05:32 4.0K /tmp/codecov.Vr8jvo.gz 06:05:32 ==> Uploading reports 06:05:32 url: https://codecov.io 06:05:32 query: branch=PR-320&commit=a6012dd102061e5b4e1a0817a1f490f0d9f1d5bd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-320%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=320&job=&cmd_args= 06:05:32 -> Pinging Codecov 06:05:32 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-320&commit=a6012dd102061e5b4e1a0817a1f490f0d9f1d5bd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-320%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=320&job=&cmd_args= 06:05:32 -> Uploading to 06:05:32 https://storage.googleapis.com/codecov/v4/raw/2023-10-12/6C56EA5C29638FB4528AC87E60AF5AE0/a6012dd102061e5b4e1a0817a1f490f0d9f1d5bd/1da91e65-75c9-41e9-9edd-15f01e6218fc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231012%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231012T060532Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=11a26bbec1197382d9e85a31208c66314426ff40533c828b7c1887c3399415b7 06:05:32 % Total % Received % Xferd Average Speed Time Time Time Current 06:05:32 Dload Upload Total Spent Left Speed 06:05:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1604 0 0 100 1604 0 5108 --:--:-- --:--:-- --:--:-- 5108 06:05:33 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/a6012dd102061e5b4e1a0817a1f490f0d9f1d5bd [Pipeline] } 06:05:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 06:05:35 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-320/archives ] 06:05:35 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-320/archives 06:05:35 total 16 06:05:35 drwxr-xr-x 3 root root 4096 Oct 12 05:58 . 06:05:35 drwxrwxr-x 10 jenkins jenkins 4096 Oct 12 05:58 .. 06:05:35 drwxr-xr-x 2 root root 4096 Oct 12 05:58 cost 06:05:35 -rw-r--r-- 1 root root 86 Oct 12 05:58 cost.csv 06:05:35 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-320/archives 06:05:35 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-320/archives 06:05:35 total 16 06:05:35 drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 05:58 . 06:05:35 drwxrwxr-x 10 jenkins jenkins 4096 Oct 12 05:58 .. 06:05:35 drwxr-xr-x 2 jenkins jenkins 4096 Oct 12 05:58 cost 06:05:35 -rw-r--r-- 1 jenkins jenkins 86 Oct 12 05:58 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:05:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:05:36 ---> package-listing.sh 06:05:36 ++ facter osfamily 06:05:36 ++ tr '[:upper:]' '[:lower:]' 06:05:36 + OS_FAMILY=debian 06:05:36 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-320 06:05:36 + START_PACKAGES=/tmp/packages_start.txt 06:05:36 + END_PACKAGES=/tmp/packages_end.txt 06:05:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:05:36 + PACKAGES=/tmp/packages_start.txt 06:05:36 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-320 ']' 06:05:36 + PACKAGES=/tmp/packages_end.txt 06:05:36 + case "${OS_FAMILY}" in 06:05:36 + dpkg -l 06:05:36 + grep '^ii' 06:05:36 + '[' -f /tmp/packages_start.txt ']' 06:05:36 + '[' -f /tmp/packages_end.txt ']' 06:05:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:05:36 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-320 ']' 06:05:36 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-320/archives/ 06:05:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-320/archives/ [Pipeline] echo 06:05:36 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-320/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:05:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:05:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:05:37 prd-ubuntu20.04-docker-8c-8g-9114 does not seem to be running inside a container 06:05:37 $ 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-320/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-320 -v /w/workspace/gexfoundry_device-snmp-go_PR-320:/w/workspace/gexfoundry_device-snmp-go_PR-320:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-320@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-320@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:05:37 $ docker top 39bec5e5a80f25b25242fe88ed5f6f697d5838ccb251516001727bae4380831f -eo pid,comm [Pipeline] { [Pipeline] sh 06:05:38 + touch /tmp/pre-build-complete [Pipeline] sh 06:05:38 + mkdir -p /var/log/sysstat [Pipeline] sh 06:05:38 + ls /var/log/sa-host 06:05:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:05:39 provisioning config files... 06:05:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-320@tmp/config1798508679731664603tmp [Pipeline] { [Pipeline] echo 06:05:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:05:39 ---> create-netrc.sh [Pipeline] } 06:05:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:05:39 ---> python-tools-install.sh [Pipeline] echo 06:05:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:05:40 ---> sudo-logs.sh 06:05:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:05:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:05:40 ---> job-cost.sh 06:05:40 lf-activate-venv: SKIPPING 06:05:40 DEBUG: total: 0.2199999988079071 06:05:40 INFO: Retrieving Stack Cost... 06:05:40 INFO: Retrieving Pricing Info for: v3-standard-8 06:05:41 INFO: Archiving Costs [Pipeline] echo 06:05:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:05:41 ---> logs-deploy.sh 06:05:41 lf-activate-venv: SKIPPING 06:05:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-320/1 06:05:41 INFO: archiving workspace using pattern(s): 06:05:42 Archives upload complete. 06:05:42 INFO: archiving logs to Nexus