Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip capture of VM information on test runs #3043

Merged
merged 3 commits into from
Feb 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests_e2e/orchestrator/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ RUN \
cd $HOME && \
git clone https://github.com/microsoft/lisa.git && \
cd lisa && \
git checkout 7396cbd6d9b31a99b13c184f735ce9827334f21b && \
git checkout 2c16e32001fdefb9572dff61241451b648259dbf && \
\
python3 -m pip install --upgrade pip && \
python3 -m pip install --editable .[azure,libvirt] --config-settings editable_mode=compat && \
Expand Down
1 change: 1 addition & 0 deletions tests_e2e/orchestrator/lib/agent_junit.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
@dataclass
class AgentJUnitSchema(schema.Notifier):
path: str = "agent.junit.xml"
include_subtest: bool = True


class AgentJUnit(JUnit):
Expand Down
10 changes: 7 additions & 3 deletions tests_e2e/orchestrator/lib/agent_test_suite_combinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,8 @@ def create_existing_vm_environment(self) -> Dict[str, Any]:
"c_env_name": self.runbook.vm_name,
"c_platform": [
{
"type": "ready"
"type": "ready",
"capture_vm_information": False
}
],
"c_environment": {
Expand Down Expand Up @@ -331,7 +332,8 @@ def create_existing_vmss_environment(self) -> Dict[str, Any]:
},
"c_platform": [
{
"type": "ready"
"type": "ready",
"capture_vm_information": False
}
],
"c_location": self.runbook.location,
Expand All @@ -356,6 +358,7 @@ def create_vm_environment(self, env_name: str, marketplace_image: str, vhd: str,
"admin_username": self.runbook.user,
"admin_private_key_file": self.runbook.identity_file,
"keep_environment": self.runbook.keep_environment,
"capture_vm_information": False,
"azure": {
"deploy": True,
"cloud": self.runbook.cloud,
Expand Down Expand Up @@ -406,7 +409,8 @@ def create_vmss_environment(self, env_name: str, marketplace_image: str, locatio
return {
"c_platform": [
{
"type": "ready"
"type": "ready",
"capture_vm_information": False
}
],

Expand Down
Loading