Pull request #245 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ade244e5b783ed0af1a992845538e9200508ffc5+2bd6e5dae59222faf073cfb9822f90f2048c0bba (3d682f5de9728a31f89e8653669264ab8921a9d0) 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-ssh1712058886859765644.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7108674829770343309.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-245/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-245/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5452043063851543713.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-245/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3362438998332167912.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh18029853802068307061.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-245/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-245/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6792964508003799457.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7198 in /w/workspace/gexfoundry_device-snmp-go_PR-245 [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-245 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/245/head:refs/remotes/origin/PR-245 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2bd6e5dae59222faf073cfb9822f90f2048c0bba into PR head commit ade244e5b783ed0af1a992845538e9200508ffc5 Merge succeeded, producing ade244e5b783ed0af1a992845538e9200508ffc5 Checking out Revision ade244e5b783ed0af1a992845538e9200508ffc5 (PR-245) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:21:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:22:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:22:00 ========================================================= 05:22:00 EdgeX Global Pipelines Version Info 05:22:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f ade244e5b783ed0af1a992845538e9200508ffc5 # 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 2bd6e5dae59222faf073cfb9822f90f2048c0bba # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ade244e5b783ed0af1a992845538e9200508ffc5 # timeout=10 05:22:00 ------------------- 05:22:00 stable info: 05:22:00 ------------------- 05:22:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:22:00 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 05:22:00 Message: update stable to v1.0.244 05:22:01 ------------------- 05:22:01 experimental info: 05:22:01 ------------------- 05:22:01 Commited By: **** collab-it+edgex@linuxfoundation.org 05:22:01 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 05:22:01 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:22:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 05:22:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 05:22:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:22:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:22:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:22:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 05:22:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:22:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:22:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:22:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:22:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:22:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 05:22:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:22:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:22:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:22:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:22:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:22:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:22:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:22:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:22:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:22:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:22:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:22:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:22:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:22:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:22:02 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:22:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-245 [Pipeline] echo 05:22:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-245 [Pipeline] echo 05:22:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-245 [Pipeline] echo 05:22:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ade244e5b783ed0af1a992845538e9200508ffc5 [Pipeline] echo 05:22:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ade244e [Pipeline] echo 05:22:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:22:03 provisioning config files... 05:22:03 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-245@tmp/config18262378625091793595tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:22:03 ---> docker-login.sh 05:22:03 nexus3.edgexfoundry.org:10001 05:22:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:22:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:22:03 Configure a credential helper to remove this warning. See 05:22:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:22:03 05:22:03 Login Succeeded 05:22:03 nexus3.edgexfoundry.org:10002 05:22:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:22:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:22:04 Configure a credential helper to remove this warning. See 05:22:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:22:04 05:22:04 Login Succeeded 05:22:04 nexus3.edgexfoundry.org:10003 05:22:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:22:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:22:04 Configure a credential helper to remove this warning. See 05:22:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:22:04 05:22:04 Login Succeeded 05:22:04 nexus3.edgexfoundry.org:10004 05:22:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:22:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:22:04 Configure a credential helper to remove this warning. See 05:22:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:22:04 05:22:04 Login Succeeded 05:22:04 docker.io 05:22:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:22:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:22:04 Configure a credential helper to remove this warning. See 05:22:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:22:04 05:22:04 Login Succeeded 05:22:04 ---> docker-login.sh ends [Pipeline] } 05:22:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:22:05 + git rev-list -1 --merges ade244e5b783ed0af1a992845538e9200508ffc5~1..ade244e5b783ed0af1a992845538e9200508ffc5 [Pipeline] echo 05:22:05 -----------> git rev-list -1 --merges ade244e5b783ed0af1a992845538e9200508ffc5~1..ade244e5b783ed0af1a992845538e9200508ffc5 ade244e5b783ed0af1a992845538e9200508ffc5 [false] [Pipeline] sh 05:22:05 + git log --format=format:%s -1 ade244e5b783ed0af1a992845538e9200508ffc5 [Pipeline] echo 05:22:05 ========================================================= 05:22:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:22:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:22:06 + git log --format=format:%s -1 ade244e5b783ed0af1a992845538e9200508ffc5 [Pipeline] echo 05:22:06 [semverPrep] GIT_COMMIT: ade244e5b783ed0af1a992845538e9200508ffc5, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 05:22:06 [semverPrep] This is not a build commit. [Pipeline] sh 05:22:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:22:06 + grep -v github /etc/ssh/ssh_known_hosts 05:22:06 + [ -e /tmp/ssh_known_hosts ] 05:22:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:22:06 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:22:06 + sudo tee -a /etc/ssh/ssh_known_hosts 05:22:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:22:07 05:22:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:22:07 0.1.4: Pulling from edgex-devops/py-git-semver 05:22:07 b85a868b505f: Pulling fs layer 05:22:07 e2be974225ed: Pulling fs layer 05:22:07 339a4e72a1f5: Pulling fs layer 05:22:07 988bab9f4d93: Pulling fs layer 05:22:07 1469e6f7b9e6: Pulling fs layer 05:22:07 eaf3925da568: Pulling fs layer 05:22:07 bab4dde63d76: Pulling fs layer 05:22:07 bde34c3a00c8: Pulling fs layer 05:22:07 b352a97aabf1: Pulling fs layer 05:22:07 4872d77fe225: Pulling fs layer 05:22:07 5851b861e8e6: Pulling fs layer 05:22:07 988bab9f4d93: Waiting 05:22:07 bab4dde63d76: Waiting 05:22:07 bde34c3a00c8: Waiting 05:22:07 5851b861e8e6: Waiting 05:22:07 b352a97aabf1: Waiting 05:22:07 1469e6f7b9e6: Waiting 05:22:07 eaf3925da568: Waiting 05:22:07 4872d77fe225: Waiting 05:22:07 e2be974225ed: Verifying Checksum 05:22:07 e2be974225ed: Download complete 05:22:07 988bab9f4d93: Download complete 05:22:07 1469e6f7b9e6: Verifying Checksum 05:22:07 1469e6f7b9e6: Download complete 05:22:07 eaf3925da568: Verifying Checksum 05:22:07 eaf3925da568: Download complete 05:22:07 339a4e72a1f5: Verifying Checksum 05:22:07 339a4e72a1f5: Download complete 05:22:07 bde34c3a00c8: Download complete 05:22:07 b352a97aabf1: Download complete 05:22:07 4872d77fe225: Download complete 05:22:07 5851b861e8e6: Verifying Checksum 05:22:07 5851b861e8e6: Download complete 05:22:07 b85a868b505f: Verifying Checksum 05:22:07 b85a868b505f: Download complete 05:22:07 bab4dde63d76: Verifying Checksum 05:22:07 bab4dde63d76: Download complete 05:22:08 b85a868b505f: Pull complete 05:22:09 e2be974225ed: Pull complete 05:22:09 339a4e72a1f5: Pull complete 05:22:09 988bab9f4d93: Pull complete 05:22:09 1469e6f7b9e6: Pull complete 05:22:09 eaf3925da568: Pull complete 05:22:11 bab4dde63d76: Pull complete 05:22:11 bde34c3a00c8: Pull complete 05:22:11 b352a97aabf1: Pull complete 05:22:12 4872d77fe225: Pull complete 05:22:12 5851b861e8e6: Pull complete 05:22:12 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:22:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:22:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:22:12 prd-ubuntu20.04-docker-8c-8g-7198 does not seem to be running inside a container 05:22:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-245 -v /w/workspace/gexfoundry_device-snmp-go_PR-245:/w/workspace/gexfoundry_device-snmp-go_PR-245:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-245@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-245@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:22:14 $ docker top 3a64a2b850ce1feb774a413ad043369d1fd630b817f074c794c9443197e74a2a -eo pid,comm 05:22:14 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:22:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:22:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:22:14 [ssh-agent] Looking for ssh-agent implementation... 05:22:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:22:14 $ docker exec 3a64a2b850ce1feb774a413ad043369d1fd630b817f074c794c9443197e74a2a ssh-agent 05:22:14 SSH_AUTH_SOCK=/tmp/ssh-U8txtYO1SthM/agent.32 05:22:14 SSH_AGENT_PID=38 05:22:14 Running ssh-add (command line suppressed) 05:22:14 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-245@tmp/private_key_945285319058290595.key (/w/workspace/gexfoundry_device-snmp-go_PR-245@tmp/private_key_945285319058290595.key) 05:22:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:22:15 + git tag --points-at HEAD [Pipeline] } 05:22:15 $ docker exec --env ******** --env ******** 3a64a2b850ce1feb774a413ad043369d1fd630b817f074c794c9443197e74a2a ssh-agent -k 05:22:15 unset SSH_AUTH_SOCK; 05:22:15 unset SSH_AGENT_PID; 05:22:15 echo Agent pid 38 killed; 05:22:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:22:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:22:15 [ssh-agent] Looking for ssh-agent implementation... 05:22:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:22:15 $ docker exec 3a64a2b850ce1feb774a413ad043369d1fd630b817f074c794c9443197e74a2a ssh-agent 05:22:15 SSH_AUTH_SOCK=/tmp/ssh-vABD59djsXAX/agent.70 05:22:15 SSH_AGENT_PID=76 05:22:15 Running ssh-add (command line suppressed) 05:22:15 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-245@tmp/private_key_833546732435224819.key (/w/workspace/gexfoundry_device-snmp-go_PR-245@tmp/private_key_833546732435224819.key) 05:22:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:22:16 + git semver init 05:22:16 2023-02-23 05:22:16,416 [run_init] DEBUG init version:0.0.0 force:False 05:22:16 2023-02-23 05:22:16,417 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-245/.semver 05:22:16 2023-02-23 05:22:16,418 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-245/.semver 05:22:16 2023-02-23 05:22:16,418 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-245/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-245, universal_newlines=False, shell=None, istream=None) 05:22:17 2023-02-23 05:22:17,297 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-245/.git/info/exclude 05:22:17 2023-02-23 05:22:17,297 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-245/.semver/PR-245 with force:False 05:22:17 2023-02-23 05:22:17,297 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-245/.semver/PR-245 05:22:17 2023-02-23 05:22:17,302 [execute] INFO git cat-file --batch-check 05:22:17 2023-02-23 05:22:17,302 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-245/.semver, universal_newlines=False, shell=None, istream=) 05:22:17 2023-02-23 05:22:17,307 [execute] INFO git cat-file --batch 05:22:17 2023-02-23 05:22:17,307 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-245/.semver, universal_newlines=False, shell=None, istream=) 05:22:17 2023-02-23 05:22:17,313 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-245/.semver/PR-245 05:22:17 0.0.0 [Pipeline] } 05:22:17 $ docker exec --env ******** --env ******** 3a64a2b850ce1feb774a413ad043369d1fd630b817f074c794c9443197e74a2a ssh-agent -k 05:22:17 unset SSH_AUTH_SOCK; 05:22:17 unset SSH_AGENT_PID; 05:22:17 echo Agent pid 76 killed; 05:22:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:22:18 + git semver [Pipeline] } 05:22:18 $ docker stop --time=1 3a64a2b850ce1feb774a413ad043369d1fd630b817f074c794c9443197e74a2a 05:22:19 $ docker rm -f --volumes 3a64a2b850ce1feb774a413ad043369d1fd630b817f074c794c9443197e74a2a [Pipeline] // withDockerContainer [Pipeline] sh 05:22:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:22:20 Stashed 1 file(s) [Pipeline] echo 05:22:20 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:22:20 provisioning config files... 05:22:20 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-245@tmp/config10840487239676251807tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:22:21 ---> docker-login.sh 05:22:21 nexus3.edgexfoundry.org:10001 05:22:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:22:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:22:21 Configure a credential helper to remove this warning. See 05:22:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:22:21 05:22:21 Login Succeeded 05:22:21 nexus3.edgexfoundry.org:10002 05:22:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:22:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:22:21 Configure a credential helper to remove this warning. See 05:22:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:22:21 05:22:21 Login Succeeded 05:22:21 nexus3.edgexfoundry.org:10003 05:22:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:22:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:22:21 Configure a credential helper to remove this warning. See 05:22:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:22:21 05:22:21 Login Succeeded 05:22:21 nexus3.edgexfoundry.org:10004 05:22:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:22:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:22:21 Configure a credential helper to remove this warning. See 05:22:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:22:21 05:22:21 Login Succeeded 05:22:21 docker.io 05:22:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:22:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:22:22 Configure a credential helper to remove this warning. See 05:22:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:22:22 05:22:22 Login Succeeded 05:22:22 ---> docker-login.sh ends [Pipeline] } 05:22:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:22:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:22:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:22:22 ========================================================= 05:22:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 05:22:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22:22 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 05:22:22 Sending build context to Docker daemon 5.688MB 05:22:22 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 05:22:22 Step 2/12 : FROM ${BASE} AS builder 05:22:22 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 05:22:22 213ec9aee27d: Pulling fs layer 05:22:22 4583459ba037: Pulling fs layer 05:22:22 93c1e223e6f2: Pulling fs layer 05:22:22 53926ce57604: Pulling fs layer 05:22:22 21b2b0c7a3f4: Pulling fs layer 05:22:22 22ff95d597cd: Pulling fs layer 05:22:22 12d6caf4c0d1: Pulling fs layer 05:22:22 96b7cbca73a9: Pulling fs layer 05:22:22 a7acece74701: Pulling fs layer 05:22:22 22ff95d597cd: Waiting 05:22:22 12d6caf4c0d1: Waiting 05:22:22 96b7cbca73a9: Waiting 05:22:22 a7acece74701: Waiting 05:22:22 53926ce57604: Waiting 05:22:22 21b2b0c7a3f4: Waiting 05:22:23 93c1e223e6f2: Verifying Checksum 05:22:23 93c1e223e6f2: Download complete 05:22:23 4583459ba037: Download complete 05:22:23 21b2b0c7a3f4: Download complete 05:22:23 22ff95d597cd: Verifying Checksum 05:22:23 22ff95d597cd: Download complete 05:22:23 213ec9aee27d: Verifying Checksum 05:22:23 12d6caf4c0d1: Download complete 05:22:23 213ec9aee27d: Pull complete 05:22:23 4583459ba037: Pull complete 05:22:23 93c1e223e6f2: Pull complete 05:22:23 a7acece74701: Verifying Checksum 05:22:23 a7acece74701: Download complete 05:22:24 96b7cbca73a9: Verifying Checksum 05:22:24 96b7cbca73a9: Download complete 05:22:24 53926ce57604: Download complete 05:22:28 53926ce57604: Pull complete 05:22:28 21b2b0c7a3f4: Pull complete 05:22:28 22ff95d597cd: Pull complete 05:22:28 12d6caf4c0d1: Pull complete 05:22:30 96b7cbca73a9: Pull complete 05:22:30 a7acece74701: Pull complete 05:22:30 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 05:22:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 05:22:30 ---> db6d94c90886 05:22:30 Step 3/12 : ARG ADD_BUILD_TAGS="" 05:22:34 ---> Running in a1fd80044e3c 05:22:34 Removing intermediate container a1fd80044e3c 05:22:34 ---> a92c01f406b3 05:22:34 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:22:34 ---> Running in 250eff2b63d0 05:22:34 Removing intermediate container 250eff2b63d0 05:22:34 ---> 02fb9af39e32 05:22:34 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:22:34 ---> Running in 215f0f1255b8 05:22:34 Removing intermediate container 215f0f1255b8 05:22:34 ---> 1efd55e8f8db 05:22:34 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 05:22:34 ---> Running in 46fc856acebb 05:22:34 Removing intermediate container 46fc856acebb 05:22:34 ---> f575f91e8a79 05:22:34 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:22:34 ---> Running in 1dca2ae7cbb6 05:22:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:22:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:22:34 (1/4) Installing openssh-keygen (9.0_p1-r2) 05:22:34 (2/4) Installing libedit (20210910.3.1-r0) 05:22:34 (3/4) Installing openssh-client-common (9.0_p1-r2) 05:22:34 (4/4) Installing openssh-client-default (9.0_p1-r2) 05:22:34 Executing busybox-1.35.0-r17.trigger 05:22:34 OK: 216 MiB in 55 packages 05:22:35 Removing intermediate container 1dca2ae7cbb6 05:22:35 ---> cbb21c96be3b 05:22:35 Step 8/12 : WORKDIR /device-snmp-go 05:22:35 ---> Running in 33c57c42d30e 05:22:35 Removing intermediate container 33c57c42d30e 05:22:35 ---> 009b2827447a 05:22:35 Step 9/12 : COPY go.mod vendor* ./ 05:22:35 ---> 15c10ee2db2a 05:22:35 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:22:35 ---> Running in 395c458b89a1 05:22:35 Still waiting to schedule task 05:22:35 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:23:21 Removing intermediate container 395c458b89a1 05:23:21 ---> 3cc1ff8450aa 05:23:21 Step 11/12 : COPY . . 05:23:21 ---> 7e6b010f91fe 05:23:21 Step 12/12 : RUN ${MAKE} 05:23:21 ---> Running in 3440e5abc4be 05:23:21 noop 05:23:21 Removing intermediate container 3440e5abc4be 05:23:21 ---> c2458eabeb2d 05:23:21 Successfully built c2458eabeb2d 05:23:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:23:22 + docker inspect -f . ci-base-image-x86_64 05:23:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:23:22 prd-ubuntu20.04-docker-8c-8g-7198 does not seem to be running inside a container 05:23:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-245 -v /w/workspace/gexfoundry_device-snmp-go_PR-245:/w/workspace/gexfoundry_device-snmp-go_PR-245:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-245@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-245@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:23:22 $ docker top fb8f1bfd984ca59ff0f1e15d343b833a74be57e8106a7969fc08903610158468 -eo pid,comm [Pipeline] { [Pipeline] sh 05:23:23 + go version 05:23:23 go version go1.18.7 linux/amd64 [Pipeline] } 05:23:23 $ docker stop --time=1 fb8f1bfd984ca59ff0f1e15d343b833a74be57e8106a7969fc08903610158468 05:23:24 $ docker rm -f --volumes fb8f1bfd984ca59ff0f1e15d343b833a74be57e8106a7969fc08903610158468 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:23:25 + docker inspect -f . ci-base-image-x86_64 05:23:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:23:25 prd-ubuntu20.04-docker-8c-8g-7198 does not seem to be running inside a container 05:23:25 $ 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-245 -v /w/workspace/gexfoundry_device-snmp-go_PR-245:/w/workspace/gexfoundry_device-snmp-go_PR-245:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-245@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-245@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:23:25 $ docker top 1d388ae301ae76357c9c51de56fea6147ef1307e2249d924ca66f205be215e22 -eo pid,comm [Pipeline] { [Pipeline] sh 05:23:26 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-245 [Pipeline] fileExists [Pipeline] sh 05:23:26 + make test 05:23:26 go test ./... -coverprofile=coverage.out 05:23:26 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:23:36 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:23:36 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.025s coverage: 0.0% of statements 05:23:43 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 05:23:43 go vet ./... 05:23:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:23:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:23:46 ./bin/test-attribution-txt.sh 05:23:46 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 05:23:46 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 05:23:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:23:46 $ docker stop --time=1 1d388ae301ae76357c9c51de56fea6147ef1307e2249d924ca66f205be215e22 05:23:48 $ docker rm -f --volumes 1d388ae301ae76357c9c51de56fea6147ef1307e2249d924ca66f205be215e22 [Pipeline] // withDockerContainer [Pipeline] sh 05:23:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:23:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:23:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:23:50 + ls -al . 05:23:50 total 172 05:23:50 drwxrwxr-x 9 jenkins jenkins 4096 Feb 23 05:23 . 05:23:50 drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 05:21 .. 05:23:50 -rw-rw-r-- 1 jenkins jenkins 6 Feb 23 05:21 .dockerignore 05:23:50 drwxrwxr-x 8 jenkins jenkins 4096 Feb 23 05:23 .git 05:23:50 drwxrwxr-x 3 jenkins jenkins 4096 Feb 23 05:21 .github 05:23:50 -rw-rw-r-- 1 jenkins jenkins 328 Feb 23 05:21 .gitignore 05:23:50 -rw-rw-r-- 1 jenkins jenkins 41 Feb 23 05:21 .golangci.yml 05:23:50 drwxr-xr-x 3 jenkins jenkins 4096 Feb 23 05:22 .semver 05:23:50 -rw-rw-r-- 1 jenkins jenkins 8828 Feb 23 05:21 Attribution.txt 05:23:50 -rw-rw-r-- 1 jenkins jenkins 8355 Feb 23 05:21 CHANGELOG.md 05:23:50 -rw-rw-r-- 1 jenkins jenkins 1423 Feb 23 05:21 Dockerfile 05:23:50 -rw-rw-r-- 1 jenkins jenkins 677 Feb 23 05:21 GOVERNANCE.md 05:23:50 -rw-rw-r-- 1 jenkins jenkins 656 Feb 23 05:21 Jenkinsfile 05:23:50 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 23 05:21 LICENSE 05:23:50 -rw-rw-r-- 1 jenkins jenkins 2079 Feb 23 05:21 Makefile 05:23:50 -rw-rw-r-- 1 jenkins jenkins 620 Feb 23 05:21 OWNERS.md 05:23:50 -rw-rw-r-- 1 jenkins jenkins 10054 Feb 23 05:21 README.md 05:23:50 -rw-rw-r-- 1 jenkins jenkins 5 Feb 23 05:22 VERSION 05:23:50 drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 05:21 bin 05:23:50 drwxrwxr-x 3 jenkins jenkins 4096 Feb 23 05:21 cmd 05:23:50 -rw-r--r-- 1 jenkins jenkins 7631 Feb 23 05:23 coverage.out 05:23:50 -rw-rw-r-- 1 jenkins jenkins 3327 Feb 23 05:21 go.mod 05:23:50 -rw-rw-r-- 1 jenkins jenkins 32895 Feb 23 05:21 go.sum 05:23:50 drwxrwxr-x 3 jenkins jenkins 4096 Feb 23 05:21 internal 05:23:50 drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 05:21 snap 05:23:50 -rw-rw-r-- 1 jenkins jenkins 228 Feb 23 05:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:23:50 + 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=ade244e5b783ed0af1a992845538e9200508ffc5 --label arch=amd64 --label version=0.0.0 . 05:23:50 Sending build context to Docker daemon 5.696MB 05:23:50 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 05:23:50 Step 2/24 : FROM ${BASE} AS builder 05:23:50 ---> c2458eabeb2d 05:23:50 Step 3/24 : ARG ADD_BUILD_TAGS="" 05:23:50 ---> Running in c96a6249068b 05:23:51 Removing intermediate container c96a6249068b 05:23:51 ---> 257acb993e35 05:23:51 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:23:51 ---> Running in 6c8e22d50711 05:23:51 Removing intermediate container 6c8e22d50711 05:23:51 ---> cfc520b1530a 05:23:51 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:23:51 ---> Running in ad8aa13f2ba1 05:23:51 Removing intermediate container ad8aa13f2ba1 05:23:51 ---> 4f7dbe79f890 05:23:51 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 05:23:51 ---> Running in 183fdc177816 05:23:51 Removing intermediate container 183fdc177816 05:23:51 ---> caadb47f2c66 05:23:51 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:23:51 ---> Running in 404ab3d2205f 05:23:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:23:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:23:52 OK: 216 MiB in 55 packages 05:23:52 Removing intermediate container 404ab3d2205f 05:23:52 ---> 0ec5e36a5fb5 05:23:52 Step 8/24 : WORKDIR /device-snmp-go 05:23:52 ---> Running in 18c9710417df 05:23:52 Removing intermediate container 18c9710417df 05:23:52 ---> e1868fe053dc 05:23:52 Step 9/24 : COPY go.mod vendor* ./ 05:23:52 ---> 061fcec4737e 05:23:52 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:23:52 ---> Running in 3faa990c2060 05:23:53 Removing intermediate container 3faa990c2060 05:23:53 ---> 5c02401a577a 05:23:53 Step 11/24 : COPY . . 05:23:53 ---> 24cbfc6408e0 05:23:53 Step 12/24 : RUN ${MAKE} 05:23:53 ---> Running in ea7469887296 05:23:54 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 05:24:16 Removing intermediate container ea7469887296 05:24:16 ---> faa71191b2f5 05:24:16 Step 13/24 : FROM alpine:3.16 05:24:16 3.16: Pulling from library/alpine 05:24:16 ef5531b6e74e: Pulling fs layer 05:24:16 ef5531b6e74e: Verifying Checksum 05:24:16 ef5531b6e74e: Download complete 05:24:16 ef5531b6e74e: Pull complete 05:24:16 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 05:24:16 Status: Downloaded newer image for alpine:3.16 05:24:16 ---> dfd21b5a31f5 05:24:16 Step 14/24 : RUN apk add --update --no-cache dumb-init 05:24:16 ---> Running in 6040ebaff20e 05:24:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:24:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:24:16 (1/1) Installing dumb-init (1.2.5-r1) 05:24:16 Executing busybox-1.35.0-r17.trigger 05:24:16 OK: 6 MiB in 15 packages 05:24:16 Removing intermediate container 6040ebaff20e 05:24:16 ---> c13042bf33b8 05:24:16 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 05:24:16 ---> b683772d0107 05:24:16 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:24:16 ---> 2db9d29b87f0 05:24:16 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 05:24:16 ---> 622a6417a780 05:24:16 Step 18/24 : EXPOSE 59993 05:24:16 ---> Running in 3bd5f41fb627 05:24:16 Removing intermediate container 3bd5f41fb627 05:24:16 ---> d037353e6206 05:24:16 Step 19/24 : EXPOSE 161 05:24:16 ---> Running in 8b2c516fae21 05:24:16 Removing intermediate container 8b2c516fae21 05:24:16 ---> 2b738e89c1f2 05:24:16 Step 20/24 : ENTRYPOINT ["/device-snmp"] 05:24:16 ---> Running in bdb21036f340 05:24:16 Removing intermediate container bdb21036f340 05:24:16 ---> c33223868f00 05:24:16 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 05:24:16 ---> Running in 33e166f7590b 05:24:16 Removing intermediate container 33e166f7590b 05:24:16 ---> 28fc9ccd4988 05:24:16 Step 22/24 : LABEL arch=amd64 05:24:16 ---> Running in 60ea43f1a104 05:24:16 Removing intermediate container 60ea43f1a104 05:24:16 ---> 9617422fbde0 05:24:16 Step 23/24 : LABEL git_sha=ade244e5b783ed0af1a992845538e9200508ffc5 05:24:16 ---> Running in 0dbba79fbb3e 05:24:16 Removing intermediate container 0dbba79fbb3e 05:24:16 ---> 9929f4ed4782 05:24:16 Step 24/24 : LABEL version=0.0.0 05:24:16 ---> Running in 0f115aad89c7 05:24:16 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7199 in /w/workspace/gexfoundry_device-snmp-go_PR-245 [Pipeline] { [Pipeline] ws 05:24:16 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 05:24:16 Selected Git installation does not exist. Using Default 05:24:16 The recommended git tool is: NONE 05:24:16 Removing intermediate container 0f115aad89c7 05:24:16 ---> 14d461cd3d5f 05:24:16 [Warning] One or more build-args [ARCH] were not consumed 05:24:16 Successfully built 14d461cd3d5f 05:24:16 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:24:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:24:17 05:24:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:24:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:24:17 latest: Pulling from edgex-lftools-log-publisher 05:24:17 5eb5b503b376: Pulling fs layer 05:24:17 5c69ac0246d0: Pulling fs layer 05:24:17 ec43610c2a17: Pulling fs layer 05:24:17 3a2ae6a8a46f: Pulling fs layer 05:24:17 33b1e0a273af: Pulling fs layer 05:24:17 5d3b04190fa2: Pulling fs layer 05:24:17 2f39f015ded8: Pulling fs layer 05:24:17 33b1e0a273af: Waiting 05:24:17 5d3b04190fa2: Waiting 05:24:17 2f39f015ded8: Waiting 05:24:17 3a2ae6a8a46f: Waiting 05:24:17 5c69ac0246d0: Verifying Checksum 05:24:17 5c69ac0246d0: Download complete 05:24:17 3a2ae6a8a46f: Verifying Checksum 05:24:17 3a2ae6a8a46f: Download complete 05:24:18 33b1e0a273af: Verifying Checksum 05:24:18 33b1e0a273af: Download complete 05:24:18 5d3b04190fa2: Download complete 05:24:18 ec43610c2a17: Verifying Checksum 05:24:18 ec43610c2a17: Download complete 05:24:18 5eb5b503b376: Download complete 05:24:18 2f39f015ded8: Download complete 05:24:19 5eb5b503b376: Pull complete 05:24:19 5c69ac0246d0: Pull complete 05:24:20 ec43610c2a17: Pull complete 05:24:20 3a2ae6a8a46f: Pull complete 05:24:20 33b1e0a273af: Pull complete 05:24:20 5d3b04190fa2: Pull complete 05:24:21 using credential edgex-jenkins-ssh 05:24:21 Cloning the remote Git repository 05:24:21 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 05:24:21 > git init /w/workspace/device-snmp-go/1 # timeout=10 05:24:21 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:24:21 > git --version # timeout=10 05:24:21 > git --version # 'git version 2.25.1' 05:24:21 using GIT_SSH to set credentials SSH Credentials for GitHub 05:24:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:24:22 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:24:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:24:23 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:24:23 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:24:23 using GIT_SSH to set credentials SSH Credentials for GitHub 05:24:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/245/head:refs/remotes/origin/PR-245 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:24:24 Merging remotes/origin/main commit 2bd6e5dae59222faf073cfb9822f90f2048c0bba into PR head commit ade244e5b783ed0af1a992845538e9200508ffc5 05:24:24 2f39f015ded8: Pull complete 05:24:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:24:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:24:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } 05:24:24 Merge succeeded, producing ade244e5b783ed0af1a992845538e9200508ffc5 05:24:24 Checking out Revision ade244e5b783ed0af1a992845538e9200508ffc5 (PR-245) [Pipeline] // withEnv [Pipeline] withDockerContainer 05:24:24 prd-ubuntu20.04-docker-8c-8g-7198 does not seem to be running inside a container 05:24:24 $ 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-245 -v /w/workspace/gexfoundry_device-snmp-go_PR-245:/w/workspace/gexfoundry_device-snmp-go_PR-245:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-245@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-245@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:24:25 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 05:24:24 > git config core.sparsecheckout # timeout=10 05:24:24 > git checkout -f ade244e5b783ed0af1a992845538e9200508ffc5 # timeout=10 05:24:24 > git remote # timeout=10 05:24:24 > git config --get remote.origin.url # timeout=10 05:24:24 using GIT_SSH to set credentials SSH Credentials for GitHub 05:24:24 > git merge 2bd6e5dae59222faf073cfb9822f90f2048c0bba # timeout=10 05:24:24 > git rev-parse HEAD^{commit} # timeout=10 05:24:24 > git config core.sparsecheckout # timeout=10 05:24:24 > git checkout -f ade244e5b783ed0af1a992845538e9200508ffc5 # timeout=10 05:24:25 > git --version # timeout=10 05:24:25 > git --version # 'git version 2.25.1' 05:24:25 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 05:24:25 05:24:25 GitHub has been notified of this commit’s build result 05:24:25 05:24:27 $ docker top 636d5561c8e3fbb157f0326ef86a77fb2be79ee2c684ca3f385eb28bedd6901b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:24:27 ---> job-cost.sh 05:24:27 lf-activate-venv: SKIPPING 05:24:27 INFO: No Stack... 05:24:28 INFO: Retrieving Pricing Info for: v3-standard-8 05:24:28 INFO: Archiving Costs [Pipeline] sh 05:24:29 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:24:29 % Total % Received % Xferd Average Speed Time Time Time Current 05:24:29 Dload Upload Total Spent Left Speed 05:24:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 104k 0 --:--:-- --:--:-- --:--:-- 104k 05:24:29 + cut -d, -f6 05:24:29 + cat /w/workspace/gexfoundry_device-snmp-go_PR-245/archives/cost.csv [Pipeline] lock 05:24:29 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-245-1-stack-cost] 05:24:29 Resource [jenkins-edgexfoundry-device-snmp-go-PR-245-1-stack-cost] did not exist. Created. 05:24:29 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-245-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [Pipeline] sh 05:24:29 + echo total: 0.2199999988079071 [Pipeline] stash 05:24:29 Stashed 1 file(s) [Pipeline] } 05:24:29 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-245-1-stack-cost] 05:24:29 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] // lock [Pipeline] } 05:24:29 $ docker stop --time=1 636d5561c8e3fbb157f0326ef86a77fb2be79ee2c684ca3f385eb28bedd6901b 05:24:31 $ docker rm -f --volumes 636d5561c8e3fbb157f0326ef86a77fb2be79ee2c684ca3f385eb28bedd6901b [Pipeline] sh [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } 05:24:31 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:24:31 + sudo tee /etc/docker/daemon.new 05:24:31 { 05:24:31 "registry-mirrors": [ 05:24:31 "https://nexus3.edgexfoundry.org:10001" 05:24:31 ], 05:24:31 "bip": "10.250.0.254/24", 05:24:31 "hosts": [ 05:24:31 "tcp://0.0.0.0:5555", 05:24:31 "unix:///var/run/docker.sock" 05:24:31 ], 05:24:31 "mtu": 1458, 05:24:31 "selinux-enabled": true, 05:24:31 "seccomp-profile": "/etc/docker/seccomp.json" 05:24:31 } [Pipeline] // stage [Pipeline] } [Pipeline] sh 05:24:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:24:32 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:24:50 provisioning config files... 05:24:50 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config12236914780451957682tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:24:50 ---> docker-login.sh 05:24:50 nexus3.edgexfoundry.org:10001 05:24:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:24:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:24:51 Configure a credential helper to remove this warning. See 05:24:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:24:51 05:24:51 Login Succeeded 05:24:51 nexus3.edgexfoundry.org:10002 05:24:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:24:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:24:52 Configure a credential helper to remove this warning. See 05:24:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:24:52 05:24:52 Login Succeeded 05:24:52 nexus3.edgexfoundry.org:10003 05:24:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:24:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:24:52 Configure a credential helper to remove this warning. See 05:24:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:24:52 05:24:52 Login Succeeded 05:24:52 nexus3.edgexfoundry.org:10004 05:24:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:24:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:24:52 Configure a credential helper to remove this warning. See 05:24:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:24:52 05:24:52 Login Succeeded 05:24:52 docker.io 05:24:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:24:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:24:53 Configure a credential helper to remove this warning. See 05:24:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:24:53 05:24:53 Login Succeeded 05:24:53 ---> docker-login.sh ends [Pipeline] } 05:24:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:24:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:24:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:24:53 ========================================================= 05:24:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 05:24:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:24:54 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 05:24:54 Sending build context to Docker daemon 2.942MB 05:24:54 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 05:24:54 Step 2/12 : FROM ${BASE} AS builder 05:24:54 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:24:54 9b18e9b68314: Pulling fs layer 05:24:54 35d82f9e3411: Pulling fs layer 05:24:54 e16973657156: Pulling fs layer 05:24:54 fc693d55d65f: Pulling fs layer 05:24:54 7e9fc2657dce: Pulling fs layer 05:24:54 dda99020689f: Pulling fs layer 05:24:54 db1c61fa0a46: Pulling fs layer 05:24:54 891c053d2c06: Pulling fs layer 05:24:54 fc693d55d65f: Waiting 05:24:54 7e9fc2657dce: Waiting 05:24:54 dda99020689f: Waiting 05:24:54 db1c61fa0a46: Waiting 05:24:54 891c053d2c06: Waiting 05:24:54 e16973657156: Download complete 05:24:54 35d82f9e3411: Download complete 05:24:54 7e9fc2657dce: Verifying Checksum 05:24:54 7e9fc2657dce: Download complete 05:24:54 dda99020689f: Download complete 05:24:54 9b18e9b68314: Verifying Checksum 05:24:55 9b18e9b68314: Pull complete 05:24:55 891c053d2c06: Verifying Checksum 05:24:55 891c053d2c06: Download complete 05:24:56 35d82f9e3411: Pull complete 05:24:56 e16973657156: Pull complete 05:24:56 db1c61fa0a46: Verifying Checksum 05:24:56 db1c61fa0a46: Download complete 05:24:57 fc693d55d65f: Verifying Checksum 05:24:57 fc693d55d65f: Download complete 05:25:09 fc693d55d65f: Pull complete 05:25:09 7e9fc2657dce: Pull complete 05:25:09 dda99020689f: Pull complete 05:25:15 db1c61fa0a46: Pull complete 05:25:17 891c053d2c06: Pull complete 05:25:17 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 05:25:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 05:25:17 ---> f96f9c87975a 05:25:17 Step 3/12 : ARG ADD_BUILD_TAGS="" 05:25:19 ---> Running in 3e356dc800e3 05:25:19 Removing intermediate container 3e356dc800e3 05:25:19 ---> 9fb008740dd6 05:25:19 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:25:19 ---> Running in 8931699552dd 05:25:19 Removing intermediate container 8931699552dd 05:25:19 ---> 6f336587c190 05:25:19 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:25:19 ---> Running in f98047342f96 05:25:20 Removing intermediate container f98047342f96 05:25:20 ---> 12561767e20b 05:25:20 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 05:25:20 ---> Running in 3a3df788b262 05:25:20 Removing intermediate container 3a3df788b262 05:25:20 ---> 4ace8e77e79f 05:25:20 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:25:20 ---> Running in 8112b445c0bd 05:25:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:25:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:25:23 (1/4) Installing openssh-keygen (9.0_p1-r2) 05:25:23 (2/4) Installing libedit (20210910.3.1-r0) 05:25:23 (3/4) Installing openssh-client-common (9.0_p1-r2) 05:25:23 (4/4) Installing openssh-client-default (9.0_p1-r2) 05:25:23 Executing busybox-1.35.0-r17.trigger 05:25:23 OK: 226 MiB in 55 packages 05:25:24 Removing intermediate container 8112b445c0bd 05:25:24 ---> 4b112c1cec3c 05:25:24 Step 8/12 : WORKDIR /device-snmp-go 05:25:24 ---> Running in 90d305938e00 05:25:24 Removing intermediate container 90d305938e00 05:25:24 ---> 6a0bf328791c 05:25:24 Step 9/12 : COPY go.mod vendor* ./ 05:25:25 ---> c84fbe554c98 05:25:25 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:25:25 ---> Running in c582f9c7c951 05:26:33 Removing intermediate container c582f9c7c951 05:26:33 ---> 495983fd8ce7 05:26:33 Step 11/12 : COPY . . 05:26:33 ---> e31d1a3477d1 05:26:33 Step 12/12 : RUN ${MAKE} 05:26:33 ---> Running in 38d2d5ccbf26 05:26:33 noop 05:26:33 Removing intermediate container 38d2d5ccbf26 05:26:33 ---> f60811063ad9 05:26:33 Successfully built f60811063ad9 05:26:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:26:33 + docker inspect -f . ci-base-image-arm64 05:26:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:26:33 prd-ubuntu20.04-docker-arm64-4c-16g-7199 does not seem to be running inside a container 05:26:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:26:37 $ docker top 7c5264fdbc725f3099587ca67e4a8deff6d4d9cc7fd833ef50ff627170b04fe0 -eo pid,comm [Pipeline] { [Pipeline] sh 05:26:38 + go version 05:26:38 go version go1.18.7 linux/arm64 [Pipeline] } 05:26:38 $ docker stop --time=1 7c5264fdbc725f3099587ca67e4a8deff6d4d9cc7fd833ef50ff627170b04fe0 05:26:40 $ docker rm -f --volumes 7c5264fdbc725f3099587ca67e4a8deff6d4d9cc7fd833ef50ff627170b04fe0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:26:41 + docker inspect -f . ci-base-image-arm64 05:26:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:26:41 prd-ubuntu20.04-docker-arm64-4c-16g-7199 does not seem to be running inside a container 05:26:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:26:42 $ docker top db6242ddd0cc6eb65bdc09d36036926fc60b83e58568f0f3c78bf8af89fc9499 -eo pid,comm [Pipeline] { [Pipeline] sh 05:26:43 + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh 05:26:43 + make test 05:26:43 go test ./... -coverprofile=coverage.out 05:26:46 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:28:07 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:28:07 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.056s coverage: 0.0% of statements 05:28:07 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:28:07 go vet ./... 05:28:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:28:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:28:22 ./bin/test-attribution-txt.sh 05:28:22 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 05:28:22 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 05:28:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:28:22 $ docker stop --time=1 db6242ddd0cc6eb65bdc09d36036926fc60b83e58568f0f3c78bf8af89fc9499 05:28:24 $ docker rm -f --volumes db6242ddd0cc6eb65bdc09d36036926fc60b83e58568f0f3c78bf8af89fc9499 [Pipeline] // withDockerContainer [Pipeline] sh 05:28:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:28:25 Warning: overwriting stash ‘coverage-report’ 05:28:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:28:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:28:27 + ls -al . 05:28:27 total 168 05:28:27 drwxrwxr-x 8 jenkins jenkins 4096 Feb 23 05:26 . 05:28:27 drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 05:24 .. 05:28:27 -rw-rw-r-- 1 jenkins jenkins 6 Feb 23 05:24 .dockerignore 05:28:27 drwxrwxr-x 8 jenkins jenkins 4096 Feb 23 05:24 .git 05:28:27 drwxrwxr-x 3 jenkins jenkins 4096 Feb 23 05:24 .github 05:28:27 -rw-rw-r-- 1 jenkins jenkins 328 Feb 23 05:24 .gitignore 05:28:27 -rw-rw-r-- 1 jenkins jenkins 41 Feb 23 05:24 .golangci.yml 05:28:27 -rw-rw-r-- 1 jenkins jenkins 8828 Feb 23 05:24 Attribution.txt 05:28:27 -rw-rw-r-- 1 jenkins jenkins 8355 Feb 23 05:24 CHANGELOG.md 05:28:27 -rw-rw-r-- 1 jenkins jenkins 1423 Feb 23 05:24 Dockerfile 05:28:27 -rw-rw-r-- 1 jenkins jenkins 677 Feb 23 05:24 GOVERNANCE.md 05:28:27 -rw-rw-r-- 1 jenkins jenkins 656 Feb 23 05:24 Jenkinsfile 05:28:27 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 23 05:24 LICENSE 05:28:27 -rw-rw-r-- 1 jenkins jenkins 2079 Feb 23 05:24 Makefile 05:28:27 -rw-rw-r-- 1 jenkins jenkins 620 Feb 23 05:24 OWNERS.md 05:28:27 -rw-rw-r-- 1 jenkins jenkins 10054 Feb 23 05:24 README.md 05:28:27 -rw-rw-r-- 1 jenkins jenkins 5 Feb 23 05:22 VERSION 05:28:27 drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 05:24 bin 05:28:27 drwxrwxr-x 3 jenkins jenkins 4096 Feb 23 05:24 cmd 05:28:27 -rw-r--r-- 1 jenkins jenkins 7631 Feb 23 05:28 coverage.out 05:28:27 -rw-rw-r-- 1 jenkins jenkins 3327 Feb 23 05:24 go.mod 05:28:27 -rw-rw-r-- 1 jenkins jenkins 32895 Feb 23 05:24 go.sum 05:28:27 drwxrwxr-x 3 jenkins jenkins 4096 Feb 23 05:24 internal 05:28:27 drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 05:24 snap 05:28:27 -rw-rw-r-- 1 jenkins jenkins 228 Feb 23 05:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:27 + 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=ade244e5b783ed0af1a992845538e9200508ffc5 --label arch=arm64 --label version=0.0.0 . 05:28:27 Sending build context to Docker daemon 2.951MB 05:28:27 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 05:28:27 Step 2/24 : FROM ${BASE} AS builder 05:28:27 ---> f60811063ad9 05:28:27 Step 3/24 : ARG ADD_BUILD_TAGS="" 05:28:28 ---> Running in 5bc73b8a717a 05:28:28 Removing intermediate container 5bc73b8a717a 05:28:28 ---> d4218a4d5fe6 05:28:28 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:28:28 ---> Running in 0b752d10dab2 05:28:28 Removing intermediate container 0b752d10dab2 05:28:28 ---> 157e2383a628 05:28:28 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:28:28 ---> Running in 2bd6b310ccce 05:28:29 Removing intermediate container 2bd6b310ccce 05:28:29 ---> 7cf77c2a06ba 05:28:29 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 05:28:29 ---> Running in 43cbd784259a 05:28:29 Removing intermediate container 43cbd784259a 05:28:29 ---> 343cfdd3d957 05:28:29 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:28:29 ---> Running in 966740c66f7d 05:28:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:28:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:28:31 OK: 226 MiB in 55 packages 05:28:32 Removing intermediate container 966740c66f7d 05:28:32 ---> c222214e61cd 05:28:32 Step 8/24 : WORKDIR /device-snmp-go 05:28:32 ---> Running in f89cb702cfce 05:28:33 Removing intermediate container f89cb702cfce 05:28:33 ---> 14b91523ec8c 05:28:33 Step 9/24 : COPY go.mod vendor* ./ 05:28:33 ---> 4422f8851c5e 05:28:33 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:28:33 ---> Running in a8b719942083 05:28:38 Removing intermediate container a8b719942083 05:28:38 ---> 063c17932fd0 05:28:38 Step 11/24 : COPY . . 05:28:38 ---> ea95a248cb76 05:28:38 Step 12/24 : RUN ${MAKE} 05:28:38 ---> Running in 43a6919857fd 05:28:39 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 05:31:01 Removing intermediate container 43a6919857fd 05:31:01 ---> d8a8f2e5bc9f 05:31:01 Step 13/24 : FROM alpine:3.16 05:31:01 3.16: Pulling from library/alpine 05:31:01 3760b48202b3: Pulling fs layer 05:31:01 3760b48202b3: Download complete 05:31:01 3760b48202b3: Pull complete 05:31:01 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 05:31:01 Status: Downloaded newer image for alpine:3.16 05:31:01 ---> 4c81e5bf8899 05:31:01 Step 14/24 : RUN apk add --update --no-cache dumb-init 05:31:01 ---> Running in 45b2d126ba61 05:31:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:31:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:31:03 (1/1) Installing dumb-init (1.2.5-r1) 05:31:03 Executing busybox-1.35.0-r17.trigger 05:31:03 OK: 5 MiB in 15 packages 05:31:04 Removing intermediate container 45b2d126ba61 05:31:04 ---> a59f3bd0e2b8 05:31:04 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 05:31:05 ---> ed8e5fbebbd4 05:31:05 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:31:09 ---> 7f491bde3162 05:31:09 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 05:31:09 ---> 848714418bf4 05:31:09 Step 18/24 : EXPOSE 59993 05:31:09 ---> Running in 5116fda7f149 05:31:09 Removing intermediate container 5116fda7f149 05:31:09 ---> ce052b9a50a4 05:31:09 Step 19/24 : EXPOSE 161 05:31:09 ---> Running in e858f18d12aa 05:31:09 Removing intermediate container e858f18d12aa 05:31:09 ---> d73fe5a900e6 05:31:09 Step 20/24 : ENTRYPOINT ["/device-snmp"] 05:31:09 ---> Running in 5732e0055e14 05:31:10 Removing intermediate container 5732e0055e14 05:31:10 ---> 9eb08b3c2c75 05:31:10 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 05:31:10 ---> Running in 82aa31f351db 05:31:10 Removing intermediate container 82aa31f351db 05:31:10 ---> fb2d87dd5756 05:31:10 Step 22/24 : LABEL arch=arm64 05:31:10 ---> Running in a6501c3087a6 05:31:10 Removing intermediate container a6501c3087a6 05:31:10 ---> 3d74fbd646d9 05:31:10 Step 23/24 : LABEL git_sha=ade244e5b783ed0af1a992845538e9200508ffc5 05:31:10 ---> Running in 6bddb550e253 05:31:11 Removing intermediate container 6bddb550e253 05:31:11 ---> 407d8eac1dae 05:31:11 Step 24/24 : LABEL version=0.0.0 05:31:11 ---> Running in 60d7b2ff5af0 05:31:11 Removing intermediate container 60d7b2ff5af0 05:31:11 ---> 9a85206b18a9 05:31:11 [Warning] One or more build-args [ARCH] were not consumed 05:31:11 Successfully built 9a85206b18a9 05:31:11 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:31:12 05:31:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:31:12 arm64: Pulling from edgex-lftools-log-publisher 05:31:12 8998bd30e6a1: Pulling fs layer 05:31:12 04944245beec: Pulling fs layer 05:31:12 699f458cf7ca: Pulling fs layer 05:31:12 765212b225bb: Pulling fs layer 05:31:12 f23df028b6ca: Pulling fs layer 05:31:12 d65c8cfc05b1: Pulling fs layer 05:31:12 2437ff75d9bd: Pulling fs layer 05:31:12 765212b225bb: Waiting 05:31:12 f23df028b6ca: Waiting 05:31:12 d65c8cfc05b1: Waiting 05:31:12 04944245beec: Verifying Checksum 05:31:12 04944245beec: Download complete 05:31:12 765212b225bb: Verifying Checksum 05:31:12 765212b225bb: Download complete 05:31:12 f23df028b6ca: Verifying Checksum 05:31:12 f23df028b6ca: Download complete 05:31:12 d65c8cfc05b1: Verifying Checksum 05:31:12 d65c8cfc05b1: Download complete 05:31:13 699f458cf7ca: Verifying Checksum 05:31:13 699f458cf7ca: Download complete 05:31:13 8998bd30e6a1: Verifying Checksum 05:31:13 8998bd30e6a1: Download complete 05:31:16 2437ff75d9bd: Verifying Checksum 05:31:17 8998bd30e6a1: Pull complete 05:31:17 04944245beec: Pull complete 05:31:19 699f458cf7ca: Pull complete 05:31:19 765212b225bb: Pull complete 05:31:21 f23df028b6ca: Pull complete 05:31:21 d65c8cfc05b1: Pull complete 05:31:36 2437ff75d9bd: Pull complete 05:31:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:31:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:31:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:31:36 prd-ubuntu20.04-docker-arm64-4c-16g-7199 does not seem to be running inside a container 05:31:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:31:39 $ docker top 37ac9c532bf276e9036ced70056a331e01b606351d5627ed8a85af2b532978e1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:31:40 ---> job-cost.sh 05:31:40 lf-activate-venv: SKIPPING 05:31:40 INFO: No Stack... 05:31:40 INFO: Retrieving Pricing Info for: v3-standard-4 05:31:41 INFO: Archiving Costs [Pipeline] sh 05:31:42 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 05:31:42 + cut -d, -f6 [Pipeline] lock 05:31:42 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-245-1-stack-cost] 05:31:42 Resource [jenkins-edgexfoundry-device-snmp-go-PR-245-1-stack-cost] did not exist. Created. 05:31:42 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-245-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:31:43 /w/workspace/device-snmp-go/1@tmp/durable-2bf0cc84/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:31:43 + echo total: 0.10999999940395355 [Pipeline] stash 05:31:43 Warning: overwriting stash ‘stack-cost’ 05:31:43 Stashed 1 file(s) [Pipeline] } 05:31:43 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-245-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:31:44 $ docker stop --time=1 37ac9c532bf276e9036ced70056a331e01b606351d5627ed8a85af2b532978e1 05:31:48 $ docker rm -f --volumes 37ac9c532bf276e9036ced70056a331e01b606351d5627ed8a85af2b532978e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:31:49 provisioning config files... 05:31:49 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-245@tmp/config15525323262034105237tmp [Pipeline] { [Pipeline] sh 05:31:49 + set +x 05:31:49 + curl -s https://codecov.io/bash 05:31:49 + bash -s -- 05:31:49 05:31:49 _____ _ 05:31:49 / ____| | | 05:31:49 | | ___ __| | ___ ___ _____ __ 05:31:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:31:49 | |___| (_) | (_| | __/ (_| (_) \ V / 05:31:49 \_____\___/ \__,_|\___|\___\___/ \_/ 05:31:49 Bash-1.0.6 05:31:49 05:31:49 05:31:49 ==> git version 2.25.1 found 05:31:49 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 05:31:49 Release-Date: 2020-01-08 05:31:49 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:31:49 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:31:49 ==> Jenkins CI detected. 05:31:49 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-245 05:31:49 project root: . 05:31:49 --> token set from env 05:31:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:31:49 ==> Running gcov in . (disable via -X gcov) 05:31:49 ==> Python coveragepy not found 05:31:49 ==> Searching for coverage reports in: 05:31:49 + . 05:31:49 -> Found 1 reports 05:31:49 ==> Detecting git/mercurial file structure 05:31:49 ==> Reading reports 05:31:50 + ./coverage.out bytes=7631 05:31:50 ==> Appending adjustments 05:31:50 https://docs.codecov.io/docs/fixing-reports 05:31:50 + Found adjustments 05:31:50 ==> Gzipping contents 05:31:50 4.0K /tmp/codecov.jJlUfd.gz 05:31:50 ==> Uploading reports 05:31:50 url: https://codecov.io 05:31:50 query: branch=PR-245&commit=ade244e5b783ed0af1a992845538e9200508ffc5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-245%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=245&job=&cmd_args= 05:31:50 -> Pinging Codecov 05:31:50 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-245&commit=ade244e5b783ed0af1a992845538e9200508ffc5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-245%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=245&job=&cmd_args= 05:31:50 -> Uploading to 05:31:50 https://storage.googleapis.com/codecov/v4/raw/2023-02-23/6C56EA5C29638FB4528AC87E60AF5AE0/ade244e5b783ed0af1a992845538e9200508ffc5/d38ee252-b414-4277-9af5-d76ff7c0cb32.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230223%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230223T053150Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3f5462f71d5d0b92353b300446b34edfa55963488324fe052bc3d5ec7693f7b3 05:31:50 % Total % Received % Xferd Average Speed Time Time Time Current 05:31:50 Dload Upload Total Spent Left Speed 05:31:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1522 0 0 100 1522 0 26241 --:--:-- --:--:-- --:--:-- 25796 100 1522 0 0 100 1522 0 5514 --:--:-- --:--:-- --:--:-- 5494 05:31:50 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/ade244e5b783ed0af1a992845538e9200508ffc5 [Pipeline] } 05:31:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:31:52 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-245/archives ] 05:31:52 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-245/archives 05:31:52 total 16 05:31:52 drwxr-xr-x 3 root root 4096 Feb 23 05:24 . 05:31:52 drwxrwxr-x 10 jenkins jenkins 4096 Feb 23 05:24 .. 05:31:52 drwxr-xr-x 2 root root 4096 Feb 23 05:24 cost 05:31:52 -rw-r--r-- 1 root root 86 Feb 23 05:24 cost.csv 05:31:52 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-245/archives 05:31:52 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-245/archives 05:31:52 total 16 05:31:52 drwxr-xr-x 3 jenkins jenkins 4096 Feb 23 05:24 . 05:31:52 drwxrwxr-x 10 jenkins jenkins 4096 Feb 23 05:24 .. 05:31:52 drwxr-xr-x 2 jenkins jenkins 4096 Feb 23 05:24 cost 05:31:52 -rw-r--r-- 1 jenkins jenkins 86 Feb 23 05:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:31:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:31:53 ---> package-listing.sh 05:31:53 ++ facter osfamily 05:31:53 ++ tr '[:upper:]' '[:lower:]' 05:31:53 + OS_FAMILY=debian 05:31:53 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-245 05:31:53 + START_PACKAGES=/tmp/packages_start.txt 05:31:53 + END_PACKAGES=/tmp/packages_end.txt 05:31:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:31:53 + PACKAGES=/tmp/packages_start.txt 05:31:53 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-245 ']' 05:31:53 + PACKAGES=/tmp/packages_end.txt 05:31:53 + case "${OS_FAMILY}" in 05:31:53 + dpkg -l 05:31:53 + grep '^ii' 05:31:53 + '[' -f /tmp/packages_start.txt ']' 05:31:53 + '[' -f /tmp/packages_end.txt ']' 05:31:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:31:53 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-245 ']' 05:31:53 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-245/archives/ 05:31:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-245/archives/ [Pipeline] echo 05:31:53 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-245/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:31:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:31:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:31:54 prd-ubuntu20.04-docker-8c-8g-7198 does not seem to be running inside a container 05:31:54 $ 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-245/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-245 -v /w/workspace/gexfoundry_device-snmp-go_PR-245:/w/workspace/gexfoundry_device-snmp-go_PR-245:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-245@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-245@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:31:55 $ docker top 2fbb4244606db73eb99f67f0834516f4f5887fccf84ae8a4cbea854b42e58879 -eo pid,comm [Pipeline] { [Pipeline] sh 05:31:55 + touch /tmp/pre-build-complete [Pipeline] sh 05:31:55 + mkdir -p /var/log/sysstat [Pipeline] sh 05:31:56 + ls /var/log/sa-host 05:31:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:31:56 provisioning config files... 05:31:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-245@tmp/config2108426722734003571tmp [Pipeline] { [Pipeline] echo 05:31:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:31:56 ---> create-netrc.sh [Pipeline] } 05:31:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:31:57 ---> python-tools-install.sh [Pipeline] echo 05:31:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:31:57 ---> sudo-logs.sh 05:31:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:31:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:31:57 ---> job-cost.sh 05:31:57 lf-activate-venv: SKIPPING 05:31:57 DEBUG: total: 0.2199999988079071 05:31:57 INFO: Retrieving Stack Cost... 05:31:58 INFO: Retrieving Pricing Info for: v3-standard-8 05:31:58 INFO: Archiving Costs [Pipeline] echo 05:31:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:31:59 ---> logs-deploy.sh 05:31:59 lf-activate-venv: SKIPPING 05:31:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-245/1 05:31:59 INFO: archiving workspace using pattern(s): 05:31:59 Archives upload complete. 05:31:59 INFO: archiving logs to Nexus