Pull request #313 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 cloudxxx8 for edgexfoundry/device-snmp-go Obtained Jenkinsfile from 6cef6eef2551145a8c072a8c6e65d25b681b21fb+d7cd9dae40349d09907f3e339684f9ff8e9b7fae (08ea657cdbc2b48e8869dbd57cdd030ff06f49af) 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-ssh8878750448492463719.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh6319550677639786452.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-313/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-313/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3124003563363857091.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-313/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6617720716577753220.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh2459009712807584989.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-313/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-313/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15369258586485965435.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 4fc256d9079ed2258907e613f84b1b8da264a4bd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-17266 in /w/workspace/gexfoundry_device-snmp-go_PR-313 [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-313 # 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 Merging remotes/origin/main commit d7cd9dae40349d09907f3e339684f9ff8e9b7fae into PR head commit 6cef6eef2551145a8c072a8c6e65d25b681b21fb Merge succeeded, producing 6cef6eef2551145a8c072a8c6e65d25b681b21fb Checking out Revision 6cef6eef2551145a8c072a8c6e65d25b681b21fb (PR-313) > 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/313/head:refs/remotes/origin/PR-313 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6cef6eef2551145a8c072a8c6e65d25b681b21fb # 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 d7cd9dae40349d09907f3e339684f9ff8e9b7fae # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6cef6eef2551145a8c072a8c6e65d25b681b21fb # timeout=10 Commit message: "docs: Update changelog for v3.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:35:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:35:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:35:09 ========================================================= 07:35:09 EdgeX Global Pipelines Version Info 07:35:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:35:10 ------------------- 07:35:10 stable info: 07:35:10 ------------------- 07:35:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:35:10 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 07:35:10 Message: update stable to v1.0.249 07:35:10 ------------------- 07:35:10 experimental info: 07:35:10 ------------------- 07:35:10 Commited By: **** collab-it+edgex@linuxfoundation.org 07:35:10 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 07:35:10 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:35:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 07:35:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 07:35:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:35:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:35:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:35:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 07:35:11 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:35:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:35:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:35:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:35:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:35:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 07:35:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:35:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:35:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:35:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:35:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:35:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:35:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:35:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:35:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:35:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:35:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:35:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:35:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:35:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:35:12 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:35:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-313 [Pipeline] echo 07:35:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-313 [Pipeline] echo 07:35:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-313 [Pipeline] echo 07:35:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6cef6eef2551145a8c072a8c6e65d25b681b21fb [Pipeline] echo 07:35:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6cef6ee [Pipeline] echo 07:35:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:35:12 provisioning config files... 07:35:12 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-313@tmp/config488547378045431959tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:35:12 ---> docker-login.sh 07:35:12 nexus3.edgexfoundry.org:10001 07:35:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:13 Configure a credential helper to remove this warning. See 07:35:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:13 07:35:13 Login Succeeded 07:35:13 nexus3.edgexfoundry.org:10002 07:35:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:13 Configure a credential helper to remove this warning. See 07:35:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:13 07:35:13 Login Succeeded 07:35:13 nexus3.edgexfoundry.org:10003 07:35:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:13 Configure a credential helper to remove this warning. See 07:35:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:13 07:35:13 Login Succeeded 07:35:13 nexus3.edgexfoundry.org:10004 07:35:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:13 Configure a credential helper to remove this warning. See 07:35:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:13 07:35:13 Login Succeeded 07:35:13 docker.io 07:35:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:13 Configure a credential helper to remove this warning. See 07:35:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:13 07:35:13 Login Succeeded 07:35:13 ---> docker-login.sh ends [Pipeline] } 07:35:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:35:14 + git rev-list -1 --merges 6cef6eef2551145a8c072a8c6e65d25b681b21fb~1..6cef6eef2551145a8c072a8c6e65d25b681b21fb [Pipeline] echo 07:35:14 -----------> git rev-list -1 --merges 6cef6eef2551145a8c072a8c6e65d25b681b21fb~1..6cef6eef2551145a8c072a8c6e65d25b681b21fb 6cef6eef2551145a8c072a8c6e65d25b681b21fb [false] [Pipeline] sh 07:35:14 + git log --format=format:%s -1 6cef6eef2551145a8c072a8c6e65d25b681b21fb [Pipeline] echo 07:35:14 ========================================================= 07:35:14 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:35:14 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:35:15 + git log --format=format:%s -1 6cef6eef2551145a8c072a8c6e65d25b681b21fb [Pipeline] echo 07:35:15 [semverPrep] GIT_COMMIT: 6cef6eef2551145a8c072a8c6e65d25b681b21fb, Commit Message: docs: Update changelog for v3.0 [Pipeline] echo 07:35:15 [semverPrep] This is not a build commit. [Pipeline] sh 07:35:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:35:15 + grep -v github /etc/ssh/ssh_known_hosts 07:35:15 + [ -e /tmp/ssh_known_hosts ] 07:35:15 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:35:15 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:35:15 + sudo tee -a /etc/ssh/ssh_known_hosts 07:35:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:35:16 07:35:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:35:16 0.1.4: Pulling from edgex-devops/py-git-semver 07:35:16 b85a868b505f: Pulling fs layer 07:35:16 e2be974225ed: Pulling fs layer 07:35:16 339a4e72a1f5: Pulling fs layer 07:35:16 988bab9f4d93: Pulling fs layer 07:35:16 1469e6f7b9e6: Pulling fs layer 07:35:16 eaf3925da568: Pulling fs layer 07:35:16 bab4dde63d76: Pulling fs layer 07:35:16 bde34c3a00c8: Pulling fs layer 07:35:16 b352a97aabf1: Pulling fs layer 07:35:16 988bab9f4d93: Waiting 07:35:16 1469e6f7b9e6: Waiting 07:35:16 eaf3925da568: Waiting 07:35:16 bab4dde63d76: Waiting 07:35:16 bde34c3a00c8: Waiting 07:35:16 4872d77fe225: Pulling fs layer 07:35:16 5851b861e8e6: Pulling fs layer 07:35:16 b352a97aabf1: Waiting 07:35:16 4872d77fe225: Waiting 07:35:16 e2be974225ed: Verifying Checksum 07:35:16 e2be974225ed: Download complete 07:35:16 988bab9f4d93: Download complete 07:35:16 1469e6f7b9e6: Verifying Checksum 07:35:16 1469e6f7b9e6: Download complete 07:35:16 339a4e72a1f5: Verifying Checksum 07:35:16 339a4e72a1f5: Download complete 07:35:16 eaf3925da568: Download complete 07:35:16 bde34c3a00c8: Download complete 07:35:16 b352a97aabf1: Verifying Checksum 07:35:16 b352a97aabf1: Download complete 07:35:16 4872d77fe225: Verifying Checksum 07:35:16 4872d77fe225: Download complete 07:35:16 5851b861e8e6: Verifying Checksum 07:35:16 5851b861e8e6: Download complete 07:35:16 b85a868b505f: Verifying Checksum 07:35:16 b85a868b505f: Download complete 07:35:16 bab4dde63d76: Verifying Checksum 07:35:17 b85a868b505f: Pull complete 07:35:17 e2be974225ed: Pull complete 07:35:18 339a4e72a1f5: Pull complete 07:35:18 988bab9f4d93: Pull complete 07:35:18 1469e6f7b9e6: Pull complete 07:35:18 eaf3925da568: Pull complete 07:35:20 bab4dde63d76: Pull complete 07:35:20 bde34c3a00c8: Pull complete 07:35:20 b352a97aabf1: Pull complete 07:35:20 4872d77fe225: Pull complete 07:35:20 5851b861e8e6: Pull complete 07:35:20 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:35:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:35:20 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:35:20 prd-ubuntu20.04-docker-8c-8g-17266 does not seem to be running inside a container 07:35:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-313 -v /w/workspace/gexfoundry_device-snmp-go_PR-313:/w/workspace/gexfoundry_device-snmp-go_PR-313:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-313@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-313@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 07:35:23 $ docker top 5eced95d7ac555c94f574aa3786558f628591811775fe2458392e0b114857007 -eo pid,comm 07:35:23 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). 07:35:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:35:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:35:23 [ssh-agent] Looking for ssh-agent implementation... 07:35:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:35:23 $ docker exec 5eced95d7ac555c94f574aa3786558f628591811775fe2458392e0b114857007 ssh-agent 07:35:23 SSH_AUTH_SOCK=/tmp/ssh-VEwPK1nJAP53/agent.33 07:35:23 SSH_AGENT_PID=39 07:35:23 Running ssh-add (command line suppressed) 07:35:23 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-313@tmp/private_key_13722192326390284574.key (/w/workspace/gexfoundry_device-snmp-go_PR-313@tmp/private_key_13722192326390284574.key) 07:35:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:35:24 + git tag --points-at HEAD [Pipeline] } 07:35:24 $ docker exec --env ******** --env ******** 5eced95d7ac555c94f574aa3786558f628591811775fe2458392e0b114857007 ssh-agent -k 07:35:24 unset SSH_AUTH_SOCK; 07:35:24 unset SSH_AGENT_PID; 07:35:24 echo Agent pid 39 killed; 07:35:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:35:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:35:24 [ssh-agent] Looking for ssh-agent implementation... 07:35:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:35:24 $ docker exec 5eced95d7ac555c94f574aa3786558f628591811775fe2458392e0b114857007 ssh-agent 07:35:24 SSH_AUTH_SOCK=/tmp/ssh-mU1omvO9Phq9/agent.71 07:35:24 SSH_AGENT_PID=77 07:35:24 Running ssh-add (command line suppressed) 07:35:24 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-313@tmp/private_key_7089798045599581616.key (/w/workspace/gexfoundry_device-snmp-go_PR-313@tmp/private_key_7089798045599581616.key) 07:35:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:35:25 + git semver init 07:35:25 2023-05-30 07:35:25,351 [run_init] DEBUG init version:0.0.0 force:False 07:35:25 2023-05-30 07:35:25,352 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-313/.semver 07:35:25 2023-05-30 07:35:25,352 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-313/.semver 07:35:25 2023-05-30 07:35:25,353 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-313/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-313, universal_newlines=False, shell=None, istream=None) 07:35:26 2023-05-30 07:35:26,117 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-313/.git/info/exclude 07:35:26 2023-05-30 07:35:26,118 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-313/.semver/PR-313 with force:False 07:35:26 2023-05-30 07:35:26,118 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-313/.semver/PR-313 07:35:26 2023-05-30 07:35:26,121 [execute] INFO git cat-file --batch-check 07:35:26 2023-05-30 07:35:26,121 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-313/.semver, universal_newlines=False, shell=None, istream=) 07:35:26 2023-05-30 07:35:26,127 [execute] INFO git cat-file --batch 07:35:26 2023-05-30 07:35:26,127 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-313/.semver, universal_newlines=False, shell=None, istream=) 07:35:26 2023-05-30 07:35:26,132 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-313/.semver/PR-313 07:35:26 0.0.0 [Pipeline] } 07:35:26 $ docker exec --env ******** --env ******** 5eced95d7ac555c94f574aa3786558f628591811775fe2458392e0b114857007 ssh-agent -k 07:35:26 unset SSH_AUTH_SOCK; 07:35:26 unset SSH_AGENT_PID; 07:35:26 echo Agent pid 77 killed; 07:35:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:35:27 + git semver [Pipeline] } 07:35:27 $ docker stop --time=1 5eced95d7ac555c94f574aa3786558f628591811775fe2458392e0b114857007 07:35:28 $ docker rm -f --volumes 5eced95d7ac555c94f574aa3786558f628591811775fe2458392e0b114857007 [Pipeline] // withDockerContainer [Pipeline] sh 07:35:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:35:29 Stashed 1 file(s) [Pipeline] echo 07:35:29 [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 07:35:29 provisioning config files... 07:35:30 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-313@tmp/config11716962437753049407tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:35:30 ---> docker-login.sh 07:35:30 nexus3.edgexfoundry.org:10001 07:35:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:30 Configure a credential helper to remove this warning. See 07:35:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:30 07:35:30 Login Succeeded 07:35:30 nexus3.edgexfoundry.org:10002 07:35:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:30 Configure a credential helper to remove this warning. See 07:35:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:30 07:35:30 Login Succeeded 07:35:30 nexus3.edgexfoundry.org:10003 07:35:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:30 Configure a credential helper to remove this warning. See 07:35:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:30 07:35:30 Login Succeeded 07:35:30 nexus3.edgexfoundry.org:10004 07:35:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:30 Configure a credential helper to remove this warning. See 07:35:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:30 07:35:30 Login Succeeded 07:35:30 docker.io 07:35:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:30 Configure a credential helper to remove this warning. See 07:35:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:30 07:35:30 Login Succeeded 07:35:30 ---> docker-login.sh ends [Pipeline] } 07:35:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:35:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:35:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:35:31 ========================================================= 07:35:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 07:35:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:31 + 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 . 07:35:31 Sending build context to Docker daemon 5.864MB 07:35:31 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 07:35:31 Step 2/12 : FROM ${BASE} AS builder 07:35:31 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 07:35:31 f56be85fc22e: Pulling fs layer 07:35:31 85791d961cd3: Pulling fs layer 07:35:31 d694b5ae8c79: Pulling fs layer 07:35:31 9f32a84ed3da: Pulling fs layer 07:35:31 4d19c01a9841: Pulling fs layer 07:35:31 9f32a84ed3da: Waiting 07:35:31 9325e15d5711: Pulling fs layer 07:35:31 556b6ee489ea: Pulling fs layer 07:35:31 4d19c01a9841: Waiting 07:35:31 9325e15d5711: Waiting 07:35:31 556b6ee489ea: Waiting 07:35:31 c5a4b2cf53e6: Pulling fs layer 07:35:31 c5a4b2cf53e6: Waiting 07:35:31 85791d961cd3: Verifying Checksum 07:35:31 85791d961cd3: Download complete 07:35:31 9f32a84ed3da: Verifying Checksum 07:35:31 9f32a84ed3da: Download complete 07:35:31 4d19c01a9841: Verifying Checksum 07:35:31 4d19c01a9841: Download complete 07:35:31 f56be85fc22e: Verifying Checksum 07:35:31 f56be85fc22e: Download complete 07:35:31 9325e15d5711: Verifying Checksum 07:35:31 9325e15d5711: Download complete 07:35:31 f56be85fc22e: Pull complete 07:35:32 85791d961cd3: Pull complete 07:35:32 c5a4b2cf53e6: Verifying Checksum 07:35:32 c5a4b2cf53e6: Download complete 07:35:32 d694b5ae8c79: Verifying Checksum 07:35:32 d694b5ae8c79: Download complete 07:35:32 556b6ee489ea: Verifying Checksum 07:35:32 556b6ee489ea: Download complete 07:35:35 d694b5ae8c79: Pull complete 07:35:35 9f32a84ed3da: Pull complete 07:35:36 4d19c01a9841: Pull complete 07:35:36 9325e15d5711: Pull complete 07:35:38 556b6ee489ea: Pull complete 07:35:39 c5a4b2cf53e6: Pull complete 07:35:39 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 07:35:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 07:35:39 ---> c4be618373d6 07:35:39 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:35:42 ---> Running in f0fd07b4daca 07:35:42 Removing intermediate container f0fd07b4daca 07:35:42 ---> 3dd745fff8f4 07:35:42 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:35:42 ---> Running in 1da615d47ea8 07:35:42 Removing intermediate container 1da615d47ea8 07:35:42 ---> 1e390f0fbd61 07:35:42 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:35:42 ---> Running in bcf53c9ec1b0 07:35:42 Removing intermediate container bcf53c9ec1b0 07:35:42 ---> df3f14bc6614 07:35:42 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:35:43 ---> Running in cb994ee6545d 07:35:43 Removing intermediate container cb994ee6545d 07:35:43 ---> ddae35385ed9 07:35:43 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:35:43 ---> Running in 59ec34a2e37f 07:35:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:35:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:35:43 (1/4) Installing openssh-keygen (9.1_p1-r3) 07:35:43 (2/4) Installing libedit (20221030.3.1-r0) 07:35:43 (3/4) Installing openssh-client-common (9.1_p1-r3) 07:35:44 (4/4) Installing openssh-client-default (9.1_p1-r3) 07:35:44 Executing busybox-1.35.0-r29.trigger 07:35:44 OK: 269 MiB in 57 packages 07:35:44 Removing intermediate container 59ec34a2e37f 07:35:44 ---> f92613454cdd 07:35:44 Step 8/12 : WORKDIR /device-snmp-go 07:35:44 ---> Running in eac210be79b4 07:35:44 Removing intermediate container eac210be79b4 07:35:44 ---> 075c54c8071c 07:35:44 Step 9/12 : COPY go.mod vendor* ./ 07:35:44 ---> 9a458d2db65d 07:35:44 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:35:44 ---> Running in 858b82883174 07:35:44 Still waiting to schedule task 07:35:44 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 07:36:11 Removing intermediate container 858b82883174 07:36:11 ---> adafd3e96366 07:36:11 Step 11/12 : COPY . . 07:36:11 ---> 791fe9520e25 07:36:11 Step 12/12 : RUN ${MAKE} 07:36:11 ---> Running in 12603b6830da 07:36:11 noop 07:36:11 Removing intermediate container 12603b6830da 07:36:11 ---> 87049c501917 07:36:11 Successfully built 87049c501917 07:36:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:36:11 + docker inspect -f . ci-base-image-x86_64 07:36:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:36:11 prd-ubuntu20.04-docker-8c-8g-17266 does not seem to be running inside a container 07:36:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-313 -v /w/workspace/gexfoundry_device-snmp-go_PR-313:/w/workspace/gexfoundry_device-snmp-go_PR-313:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-313@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-313@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 07:36:12 $ docker top 52b2bfe3b7a1604b78968e31ac79f197fbb1df17917f8f377c0ebc41acd5f28c -eo pid,comm [Pipeline] { [Pipeline] sh 07:36:12 + go version 07:36:12 go version go1.20.2 linux/amd64 [Pipeline] } 07:36:12 $ docker stop --time=1 52b2bfe3b7a1604b78968e31ac79f197fbb1df17917f8f377c0ebc41acd5f28c 07:36:14 $ docker rm -f --volumes 52b2bfe3b7a1604b78968e31ac79f197fbb1df17917f8f377c0ebc41acd5f28c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:36:14 + docker inspect -f . ci-base-image-x86_64 07:36:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:36:15 prd-ubuntu20.04-docker-8c-8g-17266 does not seem to be running inside a container 07:36:15 $ 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-313 -v /w/workspace/gexfoundry_device-snmp-go_PR-313:/w/workspace/gexfoundry_device-snmp-go_PR-313:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-313@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-313@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 07:36:15 $ docker top bf27bcc73ee2112fdf1e6a1f3dd7966ea7c2146c3f0b7fd6160d747111da33d3 -eo pid,comm [Pipeline] { [Pipeline] sh 07:36:15 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-313 [Pipeline] fileExists [Pipeline] sh 07:36:16 + make test 07:36:16 go test ./... -coverprofile=coverage.out 07:36:20 ? github.com/edgexfoundry/device-snmp-go [no test files] 07:36:30 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 07:36:30 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.013s coverage: 0.0% of statements 07:36:36 go vet ./... 07:36:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:36:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:36:41 ./bin/test-attribution-txt.sh [Pipeline] echo 07:36:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:36:41 $ docker stop --time=1 bf27bcc73ee2112fdf1e6a1f3dd7966ea7c2146c3f0b7fd6160d747111da33d3 07:36:44 $ docker rm -f --volumes bf27bcc73ee2112fdf1e6a1f3dd7966ea7c2146c3f0b7fd6160d747111da33d3 [Pipeline] // withDockerContainer [Pipeline] sh 07:36:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:36:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:36:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:36:45 + ls -al . 07:36:45 total 172 07:36:45 drwxrwxr-x 9 jenkins jenkins 4096 May 30 07:36 . 07:36:45 drwxrwxr-x 4 jenkins jenkins 4096 May 30 07:35 .. 07:36:45 -rw-rw-r-- 1 jenkins jenkins 6 May 30 07:35 .dockerignore 07:36:45 drwxrwxr-x 8 jenkins jenkins 4096 May 30 07:35 .git 07:36:45 drwxrwxr-x 3 jenkins jenkins 4096 May 30 07:35 .github 07:36:45 -rw-rw-r-- 1 jenkins jenkins 328 May 30 07:35 .gitignore 07:36:45 -rw-rw-r-- 1 jenkins jenkins 41 May 30 07:35 .golangci.yml 07:36:45 drwxr-xr-x 3 jenkins jenkins 4096 May 30 07:35 .semver 07:36:45 -rw-rw-r-- 1 jenkins jenkins 9056 May 30 07:35 Attribution.txt 07:36:45 -rw-rw-r-- 1 jenkins jenkins 10534 May 30 07:35 CHANGELOG.md 07:36:45 -rw-rw-r-- 1 jenkins jenkins 1423 May 30 07:35 Dockerfile 07:36:45 -rw-rw-r-- 1 jenkins jenkins 677 May 30 07:35 GOVERNANCE.md 07:36:45 -rw-rw-r-- 1 jenkins jenkins 656 May 30 07:35 Jenkinsfile 07:36:45 -rw-rw-r-- 1 jenkins jenkins 11340 May 30 07:35 LICENSE 07:36:45 -rw-rw-r-- 1 jenkins jenkins 2114 May 30 07:35 Makefile 07:36:45 -rw-rw-r-- 1 jenkins jenkins 620 May 30 07:35 OWNERS.md 07:36:45 -rw-rw-r-- 1 jenkins jenkins 10054 May 30 07:35 README.md 07:36:45 -rw-rw-r-- 1 jenkins jenkins 5 May 30 07:35 VERSION 07:36:45 drwxrwxr-x 2 jenkins jenkins 4096 May 30 07:35 bin 07:36:45 drwxrwxr-x 3 jenkins jenkins 4096 May 30 07:35 cmd 07:36:45 -rw-r--r-- 1 jenkins jenkins 8837 May 30 07:36 coverage.out 07:36:45 -rw-rw-r-- 1 jenkins jenkins 3235 May 30 07:35 go.mod 07:36:45 -rw-rw-r-- 1 jenkins jenkins 31230 May 30 07:35 go.sum 07:36:45 drwxrwxr-x 3 jenkins jenkins 4096 May 30 07:35 internal 07:36:45 drwxrwxr-x 4 jenkins jenkins 4096 May 30 07:35 snap 07:36:45 -rw-rw-r-- 1 jenkins jenkins 228 May 30 07:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:36:46 + 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=6cef6eef2551145a8c072a8c6e65d25b681b21fb --label arch=amd64 --label version=0.0.0 . 07:36:46 Sending build context to Docker daemon 5.874MB 07:36:46 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 07:36:46 Step 2/24 : FROM ${BASE} AS builder 07:36:46 ---> 87049c501917 07:36:46 Step 3/24 : ARG ADD_BUILD_TAGS="" 07:36:46 ---> Running in ffe49f8e16fb 07:36:46 Removing intermediate container ffe49f8e16fb 07:36:46 ---> 6f0e97e08be8 07:36:46 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:36:46 ---> Running in b308b641a89a 07:36:46 Removing intermediate container b308b641a89a 07:36:46 ---> 60be5073a8be 07:36:46 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:36:46 ---> Running in 58303b6c6170 07:36:46 Removing intermediate container 58303b6c6170 07:36:46 ---> 84d1e94e4b09 07:36:46 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 07:36:46 ---> Running in 1f41dba545d8 07:36:46 Removing intermediate container 1f41dba545d8 07:36:46 ---> d508aebd30f5 07:36:46 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:36:46 ---> Running in e4644c628a30 07:36:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:36:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:36:47 OK: 269 MiB in 57 packages 07:36:47 Removing intermediate container e4644c628a30 07:36:47 ---> eac0af030bc9 07:36:47 Step 8/24 : WORKDIR /device-snmp-go 07:36:47 ---> Running in fbd4f7aa5fde 07:36:47 Removing intermediate container fbd4f7aa5fde 07:36:47 ---> 07e86be0666f 07:36:47 Step 9/24 : COPY go.mod vendor* ./ 07:36:47 ---> 2a198f765263 07:36:47 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:36:47 ---> Running in 803e902ef46e 07:36:48 Removing intermediate container 803e902ef46e 07:36:48 ---> c96e124dadae 07:36:48 Step 11/24 : COPY . . 07:36:49 ---> 751827afe02f 07:36:49 Step 12/24 : RUN ${MAKE} 07:36:49 ---> Running in 95f46a2070db 07:36:49 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 07:37:11 Removing intermediate container 95f46a2070db 07:37:11 ---> fe3f274aff43 07:37:11 Step 13/24 : FROM alpine:3.17 07:37:11 3.17: Pulling from library/alpine 07:37:11 f56be85fc22e: Already exists 07:37:11 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 07:37:11 Status: Downloaded newer image for alpine:3.17 07:37:11 ---> 9ed4aefc74f6 07:37:11 Step 14/24 : RUN apk add --update --no-cache dumb-init 07:37:11 ---> Running in 1aea9952a2e5 07:37:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:37:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:37:11 (1/1) Installing dumb-init (1.2.5-r2) 07:37:11 Executing busybox-1.35.0-r29.trigger 07:37:11 OK: 7 MiB in 16 packages 07:37:11 Removing intermediate container 1aea9952a2e5 07:37:11 ---> 2027705da70a 07:37:11 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 07:37:11 ---> be2b8c7f9899 07:37:11 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 07:37:11 ---> f31e4cce5cbc 07:37:11 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 07:37:11 ---> 8b2d44e7be08 07:37:11 Step 18/24 : EXPOSE 59993 07:37:11 ---> Running in 170f5bae6a9d 07:37:11 Removing intermediate container 170f5bae6a9d 07:37:11 ---> 3c0fc5376836 07:37:11 Step 19/24 : EXPOSE 161 07:37:11 ---> Running in 051dbdd51936 07:37:11 Removing intermediate container 051dbdd51936 07:37:11 ---> a80cc439e9cc 07:37:11 Step 20/24 : ENTRYPOINT ["/device-snmp"] 07:37:11 ---> Running in 6f552f4b5c90 07:37:11 Removing intermediate container 6f552f4b5c90 07:37:11 ---> 7b1f51efaf35 07:37:11 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 07:37:11 ---> Running in ff2f6f8b5200 07:37:12 Removing intermediate container ff2f6f8b5200 07:37:12 ---> dd42edf8a2dd 07:37:12 Step 22/24 : LABEL arch=amd64 07:37:12 ---> Running in ef5a5f51d6ef 07:37:12 Removing intermediate container ef5a5f51d6ef 07:37:12 ---> 189a2d6f6f90 07:37:12 Step 23/24 : LABEL git_sha=6cef6eef2551145a8c072a8c6e65d25b681b21fb 07:37:12 ---> Running in f5b4f3a8a515 07:37:12 Removing intermediate container f5b4f3a8a515 07:37:12 ---> b3ef1ec9a6c3 07:37:12 Step 24/24 : LABEL version=0.0.0 07:37:12 ---> Running in 4d64bb6d150a 07:37:12 Removing intermediate container 4d64bb6d150a 07:37:12 ---> 62b0cfaa0d68 07:37:12 [Warning] One or more build-args [ARCH] were not consumed 07:37:12 Successfully built 62b0cfaa0d68 07:37:12 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 07:37:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:37:13 07:37:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:37:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:37:13 latest: Pulling from edgex-lftools-log-publisher 07:37:13 5eb5b503b376: Pulling fs layer 07:37:13 5c69ac0246d0: Pulling fs layer 07:37:13 ec43610c2a17: Pulling fs layer 07:37:13 3a2ae6a8a46f: Pulling fs layer 07:37:13 33b1e0a273af: Pulling fs layer 07:37:13 5d3b04190fa2: Pulling fs layer 07:37:13 2f39f015ded8: Pulling fs layer 07:37:13 3a2ae6a8a46f: Waiting 07:37:13 33b1e0a273af: Waiting 07:37:13 5d3b04190fa2: Waiting 07:37:13 2f39f015ded8: Waiting 07:37:13 5c69ac0246d0: Download complete 07:37:13 3a2ae6a8a46f: Verifying Checksum 07:37:13 3a2ae6a8a46f: Download complete 07:37:13 33b1e0a273af: Verifying Checksum 07:37:13 33b1e0a273af: Download complete 07:37:13 5d3b04190fa2: Download complete 07:37:13 ec43610c2a17: Verifying Checksum 07:37:13 ec43610c2a17: Download complete 07:37:14 5eb5b503b376: Verifying Checksum 07:37:14 5eb5b503b376: Download complete 07:37:14 2f39f015ded8: Download complete 07:37:15 5eb5b503b376: Pull complete 07:37:15 5c69ac0246d0: Pull complete 07:37:15 ec43610c2a17: Pull complete 07:37:16 3a2ae6a8a46f: Pull complete 07:37:16 33b1e0a273af: Pull complete 07:37:16 5d3b04190fa2: Pull complete 07:37:20 2f39f015ded8: Pull complete 07:37:20 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:37:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:37:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:37:20 prd-ubuntu20.04-docker-8c-8g-17266 does not seem to be running inside a container 07:37:20 $ 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-313 -v /w/workspace/gexfoundry_device-snmp-go_PR-313:/w/workspace/gexfoundry_device-snmp-go_PR-313:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-313@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-313@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 07:37:25 $ docker top 67ffc5e88fb2348a69d3eec29cfc5bff17bcaa2d56b298b278410a92b58dcbf0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:37:25 ---> job-cost.sh 07:37:25 lf-activate-venv: SKIPPING 07:37:25 INFO: No Stack... 07:37:25 INFO: Retrieving Pricing Info for: v3-standard-8 07:37:26 INFO: Archiving Costs [Pipeline] sh 07:37:26 + cat /w/workspace/gexfoundry_device-snmp-go_PR-313/archives/cost.csv 07:37:26 + cut -d, -f6 [Pipeline] lock 07:37:26 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-313-1-stack-cost] 07:37:26 Resource [jenkins-edgexfoundry-device-snmp-go-PR-313-1-stack-cost] did not exist. Created. 07:37:26 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-313-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:37:26 + echo total: 0.2199999988079071 [Pipeline] stash 07:37:27 Stashed 1 file(s) [Pipeline] } 07:37:27 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-313-1-stack-cost] [Pipeline] // lock [Pipeline] } 07:37:27 $ docker stop --time=1 67ffc5e88fb2348a69d3eec29cfc5bff17bcaa2d56b298b278410a92b58dcbf0 07:37:28 $ docker rm -f --volumes 67ffc5e88fb2348a69d3eec29cfc5bff17bcaa2d56b298b278410a92b58dcbf0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:38:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17267 in /w/workspace/gexfoundry_device-snmp-go_PR-313 [Pipeline] { [Pipeline] ws 07:38:32 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 07:38:32 Selected Git installation does not exist. Using Default 07:38:32 The recommended git tool is: NONE 07:38:43 using credential edgex-jenkins-ssh 07:38:43 Cloning the remote Git repository 07:38:43 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 07:38:43 > git init /w/workspace/device-snmp-go/1 # timeout=10 07:38:44 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 07:38:44 > git --version # timeout=10 07:38:44 > git --version # 'git version 2.25.1' 07:38:44 using GIT_SSH to set credentials SSH Credentials for GitHub 07:38:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:38:45 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 07:38:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:38:46 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 07:38:46 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 07:38:46 using GIT_SSH to set credentials SSH Credentials for GitHub 07:38:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/313/head:refs/remotes/origin/PR-313 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:38:47 Merging remotes/origin/main commit d7cd9dae40349d09907f3e339684f9ff8e9b7fae into PR head commit 6cef6eef2551145a8c072a8c6e65d25b681b21fb 07:38:47 > git config core.sparsecheckout # timeout=10 07:38:47 > git checkout -f 6cef6eef2551145a8c072a8c6e65d25b681b21fb # timeout=10 07:38:47 > git remote # timeout=10 07:38:50 Merge succeeded, producing 6cef6eef2551145a8c072a8c6e65d25b681b21fb 07:38:50 Checking out Revision 6cef6eef2551145a8c072a8c6e65d25b681b21fb (PR-313) 07:38:50 > git config --get remote.origin.url # timeout=10 07:38:50 using GIT_SSH to set credentials SSH Credentials for GitHub 07:38:50 > git merge d7cd9dae40349d09907f3e339684f9ff8e9b7fae # timeout=10 07:38:50 > git rev-parse HEAD^{commit} # timeout=10 07:38:50 > git config core.sparsecheckout # timeout=10 07:38:50 > git checkout -f 6cef6eef2551145a8c072a8c6e65d25b681b21fb # timeout=10 07:38:54 Commit message: "docs: Update changelog for v3.0" 07:38:54 > git --version # timeout=10 07:38:54 > git --version # 'git version 2.25.1' 07:38:54 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:38:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:38:55 % Total % Received % Xferd Average Speed Time Time Time Current 07:38:55 Dload Upload Total Spent Left Speed 07:38:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 104k 0 --:--:-- --:--:-- --:--:-- 105k [Pipeline] sh 07:38:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:38:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:38:56 + sudo tee /etc/docker/daemon.new 07:38:56 { 07:38:56 "registry-mirrors": [ 07:38:56 "https://nexus3.edgexfoundry.org:10001" 07:38:56 ], 07:38:56 "bip": "10.250.0.254/24", 07:38:56 "hosts": [ 07:38:56 "tcp://0.0.0.0:5555", 07:38:56 "unix:///var/run/docker.sock" 07:38:56 ], 07:38:56 "mtu": 1458, 07:38:56 "selinux-enabled": true, 07:38:56 "seccomp-profile": "/etc/docker/seccomp.json" 07:38:56 } [Pipeline] sh 07:38:57 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:38:57 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:39:16 provisioning config files... 07:39:16 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config7716507403746186214tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:39:16 ---> docker-login.sh 07:39:16 nexus3.edgexfoundry.org:10001 07:39:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:39:17 Configure a credential helper to remove this warning. See 07:39:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:39:17 07:39:17 Login Succeeded 07:39:17 nexus3.edgexfoundry.org:10002 07:39:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:39:17 Configure a credential helper to remove this warning. See 07:39:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:39:17 07:39:17 Login Succeeded 07:39:17 nexus3.edgexfoundry.org:10003 07:39:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:39:18 Configure a credential helper to remove this warning. See 07:39:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:39:18 07:39:18 Login Succeeded 07:39:18 nexus3.edgexfoundry.org:10004 07:39:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:39:18 Configure a credential helper to remove this warning. See 07:39:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:39:18 07:39:18 Login Succeeded 07:39:18 docker.io 07:39:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:39:18 Configure a credential helper to remove this warning. See 07:39:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:39:18 07:39:18 Login Succeeded 07:39:18 ---> docker-login.sh ends [Pipeline] } 07:39:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:39:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:39:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:39:19 ========================================================= 07:39:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 07:39:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:19 + 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 . 07:39:20 Sending build context to Docker daemon 3.044MB 07:39:20 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 07:39:20 Step 2/12 : FROM ${BASE} AS builder 07:39:20 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:39:20 c41833b44d91: Pulling fs layer 07:39:20 ed15518f5707: Pulling fs layer 07:39:20 feae8fd75edb: Pulling fs layer 07:39:20 242c74f7c9fa: Pulling fs layer 07:39:20 3cdef696dda3: Pulling fs layer 07:39:20 2ced38df9373: Pulling fs layer 07:39:20 58f1dce35555: Pulling fs layer 07:39:20 242c74f7c9fa: Waiting 07:39:20 3cdef696dda3: Waiting 07:39:20 2ced38df9373: Waiting 07:39:20 58f1dce35555: Waiting 07:39:20 ed15518f5707: Verifying Checksum 07:39:20 ed15518f5707: Download complete 07:39:20 242c74f7c9fa: Verifying Checksum 07:39:20 242c74f7c9fa: Download complete 07:39:20 3cdef696dda3: Verifying Checksum 07:39:20 3cdef696dda3: Download complete 07:39:20 c41833b44d91: Verifying Checksum 07:39:20 c41833b44d91: Download complete 07:39:21 c41833b44d91: Pull complete 07:39:21 58f1dce35555: Verifying Checksum 07:39:21 58f1dce35555: Download complete 07:39:21 ed15518f5707: Pull complete 07:39:22 2ced38df9373: Verifying Checksum 07:39:22 2ced38df9373: Download complete 07:39:22 feae8fd75edb: Verifying Checksum 07:39:22 feae8fd75edb: Download complete 07:39:35 feae8fd75edb: Pull complete 07:39:35 242c74f7c9fa: Pull complete 07:39:35 3cdef696dda3: Pull complete 07:39:41 2ced38df9373: Pull complete 07:39:43 58f1dce35555: Pull complete 07:39:43 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 07:39:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 07:39:43 ---> fadd8f120f05 07:39:43 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:39:47 ---> Running in 6bcfcf0cc054 07:39:47 Removing intermediate container 6bcfcf0cc054 07:39:47 ---> 3adfc0f8a6fc 07:39:47 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:39:47 ---> Running in 23ca074e560e 07:39:47 Removing intermediate container 23ca074e560e 07:39:47 ---> cf9ed11c2e95 07:39:47 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:39:47 ---> Running in 6ffccb3e1377 07:39:48 Removing intermediate container 6ffccb3e1377 07:39:48 ---> 57e84b51d8ef 07:39:48 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:39:48 ---> Running in 8f7ee2ba239e 07:39:48 Removing intermediate container 8f7ee2ba239e 07:39:48 ---> 50a0d6b7d30a 07:39:48 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:39:48 ---> Running in ea55c88abba8 07:39:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:39:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:39:50 (1/4) Installing openssh-keygen (9.1_p1-r3) 07:39:50 (2/4) Installing libedit (20221030.3.1-r0) 07:39:50 (3/4) Installing openssh-client-common (9.1_p1-r3) 07:39:50 (4/4) Installing openssh-client-default (9.1_p1-r3) 07:39:51 Executing busybox-1.35.0-r29.trigger 07:39:51 OK: 268 MiB in 57 packages 07:39:52 Removing intermediate container ea55c88abba8 07:39:52 ---> b708ae957e6b 07:39:52 Step 8/12 : WORKDIR /device-snmp-go 07:39:52 ---> Running in 4694896532a9 07:39:52 Removing intermediate container 4694896532a9 07:39:52 ---> dbedaf451826 07:39:52 Step 9/12 : COPY go.mod vendor* ./ 07:39:52 ---> 5abaef77f40c 07:39:52 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:39:52 ---> Running in 403c837a583f 07:40:49 Removing intermediate container 403c837a583f 07:40:49 ---> 1005f1ac9998 07:40:49 Step 11/12 : COPY . . 07:40:50 ---> 6aec20a719e0 07:40:50 Step 12/12 : RUN ${MAKE} 07:40:50 ---> Running in 4f2ec4d88b1b 07:40:51 noop 07:40:52 Removing intermediate container 4f2ec4d88b1b 07:40:52 ---> 88de8b85dd31 07:40:52 Successfully built 88de8b85dd31 07:40:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:52 + docker inspect -f . ci-base-image-arm64 07:40:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:40:52 prd-ubuntu20.04-docker-arm64-4c-16g-17267 does not seem to be running inside a container 07:40:52 $ 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 07:40:54 $ docker top b3d584647de3dc70eda749bb6ccf2da166e85bdb41579f98552f22fe174f2911 -eo pid,comm [Pipeline] { [Pipeline] sh 07:40:55 + go version 07:40:55 go version go1.20.2 linux/arm64 [Pipeline] } 07:40:55 $ docker stop --time=1 b3d584647de3dc70eda749bb6ccf2da166e85bdb41579f98552f22fe174f2911 07:40:56 $ docker rm -f --volumes b3d584647de3dc70eda749bb6ccf2da166e85bdb41579f98552f22fe174f2911 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:57 + docker inspect -f . ci-base-image-arm64 07:40:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:40:58 prd-ubuntu20.04-docker-arm64-4c-16g-17267 does not seem to be running inside a container 07:40:58 $ 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 07:40:59 $ docker top 9297f9834a588d42a32bf3ac3e4565466ba6f4f9c1708541d8688197dea5e486 -eo pid,comm [Pipeline] { [Pipeline] sh 07:40:59 + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh 07:41:00 + make test 07:41:00 go test ./... -coverprofile=coverage.out 07:41:32 ? github.com/edgexfoundry/device-snmp-go [no test files] 07:43:09 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 07:43:11 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.047s coverage: 0.0% of statements 07:43:11 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:43:11 go vet ./... 07:43:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:43:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:43:38 ./bin/test-attribution-txt.sh [Pipeline] echo 07:43:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:43:38 $ docker stop --time=1 9297f9834a588d42a32bf3ac3e4565466ba6f4f9c1708541d8688197dea5e486 07:43:40 $ docker rm -f --volumes 9297f9834a588d42a32bf3ac3e4565466ba6f4f9c1708541d8688197dea5e486 [Pipeline] // withDockerContainer [Pipeline] sh 07:43:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:43:41 Warning: overwriting stash ‘coverage-report’ 07:43:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:43:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:43:42 + ls -al . 07:43:42 total 168 07:43:42 drwxrwxr-x 8 jenkins jenkins 4096 May 30 07:41 . 07:43:42 drwxrwxr-x 4 jenkins jenkins 4096 May 30 07:38 .. 07:43:42 -rw-rw-r-- 1 jenkins jenkins 6 May 30 07:38 .dockerignore 07:43:42 drwxrwxr-x 8 jenkins jenkins 4096 May 30 07:38 .git 07:43:42 drwxrwxr-x 3 jenkins jenkins 4096 May 30 07:38 .github 07:43:42 -rw-rw-r-- 1 jenkins jenkins 328 May 30 07:38 .gitignore 07:43:42 -rw-rw-r-- 1 jenkins jenkins 41 May 30 07:38 .golangci.yml 07:43:42 -rw-rw-r-- 1 jenkins jenkins 9056 May 30 07:38 Attribution.txt 07:43:42 -rw-rw-r-- 1 jenkins jenkins 10534 May 30 07:38 CHANGELOG.md 07:43:42 -rw-rw-r-- 1 jenkins jenkins 1423 May 30 07:38 Dockerfile 07:43:42 -rw-rw-r-- 1 jenkins jenkins 677 May 30 07:38 GOVERNANCE.md 07:43:42 -rw-rw-r-- 1 jenkins jenkins 656 May 30 07:38 Jenkinsfile 07:43:42 -rw-rw-r-- 1 jenkins jenkins 11340 May 30 07:38 LICENSE 07:43:42 -rw-rw-r-- 1 jenkins jenkins 2114 May 30 07:38 Makefile 07:43:42 -rw-rw-r-- 1 jenkins jenkins 620 May 30 07:38 OWNERS.md 07:43:42 -rw-rw-r-- 1 jenkins jenkins 10054 May 30 07:38 README.md 07:43:42 -rw-rw-r-- 1 jenkins jenkins 5 May 30 07:35 VERSION 07:43:42 drwxrwxr-x 2 jenkins jenkins 4096 May 30 07:38 bin 07:43:42 drwxrwxr-x 3 jenkins jenkins 4096 May 30 07:38 cmd 07:43:42 -rw-r--r-- 1 jenkins jenkins 8837 May 30 07:43 coverage.out 07:43:42 -rw-rw-r-- 1 jenkins jenkins 3235 May 30 07:38 go.mod 07:43:42 -rw-rw-r-- 1 jenkins jenkins 31230 May 30 07:38 go.sum 07:43:42 drwxrwxr-x 3 jenkins jenkins 4096 May 30 07:38 internal 07:43:42 drwxrwxr-x 4 jenkins jenkins 4096 May 30 07:38 snap 07:43:42 -rw-rw-r-- 1 jenkins jenkins 228 May 30 07:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:43:42 + 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=6cef6eef2551145a8c072a8c6e65d25b681b21fb --label arch=arm64 --label version=0.0.0 . 07:43:43 Sending build context to Docker daemon 3.054MB 07:43:43 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 07:43:43 Step 2/24 : FROM ${BASE} AS builder 07:43:43 ---> 88de8b85dd31 07:43:43 Step 3/24 : ARG ADD_BUILD_TAGS="" 07:43:43 ---> Running in 0ce97d5026e1 07:43:43 Removing intermediate container 0ce97d5026e1 07:43:43 ---> d8b643ee7d31 07:43:43 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:43:43 ---> Running in 53ef4e6fbba2 07:43:44 Removing intermediate container 53ef4e6fbba2 07:43:44 ---> 92bcb555eabc 07:43:44 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:43:44 ---> Running in edd419a3867d 07:43:44 Removing intermediate container edd419a3867d 07:43:44 ---> b43b6cea5a72 07:43:44 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 07:43:44 ---> Running in 964d2bc3f01f 07:43:44 Removing intermediate container 964d2bc3f01f 07:43:44 ---> 2f33ea14d1e9 07:43:44 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:43:44 ---> Running in e5a2bb5c57f6 07:43:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:43:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:43:47 OK: 268 MiB in 57 packages 07:43:48 Removing intermediate container e5a2bb5c57f6 07:43:48 ---> 5e1590b32d08 07:43:48 Step 8/24 : WORKDIR /device-snmp-go 07:43:48 ---> Running in 0417d9b24229 07:43:48 Removing intermediate container 0417d9b24229 07:43:48 ---> c532e458b4e4 07:43:48 Step 9/24 : COPY go.mod vendor* ./ 07:43:48 ---> 3981d7f4fce6 07:43:48 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:43:48 ---> Running in e17b5c384b30 07:43:51 Removing intermediate container e17b5c384b30 07:43:51 ---> 7bf2e2ccbe93 07:43:51 Step 11/24 : COPY . . 07:43:52 ---> 6b61fe47c3a0 07:43:52 Step 12/24 : RUN ${MAKE} 07:43:52 ---> Running in da534310053b 07:43:53 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 07:45:59 Removing intermediate container da534310053b 07:45:59 ---> 2b6444549563 07:45:59 Step 13/24 : FROM alpine:3.17 07:45:59 3.17: Pulling from library/alpine 07:45:59 c41833b44d91: Already exists 07:45:59 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 07:45:59 Status: Downloaded newer image for alpine:3.17 07:45:59 ---> 51e60588ff2c 07:45:59 Step 14/24 : RUN apk add --update --no-cache dumb-init 07:45:59 ---> Running in ecb6ead48c48 07:45:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:45:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:45:59 (1/1) Installing dumb-init (1.2.5-r2) 07:45:59 Executing busybox-1.35.0-r29.trigger 07:45:59 OK: 8 MiB in 16 packages 07:46:00 Removing intermediate container ecb6ead48c48 07:46:00 ---> 718e8687cf7c 07:46:00 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 07:46:02 ---> ff944f8459c5 07:46:02 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 07:46:03 ---> b848934b72e8 07:46:03 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 07:46:03 ---> b14570ff226c 07:46:03 Step 18/24 : EXPOSE 59993 07:46:03 ---> Running in 482e9e64dcd6 07:46:04 Removing intermediate container 482e9e64dcd6 07:46:04 ---> 7f8cd979c93c 07:46:04 Step 19/24 : EXPOSE 161 07:46:04 ---> Running in 31eb8cc056d5 07:46:04 Removing intermediate container 31eb8cc056d5 07:46:04 ---> f6d47a395a7d 07:46:04 Step 20/24 : ENTRYPOINT ["/device-snmp"] 07:46:04 ---> Running in 9133391e9275 07:46:04 Removing intermediate container 9133391e9275 07:46:04 ---> 4a1abddd9d90 07:46:04 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 07:46:04 ---> Running in 261215e6e72e 07:46:05 Removing intermediate container 261215e6e72e 07:46:05 ---> b155bb96ff2a 07:46:05 Step 22/24 : LABEL arch=arm64 07:46:05 ---> Running in ab5b2626640b 07:46:05 Removing intermediate container ab5b2626640b 07:46:05 ---> c38c9268c293 07:46:05 Step 23/24 : LABEL git_sha=6cef6eef2551145a8c072a8c6e65d25b681b21fb 07:46:05 ---> Running in cca189d90ffa 07:46:05 Removing intermediate container cca189d90ffa 07:46:05 ---> 37d90dc6e8f4 07:46:05 Step 24/24 : LABEL version=0.0.0 07:46:05 ---> Running in 1b26e8f72ffa 07:46:06 Removing intermediate container 1b26e8f72ffa 07:46:06 ---> 4d8ab6d46c09 07:46:06 [Warning] One or more build-args [ARCH] were not consumed 07:46:06 Successfully built 4d8ab6d46c09 07:46:06 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 07:46:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:46:07 07:46:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:46:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:46:07 arm64: Pulling from edgex-lftools-log-publisher 07:46:07 8998bd30e6a1: Pulling fs layer 07:46:07 04944245beec: Pulling fs layer 07:46:07 699f458cf7ca: Pulling fs layer 07:46:07 765212b225bb: Pulling fs layer 07:46:07 f23df028b6ca: Pulling fs layer 07:46:07 d65c8cfc05b1: Pulling fs layer 07:46:07 2437ff75d9bd: Pulling fs layer 07:46:07 765212b225bb: Waiting 07:46:07 f23df028b6ca: Waiting 07:46:07 d65c8cfc05b1: Waiting 07:46:07 2437ff75d9bd: Waiting 07:46:07 04944245beec: Verifying Checksum 07:46:07 04944245beec: Download complete 07:46:07 765212b225bb: Download complete 07:46:07 f23df028b6ca: Verifying Checksum 07:46:07 f23df028b6ca: Download complete 07:46:07 d65c8cfc05b1: Verifying Checksum 07:46:07 d65c8cfc05b1: Download complete 07:46:07 699f458cf7ca: Verifying Checksum 07:46:07 699f458cf7ca: Download complete 07:46:09 8998bd30e6a1: Verifying Checksum 07:46:09 8998bd30e6a1: Download complete 07:46:11 2437ff75d9bd: Verifying Checksum 07:46:11 2437ff75d9bd: Download complete 07:46:12 8998bd30e6a1: Pull complete 07:46:12 04944245beec: Pull complete 07:46:13 699f458cf7ca: Pull complete 07:46:13 765212b225bb: Pull complete 07:46:15 f23df028b6ca: Pull complete 07:46:15 d65c8cfc05b1: Pull complete 07:46:30 2437ff75d9bd: Pull complete 07:46:30 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:46:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:46:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:46:31 prd-ubuntu20.04-docker-arm64-4c-16g-17267 does not seem to be running inside a container 07:46:31 $ 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 07:46:33 $ docker top 201fdccd562526478302d7fd651201898414c2cc27a05a7e2c36a8cd547a82e1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:46:34 ---> job-cost.sh 07:46:34 lf-activate-venv: SKIPPING 07:46:34 INFO: No Stack... 07:46:34 INFO: Retrieving Pricing Info for: v3-standard-4 07:46:35 INFO: Archiving Costs [Pipeline] sh 07:46:36 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 07:46:36 + cut -d, -f6 [Pipeline] lock 07:46:36 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-313-1-stack-cost] 07:46:36 Resource [jenkins-edgexfoundry-device-snmp-go-PR-313-1-stack-cost] did not exist. Created. 07:46:36 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-313-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:46:36 /w/workspace/device-snmp-go/1@tmp/durable-468e9783/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:46:37 + echo total: 0.10999999940395355 [Pipeline] stash 07:46:37 Warning: overwriting stash ‘stack-cost’ 07:46:37 Stashed 1 file(s) [Pipeline] } 07:46:37 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-313-1-stack-cost] [Pipeline] // lock [Pipeline] } 07:46:37 $ docker stop --time=1 201fdccd562526478302d7fd651201898414c2cc27a05a7e2c36a8cd547a82e1 07:46:39 $ docker rm -f --volumes 201fdccd562526478302d7fd651201898414c2cc27a05a7e2c36a8cd547a82e1 [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 07:46:40 provisioning config files... 07:46:40 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-313@tmp/config12757192395884412446tmp [Pipeline] { [Pipeline] sh 07:46:40 + set +x 07:46:40 + + bash -s -- 07:46:40 curl -s https://codecov.io/bash 07:46:40 07:46:40 _____ _ 07:46:40 / ____| | | 07:46:40 | | ___ __| | ___ ___ _____ __ 07:46:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:46:40 | |___| (_) | (_| | __/ (_| (_) \ V / 07:46:40 \_____\___/ \__,_|\___|\___\___/ \_/ 07:46:40 Bash-1.0.6 07:46:40 07:46:40 07:46:40 ==> git version 2.25.1 found 07:46:40 ==> 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 07:46:40 Release-Date: 2020-01-08 07:46:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:46:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:46:40 ==> Jenkins CI detected. 07:46:40 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-313 07:46:40 project root: . 07:46:40 --> token set from env 07:46:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:46:40 ==> Running gcov in . (disable via -X gcov) 07:46:40 ==> Python coveragepy not found 07:46:40 ==> Searching for coverage reports in: 07:46:40 + . 07:46:40 -> Found 1 reports 07:46:40 ==> Detecting git/mercurial file structure 07:46:40 ==> Reading reports 07:46:40 + ./coverage.out bytes=8837 07:46:40 ==> Appending adjustments 07:46:40 https://docs.codecov.io/docs/fixing-reports 07:46:40 + Found adjustments 07:46:40 ==> Gzipping contents 07:46:40 4.0K /tmp/codecov.bZ7GYD.gz 07:46:40 ==> Uploading reports 07:46:40 url: https://codecov.io 07:46:40 query: branch=PR-313&commit=6cef6eef2551145a8c072a8c6e65d25b681b21fb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-313%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=313&job=&cmd_args= 07:46:40 -> Pinging Codecov 07:46:40 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-313&commit=6cef6eef2551145a8c072a8c6e65d25b681b21fb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-313%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=313&job=&cmd_args= 07:46:41 -> Uploading to 07:46:41 https://storage.googleapis.com/codecov/v4/raw/2023-05-30/6C56EA5C29638FB4528AC87E60AF5AE0/6cef6eef2551145a8c072a8c6e65d25b681b21fb/66fe9632-8616-42e8-bdb2-9d495cf7074e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230530%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230530T074640Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=df848afc3ebc7a2a99b3319d6f1a4773187fd4aa47733913d4afcdc4694a5d0b 07:46:41 % Total % Received % Xferd Average Speed Time Time Time Current 07:46:41 Dload Upload Total Spent Left Speed 07:46:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1604 0 0 100 1604 0 7460 --:--:-- --:--:-- --:--:-- 7460 07:46:41 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/6cef6eef2551145a8c072a8c6e65d25b681b21fb [Pipeline] } 07:46:41 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 07:46:42 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-313/archives ] 07:46:42 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-313/archives 07:46:42 total 16 07:46:42 drwxr-xr-x 3 root root 4096 May 30 07:37 . 07:46:42 drwxrwxr-x 10 jenkins jenkins 4096 May 30 07:37 .. 07:46:42 drwxr-xr-x 2 root root 4096 May 30 07:37 cost 07:46:42 -rw-r--r-- 1 root root 86 May 30 07:37 cost.csv 07:46:42 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-313/archives 07:46:42 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-313/archives 07:46:42 total 16 07:46:42 drwxr-xr-x 3 jenkins jenkins 4096 May 30 07:37 . 07:46:42 drwxrwxr-x 10 jenkins jenkins 4096 May 30 07:37 .. 07:46:42 drwxr-xr-x 2 jenkins jenkins 4096 May 30 07:37 cost 07:46:42 -rw-r--r-- 1 jenkins jenkins 86 May 30 07:37 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:46:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:46:44 ---> package-listing.sh 07:46:44 ++ facter osfamily 07:46:44 ++ tr '[:upper:]' '[:lower:]' 07:46:44 + OS_FAMILY=debian 07:46:44 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-313 07:46:44 + START_PACKAGES=/tmp/packages_start.txt 07:46:44 + END_PACKAGES=/tmp/packages_end.txt 07:46:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:46:44 + PACKAGES=/tmp/packages_start.txt 07:46:44 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-313 ']' 07:46:44 + PACKAGES=/tmp/packages_end.txt 07:46:44 + case "${OS_FAMILY}" in 07:46:44 + dpkg -l 07:46:44 + grep '^ii' 07:46:44 + '[' -f /tmp/packages_start.txt ']' 07:46:44 + '[' -f /tmp/packages_end.txt ']' 07:46:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:46:44 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-313 ']' 07:46:44 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-313/archives/ 07:46:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-313/archives/ [Pipeline] echo 07:46:44 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-313/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:46:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:46:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:46:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:46:45 prd-ubuntu20.04-docker-8c-8g-17266 does not seem to be running inside a container 07:46:45 $ 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-313/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-313 -v /w/workspace/gexfoundry_device-snmp-go_PR-313:/w/workspace/gexfoundry_device-snmp-go_PR-313:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-313@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-313@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 07:46:45 $ docker top b424143ee76ead66b63d03d9aa287655db8eb945c264f5e2205238acb1ef187a -eo pid,comm [Pipeline] { [Pipeline] sh 07:46:45 + touch /tmp/pre-build-complete [Pipeline] sh 07:46:46 + mkdir -p /var/log/sysstat [Pipeline] sh 07:46:46 + ls /var/log/sa-host 07:46:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:46:46 provisioning config files... 07:46:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-313@tmp/config9726387836823523331tmp [Pipeline] { [Pipeline] echo 07:46:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:46:47 ---> create-netrc.sh [Pipeline] } 07:46:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:46:47 ---> python-tools-install.sh [Pipeline] echo 07:46:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:46:47 ---> sudo-logs.sh 07:46:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:46:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:46:48 ---> job-cost.sh 07:46:48 lf-activate-venv: SKIPPING 07:46:48 DEBUG: total: 0.2199999988079071 07:46:48 INFO: Retrieving Stack Cost... 07:46:48 INFO: Retrieving Pricing Info for: v3-standard-8 07:46:49 INFO: Archiving Costs [Pipeline] echo 07:46:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:46:49 ---> logs-deploy.sh 07:46:49 lf-activate-venv: SKIPPING 07:46:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-313/1 07:46:49 INFO: archiving workspace using pattern(s): 07:46:50 Archives upload complete. 07:46:50 INFO: archiving logs to Nexus