Pull request #290 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a06ec416634e52164298999fcc93837cdf466857+b749e223b2711b185c15c0ba4cea8b5d0d469184 (1e57e085ac56a3d0f3652981e5e20eed2eca9df0) 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-ssh15880625094820664083.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh17018675139822437893.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-290/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-290/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2203826122722206925.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-290/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13918558438861793695.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh560456031329272951.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-290/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-290/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16648383302917871466.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-9136’ Running on prd-ubuntu20.04-docker-8c-8g-9139 in /w/workspace/gexfoundry_device-snmp-go_PR-290 [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-290 # 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/290/head:refs/remotes/origin/PR-290 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b749e223b2711b185c15c0ba4cea8b5d0d469184 into PR head commit a06ec416634e52164298999fcc93837cdf466857 Merge succeeded, producing a06ec416634e52164298999fcc93837cdf466857 Checking out Revision a06ec416634e52164298999fcc93837cdf466857 (PR-290) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage > git config core.sparsecheckout # timeout=10 > git checkout -f a06ec416634e52164298999fcc93837cdf466857 # 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 b749e223b2711b185c15c0ba4cea8b5d0d469184 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a06ec416634e52164298999fcc93837cdf466857 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:00:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:00:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:00:09 ========================================================= 06:00:09 EdgeX Global Pipelines Version Info 06:00:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:00:10 ------------------- 06:00:10 stable info: 06:00:10 ------------------- 06:00:10 Commited By: Bill Mahoney bill.mahoney@intel.com 06:00:10 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 06:00:10 Message: update stable to v1.0.248 06:00:11 ------------------- 06:00:11 experimental info: 06:00:11 ------------------- 06:00:11 Commited By: **** collab-it+edgex@linuxfoundation.org 06:00:11 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 06:00:11 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:00:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 06:00:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 06:00:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:00:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:00:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:00:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 06:00:11 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:00:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:00:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:00:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:00:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:00:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 06:00:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:00:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:00:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:00:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:00:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:00:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:00:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:00:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:00:12 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:00:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:00:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:00:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:00:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:00:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:00:12 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:00:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-290 [Pipeline] echo 06:00:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-290 [Pipeline] echo 06:00:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-290 [Pipeline] echo 06:00:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a06ec416634e52164298999fcc93837cdf466857 [Pipeline] echo 06:00:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a06ec41 [Pipeline] echo 06:00:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:00:13 provisioning config files... 06:00:13 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-290@tmp/config11043901652870945456tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:00:13 ---> docker-login.sh 06:00:13 nexus3.edgexfoundry.org:10001 06:00:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:13 Configure a credential helper to remove this warning. See 06:00:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:13 06:00:13 Login Succeeded 06:00:13 nexus3.edgexfoundry.org:10002 06:00:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:13 Configure a credential helper to remove this warning. See 06:00:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:13 06:00:13 Login Succeeded 06:00:13 nexus3.edgexfoundry.org:10003 06:00:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:14 Configure a credential helper to remove this warning. See 06:00:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:14 06:00:14 Login Succeeded 06:00:14 nexus3.edgexfoundry.org:10004 06:00:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:14 Configure a credential helper to remove this warning. See 06:00:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:14 06:00:14 Login Succeeded 06:00:14 docker.io 06:00:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:16 Configure a credential helper to remove this warning. See 06:00:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:16 06:00:16 Login Succeeded 06:00:16 ---> docker-login.sh ends [Pipeline] } 06:00:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:00:16 + git rev-list -1 --merges a06ec416634e52164298999fcc93837cdf466857~1..a06ec416634e52164298999fcc93837cdf466857 [Pipeline] echo 06:00:16 -----------> git rev-list -1 --merges a06ec416634e52164298999fcc93837cdf466857~1..a06ec416634e52164298999fcc93837cdf466857 a06ec416634e52164298999fcc93837cdf466857 [false] [Pipeline] sh 06:00:17 + git log --format=format:%s -1 a06ec416634e52164298999fcc93837cdf466857 [Pipeline] echo 06:00:17 ========================================================= 06:00:17 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:00:17 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:00:17 + git log --format=format:%s -1 a06ec416634e52164298999fcc93837cdf466857 [Pipeline] echo 06:00:17 [semverPrep] GIT_COMMIT: a06ec416634e52164298999fcc93837cdf466857, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo 06:00:17 [semverPrep] This is not a build commit. [Pipeline] sh 06:00:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:00:18 + grep -v github /etc/ssh/ssh_known_hosts 06:00:18 + [ -e /tmp/ssh_known_hosts ] 06:00:18 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:00:18 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:00:18 + sudo tee -a /etc/ssh/ssh_known_hosts 06:00:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:00:18 06:00:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:00:18 0.1.4: Pulling from edgex-devops/py-git-semver 06:00:18 b85a868b505f: Pulling fs layer 06:00:18 e2be974225ed: Pulling fs layer 06:00:18 339a4e72a1f5: Pulling fs layer 06:00:18 988bab9f4d93: Pulling fs layer 06:00:18 1469e6f7b9e6: Pulling fs layer 06:00:18 eaf3925da568: Pulling fs layer 06:00:18 bab4dde63d76: Pulling fs layer 06:00:18 bde34c3a00c8: Pulling fs layer 06:00:18 b352a97aabf1: Pulling fs layer 06:00:18 4872d77fe225: Pulling fs layer 06:00:18 5851b861e8e6: Pulling fs layer 06:00:18 bde34c3a00c8: Waiting 06:00:18 bab4dde63d76: Waiting 06:00:18 5851b861e8e6: Waiting 06:00:18 1469e6f7b9e6: Waiting 06:00:18 988bab9f4d93: Waiting 06:00:18 4872d77fe225: Waiting 06:00:18 b352a97aabf1: Waiting 06:00:18 e2be974225ed: Verifying Checksum 06:00:18 e2be974225ed: Download complete 06:00:18 988bab9f4d93: Download complete 06:00:19 1469e6f7b9e6: Verifying Checksum 06:00:19 1469e6f7b9e6: Download complete 06:00:19 eaf3925da568: Verifying Checksum 06:00:19 eaf3925da568: Download complete 06:00:19 339a4e72a1f5: Verifying Checksum 06:00:19 339a4e72a1f5: Download complete 06:00:19 bde34c3a00c8: Download complete 06:00:19 b352a97aabf1: Verifying Checksum 06:00:19 b352a97aabf1: Download complete 06:00:19 4872d77fe225: Verifying Checksum 06:00:19 4872d77fe225: Download complete 06:00:19 5851b861e8e6: Download complete 06:00:19 b85a868b505f: Verifying Checksum 06:00:19 b85a868b505f: Download complete 06:00:19 bab4dde63d76: Verifying Checksum 06:00:19 bab4dde63d76: Download complete 06:00:20 b85a868b505f: Pull complete 06:00:20 e2be974225ed: Pull complete 06:00:21 339a4e72a1f5: Pull complete 06:00:21 988bab9f4d93: Pull complete 06:00:21 1469e6f7b9e6: Pull complete 06:00:21 eaf3925da568: Pull complete 06:00:23 bab4dde63d76: Pull complete 06:00:23 bde34c3a00c8: Pull complete 06:00:23 b352a97aabf1: Pull complete 06:00:23 4872d77fe225: Pull complete 06:00:23 5851b861e8e6: Pull complete 06:00:23 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:00:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:00:23 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:00:23 prd-ubuntu20.04-docker-8c-8g-9139 does not seem to be running inside a container 06:00:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-290 -v /w/workspace/gexfoundry_device-snmp-go_PR-290:/w/workspace/gexfoundry_device-snmp-go_PR-290:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-290@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-290@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:00:26 $ docker top 99cbf03253c6f57a09993202fd5904ad879171f74a71d97e523ebe5ef4b07007 -eo pid,comm 06:00:26 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:00:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:00:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:00:26 [ssh-agent] Looking for ssh-agent implementation... 06:00:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:00:26 $ docker exec 99cbf03253c6f57a09993202fd5904ad879171f74a71d97e523ebe5ef4b07007 ssh-agent 06:00:26 SSH_AUTH_SOCK=/tmp/ssh-RIzzljhaR8YT/agent.33 06:00:26 SSH_AGENT_PID=39 06:00:26 Running ssh-add (command line suppressed) 06:00:26 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-290@tmp/private_key_558655662023021847.key (/w/workspace/gexfoundry_device-snmp-go_PR-290@tmp/private_key_558655662023021847.key) 06:00:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:00:27 + git tag --points-at HEAD [Pipeline] } 06:00:27 $ docker exec --env ******** --env ******** 99cbf03253c6f57a09993202fd5904ad879171f74a71d97e523ebe5ef4b07007 ssh-agent -k 06:00:27 unset SSH_AUTH_SOCK; 06:00:27 unset SSH_AGENT_PID; 06:00:27 echo Agent pid 39 killed; 06:00:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:00:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:00:27 [ssh-agent] Looking for ssh-agent implementation... 06:00:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:00:27 $ docker exec 99cbf03253c6f57a09993202fd5904ad879171f74a71d97e523ebe5ef4b07007 ssh-agent 06:00:27 SSH_AUTH_SOCK=/tmp/ssh-inoDFDLRvyCV/agent.71 06:00:27 SSH_AGENT_PID=77 06:00:27 Running ssh-add (command line suppressed) 06:00:27 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-290@tmp/private_key_16488007616429757961.key (/w/workspace/gexfoundry_device-snmp-go_PR-290@tmp/private_key_16488007616429757961.key) 06:00:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:00:27 + git semver init 06:00:28 2023-04-20 06:00:28,152 [run_init] DEBUG init version:0.0.0 force:False 06:00:28 2023-04-20 06:00:28,153 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-290/.semver 06:00:28 2023-04-20 06:00:28,153 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-290/.semver 06:00:28 2023-04-20 06:00:28,154 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-290/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-290, universal_newlines=False, shell=None, istream=None) 06:00:29 2023-04-20 06:00:28,867 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-290/.git/info/exclude 06:00:29 2023-04-20 06:00:28,870 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-290/.semver/PR-290 with force:False 06:00:29 2023-04-20 06:00:28,870 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-290/.semver/PR-290 06:00:29 2023-04-20 06:00:28,877 [execute] INFO git cat-file --batch-check 06:00:29 2023-04-20 06:00:28,878 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-290/.semver, universal_newlines=False, shell=None, istream=) 06:00:29 2023-04-20 06:00:28,884 [execute] INFO git cat-file --batch 06:00:29 2023-04-20 06:00:28,884 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-290/.semver, universal_newlines=False, shell=None, istream=) 06:00:29 2023-04-20 06:00:28,891 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-290/.semver/PR-290 06:00:29 0.0.0 [Pipeline] } 06:00:29 $ docker exec --env ******** --env ******** 99cbf03253c6f57a09993202fd5904ad879171f74a71d97e523ebe5ef4b07007 ssh-agent -k 06:00:29 unset SSH_AUTH_SOCK; 06:00:29 unset SSH_AGENT_PID; 06:00:29 echo Agent pid 77 killed; 06:00:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:00:29 + git semver [Pipeline] } 06:00:30 $ docker stop --time=1 99cbf03253c6f57a09993202fd5904ad879171f74a71d97e523ebe5ef4b07007 06:00:31 $ docker rm -f --volumes 99cbf03253c6f57a09993202fd5904ad879171f74a71d97e523ebe5ef4b07007 [Pipeline] // withDockerContainer [Pipeline] sh 06:00:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:00:31 Stashed 1 file(s) [Pipeline] echo 06:00:32 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:00:32 provisioning config files... 06:00:32 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-290@tmp/config3321014713535397435tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:00:32 ---> docker-login.sh 06:00:32 nexus3.edgexfoundry.org:10001 06:00:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:32 Configure a credential helper to remove this warning. See 06:00:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:32 06:00:32 Login Succeeded 06:00:32 nexus3.edgexfoundry.org:10002 06:00:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:32 Configure a credential helper to remove this warning. See 06:00:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:32 06:00:32 Login Succeeded 06:00:32 nexus3.edgexfoundry.org:10003 06:00:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:33 Configure a credential helper to remove this warning. See 06:00:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:33 06:00:33 Login Succeeded 06:00:33 nexus3.edgexfoundry.org:10004 06:00:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:33 Configure a credential helper to remove this warning. See 06:00:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:33 06:00:33 Login Succeeded 06:00:33 docker.io 06:00:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:33 Configure a credential helper to remove this warning. See 06:00:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:33 06:00:33 Login Succeeded 06:00:33 ---> docker-login.sh ends [Pipeline] } 06:00:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:00:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:00:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:00:34 ========================================================= 06:00:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 06:00:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:34 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 06:00:34 Sending build context to Docker daemon 5.793MB 06:00:34 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 06:00:34 Step 2/12 : FROM ${BASE} AS builder 06:00:34 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 06:00:34 63b65145d645: Pulling fs layer 06:00:34 a2d21d5440eb: Pulling fs layer 06:00:34 935e6c44a52c: Pulling fs layer 06:00:34 94cc34f8dd06: Pulling fs layer 06:00:34 30dea6a524f1: Pulling fs layer 06:00:34 a2aff8979fd8: Pulling fs layer 06:00:34 6808be2612f2: Pulling fs layer 06:00:34 f25807f1079a: Pulling fs layer 06:00:34 a2aff8979fd8: Waiting 06:00:34 6808be2612f2: Waiting 06:00:34 f25807f1079a: Waiting 06:00:34 94cc34f8dd06: Waiting 06:00:34 30dea6a524f1: Waiting 06:00:34 a2d21d5440eb: Verifying Checksum 06:00:34 a2d21d5440eb: Download complete 06:00:34 94cc34f8dd06: Download complete 06:00:34 30dea6a524f1: Verifying Checksum 06:00:34 30dea6a524f1: Download complete 06:00:34 63b65145d645: Download complete 06:00:34 a2aff8979fd8: Verifying Checksum 06:00:34 a2aff8979fd8: Download complete 06:00:34 63b65145d645: Pull complete 06:00:35 a2d21d5440eb: Pull complete 06:00:35 f25807f1079a: Verifying Checksum 06:00:35 f25807f1079a: Download complete 06:00:35 935e6c44a52c: Verifying Checksum 06:00:35 935e6c44a52c: Download complete 06:00:35 6808be2612f2: Verifying Checksum 06:00:35 6808be2612f2: Download complete 06:00:38 935e6c44a52c: Pull complete 06:00:38 94cc34f8dd06: Pull complete 06:00:38 30dea6a524f1: Pull complete 06:00:39 a2aff8979fd8: Pull complete 06:00:41 6808be2612f2: Pull complete 06:00:42 f25807f1079a: Pull complete 06:00:42 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 06:00:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 06:00:42 ---> 3b553350e43f 06:00:42 Step 3/12 : ARG ADD_BUILD_TAGS="" 06:00:46 ---> Running in 0000717e79a0 06:00:46 Removing intermediate container 0000717e79a0 06:00:46 ---> 6edd94792ceb 06:00:46 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:00:46 ---> Running in bf2883aaa37d 06:00:46 Removing intermediate container bf2883aaa37d 06:00:46 ---> c44c4be78786 06:00:46 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:00:46 ---> Running in 59151d31dc83 06:00:46 Removing intermediate container 59151d31dc83 06:00:46 ---> 8952b8e0107b 06:00:46 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 06:00:46 ---> Running in 9ad96155f6c5 06:00:47 Removing intermediate container 9ad96155f6c5 06:00:47 ---> 0c7de1cbe75a 06:00:47 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:00:47 ---> Running in 4d961bb90e23 06:00:47 Still waiting to schedule task 06:00:47 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9137’ 06:00:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:00:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:00:47 (1/4) Installing openssh-keygen (9.1_p1-r2) 06:00:47 (2/4) Installing libedit (20221030.3.1-r0) 06:00:47 (3/4) Installing openssh-client-common (9.1_p1-r2) 06:00:47 (4/4) Installing openssh-client-default (9.1_p1-r2) 06:00:47 Executing busybox-1.35.0-r29.trigger 06:00:47 OK: 269 MiB in 57 packages 06:00:48 Removing intermediate container 4d961bb90e23 06:00:48 ---> 5ab7bedb95b0 06:00:48 Step 8/12 : WORKDIR /device-snmp-go 06:00:48 ---> Running in a6291de35618 06:00:48 Removing intermediate container a6291de35618 06:00:48 ---> 8bcb8e6f6ab4 06:00:48 Step 9/12 : COPY go.mod vendor* ./ 06:00:48 ---> 6e19721ce0fb 06:00:48 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:00:48 ---> Running in 257bbb6444b5 06:01:27 Removing intermediate container 257bbb6444b5 06:01:27 ---> bf764220e402 06:01:27 Step 11/12 : COPY . . 06:01:27 ---> 0969e7b7751f 06:01:27 Step 12/12 : RUN ${MAKE} 06:01:27 ---> Running in a9b6b78cdd57 06:01:27 noop 06:01:27 Removing intermediate container a9b6b78cdd57 06:01:27 ---> 53b8d6dea209 06:01:27 Successfully built 53b8d6dea209 06:01:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:27 + docker inspect -f . ci-base-image-x86_64 06:01:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:01:27 prd-ubuntu20.04-docker-8c-8g-9139 does not seem to be running inside a container 06:01:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-290 -v /w/workspace/gexfoundry_device-snmp-go_PR-290:/w/workspace/gexfoundry_device-snmp-go_PR-290:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-290@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-290@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-x86_64 cat 06:01:28 $ docker top f1418a8381633642ada85de79a9ed20ad3c4397f8d5b3a4ef9bc02033e1fe2d5 -eo pid,comm [Pipeline] { [Pipeline] sh 06:01:28 + go version 06:01:28 go version go1.20.2 linux/amd64 [Pipeline] } 06:01:28 $ docker stop --time=1 f1418a8381633642ada85de79a9ed20ad3c4397f8d5b3a4ef9bc02033e1fe2d5 06:01:29 $ docker rm -f --volumes f1418a8381633642ada85de79a9ed20ad3c4397f8d5b3a4ef9bc02033e1fe2d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:30 + docker inspect -f . ci-base-image-x86_64 06:01:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:01:30 prd-ubuntu20.04-docker-8c-8g-9139 does not seem to be running inside a container 06:01:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-snmp-go_PR-290 -v /w/workspace/gexfoundry_device-snmp-go_PR-290:/w/workspace/gexfoundry_device-snmp-go_PR-290:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-290@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-290@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-x86_64 cat 06:01:31 $ docker top 32735f6dd56889e59dc16b98bc95de361e8c4d01e245137fee84eb6edd5e9d21 -eo pid,comm [Pipeline] { [Pipeline] sh 06:01:31 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-290 [Pipeline] fileExists [Pipeline] sh 06:01:31 + make test 06:01:31 go test ./... -coverprofile=coverage.out 06:01:37 ? github.com/edgexfoundry/device-snmp-go [no test files] 06:01:47 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 06:01:47 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.010s coverage: 0.0% of statements 06:01:53 go vet ./... 06:01:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:01:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:01:57 ./bin/test-attribution-txt.sh [Pipeline] echo 06:01:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:01:57 $ docker stop --time=1 32735f6dd56889e59dc16b98bc95de361e8c4d01e245137fee84eb6edd5e9d21 06:01:59 $ docker rm -f --volumes 32735f6dd56889e59dc16b98bc95de361e8c4d01e245137fee84eb6edd5e9d21 [Pipeline] // withDockerContainer [Pipeline] sh 06:01:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:02:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:02:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:02:01 + ls -al . 06:02:01 total 172 06:02:01 drwxrwxr-x 9 jenkins jenkins 4096 Apr 20 06:01 . 06:02:01 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 06:00 .. 06:02:01 -rw-rw-r-- 1 jenkins jenkins 6 Apr 20 06:00 .dockerignore 06:02:01 drwxrwxr-x 8 jenkins jenkins 4096 Apr 20 06:00 .git 06:02:01 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 06:00 .github 06:02:01 -rw-rw-r-- 1 jenkins jenkins 328 Apr 20 06:00 .gitignore 06:02:01 -rw-rw-r-- 1 jenkins jenkins 41 Apr 20 06:00 .golangci.yml 06:02:01 drwxr-xr-x 3 jenkins jenkins 4096 Apr 20 06:00 .semver 06:02:01 -rw-rw-r-- 1 jenkins jenkins 9056 Apr 20 06:00 Attribution.txt 06:02:01 -rw-rw-r-- 1 jenkins jenkins 8355 Apr 20 06:00 CHANGELOG.md 06:02:01 -rw-rw-r-- 1 jenkins jenkins 1423 Apr 20 06:00 Dockerfile 06:02:01 -rw-rw-r-- 1 jenkins jenkins 677 Apr 20 06:00 GOVERNANCE.md 06:02:01 -rw-rw-r-- 1 jenkins jenkins 656 Apr 20 06:00 Jenkinsfile 06:02:01 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 20 06:00 LICENSE 06:02:01 -rw-rw-r-- 1 jenkins jenkins 2114 Apr 20 06:00 Makefile 06:02:01 -rw-rw-r-- 1 jenkins jenkins 620 Apr 20 06:00 OWNERS.md 06:02:01 -rw-rw-r-- 1 jenkins jenkins 10054 Apr 20 06:00 README.md 06:02:01 -rw-rw-r-- 1 jenkins jenkins 5 Apr 20 06:00 VERSION 06:02:01 drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 06:00 bin 06:02:01 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 06:00 cmd 06:02:01 -rw-r--r-- 1 jenkins jenkins 8837 Apr 20 06:01 coverage.out 06:02:01 -rw-rw-r-- 1 jenkins jenkins 3283 Apr 20 06:00 go.mod 06:02:01 -rw-rw-r-- 1 jenkins jenkins 31441 Apr 20 06:00 go.sum 06:02:01 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 06:00 internal 06:02:01 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 06:00 snap 06:02:01 -rw-rw-r-- 1 jenkins jenkins 228 Apr 20 06:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:01 + 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=a06ec416634e52164298999fcc93837cdf466857 --label arch=amd64 --label version=0.0.0 . 06:02:01 Sending build context to Docker daemon 5.803MB 06:02:01 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 06:02:01 Step 2/24 : FROM ${BASE} AS builder 06:02:01 ---> 53b8d6dea209 06:02:01 Step 3/24 : ARG ADD_BUILD_TAGS="" 06:02:01 ---> Running in 4b77db25affb 06:02:01 Removing intermediate container 4b77db25affb 06:02:01 ---> bd0e772fd752 06:02:01 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:02:01 ---> Running in 1ac485ea76d9 06:02:01 Removing intermediate container 1ac485ea76d9 06:02:01 ---> f9c4ae10f1c2 06:02:01 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:02:01 ---> Running in 3000842c4029 06:02:01 Removing intermediate container 3000842c4029 06:02:01 ---> b4bb76611ce3 06:02:01 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 06:02:01 ---> Running in 76d9413fedb6 06:02:01 Removing intermediate container 76d9413fedb6 06:02:01 ---> 0f7c0b5e22c2 06:02:01 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:02:01 ---> Running in eb59cf0b2b32 06:02:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:02:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:02:02 OK: 269 MiB in 57 packages 06:02:02 Removing intermediate container eb59cf0b2b32 06:02:02 ---> 4f44030fef0f 06:02:02 Step 8/24 : WORKDIR /device-snmp-go 06:02:02 ---> Running in 2b3c4872c776 06:02:03 Removing intermediate container 2b3c4872c776 06:02:03 ---> 8b287fc06db0 06:02:03 Step 9/24 : COPY go.mod vendor* ./ 06:02:03 ---> 4048a030d7b4 06:02:03 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:02:03 ---> Running in 2e310f6ca4ca 06:02:03 Removing intermediate container 2e310f6ca4ca 06:02:03 ---> 9583a0919717 06:02:03 Step 11/24 : COPY . . 06:02:04 ---> ae0c46041f63 06:02:04 Step 12/24 : RUN ${MAKE} 06:02:04 ---> Running in 44e35bb25c54 06:02:04 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 06:02:22 Removing intermediate container 44e35bb25c54 06:02:22 ---> 7264feade8a8 06:02:22 Step 13/24 : FROM alpine:3.17 06:02:22 3.17: Pulling from library/alpine 06:02:22 f56be85fc22e: Pulling fs layer 06:02:22 f56be85fc22e: Download complete 06:02:22 f56be85fc22e: Pull complete 06:02:22 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:02:22 Status: Downloaded newer image for alpine:3.17 06:02:22 ---> 9ed4aefc74f6 06:02:22 Step 14/24 : RUN apk add --update --no-cache dumb-init 06:02:22 ---> Running in 1a01316520ca 06:02:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:02:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:02:23 (1/1) Installing dumb-init (1.2.5-r2) 06:02:23 Executing busybox-1.35.0-r29.trigger 06:02:23 OK: 7 MiB in 16 packages 06:02:23 Removing intermediate container 1a01316520ca 06:02:23 ---> 6254761a9726 06:02:23 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 06:02:24 ---> cd16a61bcd57 06:02:24 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 06:02:24 ---> 1161c7c603a5 06:02:24 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 06:02:24 ---> 8d157d011739 06:02:24 Step 18/24 : EXPOSE 59993 06:02:24 ---> Running in 984f0a6a793e 06:02:24 Removing intermediate container 984f0a6a793e 06:02:24 ---> 3c9b185f3f70 06:02:24 Step 19/24 : EXPOSE 161 06:02:24 ---> Running in 0ae6cd2f4ace 06:02:24 Removing intermediate container 0ae6cd2f4ace 06:02:24 ---> a167d62ebd33 06:02:24 Step 20/24 : ENTRYPOINT ["/device-snmp"] 06:02:24 ---> Running in 64faafe3cccd 06:02:24 Removing intermediate container 64faafe3cccd 06:02:24 ---> da543f5d1120 06:02:24 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 06:02:24 ---> Running in bb09e0d5a224 06:02:24 Removing intermediate container bb09e0d5a224 06:02:24 ---> 608a4634a984 06:02:24 Step 22/24 : LABEL arch=amd64 06:02:24 ---> Running in f729045c3218 06:02:24 Removing intermediate container f729045c3218 06:02:24 ---> 9890bdf1562e 06:02:24 Step 23/24 : LABEL git_sha=a06ec416634e52164298999fcc93837cdf466857 06:02:24 ---> Running in bfed23a8ac59 06:02:24 Removing intermediate container bfed23a8ac59 06:02:24 ---> 54405e6bcc59 06:02:24 Step 24/24 : LABEL version=0.0.0 06:02:24 ---> Running in c3d3206e8a72 06:02:24 Removing intermediate container c3d3206e8a72 06:02:24 ---> 3b1211218292 06:02:24 [Warning] One or more build-args [ARCH] were not consumed 06:02:24 Successfully built 3b1211218292 06:02:24 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:02:25 06:02:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:02:26 latest: Pulling from edgex-lftools-log-publisher 06:02:26 5eb5b503b376: Pulling fs layer 06:02:26 5c69ac0246d0: Pulling fs layer 06:02:26 ec43610c2a17: Pulling fs layer 06:02:26 3a2ae6a8a46f: Pulling fs layer 06:02:26 33b1e0a273af: Pulling fs layer 06:02:26 5d3b04190fa2: Pulling fs layer 06:02:26 2f39f015ded8: Pulling fs layer 06:02:26 3a2ae6a8a46f: Waiting 06:02:26 33b1e0a273af: Waiting 06:02:26 5d3b04190fa2: Waiting 06:02:26 2f39f015ded8: Waiting 06:02:26 5c69ac0246d0: Verifying Checksum 06:02:26 5c69ac0246d0: Download complete 06:02:26 3a2ae6a8a46f: Download complete 06:02:26 33b1e0a273af: Verifying Checksum 06:02:26 33b1e0a273af: Download complete 06:02:26 ec43610c2a17: Verifying Checksum 06:02:26 ec43610c2a17: Download complete 06:02:26 5d3b04190fa2: Verifying Checksum 06:02:26 5d3b04190fa2: Download complete 06:02:26 5eb5b503b376: Download complete 06:02:26 2f39f015ded8: Verifying Checksum 06:02:26 2f39f015ded8: Download complete 06:02:27 5eb5b503b376: Pull complete 06:02:27 5c69ac0246d0: Pull complete 06:02:28 ec43610c2a17: Pull complete 06:02:28 3a2ae6a8a46f: Pull complete 06:02:28 33b1e0a273af: Pull complete 06:02:28 5d3b04190fa2: Pull complete 06:02:32 2f39f015ded8: Pull complete 06:02:32 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:02:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:02:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:02:32 prd-ubuntu20.04-docker-8c-8g-9139 does not seem to be running inside a container 06:02:32 $ 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-290 -v /w/workspace/gexfoundry_device-snmp-go_PR-290:/w/workspace/gexfoundry_device-snmp-go_PR-290:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-290@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:02:34 $ docker top 5dbcb77bf09389ae2786ba80a14163909f7611457ba8dc2e6c45fc69e50f8fa5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:02:35 ---> job-cost.sh 06:02:35 lf-activate-venv: SKIPPING 06:02:35 INFO: No Stack... 06:02:35 INFO: Retrieving Pricing Info for: v3-standard-8 06:02:36 INFO: Archiving Costs [Pipeline] sh 06:02:36 + cat /w/workspace/gexfoundry_device-snmp-go_PR-290/archives/cost.csv 06:02:36 + cut -d, -f6 [Pipeline] lock 06:02:36 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-290-1-stack-cost] 06:02:36 Resource [jenkins-edgexfoundry-device-snmp-go-PR-290-1-stack-cost] did not exist. Created. 06:02:36 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-290-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:02:36 + echo total: 0.2199999988079071 [Pipeline] stash 06:02:37 Stashed 1 file(s) [Pipeline] } 06:02:37 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-290-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:02:37 $ docker stop --time=1 5dbcb77bf09389ae2786ba80a14163909f7611457ba8dc2e6c45fc69e50f8fa5 06:02:38 $ docker rm -f --volumes 5dbcb77bf09389ae2786ba80a14163909f7611457ba8dc2e6c45fc69e50f8fa5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:03:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9142 in /w/workspace/gexfoundry_device-snmp-go_PR-290 [Pipeline] { [Pipeline] ws 06:03:08 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 06:03:08 Selected Git installation does not exist. Using Default 06:03:08 The recommended git tool is: NONE 06:03:15 using credential edgex-jenkins-ssh 06:03:15 Cloning the remote Git repository 06:03:15 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 06:03:15 > git init /w/workspace/device-snmp-go/1 # timeout=10 06:03:15 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 06:03:15 > git --version # timeout=10 06:03:15 > git --version # 'git version 2.25.1' 06:03:15 using GIT_SSH to set credentials SSH Credentials for GitHub 06:03:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:03:16 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 06:03:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:03:17 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 06:03:17 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 06:03:17 using GIT_SSH to set credentials SSH Credentials for GitHub 06:03:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/290/head:refs/remotes/origin/PR-290 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:03:18 Merging remotes/origin/main commit b749e223b2711b185c15c0ba4cea8b5d0d469184 into PR head commit a06ec416634e52164298999fcc93837cdf466857 06:03:18 Merge succeeded, producing a06ec416634e52164298999fcc93837cdf466857 06:03:18 Checking out Revision a06ec416634e52164298999fcc93837cdf466857 (PR-290) 06:03:19 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" 06:03:18 > git config core.sparsecheckout # timeout=10 06:03:18 > git checkout -f a06ec416634e52164298999fcc93837cdf466857 # timeout=10 06:03:18 > git remote # timeout=10 06:03:18 > git config --get remote.origin.url # timeout=10 06:03:18 using GIT_SSH to set credentials SSH Credentials for GitHub 06:03:18 > git merge b749e223b2711b185c15c0ba4cea8b5d0d469184 # timeout=10 06:03:18 > git rev-parse HEAD^{commit} # timeout=10 06:03:18 > git config core.sparsecheckout # timeout=10 06:03:18 > git checkout -f a06ec416634e52164298999fcc93837cdf466857 # timeout=10 06:03:19 > git --version # timeout=10 06:03:19 > git --version # 'git version 2.25.1' 06:03:19 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:03:20 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:03:20 % Total % Received % Xferd Average Speed Time Time Time Current 06:03:20 Dload Upload Total Spent Left Speed 06:03:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95156 0 --:--:-- --:--:-- --:--:-- 95872 [Pipeline] sh 06:03:21 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:03:21 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:03:21 + sudo tee /etc/docker/daemon.new 06:03:21 { 06:03:21 "registry-mirrors": [ 06:03:21 "https://nexus3.edgexfoundry.org:10001" 06:03:21 ], 06:03:21 "bip": "10.250.0.254/24", 06:03:21 "hosts": [ 06:03:21 "tcp://0.0.0.0:5555", 06:03:21 "unix:///var/run/docker.sock" 06:03:21 ], 06:03:21 "mtu": 1458, 06:03:21 "selinux-enabled": true, 06:03:21 "seccomp-profile": "/etc/docker/seccomp.json" 06:03:21 } [Pipeline] sh 06:03:21 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:03:22 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:03:40 provisioning config files... 06:03:40 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config997012396874057465tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:03:41 ---> docker-login.sh 06:03:41 nexus3.edgexfoundry.org:10001 06:03:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:41 Configure a credential helper to remove this warning. See 06:03:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:41 06:03:41 Login Succeeded 06:03:41 nexus3.edgexfoundry.org:10002 06:03:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:42 Configure a credential helper to remove this warning. See 06:03:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:42 06:03:42 Login Succeeded 06:03:42 nexus3.edgexfoundry.org:10003 06:03:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:42 Configure a credential helper to remove this warning. See 06:03:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:42 06:03:42 Login Succeeded 06:03:42 nexus3.edgexfoundry.org:10004 06:03:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:42 Configure a credential helper to remove this warning. See 06:03:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:42 06:03:42 Login Succeeded 06:03:42 docker.io 06:03:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:43 Configure a credential helper to remove this warning. See 06:03:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:43 06:03:43 Login Succeeded 06:03:43 ---> docker-login.sh ends [Pipeline] } 06:03:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:03:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:03:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:03:43 ========================================================= 06:03:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 06:03:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:44 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 06:03:44 Sending build context to Docker daemon 2.998MB 06:03:44 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 06:03:44 Step 2/12 : FROM ${BASE} AS builder 06:03:44 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:03:44 af6eaf76a39c: Pulling fs layer 06:03:44 55522c791124: Pulling fs layer 06:03:44 ce5c4a1c91eb: Pulling fs layer 06:03:44 169dfbe0d373: Pulling fs layer 06:03:44 e1ff8fa3b103: Pulling fs layer 06:03:44 52ebb69f0ebf: Pulling fs layer 06:03:44 5abe8eddf0d5: Pulling fs layer 06:03:44 169dfbe0d373: Waiting 06:03:44 e1ff8fa3b103: Waiting 06:03:44 52ebb69f0ebf: Waiting 06:03:44 5abe8eddf0d5: Waiting 06:03:44 55522c791124: Verifying Checksum 06:03:44 55522c791124: Download complete 06:03:44 169dfbe0d373: Verifying Checksum 06:03:44 169dfbe0d373: Download complete 06:03:44 e1ff8fa3b103: Verifying Checksum 06:03:44 e1ff8fa3b103: Download complete 06:03:44 af6eaf76a39c: Verifying Checksum 06:03:45 5abe8eddf0d5: Verifying Checksum 06:03:45 af6eaf76a39c: Pull complete 06:03:46 55522c791124: Pull complete 06:03:47 52ebb69f0ebf: Verifying Checksum 06:03:47 52ebb69f0ebf: Download complete 06:03:47 ce5c4a1c91eb: Verifying Checksum 06:03:47 ce5c4a1c91eb: Download complete 06:03:57 ce5c4a1c91eb: Pull complete 06:03:57 169dfbe0d373: Pull complete 06:03:58 e1ff8fa3b103: Pull complete 06:04:04 52ebb69f0ebf: Pull complete 06:04:08 5abe8eddf0d5: Pull complete 06:04:08 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 06:04:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 06:04:08 ---> 6cb57ee374ae 06:04:08 Step 3/12 : ARG ADD_BUILD_TAGS="" 06:04:10 ---> Running in 003a1f10b7e3 06:04:10 Removing intermediate container 003a1f10b7e3 06:04:10 ---> e6fb15769f31 06:04:10 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:04:10 ---> Running in fd50168731f0 06:04:10 Removing intermediate container fd50168731f0 06:04:10 ---> bd6ab8615253 06:04:10 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:04:11 ---> Running in f9d7f91d09ff 06:04:11 Removing intermediate container f9d7f91d09ff 06:04:11 ---> 6c9b96ef5a8f 06:04:11 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 06:04:11 ---> Running in baa8ac637d16 06:04:11 Removing intermediate container baa8ac637d16 06:04:11 ---> 6cd30e69d4fe 06:04:11 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:04:11 ---> Running in 545cbc6d51c0 06:04:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:04:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:04:14 (1/4) Installing openssh-keygen (9.1_p1-r2) 06:04:14 (2/4) Installing libedit (20221030.3.1-r0) 06:04:14 (3/4) Installing openssh-client-common (9.1_p1-r2) 06:04:14 (4/4) Installing openssh-client-default (9.1_p1-r2) 06:04:14 Executing busybox-1.35.0-r29.trigger 06:04:14 OK: 268 MiB in 57 packages 06:04:15 Removing intermediate container 545cbc6d51c0 06:04:15 ---> a3e174130a6c 06:04:15 Step 8/12 : WORKDIR /device-snmp-go 06:04:15 ---> Running in 5cd3ae349616 06:04:16 Removing intermediate container 5cd3ae349616 06:04:16 ---> bc968fbfc038 06:04:16 Step 9/12 : COPY go.mod vendor* ./ 06:04:16 ---> 9634418743a1 06:04:16 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:04:16 ---> Running in c077fed97b2e 06:05:38 Removing intermediate container c077fed97b2e 06:05:38 ---> fbf2d82355f4 06:05:38 Step 11/12 : COPY . . 06:05:38 ---> 05ee2e1e46f7 06:05:38 Step 12/12 : RUN ${MAKE} 06:05:38 ---> Running in b32b13d5f7bf 06:05:38 noop 06:05:38 Removing intermediate container b32b13d5f7bf 06:05:38 ---> c19cad159076 06:05:38 Successfully built c19cad159076 06:05:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:39 + docker inspect -f . ci-base-image-arm64 06:05:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:05:39 prd-ubuntu20.04-docker-arm64-4c-16g-9142 does not seem to be running inside a container 06:05:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:05:40 $ docker top b047d52a32c8b2ff5c2c306562a756d2736356096608322de3e53d4b506a7fd3 -eo pid,comm [Pipeline] { [Pipeline] sh 06:05:41 + go version 06:05:41 go version go1.20.2 linux/arm64 [Pipeline] } 06:05:41 $ docker stop --time=1 b047d52a32c8b2ff5c2c306562a756d2736356096608322de3e53d4b506a7fd3 06:05:43 $ docker rm -f --volumes b047d52a32c8b2ff5c2c306562a756d2736356096608322de3e53d4b506a7fd3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:44 + docker inspect -f . ci-base-image-arm64 06:05:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:05:44 prd-ubuntu20.04-docker-arm64-4c-16g-9142 does not seem to be running inside a container 06:05:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:05:46 $ docker top 83e5c616245c0fa029fc46fc7415be95cc9d5b66a2110f54d6e493ada59b2547 -eo pid,comm [Pipeline] { [Pipeline] sh 06:05:47 + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh 06:05:47 + make test 06:05:47 go test ./... -coverprofile=coverage.out 06:06:26 ? github.com/edgexfoundry/device-snmp-go [no test files] 06:08:49 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 06:08:49 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.054s coverage: 0.0% of statements 06:08:49 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:08:49 go vet ./... 06:09:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:09:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:09:07 ./bin/test-attribution-txt.sh [Pipeline] echo 06:09:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:09:07 $ docker stop --time=1 83e5c616245c0fa029fc46fc7415be95cc9d5b66a2110f54d6e493ada59b2547 06:09:09 $ docker rm -f --volumes 83e5c616245c0fa029fc46fc7415be95cc9d5b66a2110f54d6e493ada59b2547 [Pipeline] // withDockerContainer [Pipeline] sh 06:09:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:09:10 Warning: overwriting stash ‘coverage-report’ 06:09:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:09:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:09:12 + ls -al . 06:09:12 total 168 06:09:12 drwxrwxr-x 8 jenkins jenkins 4096 Apr 20 06:05 . 06:09:12 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 06:03 .. 06:09:12 -rw-rw-r-- 1 jenkins jenkins 6 Apr 20 06:03 .dockerignore 06:09:12 drwxrwxr-x 8 jenkins jenkins 4096 Apr 20 06:03 .git 06:09:12 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 06:03 .github 06:09:12 -rw-rw-r-- 1 jenkins jenkins 328 Apr 20 06:03 .gitignore 06:09:12 -rw-rw-r-- 1 jenkins jenkins 41 Apr 20 06:03 .golangci.yml 06:09:12 -rw-rw-r-- 1 jenkins jenkins 9056 Apr 20 06:03 Attribution.txt 06:09:12 -rw-rw-r-- 1 jenkins jenkins 8355 Apr 20 06:03 CHANGELOG.md 06:09:12 -rw-rw-r-- 1 jenkins jenkins 1423 Apr 20 06:03 Dockerfile 06:09:12 -rw-rw-r-- 1 jenkins jenkins 677 Apr 20 06:03 GOVERNANCE.md 06:09:12 -rw-rw-r-- 1 jenkins jenkins 656 Apr 20 06:03 Jenkinsfile 06:09:12 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 20 06:03 LICENSE 06:09:12 -rw-rw-r-- 1 jenkins jenkins 2114 Apr 20 06:03 Makefile 06:09:12 -rw-rw-r-- 1 jenkins jenkins 620 Apr 20 06:03 OWNERS.md 06:09:12 -rw-rw-r-- 1 jenkins jenkins 10054 Apr 20 06:03 README.md 06:09:12 -rw-rw-r-- 1 jenkins jenkins 5 Apr 20 06:00 VERSION 06:09:12 drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 06:03 bin 06:09:12 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 06:03 cmd 06:09:12 -rw-r--r-- 1 jenkins jenkins 8837 Apr 20 06:08 coverage.out 06:09:12 -rw-rw-r-- 1 jenkins jenkins 3283 Apr 20 06:03 go.mod 06:09:12 -rw-rw-r-- 1 jenkins jenkins 31441 Apr 20 06:03 go.sum 06:09:12 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 06:03 internal 06:09:12 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 06:03 snap 06:09:12 -rw-rw-r-- 1 jenkins jenkins 228 Apr 20 06:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:12 + 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=a06ec416634e52164298999fcc93837cdf466857 --label arch=arm64 --label version=0.0.0 . 06:09:12 Sending build context to Docker daemon 3.007MB 06:09:12 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 06:09:12 Step 2/24 : FROM ${BASE} AS builder 06:09:12 ---> c19cad159076 06:09:12 Step 3/24 : ARG ADD_BUILD_TAGS="" 06:09:13 ---> Running in 97e7209a3558 06:09:13 Removing intermediate container 97e7209a3558 06:09:13 ---> 1d6ed7d6245e 06:09:13 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:09:13 ---> Running in fa374980f175 06:09:13 Removing intermediate container fa374980f175 06:09:13 ---> 976674f677df 06:09:13 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:09:13 ---> Running in 159b5c16a534 06:09:14 Removing intermediate container 159b5c16a534 06:09:14 ---> 40b26b733118 06:09:14 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 06:09:14 ---> Running in f1ccbd891c38 06:09:14 Removing intermediate container f1ccbd891c38 06:09:14 ---> e05d24d90741 06:09:14 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:09:14 ---> Running in 9b1d1adf8c71 06:09:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:09:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:09:17 OK: 268 MiB in 57 packages 06:09:19 Removing intermediate container 9b1d1adf8c71 06:09:19 ---> 8bcb88d688f9 06:09:19 Step 8/24 : WORKDIR /device-snmp-go 06:09:19 ---> Running in 80350ef4db1f 06:09:20 Removing intermediate container 80350ef4db1f 06:09:20 ---> 023164bbedeb 06:09:20 Step 9/24 : COPY go.mod vendor* ./ 06:09:20 ---> b76bba56899a 06:09:20 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:09:20 ---> Running in d7cd2ff36379 06:09:23 Removing intermediate container d7cd2ff36379 06:09:23 ---> 7d4928ed9dec 06:09:23 Step 11/24 : COPY . . 06:09:23 ---> ad42c2a6a315 06:09:23 Step 12/24 : RUN ${MAKE} 06:09:24 ---> Running in 7cec118bf920 06:09:25 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 06:11:46 Removing intermediate container 7cec118bf920 06:11:46 ---> 788174f20b96 06:11:46 Step 13/24 : FROM alpine:3.17 06:11:46 3.17: Pulling from library/alpine 06:11:46 c41833b44d91: Pulling fs layer 06:11:46 c41833b44d91: Download complete 06:11:46 c41833b44d91: Pull complete 06:11:46 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:11:46 Status: Downloaded newer image for alpine:3.17 06:11:46 ---> 51e60588ff2c 06:11:46 Step 14/24 : RUN apk add --update --no-cache dumb-init 06:11:46 ---> Running in a02523a0edf4 06:11:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:11:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:11:46 (1/1) Installing dumb-init (1.2.5-r2) 06:11:46 Executing busybox-1.35.0-r29.trigger 06:11:46 OK: 8 MiB in 16 packages 06:11:46 Removing intermediate container a02523a0edf4 06:11:46 ---> 77a4e5d56ea8 06:11:46 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 06:11:46 ---> 59c72678de6a 06:11:46 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 06:11:46 ---> 81e4221ff7bd 06:11:46 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 06:11:46 ---> eb935ff616b9 06:11:46 Step 18/24 : EXPOSE 59993 06:11:46 ---> Running in 84d958683c3a 06:11:46 Removing intermediate container 84d958683c3a 06:11:46 ---> 750c5755a7ed 06:11:46 Step 19/24 : EXPOSE 161 06:11:46 ---> Running in cb7949aa6ac3 06:11:46 Removing intermediate container cb7949aa6ac3 06:11:46 ---> 4a3eb55d2462 06:11:46 Step 20/24 : ENTRYPOINT ["/device-snmp"] 06:11:46 ---> Running in b9187c0adbf4 06:11:47 Removing intermediate container b9187c0adbf4 06:11:47 ---> b5dd05869722 06:11:47 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 06:11:47 ---> Running in c68eae3250fa 06:11:47 Removing intermediate container c68eae3250fa 06:11:47 ---> b20b82f3612c 06:11:47 Step 22/24 : LABEL arch=arm64 06:11:47 ---> Running in b8cf1f6336ee 06:11:47 Removing intermediate container b8cf1f6336ee 06:11:47 ---> a2b7c9d7036d 06:11:47 Step 23/24 : LABEL git_sha=a06ec416634e52164298999fcc93837cdf466857 06:11:47 ---> Running in 20d9907061ea 06:11:48 Removing intermediate container 20d9907061ea 06:11:48 ---> 5fe05a8e2811 06:11:48 Step 24/24 : LABEL version=0.0.0 06:11:48 ---> Running in 2f0376b69973 06:11:48 Removing intermediate container 2f0376b69973 06:11:48 ---> 604818635eea 06:11:48 [Warning] One or more build-args [ARCH] were not consumed 06:11:48 Successfully built 604818635eea 06:11:48 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:11:49 06:11:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:11:50 arm64: Pulling from edgex-lftools-log-publisher 06:11:50 8998bd30e6a1: Pulling fs layer 06:11:50 04944245beec: Pulling fs layer 06:11:50 699f458cf7ca: Pulling fs layer 06:11:50 765212b225bb: Pulling fs layer 06:11:50 f23df028b6ca: Pulling fs layer 06:11:50 d65c8cfc05b1: Pulling fs layer 06:11:50 2437ff75d9bd: Pulling fs layer 06:11:50 f23df028b6ca: Waiting 06:11:50 d65c8cfc05b1: Waiting 06:11:50 2437ff75d9bd: Waiting 06:11:50 765212b225bb: Waiting 06:11:50 04944245beec: Verifying Checksum 06:11:50 04944245beec: Download complete 06:11:50 765212b225bb: Verifying Checksum 06:11:50 765212b225bb: Download complete 06:11:50 f23df028b6ca: Download complete 06:11:50 d65c8cfc05b1: Verifying Checksum 06:11:50 d65c8cfc05b1: Download complete 06:11:50 699f458cf7ca: Verifying Checksum 06:11:50 699f458cf7ca: Download complete 06:11:50 8998bd30e6a1: Download complete 06:11:53 2437ff75d9bd: Verifying Checksum 06:11:53 2437ff75d9bd: Download complete 06:11:55 8998bd30e6a1: Pull complete 06:11:59 04944245beec: Pull complete 06:12:00 699f458cf7ca: Pull complete 06:12:00 765212b225bb: Pull complete 06:12:00 f23df028b6ca: Pull complete 06:12:01 d65c8cfc05b1: Pull complete 06:12:16 2437ff75d9bd: Pull complete 06:12:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:12:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:12:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:12:16 prd-ubuntu20.04-docker-arm64-4c-16g-9142 does not seem to be running inside a container 06:12:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:12:18 $ docker top 316fad73d320bc1b9569d7787d7e34222bfbd0d3ca3f3c8233ba582d450b91bf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:12:19 ---> job-cost.sh 06:12:19 lf-activate-venv: SKIPPING 06:12:19 INFO: No Stack... 06:12:20 INFO: Retrieving Pricing Info for: v3-standard-4 06:12:21 INFO: Archiving Costs [Pipeline] sh 06:12:21 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 06:12:21 + cut -d, -f6 [Pipeline] lock 06:12:21 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-290-1-stack-cost] 06:12:21 Resource [jenkins-edgexfoundry-device-snmp-go-PR-290-1-stack-cost] did not exist. Created. 06:12:21 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-290-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:12:22 /w/workspace/device-snmp-go/1@tmp/durable-3860eb3f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:12:22 + echo total: 0.10999999940395355 [Pipeline] stash 06:12:22 Warning: overwriting stash ‘stack-cost’ 06:12:22 Stashed 1 file(s) [Pipeline] } 06:12:22 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-290-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:12:22 $ docker stop --time=1 316fad73d320bc1b9569d7787d7e34222bfbd0d3ca3f3c8233ba582d450b91bf 06:12:24 $ docker rm -f --volumes 316fad73d320bc1b9569d7787d7e34222bfbd0d3ca3f3c8233ba582d450b91bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 06:12:25 provisioning config files... 06:12:25 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-290@tmp/config15015216310992937266tmp [Pipeline] { [Pipeline] sh 06:12:25 + set +x 06:12:25 + curl -s https://codecov.io/bash 06:12:25 + bash -s -- 06:12:25 06:12:25 _____ _ 06:12:25 / ____| | | 06:12:25 | | ___ __| | ___ ___ _____ __ 06:12:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:12:25 | |___| (_) | (_| | __/ (_| (_) \ V / 06:12:25 \_____\___/ \__,_|\___|\___\___/ \_/ 06:12:25 Bash-1.0.6 06:12:25 06:12:25 06:12:25 ==> git version 2.25.1 found 06:12:25 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 06:12:25 Release-Date: 2020-01-08 06:12:25 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:12:25 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:12:25 ==> Jenkins CI detected. 06:12:25 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-290 06:12:25 project root: . 06:12:25 --> token set from env 06:12:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:12:25 ==> Running gcov in . (disable via -X gcov) 06:12:25 ==> Python coveragepy not found 06:12:25 ==> Searching for coverage reports in: 06:12:25 + . 06:12:25 -> Found 1 reports 06:12:25 ==> Detecting git/mercurial file structure 06:12:25 ==> Reading reports 06:12:25 + ./coverage.out bytes=8837 06:12:25 ==> Appending adjustments 06:12:25 https://docs.codecov.io/docs/fixing-reports 06:12:25 + Found adjustments 06:12:25 ==> Gzipping contents 06:12:25 4.0K /tmp/codecov.fX6nnh.gz 06:12:25 ==> Uploading reports 06:12:25 url: https://codecov.io 06:12:25 query: branch=PR-290&commit=a06ec416634e52164298999fcc93837cdf466857&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-290%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=290&job=&cmd_args= 06:12:25 -> Pinging Codecov 06:12:25 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-290&commit=a06ec416634e52164298999fcc93837cdf466857&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-290%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=290&job=&cmd_args= 06:12:25 -> Uploading to 06:12:25 https://storage.googleapis.com/codecov/v4/raw/2023-04-20/6C56EA5C29638FB4528AC87E60AF5AE0/a06ec416634e52164298999fcc93837cdf466857/bb870823-66b2-4783-b163-34bce4fecb14.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230420%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230420T061225Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=efe4a92012adebb06b2c816e043df2d15a4bf81270695de0caac2715f52dcd14 06:12:25 % Total % Received % Xferd Average Speed Time Time Time Current 06:12:25 Dload Upload Total Spent Left Speed 06:12:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1604 0 0 100 1604 0 7290 --:--:-- --:--:-- --:--:-- 7290 06:12:26 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/a06ec416634e52164298999fcc93837cdf466857 [Pipeline] } 06:12:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 06:12:28 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-290/archives ] 06:12:28 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-290/archives 06:12:28 total 16 06:12:28 drwxr-xr-x 3 root root 4096 Apr 20 06:02 . 06:12:28 drwxrwxr-x 10 jenkins jenkins 4096 Apr 20 06:02 .. 06:12:28 drwxr-xr-x 2 root root 4096 Apr 20 06:02 cost 06:12:28 -rw-r--r-- 1 root root 86 Apr 20 06:02 cost.csv 06:12:28 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-290/archives 06:12:28 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-290/archives 06:12:28 total 16 06:12:28 drwxr-xr-x 3 jenkins jenkins 4096 Apr 20 06:02 . 06:12:28 drwxrwxr-x 10 jenkins jenkins 4096 Apr 20 06:02 .. 06:12:28 drwxr-xr-x 2 jenkins jenkins 4096 Apr 20 06:02 cost 06:12:28 -rw-r--r-- 1 jenkins jenkins 86 Apr 20 06:02 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:12:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:12:29 ---> package-listing.sh 06:12:29 ++ facter osfamily 06:12:29 ++ tr '[:upper:]' '[:lower:]' 06:12:29 + OS_FAMILY=debian 06:12:29 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-290 06:12:29 + START_PACKAGES=/tmp/packages_start.txt 06:12:29 + END_PACKAGES=/tmp/packages_end.txt 06:12:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:12:29 + PACKAGES=/tmp/packages_start.txt 06:12:29 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-290 ']' 06:12:29 + PACKAGES=/tmp/packages_end.txt 06:12:29 + case "${OS_FAMILY}" in 06:12:29 + dpkg -l 06:12:29 + grep '^ii' 06:12:29 + '[' -f /tmp/packages_start.txt ']' 06:12:29 + '[' -f /tmp/packages_end.txt ']' 06:12:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:12:29 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-290 ']' 06:12:29 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-290/archives/ 06:12:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-290/archives/ [Pipeline] echo 06:12:29 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-290/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:12:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:12:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:12:30 prd-ubuntu20.04-docker-8c-8g-9139 does not seem to be running inside a container 06:12:30 $ 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-290/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-290 -v /w/workspace/gexfoundry_device-snmp-go_PR-290:/w/workspace/gexfoundry_device-snmp-go_PR-290:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-290@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:12:31 $ docker top b128813640b06aad426f694875eac317e54bf6094831c946f275c0fa49cb4705 -eo pid,comm [Pipeline] { [Pipeline] sh 06:12:31 + touch /tmp/pre-build-complete [Pipeline] sh 06:12:31 + mkdir -p /var/log/sysstat [Pipeline] sh 06:12:32 + ls /var/log/sa-host 06:12:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:12:32 provisioning config files... 06:12:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-290@tmp/config3088953648490508378tmp [Pipeline] { [Pipeline] echo 06:12:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:12:32 ---> create-netrc.sh [Pipeline] } 06:12:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:12:33 ---> python-tools-install.sh [Pipeline] echo 06:12:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:12:33 ---> sudo-logs.sh 06:12:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:12:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:12:33 ---> job-cost.sh 06:12:33 lf-activate-venv: SKIPPING 06:12:33 DEBUG: total: 0.2199999988079071 06:12:33 INFO: Retrieving Stack Cost... 06:12:34 INFO: Retrieving Pricing Info for: v3-standard-8 06:12:34 INFO: Archiving Costs [Pipeline] echo 06:12:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:12:35 ---> logs-deploy.sh 06:12:35 lf-activate-venv: SKIPPING 06:12:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-290/1 06:12:35 INFO: archiving workspace using pattern(s): 06:12:35 Archives upload complete. 06:12:35 INFO: archiving logs to Nexus