Pull request #254 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e1443025a50c1c02b91f129322ee37076f9347ec+d33e94f3f1180f7604676314315f9cce542fcb85 (4b7b9a975a20b65e307bb90651f592625d84ec86) 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-ssh11650553630994676526.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh12133068241125714036.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-254/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-254/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3772312826764002213.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh7291738680944028419.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-254/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-254/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17052244027168051026.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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-8233’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-8234’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-8957’ is offline Running on prd-ubuntu20.04-docker-8c-8g-9348 in /w/workspace/gexfoundry_device-snmp-go_PR-254 [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-254 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit d33e94f3f1180f7604676314315f9cce542fcb85 into PR head commit e1443025a50c1c02b91f129322ee37076f9347ec > 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/254/head:refs/remotes/origin/PR-254 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e1443025a50c1c02b91f129322ee37076f9347ec # 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 d33e94f3f1180f7604676314315f9cce542fcb85 # timeout=10 Merge succeeded, producing e1443025a50c1c02b91f129322ee37076f9347ec Checking out Revision e1443025a50c1c02b91f129322ee37076f9347ec (PR-254) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:48:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:48:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:48:27 ========================================================= 02:48:27 EdgeX Global Pipelines Version Info 02:48:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e1443025a50c1c02b91f129322ee37076f9347ec # timeout=10 > git rev-list --no-walk 40c53d7cd947641f9204bd0ab6301253f01c0838 # timeout=10 02:48:27 ------------------- 02:48:27 stable info: 02:48:27 ------------------- 02:48:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:48:27 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 02:48:27 Message: update stable to v1.0.244 02:48:28 ------------------- 02:48:28 experimental info: 02:48:28 ------------------- 02:48:28 Commited By: **** collab-it+edgex@linuxfoundation.org 02:48:28 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 02:48:28 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:48:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 02:48:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 02:48:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:48:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:48:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:48:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 02:48:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:48:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:48:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:48:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:48:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:48:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 02:48:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:48:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:48:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:48:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:48:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:48:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:48:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:48:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:48:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:48:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:48:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:48:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:48:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:48:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:48:29 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:48:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-254 [Pipeline] echo 02:48:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-254 [Pipeline] echo 02:48:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-254 [Pipeline] echo 02:48:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e1443025a50c1c02b91f129322ee37076f9347ec [Pipeline] echo 02:48:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e144302 [Pipeline] echo 02:48:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:48:29 provisioning config files... 02:48:29 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-254@tmp/config1259405136772728871tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:48:29 ---> docker-login.sh 02:48:29 nexus3.edgexfoundry.org:10001 02:48:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:48:30 Configure a credential helper to remove this warning. See 02:48:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:48:30 02:48:30 Login Succeeded 02:48:30 nexus3.edgexfoundry.org:10002 02:48:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:48:30 Configure a credential helper to remove this warning. See 02:48:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:48:30 02:48:30 Login Succeeded 02:48:30 nexus3.edgexfoundry.org:10003 02:48:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:48:30 Configure a credential helper to remove this warning. See 02:48:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:48:30 02:48:30 Login Succeeded 02:48:30 nexus3.edgexfoundry.org:10004 02:48:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:48:30 Configure a credential helper to remove this warning. See 02:48:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:48:30 02:48:30 Login Succeeded 02:48:30 docker.io 02:48:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:48:30 Configure a credential helper to remove this warning. See 02:48:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:48:30 02:48:30 Login Succeeded 02:48:30 ---> docker-login.sh ends [Pipeline] } 02:48:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:48:30 + git rev-list -1 --merges e1443025a50c1c02b91f129322ee37076f9347ec~1..e1443025a50c1c02b91f129322ee37076f9347ec [Pipeline] echo 02:48:30 -----------> git rev-list -1 --merges e1443025a50c1c02b91f129322ee37076f9347ec~1..e1443025a50c1c02b91f129322ee37076f9347ec e1443025a50c1c02b91f129322ee37076f9347ec [false] [Pipeline] sh 02:48:31 + git log --format=format:%s -1 e1443025a50c1c02b91f129322ee37076f9347ec [Pipeline] echo 02:48:31 ========================================================= 02:48:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:48:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:48:31 + git log --format=format:%s -1 e1443025a50c1c02b91f129322ee37076f9347ec [Pipeline] echo 02:48:31 [semverPrep] GIT_COMMIT: e1443025a50c1c02b91f129322ee37076f9347ec, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo 02:48:31 [semverPrep] This is not a build commit. [Pipeline] sh 02:48:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:48:31 + grep -v github /etc/ssh/ssh_known_hosts 02:48:31 + [ -e /tmp/ssh_known_hosts ] 02:48:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:48:31 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:48:31 + sudo tee -a /etc/ssh/ssh_known_hosts 02:48:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:48:32 02:48:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:48:32 0.1.4: Pulling from edgex-devops/py-git-semver 02:48:32 b85a868b505f: Pulling fs layer 02:48:32 e2be974225ed: Pulling fs layer 02:48:32 339a4e72a1f5: Pulling fs layer 02:48:32 988bab9f4d93: Pulling fs layer 02:48:32 1469e6f7b9e6: Pulling fs layer 02:48:32 eaf3925da568: Pulling fs layer 02:48:32 bab4dde63d76: Pulling fs layer 02:48:32 bde34c3a00c8: Pulling fs layer 02:48:32 b352a97aabf1: Pulling fs layer 02:48:32 4872d77fe225: Pulling fs layer 02:48:32 5851b861e8e6: Pulling fs layer 02:48:32 bab4dde63d76: Waiting 02:48:32 b352a97aabf1: Waiting 02:48:32 4872d77fe225: Waiting 02:48:32 5851b861e8e6: Waiting 02:48:32 1469e6f7b9e6: Waiting 02:48:32 eaf3925da568: Waiting 02:48:32 988bab9f4d93: Waiting 02:48:32 bde34c3a00c8: Waiting 02:48:32 e2be974225ed: Download complete 02:48:32 988bab9f4d93: Verifying Checksum 02:48:32 988bab9f4d93: Download complete 02:48:32 1469e6f7b9e6: Verifying Checksum 02:48:32 1469e6f7b9e6: Download complete 02:48:32 339a4e72a1f5: Verifying Checksum 02:48:32 339a4e72a1f5: Download complete 02:48:32 eaf3925da568: Verifying Checksum 02:48:32 eaf3925da568: Download complete 02:48:32 bde34c3a00c8: Download complete 02:48:32 b352a97aabf1: Download complete 02:48:33 b85a868b505f: Verifying Checksum 02:48:33 b85a868b505f: Download complete 02:48:33 5851b861e8e6: Verifying Checksum 02:48:33 5851b861e8e6: Download complete 02:48:33 bab4dde63d76: Verifying Checksum 02:48:33 bab4dde63d76: Download complete 02:48:33 4872d77fe225: Download complete 02:48:34 b85a868b505f: Pull complete 02:48:34 e2be974225ed: Pull complete 02:48:35 339a4e72a1f5: Pull complete 02:48:35 988bab9f4d93: Pull complete 02:48:35 1469e6f7b9e6: Pull complete 02:48:35 eaf3925da568: Pull complete 02:48:37 bab4dde63d76: Pull complete 02:48:37 bde34c3a00c8: Pull complete 02:48:37 b352a97aabf1: Pull complete 02:48:37 4872d77fe225: Pull complete 02:48:37 5851b861e8e6: Pull complete 02:48:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:48:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:48:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:48:37 prd-ubuntu20.04-docker-8c-8g-9348 does not seem to be running inside a container 02:48:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-254 -v /w/workspace/gexfoundry_device-snmp-go_PR-254:/w/workspace/gexfoundry_device-snmp-go_PR-254:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-254@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-254@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 02:48:39 $ docker top ec60e9449f746802512303e3588c9e99bec879e251937a35a8abc260fbe4beaa -eo pid,comm 02:48:39 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). 02:48:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:48:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:48:39 [ssh-agent] Looking for ssh-agent implementation... 02:48:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:48:39 $ docker exec ec60e9449f746802512303e3588c9e99bec879e251937a35a8abc260fbe4beaa ssh-agent 02:48:39 SSH_AUTH_SOCK=/tmp/ssh-e0kcP6Va2AsP/agent.32 02:48:39 SSH_AGENT_PID=38 02:48:39 Running ssh-add (command line suppressed) 02:48:40 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-254@tmp/private_key_2158785089027189580.key (/w/workspace/gexfoundry_device-snmp-go_PR-254@tmp/private_key_2158785089027189580.key) 02:48:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:48:40 + git tag --points-at HEAD [Pipeline] } 02:48:40 $ docker exec --env ******** --env ******** ec60e9449f746802512303e3588c9e99bec879e251937a35a8abc260fbe4beaa ssh-agent -k 02:48:40 unset SSH_AUTH_SOCK; 02:48:40 unset SSH_AGENT_PID; 02:48:40 echo Agent pid 38 killed; 02:48:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:48:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:48:40 [ssh-agent] Looking for ssh-agent implementation... 02:48:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:48:40 $ docker exec ec60e9449f746802512303e3588c9e99bec879e251937a35a8abc260fbe4beaa ssh-agent 02:48:40 SSH_AUTH_SOCK=/tmp/ssh-vqJFZUjY3B7l/agent.72 02:48:40 SSH_AGENT_PID=78 02:48:40 Running ssh-add (command line suppressed) 02:48:40 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-254@tmp/private_key_17459649593345788933.key (/w/workspace/gexfoundry_device-snmp-go_PR-254@tmp/private_key_17459649593345788933.key) 02:48:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:48:41 + git semver init 02:48:41 2023-03-09 02:48:41,354 [run_init] DEBUG init version:0.0.0 force:False 02:48:41 2023-03-09 02:48:41,355 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-254/.semver 02:48:41 2023-03-09 02:48:41,356 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-254/.semver 02:48:41 2023-03-09 02:48:41,356 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-254/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-254, universal_newlines=False, shell=None, istream=None) 02:48:42 2023-03-09 02:48:42,190 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-254/.git/info/exclude 02:48:42 2023-03-09 02:48:42,191 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-254/.semver/PR-254 with force:False 02:48:42 2023-03-09 02:48:42,191 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-254/.semver/PR-254 02:48:42 2023-03-09 02:48:42,195 [execute] INFO git cat-file --batch-check 02:48:42 2023-03-09 02:48:42,195 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-254/.semver, universal_newlines=False, shell=None, istream=) 02:48:42 2023-03-09 02:48:42,201 [execute] INFO git cat-file --batch 02:48:42 2023-03-09 02:48:42,202 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-254/.semver, universal_newlines=False, shell=None, istream=) 02:48:42 2023-03-09 02:48:42,206 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-254/.semver/PR-254 02:48:42 0.0.0 [Pipeline] } 02:48:42 $ docker exec --env ******** --env ******** ec60e9449f746802512303e3588c9e99bec879e251937a35a8abc260fbe4beaa ssh-agent -k 02:48:42 unset SSH_AUTH_SOCK; 02:48:42 unset SSH_AGENT_PID; 02:48:42 echo Agent pid 78 killed; 02:48:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:48:42 + git semver [Pipeline] } 02:48:43 $ docker stop --time=1 ec60e9449f746802512303e3588c9e99bec879e251937a35a8abc260fbe4beaa 02:48:44 $ docker rm -f --volumes ec60e9449f746802512303e3588c9e99bec879e251937a35a8abc260fbe4beaa [Pipeline] // withDockerContainer [Pipeline] sh 02:48:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:48:44 Stashed 1 file(s) [Pipeline] echo 02:48:44 [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 02:48:45 provisioning config files... 02:48:45 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-254@tmp/config542473856627583595tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:48:45 ---> docker-login.sh 02:48:45 nexus3.edgexfoundry.org:10001 02:48:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:48:45 Configure a credential helper to remove this warning. See 02:48:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:48:45 02:48:45 Login Succeeded 02:48:45 nexus3.edgexfoundry.org:10002 02:48:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:48:45 Configure a credential helper to remove this warning. See 02:48:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:48:45 02:48:45 Login Succeeded 02:48:45 nexus3.edgexfoundry.org:10003 02:48:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:48:45 Configure a credential helper to remove this warning. See 02:48:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:48:45 02:48:45 Login Succeeded 02:48:45 nexus3.edgexfoundry.org:10004 02:48:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:48:45 Configure a credential helper to remove this warning. See 02:48:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:48:45 02:48:45 Login Succeeded 02:48:45 docker.io 02:48:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:48:45 Configure a credential helper to remove this warning. See 02:48:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:48:45 02:48:45 Login Succeeded 02:48:45 ---> docker-login.sh ends [Pipeline] } 02:48:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:48:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:48:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:48:46 ========================================================= 02:48:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 02:48:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:46 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 02:48:46 Sending build context to Docker daemon 5.698MB 02:48:46 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 02:48:46 Step 2/12 : FROM ${BASE} AS builder 02:48:46 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 02:48:46 213ec9aee27d: Pulling fs layer 02:48:46 4583459ba037: Pulling fs layer 02:48:46 93c1e223e6f2: Pulling fs layer 02:48:46 53926ce57604: Pulling fs layer 02:48:46 21b2b0c7a3f4: Pulling fs layer 02:48:46 22ff95d597cd: Pulling fs layer 02:48:46 12d6caf4c0d1: Pulling fs layer 02:48:46 96b7cbca73a9: Pulling fs layer 02:48:46 a7acece74701: Pulling fs layer 02:48:46 53926ce57604: Waiting 02:48:46 21b2b0c7a3f4: Waiting 02:48:46 22ff95d597cd: Waiting 02:48:46 12d6caf4c0d1: Waiting 02:48:46 96b7cbca73a9: Waiting 02:48:46 a7acece74701: Waiting 02:48:46 93c1e223e6f2: Verifying Checksum 02:48:46 93c1e223e6f2: Download complete 02:48:46 4583459ba037: Verifying Checksum 02:48:46 4583459ba037: Download complete 02:48:46 21b2b0c7a3f4: Verifying Checksum 02:48:46 21b2b0c7a3f4: Download complete 02:48:46 22ff95d597cd: Verifying Checksum 02:48:46 22ff95d597cd: Download complete 02:48:46 213ec9aee27d: Verifying Checksum 02:48:46 213ec9aee27d: Download complete 02:48:46 12d6caf4c0d1: Download complete 02:48:46 213ec9aee27d: Pull complete 02:48:46 4583459ba037: Pull complete 02:48:46 93c1e223e6f2: Pull complete 02:48:47 a7acece74701: Verifying Checksum 02:48:47 a7acece74701: Download complete 02:48:47 96b7cbca73a9: Download complete 02:48:47 53926ce57604: Verifying Checksum 02:48:47 53926ce57604: Download complete 02:48:50 53926ce57604: Pull complete 02:48:50 21b2b0c7a3f4: Pull complete 02:48:50 22ff95d597cd: Pull complete 02:48:50 12d6caf4c0d1: Pull complete 02:48:53 96b7cbca73a9: Pull complete 02:48:54 a7acece74701: Pull complete 02:48:54 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 02:48:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 02:48:54 ---> db6d94c90886 02:48:54 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:48:56 ---> Running in 098834e3b58c 02:48:56 Removing intermediate container 098834e3b58c 02:48:56 ---> 5d37f89da6ed 02:48:56 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:48:56 ---> Running in 6b20ffa01127 02:48:56 Removing intermediate container 6b20ffa01127 02:48:56 ---> c25a617aa882 02:48:56 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:48:56 ---> Running in 5e54ee21150f 02:48:57 Removing intermediate container 5e54ee21150f 02:48:57 ---> 42745c1f97d0 02:48:57 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:48:57 ---> Running in 5438b5ff1005 02:48:57 Removing intermediate container 5438b5ff1005 02:48:57 ---> 9f120085411d 02:48:57 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:48:57 ---> Running in ca34196d5a2c 02:48:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:48:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:48:58 (1/4) Installing openssh-keygen (9.0_p1-r2) 02:48:58 (2/4) Installing libedit (20210910.3.1-r0) 02:48:58 (3/4) Installing openssh-client-common (9.0_p1-r2) 02:48:58 (4/4) Installing openssh-client-default (9.0_p1-r2) 02:48:58 Executing busybox-1.35.0-r17.trigger 02:48:58 OK: 216 MiB in 55 packages 02:48:58 Removing intermediate container ca34196d5a2c 02:48:58 ---> 9afec3138359 02:48:58 Step 8/12 : WORKDIR /device-snmp-go 02:48:58 ---> Running in 1eba5728b055 02:48:59 Removing intermediate container 1eba5728b055 02:48:59 ---> d4bdc4f5a558 02:48:59 Step 9/12 : COPY go.mod vendor* ./ 02:48:59 ---> 162d02f4da2e 02:48:59 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:48:59 ---> Running in 8803f0568c13 02:49:00 Still waiting to schedule task 02:49:00 ‘prd-centos7-blackbox-4c-2g-8233’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 02:49:00 ‘prd-centos7-blackbox-4c-2g-8234’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 02:49:00 ‘prd-ubuntu20.04-docker-8c-8g-9234’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 02:49:00 ‘prd-ubuntu20.04-docker-8c-8g-9235’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 02:49:00 ‘prd-ubuntu20.04-docker-8c-8g-9236’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 02:49:00 ‘prd-ubuntu20.04-docker-8c-8g-9350’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 02:49:00 ‘prd-ubuntu20.04-docker-8c-8g-9354’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 02:49:00 ‘prd-ubuntu20.04-docker-arm64-4c-16g-9247’ is offline 02:49:00 ‘prd-ubuntu20.04-docker-arm64-4c-16g-9253’ is offline 02:49:00 ‘prd-ubuntu20.04-docker-arm64-4c-16g-9258’ is offline 02:49:00 ‘prd-ubuntu20.04-docker-arm64-4c-16g-9347’ is offline 02:49:00 ‘prd-ubuntu20.04-docker-arm64-4c-16g-9351’ is offline 02:49:25 Removing intermediate container 8803f0568c13 02:49:25 ---> e20fc59e3283 02:49:25 Step 11/12 : COPY . . 02:49:26 ---> dbfa4313c5f4 02:49:26 Step 12/12 : RUN ${MAKE} 02:49:26 ---> Running in fab2e4b4987c 02:49:26 noop 02:49:26 Removing intermediate container fab2e4b4987c 02:49:26 ---> 3f284d2aa2fa 02:49:26 Successfully built 3f284d2aa2fa 02:49:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:49:27 + docker inspect -f . ci-base-image-x86_64 02:49:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:49:27 prd-ubuntu20.04-docker-8c-8g-9348 does not seem to be running inside a container 02:49:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-254 -v /w/workspace/gexfoundry_device-snmp-go_PR-254:/w/workspace/gexfoundry_device-snmp-go_PR-254:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-254@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-254@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 02:49:27 $ docker top d2620dc2f363d656e9f0483545f6ca77df337535d61d33425cdfba78c46ed8ce -eo pid,comm [Pipeline] { [Pipeline] sh 02:49:28 + go version 02:49:28 go version go1.18.7 linux/amd64 [Pipeline] } 02:49:28 $ docker stop --time=1 d2620dc2f363d656e9f0483545f6ca77df337535d61d33425cdfba78c46ed8ce 02:49:29 $ docker rm -f --volumes d2620dc2f363d656e9f0483545f6ca77df337535d61d33425cdfba78c46ed8ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:49:29 + docker inspect -f . ci-base-image-x86_64 02:49:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:49:29 prd-ubuntu20.04-docker-8c-8g-9348 does not seem to be running inside a container 02:49:29 $ 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-254 -v /w/workspace/gexfoundry_device-snmp-go_PR-254:/w/workspace/gexfoundry_device-snmp-go_PR-254:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-254@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-254@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 02:49:30 $ docker top db1c6c72b38db4f27fb1ab1d4621ff089480c340e7783c0fb05ca311c13ff76a -eo pid,comm [Pipeline] { [Pipeline] sh 02:49:30 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-254 [Pipeline] fileExists [Pipeline] sh 02:49:30 + make test 02:49:30 go test ./... -coverprofile=coverage.out 02:49:31 ? github.com/edgexfoundry/device-snmp-go [no test files] 02:49:36 # github.com/edgexfoundry/device-snmp-go/internal/driver 02:49:36 internal/driver/snmpdriver.go:79:33: cannot use Port (variable of type any) as type string in argument to strconv.ParseUint: 02:49:36 need type assertion 02:49:36 internal/driver/snmpdriver.go:87:26: cannot use Address (variable of type any) as type string in argument to NewSNMPClient: 02:49:36 need type assertion 02:49:39 # github.com/edgexfoundry/device-sdk-go/v3/internal/common 02:49:39 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.26/internal/common/utils.go:45:3: unknown field 'LastConnected' in struct literal of type dtos.UpdateDevice 02:49:39 # github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/handlers 02:49:39 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22/bootstrap/handlers/clients.go:76:36: not enough arguments in call to clients.NewEventClient 02:49:39 have (string) 02:49:39 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 02:49:39 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22/bootstrap/handlers/clients.go:82:37: not enough arguments in call to clients.NewDeviceClient 02:49:39 have (string) 02:49:39 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 02:49:39 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22/bootstrap/handlers/clients.go:85:44: not enough arguments in call to clients.NewDeviceServiceClient 02:49:39 have (string) 02:49:39 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 02:49:39 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22/bootstrap/handlers/clients.go:88:44: not enough arguments in call to clients.NewDeviceProfileClient 02:49:39 have (string) 02:49:39 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 02:49:39 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22/bootstrap/handlers/clients.go:91:47: not enough arguments in call to clients.NewProvisionWatcherClient 02:49:39 have (string) 02:49:39 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 02:49:39 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22/bootstrap/handlers/clients.go:121:39: not enough arguments in call to clients.NewCommandClient 02:49:39 have (string) 02:49:39 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 02:49:39 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22/bootstrap/handlers/clients.go:133:43: not enough arguments in call to clients.NewNotificationClient 02:49:39 have (string) 02:49:39 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 02:49:39 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22/bootstrap/handlers/clients.go:136:43: not enough arguments in call to clients.NewSubscriptionClient 02:49:39 have (string) 02:49:39 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 02:49:39 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22/bootstrap/handlers/clients.go:143:39: not enough arguments in call to clients.NewIntervalClient 02:49:39 have (string) 02:49:39 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 02:49:39 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22/bootstrap/handlers/clients.go:146:45: not enough arguments in call to clients.NewIntervalActionClient 02:49:39 have (string) 02:49:39 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 02:49:39 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22/bootstrap/handlers/clients.go:146:45: too many errors 02:49:39 FAIL github.com/edgexfoundry/device-snmp-go/internal/driver [build failed] 02:49:39 make: *** [Makefile:35: unittest] Error 2 [Pipeline] } 02:49:39 $ docker stop --time=1 db1c6c72b38db4f27fb1ab1d4621ff089480c340e7783c0fb05ca311c13ff76a 02:49:40 $ docker rm -f --volumes db1c6c72b38db4f27fb1ab1d4621ff089480c340e7783c0fb05ca311c13ff76a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:49:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:49:41 02:49:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:49:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:49:41 latest: Pulling from edgex-lftools-log-publisher 02:49:41 5eb5b503b376: Pulling fs layer 02:49:41 5c69ac0246d0: Pulling fs layer 02:49:41 ec43610c2a17: Pulling fs layer 02:49:41 3a2ae6a8a46f: Pulling fs layer 02:49:41 33b1e0a273af: Pulling fs layer 02:49:41 5d3b04190fa2: Pulling fs layer 02:49:41 2f39f015ded8: Pulling fs layer 02:49:41 33b1e0a273af: Waiting 02:49:41 5d3b04190fa2: Waiting 02:49:41 2f39f015ded8: Waiting 02:49:41 3a2ae6a8a46f: Waiting 02:49:41 5c69ac0246d0: Verifying Checksum 02:49:41 5c69ac0246d0: Download complete 02:49:41 3a2ae6a8a46f: Download complete 02:49:42 ec43610c2a17: Verifying Checksum 02:49:42 ec43610c2a17: Download complete 02:49:42 33b1e0a273af: Verifying Checksum 02:49:42 33b1e0a273af: Download complete 02:49:42 5d3b04190fa2: Download complete 02:49:42 5eb5b503b376: Verifying Checksum 02:49:42 5eb5b503b376: Download complete 02:49:43 2f39f015ded8: Download complete 02:49:43 5eb5b503b376: Pull complete 02:49:43 5c69ac0246d0: Pull complete 02:49:43 ec43610c2a17: Pull complete 02:49:43 3a2ae6a8a46f: Pull complete 02:49:43 33b1e0a273af: Pull complete 02:49:44 5d3b04190fa2: Pull complete 02:49:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9351 in /w/workspace/gexfoundry_device-snmp-go_PR-254 [Pipeline] { [Pipeline] ws 02:49:44 Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout 02:49:44 Selected Git installation does not exist. Using Default 02:49:44 The recommended git tool is: NONE 02:49:48 2f39f015ded8: Pull complete 02:49:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:49:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:49:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:49:48 prd-ubuntu20.04-docker-8c-8g-9348 does not seem to be running inside a container 02:49:48 $ 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-254 -v /w/workspace/gexfoundry_device-snmp-go_PR-254:/w/workspace/gexfoundry_device-snmp-go_PR-254:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-254@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-254@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 02:49:50 $ docker top 5defebf7718ad976e3c938c5d0094df6c50bad91e2f0b483e7f42a3433caff4c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:49:51 ---> job-cost.sh 02:49:51 lf-activate-venv: SKIPPING 02:49:51 INFO: No Stack... 02:49:51 using credential edgex-jenkins-ssh 02:49:51 Cloning the remote Git repository 02:49:51 INFO: Retrieving Pricing Info for: v3-standard-8 02:49:51 INFO: Archiving Costs [Pipeline] sh 02:49:52 + cat /w/workspace/gexfoundry_device-snmp-go_PR-254/archives/cost.csv 02:49:52 + cut -d, -f6 [Pipeline] lock 02:49:52 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-254-2-stack-cost] 02:49:52 Resource [jenkins-edgexfoundry-device-snmp-go-PR-254-2-stack-cost] did not exist. Created. 02:49:52 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-254-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:49:51 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 02:49:51 > git init /w/workspace/device-snmp-go/2 # timeout=10 02:49:51 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 02:49:51 > git --version # timeout=10 02:49:51 > git --version # 'git version 2.25.1' 02:49:51 using GIT_SSH to set credentials SSH Credentials for GitHub 02:49:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:49:52 + echo total: 0.2199999988079071 [Pipeline] stash 02:49:52 Stashed 1 file(s) [Pipeline] } 02:49:52 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-254-2-stack-cost] [Pipeline] // lock [Pipeline] } 02:49:52 $ docker stop --time=1 5defebf7718ad976e3c938c5d0094df6c50bad91e2f0b483e7f42a3433caff4c 02:49:52 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 02:49:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:49:53 $ docker rm -f --volumes 5defebf7718ad976e3c938c5d0094df6c50bad91e2f0b483e7f42a3433caff4c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:49:53 Failed in branch amd64 02:49:54 Merging remotes/origin/main commit d33e94f3f1180f7604676314315f9cce542fcb85 into PR head commit e1443025a50c1c02b91f129322ee37076f9347ec 02:49:54 Merge succeeded, producing e1443025a50c1c02b91f129322ee37076f9347ec 02:49:54 Checking out Revision e1443025a50c1c02b91f129322ee37076f9347ec (PR-254) 02:49:54 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 02:49:54 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 02:49:54 using GIT_SSH to set credentials SSH Credentials for GitHub 02:49:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/254/head:refs/remotes/origin/PR-254 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:49:54 > git config core.sparsecheckout # timeout=10 02:49:54 > git checkout -f e1443025a50c1c02b91f129322ee37076f9347ec # timeout=10 02:49:54 > git remote # timeout=10 02:49:54 > git config --get remote.origin.url # timeout=10 02:49:54 using GIT_SSH to set credentials SSH Credentials for GitHub 02:49:54 > git merge d33e94f3f1180f7604676314315f9cce542fcb85 # timeout=10 02:49:54 > git rev-parse HEAD^{commit} # timeout=10 02:49:54 > git config core.sparsecheckout # timeout=10 02:49:54 > git checkout -f e1443025a50c1c02b91f129322ee37076f9347ec # timeout=10 02:49:55 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:49:56 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:49:56 % Total % Received % Xferd Average Speed Time Time Time Current 02:49:56 Dload Upload Total Spent Left Speed 02:49:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 132k 0 --:--:-- --:--:-- --:--:-- 133k [Pipeline] sh 02:49:57 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:49:57 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:49:57 + sudo tee /etc/docker/daemon.new 02:49:57 { 02:49:57 "registry-mirrors": [ 02:49:57 "https://nexus3.edgexfoundry.org:10001" 02:49:57 ], 02:49:57 "bip": "10.250.0.254/24", 02:49:57 "hosts": [ 02:49:57 "tcp://0.0.0.0:5555", 02:49:57 "unix:///var/run/docker.sock" 02:49:57 ], 02:49:57 "mtu": 1458, 02:49:57 "selinux-enabled": true, 02:49:57 "seccomp-profile": "/etc/docker/seccomp.json" 02:49:57 } [Pipeline] sh 02:49:57 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:49:58 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:50:16 provisioning config files... 02:50:16 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config609180739898110662tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:50:16 ---> docker-login.sh 02:50:16 nexus3.edgexfoundry.org:10001 02:50:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:17 Configure a credential helper to remove this warning. See 02:50:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:17 02:50:17 Login Succeeded 02:50:17 nexus3.edgexfoundry.org:10002 02:50:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:17 Configure a credential helper to remove this warning. See 02:50:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:17 02:50:17 Login Succeeded 02:50:17 nexus3.edgexfoundry.org:10003 02:50:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:18 Configure a credential helper to remove this warning. See 02:50:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:18 02:50:18 Login Succeeded 02:50:18 nexus3.edgexfoundry.org:10004 02:50:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:18 Configure a credential helper to remove this warning. See 02:50:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:18 02:50:18 Login Succeeded 02:50:18 docker.io 02:50:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:18 Configure a credential helper to remove this warning. See 02:50:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:18 02:50:18 Login Succeeded 02:50:18 ---> docker-login.sh ends [Pipeline] } 02:50:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:50:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:50:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:50:19 ========================================================= 02:50:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 02:50:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:19 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 02:50:19 Sending build context to Docker daemon 2.951MB 02:50:19 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 02:50:19 Step 2/12 : FROM ${BASE} AS builder 02:50:20 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:50:20 9b18e9b68314: Pulling fs layer 02:50:20 35d82f9e3411: Pulling fs layer 02:50:20 e16973657156: Pulling fs layer 02:50:20 fc693d55d65f: Pulling fs layer 02:50:20 7e9fc2657dce: Pulling fs layer 02:50:20 dda99020689f: Pulling fs layer 02:50:20 db1c61fa0a46: Pulling fs layer 02:50:20 891c053d2c06: Pulling fs layer 02:50:20 fc693d55d65f: Waiting 02:50:20 7e9fc2657dce: Waiting 02:50:20 dda99020689f: Waiting 02:50:20 db1c61fa0a46: Waiting 02:50:20 891c053d2c06: Waiting 02:50:20 e16973657156: Verifying Checksum 02:50:20 e16973657156: Download complete 02:50:20 35d82f9e3411: Verifying Checksum 02:50:20 35d82f9e3411: Download complete 02:50:20 7e9fc2657dce: Verifying Checksum 02:50:20 7e9fc2657dce: Download complete 02:50:20 dda99020689f: Verifying Checksum 02:50:20 dda99020689f: Download complete 02:50:20 9b18e9b68314: Verifying Checksum 02:50:20 9b18e9b68314: Download complete 02:50:21 9b18e9b68314: Pull complete 02:50:21 891c053d2c06: Verifying Checksum 02:50:21 891c053d2c06: Download complete 02:50:21 35d82f9e3411: Pull complete 02:50:21 e16973657156: Pull complete 02:50:22 db1c61fa0a46: Verifying Checksum 02:50:22 db1c61fa0a46: Download complete 02:50:22 fc693d55d65f: Verifying Checksum 02:50:22 fc693d55d65f: Download complete 02:50:35 fc693d55d65f: Pull complete 02:50:35 7e9fc2657dce: Pull complete 02:50:35 dda99020689f: Pull complete 02:50:41 db1c61fa0a46: Pull complete 02:50:43 891c053d2c06: Pull complete 02:50:43 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 02:50:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 02:50:43 ---> f96f9c87975a 02:50:43 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:50:45 ---> Running in 4664f0afc77a 02:50:45 Removing intermediate container 4664f0afc77a 02:50:45 ---> 34620587e70e 02:50:45 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:50:45 ---> Running in 83550b63cab8 02:50:46 Removing intermediate container 83550b63cab8 02:50:46 ---> 31f4dfeff464 02:50:46 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:50:46 ---> Running in 430a40051d9c 02:50:46 Removing intermediate container 430a40051d9c 02:50:46 ---> ef5c03bdc0fc 02:50:46 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:50:46 ---> Running in 33e294682c05 02:50:46 Removing intermediate container 33e294682c05 02:50:46 ---> b8d49041694a 02:50:46 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:50:46 ---> Running in 0a53dcc5a61e 02:50:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:50:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:50:49 (1/4) Installing openssh-keygen (9.0_p1-r2) 02:50:49 (2/4) Installing libedit (20210910.3.1-r0) 02:50:49 (3/4) Installing openssh-client-common (9.0_p1-r2) 02:50:49 (4/4) Installing openssh-client-default (9.0_p1-r2) 02:50:49 Executing busybox-1.35.0-r17.trigger 02:50:49 OK: 226 MiB in 55 packages 02:50:50 Removing intermediate container 0a53dcc5a61e 02:50:50 ---> af8b5d69b2b4 02:50:50 Step 8/12 : WORKDIR /device-snmp-go 02:50:51 ---> Running in aa760f8162f7 02:50:51 Removing intermediate container aa760f8162f7 02:50:51 ---> 2f7acc8f72a2 02:50:51 Step 9/12 : COPY go.mod vendor* ./ 02:50:52 ---> b70cc5d72979 02:50:52 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:50:52 ---> Running in e00c1b228200 02:52:13 Removing intermediate container e00c1b228200 02:52:13 ---> 86e568b0d67c 02:52:13 Step 11/12 : COPY . . 02:52:13 ---> 27fc76311c53 02:52:13 Step 12/12 : RUN ${MAKE} 02:52:13 ---> Running in 5d47edcf4e15 02:52:13 noop 02:52:13 Removing intermediate container 5d47edcf4e15 02:52:13 ---> 132bc667be2b 02:52:13 Successfully built 132bc667be2b 02:52:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:14 + docker inspect -f . ci-base-image-arm64 02:52:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:52:14 prd-ubuntu20.04-docker-arm64-4c-16g-9351 does not seem to be running inside a container 02:52:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:52:15 $ docker top 5b4098e2120de7fab8da376b40b7fb82190ca67dab0e7c4cf3f9a0b8665af1be -eo pid,comm [Pipeline] { [Pipeline] sh 02:52:16 + go version 02:52:16 go version go1.18.7 linux/arm64 [Pipeline] } 02:52:16 $ docker stop --time=1 5b4098e2120de7fab8da376b40b7fb82190ca67dab0e7c4cf3f9a0b8665af1be 02:52:18 $ docker rm -f --volumes 5b4098e2120de7fab8da376b40b7fb82190ca67dab0e7c4cf3f9a0b8665af1be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:19 + docker inspect -f . ci-base-image-arm64 02:52:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:52:19 prd-ubuntu20.04-docker-arm64-4c-16g-9351 does not seem to be running inside a container 02:52:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:52:22 $ docker top e25dbbe8d5a300aa2f03881e6f3f56198499ba71a2e9a845ec73dc5e8b82cba0 -eo pid,comm [Pipeline] { [Pipeline] sh 02:52:23 + git config --global --add safe.directory /w/workspace/device-snmp-go/2 [Pipeline] fileExists [Pipeline] sh 02:52:24 + make test 02:52:24 go test ./... -coverprofile=coverage.out 02:52:26 ? github.com/edgexfoundry/device-snmp-go [no test files] 02:53:34 # github.com/edgexfoundry/device-snmp-go/internal/driver 02:53:34 internal/driver/snmpdriver.go:79:33: cannot use Port (variable of type any) as type string in argument to strconv.ParseUint: 02:53:34 need type assertion 02:53:34 internal/driver/snmpdriver.go:87:26: cannot use Address (variable of type any) as type string in argument to NewSNMPClient: 02:53:34 need type assertion 02:53:49 # github.com/edgexfoundry/device-sdk-go/v3/internal/common 02:53:49 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.26/internal/common/utils.go:45:3: unknown field 'LastConnected' in struct literal of type dtos.UpdateDevice 02:53:49 # github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/handlers 02:53:49 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22/bootstrap/handlers/clients.go:76:36: not enough arguments in call to clients.NewEventClient 02:53:49 have (string) 02:53:49 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 02:53:49 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22/bootstrap/handlers/clients.go:82:37: not enough arguments in call to clients.NewDeviceClient 02:53:49 have (string) 02:53:49 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 02:53:49 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22/bootstrap/handlers/clients.go:85:44: not enough arguments in call to clients.NewDeviceServiceClient 02:53:49 have (string) 02:53:49 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 02:53:49 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22/bootstrap/handlers/clients.go:88:44: not enough arguments in call to clients.NewDeviceProfileClient 02:53:49 have (string) 02:53:49 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 02:53:49 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22/bootstrap/handlers/clients.go:91:47: not enough arguments in call to clients.NewProvisionWatcherClient 02:53:49 have (string) 02:53:49 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 02:53:49 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22/bootstrap/handlers/clients.go:121:39: not enough arguments in call to clients.NewCommandClient 02:53:49 have (string) 02:53:49 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 02:53:49 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22/bootstrap/handlers/clients.go:133:43: not enough arguments in call to clients.NewNotificationClient 02:53:49 have (string) 02:53:49 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 02:53:49 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22/bootstrap/handlers/clients.go:136:43: not enough arguments in call to clients.NewSubscriptionClient 02:53:49 have (string) 02:53:49 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 02:53:49 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22/bootstrap/handlers/clients.go:143:39: not enough arguments in call to clients.NewIntervalClient 02:53:49 have (string) 02:53:49 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 02:53:49 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22/bootstrap/handlers/clients.go:146:45: not enough arguments in call to clients.NewIntervalActionClient 02:53:49 have (string) 02:53:49 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 02:53:49 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22/bootstrap/handlers/clients.go:146:45: too many errors 02:54:00 FAIL github.com/edgexfoundry/device-snmp-go/internal/driver [build failed] 02:54:00 make: *** [Makefile:35: unittest] Error 2 [Pipeline] } 02:54:00 $ docker stop --time=1 e25dbbe8d5a300aa2f03881e6f3f56198499ba71a2e9a845ec73dc5e8b82cba0 02:54:02 $ docker rm -f --volumes e25dbbe8d5a300aa2f03881e6f3f56198499ba71a2e9a845ec73dc5e8b82cba0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:54:03 02:54:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:54:03 arm64: Pulling from edgex-lftools-log-publisher 02:54:03 8998bd30e6a1: Pulling fs layer 02:54:03 04944245beec: Pulling fs layer 02:54:03 699f458cf7ca: Pulling fs layer 02:54:03 765212b225bb: Pulling fs layer 02:54:03 f23df028b6ca: Pulling fs layer 02:54:03 d65c8cfc05b1: Pulling fs layer 02:54:03 2437ff75d9bd: Pulling fs layer 02:54:03 f23df028b6ca: Waiting 02:54:03 d65c8cfc05b1: Waiting 02:54:03 2437ff75d9bd: Waiting 02:54:03 765212b225bb: Waiting 02:54:04 04944245beec: Verifying Checksum 02:54:04 04944245beec: Download complete 02:54:04 765212b225bb: Verifying Checksum 02:54:04 765212b225bb: Download complete 02:54:04 f23df028b6ca: Verifying Checksum 02:54:04 f23df028b6ca: Download complete 02:54:04 d65c8cfc05b1: Verifying Checksum 02:54:04 d65c8cfc05b1: Download complete 02:54:04 699f458cf7ca: Verifying Checksum 02:54:04 699f458cf7ca: Download complete 02:54:05 8998bd30e6a1: Verifying Checksum 02:54:05 8998bd30e6a1: Download complete 02:54:09 2437ff75d9bd: Verifying Checksum 02:54:09 2437ff75d9bd: Download complete 02:54:11 8998bd30e6a1: Pull complete 02:54:11 04944245beec: Pull complete 02:54:13 699f458cf7ca: Pull complete 02:54:14 765212b225bb: Pull complete 02:54:15 f23df028b6ca: Pull complete 02:54:15 d65c8cfc05b1: Pull complete 02:54:37 2437ff75d9bd: Pull complete 02:54:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:54:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:54:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:54:37 prd-ubuntu20.04-docker-arm64-4c-16g-9351 does not seem to be running inside a container 02:54:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:54:41 $ docker top da264e59c77d463e74d62849ea6387b5c290b1bf102d0fe755d6956253f76ff7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:54:42 ---> job-cost.sh 02:54:42 lf-activate-venv: SKIPPING 02:54:42 INFO: No Stack... 02:54:42 INFO: Retrieving Pricing Info for: v3-standard-4 02:54:43 INFO: Archiving Costs [Pipeline] sh 02:54:43 + cat /w/workspace/device-snmp-go/2/archives/cost.csv 02:54:43 + cut -d, -f6 [Pipeline] lock 02:54:44 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-254-2-stack-cost] 02:54:44 Resource [jenkins-edgexfoundry-device-snmp-go-PR-254-2-stack-cost] did not exist. Created. 02:54:44 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-254-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:54:44 /w/workspace/device-snmp-go/2@tmp/durable-f6839b45/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:54:45 + echo total: 0.10999999940395355 [Pipeline] stash 02:54:45 Warning: overwriting stash ‘stack-cost’ 02:54:46 Stashed 1 file(s) [Pipeline] } 02:54:46 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-254-2-stack-cost] [Pipeline] // lock [Pipeline] } 02:54:46 $ docker stop --time=1 da264e59c77d463e74d62849ea6387b5c290b1bf102d0fe755d6956253f76ff7 02:54:48 $ docker rm -f --volumes da264e59c77d463e74d62849ea6387b5c290b1bf102d0fe755d6956253f76ff7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:54:48 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 02:54:49 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-254/archives ] 02:54:49 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-254/archives 02:54:49 total 16 02:54:49 drwxr-xr-x 3 root root 4096 Mar 9 02:49 . 02:54:49 drwxrwxr-x 10 jenkins jenkins 4096 Mar 9 02:49 .. 02:54:49 drwxr-xr-x 2 root root 4096 Mar 9 02:49 cost 02:54:49 -rw-r--r-- 1 root root 86 Mar 9 02:49 cost.csv 02:54:49 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-254/archives 02:54:49 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-254/archives 02:54:49 total 16 02:54:49 drwxr-xr-x 3 jenkins jenkins 4096 Mar 9 02:49 . 02:54:49 drwxrwxr-x 10 jenkins jenkins 4096 Mar 9 02:49 .. 02:54:49 drwxr-xr-x 2 jenkins jenkins 4096 Mar 9 02:49 cost 02:54:49 -rw-r--r-- 1 jenkins jenkins 86 Mar 9 02:49 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:54:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:54:50 ---> package-listing.sh 02:54:50 ++ facter osfamily 02:54:50 ++ tr '[:upper:]' '[:lower:]' 02:54:50 + OS_FAMILY=debian 02:54:50 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-254 02:54:50 + START_PACKAGES=/tmp/packages_start.txt 02:54:50 + END_PACKAGES=/tmp/packages_end.txt 02:54:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:54:50 + PACKAGES=/tmp/packages_start.txt 02:54:50 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-254 ']' 02:54:50 + PACKAGES=/tmp/packages_end.txt 02:54:50 + case "${OS_FAMILY}" in 02:54:50 + dpkg -l 02:54:50 + grep '^ii' 02:54:50 + '[' -f /tmp/packages_start.txt ']' 02:54:50 + '[' -f /tmp/packages_end.txt ']' 02:54:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:54:50 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-254 ']' 02:54:50 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-254/archives/ 02:54:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-254/archives/ [Pipeline] echo 02:54:50 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-254/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:54:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:54:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:54:51 prd-ubuntu20.04-docker-8c-8g-9348 does not seem to be running inside a container 02:54:51 $ 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-254/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-254 -v /w/workspace/gexfoundry_device-snmp-go_PR-254:/w/workspace/gexfoundry_device-snmp-go_PR-254:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-254@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-254@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 02:54:51 $ docker top b2d8c8ac4cf35961983521459d362682c2596ba989aa14c53f96b2e6be8e2816 -eo pid,comm [Pipeline] { [Pipeline] sh 02:54:51 + touch /tmp/pre-build-complete [Pipeline] sh 02:54:52 + mkdir -p /var/log/sysstat [Pipeline] sh 02:54:52 + ls /var/log/sa-host 02:54:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:54:52 provisioning config files... 02:54:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-254@tmp/config5061147717125713463tmp [Pipeline] { [Pipeline] echo 02:54:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:54:52 ---> create-netrc.sh [Pipeline] } 02:54:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:54:53 ---> python-tools-install.sh [Pipeline] echo 02:54:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:54:53 ---> sudo-logs.sh 02:54:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:54:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:54:53 ---> job-cost.sh 02:54:53 lf-activate-venv: SKIPPING 02:54:53 DEBUG: total: 0.2199999988079071 02:54:53 INFO: Retrieving Stack Cost... 02:54:54 INFO: Retrieving Pricing Info for: v3-standard-8 02:54:54 INFO: Archiving Costs [Pipeline] echo 02:54:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:54:54 ---> logs-deploy.sh 02:54:54 lf-activate-venv: SKIPPING 02:54:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-254/2 02:54:54 INFO: archiving workspace using pattern(s): 02:54:55 Archives upload complete. 02:54:55 INFO: archiving logs to Nexus 02:54:56 ---> uname -a: 02:54:56 Linux prd-ubuntu20-04-docker-8c-8g-9348 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 02:54:56 02:54:56 02:54:56 ---> lscpu: 02:54:56 Architecture: x86_64 02:54:56 CPU op-mode(s): 32-bit, 64-bit 02:54:56 Byte Order: Little Endian 02:54:56 Address sizes: 40 bits physical, 48 bits virtual 02:54:56 CPU(s): 8 02:54:56 On-line CPU(s) list: 0-7 02:54:56 Thread(s) per core: 1 02:54:56 Core(s) per socket: 1 02:54:56 Socket(s): 8 02:54:56 NUMA node(s): 1 02:54:56 Vendor ID: AuthenticAMD 02:54:56 CPU family: 23 02:54:56 Model: 49 02:54:56 Model name: AMD EPYC-Rome Processor 02:54:56 Stepping: 0 02:54:56 CPU MHz: 2799.996 02:54:56 BogoMIPS: 5599.99 02:54:56 Virtualization: AMD-V 02:54:56 Hypervisor vendor: KVM 02:54:56 Virtualization type: full 02:54:56 L1d cache: 256 KiB 02:54:56 L1i cache: 256 KiB 02:54:56 L2 cache: 4 MiB 02:54:56 L3 cache: 128 MiB 02:54:56 NUMA node0 CPU(s): 0-7 02:54:56 Vulnerability Itlb multihit: Not affected 02:54:56 Vulnerability L1tf: Not affected 02:54:56 Vulnerability Mds: Not affected 02:54:56 Vulnerability Meltdown: Not affected 02:54:56 Vulnerability Mmio stale data: Not affected 02:54:56 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:54:56 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 02:54:56 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 02:54:56 Vulnerability Srbds: Not affected 02:54:56 Vulnerability Tsx async abort: Not affected 02:54:56 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 02:54:56 02:54:56 02:54:56 ---> nproc: 02:54:56 8 02:54:56 02:54:56 02:54:56 ---> df -h: 02:54:56 Filesystem Size Used Avail Use% Mounted on 02:54:56 overlay 155G 12G 144G 8% / 02:54:56 tmpfs 64M 0 64M 0% /dev 02:54:56 tmpfs 16G 0 16G 0% /sys/fs/cgroup 02:54:56 shm 64M 0 64M 0% /dev/shm 02:54:56 /dev/vda1 155G 12G 144G 8% /facter-os 02:54:56 02:54:56 02:54:56 ---> sar -b -r -n DEV: 02:54:56 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-9348) 03/09/23 _x86_64_ (8 CPU) 02:54:56 02:54:56 02:47:51 LINUX RESTART (8 CPU) 02:54:56 02:54:56 02:48:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:54:56 02:49:02 204.67 47.63 157.03 0.00 5389.54 190863.05 0.00 02:54:56 02:50:01 159.40 1.41 157.99 0.00 33.76 66837.62 0.00 02:54:56 02:51:01 1.77 0.00 1.77 0.00 0.00 21.21 0.00 02:54:56 02:52:01 0.92 0.00 0.92 0.00 0.00 12.26 0.00 02:54:56 02:53:01 11.65 1.53 10.11 0.00 85.72 2028.33 0.00 02:54:56 02:54:01 47.33 10.06 37.26 0.00 5091.02 6843.39 0.00 02:54:56 Average: 70.71 10.13 60.58 0.00 1771.55 44374.76 0.00 02:54:56 02:54:56 02:48:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:54:56 02:49:02 29164244 31584108 729104 2.22 76264 2619276 1988236 5.86 1001544 2356412 1988 02:54:56 02:50:01 27969860 31591976 709068 2.16 152156 3632580 1773796 5.23 1152912 3269740 492 02:54:56 02:51:01 27970148 31592372 708412 2.15 152188 3632584 1773796 5.23 1152812 3269744 32 02:54:56 02:52:01 27971500 31593812 706828 2.15 152228 3632580 1773796 5.23 1151552 3269752 132 02:54:56 02:53:01 27866492 31554292 740976 2.25 154824 3689260 1795300 5.29 1193288 3321380 76 02:54:56 02:54:01 27449792 31578932 705092 2.14 186436 4088792 1815808 5.35 1469256 3437808 4 02:54:56 Average: 28065339 31582582 716580 2.18 145683 3549179 1820122 5.36 1186894 3154139 454 02:54:56 02:54:56 02:48:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:54:56 02:49:02 vethce80f86 47.72 61.33 4.59 48.39 0.00 0.00 0.00 0.00 02:54:56 02:49:02 ens3 733.29 448.52 6611.51 92.90 0.00 0.00 0.00 0.00 02:54:56 02:49:02 docker0 55.00 71.11 4.56 155.97 0.00 0.00 0.00 0.00 02:54:56 02:49:02 lo 7.00 7.00 0.67 0.67 0.00 0.00 0.00 0.00 02:54:56 02:50:01 ens3 394.61 233.30 4437.72 107.96 0.00 0.00 0.00 0.00 02:54:56 02:50:01 docker0 112.85 227.52 9.27 1842.54 0.00 0.00 0.00 0.00 02:54:56 02:50:01 lo 1.15 1.15 0.11 0.11 0.00 0.00 0.00 0.00 02:54:56 02:51:01 ens3 0.75 0.02 0.08 0.01 0.00 0.00 0.00 0.00 02:54:56 02:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:56 02:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:56 02:52:01 ens3 2.32 0.90 2.28 0.49 0.00 0.00 0.00 0.00 02:54:56 02:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:56 02:52:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:54:56 02:53:01 ens3 67.32 34.34 856.77 2.66 0.00 0.00 0.00 0.00 02:54:56 02:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:56 02:53:01 lo 0.20 0.20 0.02 0.02 0.00 0.00 0.00 0.00 02:54:56 02:54:01 ens3 168.42 82.50 1950.41 5.72 0.00 0.00 0.00 0.00 02:54:56 02:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:56 02:54:01 lo 0.60 0.60 0.05 0.05 0.00 0.00 0.00 0.00 02:54:56 Average: ens3 227.33 132.99 2303.92 34.75 0.00 0.00 0.00 0.00 02:54:56 Average: docker0 27.74 49.28 2.29 328.87 0.00 0.00 0.00 0.00 02:54:56 Average: lo 1.53 1.53 0.14 0.14 0.00 0.00 0.00 0.00 02:54:56 02:54:56 02:54:56 ---> sar -P ALL: 02:54:56 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-9348) 03/09/23 _x86_64_ (8 CPU) 02:54:56 02:54:56 02:47:51 LINUX RESTART (8 CPU) 02:54:56 02:54:56 02:48:01 CPU %user %nice %system %iowait %steal %idle 02:54:56 02:49:02 all 9.89 0.00 3.65 2.35 0.07 84.04 02:54:56 02:49:02 0 10.54 0.00 4.01 0.70 0.07 84.68 02:54:56 02:49:02 1 12.10 0.00 3.21 2.02 0.07 82.60 02:54:56 02:49:02 2 9.53 0.00 2.99 0.40 0.07 87.01 02:54:56 02:49:02 3 10.10 0.00 4.47 1.39 0.07 83.97 02:54:56 02:49:02 4 8.73 0.00 3.08 2.44 0.08 85.66 02:54:56 02:49:02 5 8.23 0.00 2.95 0.82 0.05 87.95 02:54:56 02:49:02 6 8.60 0.00 4.52 10.84 0.08 75.96 02:54:56 02:49:02 7 11.28 0.00 3.96 0.24 0.10 84.43 02:54:56 02:50:01 all 16.21 0.00 4.89 2.53 0.08 76.28 02:54:56 02:50:01 0 14.66 0.00 4.49 0.48 0.09 80.28 02:54:56 02:50:01 1 16.35 0.00 4.89 2.80 0.10 75.86 02:54:56 02:50:01 2 17.28 0.00 4.29 0.14 0.07 78.23 02:54:56 02:50:01 3 15.44 0.00 5.56 1.39 0.09 77.52 02:54:56 02:50:01 4 16.62 0.00 4.69 10.23 0.09 68.37 02:54:56 02:50:01 5 17.10 0.00 5.41 0.38 0.07 77.04 02:54:56 02:50:01 6 15.40 0.00 5.08 3.58 0.07 75.87 02:54:56 02:50:01 7 16.86 0.00 4.69 1.28 0.10 77.06 02:54:56 02:51:01 all 0.27 0.00 0.01 0.00 0.00 99.72 02:54:56 02:51:01 0 0.02 0.00 0.00 0.00 0.00 99.98 02:54:56 02:51:01 1 0.02 0.00 0.00 0.03 0.00 99.95 02:54:56 02:51:01 2 0.02 0.00 0.02 0.00 0.00 99.97 02:54:56 02:51:01 3 0.00 0.00 0.02 0.00 0.00 99.98 02:54:56 02:51:01 4 1.97 0.00 0.00 0.00 0.00 98.03 02:54:56 02:51:01 5 0.02 0.00 0.00 0.00 0.00 99.98 02:54:56 02:51:01 6 0.02 0.00 0.02 0.00 0.00 99.97 02:54:56 02:51:01 7 0.05 0.00 0.02 0.00 0.00 99.93 02:54:56 02:52:01 all 0.24 0.00 0.02 0.00 0.01 99.73 02:54:56 02:52:01 0 0.02 0.00 0.02 0.00 0.00 99.97 02:54:56 02:52:01 1 0.10 0.00 0.02 0.02 0.02 99.85 02:54:56 02:52:01 2 0.03 0.00 0.03 0.00 0.00 99.93 02:54:56 02:52:01 3 0.03 0.00 0.02 0.02 0.00 99.93 02:54:56 02:52:01 4 1.68 0.00 0.03 0.00 0.02 98.27 02:54:56 02:52:01 5 0.00 0.00 0.02 0.00 0.00 99.98 02:54:56 02:52:01 6 0.02 0.00 0.00 0.00 0.00 99.98 02:54:56 02:52:01 7 0.02 0.00 0.03 0.00 0.02 99.93 02:54:56 02:53:01 all 0.35 0.00 0.14 0.09 0.01 99.42 02:54:56 02:53:01 0 0.10 0.00 0.08 0.02 0.00 99.80 02:54:56 02:53:01 1 0.23 0.00 0.05 0.03 0.00 99.68 02:54:56 02:53:01 2 0.22 0.00 0.37 0.03 0.00 99.38 02:54:56 02:53:01 3 0.95 0.00 0.28 0.45 0.02 98.30 02:54:56 02:53:01 4 0.37 0.00 0.08 0.03 0.02 99.50 02:54:56 02:53:01 5 0.63 0.00 0.12 0.03 0.00 99.22 02:54:56 02:53:01 6 0.13 0.00 0.03 0.07 0.02 99.75 02:54:56 02:53:01 7 0.17 0.00 0.10 0.02 0.00 99.72 02:54:56 02:54:01 all 1.96 0.00 1.34 0.41 0.02 96.28 02:54:56 02:54:01 0 1.37 0.00 1.80 0.02 0.02 96.80 02:54:56 02:54:01 1 3.58 0.00 1.52 0.08 0.03 94.78 02:54:56 02:54:01 2 3.02 0.00 1.42 0.75 0.03 94.77 02:54:56 02:54:01 3 1.09 0.00 0.82 0.32 0.02 97.76 02:54:56 02:54:01 4 1.76 0.00 0.77 0.10 0.02 97.35 02:54:56 02:54:01 5 1.70 0.00 1.48 1.45 0.02 95.36 02:54:56 02:54:01 6 1.74 0.00 0.72 0.05 0.00 97.50 02:54:56 02:54:01 7 1.39 0.00 2.18 0.47 0.03 95.93 02:54:56 Average: all 4.76 0.00 1.65 0.89 0.03 92.67 02:54:56 Average: 0 4.40 0.00 1.72 0.20 0.03 93.65 02:54:56 Average: 1 5.34 0.00 1.60 0.82 0.04 92.21 02:54:56 Average: 2 4.95 0.00 1.50 0.22 0.03 93.29 02:54:56 Average: 3 4.54 0.00 1.84 0.59 0.03 93.00 02:54:56 Average: 4 5.12 0.00 1.42 2.09 0.04 91.34 02:54:56 Average: 5 4.55 0.00 1.64 0.45 0.02 93.33 02:54:56 Average: 6 4.25 0.00 1.70 2.39 0.03 91.63 02:54:56 Average: 7 4.90 0.00 1.81 0.33 0.04 92.92 02:54:56 02:54:56 02:54:56