Pull request #315 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jackchenjc for edgexfoundry/device-snmp-go Loading trusted files from base branch main at 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 rather than c47c4ed6f33dd6b026481a957b2bee764cde5d0f Obtained Jenkinsfile from 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 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-ssh15960256408579664322.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh3591184940070364245.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-315/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-315/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8508850189287311981.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-315/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14037192935026484938.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh12719706173094908472.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-315/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-315/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7038545789234553987.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-3208 in /w/workspace/gexfoundry_device-snmp-go_PR-315 [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-315 # 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/315/head:refs/remotes/origin/PR-315 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 into PR head commit c47c4ed6f33dd6b026481a957b2bee764cde5d0f Merge succeeded, producing c47c4ed6f33dd6b026481a957b2bee764cde5d0f Checking out Revision c47c4ed6f33dd6b026481a957b2bee764cde5d0f (PR-315) > git config core.sparsecheckout # timeout=10 > git checkout -f c47c4ed6f33dd6b026481a957b2bee764cde5d0f # 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 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c47c4ed6f33dd6b026481a957b2bee764cde5d0f # timeout=10 Commit message: "refactor: Remove github.com/pkg/errors from Attribution.txt" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:11:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:11:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:11:19 ========================================================= 10:11:19 EdgeX Global Pipelines Version Info 10:11:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:11:19 ------------------- 10:11:19 stable info: 10:11:19 ------------------- 10:11:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:11:19 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 10:11:19 Message: update stable to v1.0.250 10:11:20 ------------------- 10:11:20 experimental info: 10:11:20 ------------------- 10:11:20 Commited By: **** collab-it+edgex@linuxfoundation.org 10:11:20 Commit SHA: e40317f62605a4f3b5f0b8a3ca7537e8fb1ff910 10:11:20 Message: update experimental to v1.0.252 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:11:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 10:11:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 10:11:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:11:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:11:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:11:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 10:11:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:11:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:11:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:11:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:11:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:11:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 10:11:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:11:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:11:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:11:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:11:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:11:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:11:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:11:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:11:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:11:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:11:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:11:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:11:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:11:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:11:22 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:11:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-315 [Pipeline] echo 10:11:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-315 [Pipeline] echo 10:11:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-315 [Pipeline] echo 10:11:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c47c4ed6f33dd6b026481a957b2bee764cde5d0f [Pipeline] echo 10:11:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c47c4ed [Pipeline] echo 10:11:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:11:23 provisioning config files... 10:11:23 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-315@tmp/config3618573660728692000tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:11:23 ---> docker-login.sh 10:11:23 nexus3.edgexfoundry.org:10001 10:11:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:23 Configure a credential helper to remove this warning. See 10:11:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:23 10:11:23 Login Succeeded 10:11:23 nexus3.edgexfoundry.org:10002 10:11:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:24 Configure a credential helper to remove this warning. See 10:11:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:24 10:11:24 Login Succeeded 10:11:24 nexus3.edgexfoundry.org:10003 10:11:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:24 Configure a credential helper to remove this warning. See 10:11:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:24 10:11:24 Login Succeeded 10:11:24 nexus3.edgexfoundry.org:10004 10:11:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:24 Configure a credential helper to remove this warning. See 10:11:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:24 10:11:24 Login Succeeded 10:11:24 docker.io 10:11:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:24 Configure a credential helper to remove this warning. See 10:11:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:24 10:11:24 Login Succeeded 10:11:24 ---> docker-login.sh ends [Pipeline] } 10:11:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:11:25 + git rev-list -1 --merges c47c4ed6f33dd6b026481a957b2bee764cde5d0f~1..c47c4ed6f33dd6b026481a957b2bee764cde5d0f [Pipeline] echo 10:11:25 -----------> git rev-list -1 --merges c47c4ed6f33dd6b026481a957b2bee764cde5d0f~1..c47c4ed6f33dd6b026481a957b2bee764cde5d0f c47c4ed6f33dd6b026481a957b2bee764cde5d0f [false] [Pipeline] sh 10:11:25 + git log --format=format:%s -1 c47c4ed6f33dd6b026481a957b2bee764cde5d0f [Pipeline] echo 10:11:25 ========================================================= 10:11:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:11:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:11:26 + git log --format=format:%s -1 c47c4ed6f33dd6b026481a957b2bee764cde5d0f [Pipeline] echo 10:11:26 [semverPrep] GIT_COMMIT: c47c4ed6f33dd6b026481a957b2bee764cde5d0f, Commit Message: refactor: Remove github.com/pkg/errors from Attribution.txt [Pipeline] echo 10:11:26 [semverPrep] This is not a build commit. [Pipeline] sh 10:11:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:11:26 + grep -v github /etc/ssh/ssh_known_hosts 10:11:26 + [ -e /tmp/ssh_known_hosts ] 10:11:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:11:26 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:11:26 sudo tee -a /etc/ssh/ssh_known_hosts 10:11:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:11:26 10:11:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:11:27 0.1.4: Pulling from edgex-devops/py-git-semver 10:11:27 b85a868b505f: Pulling fs layer 10:11:27 e2be974225ed: Pulling fs layer 10:11:27 339a4e72a1f5: Pulling fs layer 10:11:27 988bab9f4d93: Pulling fs layer 10:11:27 1469e6f7b9e6: Pulling fs layer 10:11:27 eaf3925da568: Pulling fs layer 10:11:27 bab4dde63d76: Pulling fs layer 10:11:27 bde34c3a00c8: Pulling fs layer 10:11:27 b352a97aabf1: Pulling fs layer 10:11:27 4872d77fe225: Pulling fs layer 10:11:27 5851b861e8e6: Pulling fs layer 10:11:27 988bab9f4d93: Waiting 10:11:27 1469e6f7b9e6: Waiting 10:11:27 bab4dde63d76: Waiting 10:11:27 eaf3925da568: Waiting 10:11:27 4872d77fe225: Waiting 10:11:27 bde34c3a00c8: Waiting 10:11:27 b352a97aabf1: Waiting 10:11:27 e2be974225ed: Download complete 10:11:27 988bab9f4d93: Download complete 10:11:27 1469e6f7b9e6: Verifying Checksum 10:11:27 1469e6f7b9e6: Download complete 10:11:27 339a4e72a1f5: Verifying Checksum 10:11:27 339a4e72a1f5: Download complete 10:11:27 eaf3925da568: Verifying Checksum 10:11:27 eaf3925da568: Download complete 10:11:27 bde34c3a00c8: Verifying Checksum 10:11:27 bde34c3a00c8: Download complete 10:11:27 b352a97aabf1: Verifying Checksum 10:11:27 b352a97aabf1: Download complete 10:11:27 b85a868b505f: Download complete 10:11:27 4872d77fe225: Verifying Checksum 10:11:27 4872d77fe225: Download complete 10:11:27 5851b861e8e6: Verifying Checksum 10:11:27 5851b861e8e6: Download complete 10:11:27 bab4dde63d76: Verifying Checksum 10:11:27 bab4dde63d76: Download complete 10:11:28 b85a868b505f: Pull complete 10:11:29 e2be974225ed: Pull complete 10:11:29 339a4e72a1f5: Pull complete 10:11:29 988bab9f4d93: Pull complete 10:11:29 1469e6f7b9e6: Pull complete 10:11:29 eaf3925da568: Pull complete 10:11:31 bab4dde63d76: Pull complete 10:11:31 bde34c3a00c8: Pull complete 10:11:31 b352a97aabf1: Pull complete 10:11:32 4872d77fe225: Pull complete 10:11:32 5851b861e8e6: Pull complete 10:11:32 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:11:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:11:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:11:32 prd-ubuntu20.04-docker-8c-8g-3208 does not seem to be running inside a container 10:11:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-315 -v /w/workspace/gexfoundry_device-snmp-go_PR-315:/w/workspace/gexfoundry_device-snmp-go_PR-315:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-315@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-315@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-devops/py-git-semver:0.1.4 cat 10:11:34 $ docker top 75bdd46d6919f81214e61919fba1189f80851383de52686d468749d080c7e32d -eo pid,comm 10:11:34 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). 10:11:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:11:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:11:35 [ssh-agent] Looking for ssh-agent implementation... 10:11:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:11:35 $ docker exec 75bdd46d6919f81214e61919fba1189f80851383de52686d468749d080c7e32d ssh-agent 10:11:35 SSH_AUTH_SOCK=/tmp/ssh-QAFSj2pPPUrl/agent.33 10:11:35 SSH_AGENT_PID=39 10:11:35 Running ssh-add (command line suppressed) 10:11:35 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-315@tmp/private_key_5884938220835828484.key (/w/workspace/gexfoundry_device-snmp-go_PR-315@tmp/private_key_5884938220835828484.key) 10:11:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:11:35 + git tag --points-at HEAD [Pipeline] } 10:11:35 $ docker exec --env ******** --env ******** 75bdd46d6919f81214e61919fba1189f80851383de52686d468749d080c7e32d ssh-agent -k 10:11:35 unset SSH_AUTH_SOCK; 10:11:35 unset SSH_AGENT_PID; 10:11:35 echo Agent pid 39 killed; 10:11:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:11:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:11:35 [ssh-agent] Looking for ssh-agent implementation... 10:11:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:11:36 $ docker exec 75bdd46d6919f81214e61919fba1189f80851383de52686d468749d080c7e32d ssh-agent 10:11:36 SSH_AUTH_SOCK=/tmp/ssh-e9Ovsqsv8hzG/agent.71 10:11:36 SSH_AGENT_PID=77 10:11:36 Running ssh-add (command line suppressed) 10:11:36 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-315@tmp/private_key_14921545871730202941.key (/w/workspace/gexfoundry_device-snmp-go_PR-315@tmp/private_key_14921545871730202941.key) 10:11:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:11:36 + git semver init 10:11:36 2023-08-09 10:11:36,823 [run_init] DEBUG init version:0.0.0 force:False 10:11:36 2023-08-09 10:11:36,824 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-315/.semver 10:11:36 2023-08-09 10:11:36,824 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-315/.semver 10:11:36 2023-08-09 10:11:36,824 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-315/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-315, universal_newlines=False, shell=None, istream=None) 10:11:37 2023-08-09 10:11:37,585 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-315/.git/info/exclude 10:11:37 2023-08-09 10:11:37,586 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-315/.semver/PR-315 with force:False 10:11:37 2023-08-09 10:11:37,586 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-315/.semver/PR-315 10:11:37 2023-08-09 10:11:37,590 [execute] INFO git cat-file --batch-check 10:11:37 2023-08-09 10:11:37,591 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-315/.semver, universal_newlines=False, shell=None, istream=) 10:11:37 2023-08-09 10:11:37,596 [execute] INFO git cat-file --batch 10:11:37 2023-08-09 10:11:37,597 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-315/.semver, universal_newlines=False, shell=None, istream=) 10:11:37 2023-08-09 10:11:37,603 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-315/.semver/PR-315 10:11:37 0.0.0 [Pipeline] } 10:11:37 $ docker exec --env ******** --env ******** 75bdd46d6919f81214e61919fba1189f80851383de52686d468749d080c7e32d ssh-agent -k 10:11:37 unset SSH_AUTH_SOCK; 10:11:37 unset SSH_AGENT_PID; 10:11:37 echo Agent pid 77 killed; 10:11:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:11:38 + git semver [Pipeline] } 10:11:38 $ docker stop --time=1 75bdd46d6919f81214e61919fba1189f80851383de52686d468749d080c7e32d 10:11:39 $ docker rm -f --volumes 75bdd46d6919f81214e61919fba1189f80851383de52686d468749d080c7e32d [Pipeline] // withDockerContainer [Pipeline] sh 10:11:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:11:40 Stashed 1 file(s) [Pipeline] echo 10:11:40 [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 10:11:41 provisioning config files... 10:11:41 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-315@tmp/config5819962552054526057tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:11:41 ---> docker-login.sh 10:11:41 nexus3.edgexfoundry.org:10001 10:11:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:41 Configure a credential helper to remove this warning. See 10:11:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:41 10:11:41 Login Succeeded 10:11:41 nexus3.edgexfoundry.org:10002 10:11:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:41 Configure a credential helper to remove this warning. See 10:11:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:41 10:11:41 Login Succeeded 10:11:41 nexus3.edgexfoundry.org:10003 10:11:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:41 Configure a credential helper to remove this warning. See 10:11:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:41 10:11:41 Login Succeeded 10:11:41 nexus3.edgexfoundry.org:10004 10:11:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:41 Configure a credential helper to remove this warning. See 10:11:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:41 10:11:41 Login Succeeded 10:11:41 docker.io 10:11:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:42 Configure a credential helper to remove this warning. See 10:11:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:42 10:11:42 Login Succeeded 10:11:42 ---> docker-login.sh ends [Pipeline] } 10:11:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:11:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:11:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:11:42 ========================================================= 10:11:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 10:11:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:42 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 10:11:42 Sending build context to Docker daemon 5.763MB 10:11:42 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 10:11:42 Step 2/12 : FROM ${BASE} AS builder 10:11:42 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 10:11:42 4db1b89c0bd1: Pulling fs layer 10:11:42 6911f1a30b25: Pulling fs layer 10:11:42 e194b8c5c2a9: Pulling fs layer 10:11:42 6863d3e3a2b1: Pulling fs layer 10:11:42 ec0bb842ea78: Pulling fs layer 10:11:42 40a00589a448: Pulling fs layer 10:11:42 6c08303d61cc: Pulling fs layer 10:11:42 798269fcf238: Pulling fs layer 10:11:42 6863d3e3a2b1: Waiting 10:11:42 40a00589a448: Waiting 10:11:42 ec0bb842ea78: Waiting 10:11:42 6c08303d61cc: Waiting 10:11:43 6911f1a30b25: Verifying Checksum 10:11:43 6911f1a30b25: Download complete 10:11:43 6863d3e3a2b1: Download complete 10:11:43 ec0bb842ea78: Download complete 10:11:43 4db1b89c0bd1: Verifying Checksum 10:11:43 4db1b89c0bd1: Download complete 10:11:43 4db1b89c0bd1: Pull complete 10:11:43 40a00589a448: Verifying Checksum 10:11:43 40a00589a448: Download complete 10:11:43 6911f1a30b25: Pull complete 10:11:44 798269fcf238: Verifying Checksum 10:11:44 798269fcf238: Download complete 10:11:44 e194b8c5c2a9: Verifying Checksum 10:11:44 e194b8c5c2a9: Download complete 10:11:44 6c08303d61cc: Verifying Checksum 10:11:44 6c08303d61cc: Download complete 10:11:47 e194b8c5c2a9: Pull complete 10:11:47 6863d3e3a2b1: Pull complete 10:11:47 ec0bb842ea78: Pull complete 10:11:47 40a00589a448: Pull complete 10:11:50 6c08303d61cc: Pull complete 10:11:50 798269fcf238: Pull complete 10:11:50 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 10:11:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 10:11:50 ---> ec979cd7f677 10:11:50 Step 3/12 : ARG ADD_BUILD_TAGS="" 10:11:54 ---> Running in 844ff6d01aba 10:11:55 Removing intermediate container 844ff6d01aba 10:11:55 ---> 89288f7e849a 10:11:55 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:11:55 ---> Running in be4627cf91ad 10:11:55 Removing intermediate container be4627cf91ad 10:11:55 ---> 52015b27b450 10:11:55 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:11:55 ---> Running in c6226df6acb3 10:11:55 Removing intermediate container c6226df6acb3 10:11:55 ---> ea0b88b9ca16 10:11:55 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 10:11:55 ---> Running in ace8ebb99e54 10:11:55 Removing intermediate container ace8ebb99e54 10:11:55 ---> 4497d1772280 10:11:55 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:11:55 ---> Running in 625ada1fece3 10:11:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:11:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:11:56 Still waiting to schedule task 10:11:56 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 10:11:56 (1/4) Installing openssh-keygen (9.1_p1-r4) 10:11:56 (2/4) Installing libedit (20221030.3.1-r0) 10:11:56 (3/4) Installing openssh-client-common (9.1_p1-r4) 10:11:56 (4/4) Installing openssh-client-default (9.1_p1-r4) 10:11:56 Executing busybox-1.35.0-r29.trigger 10:11:56 OK: 269 MiB in 57 packages 10:11:56 Removing intermediate container 625ada1fece3 10:11:56 ---> 01dfe228beec 10:11:56 Step 8/12 : WORKDIR /device-snmp-go 10:11:56 ---> Running in a95270c96e1a 10:11:56 Removing intermediate container a95270c96e1a 10:11:56 ---> 620151bcd144 10:11:56 Step 9/12 : COPY go.mod vendor* ./ 10:11:56 ---> 6b73aba36290 10:11:56 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:11:56 ---> Running in e78cf3a79c9a 10:12:28 Removing intermediate container e78cf3a79c9a 10:12:28 ---> a72e922bc332 10:12:28 Step 11/12 : COPY . . 10:12:28 ---> 824b5aacbb40 10:12:28 Step 12/12 : RUN ${MAKE} 10:12:28 ---> Running in 407d7b0fa8f9 10:12:28 noop 10:12:28 Removing intermediate container 407d7b0fa8f9 10:12:28 ---> 4c6bbf0ca6ad 10:12:28 Successfully built 4c6bbf0ca6ad 10:12:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:29 + docker inspect -f . ci-base-image-x86_64 10:12:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:12:29 prd-ubuntu20.04-docker-8c-8g-3208 does not seem to be running inside a container 10:12:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-315 -v /w/workspace/gexfoundry_device-snmp-go_PR-315:/w/workspace/gexfoundry_device-snmp-go_PR-315:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-315@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-315@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:12:29 $ docker top 3a21f8b0e7a05ea49cc852b4e413d05d1fc364b56863240692f2cee3a07d3052 -eo pid,comm [Pipeline] { [Pipeline] sh 10:12:30 + go version 10:12:30 go version go1.20.6 linux/amd64 [Pipeline] } 10:12:30 $ docker stop --time=1 3a21f8b0e7a05ea49cc852b4e413d05d1fc364b56863240692f2cee3a07d3052 10:12:31 $ docker rm -f --volumes 3a21f8b0e7a05ea49cc852b4e413d05d1fc364b56863240692f2cee3a07d3052 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:32 + docker inspect -f . ci-base-image-x86_64 10:12:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:12:32 prd-ubuntu20.04-docker-8c-8g-3208 does not seem to be running inside a container 10:12:32 $ 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-315 -v /w/workspace/gexfoundry_device-snmp-go_PR-315:/w/workspace/gexfoundry_device-snmp-go_PR-315:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-315@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-315@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:12:32 $ docker top 524834f9853ba8aff9b682f79f81f815a4912ea2c9ba7d8bdca5ecaffc3d1c53 -eo pid,comm [Pipeline] { [Pipeline] sh 10:12:33 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-315 [Pipeline] fileExists [Pipeline] sh 10:12:33 + make test 10:12:33 go test ./... -coverprofile=coverage.out 10:12:38 ? github.com/edgexfoundry/device-snmp-go [no test files] 10:12:46 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 10:12:46 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.011s coverage: 0.0% of statements 10:12:53 go vet ./... 10:12:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:12:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:12:56 ./bin/test-attribution-txt.sh [Pipeline] echo 10:12:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:12:56 $ docker stop --time=1 524834f9853ba8aff9b682f79f81f815a4912ea2c9ba7d8bdca5ecaffc3d1c53 10:13:02 $ docker rm -f --volumes 524834f9853ba8aff9b682f79f81f815a4912ea2c9ba7d8bdca5ecaffc3d1c53 [Pipeline] // withDockerContainer [Pipeline] sh 10:13:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:13:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:13:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:13:03 + ls -al . 10:13:03 total 172 10:13:03 drwxrwxr-x 9 jenkins jenkins 4096 Aug 9 10:12 . 10:13:03 drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 10:11 .. 10:13:03 -rw-rw-r-- 1 jenkins jenkins 6 Aug 9 10:11 .dockerignore 10:13:03 drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 10:11 .git 10:13:03 drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:11 .github 10:13:03 -rw-rw-r-- 1 jenkins jenkins 328 Aug 9 10:11 .gitignore 10:13:03 -rw-rw-r-- 1 jenkins jenkins 41 Aug 9 10:11 .golangci.yml 10:13:03 drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 10:11 .semver 10:13:03 -rw-rw-r-- 1 jenkins jenkins 8956 Aug 9 10:11 Attribution.txt 10:13:03 -rw-rw-r-- 1 jenkins jenkins 10534 Aug 9 10:11 CHANGELOG.md 10:13:03 -rw-rw-r-- 1 jenkins jenkins 1423 Aug 9 10:11 Dockerfile 10:13:03 -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 10:11 GOVERNANCE.md 10:13:03 -rw-rw-r-- 1 jenkins jenkins 656 Aug 9 10:11 Jenkinsfile 10:13:03 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 9 10:11 LICENSE 10:13:03 -rw-rw-r-- 1 jenkins jenkins 2114 Aug 9 10:11 Makefile 10:13:03 -rw-rw-r-- 1 jenkins jenkins 620 Aug 9 10:11 OWNERS.md 10:13:03 -rw-rw-r-- 1 jenkins jenkins 10559 Aug 9 10:11 README.md 10:13:03 -rw-rw-r-- 1 jenkins jenkins 5 Aug 9 10:11 VERSION 10:13:03 drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 10:11 bin 10:13:03 drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:11 cmd 10:13:03 -rw-r--r-- 1 jenkins jenkins 8837 Aug 9 10:12 coverage.out 10:13:03 -rw-rw-r-- 1 jenkins jenkins 3235 Aug 9 10:11 go.mod 10:13:03 -rw-rw-r-- 1 jenkins jenkins 31230 Aug 9 10:11 go.sum 10:13:03 drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:11 internal 10:13:03 drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 10:11 snap 10:13:03 -rw-rw-r-- 1 jenkins jenkins 228 Aug 9 10:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:04 + docker build -t device-snmp -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=c47c4ed6f33dd6b026481a957b2bee764cde5d0f --label arch=amd64 --label version=0.0.0 . 10:13:04 Sending build context to Docker daemon 5.772MB 10:13:04 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 10:13:04 Step 2/24 : FROM ${BASE} AS builder 10:13:04 ---> 4c6bbf0ca6ad 10:13:04 Step 3/24 : ARG ADD_BUILD_TAGS="" 10:13:04 ---> Running in 639847ad7c90 10:13:04 Removing intermediate container 639847ad7c90 10:13:04 ---> b4b611b5aaab 10:13:04 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:13:04 ---> Running in a50e124d7579 10:13:04 Removing intermediate container a50e124d7579 10:13:04 ---> f8c8913214b5 10:13:04 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:13:04 ---> Running in c06b1db66e30 10:13:04 Removing intermediate container c06b1db66e30 10:13:04 ---> 091315f5c822 10:13:04 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 10:13:04 ---> Running in e8dc7e81bff8 10:13:04 Removing intermediate container e8dc7e81bff8 10:13:04 ---> b774f6d0be4b 10:13:04 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:13:04 ---> Running in 5a2c7e0a62b9 10:13:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:13:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:13:05 OK: 269 MiB in 57 packages 10:13:05 Removing intermediate container 5a2c7e0a62b9 10:13:05 ---> e92f9e4c26b8 10:13:05 Step 8/24 : WORKDIR /device-snmp-go 10:13:05 ---> Running in b049d2ea65bf 10:13:05 Removing intermediate container b049d2ea65bf 10:13:05 ---> 458cdbb5029d 10:13:05 Step 9/24 : COPY go.mod vendor* ./ 10:13:06 ---> b551194795d7 10:13:06 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:13:06 ---> Running in 526b260aa93f 10:13:06 Removing intermediate container 526b260aa93f 10:13:06 ---> 979bf8d82a01 10:13:06 Step 11/24 : COPY . . 10:13:06 ---> df3fbd83b9f3 10:13:06 Step 12/24 : RUN ${MAKE} 10:13:06 ---> Running in 31da4cab451e 10:13:07 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 10:13:29 Removing intermediate container 31da4cab451e 10:13:29 ---> 886227a0f8b6 10:13:29 Step 13/24 : FROM alpine:3.17 10:13:29 3.17: Pulling from library/alpine 10:13:29 9398808236ff: Pulling fs layer 10:13:29 9398808236ff: Download complete 10:13:29 9398808236ff: Pull complete 10:13:29 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 10:13:29 Status: Downloaded newer image for alpine:3.17 10:13:29 ---> 1e0b8b5322fc 10:13:29 Step 14/24 : RUN apk add --update --no-cache dumb-init 10:13:29 ---> Running in 5f8d33ee3b8e 10:13:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:13:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:13:29 (1/1) Installing dumb-init (1.2.5-r2) 10:13:29 Executing busybox-1.35.0-r29.trigger 10:13:29 OK: 7 MiB in 16 packages 10:13:29 Removing intermediate container 5f8d33ee3b8e 10:13:29 ---> 9cf74956c307 10:13:29 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 10:13:29 ---> 2b2a862c188e 10:13:29 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 10:13:29 ---> a0b75f854e2e 10:13:29 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 10:13:29 ---> 8954d6d348f1 10:13:29 Step 18/24 : EXPOSE 59993 10:13:29 ---> Running in 4b1102d213ee 10:13:29 Removing intermediate container 4b1102d213ee 10:13:29 ---> 34cd0fc165fd 10:13:29 Step 19/24 : EXPOSE 161 10:13:29 ---> Running in b767d369fd12 10:13:29 Removing intermediate container b767d369fd12 10:13:29 ---> 243c769e86bd 10:13:29 Step 20/24 : ENTRYPOINT ["/device-snmp"] 10:13:29 ---> Running in 9ec79f914f13 10:13:29 Removing intermediate container 9ec79f914f13 10:13:29 ---> 7b47eb26f71a 10:13:29 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 10:13:29 ---> Running in 2ab7ae0579d2 10:13:29 Removing intermediate container 2ab7ae0579d2 10:13:29 ---> 2de58f2d8958 10:13:29 Step 22/24 : LABEL arch=amd64 10:13:29 ---> Running in 478c1c9610ee 10:13:29 Removing intermediate container 478c1c9610ee 10:13:29 ---> 2990fa1c8f29 10:13:29 Step 23/24 : LABEL git_sha=c47c4ed6f33dd6b026481a957b2bee764cde5d0f 10:13:29 ---> Running in 1d2ed868e533 10:13:29 Removing intermediate container 1d2ed868e533 10:13:29 ---> 13f166c85a03 10:13:29 Step 24/24 : LABEL version=0.0.0 10:13:29 ---> Running in bf27396a20ec 10:13:29 Removing intermediate container bf27396a20ec 10:13:29 ---> 54ec3b8ccb04 10:13:29 [Warning] One or more build-args [ARCH] were not consumed 10:13:29 Successfully built 54ec3b8ccb04 10:13:29 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 10:13:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:13:30 10:13:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:13:31 latest: Pulling from edgex-lftools-log-publisher 10:13:31 5eb5b503b376: Pulling fs layer 10:13:31 5c69ac0246d0: Pulling fs layer 10:13:31 ec43610c2a17: Pulling fs layer 10:13:31 3a2ae6a8a46f: Pulling fs layer 10:13:31 33b1e0a273af: Pulling fs layer 10:13:31 5d3b04190fa2: Pulling fs layer 10:13:31 2f39f015ded8: Pulling fs layer 10:13:31 33b1e0a273af: Waiting 10:13:31 5d3b04190fa2: Waiting 10:13:31 3a2ae6a8a46f: Waiting 10:13:31 2f39f015ded8: Waiting 10:13:31 5c69ac0246d0: Verifying Checksum 10:13:31 5c69ac0246d0: Download complete 10:13:31 3a2ae6a8a46f: Verifying Checksum 10:13:31 3a2ae6a8a46f: Download complete 10:13:31 ec43610c2a17: Verifying Checksum 10:13:31 ec43610c2a17: Download complete 10:13:31 33b1e0a273af: Verifying Checksum 10:13:31 33b1e0a273af: Download complete 10:13:31 5d3b04190fa2: Verifying Checksum 10:13:31 5d3b04190fa2: Download complete 10:13:31 5eb5b503b376: Verifying Checksum 10:13:31 5eb5b503b376: Download complete 10:13:31 2f39f015ded8: Download complete 10:13:32 5eb5b503b376: Pull complete 10:13:32 5c69ac0246d0: Pull complete 10:13:33 ec43610c2a17: Pull complete 10:13:33 3a2ae6a8a46f: Pull complete 10:13:33 33b1e0a273af: Pull complete 10:13:33 5d3b04190fa2: Pull complete 10:13:37 2f39f015ded8: Pull complete 10:13:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:13:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:13:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:13:37 prd-ubuntu20.04-docker-8c-8g-3208 does not seem to be running inside a container 10:13:37 $ 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-315 -v /w/workspace/gexfoundry_device-snmp-go_PR-315:/w/workspace/gexfoundry_device-snmp-go_PR-315:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-315@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-315@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:13:42 $ docker top 6cace8118dd58bc7cb53a5a33ed7e6d9130a714bd4f5cd3581078bb7c55f3b90 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:13:43 ---> job-cost.sh 10:13:43 lf-activate-venv: SKIPPING 10:13:43 INFO: No Stack... 10:13:43 INFO: Retrieving Pricing Info for: v3-standard-8 10:13:43 INFO: Archiving Costs [Pipeline] sh 10:13:43 + cat /w/workspace/gexfoundry_device-snmp-go_PR-315/archives/cost.csv 10:13:43 + cut -d, -f6 [Pipeline] lock 10:13:44 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-315-1-stack-cost] 10:13:44 Resource [jenkins-edgexfoundry-device-snmp-go-PR-315-1-stack-cost] did not exist. Created. 10:13:44 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-315-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:13:44 + echo total: 0.2199999988079071 [Pipeline] stash 10:13:44 Stashed 1 file(s) [Pipeline] } 10:13:44 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-315-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:13:44 $ docker stop --time=1 6cace8118dd58bc7cb53a5a33ed7e6d9130a714bd4f5cd3581078bb7c55f3b90 10:13:45 $ docker rm -f --volumes 6cace8118dd58bc7cb53a5a33ed7e6d9130a714bd4f5cd3581078bb7c55f3b90 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:14:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3210 in /w/workspace/gexfoundry_device-snmp-go_PR-315 [Pipeline] { [Pipeline] ws 10:14:38 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 10:14:38 Selected Git installation does not exist. Using Default 10:14:38 The recommended git tool is: NONE 10:14:44 using credential edgex-jenkins-ssh 10:14:44 Cloning the remote Git repository 10:14:45 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 10:14:45 > git init /w/workspace/device-snmp-go/1 # timeout=10 10:14:45 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 10:14:45 > git --version # timeout=10 10:14:45 > git --version # 'git version 2.25.1' 10:14:45 using GIT_SSH to set credentials SSH Credentials for GitHub 10:14:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:14:46 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 10:14:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:14:48 Merging remotes/origin/main commit 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 into PR head commit c47c4ed6f33dd6b026481a957b2bee764cde5d0f 10:14:48 Merge succeeded, producing c47c4ed6f33dd6b026481a957b2bee764cde5d0f 10:14:48 Checking out Revision c47c4ed6f33dd6b026481a957b2bee764cde5d0f (PR-315) 10:14:47 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 10:14:47 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 10:14:47 using GIT_SSH to set credentials SSH Credentials for GitHub 10:14:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/315/head:refs/remotes/origin/PR-315 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:14:48 > git config core.sparsecheckout # timeout=10 10:14:48 > git checkout -f c47c4ed6f33dd6b026481a957b2bee764cde5d0f # timeout=10 10:14:48 > git remote # timeout=10 10:14:48 > git config --get remote.origin.url # timeout=10 10:14:48 using GIT_SSH to set credentials SSH Credentials for GitHub 10:14:48 > git merge 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 # timeout=10 10:14:48 > git rev-parse HEAD^{commit} # timeout=10 10:14:48 > git config core.sparsecheckout # timeout=10 10:14:48 > git checkout -f c47c4ed6f33dd6b026481a957b2bee764cde5d0f # timeout=10 10:14:52 Commit message: "refactor: Remove github.com/pkg/errors from Attribution.txt" 10:14:52 > git --version # timeout=10 10:14:52 > git --version # 'git version 2.25.1' 10:14:52 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:14:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:14:53 % Total % Received % Xferd Average Speed Time Time Time Current 10:14:53 Dload Upload Total Spent Left Speed 10:14:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 188k 0 --:--:-- --:--:-- --:--:-- 191k [Pipeline] sh 10:14:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:14:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:14:54 + sudo tee /etc/docker/daemon.new 10:14:54 { 10:14:54 "registry-mirrors": [ 10:14:54 "https://nexus3.edgexfoundry.org:10001" 10:14:54 ], 10:14:54 "bip": "10.250.0.254/24", 10:14:54 "hosts": [ 10:14:54 "tcp://0.0.0.0:5555", 10:14:54 "unix:///var/run/docker.sock" 10:14:54 ], 10:14:54 "mtu": 1458, 10:14:54 "selinux-enabled": true, 10:14:54 "seccomp-profile": "/etc/docker/seccomp.json" 10:14:54 } [Pipeline] sh 10:14:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:14:55 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:15:13 provisioning config files... 10:15:13 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config3909307564591877679tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:15:14 ---> docker-login.sh 10:15:14 nexus3.edgexfoundry.org:10001 10:15:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:15:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:15:14 Configure a credential helper to remove this warning. See 10:15:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:15:14 10:15:14 Login Succeeded 10:15:14 nexus3.edgexfoundry.org:10002 10:15:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:15:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:15:15 Configure a credential helper to remove this warning. See 10:15:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:15:15 10:15:15 Login Succeeded 10:15:15 nexus3.edgexfoundry.org:10003 10:15:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:15:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:15:15 Configure a credential helper to remove this warning. See 10:15:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:15:15 10:15:15 Login Succeeded 10:15:15 nexus3.edgexfoundry.org:10004 10:15:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:15:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:15:15 Configure a credential helper to remove this warning. See 10:15:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:15:15 10:15:15 Login Succeeded 10:15:15 docker.io 10:15:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:15:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:15:16 Configure a credential helper to remove this warning. See 10:15:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:15:16 10:15:16 Login Succeeded 10:15:16 ---> docker-login.sh ends [Pipeline] } 10:15:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:15:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:15:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:15:16 ========================================================= 10:15:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 10:15:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:15:17 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 10:15:20 Sending build context to Docker daemon 2.966MB 10:15:20 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 10:15:20 Step 2/12 : FROM ${BASE} AS builder 10:15:20 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:15:20 edb6bdbacee9: Pulling fs layer 10:15:20 5f9638ab2659: Pulling fs layer 10:15:20 8d51d6327a98: Pulling fs layer 10:15:20 8b374f2dd631: Pulling fs layer 10:15:20 ec14aa9079de: Pulling fs layer 10:15:20 2f466654f4bb: Pulling fs layer 10:15:20 554e91adad29: Pulling fs layer 10:15:20 2f466654f4bb: Waiting 10:15:20 8b374f2dd631: Waiting 10:15:20 554e91adad29: Waiting 10:15:20 5f9638ab2659: Download complete 10:15:20 8b374f2dd631: Download complete 10:15:20 ec14aa9079de: Download complete 10:15:20 edb6bdbacee9: Verifying Checksum 10:15:20 edb6bdbacee9: Download complete 10:15:22 edb6bdbacee9: Pull complete 10:15:22 554e91adad29: Verifying Checksum 10:15:22 554e91adad29: Download complete 10:15:22 5f9638ab2659: Pull complete 10:15:23 2f466654f4bb: Download complete 10:15:23 8d51d6327a98: Verifying Checksum 10:15:23 8d51d6327a98: Download complete 10:15:36 8d51d6327a98: Pull complete 10:15:36 8b374f2dd631: Pull complete 10:15:36 ec14aa9079de: Pull complete 10:15:44 2f466654f4bb: Pull complete 10:15:47 554e91adad29: Pull complete 10:15:47 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 10:15:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 10:15:47 ---> 1e15ea492957 10:15:47 Step 3/12 : ARG ADD_BUILD_TAGS="" 10:15:47 ---> Running in afff7963ad46 10:15:48 Removing intermediate container afff7963ad46 10:15:48 ---> 830ce293ba0a 10:15:48 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:15:48 ---> Running in b051b99f5f29 10:15:48 Removing intermediate container b051b99f5f29 10:15:48 ---> b526cf91baa2 10:15:48 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:15:48 ---> Running in 1d774f3d0a2a 10:15:48 Removing intermediate container 1d774f3d0a2a 10:15:48 ---> 744ce6767189 10:15:48 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 10:15:49 ---> Running in da899e2149ad 10:15:49 Removing intermediate container da899e2149ad 10:15:49 ---> 90b2d27e7acf 10:15:49 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:15:49 ---> Running in 27c9d2352349 10:15:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:15:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:15:52 (1/4) Installing openssh-keygen (9.1_p1-r4) 10:15:52 (2/4) Installing libedit (20221030.3.1-r0) 10:15:52 (3/4) Installing openssh-client-common (9.1_p1-r4) 10:15:52 (4/4) Installing openssh-client-default (9.1_p1-r4) 10:15:52 Executing busybox-1.35.0-r29.trigger 10:15:52 OK: 268 MiB in 57 packages 10:15:53 Removing intermediate container 27c9d2352349 10:15:53 ---> 70570b023fc8 10:15:53 Step 8/12 : WORKDIR /device-snmp-go 10:15:53 ---> Running in 5339602c067b 10:15:53 Removing intermediate container 5339602c067b 10:15:53 ---> 2ee1245afd69 10:15:53 Step 9/12 : COPY go.mod vendor* ./ 10:15:54 ---> 1dc5a42c8c1b 10:15:54 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:15:54 ---> Running in a63b2fa73084 10:17:02 Removing intermediate container a63b2fa73084 10:17:02 ---> 8b2e5a78dcd8 10:17:02 Step 11/12 : COPY . . 10:17:02 ---> e7e03ee2c801 10:17:02 Step 12/12 : RUN ${MAKE} 10:17:02 ---> Running in 7f7de86abf2d 10:17:02 noop 10:17:02 Removing intermediate container 7f7de86abf2d 10:17:02 ---> a58dd69a31fc 10:17:02 Successfully built a58dd69a31fc 10:17:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:17:02 + docker inspect -f . ci-base-image-arm64 10:17:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:17:03 prd-ubuntu20.04-docker-arm64-4c-16g-3210 does not seem to be running inside a container 10:17:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:17:04 $ docker top 71f3fe82f6b467c03eaf8660617e4c147b3d2d0a948bdeab500109bd18766f40 -eo pid,comm [Pipeline] { [Pipeline] sh 10:17:05 + go version 10:17:05 go version go1.20.6 linux/arm64 [Pipeline] } 10:17:05 $ docker stop --time=1 71f3fe82f6b467c03eaf8660617e4c147b3d2d0a948bdeab500109bd18766f40 10:17:07 $ docker rm -f --volumes 71f3fe82f6b467c03eaf8660617e4c147b3d2d0a948bdeab500109bd18766f40 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:17:08 + docker inspect -f . ci-base-image-arm64 10:17:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:17:08 prd-ubuntu20.04-docker-arm64-4c-16g-3210 does not seem to be running inside a container 10:17:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:17:10 $ docker top 8b51097ebcc495e37e51d13893d6b474de3bae0a31607dae9c1c0e944ae1cf1d -eo pid,comm [Pipeline] { [Pipeline] sh 10:17:10 + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh 10:17:11 + make test 10:17:11 go test ./... -coverprofile=coverage.out 10:17:50 ? github.com/edgexfoundry/device-snmp-go [no test files] 10:20:12 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 10:20:12 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.047s coverage: 0.0% of statements 10:20:12 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:20:12 go vet ./... 10:20:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:20:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:20:34 ./bin/test-attribution-txt.sh [Pipeline] echo 10:20:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:20:34 $ docker stop --time=1 8b51097ebcc495e37e51d13893d6b474de3bae0a31607dae9c1c0e944ae1cf1d 10:20:36 $ docker rm -f --volumes 8b51097ebcc495e37e51d13893d6b474de3bae0a31607dae9c1c0e944ae1cf1d [Pipeline] // withDockerContainer [Pipeline] sh 10:20:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:20:37 Warning: overwriting stash ‘coverage-report’ 10:20:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:20:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:20:39 + ls -al . 10:20:39 total 168 10:20:39 drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 10:17 . 10:20:39 drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 10:14 .. 10:20:39 -rw-rw-r-- 1 jenkins jenkins 6 Aug 9 10:14 .dockerignore 10:20:39 drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 10:14 .git 10:20:39 drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:14 .github 10:20:39 -rw-rw-r-- 1 jenkins jenkins 328 Aug 9 10:14 .gitignore 10:20:39 -rw-rw-r-- 1 jenkins jenkins 41 Aug 9 10:14 .golangci.yml 10:20:39 -rw-rw-r-- 1 jenkins jenkins 8956 Aug 9 10:14 Attribution.txt 10:20:39 -rw-rw-r-- 1 jenkins jenkins 10534 Aug 9 10:14 CHANGELOG.md 10:20:39 -rw-rw-r-- 1 jenkins jenkins 1423 Aug 9 10:14 Dockerfile 10:20:39 -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 10:14 GOVERNANCE.md 10:20:39 -rw-rw-r-- 1 jenkins jenkins 656 Aug 9 10:14 Jenkinsfile 10:20:39 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 9 10:14 LICENSE 10:20:39 -rw-rw-r-- 1 jenkins jenkins 2114 Aug 9 10:14 Makefile 10:20:39 -rw-rw-r-- 1 jenkins jenkins 620 Aug 9 10:14 OWNERS.md 10:20:39 -rw-rw-r-- 1 jenkins jenkins 10559 Aug 9 10:14 README.md 10:20:39 -rw-rw-r-- 1 jenkins jenkins 5 Aug 9 10:11 VERSION 10:20:39 drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 10:14 bin 10:20:39 drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:14 cmd 10:20:39 -rw-r--r-- 1 jenkins jenkins 8837 Aug 9 10:20 coverage.out 10:20:39 -rw-rw-r-- 1 jenkins jenkins 3235 Aug 9 10:14 go.mod 10:20:39 -rw-rw-r-- 1 jenkins jenkins 31230 Aug 9 10:14 go.sum 10:20:39 drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:14 internal 10:20:39 drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 10:14 snap 10:20:39 -rw-rw-r-- 1 jenkins jenkins 228 Aug 9 10:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:20:39 + 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=c47c4ed6f33dd6b026481a957b2bee764cde5d0f --label arch=arm64 --label version=0.0.0 . 10:20:40 Sending build context to Docker daemon 2.975MB 10:20:40 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 10:20:40 Step 2/24 : FROM ${BASE} AS builder 10:20:40 ---> a58dd69a31fc 10:20:40 Step 3/24 : ARG ADD_BUILD_TAGS="" 10:20:40 ---> Running in 3dd5da457d76 10:20:40 Removing intermediate container 3dd5da457d76 10:20:40 ---> 405849230c46 10:20:40 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:20:40 ---> Running in aa749bf84431 10:20:40 Removing intermediate container aa749bf84431 10:20:40 ---> 8bd851d05ebb 10:20:40 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:20:40 ---> Running in 210ed19ba29d 10:20:41 Removing intermediate container 210ed19ba29d 10:20:41 ---> a240d4f08d86 10:20:41 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 10:20:41 ---> Running in 458dd31daca7 10:20:41 Removing intermediate container 458dd31daca7 10:20:41 ---> 0f8d2643e071 10:20:41 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:20:41 ---> Running in 43e36d00aa05 10:20:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:20:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:20:44 OK: 268 MiB in 57 packages 10:20:45 Removing intermediate container 43e36d00aa05 10:20:45 ---> 58c34f4b8f19 10:20:45 Step 8/24 : WORKDIR /device-snmp-go 10:20:45 ---> Running in 92bd31bc4ca8 10:20:45 Removing intermediate container 92bd31bc4ca8 10:20:45 ---> 93e7782b89fd 10:20:45 Step 9/24 : COPY go.mod vendor* ./ 10:20:46 ---> 42dc37943097 10:20:46 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:20:46 ---> Running in bc7e698f0040 10:20:48 Removing intermediate container bc7e698f0040 10:20:48 ---> e896a70bdc67 10:20:48 Step 11/24 : COPY . . 10:20:49 ---> 905284c423ef 10:20:49 Step 12/24 : RUN ${MAKE} 10:20:49 ---> Running in 70575f2ec3e1 10:20:50 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 10:23:27 Removing intermediate container 70575f2ec3e1 10:23:27 ---> 577efaf5f010 10:23:27 Step 13/24 : FROM alpine:3.17 10:23:27 3.17: Pulling from library/alpine 10:23:27 4060ece20d7a: Pulling fs layer 10:23:27 4060ece20d7a: Verifying Checksum 10:23:27 4060ece20d7a: Download complete 10:23:27 4060ece20d7a: Pull complete 10:23:27 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 10:23:27 Status: Downloaded newer image for alpine:3.17 10:23:27 ---> 8650cd65339b 10:23:27 Step 14/24 : RUN apk add --update --no-cache dumb-init 10:23:27 ---> Running in 0b8ef0a75d84 10:23:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:23:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:23:27 (1/1) Installing dumb-init (1.2.5-r2) 10:23:27 Executing busybox-1.35.0-r29.trigger 10:23:27 OK: 8 MiB in 16 packages 10:23:27 Removing intermediate container 0b8ef0a75d84 10:23:27 ---> 37cbb0a4fcf6 10:23:27 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 10:23:27 ---> 118b06bd20ce 10:23:27 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 10:23:27 ---> b967fff135e5 10:23:27 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 10:23:27 ---> 4f0006a9054c 10:23:27 Step 18/24 : EXPOSE 59993 10:23:27 ---> Running in c1508ad5b2a8 10:23:27 Removing intermediate container c1508ad5b2a8 10:23:27 ---> 19a84ef68e20 10:23:27 Step 19/24 : EXPOSE 161 10:23:27 ---> Running in 0ad89217eb91 10:23:27 Removing intermediate container 0ad89217eb91 10:23:27 ---> 2f6aaca71058 10:23:27 Step 20/24 : ENTRYPOINT ["/device-snmp"] 10:23:27 ---> Running in 6439b9a161c0 10:23:27 Removing intermediate container 6439b9a161c0 10:23:27 ---> 6b50980a23d5 10:23:27 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 10:23:27 ---> Running in 7b196792ce1f 10:23:27 Removing intermediate container 7b196792ce1f 10:23:27 ---> 361c014bb2f9 10:23:27 Step 22/24 : LABEL arch=arm64 10:23:27 ---> Running in 49f8e1ae71b9 10:23:27 Removing intermediate container 49f8e1ae71b9 10:23:27 ---> c45033d540df 10:23:27 Step 23/24 : LABEL git_sha=c47c4ed6f33dd6b026481a957b2bee764cde5d0f 10:23:27 ---> Running in ac1f360e187a 10:23:27 Removing intermediate container ac1f360e187a 10:23:27 ---> d9a7baaad178 10:23:27 Step 24/24 : LABEL version=0.0.0 10:23:27 ---> Running in 29ca3045ddef 10:23:27 Removing intermediate container 29ca3045ddef 10:23:27 ---> 657e96e8626d 10:23:27 [Warning] One or more build-args [ARCH] were not consumed 10:23:27 Successfully built 657e96e8626d 10:23:27 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 10:23:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:23:28 10:23:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:23:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:23:28 arm64: Pulling from edgex-lftools-log-publisher 10:23:28 8998bd30e6a1: Pulling fs layer 10:23:28 04944245beec: Pulling fs layer 10:23:28 699f458cf7ca: Pulling fs layer 10:23:28 765212b225bb: Pulling fs layer 10:23:28 f23df028b6ca: Pulling fs layer 10:23:28 d65c8cfc05b1: Pulling fs layer 10:23:28 2437ff75d9bd: Pulling fs layer 10:23:28 765212b225bb: Waiting 10:23:28 f23df028b6ca: Waiting 10:23:28 d65c8cfc05b1: Waiting 10:23:28 2437ff75d9bd: Waiting 10:23:28 04944245beec: Verifying Checksum 10:23:28 04944245beec: Download complete 10:23:28 765212b225bb: Download complete 10:23:28 f23df028b6ca: Verifying Checksum 10:23:28 f23df028b6ca: Download complete 10:23:28 d65c8cfc05b1: Verifying Checksum 10:23:28 d65c8cfc05b1: Download complete 10:23:29 699f458cf7ca: Verifying Checksum 10:23:29 699f458cf7ca: Download complete 10:23:29 8998bd30e6a1: Verifying Checksum 10:23:29 8998bd30e6a1: Download complete 10:23:32 2437ff75d9bd: Verifying Checksum 10:23:32 2437ff75d9bd: Download complete 10:23:33 8998bd30e6a1: Pull complete 10:23:34 04944245beec: Pull complete 10:23:36 699f458cf7ca: Pull complete 10:23:36 765212b225bb: Pull complete 10:23:36 f23df028b6ca: Pull complete 10:23:37 d65c8cfc05b1: Pull complete 10:23:52 2437ff75d9bd: Pull complete 10:23:52 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:23:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:23:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:23:52 prd-ubuntu20.04-docker-arm64-4c-16g-3210 does not seem to be running inside a container 10:23:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:23:55 $ docker top a8113cfadd17b938d8dc4eef10716c9dce798fedaaa0b4f7bd4b0a220214805e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:23:56 ---> job-cost.sh 10:23:56 lf-activate-venv: SKIPPING 10:23:56 INFO: No Stack... 10:23:56 INFO: Retrieving Pricing Info for: v3-standard-4 10:23:57 INFO: Archiving Costs [Pipeline] sh 10:23:58 + + cat /w/workspace/device-snmp-go/1/archives/cost.csv 10:23:58 cut -d, -f6 [Pipeline] lock 10:23:58 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-315-1-stack-cost] 10:23:58 Resource [jenkins-edgexfoundry-device-snmp-go-PR-315-1-stack-cost] did not exist. Created. 10:23:58 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-315-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:23:58 /w/workspace/device-snmp-go/1@tmp/durable-63c7e9c0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:23:59 + echo total: 0.10999999940395355 [Pipeline] stash 10:23:59 Warning: overwriting stash ‘stack-cost’ 10:23:59 Stashed 1 file(s) [Pipeline] } 10:23:59 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-315-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:23:59 $ docker stop --time=1 a8113cfadd17b938d8dc4eef10716c9dce798fedaaa0b4f7bd4b0a220214805e 10:24:01 $ docker rm -f --volumes a8113cfadd17b938d8dc4eef10716c9dce798fedaaa0b4f7bd4b0a220214805e [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 10:24:02 provisioning config files... 10:24:02 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-315@tmp/config13753184665704404533tmp [Pipeline] { [Pipeline] sh 10:24:02 + set +x 10:24:02 + curl -s https://codecov.io/bash 10:24:02 + bash -s -- 10:24:02 10:24:02 _____ _ 10:24:02 / ____| | | 10:24:02 | | ___ __| | ___ ___ _____ __ 10:24:02 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:24:02 | |___| (_) | (_| | __/ (_| (_) \ V / 10:24:02 \_____\___/ \__,_|\___|\___\___/ \_/ 10:24:02 Bash-1.0.6 10:24:02 10:24:02 10:24:02 ==> git version 2.25.1 found 10:24:02 ==> 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 10:24:02 Release-Date: 2020-01-08 10:24:02 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:24:02 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:24:02 ==> Jenkins CI detected. 10:24:02 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-315 10:24:02 project root: . 10:24:02 --> token set from env 10:24:02 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:24:02 ==> Running gcov in . (disable via -X gcov) 10:24:02 ==> Python coveragepy not found 10:24:02 ==> Searching for coverage reports in: 10:24:02 + . 10:24:02 -> Found 1 reports 10:24:02 ==> Detecting git/mercurial file structure 10:24:02 ==> Reading reports 10:24:02 + ./coverage.out bytes=8837 10:24:02 ==> Appending adjustments 10:24:02 https://docs.codecov.io/docs/fixing-reports 10:24:03 + Found adjustments 10:24:03 ==> Gzipping contents 10:24:03 4.0K /tmp/codecov.3MrPAp.gz 10:24:03 ==> Uploading reports 10:24:03 url: https://codecov.io 10:24:03 query: branch=PR-315&commit=c47c4ed6f33dd6b026481a957b2bee764cde5d0f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-315%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=315&job=&cmd_args= 10:24:03 -> Pinging Codecov 10:24:03 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-315&commit=c47c4ed6f33dd6b026481a957b2bee764cde5d0f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-315%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=315&job=&cmd_args= 10:24:03 -> Uploading to 10:24:03 https://storage.googleapis.com/codecov/v4/raw/2023-08-09/6C56EA5C29638FB4528AC87E60AF5AE0/c47c4ed6f33dd6b026481a957b2bee764cde5d0f/5d468d06-465e-4b94-82a3-09c657801048.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230809%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230809T102402Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=767debc91d0dd6e1c950eb9b3708a832d1aff5beca24d3547c4bf80d01495c06 10:24:03 % Total % Received % Xferd Average Speed Time Time Time Current 10:24:03 Dload Upload Total Spent Left Speed 10:24:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1604 0 0 100 1604 0 8101 --:--:-- --:--:-- --:--:-- 8060 100 1604 0 0 100 1604 0 8060 --:--:-- --:--:-- --:--:-- 8060 10:24:03 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/c47c4ed6f33dd6b026481a957b2bee764cde5d0f [Pipeline] } 10:24:03 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 10:24:05 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-315/archives ] 10:24:05 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-315/archives 10:24:05 total 16 10:24:05 drwxr-xr-x 3 root root 4096 Aug 9 10:13 . 10:24:05 drwxrwxr-x 10 jenkins jenkins 4096 Aug 9 10:13 .. 10:24:05 drwxr-xr-x 2 root root 4096 Aug 9 10:13 cost 10:24:05 -rw-r--r-- 1 root root 86 Aug 9 10:13 cost.csv 10:24:05 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-315/archives 10:24:05 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-315/archives 10:24:05 total 16 10:24:05 drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 10:13 . 10:24:05 drwxrwxr-x 10 jenkins jenkins 4096 Aug 9 10:13 .. 10:24:05 drwxr-xr-x 2 jenkins jenkins 4096 Aug 9 10:13 cost 10:24:05 -rw-r--r-- 1 jenkins jenkins 86 Aug 9 10:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:24:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:24:06 ---> package-listing.sh 10:24:06 ++ tr '[:upper:]' '[:lower:]' 10:24:06 ++ facter osfamily 10:24:06 + OS_FAMILY=debian 10:24:06 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-315 10:24:06 + START_PACKAGES=/tmp/packages_start.txt 10:24:06 + END_PACKAGES=/tmp/packages_end.txt 10:24:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:24:06 + PACKAGES=/tmp/packages_start.txt 10:24:06 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-315 ']' 10:24:06 + PACKAGES=/tmp/packages_end.txt 10:24:06 + case "${OS_FAMILY}" in 10:24:06 + dpkg -l 10:24:06 + grep '^ii' 10:24:06 + '[' -f /tmp/packages_start.txt ']' 10:24:06 + '[' -f /tmp/packages_end.txt ']' 10:24:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:24:06 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-315 ']' 10:24:06 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-315/archives/ 10:24:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-315/archives/ [Pipeline] echo 10:24:06 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-315/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:24:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:24:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:24:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:24:07 prd-ubuntu20.04-docker-8c-8g-3208 does not seem to be running inside a container 10:24:07 $ 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-315/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-315 -v /w/workspace/gexfoundry_device-snmp-go_PR-315:/w/workspace/gexfoundry_device-snmp-go_PR-315:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-315@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-315@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:24:07 $ docker top a04f1d0a6e835fd3fe42e0b256c2d01bd5f86e1ccbaaa750040a577d8f4953de -eo pid,comm [Pipeline] { [Pipeline] sh 10:24:08 + touch /tmp/pre-build-complete [Pipeline] sh 10:24:08 + mkdir -p /var/log/sysstat [Pipeline] sh 10:24:08 + ls /var/log/sa-host 10:24:08 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:24:09 provisioning config files... 10:24:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-315@tmp/config9220024120049878456tmp [Pipeline] { [Pipeline] echo 10:24:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:24:09 ---> create-netrc.sh [Pipeline] } 10:24:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:24:09 ---> python-tools-install.sh [Pipeline] echo 10:24:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:24:10 ---> sudo-logs.sh 10:24:10 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:24:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:24:10 ---> job-cost.sh 10:24:10 lf-activate-venv: SKIPPING 10:24:10 DEBUG: total: 0.2199999988079071 10:24:10 INFO: Retrieving Stack Cost... 10:24:10 INFO: Retrieving Pricing Info for: v3-standard-8 10:24:11 INFO: Archiving Costs [Pipeline] echo 10:24:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:24:11 ---> logs-deploy.sh 10:24:11 lf-activate-venv: SKIPPING 10:24:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-315/1 10:24:11 INFO: archiving workspace using pattern(s): 10:24:12 Archives upload complete. 10:24:12 INFO: archiving logs to Nexus