Add reboot both plugin caveat to ATVM notes
This commit is contained in:
@@ -1060,6 +1060,16 @@ def build_status_markdown(
|
||||
template_command = metadata.get("template_command")
|
||||
if isinstance(template_command, str) and template_command:
|
||||
notes = notes + [f"Template command: `{template_command}`"]
|
||||
template_name = metadata.get("template")
|
||||
integration_plugin = metadata.get("integration_plugin")
|
||||
if (
|
||||
template_name == "cmc-reboot"
|
||||
and isinstance(integration_plugin, str)
|
||||
and integration_plugin.lower() == "pure/both"
|
||||
):
|
||||
notes = notes + [
|
||||
"Both iscsi and fc disks were used for the reboot test. As a result, iscsi disks may not have attached before the mtdi started. So if the test failed, that is most likely the issue."
|
||||
]
|
||||
|
||||
notes_block = "\n".join(f"- {note}" for note in notes) if notes else "- none"
|
||||
resolved_flow = extract_test_flow_from_generated_spec(reporter_root, log_text) or get_test_flow(metadata.get("template"))
|
||||
|
||||
Reference in New Issue
Block a user