Pull request #294 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-snmp-go Obtained Jenkinsfile from bc6e96f396d56411a6be6bb41aca8f38a2b4da58+7429475b8b1c7d2813665a0cabf567e5cd6ad519 (7cf53fc88fa8e0bbfee391ca48d8e59e73d20ab5) 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-ssh12515647876799115740.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-ssh14867387494935770618.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-294/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-294/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16145078893207192803.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-294/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12299657833187065362.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-ssh17246455969338147508.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-294/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-294/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4001608387898760298.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-9536 in /w/workspace/gexfoundry_device-snmp-go_PR-294 [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-294 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/294/head:refs/remotes/origin/PR-294 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7429475b8b1c7d2813665a0cabf567e5cd6ad519 into PR head commit bc6e96f396d56411a6be6bb41aca8f38a2b4da58 Merge succeeded, producing bc6e96f396d56411a6be6bb41aca8f38a2b4da58 Checking out Revision bc6e96f396d56411a6be6bb41aca8f38a2b4da58 (PR-294) > git config core.sparsecheckout # timeout=10 > git checkout -f bc6e96f396d56411a6be6bb41aca8f38a2b4da58 # 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 7429475b8b1c7d2813665a0cabf567e5cd6ad519 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bc6e96f396d56411a6be6bb41aca8f38a2b4da58 # timeout=10 Commit message: "build(snap): Upgrade snap base to core22, remove deprecated plug" 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 13:30:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:30:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:30:53 ========================================================= 13:30:53 EdgeX Global Pipelines Version Info 13:30:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:30:53 ------------------- 13:30:53 stable info: 13:30:53 ------------------- 13:30:53 Commited By: Bill Mahoney bill.mahoney@intel.com 13:30:53 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 13:30:53 Message: update stable to v1.0.248 13:30:54 ------------------- 13:30:54 experimental info: 13:30:54 ------------------- 13:30:54 Commited By: **** collab-it+edgex@linuxfoundation.org 13:30:54 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 13:30:54 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:30:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 13:30:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 13:30:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:30:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:30:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:30:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 13:30:54 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:30:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:30:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:30:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:30:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:30:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 13:30:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:30:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:30:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:30:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:30:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:30:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:30:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:30:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:30:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:30:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:30:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:30:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:30:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:30:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:30:55 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:30:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-294 [Pipeline] echo 13:30:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-294 [Pipeline] echo 13:30:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-294 [Pipeline] echo 13:30:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bc6e96f396d56411a6be6bb41aca8f38a2b4da58 [Pipeline] echo 13:30:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bc6e96f [Pipeline] echo 13:30:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:30:56 provisioning config files... 13:30:56 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-294@tmp/config956253604777123436tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:30:56 ---> docker-login.sh 13:30:56 nexus3.edgexfoundry.org:10001 13:30:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:30:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:30:56 Configure a credential helper to remove this warning. See 13:30:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:30:56 13:30:56 Login Succeeded 13:30:56 nexus3.edgexfoundry.org:10002 13:30:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:30:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:30:57 Configure a credential helper to remove this warning. See 13:30:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:30:57 13:30:57 Login Succeeded 13:30:57 nexus3.edgexfoundry.org:10003 13:30:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:30:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:30:57 Configure a credential helper to remove this warning. See 13:30:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:30:57 13:30:57 Login Succeeded 13:30:57 nexus3.edgexfoundry.org:10004 13:30:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:30:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:30:57 Configure a credential helper to remove this warning. See 13:30:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:30:57 13:30:57 Login Succeeded 13:30:57 docker.io 13:30:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:30:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:30:57 Configure a credential helper to remove this warning. See 13:30:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:30:57 13:30:57 Login Succeeded 13:30:57 ---> docker-login.sh ends [Pipeline] } 13:30:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:30:58 + git rev-list -1 --merges bc6e96f396d56411a6be6bb41aca8f38a2b4da58~1..bc6e96f396d56411a6be6bb41aca8f38a2b4da58 [Pipeline] echo 13:30:58 -----------> git rev-list -1 --merges bc6e96f396d56411a6be6bb41aca8f38a2b4da58~1..bc6e96f396d56411a6be6bb41aca8f38a2b4da58 bc6e96f396d56411a6be6bb41aca8f38a2b4da58 [false] [Pipeline] sh 13:30:58 + git log --format=format:%s -1 bc6e96f396d56411a6be6bb41aca8f38a2b4da58 [Pipeline] echo 13:30:58 ========================================================= 13:30:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:30:58 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:30:59 + git log --format=format:%s -1 bc6e96f396d56411a6be6bb41aca8f38a2b4da58 [Pipeline] echo 13:30:59 [semverPrep] GIT_COMMIT: bc6e96f396d56411a6be6bb41aca8f38a2b4da58, Commit Message: build(snap): Upgrade snap base to core22, remove deprecated plug [Pipeline] echo 13:30:59 [semverPrep] This is not a build commit. [Pipeline] sh 13:30:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:30:59 + grep -v github /etc/ssh/ssh_known_hosts 13:30:59 + [ -e /tmp/ssh_known_hosts ] 13:30:59 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:30:59 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:30:59 + sudo tee -a /etc/ssh/ssh_known_hosts 13:30:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:31:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:31:00 13:31:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:31:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:31:00 0.1.4: Pulling from edgex-devops/py-git-semver 13:31:00 b85a868b505f: Pulling fs layer 13:31:00 e2be974225ed: Pulling fs layer 13:31:00 339a4e72a1f5: Pulling fs layer 13:31:00 988bab9f4d93: Pulling fs layer 13:31:00 1469e6f7b9e6: Pulling fs layer 13:31:00 eaf3925da568: Pulling fs layer 13:31:00 bab4dde63d76: Pulling fs layer 13:31:00 bde34c3a00c8: Pulling fs layer 13:31:00 b352a97aabf1: Pulling fs layer 13:31:00 4872d77fe225: Pulling fs layer 13:31:00 5851b861e8e6: Pulling fs layer 13:31:00 988bab9f4d93: Waiting 13:31:00 bde34c3a00c8: Waiting 13:31:00 5851b861e8e6: Waiting 13:31:00 1469e6f7b9e6: Waiting 13:31:00 eaf3925da568: Waiting 13:31:00 bab4dde63d76: Waiting 13:31:00 b352a97aabf1: Waiting 13:31:00 4872d77fe225: Waiting 13:31:00 988bab9f4d93: Verifying Checksum 13:31:00 988bab9f4d93: Download complete 13:31:00 1469e6f7b9e6: Verifying Checksum 13:31:00 1469e6f7b9e6: Download complete 13:31:00 339a4e72a1f5: Verifying Checksum 13:31:00 339a4e72a1f5: Download complete 13:31:00 eaf3925da568: Verifying Checksum 13:31:00 eaf3925da568: Download complete 13:31:00 bde34c3a00c8: Download complete 13:31:00 b352a97aabf1: Download complete 13:31:00 4872d77fe225: Verifying Checksum 13:31:00 4872d77fe225: Download complete 13:31:00 5851b861e8e6: Download complete 13:31:00 b85a868b505f: Verifying Checksum 13:31:00 b85a868b505f: Download complete 13:31:00 bab4dde63d76: Verifying Checksum 13:31:00 bab4dde63d76: Download complete 13:31:01 b85a868b505f: Pull complete 13:31:02 e2be974225ed: Pull complete 13:31:02 339a4e72a1f5: Pull complete 13:31:02 988bab9f4d93: Pull complete 13:31:03 1469e6f7b9e6: Pull complete 13:31:03 eaf3925da568: Pull complete 13:31:04 bab4dde63d76: Pull complete 13:31:04 bde34c3a00c8: Pull complete 13:31:05 b352a97aabf1: Pull complete 13:31:05 4872d77fe225: Pull complete 13:31:05 5851b861e8e6: Pull complete 13:31:05 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:31:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:31:05 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:31:05 prd-ubuntu20.04-docker-8c-8g-9536 does not seem to be running inside a container 13:31:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-294 -v /w/workspace/gexfoundry_device-snmp-go_PR-294:/w/workspace/gexfoundry_device-snmp-go_PR-294:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-294@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-294@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:31:09 $ docker top b53acef0373da601e6c88744aea6b3d02c5362e0be0ac054b22ef7d207fb1497 -eo pid,comm 13:31:09 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). 13:31:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:31:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:31:09 [ssh-agent] Looking for ssh-agent implementation... 13:31:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:31:09 $ docker exec b53acef0373da601e6c88744aea6b3d02c5362e0be0ac054b22ef7d207fb1497 ssh-agent 13:31:09 SSH_AUTH_SOCK=/tmp/ssh-fjTquGq3Tpcu/agent.33 13:31:09 SSH_AGENT_PID=39 13:31:09 Running ssh-add (command line suppressed) 13:31:09 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-294@tmp/private_key_4753701818375939557.key (/w/workspace/gexfoundry_device-snmp-go_PR-294@tmp/private_key_4753701818375939557.key) 13:31:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:31:10 + git tag --points-at HEAD [Pipeline] } 13:31:10 $ docker exec --env ******** --env ******** b53acef0373da601e6c88744aea6b3d02c5362e0be0ac054b22ef7d207fb1497 ssh-agent -k 13:31:10 unset SSH_AUTH_SOCK; 13:31:10 unset SSH_AGENT_PID; 13:31:10 echo Agent pid 39 killed; 13:31:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:31:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:31:10 [ssh-agent] Looking for ssh-agent implementation... 13:31:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:31:10 $ docker exec b53acef0373da601e6c88744aea6b3d02c5362e0be0ac054b22ef7d207fb1497 ssh-agent 13:31:10 SSH_AUTH_SOCK=/tmp/ssh-LuKiaTdHvCYL/agent.72 13:31:10 SSH_AGENT_PID=78 13:31:10 Running ssh-add (command line suppressed) 13:31:10 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-294@tmp/private_key_8745940370642171183.key (/w/workspace/gexfoundry_device-snmp-go_PR-294@tmp/private_key_8745940370642171183.key) 13:31:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:31:10 + git semver init 13:31:11 2023-04-24 13:31:11,109 [run_init] DEBUG init version:0.0.0 force:False 13:31:11 2023-04-24 13:31:11,110 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-294/.semver 13:31:11 2023-04-24 13:31:11,110 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-294/.semver 13:31:11 2023-04-24 13:31:11,110 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-294/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-294, universal_newlines=False, shell=None, istream=None) 13:31:12 2023-04-24 13:31:11,879 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-294/.git/info/exclude 13:31:12 2023-04-24 13:31:11,879 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-294/.semver/PR-294 with force:False 13:31:12 2023-04-24 13:31:11,880 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-294/.semver/PR-294 13:31:12 2023-04-24 13:31:11,884 [execute] INFO git cat-file --batch-check 13:31:12 2023-04-24 13:31:11,884 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-294/.semver, universal_newlines=False, shell=None, istream=) 13:31:12 2023-04-24 13:31:11,888 [execute] INFO git cat-file --batch 13:31:12 2023-04-24 13:31:11,889 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-294/.semver, universal_newlines=False, shell=None, istream=) 13:31:12 2023-04-24 13:31:11,892 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-294/.semver/PR-294 13:31:12 0.0.0 [Pipeline] } 13:31:12 $ docker exec --env ******** --env ******** b53acef0373da601e6c88744aea6b3d02c5362e0be0ac054b22ef7d207fb1497 ssh-agent -k 13:31:12 unset SSH_AUTH_SOCK; 13:31:12 unset SSH_AGENT_PID; 13:31:12 echo Agent pid 78 killed; 13:31:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:31:12 + git semver [Pipeline] } 13:31:12 $ docker stop --time=1 b53acef0373da601e6c88744aea6b3d02c5362e0be0ac054b22ef7d207fb1497 13:31:14 $ docker rm -f --volumes b53acef0373da601e6c88744aea6b3d02c5362e0be0ac054b22ef7d207fb1497 [Pipeline] // withDockerContainer [Pipeline] sh 13:31:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:31:14 Stashed 1 file(s) [Pipeline] echo 13:31:14 [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 13:31:15 provisioning config files... 13:31:15 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-294@tmp/config2614425934982431433tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:31:15 ---> docker-login.sh 13:31:15 nexus3.edgexfoundry.org:10001 13:31:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:31:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:31:15 Configure a credential helper to remove this warning. See 13:31:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:31:15 13:31:15 Login Succeeded 13:31:15 nexus3.edgexfoundry.org:10002 13:31:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:31:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:31:16 Configure a credential helper to remove this warning. See 13:31:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:31:16 13:31:16 Login Succeeded 13:31:16 nexus3.edgexfoundry.org:10003 13:31:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:31:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:31:16 Configure a credential helper to remove this warning. See 13:31:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:31:16 13:31:16 Login Succeeded 13:31:16 nexus3.edgexfoundry.org:10004 13:31:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:31:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:31:16 Configure a credential helper to remove this warning. See 13:31:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:31:16 13:31:16 Login Succeeded 13:31:16 docker.io 13:31:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:31:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:31:16 Configure a credential helper to remove this warning. See 13:31:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:31:16 13:31:16 Login Succeeded 13:31:16 ---> docker-login.sh ends [Pipeline] } 13:31:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:31:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:31:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:31:16 ========================================================= 13:31:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 13:31:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:31:17 + 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 . 13:31:17 Sending build context to Docker daemon 5.797MB 13:31:17 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 13:31:17 Step 2/12 : FROM ${BASE} AS builder 13:31:17 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 13:31:17 63b65145d645: Pulling fs layer 13:31:17 a2d21d5440eb: Pulling fs layer 13:31:17 935e6c44a52c: Pulling fs layer 13:31:17 94cc34f8dd06: Pulling fs layer 13:31:17 30dea6a524f1: Pulling fs layer 13:31:17 a2aff8979fd8: Pulling fs layer 13:31:17 6808be2612f2: Pulling fs layer 13:31:17 f25807f1079a: Pulling fs layer 13:31:17 94cc34f8dd06: Waiting 13:31:17 30dea6a524f1: Waiting 13:31:17 a2aff8979fd8: Waiting 13:31:17 6808be2612f2: Waiting 13:31:17 f25807f1079a: Waiting 13:31:17 a2d21d5440eb: Download complete 13:31:17 94cc34f8dd06: Verifying Checksum 13:31:17 94cc34f8dd06: Download complete 13:31:17 30dea6a524f1: Download complete 13:31:17 63b65145d645: Verifying Checksum 13:31:17 63b65145d645: Download complete 13:31:17 a2aff8979fd8: Verifying Checksum 13:31:17 a2aff8979fd8: Download complete 13:31:17 63b65145d645: Pull complete 13:31:17 a2d21d5440eb: Pull complete 13:31:17 f25807f1079a: Verifying Checksum 13:31:17 f25807f1079a: Download complete 13:31:17 935e6c44a52c: Verifying Checksum 13:31:17 935e6c44a52c: Download complete 13:31:18 6808be2612f2: Verifying Checksum 13:31:18 6808be2612f2: Download complete 13:31:21 935e6c44a52c: Pull complete 13:31:21 94cc34f8dd06: Pull complete 13:31:21 30dea6a524f1: Pull complete 13:31:21 a2aff8979fd8: Pull complete 13:31:24 6808be2612f2: Pull complete 13:31:24 f25807f1079a: Pull complete 13:31:24 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 13:31:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 13:31:24 ---> 3b553350e43f 13:31:24 Step 3/12 : ARG ADD_BUILD_TAGS="" 13:31:30 Still waiting to schedule task 13:31:30 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 13:31:31 ---> Running in 3a59bd8c52f1 13:31:31 Removing intermediate container 3a59bd8c52f1 13:31:31 ---> 146eb636c6a0 13:31:31 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:31:31 ---> Running in f1ab81339ff9 13:31:31 Removing intermediate container f1ab81339ff9 13:31:31 ---> a1cfc192e7e2 13:31:31 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:31:31 ---> Running in b2986567a031 13:31:31 Removing intermediate container b2986567a031 13:31:31 ---> db6b77ef6f8e 13:31:31 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 13:31:31 ---> Running in cde31f1c7f3f 13:31:31 Removing intermediate container cde31f1c7f3f 13:31:31 ---> d2346b392b6f 13:31:31 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:31:31 ---> Running in 3280517f0149 13:31:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:31:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:31:31 (1/4) Installing openssh-keygen (9.1_p1-r2) 13:31:31 (2/4) Installing libedit (20221030.3.1-r0) 13:31:31 (3/4) Installing openssh-client-common (9.1_p1-r2) 13:31:31 (4/4) Installing openssh-client-default (9.1_p1-r2) 13:31:31 Executing busybox-1.35.0-r29.trigger 13:31:31 OK: 269 MiB in 57 packages 13:31:32 Removing intermediate container 3280517f0149 13:31:32 ---> 587269b3ebac 13:31:32 Step 8/12 : WORKDIR /device-snmp-go 13:31:32 ---> Running in bf652cfc5854 13:31:32 Removing intermediate container bf652cfc5854 13:31:32 ---> a1f5f4a070b0 13:31:32 Step 9/12 : COPY go.mod vendor* ./ 13:31:32 ---> 53d39cd42e3e 13:31:32 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:31:32 ---> Running in 5081ae171d15 13:32:04 Removing intermediate container 5081ae171d15 13:32:04 ---> e511b9ec3e36 13:32:04 Step 11/12 : COPY . . 13:32:04 ---> ef141ebb0841 13:32:04 Step 12/12 : RUN ${MAKE} 13:32:04 ---> Running in 1a4f3113cf91 13:32:04 noop 13:32:04 Removing intermediate container 1a4f3113cf91 13:32:04 ---> 1643fabca59d 13:32:04 Successfully built 1643fabca59d 13:32:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:32:04 + docker inspect -f . ci-base-image-x86_64 13:32:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:32:05 prd-ubuntu20.04-docker-8c-8g-9536 does not seem to be running inside a container 13:32:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-294 -v /w/workspace/gexfoundry_device-snmp-go_PR-294:/w/workspace/gexfoundry_device-snmp-go_PR-294:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-294@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-294@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:32:05 $ docker top c00f9f442f056e4f1bb2540db5865b505d9f24b1b36aa3b430caff5429551975 -eo pid,comm [Pipeline] { [Pipeline] sh 13:32:05 + go version 13:32:05 go version go1.20.2 linux/amd64 [Pipeline] } 13:32:05 $ docker stop --time=1 c00f9f442f056e4f1bb2540db5865b505d9f24b1b36aa3b430caff5429551975 13:32:07 $ docker rm -f --volumes c00f9f442f056e4f1bb2540db5865b505d9f24b1b36aa3b430caff5429551975 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:32:07 + docker inspect -f . ci-base-image-x86_64 13:32:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:32:07 prd-ubuntu20.04-docker-8c-8g-9536 does not seem to be running inside a container 13:32:07 $ 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-294 -v /w/workspace/gexfoundry_device-snmp-go_PR-294:/w/workspace/gexfoundry_device-snmp-go_PR-294:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-294@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-294@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:32:08 $ docker top 41bbd2e89965d221bd6ce49aac10ffca0841f4e44828b0affc16740e9a990c67 -eo pid,comm [Pipeline] { [Pipeline] sh 13:32:08 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-294 [Pipeline] fileExists [Pipeline] sh 13:32:09 + make test 13:32:09 go test ./... -coverprofile=coverage.out 13:32:13 ? github.com/edgexfoundry/device-snmp-go [no test files] 13:32:23 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 13:32:23 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.009s coverage: 0.0% of statements 13:32:29 go vet ./... 13:32:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:32:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:32:32 ./bin/test-attribution-txt.sh [Pipeline] echo 13:32:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:32:32 $ docker stop --time=1 41bbd2e89965d221bd6ce49aac10ffca0841f4e44828b0affc16740e9a990c67 13:32:38 $ docker rm -f --volumes 41bbd2e89965d221bd6ce49aac10ffca0841f4e44828b0affc16740e9a990c67 [Pipeline] // withDockerContainer [Pipeline] sh 13:32:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:32:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:32:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:32:40 + ls -al . 13:32:40 total 172 13:32:40 drwxrwxr-x 9 jenkins jenkins 4096 Apr 24 13:32 . 13:32:40 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 13:30 .. 13:32:40 -rw-rw-r-- 1 jenkins jenkins 6 Apr 24 13:30 .dockerignore 13:32:40 drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 13:31 .git 13:32:40 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 13:30 .github 13:32:40 -rw-rw-r-- 1 jenkins jenkins 328 Apr 24 13:30 .gitignore 13:32:40 -rw-rw-r-- 1 jenkins jenkins 41 Apr 24 13:30 .golangci.yml 13:32:40 drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 13:31 .semver 13:32:40 -rw-rw-r-- 1 jenkins jenkins 9056 Apr 24 13:30 Attribution.txt 13:32:40 -rw-rw-r-- 1 jenkins jenkins 8355 Apr 24 13:30 CHANGELOG.md 13:32:40 -rw-rw-r-- 1 jenkins jenkins 1423 Apr 24 13:30 Dockerfile 13:32:40 -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 13:30 GOVERNANCE.md 13:32:40 -rw-rw-r-- 1 jenkins jenkins 656 Apr 24 13:30 Jenkinsfile 13:32:40 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 24 13:30 LICENSE 13:32:40 -rw-rw-r-- 1 jenkins jenkins 2114 Apr 24 13:30 Makefile 13:32:40 -rw-rw-r-- 1 jenkins jenkins 620 Apr 24 13:30 OWNERS.md 13:32:40 -rw-rw-r-- 1 jenkins jenkins 10054 Apr 24 13:30 README.md 13:32:40 -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 13:31 VERSION 13:32:40 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 13:30 bin 13:32:40 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 13:30 cmd 13:32:40 -rw-r--r-- 1 jenkins jenkins 8837 Apr 24 13:32 coverage.out 13:32:40 -rw-rw-r-- 1 jenkins jenkins 3283 Apr 24 13:30 go.mod 13:32:40 -rw-rw-r-- 1 jenkins jenkins 31441 Apr 24 13:30 go.sum 13:32:40 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 13:30 internal 13:32:40 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 13:30 snap 13:32:40 -rw-rw-r-- 1 jenkins jenkins 228 Apr 24 13:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:32:41 + 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=bc6e96f396d56411a6be6bb41aca8f38a2b4da58 --label arch=amd64 --label version=0.0.0 . 13:32:41 Sending build context to Docker daemon 5.807MB 13:32:41 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 13:32:41 Step 2/24 : FROM ${BASE} AS builder 13:32:41 ---> 1643fabca59d 13:32:41 Step 3/24 : ARG ADD_BUILD_TAGS="" 13:32:41 ---> Running in fe09c93e9afd 13:32:41 Removing intermediate container fe09c93e9afd 13:32:41 ---> cf43bceafc8a 13:32:41 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:32:41 ---> Running in e7e2291206e9 13:32:41 Removing intermediate container e7e2291206e9 13:32:41 ---> 80406a95b9b6 13:32:41 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:32:41 ---> Running in 3d7261966839 13:32:41 Removing intermediate container 3d7261966839 13:32:41 ---> 65c6394b818f 13:32:41 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 13:32:41 ---> Running in 55e10b43d219 13:32:41 Removing intermediate container 55e10b43d219 13:32:41 ---> 02acce05bda3 13:32:41 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:32:41 ---> Running in 42e8f336360e 13:32:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:32:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:32:42 OK: 269 MiB in 57 packages 13:32:42 Removing intermediate container 42e8f336360e 13:32:42 ---> 3cd00a3d9f77 13:32:42 Step 8/24 : WORKDIR /device-snmp-go 13:32:42 ---> Running in c60b0330a311 13:32:42 Removing intermediate container c60b0330a311 13:32:42 ---> 4e897f53281b 13:32:42 Step 9/24 : COPY go.mod vendor* ./ 13:32:43 ---> 45e109345019 13:32:43 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:32:43 ---> Running in e213f3f6f5a3 13:32:43 Removing intermediate container e213f3f6f5a3 13:32:43 ---> bd9df32a6ab5 13:32:43 Step 11/24 : COPY . . 13:32:43 ---> d8f030a5b3c4 13:32:43 Step 12/24 : RUN ${MAKE} 13:32:43 ---> Running in f390babc0897 13:32:44 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 13:33:06 Removing intermediate container f390babc0897 13:33:06 ---> 78356bfdcc12 13:33:06 Step 13/24 : FROM alpine:3.17 13:33:06 3.17: Pulling from library/alpine 13:33:06 f56be85fc22e: Pulling fs layer 13:33:06 f56be85fc22e: Verifying Checksum 13:33:06 f56be85fc22e: Download complete 13:33:06 f56be85fc22e: Pull complete 13:33:06 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 13:33:06 Status: Downloaded newer image for alpine:3.17 13:33:06 ---> 9ed4aefc74f6 13:33:06 Step 14/24 : RUN apk add --update --no-cache dumb-init 13:33:06 ---> Running in 84d06839157f 13:33:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:33:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:33:07 (1/1) Installing dumb-init (1.2.5-r2) 13:33:07 Executing busybox-1.35.0-r29.trigger 13:33:07 OK: 7 MiB in 16 packages 13:33:07 Removing intermediate container 84d06839157f 13:33:07 ---> af6a846f64dd 13:33:07 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 13:33:08 ---> ed374b69f7d9 13:33:08 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 13:33:08 ---> 9fe2dea6864f 13:33:08 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 13:33:08 ---> 3a778b2a6a4d 13:33:08 Step 18/24 : EXPOSE 59993 13:33:08 ---> Running in 9704b75fb075 13:33:08 Removing intermediate container 9704b75fb075 13:33:08 ---> a18f5b312630 13:33:08 Step 19/24 : EXPOSE 161 13:33:08 ---> Running in 386ecb9ff4b9 13:33:08 Removing intermediate container 386ecb9ff4b9 13:33:08 ---> ff7726f0fb21 13:33:08 Step 20/24 : ENTRYPOINT ["/device-snmp"] 13:33:08 ---> Running in ecec37589544 13:33:08 Removing intermediate container ecec37589544 13:33:08 ---> 3d048054686e 13:33:08 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 13:33:08 ---> Running in e77ba03b705b 13:33:08 Removing intermediate container e77ba03b705b 13:33:08 ---> 3b133b91db95 13:33:08 Step 22/24 : LABEL arch=amd64 13:33:08 ---> Running in 59fa67ff7384 13:33:08 Removing intermediate container 59fa67ff7384 13:33:08 ---> 88a151596447 13:33:08 Step 23/24 : LABEL git_sha=bc6e96f396d56411a6be6bb41aca8f38a2b4da58 13:33:08 ---> Running in b03fae828b73 13:33:08 Removing intermediate container b03fae828b73 13:33:08 ---> ad30955ea3db 13:33:08 Step 24/24 : LABEL version=0.0.0 13:33:08 ---> Running in ccba825d64c9 13:33:09 Removing intermediate container ccba825d64c9 13:33:09 ---> c26fda5a3ecc 13:33:09 [Warning] One or more build-args [ARCH] were not consumed 13:33:09 Successfully built c26fda5a3ecc 13:33:09 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 13:33:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:33:09 13:33:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:33:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:33:10 latest: Pulling from edgex-lftools-log-publisher 13:33:10 5eb5b503b376: Pulling fs layer 13:33:10 5c69ac0246d0: Pulling fs layer 13:33:10 ec43610c2a17: Pulling fs layer 13:33:10 3a2ae6a8a46f: Pulling fs layer 13:33:10 33b1e0a273af: Pulling fs layer 13:33:10 5d3b04190fa2: Pulling fs layer 13:33:10 2f39f015ded8: Pulling fs layer 13:33:10 33b1e0a273af: Waiting 13:33:10 5d3b04190fa2: Waiting 13:33:10 3a2ae6a8a46f: Waiting 13:33:10 2f39f015ded8: Waiting 13:33:10 5c69ac0246d0: Verifying Checksum 13:33:10 5c69ac0246d0: Download complete 13:33:10 3a2ae6a8a46f: Verifying Checksum 13:33:10 33b1e0a273af: Verifying Checksum 13:33:10 33b1e0a273af: Download complete 13:33:10 ec43610c2a17: Verifying Checksum 13:33:10 ec43610c2a17: Download complete 13:33:10 5d3b04190fa2: Verifying Checksum 13:33:10 5d3b04190fa2: Download complete 13:33:10 5eb5b503b376: Verifying Checksum 13:33:10 5eb5b503b376: Download complete 13:33:11 2f39f015ded8: Download complete 13:33:11 5eb5b503b376: Pull complete 13:33:11 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9537 in /w/workspace/gexfoundry_device-snmp-go_PR-294 13:33:11 5c69ac0246d0: Pull complete [Pipeline] { [Pipeline] ws 13:33:12 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 13:33:12 Selected Git installation does not exist. Using Default 13:33:12 The recommended git tool is: NONE 13:33:12 ec43610c2a17: Pull complete 13:33:12 3a2ae6a8a46f: Pull complete 13:33:12 33b1e0a273af: Pull complete 13:33:12 5d3b04190fa2: Pull complete 13:33:16 2f39f015ded8: Pull complete 13:33:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:33:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:33:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:33:16 prd-ubuntu20.04-docker-8c-8g-9536 does not seem to be running inside a container 13:33:16 $ 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-294 -v /w/workspace/gexfoundry_device-snmp-go_PR-294:/w/workspace/gexfoundry_device-snmp-go_PR-294:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-294@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-294@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:33:17 using credential edgex-jenkins-ssh 13:33:17 Cloning the remote Git repository 13:33:17 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 13:33:18 > git init /w/workspace/device-snmp-go/1 # timeout=10 13:33:18 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 13:33:18 > git --version # timeout=10 13:33:18 > git --version # 'git version 2.25.1' 13:33:18 using GIT_SSH to set credentials SSH Credentials for GitHub 13:33:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:33:19 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 13:33:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:33:20 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 13:33:20 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 13:33:20 using GIT_SSH to set credentials SSH Credentials for GitHub 13:33:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/294/head:refs/remotes/origin/PR-294 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:33:21 Merging remotes/origin/main commit 7429475b8b1c7d2813665a0cabf567e5cd6ad519 into PR head commit bc6e96f396d56411a6be6bb41aca8f38a2b4da58 13:33:21 Merge succeeded, producing bc6e96f396d56411a6be6bb41aca8f38a2b4da58 13:33:21 Checking out Revision bc6e96f396d56411a6be6bb41aca8f38a2b4da58 (PR-294) 13:33:21 > git config core.sparsecheckout # timeout=10 13:33:21 > git checkout -f bc6e96f396d56411a6be6bb41aca8f38a2b4da58 # timeout=10 13:33:21 > git remote # timeout=10 13:33:21 > git config --get remote.origin.url # timeout=10 13:33:21 using GIT_SSH to set credentials SSH Credentials for GitHub 13:33:21 > git merge 7429475b8b1c7d2813665a0cabf567e5cd6ad519 # timeout=10 13:33:21 > git rev-parse HEAD^{commit} # timeout=10 13:33:21 > git config core.sparsecheckout # timeout=10 13:33:21 > git checkout -f bc6e96f396d56411a6be6bb41aca8f38a2b4da58 # timeout=10 13:33:22 $ docker top 5ddeda8cb54e02844e0b21a371b8ecca315e13f24776c087f66df7dc0f16e2d2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:33:22 ---> job-cost.sh 13:33:22 lf-activate-venv: SKIPPING 13:33:22 INFO: No Stack... 13:33:23 INFO: Retrieving Pricing Info for: v3-standard-8 13:33:23 INFO: Archiving Costs [Pipeline] sh 13:33:23 + cat /w/workspace/gexfoundry_device-snmp-go_PR-294/archives/cost.csv 13:33:23 + cut -d, -f6 [Pipeline] lock 13:33:23 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-294-1-stack-cost] 13:33:23 Resource [jenkins-edgexfoundry-device-snmp-go-PR-294-1-stack-cost] did not exist. Created. 13:33:23 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-294-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:33:24 + echo total: 0.2199999988079071 [Pipeline] stash 13:33:24 Stashed 1 file(s) [Pipeline] } 13:33:24 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-294-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:33:24 $ docker stop --time=1 5ddeda8cb54e02844e0b21a371b8ecca315e13f24776c087f66df7dc0f16e2d2 13:33:24 Commit message: "build(snap): Upgrade snap base to core22, remove deprecated plug" 13:33:24 > git --version # timeout=10 13:33:24 > git --version # 'git version 2.25.1' 13:33:24 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 13:33:25 $ docker rm -f --volumes 5ddeda8cb54e02844e0b21a371b8ecca315e13f24776c087f66df7dc0f16e2d2 13:33:25 13:33:25 GitHub has been notified of this commit’s build result 13:33:25 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:33:26 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:33:26 % Total % Received % Xferd Average Speed Time Time Time Current 13:33:26 Dload Upload Total Spent Left Speed 13:33:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 92398 0 --:--:-- --:--:-- --:--:-- 93072 [Pipeline] sh 13:33:27 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:33:27 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:33:27 + sudo tee /etc/docker/daemon.new 13:33:27 { 13:33:27 "registry-mirrors": [ 13:33:27 "https://nexus3.edgexfoundry.org:10001" 13:33:27 ], 13:33:27 "bip": "10.250.0.254/24", 13:33:27 "hosts": [ 13:33:27 "tcp://0.0.0.0:5555", 13:33:27 "unix:///var/run/docker.sock" 13:33:27 ], 13:33:27 "mtu": 1458, 13:33:27 "selinux-enabled": true, 13:33:27 "seccomp-profile": "/etc/docker/seccomp.json" 13:33:27 } [Pipeline] sh 13:33:27 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:33:28 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:33:46 provisioning config files... 13:33:46 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config10690812308941098662tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:33:46 ---> docker-login.sh 13:33:46 nexus3.edgexfoundry.org:10001 13:33:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:33:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:33:47 Configure a credential helper to remove this warning. See 13:33:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:33:47 13:33:47 Login Succeeded 13:33:47 nexus3.edgexfoundry.org:10002 13:33:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:33:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:33:47 Configure a credential helper to remove this warning. See 13:33:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:33:47 13:33:47 Login Succeeded 13:33:47 nexus3.edgexfoundry.org:10003 13:33:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:33:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:33:48 Configure a credential helper to remove this warning. See 13:33:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:33:48 13:33:48 Login Succeeded 13:33:48 nexus3.edgexfoundry.org:10004 13:33:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:33:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:33:48 Configure a credential helper to remove this warning. See 13:33:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:33:48 13:33:48 Login Succeeded 13:33:48 docker.io 13:33:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:33:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:33:49 Configure a credential helper to remove this warning. See 13:33:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:33:49 13:33:49 Login Succeeded 13:33:49 ---> docker-login.sh ends [Pipeline] } 13:33:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:33:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:33:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:33:49 ========================================================= 13:33:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 13:33:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:33:50 + 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 . 13:33:50 Sending build context to Docker daemon 3.004MB 13:33:50 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 13:33:50 Step 2/12 : FROM ${BASE} AS builder 13:33:50 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:33:50 af6eaf76a39c: Pulling fs layer 13:33:50 55522c791124: Pulling fs layer 13:33:50 ce5c4a1c91eb: Pulling fs layer 13:33:50 169dfbe0d373: Pulling fs layer 13:33:50 e1ff8fa3b103: Pulling fs layer 13:33:50 52ebb69f0ebf: Pulling fs layer 13:33:50 5abe8eddf0d5: Pulling fs layer 13:33:50 169dfbe0d373: Waiting 13:33:50 e1ff8fa3b103: Waiting 13:33:50 52ebb69f0ebf: Waiting 13:33:50 5abe8eddf0d5: Waiting 13:33:50 55522c791124: Download complete 13:33:50 169dfbe0d373: Verifying Checksum 13:33:50 169dfbe0d373: Download complete 13:33:50 e1ff8fa3b103: Verifying Checksum 13:33:50 e1ff8fa3b103: Download complete 13:33:50 af6eaf76a39c: Download complete 13:33:51 af6eaf76a39c: Pull complete 13:33:52 5abe8eddf0d5: Verifying Checksum 13:33:52 5abe8eddf0d5: Download complete 13:33:52 55522c791124: Pull complete 13:33:53 ce5c4a1c91eb: Verifying Checksum 13:33:53 ce5c4a1c91eb: Download complete 13:33:53 52ebb69f0ebf: Verifying Checksum 13:33:53 52ebb69f0ebf: Download complete 13:34:05 ce5c4a1c91eb: Pull complete 13:34:05 169dfbe0d373: Pull complete 13:34:05 e1ff8fa3b103: Pull complete 13:34:11 52ebb69f0ebf: Pull complete 13:34:13 5abe8eddf0d5: Pull complete 13:34:13 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 13:34:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 13:34:13 ---> 6cb57ee374ae 13:34:13 Step 3/12 : ARG ADD_BUILD_TAGS="" 13:34:15 ---> Running in a26334c2da7b 13:34:15 Removing intermediate container a26334c2da7b 13:34:15 ---> f0fb05663a3a 13:34:15 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:34:15 ---> Running in 3a14736e86ab 13:34:16 Removing intermediate container 3a14736e86ab 13:34:16 ---> b33a0275c083 13:34:16 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:34:16 ---> Running in f6aef24bfacc 13:34:16 Removing intermediate container f6aef24bfacc 13:34:16 ---> ce63d0edb4cc 13:34:16 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 13:34:16 ---> Running in 5d091610d7c9 13:34:16 Removing intermediate container 5d091610d7c9 13:34:16 ---> 8125a011d3a9 13:34:16 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:34:16 ---> Running in c06ee041f7bf 13:34:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:34:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:34:19 (1/4) Installing openssh-keygen (9.1_p1-r2) 13:34:19 (2/4) Installing libedit (20221030.3.1-r0) 13:34:19 (3/4) Installing openssh-client-common (9.1_p1-r2) 13:34:19 (4/4) Installing openssh-client-default (9.1_p1-r2) 13:34:19 Executing busybox-1.35.0-r29.trigger 13:34:19 OK: 268 MiB in 57 packages 13:34:20 Removing intermediate container c06ee041f7bf 13:34:20 ---> dbc2c02d0bad 13:34:20 Step 8/12 : WORKDIR /device-snmp-go 13:34:20 ---> Running in 57782d5de74c 13:34:20 Removing intermediate container 57782d5de74c 13:34:20 ---> 103450b63378 13:34:20 Step 9/12 : COPY go.mod vendor* ./ 13:34:21 ---> 464091541acb 13:34:21 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:34:21 ---> Running in 255c55e7a48b 13:35:17 Removing intermediate container 255c55e7a48b 13:35:17 ---> a0fdbc19a93d 13:35:17 Step 11/12 : COPY . . 13:35:17 ---> 00dd7b3bf583 13:35:17 Step 12/12 : RUN ${MAKE} 13:35:17 ---> Running in c30accc0a2d1 13:35:18 noop 13:35:18 Removing intermediate container c30accc0a2d1 13:35:18 ---> fbe256ea064a 13:35:18 Successfully built fbe256ea064a 13:35:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:35:19 + docker inspect -f . ci-base-image-arm64 13:35:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:35:19 prd-ubuntu20.04-docker-arm64-4c-16g-9537 does not seem to be running inside a container 13:35:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:35:21 $ docker top 0b679fc0e34b39e9b036c2d6ac82b09f6d8c6ea6c871e7c1f3fadc864494fbc4 -eo pid,comm [Pipeline] { [Pipeline] sh 13:35:22 + go version 13:35:22 go version go1.20.2 linux/arm64 [Pipeline] } 13:35:22 $ docker stop --time=1 0b679fc0e34b39e9b036c2d6ac82b09f6d8c6ea6c871e7c1f3fadc864494fbc4 13:35:23 $ docker rm -f --volumes 0b679fc0e34b39e9b036c2d6ac82b09f6d8c6ea6c871e7c1f3fadc864494fbc4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:35:24 + docker inspect -f . ci-base-image-arm64 13:35:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:35:24 prd-ubuntu20.04-docker-arm64-4c-16g-9537 does not seem to be running inside a container 13:35:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:35:26 $ docker top c3366b2a7dd528061f942d47c1821e26571a91d12280270133b4374f1ca4cba8 -eo pid,comm [Pipeline] { [Pipeline] sh 13:35:26 + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh 13:35:27 + make test 13:35:27 go test ./... -coverprofile=coverage.out 13:35:59 ? github.com/edgexfoundry/device-snmp-go [no test files] 13:37:51 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 13:37:51 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.050s coverage: 0.0% of statements 13:37:51 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:37:51 go vet ./... 13:38:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:38:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:38:18 ./bin/test-attribution-txt.sh [Pipeline] echo 13:38:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:38:18 $ docker stop --time=1 c3366b2a7dd528061f942d47c1821e26571a91d12280270133b4374f1ca4cba8 13:38:19 $ docker rm -f --volumes c3366b2a7dd528061f942d47c1821e26571a91d12280270133b4374f1ca4cba8 [Pipeline] // withDockerContainer [Pipeline] sh 13:38:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:38:21 Warning: overwriting stash ‘coverage-report’ 13:38:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:38:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:38:22 + ls -al . 13:38:22 total 168 13:38:22 drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 13:35 . 13:38:22 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 13:33 .. 13:38:22 -rw-rw-r-- 1 jenkins jenkins 6 Apr 24 13:33 .dockerignore 13:38:22 drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 13:33 .git 13:38:22 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 13:33 .github 13:38:22 -rw-rw-r-- 1 jenkins jenkins 328 Apr 24 13:33 .gitignore 13:38:22 -rw-rw-r-- 1 jenkins jenkins 41 Apr 24 13:33 .golangci.yml 13:38:22 -rw-rw-r-- 1 jenkins jenkins 9056 Apr 24 13:33 Attribution.txt 13:38:22 -rw-rw-r-- 1 jenkins jenkins 8355 Apr 24 13:33 CHANGELOG.md 13:38:22 -rw-rw-r-- 1 jenkins jenkins 1423 Apr 24 13:33 Dockerfile 13:38:22 -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 13:33 GOVERNANCE.md 13:38:22 -rw-rw-r-- 1 jenkins jenkins 656 Apr 24 13:33 Jenkinsfile 13:38:22 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 24 13:33 LICENSE 13:38:22 -rw-rw-r-- 1 jenkins jenkins 2114 Apr 24 13:33 Makefile 13:38:22 -rw-rw-r-- 1 jenkins jenkins 620 Apr 24 13:33 OWNERS.md 13:38:22 -rw-rw-r-- 1 jenkins jenkins 10054 Apr 24 13:33 README.md 13:38:22 -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 13:31 VERSION 13:38:22 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 13:33 bin 13:38:22 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 13:33 cmd 13:38:22 -rw-r--r-- 1 jenkins jenkins 8837 Apr 24 13:37 coverage.out 13:38:22 -rw-rw-r-- 1 jenkins jenkins 3283 Apr 24 13:33 go.mod 13:38:22 -rw-rw-r-- 1 jenkins jenkins 31441 Apr 24 13:33 go.sum 13:38:22 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 13:33 internal 13:38:22 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 13:33 snap 13:38:22 -rw-rw-r-- 1 jenkins jenkins 228 Apr 24 13:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:38:22 + 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=bc6e96f396d56411a6be6bb41aca8f38a2b4da58 --label arch=arm64 --label version=0.0.0 . 13:38:23 Sending build context to Docker daemon 3.014MB 13:38:23 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 13:38:23 Step 2/24 : FROM ${BASE} AS builder 13:38:23 ---> fbe256ea064a 13:38:23 Step 3/24 : ARG ADD_BUILD_TAGS="" 13:38:23 ---> Running in 7a6c4a2f699a 13:38:23 Removing intermediate container 7a6c4a2f699a 13:38:23 ---> 72b242efd342 13:38:23 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:38:23 ---> Running in 555203e81f2b 13:38:24 Removing intermediate container 555203e81f2b 13:38:24 ---> a7fe0005c286 13:38:24 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:38:24 ---> Running in 514fb6f43bd8 13:38:24 Removing intermediate container 514fb6f43bd8 13:38:24 ---> 49ff6a014239 13:38:24 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 13:38:24 ---> Running in 91769ca60181 13:38:24 Removing intermediate container 91769ca60181 13:38:24 ---> 8564732b0117 13:38:24 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:38:24 ---> Running in 089468bc679d 13:38:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:38:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:38:27 OK: 268 MiB in 57 packages 13:38:28 Removing intermediate container 089468bc679d 13:38:28 ---> 0d2b5be89a5a 13:38:28 Step 8/24 : WORKDIR /device-snmp-go 13:38:28 ---> Running in 5f9f4a522280 13:38:28 Removing intermediate container 5f9f4a522280 13:38:28 ---> 9d593476625b 13:38:28 Step 9/24 : COPY go.mod vendor* ./ 13:38:28 ---> ac29c54d9357 13:38:28 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:38:29 ---> Running in fe369ae5be37 13:38:31 Removing intermediate container fe369ae5be37 13:38:31 ---> a497dfdc731d 13:38:31 Step 11/24 : COPY . . 13:38:32 ---> 26ce876d6ab2 13:38:32 Step 12/24 : RUN ${MAKE} 13:38:32 ---> Running in d92749492b2c 13:38:33 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 13:40:40 Removing intermediate container d92749492b2c 13:40:40 ---> f8b5cad9599d 13:40:40 Step 13/24 : FROM alpine:3.17 13:40:40 3.17: Pulling from library/alpine 13:40:40 c41833b44d91: Pulling fs layer 13:40:41 c41833b44d91: Verifying Checksum 13:40:41 c41833b44d91: Download complete 13:40:42 c41833b44d91: Pull complete 13:40:42 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 13:40:42 Status: Downloaded newer image for alpine:3.17 13:40:42 ---> 51e60588ff2c 13:40:42 Step 14/24 : RUN apk add --update --no-cache dumb-init 13:40:42 ---> Running in b5c755cd56fe 13:40:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:40:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:40:45 (1/1) Installing dumb-init (1.2.5-r2) 13:40:45 Executing busybox-1.35.0-r29.trigger 13:40:45 OK: 8 MiB in 16 packages 13:40:45 Removing intermediate container b5c755cd56fe 13:40:45 ---> 4f9e11985c2a 13:40:45 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 13:40:47 ---> 4481311e3ab9 13:40:47 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 13:40:47 ---> e1df4d60d0e0 13:40:47 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 13:40:47 ---> 9b8e3397ce4d 13:40:47 Step 18/24 : EXPOSE 59993 13:40:48 ---> Running in 9e18ca6d2a76 13:40:48 Removing intermediate container 9e18ca6d2a76 13:40:48 ---> 373b0b2e90ec 13:40:48 Step 19/24 : EXPOSE 161 13:40:48 ---> Running in 4a56834c6428 13:40:48 Removing intermediate container 4a56834c6428 13:40:48 ---> 6f29efabd09f 13:40:48 Step 20/24 : ENTRYPOINT ["/device-snmp"] 13:40:48 ---> Running in 3c8b972ebf6d 13:40:49 Removing intermediate container 3c8b972ebf6d 13:40:49 ---> 52312354788a 13:40:49 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 13:40:49 ---> Running in 5fc1df27507b 13:40:49 Removing intermediate container 5fc1df27507b 13:40:49 ---> 3f24b70b152f 13:40:49 Step 22/24 : LABEL arch=arm64 13:40:49 ---> Running in 365f0e1a6785 13:40:49 Removing intermediate container 365f0e1a6785 13:40:49 ---> 3690dac152cc 13:40:49 Step 23/24 : LABEL git_sha=bc6e96f396d56411a6be6bb41aca8f38a2b4da58 13:40:49 ---> Running in 22bfccc718e5 13:40:50 Removing intermediate container 22bfccc718e5 13:40:50 ---> d13e9f96c90e 13:40:50 Step 24/24 : LABEL version=0.0.0 13:40:50 ---> Running in 0c12e4a611f3 13:40:50 Removing intermediate container 0c12e4a611f3 13:40:50 ---> bb41f2a575c6 13:40:50 [Warning] One or more build-args [ARCH] were not consumed 13:40:50 Successfully built bb41f2a575c6 13:40:50 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 13:40:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:40:51 13:40:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:40:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:40:51 arm64: Pulling from edgex-lftools-log-publisher 13:40:51 8998bd30e6a1: Pulling fs layer 13:40:51 04944245beec: Pulling fs layer 13:40:51 699f458cf7ca: Pulling fs layer 13:40:51 765212b225bb: Pulling fs layer 13:40:51 f23df028b6ca: Pulling fs layer 13:40:51 d65c8cfc05b1: Pulling fs layer 13:40:51 2437ff75d9bd: Pulling fs layer 13:40:51 765212b225bb: Waiting 13:40:51 f23df028b6ca: Waiting 13:40:51 d65c8cfc05b1: Waiting 13:40:51 2437ff75d9bd: Waiting 13:40:52 04944245beec: Verifying Checksum 13:40:52 04944245beec: Download complete 13:40:52 765212b225bb: Verifying Checksum 13:40:52 765212b225bb: Download complete 13:40:52 f23df028b6ca: Verifying Checksum 13:40:52 f23df028b6ca: Download complete 13:40:52 d65c8cfc05b1: Verifying Checksum 13:40:52 d65c8cfc05b1: Download complete 13:40:52 699f458cf7ca: Verifying Checksum 13:40:52 699f458cf7ca: Download complete 13:40:52 8998bd30e6a1: Verifying Checksum 13:40:52 8998bd30e6a1: Download complete 13:40:54 2437ff75d9bd: Verifying Checksum 13:40:54 2437ff75d9bd: Download complete 13:40:56 8998bd30e6a1: Pull complete 13:40:56 04944245beec: Pull complete 13:40:57 699f458cf7ca: Pull complete 13:40:57 765212b225bb: Pull complete 13:40:58 f23df028b6ca: Pull complete 13:40:58 d65c8cfc05b1: Pull complete 13:41:11 2437ff75d9bd: Pull complete 13:41:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:41:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:41:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:41:11 prd-ubuntu20.04-docker-arm64-4c-16g-9537 does not seem to be running inside a container 13:41:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:41:14 $ docker top 7ad6bd4a528a98d2cda61983705c3e63ede3f6b0656dd0e827ac5ab50348d2ec -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:41:14 ---> job-cost.sh 13:41:14 lf-activate-venv: SKIPPING 13:41:14 INFO: No Stack... 13:41:15 INFO: Retrieving Pricing Info for: v3-standard-4 13:41:16 INFO: Archiving Costs [Pipeline] sh 13:41:16 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 13:41:16 + cut -d, -f6 [Pipeline] lock 13:41:16 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-294-1-stack-cost] 13:41:16 Resource [jenkins-edgexfoundry-device-snmp-go-PR-294-1-stack-cost] did not exist. Created. 13:41:16 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-294-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:41:17 /w/workspace/device-snmp-go/1@tmp/durable-740dd62b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:41:18 + echo total: 0.10999999940395355 [Pipeline] stash 13:41:18 Warning: overwriting stash ‘stack-cost’ 13:41:18 Stashed 1 file(s) [Pipeline] } 13:41:18 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-294-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:41:18 $ docker stop --time=1 7ad6bd4a528a98d2cda61983705c3e63ede3f6b0656dd0e827ac5ab50348d2ec 13:41:20 $ docker rm -f --volumes 7ad6bd4a528a98d2cda61983705c3e63ede3f6b0656dd0e827ac5ab50348d2ec [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 13:41:21 provisioning config files... 13:41:21 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-294@tmp/config15655875119632868082tmp [Pipeline] { [Pipeline] sh 13:41:21 + set +x 13:41:21 + curl -s https://codecov.io/bash 13:41:21 + bash -s -- 13:41:21 13:41:21 _____ _ 13:41:21 / ____| | | 13:41:21 | | ___ __| | ___ ___ _____ __ 13:41:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:41:21 | |___| (_) | (_| | __/ (_| (_) \ V / 13:41:21 \_____\___/ \__,_|\___|\___\___/ \_/ 13:41:21 Bash-1.0.6 13:41:21 13:41:21 13:41:21 ==> git version 2.25.1 found 13:41:21 ==> 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 13:41:21 Release-Date: 2020-01-08 13:41:21 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:41:21 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:41:21 ==> Jenkins CI detected. 13:41:21 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-294 13:41:21 project root: . 13:41:21 --> token set from env 13:41:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:41:21 ==> Running gcov in . (disable via -X gcov) 13:41:21 ==> Python coveragepy not found 13:41:21 ==> Searching for coverage reports in: 13:41:21 + . 13:41:21 -> Found 1 reports 13:41:21 ==> Detecting git/mercurial file structure 13:41:21 ==> Reading reports 13:41:21 + ./coverage.out bytes=8837 13:41:21 ==> Appending adjustments 13:41:21 https://docs.codecov.io/docs/fixing-reports 13:41:21 + Found adjustments 13:41:21 ==> Gzipping contents 13:41:21 4.0K /tmp/codecov.EsYkAT.gz 13:41:21 ==> Uploading reports 13:41:21 url: https://codecov.io 13:41:21 query: branch=PR-294&commit=bc6e96f396d56411a6be6bb41aca8f38a2b4da58&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-294%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=294&job=&cmd_args= 13:41:21 -> Pinging Codecov 13:41:21 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-294&commit=bc6e96f396d56411a6be6bb41aca8f38a2b4da58&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-294%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=294&job=&cmd_args= 13:41:21 -> Uploading to 13:41:21 https://storage.googleapis.com/codecov/v4/raw/2023-04-24/6C56EA5C29638FB4528AC87E60AF5AE0/bc6e96f396d56411a6be6bb41aca8f38a2b4da58/8d06f7fa-f07f-45a7-a6ee-89589558f43d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230424%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230424T134121Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a50f54979c6b8b235d80de2443d9619b5197ed42e76ccde9921b38c529a3fbdd 13:41:21 % Total % Received % Xferd Average Speed Time Time Time Current 13:41:21 Dload Upload Total Spent Left Speed 13:41:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1604 0 0 100 1604 0 7035 --:--:-- --:--:-- --:--:-- 7035 13:41:21 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/bc6e96f396d56411a6be6bb41aca8f38a2b4da58 [Pipeline] } 13:41:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 13:41:23 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-294/archives ] 13:41:23 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-294/archives 13:41:23 total 16 13:41:23 drwxr-xr-x 3 root root 4096 Apr 24 13:33 . 13:41:23 drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 13:33 .. 13:41:23 drwxr-xr-x 2 root root 4096 Apr 24 13:33 cost 13:41:23 -rw-r--r-- 1 root root 86 Apr 24 13:33 cost.csv 13:41:23 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-294/archives 13:41:23 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-294/archives 13:41:23 total 16 13:41:23 drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 13:33 . 13:41:23 drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 13:33 .. 13:41:23 drwxr-xr-x 2 jenkins jenkins 4096 Apr 24 13:33 cost 13:41:23 -rw-r--r-- 1 jenkins jenkins 86 Apr 24 13:33 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:41:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:41:24 ---> package-listing.sh 13:41:24 ++ facter osfamily 13:41:24 ++ tr '[:upper:]' '[:lower:]' 13:41:25 + OS_FAMILY=debian 13:41:25 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-294 13:41:25 + START_PACKAGES=/tmp/packages_start.txt 13:41:25 + END_PACKAGES=/tmp/packages_end.txt 13:41:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:41:25 + PACKAGES=/tmp/packages_start.txt 13:41:25 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-294 ']' 13:41:25 + PACKAGES=/tmp/packages_end.txt 13:41:25 + case "${OS_FAMILY}" in 13:41:25 + dpkg -l 13:41:25 + grep '^ii' 13:41:25 + '[' -f /tmp/packages_start.txt ']' 13:41:25 + '[' -f /tmp/packages_end.txt ']' 13:41:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:41:25 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-294 ']' 13:41:25 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-294/archives/ 13:41:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-294/archives/ [Pipeline] echo 13:41:25 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-294/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:41:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:41:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:41:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:41:26 prd-ubuntu20.04-docker-8c-8g-9536 does not seem to be running inside a container 13:41:26 $ 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-294/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-294 -v /w/workspace/gexfoundry_device-snmp-go_PR-294:/w/workspace/gexfoundry_device-snmp-go_PR-294:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-294@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-294@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 13:41:26 $ docker top c11ed55fb81913a3f24dc6b6cf2851b8eb07a5a2b7ad2159deb274abdeaf99a4 -eo pid,comm [Pipeline] { [Pipeline] sh 13:41:27 + touch /tmp/pre-build-complete [Pipeline] sh 13:41:27 + mkdir -p /var/log/sysstat [Pipeline] sh 13:41:27 + ls /var/log/sa-host 13:41:27 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:41:27 provisioning config files... 13:41:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-294@tmp/config50954484535958617tmp [Pipeline] { [Pipeline] echo 13:41:27 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:41:28 ---> create-netrc.sh [Pipeline] } 13:41:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:41:28 ---> python-tools-install.sh [Pipeline] echo 13:41:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:41:29 ---> sudo-logs.sh 13:41:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:41:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:41:29 ---> job-cost.sh 13:41:29 lf-activate-venv: SKIPPING 13:41:29 DEBUG: total: 0.2199999988079071 13:41:29 INFO: Retrieving Stack Cost... 13:41:29 INFO: Retrieving Pricing Info for: v3-standard-8 13:41:30 INFO: Archiving Costs [Pipeline] echo 13:41:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:41:30 ---> logs-deploy.sh 13:41:30 lf-activate-venv: SKIPPING 13:41:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-294/1 13:41:30 INFO: archiving workspace using pattern(s): 13:41:31 Archives upload complete. 13:41:31 INFO: archiving logs to Nexus