Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5f76abc2bc068dc9f0d23fdd07ff83a7a058df58+035feacf7376206129236edf6c51b035a5ab8cee (67cd4bf11ef252e20a4636712a81ad01c8ecf0cd) 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-ssh3416901660854016193.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh14141379400555301547.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-330/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-330/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17453709839849491082.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh17626105524320842794.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-330/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-330/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2491350828443768699.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.21 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 ‘prd-ubuntu20.04-docker-8c-8g-17207’ is offline Running on prd-ubuntu20.04-docker-8c-8g-17209 in /w/workspace/gexfoundry_device-snmp-go_PR-330 [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-330 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/330/head:refs/remotes/origin/PR-330 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 035feacf7376206129236edf6c51b035a5ab8cee into PR head commit 5f76abc2bc068dc9f0d23fdd07ff83a7a058df58 Merge succeeded, producing 896e0074bb0b44c059e1e86762ec40d8f2ad5861 Checking out Revision 896e0074bb0b44c059e1e86762ec40d8f2ad5861 (PR-330) > git config core.sparsecheckout # timeout=10 > git checkout -f 5f76abc2bc068dc9f0d23fdd07ff83a7a058df58 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 035feacf7376206129236edf6c51b035a5ab8cee # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 896e0074bb0b44c059e1e86762ec40d8f2ad5861 # timeout=10 Commit message: "Merge commit '035feacf7376206129236edf6c51b035a5ab8cee' into HEAD" > git rev-list --no-walk 5f76abc2bc068dc9f0d23fdd07ff83a7a058df58 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:25:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:25:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:25:59 ========================================================= 15:25:59 EdgeX Global Pipelines Version Info 15:25:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:25:59 ------------------- 15:25:59 stable info: 15:25:59 ------------------- 15:25:59 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 15:25:59 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 15:25:59 Message: update stable to v1.0.257 15:26:00 ------------------- 15:26:00 experimental info: 15:26:00 ------------------- 15:26:00 Commited By: **** collab-it+edgex@linuxfoundation.org 15:26:00 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 15:26:00 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:26:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 15:26:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 15:26:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:26:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:26:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:26:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 15:26:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:26:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:26:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:26:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:26:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:26:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 15:26:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:26:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:26:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:26:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:26:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:26:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:26:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:26:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:26:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:26:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:26:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:26:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:26:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:26:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:26:01 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:26:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-330 [Pipeline] echo 15:26:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-330 [Pipeline] echo 15:26:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-330 [Pipeline] echo 15:26:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 896e0074bb0b44c059e1e86762ec40d8f2ad5861 [Pipeline] echo 15:26:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 896e007 [Pipeline] echo 15:26:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:26:01 provisioning config files... 15:26:01 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-330@tmp/config5513817489623661358tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:26:01 ---> docker-login.sh 15:26:01 nexus3.edgexfoundry.org:10001 15:26:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:26:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:26:02 Configure a credential helper to remove this warning. See 15:26:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:26:02 15:26:02 Login Succeeded 15:26:02 nexus3.edgexfoundry.org:10002 15:26:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:26:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:26:02 Configure a credential helper to remove this warning. See 15:26:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:26:02 15:26:02 Login Succeeded 15:26:02 nexus3.edgexfoundry.org:10003 15:26:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:26:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:26:02 Configure a credential helper to remove this warning. See 15:26:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:26:02 15:26:02 Login Succeeded 15:26:02 nexus3.edgexfoundry.org:10004 15:26:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:26:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:26:02 Configure a credential helper to remove this warning. See 15:26:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:26:02 15:26:02 Login Succeeded 15:26:02 docker.io 15:26:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:26:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:26:02 Configure a credential helper to remove this warning. See 15:26:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:26:02 15:26:02 Login Succeeded 15:26:02 ---> docker-login.sh ends [Pipeline] } 15:26:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:26:03 + git rev-list -1 --merges 896e0074bb0b44c059e1e86762ec40d8f2ad5861~1..896e0074bb0b44c059e1e86762ec40d8f2ad5861 [Pipeline] echo 15:26:03 -----------> git rev-list -1 --merges 896e0074bb0b44c059e1e86762ec40d8f2ad5861~1..896e0074bb0b44c059e1e86762ec40d8f2ad5861 896e0074bb0b44c059e1e86762ec40d8f2ad5861 15:26:03 896e0074bb0b44c059e1e86762ec40d8f2ad5861 [false] [Pipeline] sh 15:26:03 + git log --format=format:%s -1 896e0074bb0b44c059e1e86762ec40d8f2ad5861 [Pipeline] echo 15:26:03 ========================================================= 15:26:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:26:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:26:04 + git log --format=format:%s -1 896e0074bb0b44c059e1e86762ec40d8f2ad5861 [Pipeline] echo 15:26:04 [semverPrep] GIT_COMMIT: 896e0074bb0b44c059e1e86762ec40d8f2ad5861, Commit Message: Merge commit '035feacf7376206129236edf6c51b035a5ab8cee' into HEAD [Pipeline] echo 15:26:04 [semverPrep] This is not a build commit. [Pipeline] sh 15:26:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:26:04 + grep -v github /etc/ssh/ssh_known_hosts 15:26:04 + [ -e /tmp/ssh_known_hosts ] 15:26:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:26:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:26:04 + sudo tee -a /etc/ssh/ssh_known_hosts 15:26:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:26:04 15:26:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:26:05 0.1.4: Pulling from edgex-devops/py-git-semver 15:26:05 b85a868b505f: Pulling fs layer 15:26:05 e2be974225ed: Pulling fs layer 15:26:05 339a4e72a1f5: Pulling fs layer 15:26:05 988bab9f4d93: Pulling fs layer 15:26:05 1469e6f7b9e6: Pulling fs layer 15:26:05 eaf3925da568: Pulling fs layer 15:26:05 988bab9f4d93: Waiting 15:26:05 1469e6f7b9e6: Waiting 15:26:05 eaf3925da568: Waiting 15:26:05 bab4dde63d76: Pulling fs layer 15:26:05 bde34c3a00c8: Pulling fs layer 15:26:05 b352a97aabf1: Pulling fs layer 15:26:05 4872d77fe225: Pulling fs layer 15:26:05 5851b861e8e6: Pulling fs layer 15:26:05 4872d77fe225: Waiting 15:26:05 bab4dde63d76: Waiting 15:26:05 b352a97aabf1: Waiting 15:26:05 5851b861e8e6: Waiting 15:26:05 bde34c3a00c8: Waiting 15:26:05 e2be974225ed: Download complete 15:26:05 988bab9f4d93: Verifying Checksum 15:26:05 988bab9f4d93: Download complete 15:26:05 339a4e72a1f5: Verifying Checksum 15:26:05 339a4e72a1f5: Download complete 15:26:05 eaf3925da568: Download complete 15:26:05 1469e6f7b9e6: Verifying Checksum 15:26:05 1469e6f7b9e6: Download complete 15:26:05 bde34c3a00c8: Download complete 15:26:05 b352a97aabf1: Verifying Checksum 15:26:05 b352a97aabf1: Download complete 15:26:05 4872d77fe225: Verifying Checksum 15:26:05 4872d77fe225: Download complete 15:26:05 5851b861e8e6: Download complete 15:26:05 b85a868b505f: Verifying Checksum 15:26:05 b85a868b505f: Download complete 15:26:06 bab4dde63d76: Verifying Checksum 15:26:06 bab4dde63d76: Download complete 15:26:06 b85a868b505f: Pull complete 15:26:06 e2be974225ed: Pull complete 15:26:07 339a4e72a1f5: Pull complete 15:26:07 988bab9f4d93: Pull complete 15:26:07 1469e6f7b9e6: Pull complete 15:26:07 eaf3925da568: Pull complete 15:26:09 bab4dde63d76: Pull complete 15:26:09 bde34c3a00c8: Pull complete 15:26:09 b352a97aabf1: Pull complete 15:26:09 4872d77fe225: Pull complete 15:26:09 5851b861e8e6: Pull complete 15:26:09 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:26:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:26:09 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:26:10 prd-ubuntu20.04-docker-8c-8g-17209 does not seem to be running inside a container 15:26:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-330 -v /w/workspace/gexfoundry_device-snmp-go_PR-330:/w/workspace/gexfoundry_device-snmp-go_PR-330:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-330@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-330@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 15:26:15 $ docker top 760b7c7a9853174201c2d589092f615de2f6f77d5b760ee13e19955a2b077af6 -eo pid,comm 15:26:15 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). 15:26:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:26:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:26:15 [ssh-agent] Looking for ssh-agent implementation... 15:26:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:26:15 $ docker exec 760b7c7a9853174201c2d589092f615de2f6f77d5b760ee13e19955a2b077af6 ssh-agent 15:26:15 SSH_AUTH_SOCK=/tmp/ssh-UowtLgz8gHSd/agent.32 15:26:15 SSH_AGENT_PID=38 15:26:15 Running ssh-add (command line suppressed) 15:26:16 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-330@tmp/private_key_16908241192228008541.key (/w/workspace/gexfoundry_device-snmp-go_PR-330@tmp/private_key_16908241192228008541.key) 15:26:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:26:16 + git tag --points-at HEAD [Pipeline] } 15:26:16 $ docker exec --env ******** --env ******** 760b7c7a9853174201c2d589092f615de2f6f77d5b760ee13e19955a2b077af6 ssh-agent -k 15:26:16 unset SSH_AUTH_SOCK; 15:26:16 unset SSH_AGENT_PID; 15:26:16 echo Agent pid 38 killed; 15:26:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:26:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:26:16 [ssh-agent] Looking for ssh-agent implementation... 15:26:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:26:16 $ docker exec 760b7c7a9853174201c2d589092f615de2f6f77d5b760ee13e19955a2b077af6 ssh-agent 15:26:16 SSH_AUTH_SOCK=/tmp/ssh-lxrDuWkdEjFf/agent.71 15:26:16 SSH_AGENT_PID=77 15:26:16 Running ssh-add (command line suppressed) 15:26:16 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-330@tmp/private_key_15333543271241085481.key (/w/workspace/gexfoundry_device-snmp-go_PR-330@tmp/private_key_15333543271241085481.key) 15:26:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:26:17 + git semver init 15:26:17 2023-11-10 15:26:17,368 [run_init] DEBUG init version:0.0.0 force:False 15:26:17 2023-11-10 15:26:17,369 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-330/.semver 15:26:17 2023-11-10 15:26:17,370 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-330/.semver 15:26:17 2023-11-10 15:26:17,370 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-330/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-330, universal_newlines=False, shell=None, istream=None) 15:26:18 2023-11-10 15:26:18,311 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-330/.git/info/exclude 15:26:18 2023-11-10 15:26:18,311 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-330/.semver/PR-330 with force:False 15:26:18 2023-11-10 15:26:18,312 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-330/.semver/PR-330 15:26:18 2023-11-10 15:26:18,316 [execute] INFO git cat-file --batch-check 15:26:18 2023-11-10 15:26:18,316 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-330/.semver, universal_newlines=False, shell=None, istream=) 15:26:18 2023-11-10 15:26:18,322 [execute] INFO git cat-file --batch 15:26:18 2023-11-10 15:26:18,322 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-330/.semver, universal_newlines=False, shell=None, istream=) 15:26:18 2023-11-10 15:26:18,326 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-330/.semver/PR-330 15:26:18 0.0.0 [Pipeline] } 15:26:18 $ docker exec --env ******** --env ******** 760b7c7a9853174201c2d589092f615de2f6f77d5b760ee13e19955a2b077af6 ssh-agent -k 15:26:18 unset SSH_AUTH_SOCK; 15:26:18 unset SSH_AGENT_PID; 15:26:18 echo Agent pid 77 killed; 15:26:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:26:18 + git semver [Pipeline] } 15:26:19 $ docker stop --time=1 760b7c7a9853174201c2d589092f615de2f6f77d5b760ee13e19955a2b077af6 15:26:20 $ docker rm -f --volumes 760b7c7a9853174201c2d589092f615de2f6f77d5b760ee13e19955a2b077af6 [Pipeline] // withDockerContainer [Pipeline] sh 15:26:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:26:21 Stashed 1 file(s) [Pipeline] echo 15:26:21 [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 15:26:21 provisioning config files... 15:26:21 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-330@tmp/config13105457530295431633tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:26:21 ---> docker-login.sh 15:26:21 nexus3.edgexfoundry.org:10001 15:26:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:26:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:26:21 Configure a credential helper to remove this warning. See 15:26:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:26:21 15:26:21 Login Succeeded 15:26:21 nexus3.edgexfoundry.org:10002 15:26:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:26:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:26:21 Configure a credential helper to remove this warning. See 15:26:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:26:21 15:26:21 Login Succeeded 15:26:21 nexus3.edgexfoundry.org:10003 15:26:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:26:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:26:21 Configure a credential helper to remove this warning. See 15:26:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:26:21 15:26:21 Login Succeeded 15:26:21 nexus3.edgexfoundry.org:10004 15:26:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:26:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:26:21 Configure a credential helper to remove this warning. See 15:26:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:26:21 15:26:21 Login Succeeded 15:26:21 docker.io 15:26:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:26:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:26:22 Configure a credential helper to remove this warning. See 15:26:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:26:22 15:26:22 Login Succeeded 15:26:22 ---> docker-login.sh ends [Pipeline] } 15:26:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:26:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:26:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:26:22 ========================================================= 15:26:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 15:26:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:22 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 15:26:22 Sending build context to Docker daemon 5.773MB 15:26:22 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 15:26:22 Step 2/12 : FROM ${BASE} AS builder 15:26:22 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 15:26:22 7264a8db6415: Pulling fs layer 15:26:22 c4d48a809fc2: Pulling fs layer 15:26:22 4f1c88b9dad5: Pulling fs layer 15:26:22 ad3a456e5733: Pulling fs layer 15:26:22 33e27b845d1e: Pulling fs layer 15:26:22 c68163c4e522: Pulling fs layer 15:26:22 50da416c3ac9: Pulling fs layer 15:26:22 23d2d4c4bb30: Pulling fs layer 15:26:22 ad3a456e5733: Waiting 15:26:22 33e27b845d1e: Waiting 15:26:22 c68163c4e522: Waiting 15:26:22 50da416c3ac9: Waiting 15:26:22 23d2d4c4bb30: Waiting 15:26:22 c4d48a809fc2: Verifying Checksum 15:26:22 c4d48a809fc2: Download complete 15:26:22 ad3a456e5733: Verifying Checksum 15:26:22 ad3a456e5733: Download complete 15:26:22 33e27b845d1e: Verifying Checksum 15:26:22 33e27b845d1e: Download complete 15:26:22 7264a8db6415: Verifying Checksum 15:26:22 7264a8db6415: Download complete 15:26:22 c68163c4e522: Verifying Checksum 15:26:22 c68163c4e522: Download complete 15:26:23 7264a8db6415: Pull complete 15:26:23 23d2d4c4bb30: Verifying Checksum 15:26:23 23d2d4c4bb30: Download complete 15:26:23 c4d48a809fc2: Pull complete 15:26:23 4f1c88b9dad5: Verifying Checksum 15:26:23 4f1c88b9dad5: Download complete 15:26:23 50da416c3ac9: Verifying Checksum 15:26:23 50da416c3ac9: Download complete 15:26:26 4f1c88b9dad5: Pull complete 15:26:26 ad3a456e5733: Pull complete 15:26:26 33e27b845d1e: Pull complete 15:26:26 c68163c4e522: Pull complete 15:26:28 50da416c3ac9: Pull complete 15:26:28 23d2d4c4bb30: Pull complete 15:26:29 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 15:26:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 15:26:29 ---> 0786185ac409 15:26:29 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:26:36 Still waiting to schedule task 15:26:36 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 15:26:37 ---> Running in 1883edab6b3c 15:26:37 Removing intermediate container 1883edab6b3c 15:26:37 ---> c2804d2b0117 15:26:37 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:26:37 ---> Running in 6f1eb0caef3b 15:26:37 Removing intermediate container 6f1eb0caef3b 15:26:37 ---> 7a684dbde53f 15:26:37 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:26:38 ---> Running in fd3528bf8c0b 15:26:38 Removing intermediate container fd3528bf8c0b 15:26:38 ---> 92e9464d1b86 15:26:38 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:26:39 ---> Running in 392e14bdd334 15:26:39 Removing intermediate container 392e14bdd334 15:26:39 ---> 7a77ae489f6c 15:26:39 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:26:39 ---> Running in 6bd82b92fc69 15:26:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:26:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:26:40 (1/4) Installing openssh-keygen (9.3_p2-r0) 15:26:40 (2/4) Installing libedit (20221030.3.1-r1) 15:26:40 (3/4) Installing openssh-client-common (9.3_p2-r0) 15:26:40 (4/4) Installing openssh-client-default (9.3_p2-r0) 15:26:40 Executing busybox-1.36.1-r2.trigger 15:26:40 OK: 268 MiB in 56 packages 15:26:41 Removing intermediate container 6bd82b92fc69 15:26:41 ---> 3023d3e28a75 15:26:41 Step 8/12 : WORKDIR /device-snmp-go 15:26:41 ---> Running in c264e8c58e31 15:26:41 Removing intermediate container c264e8c58e31 15:26:41 ---> cfde7b457181 15:26:41 Step 9/12 : COPY go.mod vendor* ./ 15:26:41 ---> 90abc93e8adc 15:26:41 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:26:41 ---> Running in 0a8d00895107 15:27:38 Removing intermediate container 0a8d00895107 15:27:38 ---> 3e1422552fc2 15:27:38 Step 11/12 : COPY . . 15:27:38 ---> 0c6626897f7c 15:27:38 Step 12/12 : RUN ${MAKE} 15:27:38 ---> Running in 1f91a983177f 15:27:38 noop 15:27:38 Removing intermediate container 1f91a983177f 15:27:38 ---> dcb390a74fd4 15:27:38 Successfully built dcb390a74fd4 15:27:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:27:38 + docker inspect -f . ci-base-image-x86_64 15:27:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:27:38 prd-ubuntu20.04-docker-8c-8g-17209 does not seem to be running inside a container 15:27:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-330 -v /w/workspace/gexfoundry_device-snmp-go_PR-330:/w/workspace/gexfoundry_device-snmp-go_PR-330:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-330@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-330@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 15:27:39 $ docker top 93f40812dee60c84b000531a923140e16ba4c6ee69fd6f24094d77e1676b38b3 -eo pid,comm [Pipeline] { [Pipeline] sh 15:27:39 + go version 15:27:39 go version go1.21.0 linux/amd64 [Pipeline] } 15:27:39 $ docker stop --time=1 93f40812dee60c84b000531a923140e16ba4c6ee69fd6f24094d77e1676b38b3 15:27:40 $ docker rm -f --volumes 93f40812dee60c84b000531a923140e16ba4c6ee69fd6f24094d77e1676b38b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:27:41 + docker inspect -f . ci-base-image-x86_64 15:27:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:27:41 prd-ubuntu20.04-docker-8c-8g-17209 does not seem to be running inside a container 15:27:41 $ 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-330 -v /w/workspace/gexfoundry_device-snmp-go_PR-330:/w/workspace/gexfoundry_device-snmp-go_PR-330:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-330@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-330@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 15:27:41 $ docker top dd29000d72b6c61fdd11c2b0b3a9bb7db439d34ef5bf7481b737cd4d27a823c9 -eo pid,comm [Pipeline] { [Pipeline] sh 15:27:42 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-330 [Pipeline] fileExists [Pipeline] sh 15:27:42 + make test 15:27:42 go test ./... -coverprofile=coverage.out 15:27:45 ? github.com/edgexfoundry/device-snmp-go [no test files] 15:27:55 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 15:27:55 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.010s coverage: 0.0% of statements 15:28:00 go vet ./... 15:28:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:28:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:28:03 ./bin/test-attribution-txt.sh [Pipeline] echo 15:28:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 15:28:03 $ docker stop --time=1 dd29000d72b6c61fdd11c2b0b3a9bb7db439d34ef5bf7481b737cd4d27a823c9 15:28:08 $ docker rm -f --volumes dd29000d72b6c61fdd11c2b0b3a9bb7db439d34ef5bf7481b737cd4d27a823c9 [Pipeline] // withDockerContainer [Pipeline] sh 15:28:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:28:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:28:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:28:10 + ls -al . 15:28:10 total 172 15:28:10 drwxrwxr-x 8 jenkins jenkins 4096 Nov 10 15:27 . 15:28:10 drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 15:25 .. 15:28:10 -rw-rw-r-- 1 jenkins jenkins 6 Nov 10 15:25 .dockerignore 15:28:10 drwxrwxr-x 8 jenkins jenkins 4096 Nov 10 15:27 .git 15:28:10 drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 15:25 .github 15:28:10 -rw-rw-r-- 1 jenkins jenkins 263 Nov 10 15:25 .gitignore 15:28:10 -rw-rw-r-- 1 jenkins jenkins 41 Nov 10 15:25 .golangci.yml 15:28:10 drwxr-xr-x 3 jenkins jenkins 4096 Nov 10 15:26 .semver 15:28:10 -rw-rw-r-- 1 jenkins jenkins 10025 Nov 10 15:25 Attribution.txt 15:28:10 -rw-rw-r-- 1 jenkins jenkins 11809 Nov 10 15:25 CHANGELOG.md 15:28:10 -rw-rw-r-- 1 jenkins jenkins 1462 Nov 10 15:25 Dockerfile 15:28:10 -rw-rw-r-- 1 jenkins jenkins 677 Nov 10 15:25 GOVERNANCE.md 15:28:10 -rw-rw-r-- 1 jenkins jenkins 656 Nov 10 15:25 Jenkinsfile 15:28:10 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 10 15:25 LICENSE 15:28:10 -rw-rw-r-- 1 jenkins jenkins 2240 Nov 10 15:25 Makefile 15:28:10 -rw-rw-r-- 1 jenkins jenkins 620 Nov 10 15:25 OWNERS.md 15:28:10 -rw-rw-r-- 1 jenkins jenkins 10477 Nov 10 15:25 README.md 15:28:10 -rw-rw-r-- 1 jenkins jenkins 5 Nov 10 15:26 VERSION 15:28:10 drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 15:25 bin 15:28:10 drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 15:25 cmd 15:28:10 -rw-r--r-- 1 jenkins jenkins 8837 Nov 10 15:27 coverage.out 15:28:10 -rw-rw-r-- 1 jenkins jenkins 3665 Nov 10 15:25 go.mod 15:28:10 -rw-rw-r-- 1 jenkins jenkins 34728 Nov 10 15:25 go.sum 15:28:10 drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 15:25 internal 15:28:10 -rw-rw-r-- 1 jenkins jenkins 228 Nov 10 15:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:28:10 + 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=896e0074bb0b44c059e1e86762ec40d8f2ad5861 --label arch=amd64 --label version=0.0.0 . 15:28:10 Sending build context to Docker daemon 5.783MB 15:28:10 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 15:28:10 Step 2/24 : FROM ${BASE} AS builder 15:28:10 ---> dcb390a74fd4 15:28:10 Step 3/24 : ARG ADD_BUILD_TAGS="" 15:28:10 ---> Running in bd6a58952702 15:28:11 Removing intermediate container bd6a58952702 15:28:11 ---> cab8a375aa84 15:28:11 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:28:11 ---> Running in 1ee5de90c654 15:28:11 Removing intermediate container 1ee5de90c654 15:28:11 ---> 93167c6eb2ac 15:28:11 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:28:11 ---> Running in 23d40173365f 15:28:11 Removing intermediate container 23d40173365f 15:28:11 ---> 9b49235b340f 15:28:11 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 15:28:11 ---> Running in 2af55dbcb7ac 15:28:12 Removing intermediate container 2af55dbcb7ac 15:28:12 ---> 6a41ce0ddb10 15:28:12 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:28:12 ---> Running in d1e8e77fd2aa 15:28:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:28:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:28:13 OK: 268 MiB in 56 packages 15:28:14 Removing intermediate container d1e8e77fd2aa 15:28:14 ---> 99afc824ca1a 15:28:14 Step 8/24 : WORKDIR /device-snmp-go 15:28:14 ---> Running in 920a45917ac6 15:28:15 Removing intermediate container 920a45917ac6 15:28:15 ---> 6fc54ec74e4c 15:28:15 Step 9/24 : COPY go.mod vendor* ./ 15:28:15 ---> 4aa577deb9fe 15:28:15 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:28:15 ---> Running in d8c3e1fad94a 15:28:16 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17210 in /w/workspace/gexfoundry_device-snmp-go_PR-330 [Pipeline] { [Pipeline] ws 15:28:16 Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout 15:28:16 Selected Git installation does not exist. Using Default 15:28:16 The recommended git tool is: NONE 15:28:18 Removing intermediate container d8c3e1fad94a 15:28:18 ---> 552d5408c5e4 15:28:18 Step 11/24 : COPY . . 15:28:18 ---> 92f1098fb5c7 15:28:18 Step 12/24 : RUN ${MAKE} 15:28:19 ---> Running in 24394cb6918f 15:28:20 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 15:28:21 using credential edgex-jenkins-ssh 15:28:21 Cloning the remote Git repository 15:28:21 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 15:28:21 > git init /w/workspace/device-snmp-go/2 # timeout=10 15:28:21 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 15:28:21 > git --version # timeout=10 15:28:21 > git --version # 'git version 2.25.1' 15:28:21 using GIT_SSH to set credentials SSH Credentials for GitHub 15:28:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:28:22 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 15:28:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:28:23 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 15:28:23 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 15:28:23 using GIT_SSH to set credentials SSH Credentials for GitHub 15:28:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/330/head:refs/remotes/origin/PR-330 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:28:24 Merging remotes/origin/main commit 035feacf7376206129236edf6c51b035a5ab8cee into PR head commit 5f76abc2bc068dc9f0d23fdd07ff83a7a058df58 15:28:24 Merge succeeded, producing 0252b3145001977b9d32625d27d69085ef0d7ded 15:28:24 Checking out Revision 0252b3145001977b9d32625d27d69085ef0d7ded (PR-330) 15:28:24 > git config core.sparsecheckout # timeout=10 15:28:24 > git checkout -f 5f76abc2bc068dc9f0d23fdd07ff83a7a058df58 # timeout=10 15:28:24 > git remote # timeout=10 15:28:24 > git config --get remote.origin.url # timeout=10 15:28:24 using GIT_SSH to set credentials SSH Credentials for GitHub 15:28:24 > git merge 035feacf7376206129236edf6c51b035a5ab8cee # timeout=10 15:28:24 > git rev-parse HEAD^{commit} # timeout=10 15:28:24 > git config core.sparsecheckout # timeout=10 15:28:24 > git checkout -f 0252b3145001977b9d32625d27d69085ef0d7ded # timeout=10 15:28:29 Commit message: "Merge commit '035feacf7376206129236edf6c51b035a5ab8cee' into HEAD" 15:28:29 > git rev-list --no-walk 5f76abc2bc068dc9f0d23fdd07ff83a7a058df58 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:28:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:28:30 % Total % Received % Xferd Average Speed Time Time Time Current 15:28:30 Dload Upload Total Spent Left Speed 15:28:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 89309 0 --:--:-- --:--:-- --:--:-- 89943 [Pipeline] sh 15:28:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:28:31 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:28:31 + sudo tee /etc/docker/daemon.new 15:28:31 { 15:28:31 "registry-mirrors": [ 15:28:31 "https://nexus3.edgexfoundry.org:10001" 15:28:31 ], 15:28:31 "bip": "10.250.0.254/24", 15:28:31 "hosts": [ 15:28:31 "tcp://0.0.0.0:5555", 15:28:31 "unix:///var/run/docker.sock" 15:28:31 ], 15:28:31 "mtu": 1458, 15:28:31 "selinux-enabled": true, 15:28:31 "seccomp-profile": "/etc/docker/seccomp.json" 15:28:31 } [Pipeline] sh 15:28:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:28:32 + sudo service docker restart 15:28:46 Removing intermediate container 24394cb6918f 15:28:46 ---> e36cc4dec3ba 15:28:46 Step 13/24 : FROM alpine:3.18 15:28:47 3.18: Pulling from library/alpine 15:28:47 96526aa774ef: Pulling fs layer 15:28:48 96526aa774ef: Download complete 15:28:48 96526aa774ef: Pull complete 15:28:48 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 15:28:48 Status: Downloaded newer image for alpine:3.18 15:28:48 ---> 8ca4688f4f35 15:28:48 Step 14/24 : RUN apk add --update --no-cache dumb-init 15:28:49 ---> Running in 0a2c6ce55451 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:28:50 provisioning config files... 15:28:50 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config12306837585415524555tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:28:50 ---> docker-login.sh 15:28:50 nexus3.edgexfoundry.org:10001 15:28:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:28:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:28:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:28:51 (1/1) Installing dumb-init (1.2.5-r2) 15:28:51 Executing busybox-1.36.1-r2.trigger 15:28:51 OK: 7 MiB in 16 packages 15:28:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:28:51 Configure a credential helper to remove this warning. See 15:28:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:28:51 15:28:51 Login Succeeded 15:28:51 nexus3.edgexfoundry.org:10002 15:28:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:28:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:28:51 Configure a credential helper to remove this warning. See 15:28:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:28:51 15:28:51 Login Succeeded 15:28:51 nexus3.edgexfoundry.org:10003 15:28:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:28:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:28:52 Configure a credential helper to remove this warning. See 15:28:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:28:52 15:28:52 Login Succeeded 15:28:52 nexus3.edgexfoundry.org:10004 15:28:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:28:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:28:52 Configure a credential helper to remove this warning. See 15:28:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:28:52 15:28:52 Login Succeeded 15:28:52 docker.io 15:28:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:28:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:28:52 Configure a credential helper to remove this warning. See 15:28:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:28:52 15:28:52 Login Succeeded 15:28:52 ---> docker-login.sh ends [Pipeline] } 15:28:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 15:28:53 Removing intermediate container 0a2c6ce55451 15:28:53 ---> c45c1ea82863 15:28:53 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [Pipeline] echo 15:28:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:28:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:28:53 ========================================================= 15:28:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 15:28:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:28:53 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 15:28:53 Sending build context to Docker daemon 2.967MB 15:28:53 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 15:28:53 Step 2/12 : FROM ${BASE} AS builder 15:28:55 ---> c4262121b174 15:28:55 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 15:28:56 ---> 137d9b6e3893 15:28:56 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 15:28:57 ---> e7c193b5def7 15:28:57 Step 18/24 : EXPOSE 59993 15:28:57 ---> Running in 176fc5aa6323 15:28:58 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:28:58 9fda8d8052c6: Pulling fs layer 15:28:58 5d54e960e981: Pulling fs layer 15:28:58 c4a7e357bf2a: Pulling fs layer 15:28:58 f0e02332f6b5: Pulling fs layer 15:28:58 cefa15bbcfad: Pulling fs layer 15:28:58 17808c966233: Pulling fs layer 15:28:58 f4c1fc716caa: Pulling fs layer 15:28:58 cefa15bbcfad: Waiting 15:28:58 17808c966233: Waiting 15:28:58 f4c1fc716caa: Waiting 15:28:58 f0e02332f6b5: Waiting 15:28:58 5d54e960e981: Verifying Checksum 15:28:58 5d54e960e981: Download complete 15:28:58 f0e02332f6b5: Verifying Checksum 15:28:58 f0e02332f6b5: Download complete 15:28:58 cefa15bbcfad: Verifying Checksum 15:28:58 cefa15bbcfad: Download complete 15:28:58 9fda8d8052c6: Verifying Checksum 15:28:58 9fda8d8052c6: Download complete 15:28:58 f4c1fc716caa: Verifying Checksum 15:28:58 f4c1fc716caa: Download complete 15:28:58 Removing intermediate container 176fc5aa6323 15:28:58 ---> af842ebfea17 15:28:58 Step 19/24 : EXPOSE 161 15:28:58 ---> Running in 5eae906a5092 15:28:58 9fda8d8052c6: Pull complete 15:28:59 5d54e960e981: Pull complete 15:28:59 Removing intermediate container 5eae906a5092 15:28:59 ---> ac1abcb77bfa 15:28:59 Step 20/24 : ENTRYPOINT ["/device-snmp"] 15:28:59 ---> Running in ce95780b9f27 15:28:59 c4a7e357bf2a: Verifying Checksum 15:28:59 c4a7e357bf2a: Download complete 15:28:59 Removing intermediate container ce95780b9f27 15:28:59 ---> c1f541252e2e 15:28:59 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 15:29:00 ---> Running in 1613dac1af86 15:29:00 Removing intermediate container 1613dac1af86 15:29:00 ---> 5b0583c17150 15:29:00 Step 22/24 : LABEL arch=amd64 15:29:00 17808c966233: Verifying Checksum 15:29:00 ---> Running in 6287f8e11e51 15:29:01 Removing intermediate container 6287f8e11e51 15:29:01 ---> cf6e46408281 15:29:01 Step 23/24 : LABEL git_sha=896e0074bb0b44c059e1e86762ec40d8f2ad5861 15:29:01 ---> Running in f82b7a5fe887 15:29:01 Removing intermediate container f82b7a5fe887 15:29:01 ---> 31bf3772ba8f 15:29:01 Step 24/24 : LABEL version=0.0.0 15:29:02 ---> Running in e9fe68934a19 15:29:03 Removing intermediate container e9fe68934a19 15:29:03 ---> 4e9f26382d7c 15:29:03 [Warning] One or more build-args [ARCH] were not consumed 15:29:03 Successfully built 4e9f26382d7c 15:29:03 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 15:29:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:29:03 15:29:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:29:04 latest: Pulling from edgex-lftools-log-publisher 15:29:04 5eb5b503b376: Pulling fs layer 15:29:04 5c69ac0246d0: Pulling fs layer 15:29:04 ec43610c2a17: Pulling fs layer 15:29:04 3a2ae6a8a46f: Pulling fs layer 15:29:04 33b1e0a273af: Pulling fs layer 15:29:04 5d3b04190fa2: Pulling fs layer 15:29:04 2f39f015ded8: Pulling fs layer 15:29:04 33b1e0a273af: Waiting 15:29:04 5d3b04190fa2: Waiting 15:29:04 3a2ae6a8a46f: Waiting 15:29:04 2f39f015ded8: Waiting 15:29:04 5c69ac0246d0: Verifying Checksum 15:29:04 5c69ac0246d0: Download complete 15:29:04 3a2ae6a8a46f: Verifying Checksum 15:29:04 3a2ae6a8a46f: Download complete 15:29:04 33b1e0a273af: Verifying Checksum 15:29:04 33b1e0a273af: Download complete 15:29:04 5d3b04190fa2: Verifying Checksum 15:29:04 5d3b04190fa2: Download complete 15:29:04 ec43610c2a17: Verifying Checksum 15:29:04 ec43610c2a17: Download complete 15:29:04 5eb5b503b376: Verifying Checksum 15:29:04 5eb5b503b376: Download complete 15:29:05 2f39f015ded8: Download complete 15:29:06 5eb5b503b376: Pull complete 15:29:06 5c69ac0246d0: Pull complete 15:29:07 ec43610c2a17: Pull complete 15:29:07 3a2ae6a8a46f: Pull complete 15:29:07 33b1e0a273af: Pull complete 15:29:08 5d3b04190fa2: Pull complete 15:29:12 c4a7e357bf2a: Pull complete 15:29:12 f0e02332f6b5: Pull complete 15:29:12 cefa15bbcfad: Pull complete 15:29:13 2f39f015ded8: Pull complete 15:29:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:29:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:29:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:29:13 prd-ubuntu20.04-docker-8c-8g-17209 does not seem to be running inside a container 15:29:13 $ 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-330 -v /w/workspace/gexfoundry_device-snmp-go_PR-330:/w/workspace/gexfoundry_device-snmp-go_PR-330:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-330@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-330@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 15:29:22 17808c966233: Pull complete 15:29:22 f4c1fc716caa: Pull complete 15:29:22 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 15:29:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 15:29:22 ---> ea914061e18c 15:29:22 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:29:24 ---> Running in b17e7bb2bb16 15:29:24 Removing intermediate container b17e7bb2bb16 15:29:24 ---> e1389b1f0171 15:29:24 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:29:24 ---> Running in b7451b9225b7 15:29:25 Removing intermediate container b7451b9225b7 15:29:25 ---> 330c27995930 15:29:25 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:29:25 ---> Running in 41818ea36891 15:29:25 Removing intermediate container 41818ea36891 15:29:25 ---> 8032170253ba 15:29:25 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:29:25 ---> Running in 9969a52f67fe 15:29:25 Removing intermediate container 9969a52f67fe 15:29:25 ---> 3113eec42f06 15:29:25 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:29:25 ---> Running in f4dca3e13b04 15:29:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:29:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:29:28 (1/4) Installing openssh-keygen (9.3_p2-r0) 15:29:28 (2/4) Installing libedit (20221030.3.1-r1) 15:29:28 (3/4) Installing openssh-client-common (9.3_p2-r0) 15:29:28 (4/4) Installing openssh-client-default (9.3_p2-r0) 15:29:28 Executing busybox-1.36.1-r2.trigger 15:29:28 OK: 270 MiB in 56 packages 15:29:29 Removing intermediate container f4dca3e13b04 15:29:29 ---> fbaf5ab50b95 15:29:29 Step 8/12 : WORKDIR /device-snmp-go 15:29:29 ---> Running in cb3a5d67c83f 15:29:29 $ docker top 55258eded9599ef77cf52f6d145772f0725a5f9f37de00cfa6d242d9d7911473 -eo pid,comm [Pipeline] { 15:29:29 Removing intermediate container cb3a5d67c83f 15:29:29 ---> 0f42fa401f4b 15:29:29 Step 9/12 : COPY go.mod vendor* ./ [Pipeline] libraryResource [Pipeline] sh 15:29:30 ---> 98de89ec3c78 15:29:30 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:29:30 ---> Running in c27e9f58bfa2 15:29:30 ---> job-cost.sh 15:29:30 lf-activate-venv: SKIPPING 15:29:30 INFO: No Stack... 15:29:30 INFO: Retrieving Pricing Info for: v3-standard-8 15:29:31 INFO: Archiving Costs [Pipeline] sh 15:29:31 + cat /w/workspace/gexfoundry_device-snmp-go_PR-330/archives/cost.csv 15:29:31 + cut -d, -f6 [Pipeline] lock 15:29:31 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-330-2-stack-cost] 15:29:31 Resource [jenkins-edgexfoundry-device-snmp-go-PR-330-2-stack-cost] did not exist. Created. 15:29:31 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-330-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:29:31 + echo total: 0.2199999988079071 [Pipeline] stash 15:29:31 Stashed 1 file(s) [Pipeline] } 15:29:31 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-330-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:29:31 $ docker stop --time=1 55258eded9599ef77cf52f6d145772f0725a5f9f37de00cfa6d242d9d7911473 15:29:33 $ docker rm -f --volumes 55258eded9599ef77cf52f6d145772f0725a5f9f37de00cfa6d242d9d7911473 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:30:51 Removing intermediate container c27e9f58bfa2 15:30:51 ---> 055148627209 15:30:51 Step 11/12 : COPY . . 15:30:51 ---> f650a921ab37 15:30:51 Step 12/12 : RUN ${MAKE} 15:30:51 ---> Running in 58515bc6251c 15:30:51 noop 15:30:51 Removing intermediate container 58515bc6251c 15:30:51 ---> b32f3ecceeca 15:30:51 Successfully built b32f3ecceeca 15:30:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:30:52 + docker inspect -f . ci-base-image-arm64 15:30:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:30:52 prd-ubuntu20.04-docker-arm64-4c-16g-17210 does not seem to be running inside a container 15:30:52 $ 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 ******** -e ******** ci-base-image-arm64 cat 15:30:53 $ docker top 9b8f7eba9bbbbff0e523663b78352ec04f99633c626cba950cb92ae3308132b8 -eo pid,comm [Pipeline] { [Pipeline] sh 15:30:54 + go version 15:30:54 go version go1.21.0 linux/arm64 [Pipeline] } 15:30:54 $ docker stop --time=1 9b8f7eba9bbbbff0e523663b78352ec04f99633c626cba950cb92ae3308132b8 15:30:56 $ docker rm -f --volumes 9b8f7eba9bbbbff0e523663b78352ec04f99633c626cba950cb92ae3308132b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:30:56 + docker inspect -f . ci-base-image-arm64 15:30:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:30:56 prd-ubuntu20.04-docker-arm64-4c-16g-17210 does not seem to be running inside a container 15:30:56 $ 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 ******** -e ******** ci-base-image-arm64 cat 15:30:58 $ docker top 06dc0ae28a3aa6a5f00122d8b03335c1e64bdc4c218a52fb7f615bca3b61d067 -eo pid,comm [Pipeline] { [Pipeline] sh 15:30:58 + git config --global --add safe.directory /w/workspace/device-snmp-go/2 [Pipeline] fileExists [Pipeline] sh 15:30:59 + make test 15:30:59 go test ./... -coverprofile=coverage.out 15:31:03 ? github.com/edgexfoundry/device-snmp-go [no test files] 15:32:40 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 15:32:40 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.033s coverage: 0.0% of statements 15:32:40 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:32:40 go vet ./... 15:32:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:32:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:32:48 ./bin/test-attribution-txt.sh [Pipeline] echo 15:32:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 15:32:48 $ docker stop --time=1 06dc0ae28a3aa6a5f00122d8b03335c1e64bdc4c218a52fb7f615bca3b61d067 15:32:50 $ docker rm -f --volumes 06dc0ae28a3aa6a5f00122d8b03335c1e64bdc4c218a52fb7f615bca3b61d067 [Pipeline] // withDockerContainer [Pipeline] sh 15:32:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:32:51 Warning: overwriting stash ‘coverage-report’ 15:32:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:32:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:32:52 + ls -al . 15:32:52 total 168 15:32:52 drwxrwxr-x 7 jenkins jenkins 4096 Nov 10 15:31 . 15:32:52 drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 15:28 .. 15:32:52 -rw-rw-r-- 1 jenkins jenkins 6 Nov 10 15:28 .dockerignore 15:32:52 drwxrwxr-x 8 jenkins jenkins 4096 Nov 10 15:28 .git 15:32:52 drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 15:28 .github 15:32:52 -rw-rw-r-- 1 jenkins jenkins 263 Nov 10 15:28 .gitignore 15:32:52 -rw-rw-r-- 1 jenkins jenkins 41 Nov 10 15:28 .golangci.yml 15:32:52 -rw-rw-r-- 1 jenkins jenkins 10025 Nov 10 15:28 Attribution.txt 15:32:52 -rw-rw-r-- 1 jenkins jenkins 11809 Nov 10 15:28 CHANGELOG.md 15:32:52 -rw-rw-r-- 1 jenkins jenkins 1462 Nov 10 15:28 Dockerfile 15:32:52 -rw-rw-r-- 1 jenkins jenkins 677 Nov 10 15:28 GOVERNANCE.md 15:32:52 -rw-rw-r-- 1 jenkins jenkins 656 Nov 10 15:28 Jenkinsfile 15:32:52 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 10 15:28 LICENSE 15:32:52 -rw-rw-r-- 1 jenkins jenkins 2240 Nov 10 15:28 Makefile 15:32:52 -rw-rw-r-- 1 jenkins jenkins 620 Nov 10 15:28 OWNERS.md 15:32:52 -rw-rw-r-- 1 jenkins jenkins 10477 Nov 10 15:28 README.md 15:32:52 -rw-rw-r-- 1 jenkins jenkins 5 Nov 10 15:26 VERSION 15:32:52 drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 15:28 bin 15:32:52 drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 15:28 cmd 15:32:52 -rw-r--r-- 1 jenkins jenkins 8837 Nov 10 15:32 coverage.out 15:32:52 -rw-rw-r-- 1 jenkins jenkins 3665 Nov 10 15:28 go.mod 15:32:52 -rw-rw-r-- 1 jenkins jenkins 34728 Nov 10 15:28 go.sum 15:32:52 drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 15:28 internal 15:32:52 -rw-rw-r-- 1 jenkins jenkins 228 Nov 10 15:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:32:53 + 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=0252b3145001977b9d32625d27d69085ef0d7ded --label arch=arm64 --label version=0.0.0 . 15:32:53 Sending build context to Docker daemon 2.977MB 15:32:53 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 15:32:53 Step 2/24 : FROM ${BASE} AS builder 15:32:53 ---> b32f3ecceeca 15:32:53 Step 3/24 : ARG ADD_BUILD_TAGS="" 15:32:53 ---> Running in 648375e35671 15:32:54 Removing intermediate container 648375e35671 15:32:54 ---> 784c0c6ec44d 15:32:54 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:32:54 ---> Running in 8cb3975e9ca2 15:32:54 Removing intermediate container 8cb3975e9ca2 15:32:54 ---> 2a250d9bbd92 15:32:54 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:32:54 ---> Running in 597d9ca20e81 15:32:54 Removing intermediate container 597d9ca20e81 15:32:54 ---> 0e3ddd760633 15:32:54 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 15:32:54 ---> Running in a6bca763a5f7 15:32:55 Removing intermediate container a6bca763a5f7 15:32:55 ---> d07db8e592e7 15:32:55 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:32:55 ---> Running in a946ffb52742 15:32:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:32:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:32:57 OK: 270 MiB in 56 packages 15:32:58 Removing intermediate container a946ffb52742 15:32:58 ---> f53aae6630a3 15:32:58 Step 8/24 : WORKDIR /device-snmp-go 15:32:58 ---> Running in 3238bb877b8d 15:32:58 Removing intermediate container 3238bb877b8d 15:32:58 ---> 428289f0e21d 15:32:58 Step 9/24 : COPY go.mod vendor* ./ 15:32:59 ---> 3b959882bda5 15:32:59 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:32:59 ---> Running in f5e176f1c84c 15:33:01 Removing intermediate container f5e176f1c84c 15:33:01 ---> 6cf583a1347b 15:33:01 Step 11/24 : COPY . . 15:33:01 ---> daa6d8b1541c 15:33:01 Step 12/24 : RUN ${MAKE} 15:33:02 ---> Running in 95da934f5ad3 15:33:03 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 15:34:54 Removing intermediate container 95da934f5ad3 15:34:54 ---> e0cb2a27173e 15:34:54 Step 13/24 : FROM alpine:3.18 15:34:54 3.18: Pulling from library/alpine 15:34:54 579b34f0a95b: Pulling fs layer 15:34:54 579b34f0a95b: Verifying Checksum 15:34:54 579b34f0a95b: Download complete 15:34:54 579b34f0a95b: Pull complete 15:34:54 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 15:34:54 Status: Downloaded newer image for alpine:3.18 15:34:54 ---> 3cc203321400 15:34:54 Step 14/24 : RUN apk add --update --no-cache dumb-init 15:34:54 ---> Running in 79dfb7c34fd3 15:34:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:34:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:34:54 (1/1) Installing dumb-init (1.2.5-r2) 15:34:54 Executing busybox-1.36.1-r2.trigger 15:34:54 OK: 8 MiB in 16 packages 15:34:54 Removing intermediate container 79dfb7c34fd3 15:34:54 ---> 3b393fad5b05 15:34:54 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 15:34:54 ---> ad5297ed0c29 15:34:54 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 15:34:54 ---> e841b965c59a 15:34:54 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 15:34:54 ---> e6e1882ef1fb 15:34:54 Step 18/24 : EXPOSE 59993 15:34:54 ---> Running in 964ad133ab24 15:34:54 Removing intermediate container 964ad133ab24 15:34:54 ---> 5c922791d35a 15:34:54 Step 19/24 : EXPOSE 161 15:34:54 ---> Running in f041f64d65db 15:34:54 Removing intermediate container f041f64d65db 15:34:54 ---> 8e22f4dfe5db 15:34:54 Step 20/24 : ENTRYPOINT ["/device-snmp"] 15:34:54 ---> Running in 2c73f59fe164 15:34:54 Removing intermediate container 2c73f59fe164 15:34:54 ---> 8ae30c5fcacb 15:34:54 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 15:34:54 ---> Running in 67a83b12ffd6 15:34:54 Removing intermediate container 67a83b12ffd6 15:34:54 ---> b3831fa093cc 15:34:54 Step 22/24 : LABEL arch=arm64 15:34:54 ---> Running in f6436b2f605e 15:34:54 Removing intermediate container f6436b2f605e 15:34:54 ---> d4ffab45f15e 15:34:54 Step 23/24 : LABEL git_sha=0252b3145001977b9d32625d27d69085ef0d7ded 15:34:54 ---> Running in 83c1a158618e 15:34:54 Removing intermediate container 83c1a158618e 15:34:54 ---> 2cd9ee8ff477 15:34:54 Step 24/24 : LABEL version=0.0.0 15:34:54 ---> Running in 1464e9ba7690 15:34:54 Removing intermediate container 1464e9ba7690 15:34:54 ---> 8a05eda5ade4 15:34:54 [Warning] One or more build-args [ARCH] were not consumed 15:34:54 Successfully built 8a05eda5ade4 15:34:54 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 15:34:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:34:55 15:34:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:34:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:34:55 arm64: Pulling from edgex-lftools-log-publisher 15:34:55 8998bd30e6a1: Pulling fs layer 15:34:55 04944245beec: Pulling fs layer 15:34:55 699f458cf7ca: Pulling fs layer 15:34:55 765212b225bb: Pulling fs layer 15:34:55 f23df028b6ca: Pulling fs layer 15:34:55 d65c8cfc05b1: Pulling fs layer 15:34:55 2437ff75d9bd: Pulling fs layer 15:34:55 765212b225bb: Waiting 15:34:55 d65c8cfc05b1: Waiting 15:34:55 f23df028b6ca: Waiting 15:34:55 2437ff75d9bd: Waiting 15:34:56 04944245beec: Verifying Checksum 15:34:56 04944245beec: Download complete 15:34:56 765212b225bb: Verifying Checksum 15:34:56 765212b225bb: Download complete 15:34:56 f23df028b6ca: Verifying Checksum 15:34:56 f23df028b6ca: Download complete 15:34:56 d65c8cfc05b1: Verifying Checksum 15:34:56 d65c8cfc05b1: Download complete 15:34:56 699f458cf7ca: Verifying Checksum 15:34:56 699f458cf7ca: Download complete 15:34:56 8998bd30e6a1: Verifying Checksum 15:34:56 8998bd30e6a1: Download complete 15:34:59 2437ff75d9bd: Verifying Checksum 15:34:59 2437ff75d9bd: Download complete 15:35:01 8998bd30e6a1: Pull complete 15:35:01 04944245beec: Pull complete 15:35:03 699f458cf7ca: Pull complete 15:35:03 765212b225bb: Pull complete 15:35:03 f23df028b6ca: Pull complete 15:35:03 d65c8cfc05b1: Pull complete 15:35:22 2437ff75d9bd: Pull complete 15:35:22 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:35:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:35:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:35:22 prd-ubuntu20.04-docker-arm64-4c-16g-17210 does not seem to be running inside a container 15:35:22 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:35:25 $ docker top b6d974c6fad8f4d6f28a2de9dff9b79049add598cc3d891323a2a0fb962bdb0a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:35:25 ---> job-cost.sh 15:35:25 lf-activate-venv: SKIPPING 15:35:25 INFO: No Stack... 15:35:26 INFO: Retrieving Pricing Info for: v3-standard-4 15:35:27 INFO: Archiving Costs [Pipeline] sh 15:35:27 + cat /w/workspace/device-snmp-go/2/archives/cost.csv 15:35:27 + cut -d, -f6 [Pipeline] lock 15:35:27 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-330-2-stack-cost] 15:35:27 Resource [jenkins-edgexfoundry-device-snmp-go-PR-330-2-stack-cost] did not exist. Created. 15:35:27 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-330-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:35:28 /w/workspace/device-snmp-go/2@tmp/durable-9c6f5310/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:35:28 + echo total: 0.10999999940395355 [Pipeline] stash 15:35:28 Warning: overwriting stash ‘stack-cost’ 15:35:28 Stashed 1 file(s) [Pipeline] } 15:35:28 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-330-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:35:28 $ docker stop --time=1 b6d974c6fad8f4d6f28a2de9dff9b79049add598cc3d891323a2a0fb962bdb0a 15:35:30 $ docker rm -f --volumes b6d974c6fad8f4d6f28a2de9dff9b79049add598cc3d891323a2a0fb962bdb0a [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 15:35:31 provisioning config files... 15:35:31 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-330@tmp/config6440364363140759107tmp [Pipeline] { [Pipeline] sh 15:35:31 + set +x 15:35:31 + curl -s https://codecov.io/bash 15:35:31 + bash -s -- 15:35:31 15:35:31 _____ _ 15:35:31 / ____| | | 15:35:31 | | ___ __| | ___ ___ _____ __ 15:35:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:35:31 | |___| (_) | (_| | __/ (_| (_) \ V / 15:35:31 \_____\___/ \__,_|\___|\___\___/ \_/ 15:35:31 Bash-1.0.6 15:35:31 15:35:31 15:35:31 ==> git version 2.25.1 found 15:35:31 ==> 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 15:35:31 Release-Date: 2020-01-08 15:35:31 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:35:31 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:35:31 ==> Jenkins CI detected. 15:35:31 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-330 15:35:31 project root: . 15:35:31 --> token set from env 15:35:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:35:31 ==> Running gcov in . (disable via -X gcov) 15:35:31 ==> Python coveragepy not found 15:35:31 ==> Searching for coverage reports in: 15:35:31 + . 15:35:31 -> Found 1 reports 15:35:31 ==> Detecting git/mercurial file structure 15:35:31 ==> Reading reports 15:35:31 + ./coverage.out bytes=8837 15:35:31 ==> Appending adjustments 15:35:31 https://docs.codecov.io/docs/fixing-reports 15:35:31 + Found adjustments 15:35:31 ==> Gzipping contents 15:35:31 4.0K /tmp/codecov.8Xr3Mv.gz 15:35:31 ==> Uploading reports 15:35:31 url: https://codecov.io 15:35:31 query: branch=PR-330&commit=896e0074bb0b44c059e1e86762ec40d8f2ad5861&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-330%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=330&job=&cmd_args= 15:35:31 -> Pinging Codecov 15:35:31 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-330&commit=896e0074bb0b44c059e1e86762ec40d8f2ad5861&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-330%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=330&job=&cmd_args= 15:35:31 -> Uploading to 15:35:31 https://storage.googleapis.com/codecov/v4/raw/2023-11-10/6C56EA5C29638FB4528AC87E60AF5AE0/896e0074bb0b44c059e1e86762ec40d8f2ad5861/427f9979-243a-494b-95a7-6dfe922024a7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231110T153531Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d492fafddd44d5f27a964f069ea5a896e6ca46a769162b95f42bbe84c108b5e1 15:35:31 % Total % Received % Xferd Average Speed Time Time Time Current 15:35:31 Dload Upload Total Spent Left Speed 15:35:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1435 0 0 100 1435 0 5143 --:--:-- --:--:-- --:--:-- 5143 15:35:32 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/896e0074bb0b44c059e1e86762ec40d8f2ad5861 [Pipeline] } 15:35:32 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 15:35:32 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-330/archives ] 15:35:32 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-330/archives 15:35:32 total 16 15:35:32 drwxr-xr-x 3 root root 4096 Nov 10 15:29 . 15:35:32 drwxrwxr-x 9 jenkins jenkins 4096 Nov 10 15:29 .. 15:35:32 drwxr-xr-x 2 root root 4096 Nov 10 15:29 cost 15:35:32 -rw-r--r-- 1 root root 86 Nov 10 15:29 cost.csv 15:35:32 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-330/archives 15:35:32 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-330/archives 15:35:32 total 16 15:35:32 drwxr-xr-x 3 jenkins jenkins 4096 Nov 10 15:29 . 15:35:32 drwxrwxr-x 9 jenkins jenkins 4096 Nov 10 15:29 .. 15:35:32 drwxr-xr-x 2 jenkins jenkins 4096 Nov 10 15:29 cost 15:35:32 -rw-r--r-- 1 jenkins jenkins 86 Nov 10 15:29 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:35:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:35:34 ---> package-listing.sh 15:35:34 ++ facter osfamily 15:35:34 ++ tr '[:upper:]' '[:lower:]' 15:35:34 + OS_FAMILY=debian 15:35:34 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-330 15:35:34 + START_PACKAGES=/tmp/packages_start.txt 15:35:34 + END_PACKAGES=/tmp/packages_end.txt 15:35:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:35:34 + PACKAGES=/tmp/packages_start.txt 15:35:34 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-330 ']' 15:35:34 + PACKAGES=/tmp/packages_end.txt 15:35:34 + case "${OS_FAMILY}" in 15:35:34 + dpkg -l 15:35:34 + grep '^ii' 15:35:34 + '[' -f /tmp/packages_start.txt ']' 15:35:34 + '[' -f /tmp/packages_end.txt ']' 15:35:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:35:34 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-330 ']' 15:35:34 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-330/archives/ 15:35:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-330/archives/ [Pipeline] echo 15:35:34 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-330/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:35:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:35:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:35:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:35:35 prd-ubuntu20.04-docker-8c-8g-17209 does not seem to be running inside a container 15:35:35 $ 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-330/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-330 -v /w/workspace/gexfoundry_device-snmp-go_PR-330:/w/workspace/gexfoundry_device-snmp-go_PR-330:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-330@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-330@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 15:35:35 $ docker top f2554a3dbc3cdf485525e2811f8d82c3381723e0a61afcac2c1bbedfb557ff7a -eo pid,comm [Pipeline] { [Pipeline] sh 15:35:35 + touch /tmp/pre-build-complete [Pipeline] sh 15:35:36 + mkdir -p /var/log/sysstat [Pipeline] sh 15:35:36 + ls /var/log/sa-host 15:35:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:35:36 provisioning config files... 15:35:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-330@tmp/config16291797616817925853tmp [Pipeline] { [Pipeline] echo 15:35:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:35:36 ---> create-netrc.sh [Pipeline] } 15:35:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:35:37 ---> python-tools-install.sh [Pipeline] echo 15:35:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:35:37 ---> sudo-logs.sh 15:35:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:35:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:35:37 ---> job-cost.sh 15:35:37 lf-activate-venv: SKIPPING 15:35:37 DEBUG: total: 0.2199999988079071 15:35:37 INFO: Retrieving Stack Cost... 15:35:38 INFO: Retrieving Pricing Info for: v3-standard-8 15:35:38 INFO: Archiving Costs [Pipeline] echo 15:35:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:35:38 ---> logs-deploy.sh 15:35:38 lf-activate-venv: SKIPPING 15:35:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-330/2 15:35:38 INFO: archiving workspace using pattern(s): 15:35:39 Archives upload complete. 15:35:39 INFO: archiving logs to Nexus