From 2c2c5c9cb9ad72561f10708b9f03c1155616d91b Mon Sep 17 00:00:00 2001 From: Smit Gardhariya <113590758+smit-gardhariya@users.noreply.github.com> Date: Wed, 27 Dec 2023 10:55:59 +0530 Subject: [PATCH] Remove IGVM PARSER REPO for Cloud-Hypervisor testsuite (#3121) We dont need to clone the IGVM PARSER repo now for MS CLH as it is getting handled with crates dependencies within CLH. Signed-off-by: Smit Gardhariya --- microsoft/testsuites/cloud_hypervisor/ch_tests.py | 6 ------ microsoft/testsuites/cloud_hypervisor/ch_tests_tool.py | 6 ------ 2 files changed, 12 deletions(-) diff --git a/microsoft/testsuites/cloud_hypervisor/ch_tests.py b/microsoft/testsuites/cloud_hypervisor/ch_tests.py index 307e023329..da2e6caa86 100644 --- a/microsoft/testsuites/cloud_hypervisor/ch_tests.py +++ b/microsoft/testsuites/cloud_hypervisor/ch_tests.py @@ -179,9 +179,6 @@ def _set_ms_clh_param(self, variables: Dict[str, Any]) -> None: # Get URL for MS CLH repo ms_clh_repo = variables.get("ms_clh_repo", None) - # Get URL for igvm-parser repo - ms_igvm_parser_repo = variables.get("ms_igvm_parser_repo", None) - # Get GUEST VM type, set default to NON-CVM clh_guest_vm_type = variables.get("clh_guest_vm_type", "NON-CVM") @@ -194,13 +191,10 @@ def _set_ms_clh_param(self, variables: Dict[str, Any]) -> None: raise SkippedException("Access Token is needed while using MS-CLH") if not ms_clh_repo: raise SkippedException("CLH URL is needed while using MS-CLH") - if not ms_igvm_parser_repo: - raise SkippedException("IGVM-Parser URL is needed while using MS-CLH") CloudHypervisorTests.use_ms_clh_repo = True CloudHypervisorTests.ms_access_token = ms_access_token CloudHypervisorTests.ms_clh_repo = ms_clh_repo - CloudHypervisorTests.ms_igvm_parser_repo = ms_igvm_parser_repo CloudHypervisorTests.clh_guest_vm_type = clh_guest_vm_type if use_ms_guest_kernel == "YES": CloudHypervisorTests.use_ms_guest_kernel = use_ms_guest_kernel diff --git a/microsoft/testsuites/cloud_hypervisor/ch_tests_tool.py b/microsoft/testsuites/cloud_hypervisor/ch_tests_tool.py index 3f1124912f..1f4ec69ad3 100644 --- a/microsoft/testsuites/cloud_hypervisor/ch_tests_tool.py +++ b/microsoft/testsuites/cloud_hypervisor/ch_tests_tool.py @@ -37,7 +37,6 @@ class CloudHypervisorTests(Tool): } ms_clh_repo = "" - ms_igvm_parser_repo = "" use_ms_clh_repo = False ms_access_token = "" clh_guest_vm_type = "" @@ -224,11 +223,6 @@ def _install(self) -> bool: clone_path, auth_token=self.ms_access_token, ) - git.clone( - self.ms_igvm_parser_repo, - clone_path, - auth_token=self.ms_access_token, - ) self.env_vars["GUEST_VM_TYPE"] = self.clh_guest_vm_type if self.use_ms_guest_kernel: self.env_vars["USE_MS_GUEST_KERNEL"] = self.use_ms_guest_kernel