Pull request #283 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1b5f446858211ffc4bd7002f85b96e6480b7aca9+9857977cf1224abf0980974ddd92ec9b34aea725 (c22e04387cfcc8e1482f9a352c35bc81a2cef3c7) 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-ssh2786349421362120841.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-ssh72200279603870683.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-283/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-283/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16768657586811324586.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 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-ssh8627760347467014523.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-283/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-283/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15780547274207877984.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-8432’ Running on prd-ubuntu20.04-docker-8c-8g-8435 in /w/workspace/gexfoundry_device-snmp-go_PR-283 [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-283 # 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 Merging remotes/origin/main commit 9857977cf1224abf0980974ddd92ec9b34aea725 into PR head commit 1b5f446858211ffc4bd7002f85b96e6480b7aca9 > 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/283/head:refs/remotes/origin/PR-283 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1b5f446858211ffc4bd7002f85b96e6480b7aca9 # timeout=10 > git remote # timeout=10 Merge succeeded, producing 1b5f446858211ffc4bd7002f85b96e6480b7aca9 Checking out Revision 1b5f446858211ffc4bd7002f85b96e6480b7aca9 (PR-283) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:02:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:02:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:02:14 ========================================================= 09:02:14 EdgeX Global Pipelines Version Info 09:02:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 9857977cf1224abf0980974ddd92ec9b34aea725 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1b5f446858211ffc4bd7002f85b96e6480b7aca9 # timeout=10 > git rev-list --no-walk 0ad726a7ee23bd3bae638ed2a0cec01b7ae4eb0e # timeout=10 09:02:14 ------------------- 09:02:14 stable info: 09:02:14 ------------------- 09:02:14 Commited By: Bill Mahoney bill.mahoney@intel.com 09:02:14 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 09:02:14 Message: update stable to v1.0.248 09:02:15 ------------------- 09:02:15 experimental info: 09:02:15 ------------------- 09:02:15 Commited By: **** collab-it+edgex@linuxfoundation.org 09:02:15 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 09:02:15 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:02:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 09:02:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 09:02:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:02:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:02:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:02:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 09:02:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:02:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:02:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:02:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:02:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:02:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 09:02:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:02:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:02:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:02:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:02:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:02:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:02:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:02:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:02:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:02:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:02:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:02:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:02:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:02:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:02:15 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:02:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-283 [Pipeline] echo 09:02:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-283 [Pipeline] echo 09:02:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-283 [Pipeline] echo 09:02:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1b5f446858211ffc4bd7002f85b96e6480b7aca9 [Pipeline] echo 09:02:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1b5f446 [Pipeline] echo 09:02:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:02:15 provisioning config files... 09:02:15 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-283@tmp/config10630258555154617925tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:02:16 ---> docker-login.sh 09:02:16 nexus3.edgexfoundry.org:10001 09:02:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:17 Configure a credential helper to remove this warning. See 09:02:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:17 09:02:17 Login Succeeded 09:02:17 nexus3.edgexfoundry.org:10002 09:02:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:17 Configure a credential helper to remove this warning. See 09:02:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:17 09:02:17 Login Succeeded 09:02:17 nexus3.edgexfoundry.org:10003 09:02:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:17 Configure a credential helper to remove this warning. See 09:02:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:17 09:02:17 Login Succeeded 09:02:17 nexus3.edgexfoundry.org:10004 09:02:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:17 Configure a credential helper to remove this warning. See 09:02:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:17 09:02:17 Login Succeeded 09:02:17 docker.io 09:02:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:17 Configure a credential helper to remove this warning. See 09:02:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:17 09:02:17 Login Succeeded 09:02:17 ---> docker-login.sh ends [Pipeline] } 09:02:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:02:18 + git rev-list -1 --merges 1b5f446858211ffc4bd7002f85b96e6480b7aca9~1..1b5f446858211ffc4bd7002f85b96e6480b7aca9 [Pipeline] echo 09:02:18 -----------> git rev-list -1 --merges 1b5f446858211ffc4bd7002f85b96e6480b7aca9~1..1b5f446858211ffc4bd7002f85b96e6480b7aca9 1b5f446858211ffc4bd7002f85b96e6480b7aca9 [false] [Pipeline] sh 09:02:18 + git log --format=format:%s -1 1b5f446858211ffc4bd7002f85b96e6480b7aca9 [Pipeline] echo 09:02:18 ========================================================= 09:02:18 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:02:18 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:02:18 + git log --format=format:%s -1 1b5f446858211ffc4bd7002f85b96e6480b7aca9 [Pipeline] echo 09:02:18 [semverPrep] GIT_COMMIT: 1b5f446858211ffc4bd7002f85b96e6480b7aca9, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 09:02:18 [semverPrep] This is not a build commit. [Pipeline] sh 09:02:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:02:19 + grep -v github /etc/ssh/ssh_known_hosts 09:02:19 + [ -e /tmp/ssh_known_hosts ] 09:02:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:02:19 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:02:19 + sudo tee -a /etc/ssh/ssh_known_hosts 09:02:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:02:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:02:19 09:02:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:02:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:02:19 0.1.4: Pulling from edgex-devops/py-git-semver 09:02:19 b85a868b505f: Pulling fs layer 09:02:19 e2be974225ed: Pulling fs layer 09:02:19 339a4e72a1f5: Pulling fs layer 09:02:19 988bab9f4d93: Pulling fs layer 09:02:19 1469e6f7b9e6: Pulling fs layer 09:02:19 eaf3925da568: Pulling fs layer 09:02:19 bab4dde63d76: Pulling fs layer 09:02:19 bde34c3a00c8: Pulling fs layer 09:02:19 b352a97aabf1: Pulling fs layer 09:02:19 1469e6f7b9e6: Waiting 09:02:19 eaf3925da568: Waiting 09:02:19 988bab9f4d93: Waiting 09:02:19 bab4dde63d76: Waiting 09:02:19 4872d77fe225: Pulling fs layer 09:02:19 b352a97aabf1: Waiting 09:02:19 5851b861e8e6: Pulling fs layer 09:02:19 5851b861e8e6: Waiting 09:02:19 4872d77fe225: Waiting 09:02:19 e2be974225ed: Download complete 09:02:19 988bab9f4d93: Download complete 09:02:19 1469e6f7b9e6: Verifying Checksum 09:02:19 1469e6f7b9e6: Download complete 09:02:19 eaf3925da568: Verifying Checksum 09:02:19 eaf3925da568: Download complete 09:02:19 339a4e72a1f5: Verifying Checksum 09:02:19 339a4e72a1f5: Download complete 09:02:19 bde34c3a00c8: Verifying Checksum 09:02:19 bde34c3a00c8: Download complete 09:02:19 4872d77fe225: Verifying Checksum 09:02:19 4872d77fe225: Download complete 09:02:19 5851b861e8e6: Verifying Checksum 09:02:19 5851b861e8e6: Download complete 09:02:19 b85a868b505f: Download complete 09:02:20 bab4dde63d76: Verifying Checksum 09:02:20 bab4dde63d76: Download complete 09:02:21 b85a868b505f: Pull complete 09:02:21 e2be974225ed: Pull complete 09:02:21 339a4e72a1f5: Pull complete 09:02:21 988bab9f4d93: Pull complete 09:02:22 1469e6f7b9e6: Pull complete 09:02:22 eaf3925da568: Pull complete 09:02:23 bab4dde63d76: Pull complete 09:02:23 bde34c3a00c8: Pull complete 09:02:23 b352a97aabf1: Pull complete 09:02:24 4872d77fe225: Pull complete 09:02:24 5851b861e8e6: Pull complete 09:02:24 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:02:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:02:24 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:02:24 prd-ubuntu20.04-docker-8c-8g-8435 does not seem to be running inside a container 09:02:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-283 -v /w/workspace/gexfoundry_device-snmp-go_PR-283:/w/workspace/gexfoundry_device-snmp-go_PR-283:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-283@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-283@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-devops/py-git-semver:0.1.4 cat 09:02:26 $ docker top b836d5a16e1cd13dd6f0e3b3fa44132ab2464bdc63931caaf4b0d2201d8ada66 -eo pid,comm 09:02: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). 09:02:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:02:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:02:26 [ssh-agent] Looking for ssh-agent implementation... 09:02:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:02:27 $ docker exec b836d5a16e1cd13dd6f0e3b3fa44132ab2464bdc63931caaf4b0d2201d8ada66 ssh-agent 09:02:27 SSH_AUTH_SOCK=/tmp/ssh-SSR8EvR0VLrL/agent.33 09:02:27 SSH_AGENT_PID=39 09:02:27 Running ssh-add (command line suppressed) 09:02:27 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-283@tmp/private_key_6945075688470456609.key (/w/workspace/gexfoundry_device-snmp-go_PR-283@tmp/private_key_6945075688470456609.key) 09:02:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:02:27 + git tag --points-at HEAD [Pipeline] } 09:02:27 $ docker exec --env ******** --env ******** b836d5a16e1cd13dd6f0e3b3fa44132ab2464bdc63931caaf4b0d2201d8ada66 ssh-agent -k 09:02:27 unset SSH_AUTH_SOCK; 09:02:27 unset SSH_AGENT_PID; 09:02:27 echo Agent pid 39 killed; 09:02:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:02:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:02:27 [ssh-agent] Looking for ssh-agent implementation... 09:02:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:02:27 $ docker exec b836d5a16e1cd13dd6f0e3b3fa44132ab2464bdc63931caaf4b0d2201d8ada66 ssh-agent 09:02:27 SSH_AUTH_SOCK=/tmp/ssh-N2juexbsI54n/agent.71 09:02:27 SSH_AGENT_PID=77 09:02:27 Running ssh-add (command line suppressed) 09:02:28 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-283@tmp/private_key_10085567128846674214.key (/w/workspace/gexfoundry_device-snmp-go_PR-283@tmp/private_key_10085567128846674214.key) 09:02:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:02:28 + git semver init 09:02:28 2023-04-13 09:02:28,515 [run_init] DEBUG init version:0.0.0 force:False 09:02:28 2023-04-13 09:02:28,516 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-283/.semver 09:02:28 2023-04-13 09:02:28,516 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-283/.semver 09:02:28 2023-04-13 09:02:28,516 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-283/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-283, universal_newlines=False, shell=None, istream=None) 09:02:29 2023-04-13 09:02:29,280 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-283/.git/info/exclude 09:02:29 2023-04-13 09:02:29,280 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-283/.semver/PR-283 with force:False 09:02:29 2023-04-13 09:02:29,280 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-283/.semver/PR-283 09:02:29 2023-04-13 09:02:29,285 [execute] INFO git cat-file --batch-check 09:02:29 2023-04-13 09:02:29,286 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-283/.semver, universal_newlines=False, shell=None, istream=) 09:02:29 2023-04-13 09:02:29,292 [execute] INFO git cat-file --batch 09:02:29 2023-04-13 09:02:29,292 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-283/.semver, universal_newlines=False, shell=None, istream=) 09:02:29 2023-04-13 09:02:29,297 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-283/.semver/PR-283 09:02:29 0.0.0 [Pipeline] } 09:02:29 $ docker exec --env ******** --env ******** b836d5a16e1cd13dd6f0e3b3fa44132ab2464bdc63931caaf4b0d2201d8ada66 ssh-agent -k 09:02:29 unset SSH_AUTH_SOCK; 09:02:29 unset SSH_AGENT_PID; 09:02:29 echo Agent pid 77 killed; 09:02:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:02:30 + git semver [Pipeline] } 09:02:30 $ docker stop --time=1 b836d5a16e1cd13dd6f0e3b3fa44132ab2464bdc63931caaf4b0d2201d8ada66 09:02:31 $ docker rm -f --volumes b836d5a16e1cd13dd6f0e3b3fa44132ab2464bdc63931caaf4b0d2201d8ada66 [Pipeline] // withDockerContainer [Pipeline] sh 09:02:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:02:32 Stashed 1 file(s) [Pipeline] echo 09:02: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 09:02:32 provisioning config files... 09:02:32 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-283@tmp/config11274274760601003925tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:02:32 ---> docker-login.sh 09:02:32 nexus3.edgexfoundry.org:10001 09:02:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:32 Configure a credential helper to remove this warning. See 09:02:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:32 09:02:32 Login Succeeded 09:02:32 nexus3.edgexfoundry.org:10002 09:02:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:32 Configure a credential helper to remove this warning. See 09:02:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:32 09:02:32 Login Succeeded 09:02:32 nexus3.edgexfoundry.org:10003 09:02:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:32 Configure a credential helper to remove this warning. See 09:02:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:32 09:02:32 Login Succeeded 09:02:32 nexus3.edgexfoundry.org:10004 09:02:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:32 Configure a credential helper to remove this warning. See 09:02:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:32 09:02:32 Login Succeeded 09:02:32 docker.io 09:02:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:33 Configure a credential helper to remove this warning. See 09:02:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:33 09:02:33 Login Succeeded 09:02:33 ---> docker-login.sh ends [Pipeline] } 09:02:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:02:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:02:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:02:33 ========================================================= 09:02:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 09:02:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:02:33 + 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 . 09:02:33 Sending build context to Docker daemon 5.764MB 09:02:33 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 09:02:33 Step 2/12 : FROM ${BASE} AS builder 09:02:33 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 09:02:33 63b65145d645: Pulling fs layer 09:02:33 a2d21d5440eb: Pulling fs layer 09:02:33 935e6c44a52c: Pulling fs layer 09:02:33 94cc34f8dd06: Pulling fs layer 09:02:33 30dea6a524f1: Pulling fs layer 09:02:33 a2aff8979fd8: Pulling fs layer 09:02:33 6808be2612f2: Pulling fs layer 09:02:33 f25807f1079a: Pulling fs layer 09:02:33 a2aff8979fd8: Waiting 09:02:33 94cc34f8dd06: Waiting 09:02:33 6808be2612f2: Waiting 09:02:33 30dea6a524f1: Waiting 09:02:33 a2d21d5440eb: Download complete 09:02:33 94cc34f8dd06: Download complete 09:02:33 30dea6a524f1: Verifying Checksum 09:02:33 30dea6a524f1: Download complete 09:02:33 63b65145d645: Verifying Checksum 09:02:33 63b65145d645: Download complete 09:02:33 a2aff8979fd8: Verifying Checksum 09:02:33 a2aff8979fd8: Download complete 09:02:33 63b65145d645: Pull complete 09:02:34 a2d21d5440eb: Pull complete 09:02:34 f25807f1079a: Verifying Checksum 09:02:34 f25807f1079a: Download complete 09:02:34 935e6c44a52c: Verifying Checksum 09:02:34 935e6c44a52c: Download complete 09:02:34 6808be2612f2: Verifying Checksum 09:02:34 6808be2612f2: Download complete 09:02:37 935e6c44a52c: Pull complete 09:02:37 94cc34f8dd06: Pull complete 09:02:37 30dea6a524f1: Pull complete 09:02:37 a2aff8979fd8: Pull complete 09:02:40 6808be2612f2: Pull complete 09:02:40 f25807f1079a: Pull complete 09:02:40 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 09:02:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 09:02:40 ---> 3b553350e43f 09:02:40 Step 3/12 : ARG ADD_BUILD_TAGS="" 09:02:47 Still waiting to schedule task 09:02:47 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8433’ 09:02:49 ---> Running in 70a5012b0231 09:02:49 Removing intermediate container 70a5012b0231 09:02:49 ---> 1a2205f7066c 09:02:49 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:02:49 ---> Running in f5305f69f586 09:02:49 Removing intermediate container f5305f69f586 09:02:49 ---> ff20b9e8728b 09:02:49 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:02:49 ---> Running in 7fc4ac5615c4 09:02:49 Removing intermediate container 7fc4ac5615c4 09:02:49 ---> aa2677ef4393 09:02:49 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 09:02:49 ---> Running in d56cb30d6a52 09:02:49 Removing intermediate container d56cb30d6a52 09:02:49 ---> f4e36524b1dd 09:02:49 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:02:49 ---> Running in e788b799b011 09:02:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:02:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:02:49 (1/4) Installing openssh-keygen (9.1_p1-r2) 09:02:49 (2/4) Installing libedit (20221030.3.1-r0) 09:02:49 (3/4) Installing openssh-client-common (9.1_p1-r2) 09:02:49 (4/4) Installing openssh-client-default (9.1_p1-r2) 09:02:49 Executing busybox-1.35.0-r29.trigger 09:02:49 OK: 269 MiB in 57 packages 09:02:49 Removing intermediate container e788b799b011 09:02:49 ---> 5a49b73ae07e 09:02:49 Step 8/12 : WORKDIR /device-snmp-go 09:02:49 ---> Running in 85e2c12c38ab 09:02:49 Removing intermediate container 85e2c12c38ab 09:02:49 ---> cee05c99f14f 09:02:49 Step 9/12 : COPY go.mod vendor* ./ 09:02:49 ---> e6c277dca0d1 09:02:49 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:02:49 ---> Running in 359ad3e61708 09:03:22 Removing intermediate container 359ad3e61708 09:03:22 ---> ecc1f94dc5e7 09:03:22 Step 11/12 : COPY . . 09:03:22 ---> ee82862597df 09:03:22 Step 12/12 : RUN ${MAKE} 09:03:22 ---> Running in 793f06f04202 09:03:22 noop 09:03:22 Removing intermediate container 793f06f04202 09:03:22 ---> ea56b7c83ef4 09:03:22 Successfully built ea56b7c83ef4 09:03:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:23 + docker inspect -f . ci-base-image-x86_64 09:03:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:03:23 prd-ubuntu20.04-docker-8c-8g-8435 does not seem to be running inside a container 09:03:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-283 -v /w/workspace/gexfoundry_device-snmp-go_PR-283:/w/workspace/gexfoundry_device-snmp-go_PR-283:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-283@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-283@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:03:23 $ docker top 2d25719176e0195637c978fa8d9f9813d3c3e90d29362511f97d1d0085f9a3fc -eo pid,comm [Pipeline] { [Pipeline] sh 09:03:24 + go version 09:03:24 go version go1.20.2 linux/amd64 [Pipeline] } 09:03:24 $ docker stop --time=1 2d25719176e0195637c978fa8d9f9813d3c3e90d29362511f97d1d0085f9a3fc 09:03:25 $ docker rm -f --volumes 2d25719176e0195637c978fa8d9f9813d3c3e90d29362511f97d1d0085f9a3fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:25 + docker inspect -f . ci-base-image-x86_64 09:03:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:03:25 prd-ubuntu20.04-docker-8c-8g-8435 does not seem to be running inside a container 09:03:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-snmp-go_PR-283 -v /w/workspace/gexfoundry_device-snmp-go_PR-283:/w/workspace/gexfoundry_device-snmp-go_PR-283:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-283@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-283@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:03:26 $ docker top ad9c662898a74ec84110d96709b6140fe4c7a4437f6ba9e5f42779bc17f7cdab -eo pid,comm [Pipeline] { [Pipeline] sh 09:03:26 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-283 [Pipeline] fileExists [Pipeline] sh 09:03:26 + make test 09:03:26 go test ./... -coverprofile=coverage.out 09:03:32 ? github.com/edgexfoundry/device-snmp-go [no test files] 09:03:42 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 09:03:42 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.010s coverage: 0.0% of statements 09:03:47 go vet ./... 09:03:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:03:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:03:51 ./bin/test-attribution-txt.sh 09:03:51 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 09:03:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:03:51 $ docker stop --time=1 ad9c662898a74ec84110d96709b6140fe4c7a4437f6ba9e5f42779bc17f7cdab 09:03:55 $ docker rm -f --volumes ad9c662898a74ec84110d96709b6140fe4c7a4437f6ba9e5f42779bc17f7cdab [Pipeline] // withDockerContainer [Pipeline] sh 09:03:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:03:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:03:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:03:56 + ls -al . 09:03:56 total 172 09:03:56 drwxrwxr-x 9 jenkins jenkins 4096 Apr 13 09:03 . 09:03:56 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 09:02 .. 09:03:56 -rw-rw-r-- 1 jenkins jenkins 6 Apr 13 09:02 .dockerignore 09:03:56 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 09:02 .git 09:03:56 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:02 .github 09:03:56 -rw-rw-r-- 1 jenkins jenkins 328 Apr 13 09:02 .gitignore 09:03:56 -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 09:02 .golangci.yml 09:03:56 drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 09:02 .semver 09:03:56 -rw-rw-r-- 1 jenkins jenkins 8926 Apr 13 09:02 Attribution.txt 09:03:56 -rw-rw-r-- 1 jenkins jenkins 8355 Apr 13 09:02 CHANGELOG.md 09:03:56 -rw-rw-r-- 1 jenkins jenkins 1423 Apr 13 09:02 Dockerfile 09:03:56 -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 09:02 GOVERNANCE.md 09:03:56 -rw-rw-r-- 1 jenkins jenkins 656 Apr 13 09:02 Jenkinsfile 09:03:56 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 09:02 LICENSE 09:03:56 -rw-rw-r-- 1 jenkins jenkins 2114 Apr 13 09:02 Makefile 09:03:56 -rw-rw-r-- 1 jenkins jenkins 620 Apr 13 09:02 OWNERS.md 09:03:56 -rw-rw-r-- 1 jenkins jenkins 10054 Apr 13 09:02 README.md 09:03:56 -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 09:02 VERSION 09:03:56 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 09:02 bin 09:03:56 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:02 cmd 09:03:56 -rw-r--r-- 1 jenkins jenkins 8751 Apr 13 09:03 coverage.out 09:03:56 -rw-rw-r-- 1 jenkins jenkins 3283 Apr 13 09:02 go.mod 09:03:56 -rw-rw-r-- 1 jenkins jenkins 31551 Apr 13 09:02 go.sum 09:03:56 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:02 internal 09:03:56 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 09:02 snap 09:03:56 -rw-rw-r-- 1 jenkins jenkins 228 Apr 13 09:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:56 + 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=1b5f446858211ffc4bd7002f85b96e6480b7aca9 --label arch=amd64 --label version=0.0.0 . 09:03:56 Sending build context to Docker daemon 5.774MB 09:03:56 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 09:03:56 Step 2/24 : FROM ${BASE} AS builder 09:03:56 ---> ea56b7c83ef4 09:03:56 Step 3/24 : ARG ADD_BUILD_TAGS="" 09:03:57 ---> Running in 57ade033ef68 09:03:57 Removing intermediate container 57ade033ef68 09:03:57 ---> 6517ff38876b 09:03:57 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:03:57 ---> Running in ca467f53e41a 09:03:57 Removing intermediate container ca467f53e41a 09:03:57 ---> ae6287cefd1e 09:03:57 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:03:57 ---> Running in 0840beccd9bb 09:03:57 Removing intermediate container 0840beccd9bb 09:03:57 ---> a253b7bf31f0 09:03:57 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 09:03:57 ---> Running in ecb9bfe6525a 09:03:57 Removing intermediate container ecb9bfe6525a 09:03:57 ---> cb9ecc28aff8 09:03:57 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:03:57 ---> Running in 13f17ebca0e4 09:03:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:03:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:03:58 OK: 269 MiB in 57 packages 09:03:58 Removing intermediate container 13f17ebca0e4 09:03:58 ---> 51ea0e01871e 09:03:58 Step 8/24 : WORKDIR /device-snmp-go 09:03:58 ---> Running in 939ab05d243b 09:03:58 Removing intermediate container 939ab05d243b 09:03:58 ---> 0975a5cf6b5b 09:03:58 Step 9/24 : COPY go.mod vendor* ./ 09:03:58 ---> 8ea276e01e08 09:03:58 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:03:58 ---> Running in 9b092404ffb7 09:03:59 Removing intermediate container 9b092404ffb7 09:03:59 ---> b9eb906c12bd 09:03:59 Step 11/24 : COPY . . 09:04:00 ---> 6cc8af73461a 09:04:00 Step 12/24 : RUN ${MAKE} 09:04:00 ---> Running in 224dd6ef83f7 09:04:00 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 09:04:21 Removing intermediate container 224dd6ef83f7 09:04:21 ---> 39c17cf18187 09:04:21 Step 13/24 : FROM alpine:3.17 09:04:21 3.17: Pulling from library/alpine 09:04:21 f56be85fc22e: Pulling fs layer 09:04:21 f56be85fc22e: Verifying Checksum 09:04:21 f56be85fc22e: Download complete 09:04:21 f56be85fc22e: Pull complete 09:04:21 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 09:04:21 Status: Downloaded newer image for alpine:3.17 09:04:21 ---> 9ed4aefc74f6 09:04:21 Step 14/24 : RUN apk add --update --no-cache dumb-init 09:04:21 ---> Running in 4d7b8936fab2 09:04:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:04:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:04:21 (1/1) Installing dumb-init (1.2.5-r2) 09:04:21 Executing busybox-1.35.0-r29.trigger 09:04:21 OK: 7 MiB in 16 packages 09:04:21 Removing intermediate container 4d7b8936fab2 09:04:21 ---> ee60d0e774d8 09:04:21 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 09:04:22 ---> 21c03f3a0e89 09:04:22 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 09:04:22 ---> a4b32bc0c4bc 09:04:22 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 09:04:22 ---> 6ba4dd529932 09:04:22 Step 18/24 : EXPOSE 59993 09:04:22 ---> Running in 9078e3ac9587 09:04:23 Removing intermediate container 9078e3ac9587 09:04:23 ---> 277b6f6931a0 09:04:23 Step 19/24 : EXPOSE 161 09:04:23 ---> Running in 250c0771e162 09:04:23 Removing intermediate container 250c0771e162 09:04:23 ---> ed1def6b5d99 09:04:23 Step 20/24 : ENTRYPOINT ["/device-snmp"] 09:04:23 ---> Running in 0c30ce97bd27 09:04:23 Removing intermediate container 0c30ce97bd27 09:04:23 ---> cd89c400a660 09:04:23 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 09:04:23 ---> Running in 780e65f530a2 09:04:23 Removing intermediate container 780e65f530a2 09:04:23 ---> 498f72f1c1f7 09:04:23 Step 22/24 : LABEL arch=amd64 09:04:23 ---> Running in f138b67521ed 09:04:23 Removing intermediate container f138b67521ed 09:04:23 ---> dc178d502598 09:04:23 Step 23/24 : LABEL git_sha=1b5f446858211ffc4bd7002f85b96e6480b7aca9 09:04:23 ---> Running in 1f7dce108209 09:04:23 Removing intermediate container 1f7dce108209 09:04:23 ---> 2426c12316b4 09:04:23 Step 24/24 : LABEL version=0.0.0 09:04:23 ---> Running in 7d22366ec27e 09:04:23 Removing intermediate container 7d22366ec27e 09:04:23 ---> 0390785270c9 09:04:23 [Warning] One or more build-args [ARCH] were not consumed 09:04:23 Successfully built 0390785270c9 09:04:23 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 09:04:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:04:24 09:04:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:04:24 latest: Pulling from edgex-lftools-log-publisher 09:04:24 5eb5b503b376: Pulling fs layer 09:04:24 5c69ac0246d0: Pulling fs layer 09:04:24 ec43610c2a17: Pulling fs layer 09:04:24 3a2ae6a8a46f: Pulling fs layer 09:04:24 33b1e0a273af: Pulling fs layer 09:04:24 5d3b04190fa2: Pulling fs layer 09:04:24 2f39f015ded8: Pulling fs layer 09:04:24 33b1e0a273af: Waiting 09:04:24 3a2ae6a8a46f: Waiting 09:04:24 5d3b04190fa2: Waiting 09:04:24 2f39f015ded8: Waiting 09:04:24 5c69ac0246d0: Download complete 09:04:24 33b1e0a273af: Verifying Checksum 09:04:24 33b1e0a273af: Download complete 09:04:24 ec43610c2a17: Verifying Checksum 09:04:24 ec43610c2a17: Download complete 09:04:24 5d3b04190fa2: Verifying Checksum 09:04:24 5d3b04190fa2: Download complete 09:04:24 5eb5b503b376: Verifying Checksum 09:04:24 5eb5b503b376: Download complete 09:04:25 2f39f015ded8: Download complete 09:04:25 5eb5b503b376: Pull complete 09:04:26 5c69ac0246d0: Pull complete 09:04:26 ec43610c2a17: Pull complete 09:04:26 3a2ae6a8a46f: Pull complete 09:04:26 33b1e0a273af: Pull complete 09:04:26 5d3b04190fa2: Pull complete 09:04:31 2f39f015ded8: Pull complete 09:04:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:04:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:04:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:04:31 prd-ubuntu20.04-docker-8c-8g-8435 does not seem to be running inside a container 09:04:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_PR-283 -v /w/workspace/gexfoundry_device-snmp-go_PR-283:/w/workspace/gexfoundry_device-snmp-go_PR-283:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-283@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-283@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:04:36 $ docker top 2c789d14246e31dc80bf5c2cd126d6c8c85c6d5f78382c808a85aab5f5c0d49e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:04:36 ---> job-cost.sh 09:04:36 lf-activate-venv: SKIPPING 09:04:36 INFO: No Stack... 09:04:36 INFO: Retrieving Pricing Info for: v3-standard-8 09:04:37 INFO: Archiving Costs [Pipeline] sh 09:04:37 + cat /w/workspace/gexfoundry_device-snmp-go_PR-283/archives/cost.csv 09:04:37 + cut -d, -f6 [Pipeline] lock 09:04:37 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-283-2-stack-cost] 09:04:37 Resource [jenkins-edgexfoundry-device-snmp-go-PR-283-2-stack-cost] did not exist. Created. 09:04:37 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-283-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:04:37 + echo total: 0.2199999988079071 [Pipeline] stash 09:04:37 Stashed 1 file(s) [Pipeline] } 09:04:37 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-283-2-stack-cost] [Pipeline] // lock [Pipeline] } 09:04:37 $ docker stop --time=1 2c789d14246e31dc80bf5c2cd126d6c8c85c6d5f78382c808a85aab5f5c0d49e 09:04:39 $ docker rm -f --volumes 2c789d14246e31dc80bf5c2cd126d6c8c85c6d5f78382c808a85aab5f5c0d49e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:06:00 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8438 in /w/workspace/gexfoundry_device-snmp-go_PR-283 [Pipeline] { [Pipeline] ws 09:06:00 Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout 09:06:00 Selected Git installation does not exist. Using Default 09:06:00 The recommended git tool is: NONE 09:06:06 using credential edgex-jenkins-ssh 09:06:06 Cloning the remote Git repository 09:06:06 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 09:06:06 > git init /w/workspace/device-snmp-go/2 # timeout=10 09:06:06 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 09:06:06 > git --version # timeout=10 09:06:07 > git --version # 'git version 2.25.1' 09:06:07 using GIT_SSH to set credentials SSH Credentials for GitHub 09:06:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:06:08 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 09:06:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:06:09 Merging remotes/origin/main commit 9857977cf1224abf0980974ddd92ec9b34aea725 into PR head commit 1b5f446858211ffc4bd7002f85b96e6480b7aca9 09:06:10 Merge succeeded, producing 1b5f446858211ffc4bd7002f85b96e6480b7aca9 09:06:10 Checking out Revision 1b5f446858211ffc4bd7002f85b96e6480b7aca9 (PR-283) 09:06:09 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 09:06:09 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 09:06:09 using GIT_SSH to set credentials SSH Credentials for GitHub 09:06:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/283/head:refs/remotes/origin/PR-283 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:06:09 > git config core.sparsecheckout # timeout=10 09:06:10 > git checkout -f 1b5f446858211ffc4bd7002f85b96e6480b7aca9 # timeout=10 09:06:10 > git remote # timeout=10 09:06:10 > git config --get remote.origin.url # timeout=10 09:06:10 using GIT_SSH to set credentials SSH Credentials for GitHub 09:06:10 > git merge 9857977cf1224abf0980974ddd92ec9b34aea725 # timeout=10 09:06:10 > git rev-parse HEAD^{commit} # timeout=10 09:06:10 > git config core.sparsecheckout # timeout=10 09:06:10 > git checkout -f 1b5f446858211ffc4bd7002f85b96e6480b7aca9 # timeout=10 09:06:10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:06:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:06:11 % Total % Received % Xferd Average Speed Time Time Time Current 09:06:11 Dload Upload Total Spent Left Speed 09:06:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 188k 0 --:--:-- --:--:-- --:--:-- 191k [Pipeline] sh 09:06:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:06:12 + sudo tee /etc/docker/daemon.new 09:06:12 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:06:12 { 09:06:12 "registry-mirrors": [ 09:06:12 "https://nexus3.edgexfoundry.org:10001" 09:06:12 ], 09:06:12 "bip": "10.250.0.254/24", 09:06:12 "hosts": [ 09:06:12 "tcp://0.0.0.0:5555", 09:06:12 "unix:///var/run/docker.sock" 09:06:12 ], 09:06:12 "mtu": 1458, 09:06:12 "selinux-enabled": true, 09:06:12 "seccomp-profile": "/etc/docker/seccomp.json" 09:06:12 } [Pipeline] sh 09:06:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:06:13 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:06:31 provisioning config files... 09:06:31 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config9387536884127554451tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:06:32 ---> docker-login.sh 09:06:32 nexus3.edgexfoundry.org:10001 09:06:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:06:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:06:32 Configure a credential helper to remove this warning. See 09:06:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:06:32 09:06:32 Login Succeeded 09:06:32 nexus3.edgexfoundry.org:10002 09:06:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:06:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:06:33 Configure a credential helper to remove this warning. See 09:06:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:06:33 09:06:33 Login Succeeded 09:06:33 nexus3.edgexfoundry.org:10003 09:06:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:06:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:06:33 Configure a credential helper to remove this warning. See 09:06:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:06:33 09:06:33 Login Succeeded 09:06:33 nexus3.edgexfoundry.org:10004 09:06:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:06:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:06:34 Configure a credential helper to remove this warning. See 09:06:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:06:34 09:06:34 Login Succeeded 09:06:34 docker.io 09:06:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:06:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:06:34 Configure a credential helper to remove this warning. See 09:06:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:06:34 09:06:34 Login Succeeded 09:06:34 ---> docker-login.sh ends [Pipeline] } 09:06:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:06:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:06:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:06:34 ========================================================= 09:06:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 09:06:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:06:35 + 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 . 09:06:35 Sending build context to Docker daemon 2.981MB 09:06:38 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 09:06:38 Step 2/12 : FROM ${BASE} AS builder 09:06:38 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:06:38 af6eaf76a39c: Pulling fs layer 09:06:38 55522c791124: Pulling fs layer 09:06:38 ce5c4a1c91eb: Pulling fs layer 09:06:38 169dfbe0d373: Pulling fs layer 09:06:38 e1ff8fa3b103: Pulling fs layer 09:06:38 52ebb69f0ebf: Pulling fs layer 09:06:38 5abe8eddf0d5: Pulling fs layer 09:06:38 e1ff8fa3b103: Waiting 09:06:38 52ebb69f0ebf: Waiting 09:06:38 5abe8eddf0d5: Waiting 09:06:38 55522c791124: Verifying Checksum 09:06:38 55522c791124: Download complete 09:06:38 169dfbe0d373: Verifying Checksum 09:06:38 169dfbe0d373: Download complete 09:06:38 e1ff8fa3b103: Verifying Checksum 09:06:38 e1ff8fa3b103: Download complete 09:06:38 af6eaf76a39c: Verifying Checksum 09:06:39 af6eaf76a39c: Pull complete 09:06:39 5abe8eddf0d5: Verifying Checksum 09:06:39 5abe8eddf0d5: Download complete 09:06:40 55522c791124: Pull complete 09:06:41 52ebb69f0ebf: Verifying Checksum 09:06:41 52ebb69f0ebf: Download complete 09:06:41 ce5c4a1c91eb: Download complete 09:06:53 ce5c4a1c91eb: Pull complete 09:06:53 169dfbe0d373: Pull complete 09:06:53 e1ff8fa3b103: Pull complete 09:07:00 52ebb69f0ebf: Pull complete 09:07:02 5abe8eddf0d5: Pull complete 09:07:02 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 09:07:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 09:07:02 ---> 6cb57ee374ae 09:07:02 Step 3/12 : ARG ADD_BUILD_TAGS="" 09:07:04 ---> Running in 0f274ce4a8e0 09:07:05 Removing intermediate container 0f274ce4a8e0 09:07:05 ---> 42bef3389796 09:07:05 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:07:05 ---> Running in c53015c3671e 09:07:05 Removing intermediate container c53015c3671e 09:07:05 ---> 3de7eb686850 09:07:05 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:07:05 ---> Running in f3405563bd33 09:07:06 Removing intermediate container f3405563bd33 09:07:06 ---> b7da8898ee3f 09:07:06 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 09:07:06 ---> Running in b394d7c3212c 09:07:06 Removing intermediate container b394d7c3212c 09:07:06 ---> 50459377e159 09:07:06 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:07:06 ---> Running in ae823242472d 09:07:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 09:07:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 09:07:09 (1/4) Installing openssh-keygen (9.1_p1-r2) 09:07:09 (2/4) Installing libedit (20221030.3.1-r0) 09:07:09 (3/4) Installing openssh-client-common (9.1_p1-r2) 09:07:09 (4/4) Installing openssh-client-default (9.1_p1-r2) 09:07:09 Executing busybox-1.35.0-r29.trigger 09:07:09 OK: 268 MiB in 57 packages 09:07:10 Removing intermediate container ae823242472d 09:07:10 ---> 3611153373bd 09:07:10 Step 8/12 : WORKDIR /device-snmp-go 09:07:10 ---> Running in cc74daab2e4b 09:07:11 Removing intermediate container cc74daab2e4b 09:07:11 ---> 695cf2f99910 09:07:11 Step 9/12 : COPY go.mod vendor* ./ 09:07:11 ---> d4d6a18863ee 09:07:11 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:07:11 ---> Running in d90059b2ea7d 09:08:19 Removing intermediate container d90059b2ea7d 09:08:19 ---> 70fb2665f7e9 09:08:19 Step 11/12 : COPY . . 09:08:19 ---> 9618f5aa2d7d 09:08:19 Step 12/12 : RUN ${MAKE} 09:08:19 ---> Running in 208fec3a4e44 09:08:19 noop 09:08:19 Removing intermediate container 208fec3a4e44 09:08:19 ---> ba163a30a61d 09:08:19 Successfully built ba163a30a61d 09:08:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:08:20 + docker inspect -f . ci-base-image-arm64 09:08:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:08:20 prd-ubuntu20.04-docker-arm64-4c-16g-8438 does not seem to be running inside a container 09:08:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:08:21 $ docker top 64a5be0dd0d710ff8d2480a3ee0ecd9b49026e654789ee5d98f82e890c1f602e -eo pid,comm [Pipeline] { [Pipeline] sh 09:08:22 + go version 09:08:22 go version go1.20.2 linux/arm64 [Pipeline] } 09:08:22 $ docker stop --time=1 64a5be0dd0d710ff8d2480a3ee0ecd9b49026e654789ee5d98f82e890c1f602e 09:08:25 $ docker rm -f --volumes 64a5be0dd0d710ff8d2480a3ee0ecd9b49026e654789ee5d98f82e890c1f602e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:08:26 + docker inspect -f . ci-base-image-arm64 09:08:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:08:26 prd-ubuntu20.04-docker-arm64-4c-16g-8438 does not seem to be running inside a container 09:08:26 $ 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/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:08:27 $ docker top b92243fac416edf35fe982b323186b8472e993cf9b38509fc9b3c4369fde6fce -eo pid,comm [Pipeline] { [Pipeline] sh 09:08:28 + git config --global --add safe.directory /w/workspace/device-snmp-go/2 [Pipeline] fileExists [Pipeline] sh 09:08:29 + make test 09:08:29 go test ./... -coverprofile=coverage.out 09:09:08 ? github.com/edgexfoundry/device-snmp-go [no test files] 09:11:29 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 09:11:29 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.073s coverage: 0.0% of statements 09:11:29 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:11:29 go vet ./... 09:11:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:11:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:11:56 ./bin/test-attribution-txt.sh 09:11:56 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 09:11:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:11:56 $ docker stop --time=1 b92243fac416edf35fe982b323186b8472e993cf9b38509fc9b3c4369fde6fce 09:11:59 $ docker rm -f --volumes b92243fac416edf35fe982b323186b8472e993cf9b38509fc9b3c4369fde6fce [Pipeline] // withDockerContainer [Pipeline] sh 09:12:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:12:00 Warning: overwriting stash ‘coverage-report’ 09:12:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:12:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:12:01 + ls -al . 09:12:01 total 168 09:12:01 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 09:08 . 09:12:01 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 09:06 .. 09:12:01 -rw-rw-r-- 1 jenkins jenkins 6 Apr 13 09:06 .dockerignore 09:12:01 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 09:06 .git 09:12:01 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:06 .github 09:12:01 -rw-rw-r-- 1 jenkins jenkins 328 Apr 13 09:06 .gitignore 09:12:01 -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 09:06 .golangci.yml 09:12:01 -rw-rw-r-- 1 jenkins jenkins 8926 Apr 13 09:06 Attribution.txt 09:12:01 -rw-rw-r-- 1 jenkins jenkins 8355 Apr 13 09:06 CHANGELOG.md 09:12:01 -rw-rw-r-- 1 jenkins jenkins 1423 Apr 13 09:06 Dockerfile 09:12:01 -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 09:06 GOVERNANCE.md 09:12:01 -rw-rw-r-- 1 jenkins jenkins 656 Apr 13 09:06 Jenkinsfile 09:12:01 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 09:06 LICENSE 09:12:01 -rw-rw-r-- 1 jenkins jenkins 2114 Apr 13 09:06 Makefile 09:12:01 -rw-rw-r-- 1 jenkins jenkins 620 Apr 13 09:06 OWNERS.md 09:12:01 -rw-rw-r-- 1 jenkins jenkins 10054 Apr 13 09:06 README.md 09:12:01 -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 09:02 VERSION 09:12:01 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 09:06 bin 09:12:01 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:06 cmd 09:12:01 -rw-r--r-- 1 jenkins jenkins 8751 Apr 13 09:11 coverage.out 09:12:01 -rw-rw-r-- 1 jenkins jenkins 3283 Apr 13 09:06 go.mod 09:12:01 -rw-rw-r-- 1 jenkins jenkins 31551 Apr 13 09:06 go.sum 09:12:01 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:06 internal 09:12:01 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 09:06 snap 09:12:01 -rw-rw-r-- 1 jenkins jenkins 228 Apr 13 09:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:12:02 + 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=1b5f446858211ffc4bd7002f85b96e6480b7aca9 --label arch=arm64 --label version=0.0.0 . 09:12:02 Sending build context to Docker daemon 2.991MB 09:12:02 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 09:12:02 Step 2/24 : FROM ${BASE} AS builder 09:12:02 ---> ba163a30a61d 09:12:02 Step 3/24 : ARG ADD_BUILD_TAGS="" 09:12:02 ---> Running in 6266987c108e 09:12:02 Removing intermediate container 6266987c108e 09:12:02 ---> dca1d21496b3 09:12:02 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:12:02 ---> Running in 2c1187d2b918 09:12:03 Removing intermediate container 2c1187d2b918 09:12:03 ---> e06ce5e989e6 09:12:03 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:12:03 ---> Running in fe5d6e455a1b 09:12:03 Removing intermediate container fe5d6e455a1b 09:12:03 ---> 33837894837d 09:12:03 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 09:12:03 ---> Running in c8f090a48db6 09:12:03 Removing intermediate container c8f090a48db6 09:12:03 ---> 28e4749af902 09:12:03 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:12:03 ---> Running in 1ffabeb4519e 09:12:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 09:12:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 09:12:06 OK: 268 MiB in 57 packages 09:12:07 Removing intermediate container 1ffabeb4519e 09:12:07 ---> a6213b7fc035 09:12:07 Step 8/24 : WORKDIR /device-snmp-go 09:12:07 ---> Running in de66a0198a87 09:12:07 Removing intermediate container de66a0198a87 09:12:07 ---> f949d7b20d32 09:12:07 Step 9/24 : COPY go.mod vendor* ./ 09:12:11 ---> b2faddf47c72 09:12:11 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:12:11 ---> Running in 47c70385475b 09:12:14 Removing intermediate container 47c70385475b 09:12:14 ---> 8dc76d739f55 09:12:14 Step 11/24 : COPY . . 09:12:15 ---> e6ee5280cab7 09:12:15 Step 12/24 : RUN ${MAKE} 09:12:15 ---> Running in b62571e3460e 09:12:16 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 09:14:37 Removing intermediate container b62571e3460e 09:14:37 ---> 7083a9b702a1 09:14:37 Step 13/24 : FROM alpine:3.17 09:14:37 3.17: Pulling from library/alpine 09:14:37 c41833b44d91: Pulling fs layer 09:14:37 c41833b44d91: Verifying Checksum 09:14:37 c41833b44d91: Download complete 09:14:37 c41833b44d91: Pull complete 09:14:37 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 09:14:37 Status: Downloaded newer image for alpine:3.17 09:14:37 ---> 51e60588ff2c 09:14:37 Step 14/24 : RUN apk add --update --no-cache dumb-init 09:14:37 ---> Running in 680a660df5a7 09:14:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 09:14:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 09:14:37 (1/1) Installing dumb-init (1.2.5-r2) 09:14:37 Executing busybox-1.35.0-r29.trigger 09:14:37 OK: 8 MiB in 16 packages 09:14:37 Removing intermediate container 680a660df5a7 09:14:37 ---> 5dc0796bb2db 09:14:37 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 09:14:37 ---> d6996252a11e 09:14:37 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 09:14:37 ---> 655d8971dd50 09:14:37 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 09:14:37 ---> 71182539b86d 09:14:37 Step 18/24 : EXPOSE 59993 09:14:37 ---> Running in 0e5e508df803 09:14:37 Removing intermediate container 0e5e508df803 09:14:37 ---> a832cb19d256 09:14:37 Step 19/24 : EXPOSE 161 09:14:37 ---> Running in 4c4d79e92112 09:14:37 Removing intermediate container 4c4d79e92112 09:14:37 ---> d11a5eee4d36 09:14:37 Step 20/24 : ENTRYPOINT ["/device-snmp"] 09:14:37 ---> Running in c9dea04ca547 09:14:37 Removing intermediate container c9dea04ca547 09:14:37 ---> 2c865eadcc68 09:14:37 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 09:14:37 ---> Running in 726e8a45df85 09:14:37 Removing intermediate container 726e8a45df85 09:14:37 ---> acfa1b54457d 09:14:37 Step 22/24 : LABEL arch=arm64 09:14:37 ---> Running in b864d2f8c88a 09:14:38 Removing intermediate container b864d2f8c88a 09:14:38 ---> 98e1ec043abe 09:14:38 Step 23/24 : LABEL git_sha=1b5f446858211ffc4bd7002f85b96e6480b7aca9 09:14:38 ---> Running in 3541ac3bc96c 09:14:38 Removing intermediate container 3541ac3bc96c 09:14:38 ---> 03def6a332aa 09:14:38 Step 24/24 : LABEL version=0.0.0 09:14:38 ---> Running in c5c0d174c87d 09:14:38 Removing intermediate container c5c0d174c87d 09:14:38 ---> ebf3ff439f0e 09:14:38 [Warning] One or more build-args [ARCH] were not consumed 09:14:38 Successfully built ebf3ff439f0e 09:14:38 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 09:14:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:14:39 09:14:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:14:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:14:40 arm64: Pulling from edgex-lftools-log-publisher 09:14:40 8998bd30e6a1: Pulling fs layer 09:14:40 04944245beec: Pulling fs layer 09:14:40 699f458cf7ca: Pulling fs layer 09:14:40 765212b225bb: Pulling fs layer 09:14:40 f23df028b6ca: Pulling fs layer 09:14:40 d65c8cfc05b1: Pulling fs layer 09:14:40 2437ff75d9bd: Pulling fs layer 09:14:40 765212b225bb: Waiting 09:14:40 f23df028b6ca: Waiting 09:14:40 d65c8cfc05b1: Waiting 09:14:40 2437ff75d9bd: Waiting 09:14:40 04944245beec: Verifying Checksum 09:14:40 04944245beec: Download complete 09:14:40 765212b225bb: Verifying Checksum 09:14:40 765212b225bb: Download complete 09:14:40 f23df028b6ca: Verifying Checksum 09:14:40 f23df028b6ca: Download complete 09:14:40 d65c8cfc05b1: Verifying Checksum 09:14:40 d65c8cfc05b1: Download complete 09:14:40 699f458cf7ca: Verifying Checksum 09:14:40 699f458cf7ca: Download complete 09:14:40 8998bd30e6a1: Verifying Checksum 09:14:40 8998bd30e6a1: Download complete 09:14:43 2437ff75d9bd: Verifying Checksum 09:14:43 2437ff75d9bd: Download complete 09:14:44 8998bd30e6a1: Pull complete 09:14:45 04944245beec: Pull complete 09:14:46 699f458cf7ca: Pull complete 09:14:46 765212b225bb: Pull complete 09:14:47 f23df028b6ca: Pull complete 09:14:47 d65c8cfc05b1: Pull complete 09:15:02 2437ff75d9bd: Pull complete 09:15:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:15:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:15:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:15:02 prd-ubuntu20.04-docker-arm64-4c-16g-8438 does not seem to be running inside a container 09:15:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:15:05 $ docker top e6c5b9a616cca29a55ca07f888830a763d07cf639e1dac696f3c979591fee6cc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:15:06 ---> job-cost.sh 09:15:06 lf-activate-venv: SKIPPING 09:15:06 INFO: No Stack... 09:15:06 INFO: Retrieving Pricing Info for: v3-standard-4 09:15:07 INFO: Archiving Costs [Pipeline] sh 09:15:08 + cat /w/workspace/device-snmp-go/2/archives/cost.csv 09:15:08 + cut -d, -f6 [Pipeline] lock 09:15:08 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-283-2-stack-cost] 09:15:08 Resource [jenkins-edgexfoundry-device-snmp-go-PR-283-2-stack-cost] did not exist. Created. 09:15:08 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-283-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:15:08 /w/workspace/device-snmp-go/2@tmp/durable-6d5930f0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:15:09 + echo total: 0.10999999940395355 [Pipeline] stash 09:15:09 Warning: overwriting stash ‘stack-cost’ 09:15:09 Stashed 1 file(s) [Pipeline] } 09:15:09 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-283-2-stack-cost] [Pipeline] // lock [Pipeline] } 09:15:09 $ docker stop --time=1 e6c5b9a616cca29a55ca07f888830a763d07cf639e1dac696f3c979591fee6cc 09:15:10 $ docker rm -f --volumes e6c5b9a616cca29a55ca07f888830a763d07cf639e1dac696f3c979591fee6cc [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 09:15:11 provisioning config files... 09:15:11 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-283@tmp/config13689827895971575749tmp [Pipeline] { [Pipeline] sh 09:15:11 + set +x 09:15:11 + curl -s https://codecov.io/bash 09:15:11 + bash -s -- 09:15:11 09:15:11 _____ _ 09:15:11 / ____| | | 09:15:11 | | ___ __| | ___ ___ _____ __ 09:15:11 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:15:11 | |___| (_) | (_| | __/ (_| (_) \ V / 09:15:11 \_____\___/ \__,_|\___|\___\___/ \_/ 09:15:11 Bash-1.0.6 09:15:11 09:15:11 09:15:11 ==> git version 2.25.1 found 09:15:11 ==> 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 09:15:11 Release-Date: 2020-01-08 09:15:11 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:15:11 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:15:11 ==> Jenkins CI detected. 09:15:11 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-283 09:15:11 project root: . 09:15:11 --> token set from env 09:15:11 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:15:11 ==> Running gcov in . (disable via -X gcov) 09:15:11 ==> Python coveragepy not found 09:15:11 ==> Searching for coverage reports in: 09:15:11 + . 09:15:11 -> Found 1 reports 09:15:11 ==> Detecting git/mercurial file structure 09:15:11 ==> Reading reports 09:15:11 + ./coverage.out bytes=8751 09:15:11 ==> Appending adjustments 09:15:11 https://docs.codecov.io/docs/fixing-reports 09:15:11 + Found adjustments 09:15:11 ==> Gzipping contents 09:15:11 4.0K /tmp/codecov.fMPWYR.gz 09:15:11 ==> Uploading reports 09:15:11 url: https://codecov.io 09:15:11 query: branch=PR-283&commit=1b5f446858211ffc4bd7002f85b96e6480b7aca9&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-283%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=283&job=&cmd_args= 09:15:11 -> Pinging Codecov 09:15:11 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-283&commit=1b5f446858211ffc4bd7002f85b96e6480b7aca9&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-283%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=283&job=&cmd_args= 09:15:11 -> Uploading to 09:15:11 https://storage.googleapis.com/codecov/v4/raw/2023-04-13/6C56EA5C29638FB4528AC87E60AF5AE0/1b5f446858211ffc4bd7002f85b96e6480b7aca9/3d60cff6-375d-4a97-ba31-18fb37dcb3b7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230413%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230413T091511Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=090864822c218cf72fa945aff0542a32d89e931f43f7ece21f3aa10bd893687d 09:15:11 % Total % Received % Xferd Average Speed Time Time Time Current 09:15:11 Dload Upload Total Spent Left Speed 09:15:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1590 0 0 100 1590 0 7035 --:--:-- --:--:-- --:--:-- 7035 09:15:12 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/1b5f446858211ffc4bd7002f85b96e6480b7aca9 [Pipeline] } 09:15:12 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 09:15:12 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-283/archives ] 09:15:12 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-283/archives 09:15:12 total 16 09:15:12 drwxr-xr-x 3 root root 4096 Apr 13 09:04 . 09:15:12 drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 09:04 .. 09:15:12 drwxr-xr-x 2 root root 4096 Apr 13 09:04 cost 09:15:12 -rw-r--r-- 1 root root 86 Apr 13 09:04 cost.csv 09:15:12 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-283/archives 09:15:12 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-283/archives 09:15:12 total 16 09:15:12 drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 09:04 . 09:15:12 drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 09:04 .. 09:15:12 drwxr-xr-x 2 jenkins jenkins 4096 Apr 13 09:04 cost 09:15:12 -rw-r--r-- 1 jenkins jenkins 86 Apr 13 09:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:15:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:15:13 ---> package-listing.sh 09:15:13 ++ facter osfamily 09:15:13 ++ tr '[:upper:]' '[:lower:]' 09:15:14 + OS_FAMILY=debian 09:15:14 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-283 09:15:14 + START_PACKAGES=/tmp/packages_start.txt 09:15:14 + END_PACKAGES=/tmp/packages_end.txt 09:15:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:15:14 + PACKAGES=/tmp/packages_start.txt 09:15:14 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-283 ']' 09:15:14 + PACKAGES=/tmp/packages_end.txt 09:15:14 + case "${OS_FAMILY}" in 09:15:14 + grep '^ii' 09:15:14 + dpkg -l 09:15:14 + '[' -f /tmp/packages_start.txt ']' 09:15:14 + '[' -f /tmp/packages_end.txt ']' 09:15:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:15:14 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-283 ']' 09:15:14 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-283/archives/ 09:15:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-283/archives/ [Pipeline] echo 09:15:14 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-283/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:15:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:15:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:15:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:15:14 prd-ubuntu20.04-docker-8c-8g-8435 does not seem to be running inside a container 09:15:15 $ 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-283/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-283 -v /w/workspace/gexfoundry_device-snmp-go_PR-283:/w/workspace/gexfoundry_device-snmp-go_PR-283:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-283@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-283@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:15:15 $ docker top a60778aaaff03f40fbca0d62b378b620077cbda9f4e733dcecc391407d0499e3 -eo pid,comm [Pipeline] { [Pipeline] sh 09:15:15 + touch /tmp/pre-build-complete [Pipeline] sh 09:15:15 + mkdir -p /var/log/sysstat [Pipeline] sh 09:15:16 + ls /var/log/sa-host 09:15:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:15:16 provisioning config files... 09:15:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-283@tmp/config9031891345638639838tmp [Pipeline] { [Pipeline] echo 09:15:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:15:16 ---> create-netrc.sh [Pipeline] } 09:15:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:15:16 ---> python-tools-install.sh [Pipeline] echo 09:15:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:15:17 ---> sudo-logs.sh 09:15:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:15:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:15:17 ---> job-cost.sh 09:15:17 lf-activate-venv: SKIPPING 09:15:17 DEBUG: total: 0.2199999988079071 09:15:17 INFO: Retrieving Stack Cost... 09:15:17 INFO: Retrieving Pricing Info for: v3-standard-8 09:15:17 INFO: Archiving Costs [Pipeline] echo 09:15:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:15:18 ---> logs-deploy.sh 09:15:18 lf-activate-venv: SKIPPING 09:15:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-283/2 09:15:18 INFO: archiving workspace using pattern(s): 09:15:19 Archives upload complete. 09:15:19 INFO: archiving logs to Nexus 09:15:19 ---> uname -a: 09:15:19 Linux prd-ubuntu20-04-docker-8c-8g-8435 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 09:15:19 09:15:19