Pull request #289 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c3ae16284a852ece5ef2c51552053fabd1b09ae6+9516c9f86bfab3f780b93b970f8360439339a3f4 (4dbfa0ef1c665cfcd93de49aa4e8723e6ab915a1) 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-ssh4331600980865214495.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5540748167720520694.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh 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-289/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-289/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15445676245546818192.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-289/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17615029769209051534.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh4753881743164246348.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-289/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-289/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12404473492707761961.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9066 in /w/workspace/gexfoundry_device-snmp-go_PR-289 [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-289 # 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 Merging remotes/origin/main commit 9516c9f86bfab3f780b93b970f8360439339a3f4 into PR head commit c3ae16284a852ece5ef2c51552053fabd1b09ae6 Merge succeeded, producing c3ae16284a852ece5ef2c51552053fabd1b09ae6 Checking out Revision c3ae16284a852ece5ef2c51552053fabd1b09ae6 (PR-289) > 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/289/head:refs/remotes/origin/PR-289 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c3ae16284a852ece5ef2c51552053fabd1b09ae6 # 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 9516c9f86bfab3f780b93b970f8360439339a3f4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c3ae16284a852ece5ef2c51552053fabd1b09ae6 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:59:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:59:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:59:16 ========================================================= 05:59:16 EdgeX Global Pipelines Version Info 05:59:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:59:16 ------------------- 05:59:16 stable info: 05:59:16 ------------------- 05:59:16 Commited By: Bill Mahoney bill.mahoney@intel.com 05:59:16 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 05:59:16 Message: update stable to v1.0.248 05:59:17 ------------------- 05:59:17 experimental info: 05:59:17 ------------------- 05:59:17 Commited By: **** collab-it+edgex@linuxfoundation.org 05:59:17 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 05:59:17 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:59:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 05:59:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 05:59:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:59:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:59:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:59:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 05:59:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:59:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:59:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:59:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:59:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:59:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 05:59:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:59:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:59:19 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:59:19 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:59:19 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:59:19 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:59:19 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:59:19 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:59:19 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:59:19 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:59:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:59:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:59:19 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:59:19 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:59:19 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:59:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-289 [Pipeline] echo 05:59:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-289 [Pipeline] echo 05:59:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-289 [Pipeline] echo 05:59:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c3ae16284a852ece5ef2c51552053fabd1b09ae6 [Pipeline] echo 05:59:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c3ae162 [Pipeline] echo 05:59:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:59:20 provisioning config files... 05:59:20 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-289@tmp/config14597807149930857283tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:59:21 ---> docker-login.sh 05:59:21 nexus3.edgexfoundry.org:10001 05:59:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:21 Configure a credential helper to remove this warning. See 05:59:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:21 05:59:21 Login Succeeded 05:59:21 nexus3.edgexfoundry.org:10002 05:59:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:21 Configure a credential helper to remove this warning. See 05:59:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:21 05:59:21 Login Succeeded 05:59:21 nexus3.edgexfoundry.org:10003 05:59:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:21 Configure a credential helper to remove this warning. See 05:59:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:21 05:59:21 Login Succeeded 05:59:21 nexus3.edgexfoundry.org:10004 05:59:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:21 Configure a credential helper to remove this warning. See 05:59:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:21 05:59:21 Login Succeeded 05:59:21 docker.io 05:59:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:22 Configure a credential helper to remove this warning. See 05:59:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:22 05:59:22 Login Succeeded 05:59:22 ---> docker-login.sh ends [Pipeline] } 05:59:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:59:22 + git rev-list -1 --merges c3ae16284a852ece5ef2c51552053fabd1b09ae6~1..c3ae16284a852ece5ef2c51552053fabd1b09ae6 [Pipeline] echo 05:59:23 -----------> git rev-list -1 --merges c3ae16284a852ece5ef2c51552053fabd1b09ae6~1..c3ae16284a852ece5ef2c51552053fabd1b09ae6 c3ae16284a852ece5ef2c51552053fabd1b09ae6 [false] [Pipeline] sh 05:59:23 + git log --format=format:%s -1 c3ae16284a852ece5ef2c51552053fabd1b09ae6 [Pipeline] echo 05:59:23 ========================================================= 05:59:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:59:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:59:23 + git log --format=format:%s -1 c3ae16284a852ece5ef2c51552053fabd1b09ae6 [Pipeline] echo 05:59:23 [semverPrep] GIT_COMMIT: c3ae16284a852ece5ef2c51552053fabd1b09ae6, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 05:59:23 [semverPrep] This is not a build commit. [Pipeline] sh 05:59:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:59:24 + grep -v github /etc/ssh/ssh_known_hosts 05:59:24 + [ -e /tmp/ssh_known_hosts ] 05:59:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:59:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:59:24 + sudo tee -a /etc/ssh/ssh_known_hosts 05:59:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:59:25 05:59:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:59:25 0.1.4: Pulling from edgex-devops/py-git-semver 05:59:25 b85a868b505f: Pulling fs layer 05:59:25 e2be974225ed: Pulling fs layer 05:59:25 339a4e72a1f5: Pulling fs layer 05:59:25 988bab9f4d93: Pulling fs layer 05:59:25 1469e6f7b9e6: Pulling fs layer 05:59:25 eaf3925da568: Pulling fs layer 05:59:25 988bab9f4d93: Waiting 05:59:25 1469e6f7b9e6: Waiting 05:59:25 bab4dde63d76: Pulling fs layer 05:59:25 eaf3925da568: Waiting 05:59:25 bde34c3a00c8: Pulling fs layer 05:59:25 b352a97aabf1: Pulling fs layer 05:59:25 4872d77fe225: Pulling fs layer 05:59:25 5851b861e8e6: Pulling fs layer 05:59:25 4872d77fe225: Waiting 05:59:25 b352a97aabf1: Waiting 05:59:25 bab4dde63d76: Waiting 05:59:25 bde34c3a00c8: Waiting 05:59:25 e2be974225ed: Verifying Checksum 05:59:25 e2be974225ed: Download complete 05:59:25 988bab9f4d93: Verifying Checksum 05:59:25 988bab9f4d93: Download complete 05:59:25 1469e6f7b9e6: Verifying Checksum 05:59:25 1469e6f7b9e6: Download complete 05:59:26 eaf3925da568: Download complete 05:59:26 339a4e72a1f5: Verifying Checksum 05:59:26 339a4e72a1f5: Download complete 05:59:26 bde34c3a00c8: Verifying Checksum 05:59:26 bde34c3a00c8: Download complete 05:59:26 b352a97aabf1: Download complete 05:59:26 b85a868b505f: Verifying Checksum 05:59:26 b85a868b505f: Download complete 05:59:26 4872d77fe225: Download complete 05:59:26 5851b861e8e6: Verifying Checksum 05:59:26 5851b861e8e6: Download complete 05:59:26 bab4dde63d76: Verifying Checksum 05:59:26 bab4dde63d76: Download complete 05:59:27 b85a868b505f: Pull complete 05:59:27 e2be974225ed: Pull complete 05:59:28 339a4e72a1f5: Pull complete 05:59:28 988bab9f4d93: Pull complete 05:59:28 1469e6f7b9e6: Pull complete 05:59:28 eaf3925da568: Pull complete 05:59:30 bab4dde63d76: Pull complete 05:59:30 bde34c3a00c8: Pull complete 05:59:30 b352a97aabf1: Pull complete 05:59:30 4872d77fe225: Pull complete 05:59:30 5851b861e8e6: Pull complete 05:59:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:59:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:59:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:59:31 prd-ubuntu20.04-docker-8c-8g-9066 does not seem to be running inside a container 05:59:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-289 -v /w/workspace/gexfoundry_device-snmp-go_PR-289:/w/workspace/gexfoundry_device-snmp-go_PR-289:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-289@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-289@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:59:32 $ docker top ee736ce889d725e39b506b15c8b07d10366225f01bba69b9f594f9596e03c71a -eo pid,comm 05:59:32 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:59:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:59:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:59:32 [ssh-agent] Looking for ssh-agent implementation... 05:59:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:59:32 $ docker exec ee736ce889d725e39b506b15c8b07d10366225f01bba69b9f594f9596e03c71a ssh-agent 05:59:32 SSH_AUTH_SOCK=/tmp/ssh-DGr4jgQY4UVu/agent.33 05:59:32 SSH_AGENT_PID=39 05:59:32 Running ssh-add (command line suppressed) 05:59:32 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-289@tmp/private_key_5027166931044907214.key (/w/workspace/gexfoundry_device-snmp-go_PR-289@tmp/private_key_5027166931044907214.key) 05:59:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:59:33 + git tag --points-at HEAD [Pipeline] } 05:59:33 $ docker exec --env ******** --env ******** ee736ce889d725e39b506b15c8b07d10366225f01bba69b9f594f9596e03c71a ssh-agent -k 05:59:33 unset SSH_AUTH_SOCK; 05:59:33 unset SSH_AGENT_PID; 05:59:33 echo Agent pid 39 killed; 05:59:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:59:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:59:33 [ssh-agent] Looking for ssh-agent implementation... 05:59:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:59:33 $ docker exec ee736ce889d725e39b506b15c8b07d10366225f01bba69b9f594f9596e03c71a ssh-agent 05:59:33 SSH_AUTH_SOCK=/tmp/ssh-RGJ4jLUgV8wH/agent.71 05:59:33 SSH_AGENT_PID=77 05:59:33 Running ssh-add (command line suppressed) 05:59:33 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-289@tmp/private_key_13260609962282579312.key (/w/workspace/gexfoundry_device-snmp-go_PR-289@tmp/private_key_13260609962282579312.key) 05:59:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:59:34 + git semver init 05:59:34 2023-04-19 05:59:34,505 [run_init] DEBUG init version:0.0.0 force:False 05:59:34 2023-04-19 05:59:34,505 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-289/.semver 05:59:34 2023-04-19 05:59:34,506 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-289/.semver 05:59:34 2023-04-19 05:59:34,506 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-289/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-289, universal_newlines=False, shell=None, istream=None) 05:59:35 2023-04-19 05:59:35,257 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-289/.git/info/exclude 05:59:35 2023-04-19 05:59:35,257 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-289/.semver/PR-289 with force:False 05:59:35 2023-04-19 05:59:35,258 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-289/.semver/PR-289 05:59:35 2023-04-19 05:59:35,261 [execute] INFO git cat-file --batch-check 05:59:35 2023-04-19 05:59:35,261 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-289/.semver, universal_newlines=False, shell=None, istream=) 05:59:35 2023-04-19 05:59:35,267 [execute] INFO git cat-file --batch 05:59:35 2023-04-19 05:59:35,268 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-289/.semver, universal_newlines=False, shell=None, istream=) 05:59:35 2023-04-19 05:59:35,273 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-289/.semver/PR-289 05:59:35 0.0.0 [Pipeline] } 05:59:35 $ docker exec --env ******** --env ******** ee736ce889d725e39b506b15c8b07d10366225f01bba69b9f594f9596e03c71a ssh-agent -k 05:59:35 unset SSH_AUTH_SOCK; 05:59:35 unset SSH_AGENT_PID; 05:59:35 echo Agent pid 77 killed; 05:59:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:59:36 + git semver [Pipeline] } 05:59:36 $ docker stop --time=1 ee736ce889d725e39b506b15c8b07d10366225f01bba69b9f594f9596e03c71a 05:59:37 $ docker rm -f --volumes ee736ce889d725e39b506b15c8b07d10366225f01bba69b9f594f9596e03c71a [Pipeline] // withDockerContainer [Pipeline] sh 05:59:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:59:38 Stashed 1 file(s) [Pipeline] echo 05:59:38 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:59:39 provisioning config files... 05:59:39 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-289@tmp/config543437461394677548tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:59:40 ---> docker-login.sh 05:59:40 nexus3.edgexfoundry.org:10001 05:59:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:40 Configure a credential helper to remove this warning. See 05:59:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:40 05:59:40 Login Succeeded 05:59:40 nexus3.edgexfoundry.org:10002 05:59:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:40 Configure a credential helper to remove this warning. See 05:59:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:40 05:59:40 Login Succeeded 05:59:40 nexus3.edgexfoundry.org:10003 05:59:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:40 Configure a credential helper to remove this warning. See 05:59:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:40 05:59:40 Login Succeeded 05:59:40 nexus3.edgexfoundry.org:10004 05:59:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:40 Configure a credential helper to remove this warning. See 05:59:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:40 05:59:40 Login Succeeded 05:59:40 docker.io 05:59:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:40 Configure a credential helper to remove this warning. See 05:59:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:40 05:59:40 Login Succeeded 05:59:40 ---> docker-login.sh ends [Pipeline] } 05:59:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:59:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:59:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:59:41 ========================================================= 05:59:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 05:59:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59: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 . 05:59:42 Sending build context to Docker daemon 5.79MB 05:59:42 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 05:59:42 Step 2/12 : FROM ${BASE} AS builder 05:59:42 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 05:59:42 63b65145d645: Pulling fs layer 05:59:42 a2d21d5440eb: Pulling fs layer 05:59:42 935e6c44a52c: Pulling fs layer 05:59:42 94cc34f8dd06: Pulling fs layer 05:59:42 30dea6a524f1: Pulling fs layer 05:59:42 a2aff8979fd8: Pulling fs layer 05:59:42 6808be2612f2: Pulling fs layer 05:59:42 f25807f1079a: Pulling fs layer 05:59:42 30dea6a524f1: Waiting 05:59:42 f25807f1079a: Waiting 05:59:42 a2aff8979fd8: Waiting 05:59:42 6808be2612f2: Waiting 05:59:42 94cc34f8dd06: Waiting 05:59:42 a2d21d5440eb: Download complete 05:59:42 94cc34f8dd06: Verifying Checksum 05:59:42 94cc34f8dd06: Download complete 05:59:42 30dea6a524f1: Download complete 05:59:42 63b65145d645: Verifying Checksum 05:59:42 63b65145d645: Download complete 05:59:42 63b65145d645: Pull complete 05:59:42 a2aff8979fd8: Verifying Checksum 05:59:42 a2aff8979fd8: Download complete 05:59:42 a2d21d5440eb: Pull complete 05:59:44 935e6c44a52c: Verifying Checksum 05:59:44 935e6c44a52c: Download complete 05:59:44 f25807f1079a: Verifying Checksum 05:59:44 f25807f1079a: Download complete 05:59:44 6808be2612f2: Verifying Checksum 05:59:44 6808be2612f2: Download complete 05:59:47 935e6c44a52c: Pull complete 05:59:47 94cc34f8dd06: Pull complete 05:59:47 30dea6a524f1: Pull complete 05:59:47 a2aff8979fd8: Pull complete 05:59:49 6808be2612f2: Pull complete 05:59:50 f25807f1079a: Pull complete 05:59:50 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 05:59:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 05:59:50 ---> 3b553350e43f 05:59:50 Step 3/12 : ARG ADD_BUILD_TAGS="" 05:59:52 ---> Running in 65772dcda64e 05:59:52 Removing intermediate container 65772dcda64e 05:59:52 ---> e3a966871633 05:59:52 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:59:52 ---> Running in 695ecf8b75d8 05:59:52 Removing intermediate container 695ecf8b75d8 05:59:52 ---> 1ab0d6b48ff9 05:59:52 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:59:52 ---> Running in 5735ce2dd117 05:59:52 Removing intermediate container 5735ce2dd117 05:59:52 ---> b85d3fddc08a 05:59:52 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 05:59:52 ---> Running in 116fe69f001d 05:59:52 Removing intermediate container 116fe69f001d 05:59:52 ---> 82530284a62f 05:59:52 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:59:52 ---> Running in 9c9375ae197a 05:59:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:59:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:59:53 (1/4) Installing openssh-keygen (9.1_p1-r2) 05:59:53 (2/4) Installing libedit (20221030.3.1-r0) 05:59:53 (3/4) Installing openssh-client-common (9.1_p1-r2) 05:59:53 (4/4) Installing openssh-client-default (9.1_p1-r2) 05:59:53 Executing busybox-1.35.0-r29.trigger 05:59:53 OK: 269 MiB in 57 packages 05:59:53 Removing intermediate container 9c9375ae197a 05:59:53 ---> 0047cf78644f 05:59:53 Step 8/12 : WORKDIR /device-snmp-go 05:59:53 ---> Running in 155093ffd45b 05:59:53 Removing intermediate container 155093ffd45b 05:59:53 ---> 494abc8ccf9b 05:59:53 Step 9/12 : COPY go.mod vendor* ./ 05:59:53 ---> 6cf8ee126af1 05:59:53 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:59:53 ---> Running in 4074c49a86b8 05:59:54 Still waiting to schedule task 05:59:54 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:00:32 Removing intermediate container 4074c49a86b8 06:00:32 ---> ba0f3816fa64 06:00:32 Step 11/12 : COPY . . 06:00:32 ---> 8755ac896206 06:00:32 Step 12/12 : RUN ${MAKE} 06:00:32 ---> Running in 3900d1cf71a7 06:00:32 noop 06:00:32 Removing intermediate container 3900d1cf71a7 06:00:32 ---> 92e9b535c294 06:00:32 Successfully built 92e9b535c294 06:00:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:33 + docker inspect -f . ci-base-image-x86_64 06:00:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:00:33 prd-ubuntu20.04-docker-8c-8g-9066 does not seem to be running inside a container 06:00:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-289 -v /w/workspace/gexfoundry_device-snmp-go_PR-289:/w/workspace/gexfoundry_device-snmp-go_PR-289:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-289@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-289@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:00:33 $ docker top d73dffb171a5874c898b5a5bf67c1c5ca8b0b31c2542339a31e9897d5560de6e -eo pid,comm [Pipeline] { [Pipeline] sh 06:00:34 + go version 06:00:34 go version go1.20.2 linux/amd64 [Pipeline] } 06:00:34 $ docker stop --time=1 d73dffb171a5874c898b5a5bf67c1c5ca8b0b31c2542339a31e9897d5560de6e 06:00:35 $ docker rm -f --volumes d73dffb171a5874c898b5a5bf67c1c5ca8b0b31c2542339a31e9897d5560de6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:36 + docker inspect -f . ci-base-image-x86_64 06:00:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:00:36 prd-ubuntu20.04-docker-8c-8g-9066 does not seem to be running inside a container 06:00:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-snmp-go_PR-289 -v /w/workspace/gexfoundry_device-snmp-go_PR-289:/w/workspace/gexfoundry_device-snmp-go_PR-289:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-289@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-289@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:00:37 $ docker top 567b1a735604d6e9bdc41fee60e6ceb8a5a8fb069d60c9abca3ca35c71d21095 -eo pid,comm [Pipeline] { [Pipeline] sh 06:00:37 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-289 [Pipeline] fileExists [Pipeline] sh 06:00:38 + make test 06:00:38 go test ./... -coverprofile=coverage.out 06:00:42 ? github.com/edgexfoundry/device-snmp-go [no test files] 06:00:52 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 06:00:52 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.009s coverage: 0.0% of statements 06:00:58 go vet ./... 06:01:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:01:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:01:02 ./bin/test-attribution-txt.sh [Pipeline] echo 06:01:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:01:02 $ docker stop --time=1 567b1a735604d6e9bdc41fee60e6ceb8a5a8fb069d60c9abca3ca35c71d21095 06:01:04 $ docker rm -f --volumes 567b1a735604d6e9bdc41fee60e6ceb8a5a8fb069d60c9abca3ca35c71d21095 [Pipeline] // withDockerContainer [Pipeline] sh 06:01:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:01:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:01:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:01:06 + ls -al . 06:01:06 total 172 06:01:06 drwxrwxr-x 9 jenkins jenkins 4096 Apr 19 06:00 . 06:01:06 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 05:59 .. 06:01:06 -rw-rw-r-- 1 jenkins jenkins 6 Apr 19 05:59 .dockerignore 06:01:06 drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 05:59 .git 06:01:06 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 05:59 .github 06:01:06 -rw-rw-r-- 1 jenkins jenkins 328 Apr 19 05:59 .gitignore 06:01:06 -rw-rw-r-- 1 jenkins jenkins 41 Apr 19 05:59 .golangci.yml 06:01:06 drwxr-xr-x 3 jenkins jenkins 4096 Apr 19 05:59 .semver 06:01:06 -rw-rw-r-- 1 jenkins jenkins 9056 Apr 19 05:59 Attribution.txt 06:01:06 -rw-rw-r-- 1 jenkins jenkins 8355 Apr 19 05:59 CHANGELOG.md 06:01:06 -rw-rw-r-- 1 jenkins jenkins 1423 Apr 19 05:59 Dockerfile 06:01:06 -rw-rw-r-- 1 jenkins jenkins 677 Apr 19 05:59 GOVERNANCE.md 06:01:06 -rw-rw-r-- 1 jenkins jenkins 656 Apr 19 05:59 Jenkinsfile 06:01:06 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 19 05:59 LICENSE 06:01:06 -rw-rw-r-- 1 jenkins jenkins 2114 Apr 19 05:59 Makefile 06:01:06 -rw-rw-r-- 1 jenkins jenkins 620 Apr 19 05:59 OWNERS.md 06:01:06 -rw-rw-r-- 1 jenkins jenkins 10054 Apr 19 05:59 README.md 06:01:06 -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 05:59 VERSION 06:01:06 drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 05:59 bin 06:01:06 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 05:59 cmd 06:01:06 -rw-r--r-- 1 jenkins jenkins 8837 Apr 19 06:00 coverage.out 06:01:06 -rw-rw-r-- 1 jenkins jenkins 3283 Apr 19 05:59 go.mod 06:01:06 -rw-rw-r-- 1 jenkins jenkins 31441 Apr 19 05:59 go.sum 06:01:06 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 05:59 internal 06:01:06 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 05:59 snap 06:01:06 -rw-rw-r-- 1 jenkins jenkins 228 Apr 19 05:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:06 + 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=c3ae16284a852ece5ef2c51552053fabd1b09ae6 --label arch=amd64 --label version=0.0.0 . 06:01:06 Sending build context to Docker daemon 5.8MB 06:01:06 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 06:01:06 Step 2/24 : FROM ${BASE} AS builder 06:01:06 ---> 92e9b535c294 06:01:06 Step 3/24 : ARG ADD_BUILD_TAGS="" 06:01:06 ---> Running in 7adcfe8447ba 06:01:07 Removing intermediate container 7adcfe8447ba 06:01:07 ---> 7f12293d4953 06:01:07 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:01:07 ---> Running in 8489054f2970 06:01:07 Removing intermediate container 8489054f2970 06:01:07 ---> ae1754c6b738 06:01:07 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:01:07 ---> Running in 4688d1cc0238 06:01:07 Removing intermediate container 4688d1cc0238 06:01:07 ---> 6b2b19128d4f 06:01:07 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 06:01:07 ---> Running in 63dc2fd47e6e 06:01:07 Removing intermediate container 63dc2fd47e6e 06:01:07 ---> 75fea2d8f459 06:01:07 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:01:07 ---> Running in efdf42f32aad 06:01:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:01:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:01:08 OK: 269 MiB in 57 packages 06:01:08 Removing intermediate container efdf42f32aad 06:01:08 ---> 438b2577632d 06:01:08 Step 8/24 : WORKDIR /device-snmp-go 06:01:08 ---> Running in fcf2ef2a2b72 06:01:08 Removing intermediate container fcf2ef2a2b72 06:01:08 ---> 5e0141b36281 06:01:08 Step 9/24 : COPY go.mod vendor* ./ 06:01:08 ---> 1ce05c8ec856 06:01:08 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:01:08 ---> Running in 6ab0b28bd98f 06:01:09 Removing intermediate container 6ab0b28bd98f 06:01:09 ---> b0806496c07a 06:01:09 Step 11/24 : COPY . . 06:01:09 ---> 612d2aebd233 06:01:09 Step 12/24 : RUN ${MAKE} 06:01:09 ---> Running in 82525f71b189 06:01:09 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 06:01:28 Removing intermediate container 82525f71b189 06:01:28 ---> 5537151062b0 06:01:28 Step 13/24 : FROM alpine:3.17 06:01:28 3.17: Pulling from library/alpine 06:01:28 f56be85fc22e: Pulling fs layer 06:01:28 f56be85fc22e: Verifying Checksum 06:01:28 f56be85fc22e: Download complete 06:01:28 f56be85fc22e: Pull complete 06:01:28 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:01:28 Status: Downloaded newer image for alpine:3.17 06:01:28 ---> 9ed4aefc74f6 06:01:28 Step 14/24 : RUN apk add --update --no-cache dumb-init 06:01:28 ---> Running in f47851c26221 06:01:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:01:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:01:28 (1/1) Installing dumb-init (1.2.5-r2) 06:01:28 Executing busybox-1.35.0-r29.trigger 06:01:28 OK: 7 MiB in 16 packages 06:01:28 Removing intermediate container f47851c26221 06:01:28 ---> 5d169994f74e 06:01:28 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 06:01:28 ---> 85c3e6602952 06:01:28 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 06:01:29 ---> 900a4273e08d 06:01:29 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 06:01:29 ---> e1ff49e82d50 06:01:29 Step 18/24 : EXPOSE 59993 06:01:29 ---> Running in 9abfcd6409c7 06:01:29 Removing intermediate container 9abfcd6409c7 06:01:29 ---> 15e6d62ea694 06:01:29 Step 19/24 : EXPOSE 161 06:01:29 ---> Running in 22fd58c3c9ce 06:01:29 Removing intermediate container 22fd58c3c9ce 06:01:29 ---> 7d1cf8647429 06:01:29 Step 20/24 : ENTRYPOINT ["/device-snmp"] 06:01:29 ---> Running in 179f410d3b25 06:01:29 Removing intermediate container 179f410d3b25 06:01:29 ---> 93ea75aaee06 06:01:29 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 06:01:29 ---> Running in 191fc8493300 06:01:29 Removing intermediate container 191fc8493300 06:01:29 ---> 9be99d80c214 06:01:29 Step 22/24 : LABEL arch=amd64 06:01:29 ---> Running in 389a19c2426d 06:01:29 Removing intermediate container 389a19c2426d 06:01:29 ---> bc2bcedcba76 06:01:29 Step 23/24 : LABEL git_sha=c3ae16284a852ece5ef2c51552053fabd1b09ae6 06:01:29 ---> Running in 56cad1656efd 06:01:29 Removing intermediate container 56cad1656efd 06:01:29 ---> 1db8fc70192f 06:01:29 Step 24/24 : LABEL version=0.0.0 06:01:29 ---> Running in 190a5b3923fb 06:01:30 Removing intermediate container 190a5b3923fb 06:01:30 ---> 865e931cb768 06:01:30 [Warning] One or more build-args [ARCH] were not consumed 06:01:30 Successfully built 865e931cb768 06:01:30 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:01:31 06:01:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:01:31 latest: Pulling from edgex-lftools-log-publisher 06:01:31 5eb5b503b376: Pulling fs layer 06:01:31 5c69ac0246d0: Pulling fs layer 06:01:31 ec43610c2a17: Pulling fs layer 06:01:31 3a2ae6a8a46f: Pulling fs layer 06:01:31 33b1e0a273af: Pulling fs layer 06:01:31 5d3b04190fa2: Pulling fs layer 06:01:31 2f39f015ded8: Pulling fs layer 06:01:31 5d3b04190fa2: Waiting 06:01:31 2f39f015ded8: Waiting 06:01:31 3a2ae6a8a46f: Waiting 06:01:31 5c69ac0246d0: Download complete 06:01:31 3a2ae6a8a46f: Verifying Checksum 06:01:31 3a2ae6a8a46f: Download complete 06:01:32 ec43610c2a17: Verifying Checksum 06:01:32 ec43610c2a17: Download complete 06:01:32 33b1e0a273af: Verifying Checksum 06:01:32 33b1e0a273af: Download complete 06:01:32 5d3b04190fa2: Verifying Checksum 06:01:32 5d3b04190fa2: Download complete 06:01:32 5eb5b503b376: Verifying Checksum 06:01:32 5eb5b503b376: Download complete 06:01:33 5eb5b503b376: Pull complete 06:01:33 2f39f015ded8: Download complete 06:01:33 5c69ac0246d0: Pull complete 06:01:34 ec43610c2a17: Pull complete 06:01:34 3a2ae6a8a46f: Pull complete 06:01:34 33b1e0a273af: Pull complete 06:01:34 5d3b04190fa2: Pull complete 06:01:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9067 in /w/workspace/gexfoundry_device-snmp-go_PR-289 [Pipeline] { [Pipeline] ws 06:01:35 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 06:01:35 Selected Git installation does not exist. Using Default 06:01:35 The recommended git tool is: NONE 06:01:38 2f39f015ded8: Pull complete 06:01:38 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:01:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:01:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:01:38 prd-ubuntu20.04-docker-8c-8g-9066 does not seem to be running inside a container 06:01:38 $ 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-289 -v /w/workspace/gexfoundry_device-snmp-go_PR-289:/w/workspace/gexfoundry_device-snmp-go_PR-289:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-289@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-289@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:01:40 $ docker top aca2292a348747d4459f53fdc27f74e8b068b6a0b1ef2d19683192063d862d82 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:01:41 ---> job-cost.sh 06:01:41 lf-activate-venv: SKIPPING 06:01:41 INFO: No Stack... 06:01:41 INFO: Retrieving Pricing Info for: v3-standard-8 06:01:41 using credential edgex-jenkins-ssh 06:01:41 Cloning the remote Git repository 06:01:41 INFO: Archiving Costs 06:01:41 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [Pipeline] sh 06:01:42 + cat /w/workspace/gexfoundry_device-snmp-go_PR-289/archives/cost.csv 06:01:42 + cut -d, -f6 [Pipeline] lock 06:01:42 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-289-1-stack-cost] 06:01:42 Resource [jenkins-edgexfoundry-device-snmp-go-PR-289-1-stack-cost] did not exist. Created. 06:01:42 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-289-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:01:42 + echo total: 0.2199999988079071 [Pipeline] stash 06:01:42 Stashed 1 file(s) [Pipeline] } 06:01:42 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-289-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:01:42 $ docker stop --time=1 aca2292a348747d4459f53fdc27f74e8b068b6a0b1ef2d19683192063d862d82 06:01:41 > git init /w/workspace/device-snmp-go/1 # timeout=10 06:01:42 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 06:01:42 > git --version # timeout=10 06:01:42 > git --version # 'git version 2.25.1' 06:01:42 using GIT_SSH to set credentials SSH Credentials for GitHub 06:01:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:01:44 $ docker rm -f --volumes aca2292a348747d4459f53fdc27f74e8b068b6a0b1ef2d19683192063d862d82 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } 06:01:43 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 06:01:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:01:44 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [Pipeline] // stage [Pipeline] } 06:01:45 Merging remotes/origin/main commit 9516c9f86bfab3f780b93b970f8360439339a3f4 into PR head commit c3ae16284a852ece5ef2c51552053fabd1b09ae6 06:01:45 Merge succeeded, producing c3ae16284a852ece5ef2c51552053fabd1b09ae6 06:01:45 Checking out Revision c3ae16284a852ece5ef2c51552053fabd1b09ae6 (PR-289) 06:01:44 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 06:01:44 using GIT_SSH to set credentials SSH Credentials for GitHub 06:01:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/289/head:refs/remotes/origin/PR-289 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:01:45 > git config core.sparsecheckout # timeout=10 06:01:45 > git checkout -f c3ae16284a852ece5ef2c51552053fabd1b09ae6 # timeout=10 06:01:45 > git remote # timeout=10 06:01:45 > git config --get remote.origin.url # timeout=10 06:01:45 using GIT_SSH to set credentials SSH Credentials for GitHub 06:01:45 > git merge 9516c9f86bfab3f780b93b970f8360439339a3f4 # timeout=10 06:01:45 > git rev-parse HEAD^{commit} # timeout=10 06:01:45 > git config core.sparsecheckout # timeout=10 06:01:45 > git checkout -f c3ae16284a852ece5ef2c51552053fabd1b09ae6 # timeout=10 06:01:45 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 06:01:45 > git --version # timeout=10 06:01:45 > git --version # 'git version 2.25.1' 06:01:45 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:01:47 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:01:47 % Total % Received % Xferd Average Speed Time Time Time Current 06:01:47 Dload Upload Total Spent Left Speed 06:01:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95872 0 --:--:-- --:--:-- --:--:-- 95872 [Pipeline] sh 06:01:48 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:01:48 + sudo tee /etc/docker/daemon.new 06:01:48 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:01:48 { 06:01:48 "registry-mirrors": [ 06:01:48 "https://nexus3.edgexfoundry.org:10001" 06:01:48 ], 06:01:48 "bip": "10.250.0.254/24", 06:01:48 "hosts": [ 06:01:48 "tcp://0.0.0.0:5555", 06:01:48 "unix:///var/run/docker.sock" 06:01:48 ], 06:01:48 "mtu": 1458, 06:01:48 "selinux-enabled": true, 06:01:48 "seccomp-profile": "/etc/docker/seccomp.json" 06:01:48 } [Pipeline] sh 06:01:49 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:01:49 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:02:07 provisioning config files... 06:02:07 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config13728936931451179003tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:02:08 ---> docker-login.sh 06:02:08 nexus3.edgexfoundry.org:10001 06:02:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:08 Configure a credential helper to remove this warning. See 06:02:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:08 06:02:08 Login Succeeded 06:02:08 nexus3.edgexfoundry.org:10002 06:02:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:09 Configure a credential helper to remove this warning. See 06:02:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:09 06:02:09 Login Succeeded 06:02:09 nexus3.edgexfoundry.org:10003 06:02:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:09 Configure a credential helper to remove this warning. See 06:02:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:09 06:02:09 Login Succeeded 06:02:09 nexus3.edgexfoundry.org:10004 06:02:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:10 Configure a credential helper to remove this warning. See 06:02:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:10 06:02:10 Login Succeeded 06:02:10 docker.io 06:02:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:10 Configure a credential helper to remove this warning. See 06:02:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:10 06:02:10 Login Succeeded 06:02:10 ---> docker-login.sh ends [Pipeline] } 06:02:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:02:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:02:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:02:11 ========================================================= 06:02:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 06:02:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:11 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 06:02:14 Sending build context to Docker daemon 2.995MB 06:02:14 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 06:02:14 Step 2/12 : FROM ${BASE} AS builder 06:02:14 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:02:14 af6eaf76a39c: Pulling fs layer 06:02:14 55522c791124: Pulling fs layer 06:02:14 ce5c4a1c91eb: Pulling fs layer 06:02:14 169dfbe0d373: Pulling fs layer 06:02:14 e1ff8fa3b103: Pulling fs layer 06:02:14 52ebb69f0ebf: Pulling fs layer 06:02:14 5abe8eddf0d5: Pulling fs layer 06:02:14 169dfbe0d373: Waiting 06:02:14 e1ff8fa3b103: Waiting 06:02:14 52ebb69f0ebf: Waiting 06:02:14 5abe8eddf0d5: Waiting 06:02:14 55522c791124: Verifying Checksum 06:02:14 55522c791124: Download complete 06:02:14 169dfbe0d373: Verifying Checksum 06:02:14 169dfbe0d373: Download complete 06:02:14 e1ff8fa3b103: Download complete 06:02:14 af6eaf76a39c: Verifying Checksum 06:02:15 af6eaf76a39c: Pull complete 06:02:16 55522c791124: Pull complete 06:02:16 5abe8eddf0d5: Verifying Checksum 06:02:16 5abe8eddf0d5: Download complete 06:02:17 ce5c4a1c91eb: Download complete 06:02:17 52ebb69f0ebf: Verifying Checksum 06:02:17 52ebb69f0ebf: Download complete 06:02:30 ce5c4a1c91eb: Pull complete 06:02:30 169dfbe0d373: Pull complete 06:02:30 e1ff8fa3b103: Pull complete 06:02:35 52ebb69f0ebf: Pull complete 06:02:38 5abe8eddf0d5: Pull complete 06:02:38 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 06:02:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 06:02:38 ---> 6cb57ee374ae 06:02:38 Step 3/12 : ARG ADD_BUILD_TAGS="" 06:02:39 ---> Running in d1b96e4d325b 06:02:39 Removing intermediate container d1b96e4d325b 06:02:39 ---> 896ab5310f75 06:02:39 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:02:39 ---> Running in ae140bda38b9 06:02:40 Removing intermediate container ae140bda38b9 06:02:40 ---> ed3a408a0a39 06:02:40 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:02:40 ---> Running in 0d541a3fc3cc 06:02:40 Removing intermediate container 0d541a3fc3cc 06:02:40 ---> 397ae6bb1fac 06:02:40 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 06:02:40 ---> Running in 8c4b9fae8246 06:02:40 Removing intermediate container 8c4b9fae8246 06:02:40 ---> 74449b13af5e 06:02:40 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:02:40 ---> Running in 07fe37f868d3 06:02:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:02:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:02:43 (1/4) Installing openssh-keygen (9.1_p1-r2) 06:02:43 (2/4) Installing libedit (20221030.3.1-r0) 06:02:43 (3/4) Installing openssh-client-common (9.1_p1-r2) 06:02:43 (4/4) Installing openssh-client-default (9.1_p1-r2) 06:02:43 Executing busybox-1.35.0-r29.trigger 06:02:43 OK: 268 MiB in 57 packages 06:02:44 Removing intermediate container 07fe37f868d3 06:02:44 ---> 149068940d2b 06:02:44 Step 8/12 : WORKDIR /device-snmp-go 06:02:44 ---> Running in 62875de9b710 06:02:44 Removing intermediate container 62875de9b710 06:02:44 ---> 6e05e0093d90 06:02:44 Step 9/12 : COPY go.mod vendor* ./ 06:02:45 ---> 6011565e0b6b 06:02:45 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:02:45 ---> Running in 6b120fdf2a0d 06:03:53 Removing intermediate container 6b120fdf2a0d 06:03:53 ---> cc9f9fc8fccb 06:03:53 Step 11/12 : COPY . . 06:03:53 ---> cd3719802131 06:03:53 Step 12/12 : RUN ${MAKE} 06:03:53 ---> Running in 7bd06891607c 06:03:53 noop 06:03:53 Removing intermediate container 7bd06891607c 06:03:53 ---> 6f922f08ea94 06:03:53 Successfully built 6f922f08ea94 06:03:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:53 + docker inspect -f . ci-base-image-arm64 06:03:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:03:54 prd-ubuntu20.04-docker-arm64-4c-16g-9067 does not seem to be running inside a container 06:03:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:03:55 $ docker top 602b1de0baef8a7cdf979a0c86244030fc4eb35c1aecdc2137bc031fca2efec6 -eo pid,comm [Pipeline] { [Pipeline] sh 06:03:56 + go version 06:03:56 go version go1.20.2 linux/arm64 [Pipeline] } 06:03:56 $ docker stop --time=1 602b1de0baef8a7cdf979a0c86244030fc4eb35c1aecdc2137bc031fca2efec6 06:03:58 $ docker rm -f --volumes 602b1de0baef8a7cdf979a0c86244030fc4eb35c1aecdc2137bc031fca2efec6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:59 + docker inspect -f . ci-base-image-arm64 06:03:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:03:59 prd-ubuntu20.04-docker-arm64-4c-16g-9067 does not seem to be running inside a container 06:03:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:04:01 $ docker top 61a726d8f0f9b7dcd42d7c912a2332e0ab8894334cc9bc5dc066142b35d12c44 -eo pid,comm [Pipeline] { [Pipeline] sh 06:04:01 + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh 06:04:02 + make test 06:04:02 go test ./... -coverprofile=coverage.out 06:04:34 ? github.com/edgexfoundry/device-snmp-go [no test files] 06:06:26 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 06:06:26 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.048s coverage: 0.0% of statements 06:06:26 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:06:26 go vet ./... 06:06:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:06:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:06:41 ./bin/test-attribution-txt.sh [Pipeline] echo 06:06:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:06:41 $ docker stop --time=1 61a726d8f0f9b7dcd42d7c912a2332e0ab8894334cc9bc5dc066142b35d12c44 06:06:43 $ docker rm -f --volumes 61a726d8f0f9b7dcd42d7c912a2332e0ab8894334cc9bc5dc066142b35d12c44 [Pipeline] // withDockerContainer [Pipeline] sh 06:06:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:06:45 Warning: overwriting stash ‘coverage-report’ 06:06:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:06:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:06:46 + ls -al . 06:06:46 total 168 06:06:46 drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 06:04 . 06:06:46 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 06:01 .. 06:06:46 -rw-rw-r-- 1 jenkins jenkins 6 Apr 19 06:01 .dockerignore 06:06:46 drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 06:01 .git 06:06:46 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 06:01 .github 06:06:46 -rw-rw-r-- 1 jenkins jenkins 328 Apr 19 06:01 .gitignore 06:06:46 -rw-rw-r-- 1 jenkins jenkins 41 Apr 19 06:01 .golangci.yml 06:06:46 -rw-rw-r-- 1 jenkins jenkins 9056 Apr 19 06:01 Attribution.txt 06:06:46 -rw-rw-r-- 1 jenkins jenkins 8355 Apr 19 06:01 CHANGELOG.md 06:06:46 -rw-rw-r-- 1 jenkins jenkins 1423 Apr 19 06:01 Dockerfile 06:06:46 -rw-rw-r-- 1 jenkins jenkins 677 Apr 19 06:01 GOVERNANCE.md 06:06:46 -rw-rw-r-- 1 jenkins jenkins 656 Apr 19 06:01 Jenkinsfile 06:06:46 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 19 06:01 LICENSE 06:06:46 -rw-rw-r-- 1 jenkins jenkins 2114 Apr 19 06:01 Makefile 06:06:46 -rw-rw-r-- 1 jenkins jenkins 620 Apr 19 06:01 OWNERS.md 06:06:46 -rw-rw-r-- 1 jenkins jenkins 10054 Apr 19 06:01 README.md 06:06:46 -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 05:59 VERSION 06:06:46 drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 06:01 bin 06:06:46 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 06:01 cmd 06:06:46 -rw-r--r-- 1 jenkins jenkins 8837 Apr 19 06:06 coverage.out 06:06:46 -rw-rw-r-- 1 jenkins jenkins 3283 Apr 19 06:01 go.mod 06:06:46 -rw-rw-r-- 1 jenkins jenkins 31441 Apr 19 06:01 go.sum 06:06:46 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 06:01 internal 06:06:46 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 06:01 snap 06:06:46 -rw-rw-r-- 1 jenkins jenkins 228 Apr 19 06:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:47 + 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=c3ae16284a852ece5ef2c51552053fabd1b09ae6 --label arch=arm64 --label version=0.0.0 . 06:06:47 Sending build context to Docker daemon 3.005MB 06:06:47 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 06:06:47 Step 2/24 : FROM ${BASE} AS builder 06:06:47 ---> 6f922f08ea94 06:06:47 Step 3/24 : ARG ADD_BUILD_TAGS="" 06:06:48 ---> Running in 5056ac06ac05 06:06:48 Removing intermediate container 5056ac06ac05 06:06:48 ---> 66edb6527d46 06:06:48 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:06:48 ---> Running in c48860148cc8 06:06:48 Removing intermediate container c48860148cc8 06:06:48 ---> 11e13c3edda2 06:06:48 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:06:48 ---> Running in 64b72a9da517 06:06:48 Removing intermediate container 64b72a9da517 06:06:48 ---> ee53db36fe88 06:06:48 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 06:06:49 ---> Running in 0de2b87f0062 06:06:49 Removing intermediate container 0de2b87f0062 06:06:49 ---> af76c470ff2d 06:06:49 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:06:49 ---> Running in 8db7c204a04a 06:06:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:06:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:06:51 OK: 268 MiB in 57 packages 06:06:53 Removing intermediate container 8db7c204a04a 06:06:53 ---> 2a4a5bc840df 06:06:53 Step 8/24 : WORKDIR /device-snmp-go 06:06:53 ---> Running in fbca72dbe12f 06:06:53 Removing intermediate container fbca72dbe12f 06:06:53 ---> 7afd3c0cee7c 06:06:53 Step 9/24 : COPY go.mod vendor* ./ 06:06:54 ---> cc75ec1a7260 06:06:54 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:06:54 ---> Running in f7ef8250df44 06:06:56 Removing intermediate container f7ef8250df44 06:06:56 ---> 8336f1e3a425 06:06:56 Step 11/24 : COPY . . 06:06:57 ---> f342178b1ad2 06:06:57 Step 12/24 : RUN ${MAKE} 06:06:57 ---> Running in 22af7787f44a 06:06:58 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 06:09:04 Removing intermediate container 22af7787f44a 06:09:04 ---> e3396c920015 06:09:04 Step 13/24 : FROM alpine:3.17 06:09:04 3.17: Pulling from library/alpine 06:09:04 c41833b44d91: Pulling fs layer 06:09:04 c41833b44d91: Verifying Checksum 06:09:04 c41833b44d91: Download complete 06:09:04 c41833b44d91: Pull complete 06:09:04 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:09:04 Status: Downloaded newer image for alpine:3.17 06:09:04 ---> 51e60588ff2c 06:09:04 Step 14/24 : RUN apk add --update --no-cache dumb-init 06:09:05 ---> Running in 35b058bfe596 06:09:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:09:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:09:08 (1/1) Installing dumb-init (1.2.5-r2) 06:09:08 Executing busybox-1.35.0-r29.trigger 06:09:08 OK: 8 MiB in 16 packages 06:09:09 Removing intermediate container 35b058bfe596 06:09:09 ---> 33d8535c0a88 06:09:09 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 06:09:10 ---> f3fc004859ec 06:09:10 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 06:09:11 ---> 4ceb1b0fc97d 06:09:11 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 06:09:11 ---> 811a641648ff 06:09:11 Step 18/24 : EXPOSE 59993 06:09:11 ---> Running in f307281029c7 06:09:11 Removing intermediate container f307281029c7 06:09:11 ---> 1ee063281d9d 06:09:11 Step 19/24 : EXPOSE 161 06:09:11 ---> Running in 75a208f68c7c 06:09:12 Removing intermediate container 75a208f68c7c 06:09:12 ---> 373aec08bfdd 06:09:12 Step 20/24 : ENTRYPOINT ["/device-snmp"] 06:09:12 ---> Running in 31d0b117502f 06:09:12 Removing intermediate container 31d0b117502f 06:09:12 ---> 734affff7dc8 06:09:12 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 06:09:12 ---> Running in f28bcab005d5 06:09:13 Removing intermediate container f28bcab005d5 06:09:13 ---> afbc61540213 06:09:13 Step 22/24 : LABEL arch=arm64 06:09:13 ---> Running in cc6475836109 06:09:13 Removing intermediate container cc6475836109 06:09:13 ---> bb34ada11816 06:09:13 Step 23/24 : LABEL git_sha=c3ae16284a852ece5ef2c51552053fabd1b09ae6 06:09:13 ---> Running in fcd50bdf4960 06:09:13 Removing intermediate container fcd50bdf4960 06:09:13 ---> 5b40635f40f8 06:09:13 Step 24/24 : LABEL version=0.0.0 06:09:13 ---> Running in d36a14fdc068 06:09:13 Removing intermediate container d36a14fdc068 06:09:13 ---> 451cd32c9208 06:09:13 [Warning] One or more build-args [ARCH] were not consumed 06:09:13 Successfully built 451cd32c9208 06:09:13 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:09:14 06:09:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:09:15 arm64: Pulling from edgex-lftools-log-publisher 06:09:15 8998bd30e6a1: Pulling fs layer 06:09:15 04944245beec: Pulling fs layer 06:09:15 699f458cf7ca: Pulling fs layer 06:09:15 765212b225bb: Pulling fs layer 06:09:15 f23df028b6ca: Pulling fs layer 06:09:15 d65c8cfc05b1: Pulling fs layer 06:09:15 2437ff75d9bd: Pulling fs layer 06:09:15 765212b225bb: Waiting 06:09:15 f23df028b6ca: Waiting 06:09:15 d65c8cfc05b1: Waiting 06:09:15 2437ff75d9bd: Waiting 06:09:15 04944245beec: Verifying Checksum 06:09:15 04944245beec: Download complete 06:09:15 765212b225bb: Verifying Checksum 06:09:15 765212b225bb: Download complete 06:09:15 f23df028b6ca: Verifying Checksum 06:09:15 f23df028b6ca: Download complete 06:09:15 d65c8cfc05b1: Download complete 06:09:15 699f458cf7ca: Verifying Checksum 06:09:15 699f458cf7ca: Download complete 06:09:16 8998bd30e6a1: Verifying Checksum 06:09:16 8998bd30e6a1: Download complete 06:09:19 2437ff75d9bd: Verifying Checksum 06:09:19 2437ff75d9bd: Download complete 06:09:20 8998bd30e6a1: Pull complete 06:09:20 04944245beec: Pull complete 06:09:22 699f458cf7ca: Pull complete 06:09:22 765212b225bb: Pull complete 06:09:23 f23df028b6ca: Pull complete 06:09:23 d65c8cfc05b1: Pull complete 06:09:38 2437ff75d9bd: Pull complete 06:09:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:09:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:09:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:09:38 prd-ubuntu20.04-docker-arm64-4c-16g-9067 does not seem to be running inside a container 06:09:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:09:41 $ docker top 08205f65fcc929657dbfaf43f4994b2327d4001fc8b9d30badcc091a0e99f211 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:09:42 ---> job-cost.sh 06:09:42 lf-activate-venv: SKIPPING 06:09:42 INFO: No Stack... 06:09:42 INFO: Retrieving Pricing Info for: v3-standard-4 06:09:43 INFO: Archiving Costs [Pipeline] sh 06:09:43 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 06:09:43 + cut -d, -f6 [Pipeline] lock 06:09:44 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-289-1-stack-cost] 06:09:44 Resource [jenkins-edgexfoundry-device-snmp-go-PR-289-1-stack-cost] did not exist. Created. 06:09:44 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-289-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:09:44 /w/workspace/device-snmp-go/1@tmp/durable-7b9400af/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:09:45 + echo total: 0.10999999940395355 [Pipeline] stash 06:09:45 Warning: overwriting stash ‘stack-cost’ 06:09:45 Stashed 1 file(s) [Pipeline] } 06:09:45 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-289-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:09:45 $ docker stop --time=1 08205f65fcc929657dbfaf43f4994b2327d4001fc8b9d30badcc091a0e99f211 06:09:47 $ docker rm -f --volumes 08205f65fcc929657dbfaf43f4994b2327d4001fc8b9d30badcc091a0e99f211 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 06:09:49 provisioning config files... 06:09:49 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-289@tmp/config2878704641075656241tmp [Pipeline] { [Pipeline] sh 06:09:49 + set +x 06:09:49 + curl -s https://codecov.io/bash 06:09:49 + bash -s -- 06:09:49 06:09:49 _____ _ 06:09:49 / ____| | | 06:09:49 | | ___ __| | ___ ___ _____ __ 06:09:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:09:49 | |___| (_) | (_| | __/ (_| (_) \ V / 06:09:49 \_____\___/ \__,_|\___|\___\___/ \_/ 06:09:49 Bash-1.0.6 06:09:49 06:09:49 06:09:49 ==> git version 2.25.1 found 06:09:49 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 06:09:49 Release-Date: 2020-01-08 06:09:49 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:09:49 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:09:49 ==> Jenkins CI detected. 06:09:49 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-289 06:09:49 project root: . 06:09:49 --> token set from env 06:09:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:09:49 ==> Running gcov in . (disable via -X gcov) 06:09:49 ==> Python coveragepy not found 06:09:49 ==> Searching for coverage reports in: 06:09:49 + . 06:09:49 -> Found 1 reports 06:09:49 ==> Detecting git/mercurial file structure 06:09:49 ==> Reading reports 06:09:49 + ./coverage.out bytes=8837 06:09:49 ==> Appending adjustments 06:09:49 https://docs.codecov.io/docs/fixing-reports 06:09:49 + Found adjustments 06:09:49 ==> Gzipping contents 06:09:49 4.0K /tmp/codecov.cEQhMC.gz 06:09:49 ==> Uploading reports 06:09:49 url: https://codecov.io 06:09:49 query: branch=PR-289&commit=c3ae16284a852ece5ef2c51552053fabd1b09ae6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-289%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=289&job=&cmd_args= 06:09:49 -> Pinging Codecov 06:09:49 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-289&commit=c3ae16284a852ece5ef2c51552053fabd1b09ae6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-289%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=289&job=&cmd_args= 06:09:49 -> Uploading to 06:09:49 https://storage.googleapis.com/codecov/v4/raw/2023-04-19/6C56EA5C29638FB4528AC87E60AF5AE0/c3ae16284a852ece5ef2c51552053fabd1b09ae6/3767cfeb-8e32-4037-81d0-aa2ff3b3aa84.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230419%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230419T060949Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cebf1654d3695bfa550c4fc7fbc854121b68c413d069d6e7fc2103c219d31149 06:09:49 % Total % Received % Xferd Average Speed Time Time Time Current 06:09:49 Dload Upload Total Spent Left Speed 06:09:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1604 0 0 100 1604 0 7425 --:--:-- --:--:-- --:--:-- 7425 06:09:50 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/c3ae16284a852ece5ef2c51552053fabd1b09ae6 [Pipeline] } 06:09:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 06:09:52 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-289/archives ] 06:09:52 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-289/archives 06:09:52 total 16 06:09:52 drwxr-xr-x 3 root root 4096 Apr 19 06:01 . 06:09:52 drwxrwxr-x 10 jenkins jenkins 4096 Apr 19 06:01 .. 06:09:52 drwxr-xr-x 2 root root 4096 Apr 19 06:01 cost 06:09:52 -rw-r--r-- 1 root root 86 Apr 19 06:01 cost.csv 06:09:52 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-289/archives 06:09:52 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-289/archives 06:09:52 total 16 06:09:52 drwxr-xr-x 3 jenkins jenkins 4096 Apr 19 06:01 . 06:09:52 drwxrwxr-x 10 jenkins jenkins 4096 Apr 19 06:01 .. 06:09:52 drwxr-xr-x 2 jenkins jenkins 4096 Apr 19 06:01 cost 06:09:52 -rw-r--r-- 1 jenkins jenkins 86 Apr 19 06:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:09:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:09:53 ---> package-listing.sh 06:09:53 ++ facter osfamily 06:09:53 ++ tr '[:upper:]' '[:lower:]' 06:09:54 + OS_FAMILY=debian 06:09:54 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-289 06:09:54 + START_PACKAGES=/tmp/packages_start.txt 06:09:54 + END_PACKAGES=/tmp/packages_end.txt 06:09:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:09:54 + PACKAGES=/tmp/packages_start.txt 06:09:54 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-289 ']' 06:09:54 + PACKAGES=/tmp/packages_end.txt 06:09:54 + case "${OS_FAMILY}" in 06:09:54 + dpkg -l 06:09:54 + grep '^ii' 06:09:54 + '[' -f /tmp/packages_start.txt ']' 06:09:54 + '[' -f /tmp/packages_end.txt ']' 06:09:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:09:54 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-289 ']' 06:09:54 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-289/archives/ 06:09:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-289/archives/ [Pipeline] echo 06:09:54 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-289/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:09:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:09:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:09:55 prd-ubuntu20.04-docker-8c-8g-9066 does not seem to be running inside a container 06:09:55 $ 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-289/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-289 -v /w/workspace/gexfoundry_device-snmp-go_PR-289:/w/workspace/gexfoundry_device-snmp-go_PR-289:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-289@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-289@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:09:55 $ docker top d014307a93bbbf83c646dfd3b88d084702c3dc499a0059593f948d34d01217f5 -eo pid,comm [Pipeline] { [Pipeline] sh 06:09:55 + touch /tmp/pre-build-complete [Pipeline] sh 06:09:56 + mkdir -p /var/log/sysstat [Pipeline] sh 06:09:56 + ls /var/log/sa-host 06:09:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:09:57 provisioning config files... 06:09:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-289@tmp/config294094015043125885tmp [Pipeline] { [Pipeline] echo 06:09:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:09:57 ---> create-netrc.sh [Pipeline] } 06:09:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:09:58 ---> python-tools-install.sh [Pipeline] echo 06:09:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:09:58 ---> sudo-logs.sh 06:09:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:09:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:09:58 ---> job-cost.sh 06:09:58 lf-activate-venv: SKIPPING 06:09:58 DEBUG: total: 0.2199999988079071 06:09:58 INFO: Retrieving Stack Cost... 06:09:59 INFO: Retrieving Pricing Info for: v3-standard-8 06:09:59 INFO: Archiving Costs [Pipeline] echo 06:09:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:10:00 ---> logs-deploy.sh 06:10:00 lf-activate-venv: SKIPPING 06:10:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-289/1 06:10:00 INFO: archiving workspace using pattern(s): 06:10:01 Archives upload complete. 06:10:01 INFO: archiving logs to Nexus