fix(recovery): bound 110 pressure readback
Some checks failed
CD Pipeline / workflow-shape (push) Has been cancelled
CD Pipeline / cancel-stale-cd (push) Has been cancelled
CD Pipeline / tests (push) Has been cancelled
CD Pipeline / build-and-deploy (push) Has been cancelled
CD Pipeline / post-deploy-checks (push) Has been cancelled
Some checks failed
CD Pipeline / workflow-shape (push) Has been cancelled
CD Pipeline / cancel-stale-cd (push) Has been cancelled
CD Pipeline / tests (push) Has been cancelled
CD Pipeline / build-and-deploy (push) Has been cancelled
CD Pipeline / post-deploy-checks (push) Has been cancelled
This commit is contained in:
@@ -27,6 +27,9 @@ def test_full_stack_cold_start_check_bounds_ssh_probes() -> None:
|
||||
assert "-o ServerAliveCountMax=1" in text
|
||||
assert "timeout ${SSH_COMMAND_TIMEOUT_SECONDS}s bash -lc" in text
|
||||
assert "printf -v quoted_cmd '%q' \"$cmd\"" in text
|
||||
assert 'timeout 3 systemctl "$@"' in text
|
||||
assert "SSH_110_BLOCKER remote_control_channel_unavailable" in text
|
||||
assert "SSH_110_NEXT_ACTION local_console_run_recover_110_control_path_and_harbor_local_check" in text
|
||||
|
||||
|
||||
def test_recovery_scorecard_bounds_offsite_evidence_ssh() -> None:
|
||||
@@ -118,8 +121,11 @@ def test_110_ssh_publickey_auth_diagnosis_is_bounded_and_read_only() -> None:
|
||||
assert "NODE_EXPORTER=ok" in text
|
||||
assert "NODE_LOAD1_PER_CPU" in text
|
||||
assert "NODE_LOAD_CLASSIFIER" in text
|
||||
assert "DOCKER_STATS_TEXTFILE_AGE_SECONDS" in text
|
||||
assert "DOCKER_STATS_TEXTFILE_FRESHNESS" in text
|
||||
assert "SYSTEMD_UNIT unit=%s active_state=%s classifier=%s" in text
|
||||
assert "systemctl_show_timeout" in text
|
||||
assert "systemctl_timeout_budget_exhausted" in text
|
||||
assert "cat /home" not in text
|
||||
assert "cat ~/.ssh/authorized_keys" not in text
|
||||
assert "cat \"$home_dir/.ssh/authorized_keys\"" not in text
|
||||
|
||||
Reference in New Issue
Block a user