fix(reboot): surface windows99 collector blocker
All checks were successful
CD Pipeline / workflow-shape (push) Successful in 1s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 1m6s
CD Pipeline / build-and-deploy (push) Successful in 4m39s
CD Pipeline / post-deploy-checks (push) Successful in 2m46s
All checks were successful
CD Pipeline / workflow-shape (push) Successful in 1s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 1m6s
CD Pipeline / build-and-deploy (push) Successful in 4m39s
CD Pipeline / post-deploy-checks (push) Successful in 2m46s
This commit is contained in:
@@ -181,22 +181,23 @@ def test_awoooi_priority_work_order_readback_surfaces_gitea_bundle_truth():
|
||||
)
|
||||
assert payload["mainline_execution_state"][
|
||||
"windows99_verify_collection_blocker_count"
|
||||
] == 2
|
||||
] == 3
|
||||
assert payload["mainline_execution_state"][
|
||||
"windows99_verify_collection_blockers"
|
||||
] == [
|
||||
"windows99_vmware_autostart_readback_missing",
|
||||
"windows99_ssh_publickey_auth_missing",
|
||||
"windows99_uptime_unknown",
|
||||
]
|
||||
assert (
|
||||
payload["mainline_execution_state"][
|
||||
"windows99_no_secret_collector_readback_present"
|
||||
]
|
||||
is False
|
||||
is True
|
||||
)
|
||||
assert payload["mainline_execution_state"][
|
||||
"windows99_no_secret_collector_status"
|
||||
] == "unknown"
|
||||
] == "blocked_ssh_publickey_auth_missing"
|
||||
assert (
|
||||
payload["mainline_execution_state"][
|
||||
"windows99_no_secret_collector_ssh_batchmode_auth_ready"
|
||||
@@ -292,11 +293,12 @@ def test_awoooi_priority_work_order_readback_surfaces_gitea_bundle_truth():
|
||||
)
|
||||
assert in_progress["evidence"]["windows99_verify_collection_blockers"] == [
|
||||
"windows99_vmware_autostart_readback_missing",
|
||||
"windows99_ssh_publickey_auth_missing",
|
||||
"windows99_uptime_unknown",
|
||||
]
|
||||
assert in_progress["evidence"][
|
||||
"windows99_no_secret_collector_status"
|
||||
] == "unknown"
|
||||
] == "blocked_ssh_publickey_auth_missing"
|
||||
assert in_progress["evidence"][
|
||||
"windows99_available_collection_channels"
|
||||
] == ["rdp_console", "hyperv_vmconnect"]
|
||||
@@ -390,18 +392,23 @@ def test_awoooi_priority_work_order_readback_surfaces_gitea_bundle_truth():
|
||||
payload["summary"]["windows99_verify_collection_can_collect_no_secret"]
|
||||
is True
|
||||
)
|
||||
assert payload["summary"]["windows99_verify_collection_blocker_count"] == 2
|
||||
assert payload["summary"]["windows99_verify_collection_blocker_count"] == 3
|
||||
assert payload["summary"]["windows99_verify_collection_blockers"] == [
|
||||
"windows99_vmware_autostart_readback_missing",
|
||||
"windows99_ssh_publickey_auth_missing",
|
||||
"windows99_uptime_unknown",
|
||||
]
|
||||
assert payload["summary"]["windows99_no_secret_collector_status"] == "unknown"
|
||||
assert payload["summary"]["windows99_no_secret_collector_status"] == (
|
||||
"blocked_ssh_publickey_auth_missing"
|
||||
)
|
||||
assert payload["summary"]["windows99_available_collection_channels"] == [
|
||||
"rdp_console",
|
||||
"hyperv_vmconnect",
|
||||
]
|
||||
assert payload["rollups"]["windows99_verify_collection_blocker_count"] == 2
|
||||
assert payload["rollups"]["windows99_no_secret_collector_status"] == "unknown"
|
||||
assert payload["rollups"]["windows99_verify_collection_blocker_count"] == 3
|
||||
assert payload["rollups"]["windows99_no_secret_collector_status"] == (
|
||||
"blocked_ssh_publickey_auth_missing"
|
||||
)
|
||||
assert (
|
||||
payload["rollups"]["windows99_verify_collection_host99_reachable"]
|
||||
is True
|
||||
|
||||
@@ -1504,9 +1504,17 @@ def _assert_reboot_slo_payload(payload: dict):
|
||||
payload["readback"]["windows99_verify_collection_can_collect_no_secret"]
|
||||
is True
|
||||
)
|
||||
assert payload["readback"]["windows99_no_secret_collector_status"] == "unknown"
|
||||
assert payload["readback"]["windows99_no_secret_collector_status"] == (
|
||||
"blocked_ssh_publickey_auth_missing"
|
||||
)
|
||||
assert (
|
||||
payload["readback"]["windows99_no_secret_collector_readback_present"]
|
||||
is True
|
||||
)
|
||||
assert (
|
||||
payload["readback"][
|
||||
"windows99_no_secret_collector_ssh_batchmode_auth_ready"
|
||||
]
|
||||
is False
|
||||
)
|
||||
assert payload["readback"]["windows99_remote_execution_channel_ready"] is False
|
||||
@@ -1554,10 +1562,18 @@ def _assert_reboot_slo_payload(payload: dict):
|
||||
payload["rollups"]["windows99_verify_collection_can_collect_no_secret"]
|
||||
is True
|
||||
)
|
||||
assert payload["rollups"]["windows99_verify_collection_blocker_count"] == 2
|
||||
assert payload["rollups"]["windows99_no_secret_collector_status"] == "unknown"
|
||||
assert payload["rollups"]["windows99_verify_collection_blocker_count"] == 3
|
||||
assert payload["rollups"]["windows99_no_secret_collector_status"] == (
|
||||
"blocked_ssh_publickey_auth_missing"
|
||||
)
|
||||
assert (
|
||||
payload["rollups"]["windows99_no_secret_collector_readback_present"]
|
||||
is True
|
||||
)
|
||||
assert (
|
||||
payload["rollups"][
|
||||
"windows99_no_secret_collector_ssh_batchmode_auth_ready"
|
||||
]
|
||||
is False
|
||||
)
|
||||
assert payload["rollups"]["windows99_host99_reachable"] is True
|
||||
@@ -1685,8 +1701,10 @@ def _assert_reboot_slo_payload(payload: dict):
|
||||
assert collection["readback_present"] is False
|
||||
assert collection["verify_ready"] is False
|
||||
assert collection["can_collect_no_secret_verify"] is True
|
||||
assert collection["no_secret_collector_readback_present"] is False
|
||||
assert collection["no_secret_collector_status"] == "unknown"
|
||||
assert collection["no_secret_collector_readback_present"] is True
|
||||
assert collection["no_secret_collector_status"] == (
|
||||
"blocked_ssh_publickey_auth_missing"
|
||||
)
|
||||
assert collection["no_secret_collector_ssh_batchmode_auth_ready"] is False
|
||||
assert collection["available_collection_channels"] == [
|
||||
"rdp_console",
|
||||
@@ -1694,6 +1712,7 @@ def _assert_reboot_slo_payload(payload: dict):
|
||||
]
|
||||
assert collection["collection_blockers"] == [
|
||||
"windows99_vmware_autostart_readback_missing",
|
||||
"windows99_ssh_publickey_auth_missing",
|
||||
"windows99_uptime_unknown",
|
||||
]
|
||||
assert "VMRUN_PRESENT" in collection["expected_no_secret_output_fields"]
|
||||
|
||||
Reference in New Issue
Block a user