Pull request #214 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d1c8b659f97bb254468a6cb738bd341d2d8f2769+9b57b763129a056da364ef181ea3d00bbbd664f0 (8310663803dc53930d6f74a9ea58753ae8fed495) 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-ssh5681535844713816857.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh6829274086580976105.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-214/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-214/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5745745254517142437.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-214/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15534689700852249141.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh10093770454873388442.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-214/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-214/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6028404042446622735.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2702 in /w/workspace/gexfoundry_device-snmp-go_PR-214 [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-214 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/214/head:refs/remotes/origin/PR-214 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9b57b763129a056da364ef181ea3d00bbbd664f0 into PR head commit d1c8b659f97bb254468a6cb738bd341d2d8f2769 Merge succeeded, producing d1c8b659f97bb254468a6cb738bd341d2d8f2769 Checking out Revision d1c8b659f97bb254468a6cb738bd341d2d8f2769 (PR-214) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:02:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:02:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW > git config core.sparsecheckout # timeout=10 > git checkout -f d1c8b659f97bb254468a6cb738bd341d2d8f2769 # 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 9b57b763129a056da364ef181ea3d00bbbd664f0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d1c8b659f97bb254468a6cb738bd341d2d8f2769 # timeout=10 [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:02:25 ========================================================= 05:02:25 EdgeX Global Pipelines Version Info 05:02:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:02:26 ------------------- 05:02:26 stable info: 05:02:26 ------------------- 05:02:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:02:26 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 05:02:26 Message: update stable to v1.0.244 05:02:27 ------------------- 05:02:27 experimental info: 05:02:27 ------------------- 05:02:27 Commited By: **** collab-it+edgex@linuxfoundation.org 05:02:27 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 05:02:27 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:02:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 05:02:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 05:02:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:02:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:02:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:02:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 05:02:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:02:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:02:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:02:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:02:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:02:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 05:02:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:02:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:02:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:02:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:02:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:02:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:02:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:02:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:02:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:02:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:02:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:02:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:02:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:02:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:02:28 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:02:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-214 [Pipeline] echo 05:02:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-214 [Pipeline] echo 05:02:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-214 [Pipeline] echo 05:02:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d1c8b659f97bb254468a6cb738bd341d2d8f2769 [Pipeline] echo 05:02:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d1c8b65 [Pipeline] echo 05:02:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:02:28 provisioning config files... 05:02:28 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-214@tmp/config7714276497240618027tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:02:29 ---> docker-login.sh 05:02:29 nexus3.edgexfoundry.org:10001 05:02:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:29 Configure a credential helper to remove this warning. See 05:02:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:29 05:02:29 Login Succeeded 05:02:29 nexus3.edgexfoundry.org:10002 05:02:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:29 Configure a credential helper to remove this warning. See 05:02:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:29 05:02:29 Login Succeeded 05:02:29 nexus3.edgexfoundry.org:10003 05:02:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:29 Configure a credential helper to remove this warning. See 05:02:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:29 05:02:29 Login Succeeded 05:02:29 nexus3.edgexfoundry.org:10004 05:02:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:29 Configure a credential helper to remove this warning. See 05:02:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:29 05:02:29 Login Succeeded 05:02:29 docker.io 05:02:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:30 Configure a credential helper to remove this warning. See 05:02:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:30 05:02:30 Login Succeeded 05:02:30 ---> docker-login.sh ends [Pipeline] } 05:02:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:02:30 + git rev-list -1 --merges d1c8b659f97bb254468a6cb738bd341d2d8f2769~1..d1c8b659f97bb254468a6cb738bd341d2d8f2769 [Pipeline] echo 05:02:30 -----------> git rev-list -1 --merges d1c8b659f97bb254468a6cb738bd341d2d8f2769~1..d1c8b659f97bb254468a6cb738bd341d2d8f2769 d1c8b659f97bb254468a6cb738bd341d2d8f2769 [false] [Pipeline] sh 05:02:31 + git log --format=format:%s -1 d1c8b659f97bb254468a6cb738bd341d2d8f2769 [Pipeline] echo 05:02:31 ========================================================= 05:02:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:02:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:02:31 + git log --format=format:%s -1 d1c8b659f97bb254468a6cb738bd341d2d8f2769 [Pipeline] echo 05:02:31 [semverPrep] GIT_COMMIT: d1c8b659f97bb254468a6cb738bd341d2d8f2769, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 05:02:31 [semverPrep] This is not a build commit. [Pipeline] sh 05:02:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:02:32 + grep -v github /etc/ssh/ssh_known_hosts 05:02:32 + [ -e /tmp/ssh_known_hosts ] 05:02:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:02:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:02:32 + sudo tee -a /etc/ssh/ssh_known_hosts 05:02:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:02:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:02:32 05:02:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:02:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:02:33 0.1.4: Pulling from edgex-devops/py-git-semver 05:02:33 b85a868b505f: Pulling fs layer 05:02:33 e2be974225ed: Pulling fs layer 05:02:33 339a4e72a1f5: Pulling fs layer 05:02:33 988bab9f4d93: Pulling fs layer 05:02:33 1469e6f7b9e6: Pulling fs layer 05:02:33 eaf3925da568: Pulling fs layer 05:02:33 bab4dde63d76: Pulling fs layer 05:02:33 bde34c3a00c8: Pulling fs layer 05:02:33 b352a97aabf1: Pulling fs layer 05:02:33 4872d77fe225: Pulling fs layer 05:02:33 5851b861e8e6: Pulling fs layer 05:02:33 eaf3925da568: Waiting 05:02:33 bab4dde63d76: Waiting 05:02:33 1469e6f7b9e6: Waiting 05:02:33 bde34c3a00c8: Waiting 05:02:33 988bab9f4d93: Waiting 05:02:33 b352a97aabf1: Waiting 05:02:33 5851b861e8e6: Waiting 05:02:33 4872d77fe225: Waiting 05:02:33 e2be974225ed: Download complete 05:02:33 988bab9f4d93: Verifying Checksum 05:02:33 988bab9f4d93: Download complete 05:02:33 339a4e72a1f5: Verifying Checksum 05:02:33 339a4e72a1f5: Download complete 05:02:33 1469e6f7b9e6: Verifying Checksum 05:02:33 1469e6f7b9e6: Download complete 05:02:33 eaf3925da568: Download complete 05:02:33 bde34c3a00c8: Verifying Checksum 05:02:33 bde34c3a00c8: Download complete 05:02:33 b352a97aabf1: Download complete 05:02:33 4872d77fe225: Verifying Checksum 05:02:33 4872d77fe225: Download complete 05:02:33 b85a868b505f: Verifying Checksum 05:02:33 b85a868b505f: Download complete 05:02:33 5851b861e8e6: Download complete 05:02:33 bab4dde63d76: Verifying Checksum 05:02:33 bab4dde63d76: Download complete 05:02:34 b85a868b505f: Pull complete 05:02:34 e2be974225ed: Pull complete 05:02:35 339a4e72a1f5: Pull complete 05:02:35 988bab9f4d93: Pull complete 05:02:35 1469e6f7b9e6: Pull complete 05:02:35 eaf3925da568: Pull complete 05:02:37 bab4dde63d76: Pull complete 05:02:37 bde34c3a00c8: Pull complete 05:02:37 b352a97aabf1: Pull complete 05:02:37 4872d77fe225: Pull complete 05:02:37 5851b861e8e6: Pull complete 05:02:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:02:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:02:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:02:38 prd-ubuntu20.04-docker-8c-8g-2702 does not seem to be running inside a container 05:02:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-214 -v /w/workspace/gexfoundry_device-snmp-go_PR-214:/w/workspace/gexfoundry_device-snmp-go_PR-214:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-214@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-214@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:02:39 $ docker top c02606ee018d34ba1d5e8e7240005eeb2782d19c4de6a1f1262ad88eb7f07c1b -eo pid,comm 05:02:39 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:02:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:02:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:02:39 [ssh-agent] Looking for ssh-agent implementation... 05:02:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:02:39 $ docker exec c02606ee018d34ba1d5e8e7240005eeb2782d19c4de6a1f1262ad88eb7f07c1b ssh-agent 05:02:39 SSH_AUTH_SOCK=/tmp/ssh-nRvVFXzDhw7p/agent.33 05:02:39 SSH_AGENT_PID=39 05:02:39 Running ssh-add (command line suppressed) 05:02:40 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-214@tmp/private_key_15682374851438610881.key (/w/workspace/gexfoundry_device-snmp-go_PR-214@tmp/private_key_15682374851438610881.key) 05:02:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:02:40 + git tag --points-at HEAD [Pipeline] } 05:02:40 $ docker exec --env ******** --env ******** c02606ee018d34ba1d5e8e7240005eeb2782d19c4de6a1f1262ad88eb7f07c1b ssh-agent -k 05:02:40 unset SSH_AUTH_SOCK; 05:02:40 unset SSH_AGENT_PID; 05:02:40 echo Agent pid 39 killed; 05:02:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:02:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:02:40 [ssh-agent] Looking for ssh-agent implementation... 05:02:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:02:40 $ docker exec c02606ee018d34ba1d5e8e7240005eeb2782d19c4de6a1f1262ad88eb7f07c1b ssh-agent 05:02:40 SSH_AUTH_SOCK=/tmp/ssh-XXDIsVQdYCwk/agent.72 05:02:40 SSH_AGENT_PID=78 05:02:40 Running ssh-add (command line suppressed) 05:02:40 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-214@tmp/private_key_6532580354790647659.key (/w/workspace/gexfoundry_device-snmp-go_PR-214@tmp/private_key_6532580354790647659.key) 05:02:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:02:41 + git semver init 05:02:41 2023-01-17 05:02:41,483 [run_init] DEBUG init version:0.0.0 force:False 05:02:41 2023-01-17 05:02:41,484 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-214/.semver 05:02:41 2023-01-17 05:02:41,485 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-214/.semver 05:02:41 2023-01-17 05:02:41,485 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-214/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-214, universal_newlines=False, shell=None, istream=None) 05:02:42 2023-01-17 05:02:42,324 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-214/.git/info/exclude 05:02:42 2023-01-17 05:02:42,325 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-214/.semver/PR-214 with force:False 05:02:42 2023-01-17 05:02:42,325 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-214/.semver/PR-214 05:02:42 2023-01-17 05:02:42,329 [execute] INFO git cat-file --batch-check 05:02:42 2023-01-17 05:02:42,329 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-214/.semver, universal_newlines=False, shell=None, istream=) 05:02:42 2023-01-17 05:02:42,336 [execute] INFO git cat-file --batch 05:02:42 2023-01-17 05:02:42,336 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-214/.semver, universal_newlines=False, shell=None, istream=) 05:02:42 2023-01-17 05:02:42,342 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-214/.semver/PR-214 05:02:42 0.0.0 [Pipeline] } 05:02:42 $ docker exec --env ******** --env ******** c02606ee018d34ba1d5e8e7240005eeb2782d19c4de6a1f1262ad88eb7f07c1b ssh-agent -k 05:02:42 unset SSH_AUTH_SOCK; 05:02:42 unset SSH_AGENT_PID; 05:02:42 echo Agent pid 78 killed; 05:02:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:02:43 + git semver [Pipeline] } 05:02:43 $ docker stop --time=1 c02606ee018d34ba1d5e8e7240005eeb2782d19c4de6a1f1262ad88eb7f07c1b 05:02:44 $ docker rm -f --volumes c02606ee018d34ba1d5e8e7240005eeb2782d19c4de6a1f1262ad88eb7f07c1b [Pipeline] // withDockerContainer [Pipeline] sh 05:02:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:02:45 Stashed 1 file(s) [Pipeline] echo 05:02:45 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:02:45 provisioning config files... 05:02:45 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-214@tmp/config4611062454157787521tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:02:46 ---> docker-login.sh 05:02:46 nexus3.edgexfoundry.org:10001 05:02:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:46 Configure a credential helper to remove this warning. See 05:02:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:46 05:02:46 Login Succeeded 05:02:46 nexus3.edgexfoundry.org:10002 05:02:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:46 Configure a credential helper to remove this warning. See 05:02:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:46 05:02:46 Login Succeeded 05:02:46 nexus3.edgexfoundry.org:10003 05:02:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:46 Configure a credential helper to remove this warning. See 05:02:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:46 05:02:46 Login Succeeded 05:02:46 nexus3.edgexfoundry.org:10004 05:02:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:46 Configure a credential helper to remove this warning. See 05:02:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:46 05:02:46 Login Succeeded 05:02:46 docker.io 05:02:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:46 Configure a credential helper to remove this warning. See 05:02:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:46 05:02:46 Login Succeeded 05:02:46 ---> docker-login.sh ends [Pipeline] } 05:02:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:02:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:02:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:02:47 ========================================================= 05:02:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 05:02:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:02:47 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 05:02:47 Sending build context to Docker daemon 5.664MB 05:02:47 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 05:02:47 Step 2/12 : FROM ${BASE} AS builder 05:02:47 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 05:02:47 213ec9aee27d: Pulling fs layer 05:02:47 4583459ba037: Pulling fs layer 05:02:47 93c1e223e6f2: Pulling fs layer 05:02:47 53926ce57604: Pulling fs layer 05:02:47 21b2b0c7a3f4: Pulling fs layer 05:02:47 22ff95d597cd: Pulling fs layer 05:02:47 12d6caf4c0d1: Pulling fs layer 05:02:47 96b7cbca73a9: Pulling fs layer 05:02:47 a7acece74701: Pulling fs layer 05:02:47 96b7cbca73a9: Waiting 05:02:47 53926ce57604: Waiting 05:02:47 12d6caf4c0d1: Waiting 05:02:47 21b2b0c7a3f4: Waiting 05:02:47 22ff95d597cd: Waiting 05:02:47 a7acece74701: Waiting 05:02:47 93c1e223e6f2: Verifying Checksum 05:02:47 93c1e223e6f2: Download complete 05:02:47 4583459ba037: Download complete 05:02:47 21b2b0c7a3f4: Download complete 05:02:47 22ff95d597cd: Verifying Checksum 05:02:47 22ff95d597cd: Download complete 05:02:47 213ec9aee27d: Verifying Checksum 05:02:47 12d6caf4c0d1: Verifying Checksum 05:02:47 12d6caf4c0d1: Download complete 05:02:47 213ec9aee27d: Pull complete 05:02:48 4583459ba037: Pull complete 05:02:48 93c1e223e6f2: Pull complete 05:02:49 a7acece74701: Verifying Checksum 05:02:49 a7acece74701: Download complete 05:02:49 53926ce57604: Download complete 05:02:49 96b7cbca73a9: Verifying Checksum 05:02:52 53926ce57604: Pull complete 05:02:53 21b2b0c7a3f4: Pull complete 05:02:53 22ff95d597cd: Pull complete 05:02:53 12d6caf4c0d1: Pull complete 05:02:55 96b7cbca73a9: Pull complete 05:02:56 a7acece74701: Pull complete 05:02:56 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 05:02:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 05:02:56 ---> db6d94c90886 05:02:56 Step 3/12 : ARG ADD_BUILD_TAGS="" 05:02:57 ---> Running in d953ef4561c2 05:02:57 Removing intermediate container d953ef4561c2 05:02:57 ---> 0f8549ec156c 05:02:57 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:02:57 ---> Running in 0c9ffe0040fa 05:02:57 Removing intermediate container 0c9ffe0040fa 05:02:57 ---> 2e0252646aa1 05:02:57 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:02:58 ---> Running in 30e8d55a6c51 05:02:58 Removing intermediate container 30e8d55a6c51 05:02:58 ---> 1c6009388a2a 05:02:58 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 05:02:58 ---> Running in 046583a3bf5e 05:02:58 Removing intermediate container 046583a3bf5e 05:02:58 ---> e9f1a2d17784 05:02:58 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:02:58 ---> Running in 2bb18b634f4f 05:02:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:02:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:02:59 (1/4) Installing openssh-keygen (9.0_p1-r2) 05:02:59 (2/4) Installing libedit (20210910.3.1-r0) 05:02:59 (3/4) Installing openssh-client-common (9.0_p1-r2) 05:02:59 (4/4) Installing openssh-client-default (9.0_p1-r2) 05:02:59 Executing busybox-1.35.0-r17.trigger 05:02:59 OK: 216 MiB in 55 packages 05:02:59 Removing intermediate container 2bb18b634f4f 05:02:59 ---> 7282ccd7d36b 05:02:59 Step 8/12 : WORKDIR /device-snmp-go 05:02:59 ---> Running in a685575765c6 05:02:59 Removing intermediate container a685575765c6 05:02:59 ---> 3ec7fa4027e1 05:02:59 Step 9/12 : COPY go.mod vendor* ./ 05:02:59 ---> c1e4c635d93b 05:02:59 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:02:59 ---> Running in 92db5857e68b 05:03:00 Still waiting to schedule task 05:03:00 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:03:26 Removing intermediate container 92db5857e68b 05:03:26 ---> d7b23763476c 05:03:26 Step 11/12 : COPY . . 05:03:26 ---> a928b730556a 05:03:26 Step 12/12 : RUN ${MAKE} 05:03:26 ---> Running in f59a46c9117b 05:03:26 noop 05:03:26 Removing intermediate container f59a46c9117b 05:03:26 ---> f7af36bb4f0b 05:03:26 Successfully built f7af36bb4f0b 05:03:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:26 + docker inspect -f . ci-base-image-x86_64 05:03:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:03:27 prd-ubuntu20.04-docker-8c-8g-2702 does not seem to be running inside a container 05:03:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-214 -v /w/workspace/gexfoundry_device-snmp-go_PR-214:/w/workspace/gexfoundry_device-snmp-go_PR-214:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-214@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-214@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:03:27 $ docker top a2b3e3ecd1050c671ac5a79ac5cf5219b50db61649e17903c05d3508141cbc65 -eo pid,comm [Pipeline] { [Pipeline] sh 05:03:27 + go version 05:03:27 go version go1.18.7 linux/amd64 [Pipeline] } 05:03:27 $ docker stop --time=1 a2b3e3ecd1050c671ac5a79ac5cf5219b50db61649e17903c05d3508141cbc65 05:03:29 $ docker rm -f --volumes a2b3e3ecd1050c671ac5a79ac5cf5219b50db61649e17903c05d3508141cbc65 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:29 + docker inspect -f . ci-base-image-x86_64 05:03:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:03:30 prd-ubuntu20.04-docker-8c-8g-2702 does not seem to be running inside a container 05:03:30 $ 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-214 -v /w/workspace/gexfoundry_device-snmp-go_PR-214:/w/workspace/gexfoundry_device-snmp-go_PR-214:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-214@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-214@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:03:30 $ docker top 93bd7a4d713cc66a5c23f99c56d87cc01c27b3ab6b520c1ecb25db3b59bcf99a -eo pid,comm [Pipeline] { [Pipeline] sh 05:03:30 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-214 [Pipeline] fileExists [Pipeline] sh 05:03:31 + make test 05:03:31 go test ./... -coverprofile=coverage.out 05:03:31 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:03:39 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:03:39 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.022s coverage: 0.0% of statements 05:03:46 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 05:03:46 go vet ./... 05:03:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:03:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:03:49 ./bin/test-attribution-txt.sh [Pipeline] echo 05:03:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:03:49 $ docker stop --time=1 93bd7a4d713cc66a5c23f99c56d87cc01c27b3ab6b520c1ecb25db3b59bcf99a 05:03:51 $ docker rm -f --volumes 93bd7a4d713cc66a5c23f99c56d87cc01c27b3ab6b520c1ecb25db3b59bcf99a [Pipeline] // withDockerContainer [Pipeline] sh 05:03:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:03:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:03:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:03:53 + ls -al . 05:03:53 total 180 05:03:53 drwxrwxr-x 9 jenkins jenkins 4096 Jan 17 05:03 . 05:03:53 drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 05:02 .. 05:03:53 -rw-rw-r-- 1 jenkins jenkins 6 Jan 17 05:02 .dockerignore 05:03:53 drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 05:03 .git 05:03:53 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 05:02 .github 05:03:53 -rw-rw-r-- 1 jenkins jenkins 328 Jan 17 05:02 .gitignore 05:03:53 -rw-rw-r-- 1 jenkins jenkins 41 Jan 17 05:02 .golangci.yml 05:03:53 drwxr-xr-x 3 jenkins jenkins 4096 Jan 17 05:02 .semver 05:03:53 -rw-rw-r-- 1 jenkins jenkins 8828 Jan 17 05:02 Attribution.txt 05:03:53 -rw-rw-r-- 1 jenkins jenkins 8355 Jan 17 05:02 CHANGELOG.md 05:03:53 -rw-rw-r-- 1 jenkins jenkins 1423 Jan 17 05:02 Dockerfile 05:03:53 -rw-rw-r-- 1 jenkins jenkins 677 Jan 17 05:02 GOVERNANCE.md 05:03:53 -rw-rw-r-- 1 jenkins jenkins 656 Jan 17 05:02 Jenkinsfile 05:03:53 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 17 05:02 LICENSE 05:03:53 -rw-rw-r-- 1 jenkins jenkins 2079 Jan 17 05:02 Makefile 05:03:53 -rw-rw-r-- 1 jenkins jenkins 620 Jan 17 05:02 OWNERS.md 05:03:53 -rw-rw-r-- 1 jenkins jenkins 10054 Jan 17 05:02 README.md 05:03:53 -rw-rw-r-- 1 jenkins jenkins 5 Jan 17 05:02 VERSION 05:03:53 drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 05:02 bin 05:03:53 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 05:02 cmd 05:03:53 -rw-r--r-- 1 jenkins jenkins 7631 Jan 17 05:03 coverage.out 05:03:53 -rw-rw-r-- 1 jenkins jenkins 3414 Jan 17 05:02 go.mod 05:03:53 -rw-rw-r-- 1 jenkins jenkins 44744 Jan 17 05:02 go.sum 05:03:53 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 05:02 internal 05:03:53 drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 05:02 snap 05:03:53 -rw-rw-r-- 1 jenkins jenkins 228 Jan 17 05:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:53 + 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=d1c8b659f97bb254468a6cb738bd341d2d8f2769 --label arch=amd64 --label version=0.0.0 . 05:03:53 Sending build context to Docker daemon 5.672MB 05:03:53 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 05:03:53 Step 2/24 : FROM ${BASE} AS builder 05:03:53 ---> f7af36bb4f0b 05:03:53 Step 3/24 : ARG ADD_BUILD_TAGS="" 05:03:53 ---> Running in 24602076ca80 05:03:53 Removing intermediate container 24602076ca80 05:03:53 ---> 3047b4cd83ec 05:03:53 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:03:53 ---> Running in 809b1cbd005d 05:03:53 Removing intermediate container 809b1cbd005d 05:03:53 ---> 2a5085d4e19a 05:03:53 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:03:53 ---> Running in 7b35c38d6142 05:03:54 Removing intermediate container 7b35c38d6142 05:03:54 ---> c8708ca8b159 05:03:54 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 05:03:54 ---> Running in 9a505d7188e6 05:03:54 Removing intermediate container 9a505d7188e6 05:03:54 ---> 6ebfa1276372 05:03:54 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:03:54 ---> Running in 28a702afee3e 05:03:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:03:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:03:54 OK: 216 MiB in 55 packages 05:03:55 Removing intermediate container 28a702afee3e 05:03:55 ---> 8961ed1f8fc0 05:03:55 Step 8/24 : WORKDIR /device-snmp-go 05:03:55 ---> Running in 8680cc5e949c 05:03:55 Removing intermediate container 8680cc5e949c 05:03:55 ---> 8988d1a565b7 05:03:55 Step 9/24 : COPY go.mod vendor* ./ 05:03:55 ---> 7229d42ecd18 05:03:55 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:03:55 ---> Running in fa8178f08343 05:03:56 Removing intermediate container fa8178f08343 05:03:56 ---> f879b7a61755 05:03:56 Step 11/24 : COPY . . 05:03:56 ---> 72a85e539170 05:03:56 Step 12/24 : RUN ${MAKE} 05:03:56 ---> Running in fbf53ee92338 05:03:57 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 05:04:19 Removing intermediate container fbf53ee92338 05:04:19 ---> eb49be384d38 05:04:19 Step 13/24 : FROM alpine:3.16 05:04:19 3.16: Pulling from library/alpine 05:04:19 ca7dd9ec2225: Pulling fs layer 05:04:19 ca7dd9ec2225: Verifying Checksum 05:04:19 ca7dd9ec2225: Download complete 05:04:19 ca7dd9ec2225: Pull complete 05:04:19 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 05:04:19 Status: Downloaded newer image for alpine:3.16 05:04:19 ---> bfe296a52501 05:04:19 Step 14/24 : RUN apk add --update --no-cache dumb-init 05:04:19 ---> Running in 1cff39851023 05:04:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:04:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:04:19 (1/1) Installing dumb-init (1.2.5-r1) 05:04:19 Executing busybox-1.35.0-r17.trigger 05:04:19 OK: 6 MiB in 15 packages 05:04:19 Removing intermediate container 1cff39851023 05:04:19 ---> 389997c57650 05:04:19 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 05:04:19 ---> a8d5369b3931 05:04:19 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:04:19 ---> bb0e1ce2f489 05:04:19 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 05:04:19 ---> 38dbc606f193 05:04:19 Step 18/24 : EXPOSE 59993 05:04:19 ---> Running in 043c1faccaaa 05:04:19 Removing intermediate container 043c1faccaaa 05:04:19 ---> 95aad3026590 05:04:19 Step 19/24 : EXPOSE 161 05:04:19 ---> Running in 927fa23e429b 05:04:19 Removing intermediate container 927fa23e429b 05:04:19 ---> 4368e478ba0f 05:04:19 Step 20/24 : ENTRYPOINT ["/device-snmp"] 05:04:19 ---> Running in 9a0a36b07b98 05:04:19 Removing intermediate container 9a0a36b07b98 05:04:19 ---> 988b94c5d957 05:04:19 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 05:04:19 ---> Running in f70ace50e4a6 05:04:19 Removing intermediate container f70ace50e4a6 05:04:19 ---> 78389263de2e 05:04:19 Step 22/24 : LABEL arch=amd64 05:04:19 ---> Running in 1354c9b22135 05:04:19 Removing intermediate container 1354c9b22135 05:04:19 ---> 844137a3cc8e 05:04:19 Step 23/24 : LABEL git_sha=d1c8b659f97bb254468a6cb738bd341d2d8f2769 05:04:19 ---> Running in e478504ea56c 05:04:19 Removing intermediate container e478504ea56c 05:04:19 ---> 08f4e639e5dd 05:04:19 Step 24/24 : LABEL version=0.0.0 05:04:19 ---> Running in f0665eefb52c 05:04:19 Removing intermediate container f0665eefb52c 05:04:19 ---> 4e8bb8678ce7 05:04:19 [Warning] One or more build-args [ARCH] were not consumed 05:04:19 Successfully built 4e8bb8678ce7 05:04:19 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:04:20 05:04:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:04:20 latest: Pulling from edgex-lftools-log-publisher 05:04:20 5eb5b503b376: Pulling fs layer 05:04:20 5c69ac0246d0: Pulling fs layer 05:04:20 ec43610c2a17: Pulling fs layer 05:04:20 3a2ae6a8a46f: Pulling fs layer 05:04:20 33b1e0a273af: Pulling fs layer 05:04:20 5d3b04190fa2: Pulling fs layer 05:04:20 2f39f015ded8: Pulling fs layer 05:04:20 3a2ae6a8a46f: Waiting 05:04:20 33b1e0a273af: Waiting 05:04:20 5d3b04190fa2: Waiting 05:04:20 2f39f015ded8: Waiting 05:04:20 5c69ac0246d0: Download complete 05:04:20 3a2ae6a8a46f: Verifying Checksum 05:04:20 33b1e0a273af: Verifying Checksum 05:04:20 33b1e0a273af: Download complete 05:04:20 5d3b04190fa2: Verifying Checksum 05:04:20 5d3b04190fa2: Download complete 05:04:20 ec43610c2a17: Verifying Checksum 05:04:20 ec43610c2a17: Download complete 05:04:20 5eb5b503b376: Verifying Checksum 05:04:20 5eb5b503b376: Download complete 05:04:21 2f39f015ded8: Download complete 05:04:21 5eb5b503b376: Pull complete 05:04:22 5c69ac0246d0: Pull complete 05:04:22 ec43610c2a17: Pull complete 05:04:22 3a2ae6a8a46f: Pull complete 05:04:22 33b1e0a273af: Pull complete 05:04:22 5d3b04190fa2: Pull complete 05:04:27 2f39f015ded8: Pull complete 05:04:27 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:04:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:04:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:27 prd-ubuntu20.04-docker-8c-8g-2702 does not seem to be running inside a container 05:04:27 $ 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-214 -v /w/workspace/gexfoundry_device-snmp-go_PR-214:/w/workspace/gexfoundry_device-snmp-go_PR-214:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-214@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-214@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:04:28 $ docker top 9a32b39cf473e07c6efdef82b6aca49a7af6a7f52b280a8cff0a378419133ee6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:29 ---> job-cost.sh 05:04:29 lf-activate-venv: SKIPPING 05:04:29 INFO: No Stack... 05:04:29 INFO: Retrieving Pricing Info for: v3-standard-8 05:04:30 INFO: Archiving Costs [Pipeline] sh 05:04:30 + cat /w/workspace/gexfoundry_device-snmp-go_PR-214/archives/cost.csv 05:04:30 + cut -d, -f6 [Pipeline] lock 05:04:30 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-214-1-stack-cost] 05:04:30 Resource [jenkins-edgexfoundry-device-snmp-go-PR-214-1-stack-cost] did not exist. Created. 05:04:30 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-214-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:04:30 + echo total: 0.2199999988079071 [Pipeline] stash 05:04:31 Stashed 1 file(s) [Pipeline] } 05:04:31 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-214-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:04:31 $ docker stop --time=1 9a32b39cf473e07c6efdef82b6aca49a7af6a7f52b280a8cff0a378419133ee6 05:04:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2703 in /w/workspace/gexfoundry_device-snmp-go_PR-214 05:04:32 $ docker rm -f --volumes 9a32b39cf473e07c6efdef82b6aca49a7af6a7f52b280a8cff0a378419133ee6 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] ws 05:04:32 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 05:04:32 Selected Git installation does not exist. Using Default 05:04:32 The recommended git tool is: NONE [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:04:37 using credential edgex-jenkins-ssh 05:04:37 Cloning the remote Git repository 05:04:37 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 05:04:37 > git init /w/workspace/device-snmp-go/1 # timeout=10 05:04:37 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:04:37 > git --version # timeout=10 05:04:37 > git --version # 'git version 2.25.1' 05:04:37 using GIT_SSH to set credentials SSH Credentials for GitHub 05:04:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:04:38 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:04:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:04:39 Merging remotes/origin/main commit 9b57b763129a056da364ef181ea3d00bbbd664f0 into PR head commit d1c8b659f97bb254468a6cb738bd341d2d8f2769 05:04:39 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:04:39 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:04:39 using GIT_SSH to set credentials SSH Credentials for GitHub 05:04:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/214/head:refs/remotes/origin/PR-214 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:04:39 > git config core.sparsecheckout # timeout=10 05:04:40 Merge succeeded, producing d1c8b659f97bb254468a6cb738bd341d2d8f2769 05:04:40 Checking out Revision d1c8b659f97bb254468a6cb738bd341d2d8f2769 (PR-214) 05:04:40 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 05:04:40 > git --version # timeout=10 05:04:40 > git --version # 'git version 2.25.1' 05:04:40 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script 05:04:39 > git checkout -f d1c8b659f97bb254468a6cb738bd341d2d8f2769 # timeout=10 05:04:39 > git remote # timeout=10 05:04:39 > git config --get remote.origin.url # timeout=10 05:04:40 using GIT_SSH to set credentials SSH Credentials for GitHub 05:04:40 > git merge 9b57b763129a056da364ef181ea3d00bbbd664f0 # timeout=10 05:04:40 > git rev-parse HEAD^{commit} # timeout=10 05:04:40 > git config core.sparsecheckout # timeout=10 05:04:40 > git checkout -f d1c8b659f97bb254468a6cb738bd341d2d8f2769 # timeout=10 [Pipeline] { [Pipeline] sh 05:04:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:04:41 % Total % Received % Xferd Average Speed Time Time Time Current 05:04:41 Dload Upload Total Spent Left Speed 05:04:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh 05:04:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:04:42 + sudo tee /etc/docker/daemon.new 05:04:42 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:04:42 { 05:04:42 "registry-mirrors": [ 05:04:42 "https://nexus3.edgexfoundry.org:10001" 05:04:42 ], 05:04:42 "bip": "10.250.0.254/24", 05:04:42 "hosts": [ 05:04:42 "tcp://0.0.0.0:5555", 05:04:42 "unix:///var/run/docker.sock" 05:04:42 ], 05:04:42 "mtu": 1458, 05:04:42 "selinux-enabled": true, 05:04:42 "seccomp-profile": "/etc/docker/seccomp.json" 05:04:42 } [Pipeline] sh 05:04:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:04:43 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:05:01 provisioning config files... 05:05:01 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config7295702411289320455tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:05:02 ---> docker-login.sh 05:05:02 nexus3.edgexfoundry.org:10001 05:05:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:02 Configure a credential helper to remove this warning. See 05:05:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:02 05:05:02 Login Succeeded 05:05:02 nexus3.edgexfoundry.org:10002 05:05:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:03 Configure a credential helper to remove this warning. See 05:05:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:03 05:05:03 Login Succeeded 05:05:03 nexus3.edgexfoundry.org:10003 05:05:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:03 Configure a credential helper to remove this warning. See 05:05:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:03 05:05:03 Login Succeeded 05:05:03 nexus3.edgexfoundry.org:10004 05:05:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:03 Configure a credential helper to remove this warning. See 05:05:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:03 05:05:03 Login Succeeded 05:05:03 docker.io 05:05:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:04 Configure a credential helper to remove this warning. See 05:05:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:04 05:05:04 Login Succeeded 05:05:04 ---> docker-login.sh ends [Pipeline] } 05:05:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:05:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:05:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:05:04 ========================================================= 05:05:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 05:05:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:05 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 05:05:06 Sending build context to Docker daemon 2.931MB 05:05:06 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 05:05:06 Step 2/12 : FROM ${BASE} AS builder 05:05:06 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:05:06 9b18e9b68314: Pulling fs layer 05:05:06 35d82f9e3411: Pulling fs layer 05:05:06 e16973657156: Pulling fs layer 05:05:06 fc693d55d65f: Pulling fs layer 05:05:06 7e9fc2657dce: Pulling fs layer 05:05:06 dda99020689f: Pulling fs layer 05:05:06 db1c61fa0a46: Pulling fs layer 05:05:06 891c053d2c06: Pulling fs layer 05:05:06 7e9fc2657dce: Waiting 05:05:06 dda99020689f: Waiting 05:05:06 db1c61fa0a46: Waiting 05:05:06 891c053d2c06: Waiting 05:05:06 fc693d55d65f: Waiting 05:05:06 e16973657156: Verifying Checksum 05:05:06 e16973657156: Download complete 05:05:06 35d82f9e3411: Verifying Checksum 05:05:06 35d82f9e3411: Download complete 05:05:06 7e9fc2657dce: Verifying Checksum 05:05:06 7e9fc2657dce: Download complete 05:05:06 dda99020689f: Verifying Checksum 05:05:06 dda99020689f: Download complete 05:05:06 9b18e9b68314: Download complete 05:05:07 9b18e9b68314: Pull complete 05:05:07 891c053d2c06: Verifying Checksum 05:05:07 891c053d2c06: Download complete 05:05:07 35d82f9e3411: Pull complete 05:05:08 e16973657156: Pull complete 05:05:08 db1c61fa0a46: Verifying Checksum 05:05:08 db1c61fa0a46: Download complete 05:05:09 fc693d55d65f: Verifying Checksum 05:05:09 fc693d55d65f: Download complete 05:05:21 fc693d55d65f: Pull complete 05:05:21 7e9fc2657dce: Pull complete 05:05:21 dda99020689f: Pull complete 05:05:28 db1c61fa0a46: Pull complete 05:05:29 891c053d2c06: Pull complete 05:05:29 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 05:05:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 05:05:29 ---> f96f9c87975a 05:05:29 Step 3/12 : ARG ADD_BUILD_TAGS="" 05:05:34 ---> Running in ff28a58bba7c 05:05:34 Removing intermediate container ff28a58bba7c 05:05:34 ---> 9b23f2e07f19 05:05:34 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:05:34 ---> Running in 1453a447526d 05:05:34 Removing intermediate container 1453a447526d 05:05:34 ---> 9941304f1268 05:05:34 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:05:34 ---> Running in a55a1c98d981 05:05:34 Removing intermediate container a55a1c98d981 05:05:34 ---> be05459cf6e1 05:05:34 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 05:05:34 ---> Running in bfb684872ad2 05:05:35 Removing intermediate container bfb684872ad2 05:05:35 ---> ec612be808b8 05:05:35 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:05:35 ---> Running in d7c923afc9af 05:05:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:05:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:05:37 (1/4) Installing openssh-keygen (9.0_p1-r2) 05:05:37 (2/4) Installing libedit (20210910.3.1-r0) 05:05:37 (3/4) Installing openssh-client-common (9.0_p1-r2) 05:05:37 (4/4) Installing openssh-client-default (9.0_p1-r2) 05:05:37 Executing busybox-1.35.0-r17.trigger 05:05:37 OK: 226 MiB in 55 packages 05:05:38 Removing intermediate container d7c923afc9af 05:05:38 ---> 1a9647682c3c 05:05:38 Step 8/12 : WORKDIR /device-snmp-go 05:05:38 ---> Running in 121aa7d375e9 05:05:39 Removing intermediate container 121aa7d375e9 05:05:39 ---> 94b02f7d1a92 05:05:39 Step 9/12 : COPY go.mod vendor* ./ 05:05:39 ---> 9a103eeca738 05:05:39 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:05:39 ---> Running in e42c047cb796 05:06:36 Removing intermediate container e42c047cb796 05:06:36 ---> 8c90e0f951e2 05:06:36 Step 11/12 : COPY . . 05:06:36 ---> 95a235b347e1 05:06:36 Step 12/12 : RUN ${MAKE} 05:06:36 ---> Running in f4f5db96592e 05:06:36 noop 05:06:36 Removing intermediate container f4f5db96592e 05:06:36 ---> 0cf670a6c658 05:06:36 Successfully built 0cf670a6c658 05:06:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:36 + docker inspect -f . ci-base-image-arm64 05:06:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:06:36 prd-ubuntu20.04-docker-arm64-4c-16g-2703 does not seem to be running inside a container 05:06:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:06:38 $ docker top 7a7fd020e9f0651da65885c157e8af90ebf133b51154a233cade4d797f10c71c -eo pid,comm [Pipeline] { [Pipeline] sh 05:06:38 + go version 05:06:38 go version go1.18.7 linux/arm64 [Pipeline] } 05:06:38 $ docker stop --time=1 7a7fd020e9f0651da65885c157e8af90ebf133b51154a233cade4d797f10c71c 05:06:40 $ docker rm -f --volumes 7a7fd020e9f0651da65885c157e8af90ebf133b51154a233cade4d797f10c71c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:41 + docker inspect -f . ci-base-image-arm64 05:06:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:06:41 prd-ubuntu20.04-docker-arm64-4c-16g-2703 does not seem to be running inside a container 05:06:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:06:42 $ docker top cf46ebf0f5d44429aa5a0ab8b9d8045348c6b206e58a01f3c11d1fa26c4550c0 -eo pid,comm [Pipeline] { [Pipeline] sh 05:06:43 + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh 05:06:43 + make test 05:06:43 go test ./... -coverprofile=coverage.out 05:06:45 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:08:07 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:08:07 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.044s coverage: 0.0% of statements 05:08:07 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:08:07 go vet ./... 05:08:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:08:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:08:19 ./bin/test-attribution-txt.sh [Pipeline] echo 05:08:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:08:19 $ docker stop --time=1 cf46ebf0f5d44429aa5a0ab8b9d8045348c6b206e58a01f3c11d1fa26c4550c0 05:08:21 $ docker rm -f --volumes cf46ebf0f5d44429aa5a0ab8b9d8045348c6b206e58a01f3c11d1fa26c4550c0 [Pipeline] // withDockerContainer [Pipeline] sh 05:08:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:08:22 Warning: overwriting stash ‘coverage-report’ 05:08:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:08:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:08:23 + ls -al . 05:08:23 total 176 05:08:23 drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 05:06 . 05:08:23 drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 05:04 .. 05:08:23 -rw-rw-r-- 1 jenkins jenkins 6 Jan 17 05:04 .dockerignore 05:08:23 drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 05:04 .git 05:08:23 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 05:04 .github 05:08:23 -rw-rw-r-- 1 jenkins jenkins 328 Jan 17 05:04 .gitignore 05:08:23 -rw-rw-r-- 1 jenkins jenkins 41 Jan 17 05:04 .golangci.yml 05:08:23 -rw-rw-r-- 1 jenkins jenkins 8828 Jan 17 05:04 Attribution.txt 05:08:23 -rw-rw-r-- 1 jenkins jenkins 8355 Jan 17 05:04 CHANGELOG.md 05:08:23 -rw-rw-r-- 1 jenkins jenkins 1423 Jan 17 05:04 Dockerfile 05:08:23 -rw-rw-r-- 1 jenkins jenkins 677 Jan 17 05:04 GOVERNANCE.md 05:08:23 -rw-rw-r-- 1 jenkins jenkins 656 Jan 17 05:04 Jenkinsfile 05:08:23 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 17 05:04 LICENSE 05:08:23 -rw-rw-r-- 1 jenkins jenkins 2079 Jan 17 05:04 Makefile 05:08:23 -rw-rw-r-- 1 jenkins jenkins 620 Jan 17 05:04 OWNERS.md 05:08:23 -rw-rw-r-- 1 jenkins jenkins 10054 Jan 17 05:04 README.md 05:08:23 -rw-rw-r-- 1 jenkins jenkins 5 Jan 17 05:02 VERSION 05:08:23 drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 05:04 bin 05:08:23 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 05:04 cmd 05:08:23 -rw-r--r-- 1 jenkins jenkins 7631 Jan 17 05:07 coverage.out 05:08:23 -rw-rw-r-- 1 jenkins jenkins 3414 Jan 17 05:04 go.mod 05:08:23 -rw-rw-r-- 1 jenkins jenkins 44744 Jan 17 05:04 go.sum 05:08:23 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 05:04 internal 05:08:23 drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 05:04 snap 05:08:23 -rw-rw-r-- 1 jenkins jenkins 228 Jan 17 05:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:24 + 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=d1c8b659f97bb254468a6cb738bd341d2d8f2769 --label arch=arm64 --label version=0.0.0 . 05:08:24 Sending build context to Docker daemon 2.939MB 05:08:24 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 05:08:24 Step 2/24 : FROM ${BASE} AS builder 05:08:24 ---> 0cf670a6c658 05:08:24 Step 3/24 : ARG ADD_BUILD_TAGS="" 05:08:24 ---> Running in 3f2c71a1ac81 05:08:24 Removing intermediate container 3f2c71a1ac81 05:08:24 ---> 391191c5a69d 05:08:24 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:08:25 ---> Running in dfa89873dd57 05:08:25 Removing intermediate container dfa89873dd57 05:08:25 ---> 9617f0e3990b 05:08:25 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:08:25 ---> Running in 9b30ba9d0cfb 05:08:25 Removing intermediate container 9b30ba9d0cfb 05:08:25 ---> 81c7673ab436 05:08:25 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 05:08:25 ---> Running in b4c530b22e90 05:08:25 Removing intermediate container b4c530b22e90 05:08:25 ---> d4b31c6de894 05:08:25 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:08:26 ---> Running in f97704bca958 05:08:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:08:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:08:28 OK: 226 MiB in 55 packages 05:08:28 Removing intermediate container f97704bca958 05:08:28 ---> ba53c314e49e 05:08:28 Step 8/24 : WORKDIR /device-snmp-go 05:08:29 ---> Running in ccfeb9fe12d8 05:08:29 Removing intermediate container ccfeb9fe12d8 05:08:29 ---> 83c46f3d138a 05:08:29 Step 9/24 : COPY go.mod vendor* ./ 05:08:29 ---> 1c572ac8c9bd 05:08:29 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:08:30 ---> Running in 61df8c376bd2 05:08:31 Removing intermediate container 61df8c376bd2 05:08:31 ---> 1ec9b85ce247 05:08:31 Step 11/24 : COPY . . 05:08:32 ---> c541d9fcd949 05:08:32 Step 12/24 : RUN ${MAKE} 05:08:32 ---> Running in 368c66f4118e 05:08:33 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 05:10:56 Removing intermediate container 368c66f4118e 05:10:56 ---> ea4c8d0b8ef8 05:10:56 Step 13/24 : FROM alpine:3.16 05:10:56 3.16: Pulling from library/alpine 05:10:56 6875df1f5354: Pulling fs layer 05:10:56 6875df1f5354: Verifying Checksum 05:10:56 6875df1f5354: Download complete 05:10:56 6875df1f5354: Pull complete 05:10:56 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 05:10:56 Status: Downloaded newer image for alpine:3.16 05:10:56 ---> 2b4661558fb8 05:10:56 Step 14/24 : RUN apk add --update --no-cache dumb-init 05:10:56 ---> Running in d2e864a7e0a2 05:10:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:10:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:10:56 (1/1) Installing dumb-init (1.2.5-r1) 05:10:56 Executing busybox-1.35.0-r17.trigger 05:10:56 OK: 5 MiB in 15 packages 05:10:56 Removing intermediate container d2e864a7e0a2 05:10:56 ---> 75d94e5ebbea 05:10:56 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 05:10:56 ---> ce74890d24d6 05:10:56 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:10:56 ---> f2d86c080d7c 05:10:56 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 05:10:56 ---> 3ccc078492b2 05:10:56 Step 18/24 : EXPOSE 59993 05:10:56 ---> Running in 6051ed7d04b7 05:10:56 Removing intermediate container 6051ed7d04b7 05:10:56 ---> 79abb419da67 05:10:56 Step 19/24 : EXPOSE 161 05:10:56 ---> Running in 3a1463ba6ea9 05:10:56 Removing intermediate container 3a1463ba6ea9 05:10:56 ---> ff15530f49db 05:10:56 Step 20/24 : ENTRYPOINT ["/device-snmp"] 05:10:56 ---> Running in e52bfda5df92 05:10:56 Removing intermediate container e52bfda5df92 05:10:56 ---> 05aadfec4ccc 05:10:56 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 05:10:56 ---> Running in 84ec9b673811 05:10:56 Removing intermediate container 84ec9b673811 05:10:56 ---> 2d53c84cefb2 05:10:56 Step 22/24 : LABEL arch=arm64 05:10:56 ---> Running in acdf39d0c9ed 05:10:57 Removing intermediate container acdf39d0c9ed 05:10:57 ---> b806280eff76 05:10:57 Step 23/24 : LABEL git_sha=d1c8b659f97bb254468a6cb738bd341d2d8f2769 05:10:57 ---> Running in 11853a9ebd26 05:10:57 Removing intermediate container 11853a9ebd26 05:10:57 ---> 1bb0976c4617 05:10:57 Step 24/24 : LABEL version=0.0.0 05:10:57 ---> Running in e1f226113c11 05:10:57 Removing intermediate container e1f226113c11 05:10:57 ---> 2e4d3e954c93 05:10:57 [Warning] One or more build-args [ARCH] were not consumed 05:10:57 Successfully built 2e4d3e954c93 05:10:57 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 05:10:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:10:58 05:10:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:10:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:10:59 arm64: Pulling from edgex-lftools-log-publisher 05:10:59 8998bd30e6a1: Pulling fs layer 05:10:59 04944245beec: Pulling fs layer 05:10:59 699f458cf7ca: Pulling fs layer 05:10:59 765212b225bb: Pulling fs layer 05:10:59 f23df028b6ca: Pulling fs layer 05:10:59 d65c8cfc05b1: Pulling fs layer 05:10:59 2437ff75d9bd: Pulling fs layer 05:10:59 765212b225bb: Waiting 05:10:59 f23df028b6ca: Waiting 05:10:59 2437ff75d9bd: Waiting 05:10:59 d65c8cfc05b1: Waiting 05:10:59 04944245beec: Download complete 05:10:59 765212b225bb: Verifying Checksum 05:10:59 765212b225bb: Download complete 05:10:59 f23df028b6ca: Verifying Checksum 05:10:59 f23df028b6ca: Download complete 05:10:59 d65c8cfc05b1: Verifying Checksum 05:10:59 d65c8cfc05b1: Download complete 05:10:59 699f458cf7ca: Verifying Checksum 05:10:59 699f458cf7ca: Download complete 05:11:00 8998bd30e6a1: Download complete 05:11:02 2437ff75d9bd: Verifying Checksum 05:11:02 2437ff75d9bd: Download complete 05:11:04 8998bd30e6a1: Pull complete 05:11:04 04944245beec: Pull complete 05:11:07 699f458cf7ca: Pull complete 05:11:07 765212b225bb: Pull complete 05:11:08 f23df028b6ca: Pull complete 05:11:08 d65c8cfc05b1: Pull complete 05:11:23 2437ff75d9bd: Pull complete 05:11:23 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:11:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:11:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:11:23 prd-ubuntu20.04-docker-arm64-4c-16g-2703 does not seem to be running inside a container 05:11:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:11:26 $ docker top e141e0c0250bf671d982188ab62ec8935840209d696c1d3a39823dac789b6d4c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:11:26 ---> job-cost.sh 05:11:27 lf-activate-venv: SKIPPING 05:11:27 INFO: No Stack... 05:11:27 INFO: Retrieving Pricing Info for: v3-standard-4 05:11:28 INFO: Archiving Costs [Pipeline] sh 05:11:28 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 05:11:28 + cut -d, -f6 [Pipeline] lock 05:11:28 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-214-1-stack-cost] 05:11:28 Resource [jenkins-edgexfoundry-device-snmp-go-PR-214-1-stack-cost] did not exist. Created. 05:11:28 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-214-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:11:29 /w/workspace/device-snmp-go/1@tmp/durable-313e0600/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:11:29 + echo total: 0.10999999940395355 [Pipeline] stash 05:11:29 Warning: overwriting stash ‘stack-cost’ 05:11:30 Stashed 1 file(s) [Pipeline] } 05:11:30 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-214-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:11:30 $ docker stop --time=1 e141e0c0250bf671d982188ab62ec8935840209d696c1d3a39823dac789b6d4c 05:11:31 $ docker rm -f --volumes e141e0c0250bf671d982188ab62ec8935840209d696c1d3a39823dac789b6d4c [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 05:11:32 provisioning config files... 05:11:32 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-214@tmp/config6541158139660762864tmp [Pipeline] { [Pipeline] sh 05:11:32 + set +x 05:11:32 + bash -s -- 05:11:32 + curl -s https://codecov.io/bash 05:11:32 05:11:32 _____ _ 05:11:32 / ____| | | 05:11:32 | | ___ __| | ___ ___ _____ __ 05:11:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:11:32 | |___| (_) | (_| | __/ (_| (_) \ V / 05:11:32 \_____\___/ \__,_|\___|\___\___/ \_/ 05:11:32 Bash-1.0.6 05:11:32 05:11:32 05:11:32 ==> git version 2.25.1 found 05:11:32 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 05:11:32 Release-Date: 2020-01-08 05:11:32 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:11:32 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:11:32 ==> Jenkins CI detected. 05:11:32 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-214 05:11:32 project root: . 05:11:32 --> token set from env 05:11:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:11:32 ==> Running gcov in . (disable via -X gcov) 05:11:32 ==> Python coveragepy not found 05:11:32 ==> Searching for coverage reports in: 05:11:32 + . 05:11:32 -> Found 1 reports 05:11:32 ==> Detecting git/mercurial file structure 05:11:33 ==> Reading reports 05:11:33 + ./coverage.out bytes=7631 05:11:33 ==> Appending adjustments 05:11:33 https://docs.codecov.io/docs/fixing-reports 05:11:33 + Found adjustments 05:11:33 ==> Gzipping contents 05:11:33 4.0K /tmp/codecov.EslXCi.gz 05:11:33 ==> Uploading reports 05:11:33 url: https://codecov.io 05:11:33 query: branch=PR-214&commit=d1c8b659f97bb254468a6cb738bd341d2d8f2769&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-214%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=214&job=&cmd_args= 05:11:33 -> Pinging Codecov 05:11:33 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-214&commit=d1c8b659f97bb254468a6cb738bd341d2d8f2769&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-214%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=214&job=&cmd_args= 05:11:33 -> Uploading to 05:11:33 https://storage.googleapis.com/codecov/v4/raw/2023-01-17/6C56EA5C29638FB4528AC87E60AF5AE0/d1c8b659f97bb254468a6cb738bd341d2d8f2769/2b4d0e70-fd10-4a52-91c7-7f81bac476ee.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230117%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230117T051133Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dfebe7f65e3d71390dba99768164fa02d7ac13656ccf1ecc884eea2b5a83b099 05:11:33 % Total % Received % Xferd Average Speed Time Time Time Current 05:11:33 Dload Upload Total Spent Left Speed 05:11:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1543 0 0 100 1543 0 6737 --:--:-- --:--:-- --:--:-- 6737 05:11:33 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/d1c8b659f97bb254468a6cb738bd341d2d8f2769 [Pipeline] } 05:11:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:11:35 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-214/archives ] 05:11:35 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-214/archives 05:11:35 total 16 05:11:35 drwxr-xr-x 3 root root 4096 Jan 17 05:04 . 05:11:35 drwxrwxr-x 10 jenkins jenkins 4096 Jan 17 05:04 .. 05:11:35 drwxr-xr-x 2 root root 4096 Jan 17 05:04 cost 05:11:35 -rw-r--r-- 1 root root 86 Jan 17 05:04 cost.csv 05:11:35 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-214/archives 05:11:35 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-214/archives 05:11:35 total 16 05:11:35 drwxr-xr-x 3 jenkins jenkins 4096 Jan 17 05:04 . 05:11:35 drwxrwxr-x 10 jenkins jenkins 4096 Jan 17 05:04 .. 05:11:35 drwxr-xr-x 2 jenkins jenkins 4096 Jan 17 05:04 cost 05:11:35 -rw-r--r-- 1 jenkins jenkins 86 Jan 17 05:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:11:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:11:36 ---> package-listing.sh 05:11:36 ++ facter osfamily 05:11:36 ++ tr '[:upper:]' '[:lower:]' 05:11:36 + OS_FAMILY=debian 05:11:36 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-214 05:11:36 + START_PACKAGES=/tmp/packages_start.txt 05:11:36 + END_PACKAGES=/tmp/packages_end.txt 05:11:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:11:36 + PACKAGES=/tmp/packages_start.txt 05:11:36 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-214 ']' 05:11:36 + PACKAGES=/tmp/packages_end.txt 05:11:36 + case "${OS_FAMILY}" in 05:11:36 + dpkg -l 05:11:36 + grep '^ii' 05:11:36 + '[' -f /tmp/packages_start.txt ']' 05:11:36 + '[' -f /tmp/packages_end.txt ']' 05:11:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:11:36 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-214 ']' 05:11:36 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-214/archives/ 05:11:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-214/archives/ [Pipeline] echo 05:11:36 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-214/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:11:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:11:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:11:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:11:37 prd-ubuntu20.04-docker-8c-8g-2702 does not seem to be running inside a container 05:11:37 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-214/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-214 -v /w/workspace/gexfoundry_device-snmp-go_PR-214:/w/workspace/gexfoundry_device-snmp-go_PR-214:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-214@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-214@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-lftools-log-publisher:latest cat 05:11:38 $ docker top 825a9c0ebe786179037943a375ac8ae3a8b7b5386914a00d6058b679553ba9c9 -eo pid,comm [Pipeline] { [Pipeline] sh 05:11:38 + touch /tmp/pre-build-complete [Pipeline] sh 05:11:38 + mkdir -p /var/log/sysstat [Pipeline] sh 05:11:39 + ls /var/log/sa-host 05:11:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:11:39 provisioning config files... 05:11:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-214@tmp/config17104055731742706468tmp [Pipeline] { [Pipeline] echo 05:11:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:11:39 ---> create-netrc.sh [Pipeline] } 05:11:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:11:40 ---> python-tools-install.sh [Pipeline] echo 05:11:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:11:40 ---> sudo-logs.sh 05:11:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:11:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:11:40 ---> job-cost.sh 05:11:40 lf-activate-venv: SKIPPING 05:11:40 DEBUG: total: 0.2199999988079071 05:11:40 INFO: Retrieving Stack Cost... 05:11:41 INFO: Retrieving Pricing Info for: v3-standard-8 05:11:41 INFO: Archiving Costs [Pipeline] echo 05:11:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:11:41 ---> logs-deploy.sh 05:11:41 lf-activate-venv: SKIPPING 05:11:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-214/1 05:11:41 INFO: archiving workspace using pattern(s): 05:11:42 Archives upload complete. 05:11:42 INFO: archiving logs to Nexus