Pull request #299 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4a25e78525dd7bdb794ad226d83954dcb6eb4954+4540667df76160ba2257f08fa194345a2d771c5a (630590eeb39812c9d37dbcb4491d4c5bcc8b2caf) 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-ssh3671036338859243524.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh14471614356325491418.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-299/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-299/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9625024708159535941.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-299/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1062555158822168883.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3341191488735518718.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-299/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-299/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5868510304634204241.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-12309’ Running on prd-ubuntu20.04-docker-8c-8g-12319 in /w/workspace/gexfoundry_device-snmp-go_PR-299 [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-299 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 4540667df76160ba2257f08fa194345a2d771c5a into PR head commit 4a25e78525dd7bdb794ad226d83954dcb6eb4954 Merge succeeded, producing 4a25e78525dd7bdb794ad226d83954dcb6eb4954 Checking out Revision 4a25e78525dd7bdb794ad226d83954dcb6eb4954 (PR-299) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 > 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/299/head:refs/remotes/origin/PR-299 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4a25e78525dd7bdb794ad226d83954dcb6eb4954 # 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 4540667df76160ba2257f08fa194345a2d771c5a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4a25e78525dd7bdb794ad226d83954dcb6eb4954 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:02:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:02:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:02:25 ========================================================= 06:02:25 EdgeX Global Pipelines Version Info 06:02:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:02:26 ------------------- 06:02:26 stable info: 06:02:26 ------------------- 06:02:26 Commited By: Bill Mahoney bill.mahoney@intel.com 06:02:26 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 06:02:26 Message: update stable to v1.0.248 06:02:27 ------------------- 06:02:27 experimental info: 06:02:27 ------------------- 06:02:27 Commited By: **** collab-it+edgex@linuxfoundation.org 06:02:27 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 06:02:27 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:02:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 06:02:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 06:02:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:02:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:02:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:02:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 06:02:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:02:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:02:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:02:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:02:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:02:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 06:02:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:02:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:02:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:02:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:02:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:02:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:02:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:02:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:02:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:02:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:02:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:02:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:02:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:02:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:02:28 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:02:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-299 [Pipeline] echo 06:02:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-299 [Pipeline] echo 06:02:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-299 [Pipeline] echo 06:02:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4a25e78525dd7bdb794ad226d83954dcb6eb4954 [Pipeline] echo 06:02:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4a25e78 [Pipeline] echo 06:02:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:02:28 provisioning config files... 06:02:28 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-299@tmp/config18364255473627650834tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:02:29 ---> docker-login.sh 06:02:29 nexus3.edgexfoundry.org:10001 06:02:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:29 Configure a credential helper to remove this warning. See 06:02:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:29 06:02:29 Login Succeeded 06:02:29 nexus3.edgexfoundry.org:10002 06:02:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:29 Configure a credential helper to remove this warning. See 06:02:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:29 06:02:29 Login Succeeded 06:02:29 nexus3.edgexfoundry.org:10003 06:02:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:29 Configure a credential helper to remove this warning. See 06:02:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:29 06:02:29 Login Succeeded 06:02:29 nexus3.edgexfoundry.org:10004 06:02:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:30 Configure a credential helper to remove this warning. See 06:02:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:30 06:02:30 Login Succeeded 06:02:30 docker.io 06:02:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:30 Configure a credential helper to remove this warning. See 06:02:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:30 06:02:30 Login Succeeded 06:02:30 ---> docker-login.sh ends [Pipeline] } 06:02:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:02:30 + git rev-list -1 --merges 4a25e78525dd7bdb794ad226d83954dcb6eb4954~1..4a25e78525dd7bdb794ad226d83954dcb6eb4954 [Pipeline] echo 06:02:30 -----------> git rev-list -1 --merges 4a25e78525dd7bdb794ad226d83954dcb6eb4954~1..4a25e78525dd7bdb794ad226d83954dcb6eb4954 4a25e78525dd7bdb794ad226d83954dcb6eb4954 [false] [Pipeline] sh 06:02:31 + git log --format=format:%s -1 4a25e78525dd7bdb794ad226d83954dcb6eb4954 [Pipeline] echo 06:02:31 ========================================================= 06:02:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:02:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:02:31 + git log --format=format:%s -1 4a25e78525dd7bdb794ad226d83954dcb6eb4954 [Pipeline] echo 06:02:31 [semverPrep] GIT_COMMIT: 4a25e78525dd7bdb794ad226d83954dcb6eb4954, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 06:02:31 [semverPrep] This is not a build commit. [Pipeline] sh 06:02:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:02:32 + grep -v github /etc/ssh/ssh_known_hosts 06:02:32 + [ -e /tmp/ssh_known_hosts ] 06:02:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:02:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ 06:02:32 sudo tee -a /etc/ssh/ssh_known_hosts 06:02:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:02:32 06: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 06:02:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:02:33 0.1.4: Pulling from edgex-devops/py-git-semver 06:02:33 b85a868b505f: Pulling fs layer 06:02:33 e2be974225ed: Pulling fs layer 06:02:33 339a4e72a1f5: Pulling fs layer 06:02:33 988bab9f4d93: Pulling fs layer 06:02:33 1469e6f7b9e6: Pulling fs layer 06:02:33 eaf3925da568: Pulling fs layer 06:02:33 bab4dde63d76: Pulling fs layer 06:02:33 bde34c3a00c8: Pulling fs layer 06:02:33 b352a97aabf1: Pulling fs layer 06:02:33 4872d77fe225: Pulling fs layer 06:02:33 5851b861e8e6: Pulling fs layer 06:02:33 988bab9f4d93: Waiting 06:02:33 1469e6f7b9e6: Waiting 06:02:33 bab4dde63d76: Waiting 06:02:33 eaf3925da568: Waiting 06:02:33 b352a97aabf1: Waiting 06:02:33 4872d77fe225: Waiting 06:02:33 bde34c3a00c8: Waiting 06:02:33 5851b861e8e6: Waiting 06:02:33 e2be974225ed: Verifying Checksum 06:02:33 e2be974225ed: Download complete 06:02:33 988bab9f4d93: Verifying Checksum 06:02:33 988bab9f4d93: Download complete 06:02:33 1469e6f7b9e6: Verifying Checksum 06:02:33 1469e6f7b9e6: Download complete 06:02:33 339a4e72a1f5: Verifying Checksum 06:02:33 339a4e72a1f5: Download complete 06:02:33 eaf3925da568: Verifying Checksum 06:02:33 eaf3925da568: Download complete 06:02:33 bde34c3a00c8: Verifying Checksum 06:02:33 bde34c3a00c8: Download complete 06:02:33 b352a97aabf1: Verifying Checksum 06:02:33 b352a97aabf1: Download complete 06:02:33 4872d77fe225: Verifying Checksum 06:02:33 4872d77fe225: Download complete 06:02:33 5851b861e8e6: Verifying Checksum 06:02:33 5851b861e8e6: Download complete 06:02:33 b85a868b505f: Download complete 06:02:33 bab4dde63d76: Verifying Checksum 06:02:33 bab4dde63d76: Download complete 06:02:34 b85a868b505f: Pull complete 06:02:34 e2be974225ed: Pull complete 06:02:35 339a4e72a1f5: Pull complete 06:02:35 988bab9f4d93: Pull complete 06:02:35 1469e6f7b9e6: Pull complete 06:02:35 eaf3925da568: Pull complete 06:02:37 bab4dde63d76: Pull complete 06:02:37 bde34c3a00c8: Pull complete 06:02:37 b352a97aabf1: Pull complete 06:02:37 4872d77fe225: Pull complete 06:02:37 5851b861e8e6: Pull complete 06:02:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:02:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:02:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:02:37 prd-ubuntu20.04-docker-8c-8g-12319 does not seem to be running inside a container 06: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-299 -v /w/workspace/gexfoundry_device-snmp-go_PR-299:/w/workspace/gexfoundry_device-snmp-go_PR-299:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-299@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-299@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 06:02:41 $ docker top 52886fa186b521e4755c4f8b7aa48065703854edc443bf34bb43e5b03b35714a -eo pid,comm 06:02:42 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). 06:02:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:02:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:02:42 [ssh-agent] Looking for ssh-agent implementation... 06:02:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:02:42 $ docker exec 52886fa186b521e4755c4f8b7aa48065703854edc443bf34bb43e5b03b35714a ssh-agent 06:02:42 SSH_AUTH_SOCK=/tmp/ssh-vQAu06mww8pC/agent.14 06:02:42 SSH_AGENT_PID=20 06:02:42 Running ssh-add (command line suppressed) 06:02:42 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-299@tmp/private_key_12304272090538365915.key (/w/workspace/gexfoundry_device-snmp-go_PR-299@tmp/private_key_12304272090538365915.key) 06:02:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:02:42 + git tag --points-at HEAD [Pipeline] } 06:02:42 $ docker exec --env ******** --env ******** 52886fa186b521e4755c4f8b7aa48065703854edc443bf34bb43e5b03b35714a ssh-agent -k 06:02:42 unset SSH_AUTH_SOCK; 06:02:42 unset SSH_AGENT_PID; 06:02:42 echo Agent pid 20 killed; 06:02:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:02:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:02:43 [ssh-agent] Looking for ssh-agent implementation... 06:02:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:02:43 $ docker exec 52886fa186b521e4755c4f8b7aa48065703854edc443bf34bb43e5b03b35714a ssh-agent 06:02:43 SSH_AUTH_SOCK=/tmp/ssh-rf54tQf0JMjT/agent.71 06:02:43 SSH_AGENT_PID=77 06:02:43 Running ssh-add (command line suppressed) 06:02:43 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-299@tmp/private_key_13192729001297515530.key (/w/workspace/gexfoundry_device-snmp-go_PR-299@tmp/private_key_13192729001297515530.key) 06:02:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:02:43 + git semver init 06:02:44 2023-05-02 06:02:43,980 [run_init] DEBUG init version:0.0.0 force:False 06:02:44 2023-05-02 06:02:43,981 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-299/.semver 06:02:44 2023-05-02 06:02:43,981 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-299/.semver 06:02:44 2023-05-02 06:02:43,981 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-299/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-299, universal_newlines=False, shell=None, istream=None) 06:02:44 2023-05-02 06:02:44,815 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-299/.git/info/exclude 06:02:44 2023-05-02 06:02:44,816 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-299/.semver/PR-299 with force:False 06:02:44 2023-05-02 06:02:44,816 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-299/.semver/PR-299 06:02:44 2023-05-02 06:02:44,819 [execute] INFO git cat-file --batch-check 06:02:44 2023-05-02 06:02:44,819 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-299/.semver, universal_newlines=False, shell=None, istream=) 06:02:44 2023-05-02 06:02:44,825 [execute] INFO git cat-file --batch 06:02:44 2023-05-02 06:02:44,825 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-299/.semver, universal_newlines=False, shell=None, istream=) 06:02:44 2023-05-02 06:02:44,829 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-299/.semver/PR-299 06:02:44 0.0.0 [Pipeline] } 06:02:45 $ docker exec --env ******** --env ******** 52886fa186b521e4755c4f8b7aa48065703854edc443bf34bb43e5b03b35714a ssh-agent -k 06:02:45 unset SSH_AUTH_SOCK; 06:02:45 unset SSH_AGENT_PID; 06:02:45 echo Agent pid 77 killed; 06:02:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:02:45 + git semver [Pipeline] } 06:02:45 $ docker stop --time=1 52886fa186b521e4755c4f8b7aa48065703854edc443bf34bb43e5b03b35714a 06:02:47 $ docker rm -f --volumes 52886fa186b521e4755c4f8b7aa48065703854edc443bf34bb43e5b03b35714a [Pipeline] // withDockerContainer [Pipeline] sh 06:02:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:02:47 Stashed 1 file(s) [Pipeline] echo 06:02:47 [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 06:02:48 provisioning config files... 06:02:48 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-299@tmp/config7610494320181413191tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:02:48 ---> docker-login.sh 06:02:48 nexus3.edgexfoundry.org:10001 06:02:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:48 Configure a credential helper to remove this warning. See 06:02:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:48 06:02:48 Login Succeeded 06:02:48 nexus3.edgexfoundry.org:10002 06:02:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:49 Configure a credential helper to remove this warning. See 06:02:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:49 06:02:49 Login Succeeded 06:02:49 nexus3.edgexfoundry.org:10003 06:02:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:49 Configure a credential helper to remove this warning. See 06:02:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:49 06:02:49 Login Succeeded 06:02:49 nexus3.edgexfoundry.org:10004 06:02:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:49 Configure a credential helper to remove this warning. See 06:02:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:49 06:02:49 Login Succeeded 06:02:49 docker.io 06:02:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:49 Configure a credential helper to remove this warning. See 06:02:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:49 06:02:49 Login Succeeded 06:02:49 ---> docker-login.sh ends [Pipeline] } 06:02:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:02:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:02:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:02:49 ========================================================= 06:02:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 06:02:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:50 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 06:02:50 Sending build context to Docker daemon 5.811MB 06:02:50 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 06:02:50 Step 2/12 : FROM ${BASE} AS builder 06:02:50 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 06:02:50 f56be85fc22e: Pulling fs layer 06:02:50 85791d961cd3: Pulling fs layer 06:02:50 d694b5ae8c79: Pulling fs layer 06:02:50 9f32a84ed3da: Pulling fs layer 06:02:50 4d19c01a9841: Pulling fs layer 06:02:50 9325e15d5711: Pulling fs layer 06:02:50 9f32a84ed3da: Waiting 06:02:50 4d19c01a9841: Waiting 06:02:50 9325e15d5711: Waiting 06:02:50 556b6ee489ea: Pulling fs layer 06:02:50 c5a4b2cf53e6: Pulling fs layer 06:02:50 556b6ee489ea: Waiting 06:02:50 85791d961cd3: Verifying Checksum 06:02:50 85791d961cd3: Download complete 06:02:50 9f32a84ed3da: Verifying Checksum 06:02:50 9f32a84ed3da: Download complete 06:02:50 4d19c01a9841: Download complete 06:02:50 f56be85fc22e: Verifying Checksum 06:02:50 f56be85fc22e: Download complete 06:02:50 9325e15d5711: Verifying Checksum 06:02:50 9325e15d5711: Download complete 06:02:50 f56be85fc22e: Pull complete 06:02:51 c5a4b2cf53e6: Verifying Checksum 06:02:51 c5a4b2cf53e6: Download complete 06:02:51 85791d961cd3: Pull complete 06:02:51 d694b5ae8c79: Verifying Checksum 06:02:51 d694b5ae8c79: Download complete 06:02:51 556b6ee489ea: Verifying Checksum 06:02:51 556b6ee489ea: Download complete 06:02:55 d694b5ae8c79: Pull complete 06:02:55 9f32a84ed3da: Pull complete 06:02:55 4d19c01a9841: Pull complete 06:02:56 9325e15d5711: Pull complete 06:02:58 556b6ee489ea: Pull complete 06:02:59 c5a4b2cf53e6: Pull complete 06:02:59 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 06:02:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 06:02:59 ---> c4be618373d6 06:02:59 Step 3/12 : ARG ADD_BUILD_TAGS="" 06:03:03 Still waiting to schedule task 06:03:03 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-12315’ 06:03:05 ---> Running in 203881dd098b 06:03:05 Removing intermediate container 203881dd098b 06:03:05 ---> 5fbf16347867 06:03:05 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:03:06 ---> Running in 8c753ed0a716 06:03:06 Removing intermediate container 8c753ed0a716 06:03:06 ---> 31d080f24d90 06:03:06 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:03:06 ---> Running in 3d5c0be105f4 06:03:06 Removing intermediate container 3d5c0be105f4 06:03:06 ---> 3fff65a7b1c6 06:03:06 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 06:03:07 ---> Running in 313b29604703 06:03:07 Removing intermediate container 313b29604703 06:03:07 ---> 9ef57d8290ef 06:03:07 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:03:07 ---> Running in 443e457e2319 06:03:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:03:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:03:08 (1/4) Installing openssh-keygen (9.1_p1-r2) 06:03:08 (2/4) Installing libedit (20221030.3.1-r0) 06:03:08 (3/4) Installing openssh-client-common (9.1_p1-r2) 06:03:08 (4/4) Installing openssh-client-default (9.1_p1-r2) 06:03:08 Executing busybox-1.35.0-r29.trigger 06:03:08 OK: 269 MiB in 57 packages 06:03:08 Removing intermediate container 443e457e2319 06:03:08 ---> 16c70bb8802c 06:03:08 Step 8/12 : WORKDIR /device-snmp-go 06:03:08 ---> Running in 6f6fc7104169 06:03:08 Removing intermediate container 6f6fc7104169 06:03:08 ---> e6bd59f8fd50 06:03:08 Step 9/12 : COPY go.mod vendor* ./ 06:03:08 ---> 2ec567c055ff 06:03:08 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:03:08 ---> Running in e25ca9d5c987 06:03:48 Removing intermediate container e25ca9d5c987 06:03:48 ---> ea2ac13412b2 06:03:48 Step 11/12 : COPY . . 06:03:48 ---> f7aa5de240ca 06:03:48 Step 12/12 : RUN ${MAKE} 06:03:48 ---> Running in 3f67919d8cb6 06:03:48 noop 06:03:48 Removing intermediate container 3f67919d8cb6 06:03:48 ---> f0d606246742 06:03:48 Successfully built f0d606246742 06:03:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:49 + docker inspect -f . ci-base-image-x86_64 06:03:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:03:49 prd-ubuntu20.04-docker-8c-8g-12319 does not seem to be running inside a container 06:03:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-299 -v /w/workspace/gexfoundry_device-snmp-go_PR-299:/w/workspace/gexfoundry_device-snmp-go_PR-299:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-299@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-299@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 06:03:49 $ docker top 4df7d8dfa4e763515b6fbb07a41bd0856623892ed44b61af8acd1b9592a62a6b -eo pid,comm [Pipeline] { [Pipeline] sh 06:03:49 + go version 06:03:49 go version go1.20.2 linux/amd64 [Pipeline] } 06:03:50 $ docker stop --time=1 4df7d8dfa4e763515b6fbb07a41bd0856623892ed44b61af8acd1b9592a62a6b 06:03:51 $ docker rm -f --volumes 4df7d8dfa4e763515b6fbb07a41bd0856623892ed44b61af8acd1b9592a62a6b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:52 + docker inspect -f . ci-base-image-x86_64 06:03:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:03:52 prd-ubuntu20.04-docker-8c-8g-12319 does not seem to be running inside a container 06:03:52 $ 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-299 -v /w/workspace/gexfoundry_device-snmp-go_PR-299:/w/workspace/gexfoundry_device-snmp-go_PR-299:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-299@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-299@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 06:03:52 $ docker top ff8ef0d82adb843aa5b80dc3714d6e49741b9d4651f4348f5a0c1d680611edba -eo pid,comm [Pipeline] { [Pipeline] sh 06:03:53 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-299 [Pipeline] fileExists [Pipeline] sh 06:03:53 + make test 06:03:53 go test ./... -coverprofile=coverage.out 06:03:58 ? github.com/edgexfoundry/device-snmp-go [no test files] 06:04:08 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 06:04:08 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.006s coverage: 0.0% of statements 06:04:14 go vet ./... 06:04:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:04:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:04:17 ./bin/test-attribution-txt.sh [Pipeline] echo 06:04:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:04:17 $ docker stop --time=1 ff8ef0d82adb843aa5b80dc3714d6e49741b9d4651f4348f5a0c1d680611edba 06:04:21 $ docker rm -f --volumes ff8ef0d82adb843aa5b80dc3714d6e49741b9d4651f4348f5a0c1d680611edba [Pipeline] // withDockerContainer [Pipeline] sh 06:04:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:04:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:04:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:04:23 + ls -al . 06:04:23 total 172 06:04:23 drwxrwxr-x 9 jenkins jenkins 4096 May 2 06:03 . 06:04:23 drwxrwxr-x 4 jenkins jenkins 4096 May 2 06:02 .. 06:04:23 -rw-rw-r-- 1 jenkins jenkins 6 May 2 06:02 .dockerignore 06:04:23 drwxrwxr-x 8 jenkins jenkins 4096 May 2 06:02 .git 06:04:23 drwxrwxr-x 3 jenkins jenkins 4096 May 2 06:02 .github 06:04:23 -rw-rw-r-- 1 jenkins jenkins 328 May 2 06:02 .gitignore 06:04:23 -rw-rw-r-- 1 jenkins jenkins 41 May 2 06:02 .golangci.yml 06:04:23 drwxr-xr-x 3 jenkins jenkins 4096 May 2 06:02 .semver 06:04:23 -rw-rw-r-- 1 jenkins jenkins 9056 May 2 06:02 Attribution.txt 06:04:23 -rw-rw-r-- 1 jenkins jenkins 8355 May 2 06:02 CHANGELOG.md 06:04:23 -rw-rw-r-- 1 jenkins jenkins 1423 May 2 06:02 Dockerfile 06:04:23 -rw-rw-r-- 1 jenkins jenkins 677 May 2 06:02 GOVERNANCE.md 06:04:23 -rw-rw-r-- 1 jenkins jenkins 656 May 2 06:02 Jenkinsfile 06:04:23 -rw-rw-r-- 1 jenkins jenkins 11340 May 2 06:02 LICENSE 06:04:23 -rw-rw-r-- 1 jenkins jenkins 2114 May 2 06:02 Makefile 06:04:23 -rw-rw-r-- 1 jenkins jenkins 620 May 2 06:02 OWNERS.md 06:04:23 -rw-rw-r-- 1 jenkins jenkins 10054 May 2 06:02 README.md 06:04:23 -rw-rw-r-- 1 jenkins jenkins 5 May 2 06:02 VERSION 06:04:23 drwxrwxr-x 2 jenkins jenkins 4096 May 2 06:02 bin 06:04:23 drwxrwxr-x 3 jenkins jenkins 4096 May 2 06:02 cmd 06:04:23 -rw-r--r-- 1 jenkins jenkins 8837 May 2 06:04 coverage.out 06:04:23 -rw-rw-r-- 1 jenkins jenkins 3283 May 2 06:02 go.mod 06:04:23 -rw-rw-r-- 1 jenkins jenkins 31441 May 2 06:02 go.sum 06:04:23 drwxrwxr-x 3 jenkins jenkins 4096 May 2 06:02 internal 06:04:23 drwxrwxr-x 4 jenkins jenkins 4096 May 2 06:02 snap 06:04:23 -rw-rw-r-- 1 jenkins jenkins 228 May 2 06:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:23 + 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=4a25e78525dd7bdb794ad226d83954dcb6eb4954 --label arch=amd64 --label version=0.0.0 . 06:04:23 Sending build context to Docker daemon 5.821MB 06:04:23 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 06:04:23 Step 2/24 : FROM ${BASE} AS builder 06:04:23 ---> f0d606246742 06:04:23 Step 3/24 : ARG ADD_BUILD_TAGS="" 06:04:23 ---> Running in 0cecd0adf104 06:04:24 Removing intermediate container 0cecd0adf104 06:04:24 ---> deb4382748b0 06:04:24 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:04:24 ---> Running in 7c11f4af0731 06:04:24 Removing intermediate container 7c11f4af0731 06:04:24 ---> 6138c3781fd2 06:04:24 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:04:24 ---> Running in 795dccf9824c 06:04:25 Removing intermediate container 795dccf9824c 06:04:25 ---> b55738bc976d 06:04:25 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 06:04:25 ---> Running in c22bf7842a9d 06:04:25 Removing intermediate container c22bf7842a9d 06:04:25 ---> a5c2d7bdb2c0 06:04:25 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:04:25 ---> Running in f8979cb63aab 06:04:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:04:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:04:26 OK: 269 MiB in 57 packages 06:04:27 Removing intermediate container f8979cb63aab 06:04:27 ---> 6bc9053465b4 06:04:27 Step 8/24 : WORKDIR /device-snmp-go 06:04:27 ---> Running in 7045dea98545 06:04:27 Removing intermediate container 7045dea98545 06:04:27 ---> 580b375b7239 06:04:27 Step 9/24 : COPY go.mod vendor* ./ 06:04:27 ---> 4a25bf94a724 06:04:27 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:04:27 ---> Running in 579433bab97e 06:04:29 Removing intermediate container 579433bab97e 06:04:29 ---> c5c914efcbe2 06:04:29 Step 11/24 : COPY . . 06:04:29 ---> d48ecb84cb3a 06:04:29 Step 12/24 : RUN ${MAKE} 06:04:30 ---> Running in cd2d4348bc03 06:04:30 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 06:04:52 Removing intermediate container cd2d4348bc03 06:04:52 ---> eb016e6f5850 06:04:52 Step 13/24 : FROM alpine:3.17 06:04:52 3.17: Pulling from library/alpine 06:04:52 f56be85fc22e: Already exists 06:04:52 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:04:52 Status: Downloaded newer image for alpine:3.17 06:04:52 ---> 9ed4aefc74f6 06:04:52 Step 14/24 : RUN apk add --update --no-cache dumb-init 06:04:52 ---> Running in 8c34f29e7eda 06:04:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:04:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:04:52 (1/1) Installing dumb-init (1.2.5-r2) 06:04:52 Executing busybox-1.35.0-r29.trigger 06:04:52 OK: 7 MiB in 16 packages 06:04:52 Removing intermediate container 8c34f29e7eda 06:04:52 ---> af2305ee6b32 06:04:52 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 06:04:52 ---> a40c12293b24 06:04:52 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 06:04:52 ---> 9e9417ff92b7 06:04:52 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 06:04:53 ---> 7fcca8856a77 06:04:53 Step 18/24 : EXPOSE 59993 06:04:53 ---> Running in 14b47d67dc34 06:04:53 Removing intermediate container 14b47d67dc34 06:04:53 ---> 149acd70a873 06:04:53 Step 19/24 : EXPOSE 161 06:04:53 ---> Running in 9ab7f0e555fd 06:04:53 Removing intermediate container 9ab7f0e555fd 06:04:53 ---> 5cc161eb7bb9 06:04:53 Step 20/24 : ENTRYPOINT ["/device-snmp"] 06:04:53 ---> Running in 4ef16aef9afc 06:04:53 Removing intermediate container 4ef16aef9afc 06:04:53 ---> 407a48c40a15 06:04:53 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 06:04:53 ---> Running in 36586aa1582b 06:04:53 Removing intermediate container 36586aa1582b 06:04:53 ---> 60cdbd0ac0d3 06:04:53 Step 22/24 : LABEL arch=amd64 06:04:53 ---> Running in 67a0bcf14ecb 06:04:53 Removing intermediate container 67a0bcf14ecb 06:04:53 ---> 25ac1b5c0a18 06:04:53 Step 23/24 : LABEL git_sha=4a25e78525dd7bdb794ad226d83954dcb6eb4954 06:04:53 ---> Running in 84b7ce359e2c 06:04:53 Removing intermediate container 84b7ce359e2c 06:04:53 ---> 4a4a49b4dbb8 06:04:53 Step 24/24 : LABEL version=0.0.0 06:04:53 ---> Running in 2983fa8bf560 06:04:53 Removing intermediate container 2983fa8bf560 06:04:53 ---> b08cd8168ea5 06:04:53 [Warning] One or more build-args [ARCH] were not consumed 06:04:53 Successfully built b08cd8168ea5 06:04:53 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:04:54 06:04:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:04:54 latest: Pulling from edgex-lftools-log-publisher 06:04:54 5eb5b503b376: Pulling fs layer 06:04:54 5c69ac0246d0: Pulling fs layer 06:04:54 ec43610c2a17: Pulling fs layer 06:04:54 3a2ae6a8a46f: Pulling fs layer 06:04:54 33b1e0a273af: Pulling fs layer 06:04:54 5d3b04190fa2: Pulling fs layer 06:04:54 2f39f015ded8: Pulling fs layer 06:04:54 5d3b04190fa2: Waiting 06:04:54 33b1e0a273af: Waiting 06:04:54 3a2ae6a8a46f: Waiting 06:04:54 2f39f015ded8: Waiting 06:04:54 5c69ac0246d0: Verifying Checksum 06:04:54 5c69ac0246d0: Download complete 06:04:54 3a2ae6a8a46f: Download complete 06:04:54 33b1e0a273af: Verifying Checksum 06:04:54 33b1e0a273af: Download complete 06:04:54 ec43610c2a17: Verifying Checksum 06:04:54 ec43610c2a17: Download complete 06:04:54 5d3b04190fa2: Download complete 06:04:55 5eb5b503b376: Verifying Checksum 06:04:55 5eb5b503b376: Download complete 06:04:55 2f39f015ded8: Download complete 06:04:57 5eb5b503b376: Pull complete 06:04:57 5c69ac0246d0: Pull complete 06:04:57 ec43610c2a17: Pull complete 06:04:57 3a2ae6a8a46f: Pull complete 06:04:58 33b1e0a273af: Pull complete 06:04:58 5d3b04190fa2: Pull complete 06:05:02 2f39f015ded8: Pull complete 06:05:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:05:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:05:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:05:02 prd-ubuntu20.04-docker-8c-8g-12319 does not seem to be running inside a container 06:05:02 $ 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-299 -v /w/workspace/gexfoundry_device-snmp-go_PR-299:/w/workspace/gexfoundry_device-snmp-go_PR-299:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-299@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-299@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:05:06 $ docker top 2c0e7db81f9e7ac5565fc4854e6ef58cc2b9292ee63b7abc64c67a5f9c0ca9dc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:05:06 ---> job-cost.sh 06:05:06 lf-activate-venv: SKIPPING 06:05:06 INFO: No Stack... 06:05:07 INFO: Retrieving Pricing Info for: v3-standard-8 06:05:08 INFO: Archiving Costs [Pipeline] sh 06:05:10 + cat /w/workspace/gexfoundry_device-snmp-go_PR-299/archives/cost.csv 06:05:10 + cut -d, -f6 [Pipeline] lock 06:05:10 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-299-1-stack-cost] 06:05:10 Resource [jenkins-edgexfoundry-device-snmp-go-PR-299-1-stack-cost] did not exist. Created. 06:05:10 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-299-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:05:10 + echo total: 0.2199999988079071 [Pipeline] stash 06:05:10 Stashed 1 file(s) [Pipeline] } 06:05:10 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-299-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:05:10 $ docker stop --time=1 2c0e7db81f9e7ac5565fc4854e6ef58cc2b9292ee63b7abc64c67a5f9c0ca9dc 06:05:12 $ docker rm -f --volumes 2c0e7db81f9e7ac5565fc4854e6ef58cc2b9292ee63b7abc64c67a5f9c0ca9dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:05:46 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12327 in /w/workspace/gexfoundry_device-snmp-go_PR-299 [Pipeline] { [Pipeline] ws 06:05:46 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 06:05:46 Selected Git installation does not exist. Using Default 06:05:46 The recommended git tool is: NONE 06:05:53 using credential edgex-jenkins-ssh 06:05:53 Cloning the remote Git repository 06:05:53 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 06:05:53 > git init /w/workspace/device-snmp-go/1 # timeout=10 06:05:53 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 06:05:53 > git --version # timeout=10 06:05:53 > git --version # 'git version 2.25.1' 06:05:53 using GIT_SSH to set credentials SSH Credentials for GitHub 06:05:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:05:54 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 06:05:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:05:56 Merging remotes/origin/main commit 4540667df76160ba2257f08fa194345a2d771c5a into PR head commit 4a25e78525dd7bdb794ad226d83954dcb6eb4954 06:05:56 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 06:05:56 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 06:05:56 using GIT_SSH to set credentials SSH Credentials for GitHub 06:05:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/299/head:refs/remotes/origin/PR-299 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:05:57 Merge succeeded, producing 4a25e78525dd7bdb794ad226d83954dcb6eb4954 06:05:57 Checking out Revision 4a25e78525dd7bdb794ad226d83954dcb6eb4954 (PR-299) 06:05:57 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 06:05:57 > git --version # timeout=10 06:05:57 > git --version # 'git version 2.25.1' 06:05:58 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 06:05:56 > git config core.sparsecheckout # timeout=10 06:05:57 > git checkout -f 4a25e78525dd7bdb794ad226d83954dcb6eb4954 # timeout=10 06:05:57 > git remote # timeout=10 06:05:57 > git config --get remote.origin.url # timeout=10 06:05:57 using GIT_SSH to set credentials SSH Credentials for GitHub 06:05:57 > git merge 4540667df76160ba2257f08fa194345a2d771c5a # timeout=10 06:05:57 > git rev-parse HEAD^{commit} # timeout=10 06:05:57 > git config core.sparsecheckout # timeout=10 06:05:57 > git checkout -f 4a25e78525dd7bdb794ad226d83954dcb6eb4954 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:05:59 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:05:59 % Total % Received % Xferd Average Speed Time Time Time Current 06:05:59 Dload Upload Total Spent Left Speed 06:05:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 191k 0 --:--:-- --:--:-- --:--:-- 194k [Pipeline] sh 06:05:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:06:00 + sudo tee /etc/docker/daemon.new 06:06:00 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:06:00 { 06:06:00 "registry-mirrors": [ 06:06:00 "https://nexus3.edgexfoundry.org:10001" 06:06:00 ], 06:06:00 "bip": "10.250.0.254/24", 06:06:00 "hosts": [ 06:06:00 "tcp://0.0.0.0:5555", 06:06:00 "unix:///var/run/docker.sock" 06:06:00 ], 06:06:00 "mtu": 1458, 06:06:00 "selinux-enabled": true, 06:06:00 "seccomp-profile": "/etc/docker/seccomp.json" 06:06:00 } [Pipeline] sh 06:06:00 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:06:01 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:06:19 provisioning config files... 06:06:19 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config905057948823807502tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:06:19 ---> docker-login.sh 06:06:19 nexus3.edgexfoundry.org:10001 06:06:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:20 Configure a credential helper to remove this warning. See 06:06:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:20 06:06:20 Login Succeeded 06:06:20 nexus3.edgexfoundry.org:10002 06:06:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:21 Configure a credential helper to remove this warning. See 06:06:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:21 06:06:21 Login Succeeded 06:06:21 nexus3.edgexfoundry.org:10003 06:06:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:21 Configure a credential helper to remove this warning. See 06:06:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:21 06:06:21 Login Succeeded 06:06:21 nexus3.edgexfoundry.org:10004 06:06:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:21 Configure a credential helper to remove this warning. See 06:06:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:21 06:06:21 Login Succeeded 06:06:21 docker.io 06:06:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:22 Configure a credential helper to remove this warning. See 06:06:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:22 06:06:22 Login Succeeded 06:06:22 ---> docker-login.sh ends [Pipeline] } 06:06:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:06:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:06:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:06:22 ========================================================= 06:06:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 06:06:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:23 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 06:06:23 Sending build context to Docker daemon 3.01MB 06:06:23 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 06:06:23 Step 2/12 : FROM ${BASE} AS builder 06:06:24 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:06:24 c41833b44d91: Pulling fs layer 06:06:24 ed15518f5707: Pulling fs layer 06:06:24 feae8fd75edb: Pulling fs layer 06:06:24 242c74f7c9fa: Pulling fs layer 06:06:24 3cdef696dda3: Pulling fs layer 06:06:24 2ced38df9373: Pulling fs layer 06:06:24 58f1dce35555: Pulling fs layer 06:06:24 3cdef696dda3: Waiting 06:06:24 2ced38df9373: Waiting 06:06:24 58f1dce35555: Waiting 06:06:24 242c74f7c9fa: Waiting 06:06:24 ed15518f5707: Verifying Checksum 06:06:24 ed15518f5707: Download complete 06:06:24 242c74f7c9fa: Verifying Checksum 06:06:24 242c74f7c9fa: Download complete 06:06:24 3cdef696dda3: Download complete 06:06:24 c41833b44d91: Download complete 06:06:25 c41833b44d91: Pull complete 06:06:25 58f1dce35555: Verifying Checksum 06:06:25 58f1dce35555: Download complete 06:06:25 ed15518f5707: Pull complete 06:06:26 feae8fd75edb: Verifying Checksum 06:06:26 feae8fd75edb: Download complete 06:06:27 2ced38df9373: Verifying Checksum 06:06:27 2ced38df9373: Download complete 06:06:39 feae8fd75edb: Pull complete 06:06:39 242c74f7c9fa: Pull complete 06:06:39 3cdef696dda3: Pull complete 06:06:44 2ced38df9373: Pull complete 06:06:47 58f1dce35555: Pull complete 06:06:47 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 06:06:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 06:06:47 ---> fadd8f120f05 06:06:47 Step 3/12 : ARG ADD_BUILD_TAGS="" 06:06:49 ---> Running in 6603d8b9ad4e 06:06:49 Removing intermediate container 6603d8b9ad4e 06:06:49 ---> bc12b68c298e 06:06:49 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:06:49 ---> Running in 2cd08cf2d554 06:06:50 Removing intermediate container 2cd08cf2d554 06:06:50 ---> 55e633d09edb 06:06:50 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:06:50 ---> Running in f023e562a24c 06:06:50 Removing intermediate container f023e562a24c 06:06:50 ---> 65920a9b6296 06:06:50 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 06:06:50 ---> Running in 19fbcb1eb2d8 06:06:51 Removing intermediate container 19fbcb1eb2d8 06:06:51 ---> b57cd77e7889 06:06:51 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:06:51 ---> Running in 39f3ca301ead 06:06:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:06:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:06:54 (1/4) Installing openssh-keygen (9.1_p1-r2) 06:06:54 (2/4) Installing libedit (20221030.3.1-r0) 06:06:54 (3/4) Installing openssh-client-common (9.1_p1-r2) 06:06:54 (4/4) Installing openssh-client-default (9.1_p1-r2) 06:06:54 Executing busybox-1.35.0-r29.trigger 06:06:54 OK: 268 MiB in 57 packages 06:06:55 Removing intermediate container 39f3ca301ead 06:06:55 ---> 49e76e9f9aca 06:06:55 Step 8/12 : WORKDIR /device-snmp-go 06:06:55 ---> Running in ace23b7a3108 06:06:55 Removing intermediate container ace23b7a3108 06:06:55 ---> 82bcdfcad4df 06:06:55 Step 9/12 : COPY go.mod vendor* ./ 06:06:57 ---> 818535ea22ae 06:06:57 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:06:57 ---> Running in 6ff81d2735b9 06:08:05 Removing intermediate container 6ff81d2735b9 06:08:05 ---> 2fdbd2f28b0f 06:08:05 Step 11/12 : COPY . . 06:08:05 ---> 83a4d6a63d53 06:08:05 Step 12/12 : RUN ${MAKE} 06:08:05 ---> Running in 6cecfa7c2e58 06:08:05 noop 06:08:05 Removing intermediate container 6cecfa7c2e58 06:08:05 ---> 4f66585ba3b8 06:08:05 Successfully built 4f66585ba3b8 06:08:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:06 + docker inspect -f . ci-base-image-arm64 06:08:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:08:06 prd-ubuntu20.04-docker-arm64-4c-16g-12327 does not seem to be running inside a container 06:08:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:08:07 $ docker top 246465b6064f8674845af7166b43bacc725b2f1b9aff0124ef251ca5d7d471ac -eo pid,comm [Pipeline] { [Pipeline] sh 06:08:08 + go version 06:08:08 go version go1.20.2 linux/arm64 [Pipeline] } 06:08:08 $ docker stop --time=1 246465b6064f8674845af7166b43bacc725b2f1b9aff0124ef251ca5d7d471ac 06:08:10 $ docker rm -f --volumes 246465b6064f8674845af7166b43bacc725b2f1b9aff0124ef251ca5d7d471ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:11 + docker inspect -f . ci-base-image-arm64 06:08:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:08:11 prd-ubuntu20.04-docker-arm64-4c-16g-12327 does not seem to be running inside a container 06:08:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:08:13 $ docker top e331168eda7e06c8ba4b59651bd343e810e719718c7f35e90f4a324463e445b7 -eo pid,comm [Pipeline] { [Pipeline] sh 06:08:13 + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh 06:08:14 + make test 06:08:14 go test ./... -coverprofile=coverage.out 06:08:53 ? github.com/edgexfoundry/device-snmp-go [no test files] 06:11:30 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 06:11:30 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.048s coverage: 0.0% of statements 06:11:30 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:11:30 go vet ./... 06:11:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:11:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:11:52 ./bin/test-attribution-txt.sh [Pipeline] echo 06:11:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:11:52 $ docker stop --time=1 e331168eda7e06c8ba4b59651bd343e810e719718c7f35e90f4a324463e445b7 06:11:56 $ docker rm -f --volumes e331168eda7e06c8ba4b59651bd343e810e719718c7f35e90f4a324463e445b7 [Pipeline] // withDockerContainer [Pipeline] sh 06:11:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:11:58 Warning: overwriting stash ‘coverage-report’ 06:11:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:11:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:11:59 + ls -al . 06:11:59 total 168 06:11:59 drwxrwxr-x 8 jenkins jenkins 4096 May 2 06:08 . 06:11:59 drwxrwxr-x 4 jenkins jenkins 4096 May 2 06:05 .. 06:11:59 -rw-rw-r-- 1 jenkins jenkins 6 May 2 06:05 .dockerignore 06:11:59 drwxrwxr-x 8 jenkins jenkins 4096 May 2 06:05 .git 06:11:59 drwxrwxr-x 3 jenkins jenkins 4096 May 2 06:05 .github 06:11:59 -rw-rw-r-- 1 jenkins jenkins 328 May 2 06:05 .gitignore 06:11:59 -rw-rw-r-- 1 jenkins jenkins 41 May 2 06:05 .golangci.yml 06:11:59 -rw-rw-r-- 1 jenkins jenkins 9056 May 2 06:05 Attribution.txt 06:11:59 -rw-rw-r-- 1 jenkins jenkins 8355 May 2 06:05 CHANGELOG.md 06:11:59 -rw-rw-r-- 1 jenkins jenkins 1423 May 2 06:05 Dockerfile 06:11:59 -rw-rw-r-- 1 jenkins jenkins 677 May 2 06:05 GOVERNANCE.md 06:11:59 -rw-rw-r-- 1 jenkins jenkins 656 May 2 06:05 Jenkinsfile 06:11:59 -rw-rw-r-- 1 jenkins jenkins 11340 May 2 06:05 LICENSE 06:11:59 -rw-rw-r-- 1 jenkins jenkins 2114 May 2 06:05 Makefile 06:11:59 -rw-rw-r-- 1 jenkins jenkins 620 May 2 06:05 OWNERS.md 06:11:59 -rw-rw-r-- 1 jenkins jenkins 10054 May 2 06:05 README.md 06:11:59 -rw-rw-r-- 1 jenkins jenkins 5 May 2 06:02 VERSION 06:11:59 drwxrwxr-x 2 jenkins jenkins 4096 May 2 06:05 bin 06:11:59 drwxrwxr-x 3 jenkins jenkins 4096 May 2 06:05 cmd 06:11:59 -rw-r--r-- 1 jenkins jenkins 8837 May 2 06:11 coverage.out 06:11:59 -rw-rw-r-- 1 jenkins jenkins 3283 May 2 06:05 go.mod 06:11:59 -rw-rw-r-- 1 jenkins jenkins 31441 May 2 06:05 go.sum 06:11:59 drwxrwxr-x 3 jenkins jenkins 4096 May 2 06:05 internal 06:11:59 drwxrwxr-x 4 jenkins jenkins 4096 May 2 06:05 snap 06:11:59 -rw-rw-r-- 1 jenkins jenkins 228 May 2 06:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:00 + 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=4a25e78525dd7bdb794ad226d83954dcb6eb4954 --label arch=arm64 --label version=0.0.0 . 06:12:00 Sending build context to Docker daemon 3.02MB 06:12:00 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 06:12:00 Step 2/24 : FROM ${BASE} AS builder 06:12:00 ---> 4f66585ba3b8 06:12:00 Step 3/24 : ARG ADD_BUILD_TAGS="" 06:12:00 ---> Running in c960efdcadb4 06:12:00 Removing intermediate container c960efdcadb4 06:12:00 ---> 859b4d32d345 06:12:00 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:12:00 ---> Running in 5d3be83abc10 06:12:01 Removing intermediate container 5d3be83abc10 06:12:01 ---> e7d2b2ee47a0 06:12:01 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:12:01 ---> Running in 0b440113c687 06:12:01 Removing intermediate container 0b440113c687 06:12:01 ---> 8cd608891998 06:12:01 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 06:12:01 ---> Running in 5c35c5e8a08f 06:12:02 Removing intermediate container 5c35c5e8a08f 06:12:02 ---> e73559ba83ef 06:12:02 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:12:02 ---> Running in 207b3f3f61fa 06:12:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:12:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:12:05 OK: 268 MiB in 57 packages 06:12:06 Removing intermediate container 207b3f3f61fa 06:12:06 ---> 6a51c7f9489c 06:12:06 Step 8/24 : WORKDIR /device-snmp-go 06:12:06 ---> Running in ccaa41b4597c 06:12:06 Removing intermediate container ccaa41b4597c 06:12:06 ---> c1283c7f6c90 06:12:06 Step 9/24 : COPY go.mod vendor* ./ 06:12:07 ---> d5459aee6010 06:12:07 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:12:07 ---> Running in 1b7a84cfcd86 06:12:10 Removing intermediate container 1b7a84cfcd86 06:12:10 ---> 34313595e4fd 06:12:10 Step 11/24 : COPY . . 06:12:11 ---> 817ec02de4f9 06:12:11 Step 12/24 : RUN ${MAKE} 06:12:11 ---> Running in 30202e991110 06:12:12 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 06:14:49 Removing intermediate container 30202e991110 06:14:49 ---> 4aaba46eafd4 06:14:49 Step 13/24 : FROM alpine:3.17 06:14:49 3.17: Pulling from library/alpine 06:14:49 c41833b44d91: Already exists 06:14:49 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:14:49 Status: Downloaded newer image for alpine:3.17 06:14:49 ---> 51e60588ff2c 06:14:49 Step 14/24 : RUN apk add --update --no-cache dumb-init 06:14:49 ---> Running in ef13e0cf02ec 06:14:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:14:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:14:49 (1/1) Installing dumb-init (1.2.5-r2) 06:14:49 Executing busybox-1.35.0-r29.trigger 06:14:49 OK: 8 MiB in 16 packages 06:14:49 Removing intermediate container ef13e0cf02ec 06:14:49 ---> 2fa620df8a28 06:14:49 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 06:14:49 ---> 4022f7a06a01 06:14:49 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 06:14:49 ---> b7f49ad52597 06:14:49 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 06:14:49 ---> 3c4a257825a8 06:14:49 Step 18/24 : EXPOSE 59993 06:14:49 ---> Running in e4fc2a0ec599 06:14:49 Removing intermediate container e4fc2a0ec599 06:14:49 ---> 8e170e287100 06:14:49 Step 19/24 : EXPOSE 161 06:14:49 ---> Running in 6a47d6354361 06:14:49 Removing intermediate container 6a47d6354361 06:14:49 ---> 70833069fba6 06:14:49 Step 20/24 : ENTRYPOINT ["/device-snmp"] 06:14:49 ---> Running in 219ec5114500 06:14:49 Removing intermediate container 219ec5114500 06:14:49 ---> f1330d570414 06:14:49 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 06:14:49 ---> Running in f0b4b32ae55d 06:14:49 Removing intermediate container f0b4b32ae55d 06:14:49 ---> 11c1d55616a6 06:14:49 Step 22/24 : LABEL arch=arm64 06:14:49 ---> Running in b55b2e95de3f 06:14:49 Removing intermediate container b55b2e95de3f 06:14:49 ---> 52a275bb7640 06:14:49 Step 23/24 : LABEL git_sha=4a25e78525dd7bdb794ad226d83954dcb6eb4954 06:14:49 ---> Running in db4a110eacdf 06:14:49 Removing intermediate container db4a110eacdf 06:14:49 ---> 1b77bb5c5236 06:14:49 Step 24/24 : LABEL version=0.0.0 06:14:49 ---> Running in a7200b4d81b9 06:14:49 Removing intermediate container a7200b4d81b9 06:14:49 ---> 3280c50a1cbf 06:14:49 [Warning] One or more build-args [ARCH] were not consumed 06:14:49 Successfully built 3280c50a1cbf 06:14:49 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:14:50 06:14:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:14:51 arm64: Pulling from edgex-lftools-log-publisher 06:14:51 8998bd30e6a1: Pulling fs layer 06:14:51 04944245beec: Pulling fs layer 06:14:51 699f458cf7ca: Pulling fs layer 06:14:51 765212b225bb: Pulling fs layer 06:14:51 f23df028b6ca: Pulling fs layer 06:14:51 d65c8cfc05b1: Pulling fs layer 06:14:51 2437ff75d9bd: Pulling fs layer 06:14:51 765212b225bb: Waiting 06:14:51 f23df028b6ca: Waiting 06:14:51 d65c8cfc05b1: Waiting 06:14:51 2437ff75d9bd: Waiting 06:14:51 04944245beec: Verifying Checksum 06:14:51 04944245beec: Download complete 06:14:51 765212b225bb: Verifying Checksum 06:14:51 765212b225bb: Download complete 06:14:51 f23df028b6ca: Verifying Checksum 06:14:51 f23df028b6ca: Download complete 06:14:51 d65c8cfc05b1: Verifying Checksum 06:14:51 d65c8cfc05b1: Download complete 06:14:51 699f458cf7ca: Verifying Checksum 06:14:51 699f458cf7ca: Download complete 06:14:51 8998bd30e6a1: Verifying Checksum 06:14:51 8998bd30e6a1: Download complete 06:14:54 2437ff75d9bd: Verifying Checksum 06:14:54 2437ff75d9bd: Download complete 06:14:56 8998bd30e6a1: Pull complete 06:14:56 04944245beec: Pull complete 06:14:57 699f458cf7ca: Pull complete 06:14:57 765212b225bb: Pull complete 06:14:58 f23df028b6ca: Pull complete 06:14:59 d65c8cfc05b1: Pull complete 06:15:14 2437ff75d9bd: Pull complete 06:15:14 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:15:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:15:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:15:14 prd-ubuntu20.04-docker-arm64-4c-16g-12327 does not seem to be running inside a container 06:15:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:15:17 $ docker top 0badbd57ece1d75b6af734bf46ea8a9d00bb9ebfe7e998163943fd0bdb09c67b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:15:18 ---> job-cost.sh 06:15:18 lf-activate-venv: SKIPPING 06:15:18 INFO: No Stack... 06:15:18 INFO: Retrieving Pricing Info for: v3-standard-4 06:15:19 INFO: Archiving Costs [Pipeline] sh 06:15:20 + cat+ /w/workspace/device-snmp-go/1/archives/cost.csv 06:15:20 cut -d, -f6 [Pipeline] lock 06:15:20 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-299-1-stack-cost] 06:15:20 Resource [jenkins-edgexfoundry-device-snmp-go-PR-299-1-stack-cost] did not exist. Created. 06:15:20 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-299-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:15:20 /w/workspace/device-snmp-go/1@tmp/durable-f53d737e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:15:21 + echo total: 0.10999999940395355 [Pipeline] stash 06:15:21 Warning: overwriting stash ‘stack-cost’ 06:15:21 Stashed 1 file(s) [Pipeline] } 06:15:21 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-299-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:15:21 $ docker stop --time=1 0badbd57ece1d75b6af734bf46ea8a9d00bb9ebfe7e998163943fd0bdb09c67b 06:15:23 $ docker rm -f --volumes 0badbd57ece1d75b6af734bf46ea8a9d00bb9ebfe7e998163943fd0bdb09c67b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 06:15:24 provisioning config files... 06:15:24 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-299@tmp/config14933440865888329315tmp [Pipeline] { [Pipeline] sh 06:15:24 + set +x 06:15:24 + curl -s https://codecov.io/bash 06:15:24 + bash -s -- 06:15:24 06:15:24 _____ _ 06:15:24 / ____| | | 06:15:24 | | ___ __| | ___ ___ _____ __ 06:15:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:15:24 | |___| (_) | (_| | __/ (_| (_) \ V / 06:15:24 \_____\___/ \__,_|\___|\___\___/ \_/ 06:15:24 Bash-1.0.6 06:15:24 06:15:24 06:15:24 ==> git version 2.25.1 found 06:15:24 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 06:15:24 Release-Date: 2020-01-08 06:15:24 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:15:24 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:15:24 ==> Jenkins CI detected. 06:15:24 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-299 06:15:24 project root: . 06:15:24 --> token set from env 06:15:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:15:24 ==> Running gcov in . (disable via -X gcov) 06:15:24 ==> Python coveragepy not found 06:15:24 ==> Searching for coverage reports in: 06:15:24 + . 06:15:24 -> Found 1 reports 06:15:24 ==> Detecting git/mercurial file structure 06:15:24 ==> Reading reports 06:15:24 + ./coverage.out bytes=8837 06:15:25 ==> Appending adjustments 06:15:25 https://docs.codecov.io/docs/fixing-reports 06:15:25 + Found adjustments 06:15:25 ==> Gzipping contents 06:15:25 4.0K /tmp/codecov.tL5O0Z.gz 06:15:25 ==> Uploading reports 06:15:25 url: https://codecov.io 06:15:25 query: branch=PR-299&commit=4a25e78525dd7bdb794ad226d83954dcb6eb4954&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-299%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=299&job=&cmd_args= 06:15:25 -> Pinging Codecov 06:15:25 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-299&commit=4a25e78525dd7bdb794ad226d83954dcb6eb4954&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-299%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=299&job=&cmd_args= 06:15:25 -> Uploading to 06:15:25 https://storage.googleapis.com/codecov/v4/raw/2023-05-02/6C56EA5C29638FB4528AC87E60AF5AE0/4a25e78525dd7bdb794ad226d83954dcb6eb4954/396acdc4-86ca-449f-8c0c-e632217ff004.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230502%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230502T061524Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a0ee80e84f7e6834bbb4aa2589b385b73221f8f0f26759499d096a2a9ec8dee1 06:15:25 % Total % Received % Xferd Average Speed Time Time Time Current 06:15:25 Dload Upload Total Spent Left Speed 06:15:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1604 0 0 100 1604 0 7257 --:--:-- --:--:-- --:--:-- 7225 100 1604 0 0 100 1604 0 7066 --:--:-- --:--:-- --:--:-- 7066 06:15:25 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/4a25e78525dd7bdb794ad226d83954dcb6eb4954 [Pipeline] } 06:15:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 06:15:26 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-299/archives ] 06:15:26 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-299/archives 06:15:26 total 16 06:15:26 drwxr-xr-x 3 root root 4096 May 2 06:05 . 06:15:26 drwxrwxr-x 10 jenkins jenkins 4096 May 2 06:05 .. 06:15:26 drwxr-xr-x 2 root root 4096 May 2 06:05 cost 06:15:26 -rw-r--r-- 1 root root 86 May 2 06:05 cost.csv 06:15:26 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-299/archives 06:15:26 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-299/archives 06:15:26 total 16 06:15:26 drwxr-xr-x 3 jenkins jenkins 4096 May 2 06:05 . 06:15:26 drwxrwxr-x 10 jenkins jenkins 4096 May 2 06:05 .. 06:15:26 drwxr-xr-x 2 jenkins jenkins 4096 May 2 06:05 cost 06:15:26 -rw-r--r-- 1 jenkins jenkins 86 May 2 06:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:15:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:15:28 ---> package-listing.sh 06:15:28 ++ facter osfamily 06:15:28 ++ tr '[:upper:]' '[:lower:]' 06:15:28 + OS_FAMILY=debian 06:15:28 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-299 06:15:28 + START_PACKAGES=/tmp/packages_start.txt 06:15:28 + END_PACKAGES=/tmp/packages_end.txt 06:15:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:15:28 + PACKAGES=/tmp/packages_start.txt 06:15:28 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-299 ']' 06:15:28 + PACKAGES=/tmp/packages_end.txt 06:15:28 + case "${OS_FAMILY}" in 06:15:28 + dpkg -l 06:15:28 + grep '^ii' 06:15:28 + '[' -f /tmp/packages_start.txt ']' 06:15:28 + '[' -f /tmp/packages_end.txt ']' 06:15:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:15:28 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-299 ']' 06:15:28 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-299/archives/ 06:15:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-299/archives/ [Pipeline] echo 06:15:28 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-299/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:15:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:15:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:15:29 prd-ubuntu20.04-docker-8c-8g-12319 does not seem to be running inside a container 06:15:29 $ 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-299/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-299 -v /w/workspace/gexfoundry_device-snmp-go_PR-299:/w/workspace/gexfoundry_device-snmp-go_PR-299:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-299@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-299@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 06:15:29 $ docker top f41f31d5e66f0e9f5d09356e633abcba475624271ea0c5bdca3302cf1bd2c3a2 -eo pid,comm [Pipeline] { [Pipeline] sh 06:15:30 + touch /tmp/pre-build-complete [Pipeline] sh 06:15:30 + mkdir -p /var/log/sysstat [Pipeline] sh 06:15:30 + ls /var/log/sa-host 06:15:30 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:15:30 provisioning config files... 06:15:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-299@tmp/config14047377442648894170tmp [Pipeline] { [Pipeline] echo 06:15:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:15:31 ---> create-netrc.sh [Pipeline] } 06:15:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:15:31 ---> python-tools-install.sh [Pipeline] echo 06:15:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:15:31 ---> sudo-logs.sh 06:15:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:15:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:15:32 ---> job-cost.sh 06:15:32 lf-activate-venv: SKIPPING 06:15:32 DEBUG: total: 0.2199999988079071 06:15:32 INFO: Retrieving Stack Cost... 06:15:32 INFO: Retrieving Pricing Info for: v3-standard-8 06:15:33 INFO: Archiving Costs [Pipeline] echo 06:15:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:15:33 ---> logs-deploy.sh 06:15:33 lf-activate-venv: SKIPPING 06:15:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-299/1 06:15:33 INFO: archiving workspace using pattern(s): 06:15:34 Archives upload complete. 06:15:34 INFO: archiving logs to Nexus