Files
kefu/deploy/protocol-file-identity-20260917/protocol-python311-tests.log
T
2026-09-21 10:34:06 +08:00

169 lines
20 KiB
Plaintext

test_hashing_rejects_mutated_metadata_on_same_handle (test_windows_build_identity.WindowsBuildIdentityTests.test_hashing_rejects_mutated_metadata_on_same_handle) ... ok
test_metadata_change_after_creation_hashes_on_actual_runtime (test_windows_build_identity.WindowsBuildIdentityTests.test_metadata_change_after_creation_hashes_on_actual_runtime) ... ok
test_path_and_fd_ctime_difference_does_not_report_changed_file (test_windows_build_identity.WindowsBuildIdentityTests.test_path_and_fd_ctime_difference_does_not_report_changed_file) ... ok
test_path_and_fd_file_id_representation_difference_is_not_mutation (test_windows_build_identity.WindowsBuildIdentityTests.test_path_and_fd_file_id_representation_difference_is_not_mutation) ... ok
test_path_replacement_with_same_length_and_times_is_rejected (test_windows_build_identity.WindowsBuildIdentityTests.test_path_replacement_with_same_length_and_times_is_rejected) ... ok
test_readonly_cache_uses_same_provider_for_identity (test_windows_build_identity.WindowsBuildIdentityTests.test_readonly_cache_uses_same_provider_for_identity) ... ok
test_reused_pid_with_new_creation_time_cannot_reuse_digest (test_windows_build_identity.WindowsBuildIdentityTests.test_reused_pid_with_new_creation_time_cannot_reuse_digest) ... ok
test_write_validation_never_uses_readonly_cache (test_windows_build_identity.WindowsBuildIdentityTests.test_write_validation_never_uses_readonly_cache) ... ok
test_actual_send_mode_never_uses_probe_hash_cache (test_protocol_probe_performance.BuildHashReuseTests.test_actual_send_mode_never_uses_probe_hash_cache) ... ok
test_changed_binary_is_not_reused_with_same_process (test_protocol_probe_performance.BuildHashReuseTests.test_changed_binary_is_not_reused_with_same_process) ... ok
test_file_change_during_hash_fails_closed (test_protocol_probe_performance.BuildHashReuseTests.test_file_change_during_hash_fails_closed) ... ok
test_native_client_still_validates_live_identity_each_time (test_protocol_probe_performance.BuildHashReuseTests.test_native_client_still_validates_live_identity_each_time) ... ok
test_new_pid_and_reused_pid_with_new_creation_time_rehash (test_protocol_probe_performance.BuildHashReuseTests.test_new_pid_and_reused_pid_with_new_creation_time_rehash) ... ok
test_one_probe_reads_same_process_build_once_but_next_probe_rechecks (test_protocol_probe_performance.BuildHashReuseTests.test_one_probe_reads_same_process_build_once_but_next_probe_rechecks) ... ok
test_unavailable_process_start_time_does_not_enable_cache (test_protocol_probe_performance.BuildHashReuseTests.test_unavailable_process_start_time_does_not_enable_cache) ... ok
test_change_after_database_check_is_never_hidden_by_static_reuse (test_protocol_probe_performance.ProbeFreshnessTests.test_change_after_database_check_is_never_hidden_by_static_reuse) ... ok
test_repeated_probes_revalidate_account_and_database (test_protocol_probe_performance.ProbeFreshnessTests.test_repeated_probes_revalidate_account_and_database) ... ok
test_actual_reply_startup_loads_current_account_metadata (test_protocol_probe_performance.ScopedDatabaseTests.test_actual_reply_startup_loads_current_account_metadata) ... ok
test_default_database_keeps_all_account_and_metadata_behavior (test_protocol_probe_performance.ScopedDatabaseTests.test_default_database_keeps_all_account_and_metadata_behavior) ... ok
test_other_account_cache_cannot_prove_current_account_ready (test_protocol_probe_performance.ScopedDatabaseTests.test_other_account_cache_cannot_prove_current_account_ready) ... ok
test_probe_prepares_only_current_message_database_without_metadata (test_protocol_probe_performance.ScopedDatabaseTests.test_probe_prepares_only_current_message_database_without_metadata) ... ok
test_schema_check_is_preserved_in_lightweight_probe (test_protocol_probe_performance.ScopedDatabaseTests.test_schema_check_is_preserved_in_lightweight_probe) ... ok
test_unsafe_account_or_database_name_is_rejected (test_protocol_probe_performance.ScopedDatabaseTests.test_unsafe_account_or_database_name_is_rejected) ... ok
test_only_success_resumes_pending_start (test_protocol_cross_machine.GuiTests.test_only_success_resumes_pending_start) ... ok
test_saved_protocol_gets_auto_probe_and_recent_report_is_reused (test_protocol_cross_machine.GuiTests.test_saved_protocol_gets_auto_probe_and_recent_report_is_reused) ... ok
test_start_waits_without_constructing_sender (test_protocol_cross_machine.GuiTests.test_start_waits_without_constructing_sender) ... ok
test_stop_cancels_delayed_start (test_protocol_cross_machine.GuiTests.test_stop_cancels_delayed_start) ... ok
test_account_change_and_exit_during_initialization_are_blocked (test_protocol_cross_machine.ProbeTests.test_account_change_and_exit_during_initialization_are_blocked) ... ok
test_custom_install_path_needs_no_sdk (test_protocol_cross_machine.ProbeTests.test_custom_install_path_needs_no_sdk) ... ok
test_database_failure_cannot_report_ready (test_protocol_cross_machine.ProbeTests.test_database_failure_cannot_report_ready) ... ok
test_missing_database_flag_never_enables_sender (test_protocol_cross_machine.ProbeTests.test_missing_database_flag_never_enables_sender) ... ok
test_not_running_still_reports_custom_install (test_protocol_cross_machine.ProbeTests.test_not_running_still_reports_custom_install) ... ok
test_real_failure_is_visible_instead_of_sdk_message (test_protocol_cross_machine.ProbeTests.test_real_failure_is_visible_instead_of_sdk_message) ... ok
test_unsupported_version_or_architecture_does_not_access_sender (test_protocol_cross_machine.ProbeTests.test_unsupported_version_or_architecture_does_not_access_sender) ... ok
test_current_account_ignores_stale_saved_directory (test_protocol_cross_machine.StorageTests.test_current_account_ignores_stale_saved_directory) ... ok
test_encrypted_first_install_initializes_only_current_machine_keys (test_protocol_cross_machine.StorageTests.test_encrypted_first_install_initializes_only_current_machine_keys) ... ok
test_fresh_account_with_plain_db_needs_no_key_worker (test_protocol_cross_machine.StorageTests.test_fresh_account_with_plain_db_needs_no_key_worker) ... ok
test_historical_account_and_empty_sqlite_cannot_prove_readiness (test_protocol_cross_machine.StorageTests.test_historical_account_and_empty_sqlite_cannot_prove_readiness) ... ok
test_passive_check_does_not_acquire_keys (test_protocol_cross_machine.StorageTests.test_passive_check_does_not_acquire_keys) ... ok
test_registered_data_directory_takes_effect (test_protocol_cross_machine.StorageTests.test_registered_data_directory_takes_effect) ... ok
test_registry_uses_both_views_and_ignores_numeric_data_flag (test_protocol_cross_machine.StorageTests.test_registry_uses_both_views_and_ignores_numeric_data_flag) ... ok
test_root_account_data_and_file_paths_with_unicode_spaces (test_protocol_cross_machine.StorageTests.test_root_account_data_and_file_paths_with_unicode_spaces) ... ok
test_account_change_while_opening_write_handle_cancels (test_native_evidence.ClientGateTests.test_account_change_while_opening_write_handle_cancels) ... ok
test_confirmed_evidence_allows_write_after_readonly_identity_check (test_native_evidence.ClientGateTests.test_confirmed_evidence_allows_write_after_readonly_identity_check) ... ok
test_pending_build_cannot_even_acquire_write_handle_without_evidence (test_native_evidence.ClientGateTests.test_pending_build_cannot_even_acquire_write_handle_without_evidence) ... ok
test_confirmed_evidence_is_account_build_and_revision_bound (test_native_evidence.EvidenceTests.test_confirmed_evidence_is_account_build_and_revision_bound) ... ok
test_failed_incomplete_or_wrong_receipt_cannot_enable (test_native_evidence.EvidenceTests.test_failed_incomplete_or_wrong_receipt_cannot_enable) ... ok
test_no_evidence_does_not_create_database_or_enable_sending (test_native_evidence.EvidenceTests.test_no_evidence_does_not_create_database_or_enable_sending) ... ok
test_only_fixed_manual_test_with_matching_fingerprint_counts (test_native_evidence.EvidenceTests.test_only_fixed_manual_test_with_matching_fingerprint_counts) ... ok
test_probe_moves_to_ready_only_after_confirmed_journal (test_native_evidence.EvidenceTests.test_probe_moves_to_ready_only_after_confirmed_journal) ... ok
test_report_flags_and_exported_json_do_not_enable_without_journal (test_native_evidence.EvidenceTests.test_report_flags_and_exported_json_do_not_enable_without_journal) ... ok
test_exact_hash_required_and_versions_do_not_share_layouts (test_native_builds.BuildTests.test_exact_hash_required_and_versions_do_not_share_layouts) ... ok
test_new_version_detection_reports_validation_state (test_native_builds.BuildTests.test_new_version_detection_reports_validation_state) ... ok
test_unverified_build_cannot_be_enabled_by_report_flags (test_native_builds.BuildTests.test_unverified_build_cannot_be_enabled_by_report_flags) ... ok
test_cancel_during_generation_does_not_send (test_native_protocol_pipeline.EngineTests.test_cancel_during_generation_does_not_send) ... [协议收信] 同名客户 · 已加入回复队列
[协议处理] 同名客户 · 根据当前会话生成回复
ok
test_crash_in_sending_becomes_uncertain (test_native_protocol_pipeline.EngineTests.test_crash_in_sending_becomes_uncertain) ... [协议收信] 同名客户 · 已加入回复队列
ok
test_database_read_failure_never_announces_healthy_listener (test_native_protocol_pipeline.EngineTests.test_database_read_failure_never_announces_healthy_listener) ... ok
test_duplicate_event_only_sent_once (test_native_protocol_pipeline.EngineTests.test_duplicate_event_only_sent_once) ... [协议收信] 同名客户 · 已加入回复队列
[协议处理] 同名客户 · 根据当前会话生成回复
[协议处理] 同名客户 · 原账号单聊发送
[协议发送成功] 同名客户 · 服务器消息 999
ok
test_manual_reply_during_generation_cancels_send (test_native_protocol_pipeline.EngineTests.test_manual_reply_during_generation_cancels_send) ... [协议收信] 同名客户 · 已加入回复队列
[协议处理] 同名客户 · 根据当前会话生成回复
ok
test_media_is_left_for_manual_handling (test_native_protocol_pipeline.EngineTests.test_media_is_left_for_manual_handling) ... [协议收信] 同名客户 · 已加入回复队列
[协议处理] 同名客户 · 当前消息需要人工处理;当前未回复消息包含图片、语音或其他非文本内容,协议版需人工处理
ok
test_memory_setting_preserves_only_unanswered_batch_when_disabled (test_native_protocol_pipeline.EngineTests.test_memory_setting_preserves_only_unanswered_batch_when_disabled) ... ok
test_model_control_tokens_are_not_sent (test_native_protocol_pipeline.EngineTests.test_model_control_tokens_are_not_sent) ... [协议收信] 同名客户 · 已加入回复队列
[协议处理] 同名客户 · 根据当前会话生成回复
[协议处理] 同名客户 · 模型生成失败,可重试;模型未返回有效文本
ok
test_model_error_can_retry_before_send (test_native_protocol_pipeline.EngineTests.test_model_error_can_retry_before_send) ... [协议收信] 同名客户 · 已加入回复队列
[协议处理] 同名客户 · 根据当前会话生成回复
[协议处理] 同名客户 · 模型生成失败,可重试;offline
[协议处理] 同名客户 · 根据当前会话生成回复
[协议处理] 同名客户 · 原账号单聊发送
[协议发送成功] 同名客户 · 服务器消息 999
ok
test_new_incoming_during_generation_discards_old_answer (test_native_protocol_pipeline.EngineTests.test_new_incoming_during_generation_discards_old_answer) ... [协议收信] 同名客户 · 已加入回复队列
[协议处理] 同名客户 · 根据当前会话生成回复
[协议收信] 同名客户 · 已加入回复队列
ok
test_new_message_invalidates_approved_draft (test_native_protocol_pipeline.EngineTests.test_new_message_invalidates_approved_draft) ... [协议收信] 同名客户 · 已加入回复队列
[协议处理] 同名客户 · 根据当前会话生成回复
[协议处理] 同名客户 · 人工审核
[协议收信] 同名客户 · 已加入回复队列
[协议处理] 同名客户 · 根据当前会话生成回复
[协议处理] 同名客户 · 人工审核
ok
test_only_current_account_processed (test_native_protocol_pipeline.EngineTests.test_only_current_account_processed) ... ok
test_pending_batch_window_is_honored (test_native_protocol_pipeline.EngineTests.test_pending_batch_window_is_honored) ... [协议收信] 同名客户 · 已加入回复队列
ok
test_pending_review_and_errors_do_not_show_idle (test_native_protocol_pipeline.EngineTests.test_pending_review_and_errors_do_not_show_idle) ... ok
test_progress_callback_failure_does_not_repeat_or_block_send (test_native_protocol_pipeline.EngineTests.test_progress_callback_failure_does_not_repeat_or_block_send) ... [协议收信] 同名客户 · 已加入回复队列
[协议处理] 同名客户 · 根据当前会话生成回复
[协议处理] 同名客户 · 原账号单聊发送
[协议发送成功] 同名客户 · 服务器消息 999
ok
test_progress_follows_receive_generate_send_then_waiting (test_native_protocol_pipeline.EngineTests.test_progress_follows_receive_generate_send_then_waiting) ... ok
test_ready_flag_alone_cannot_enable_transport (test_native_protocol_pipeline.EngineTests.test_ready_flag_alone_cannot_enable_transport) ... ok
test_restart_after_confirmed_journal_clears_pending_without_send (test_native_protocol_pipeline.EngineTests.test_restart_after_confirmed_journal_clears_pending_without_send) ... [协议收信] 同名客户 · 已加入回复队列
ok
test_review_requires_approval (test_native_protocol_pipeline.EngineTests.test_review_requires_approval) ... [协议收信] 同名客户 · 已加入回复队列
[协议处理] 同名客户 · 根据当前会话生成回复
[协议处理] 同名客户 · 人工审核
[协议处理] 同名客户 · 原账号单聊发送
[协议发送成功] 同名客户 · 服务器消息 999
ok
test_runtime_uses_protocol_engine_without_visual_construction (test_native_protocol_pipeline.EngineTests.test_runtime_uses_protocol_engine_without_visual_construction) ... ok
test_same_name_conversations_use_distinct_ids (test_native_protocol_pipeline.EngineTests.test_same_name_conversations_use_distinct_ids) ... [协议收信] 同名客户 · 已加入回复队列
[协议收信] 同名客户 · 已加入回复队列
[协议处理] 同名客户 · 根据当前会话生成回复
[协议处理] 同名客户 · 原账号单聊发送
[协议发送成功] 同名客户 · 服务器消息 999
[协议处理] 同名客户 · 根据当前会话生成回复
[协议处理] 同名客户 · 原账号单聊发送
[协议发送成功] 同名客户 · 服务器消息 999
ok
test_stop_during_generation_does_not_send (test_native_protocol_pipeline.EngineTests.test_stop_during_generation_does_not_send) ... [协议收信] 同名客户 · 已加入回复队列
[协议处理] 同名客户 · 根据当前会话生成回复
ok
test_text_pipeline_with_native_receipt_and_no_feedback (test_native_protocol_pipeline.EngineTests.test_text_pipeline_with_native_receipt_and_no_feedback) ... [协议收信] 同名客户 · 已加入回复队列
[协议处理] 同名客户 · 根据当前会话生成回复
[协议处理] 同名客户 · 原账号单聊发送
[协议发送成功] 同名客户 · 服务器消息 999
ok
test_uncertain_send_is_persisted_and_not_retried (test_native_protocol_pipeline.EngineTests.test_uncertain_send_is_persisted_and_not_retried) ... [协议收信] 同名客户 · 已加入回复队列
[协议处理] 同名客户 · 根据当前会话生成回复
[协议处理] 同名客户 · 原账号单聊发送
[协议处理] 同名客户 · 发送结果待人工核对,已暂停监听;timeout
ok
test_unknown_receipt_is_paused_without_healthy_poll_log (test_native_protocol_pipeline.EngineTests.test_unknown_receipt_is_paused_without_healthy_poll_log) ... ok
test_waiting_progress_and_periodic_read_confirmation_are_throttled (test_native_protocol_pipeline.EngineTests.test_waiting_progress_and_periodic_read_confirmation_are_throttled) ... ok
test_cancelled_before_send_does_not_consume_id (test_native_protocol_pipeline.JournalTests.test_cancelled_before_send_does_not_consume_id) ... ok
test_changed_payload_same_event_is_blocked (test_native_protocol_pipeline.JournalTests.test_changed_payload_same_event_is_blocked) ... ok
test_failure_does_not_automatically_retry (test_native_protocol_pipeline.JournalTests.test_failure_does_not_automatically_retry) ... ok
test_invalid_text_rejected (test_native_protocol_pipeline.JournalTests.test_invalid_text_rejected) ... ok
test_missing_conversation_blocks_send (test_native_protocol_pipeline.JournalTests.test_missing_conversation_blocks_send) ... ok
test_reopen_after_success_never_resends (test_native_protocol_pipeline.JournalTests.test_reopen_after_success_never_resends) ... ok
test_success_receipt_and_repeat_returns_saved_result (test_native_protocol_pipeline.JournalTests.test_success_receipt_and_repeat_returns_saved_result) ... ok
test_unknown_blocks_retry (test_native_protocol_pipeline.JournalTests.test_unknown_blocks_retry) ... ok
test_wrong_account_rejected_before_journaling_or_send (test_native_protocol_pipeline.JournalTests.test_wrong_account_rejected_before_journaling_or_send) ... ok
test_actual_web_page_protocol_state_buttons_and_visual_return (test_protocol_features.ProtocolGuiTest.test_actual_web_page_protocol_state_buttons_and_visual_return) ... ok
test_detection_state_keeps_binary_paths_out_of_web_payload (test_protocol_features.ProtocolGuiTest.test_detection_state_keeps_binary_paths_out_of_web_payload) ... ok
test_probe_worker_coalesces_clicks_and_delivers_failures (test_protocol_features.ProtocolGuiTest.test_probe_worker_coalesces_clicks_and_delivers_failures) ... ok
test_qt_and_classic_keep_protocol_even_when_other_settings_are_corrupt (test_protocol_features.ProtocolGuiTest.test_qt_and_classic_keep_protocol_even_when_other_settings_are_corrupt) ... ok
test_qt_persists_transport_and_restores_memory_after_disk_failure (test_protocol_features.ProtocolGuiTest.test_qt_persists_transport_and_restores_memory_after_disk_failure) ... ok
test_qt_protocol_start_passes_transport_to_background_thread (test_protocol_features.ProtocolGuiTest.test_qt_protocol_start_passes_transport_to_background_thread) ... ok
test_transport_change_is_saved_and_rejected_while_running (test_protocol_features.ProtocolGuiTest.test_transport_change_is_saved_and_rejected_while_running) ... ok
test_duplicate_names_and_server_ids_remain_isolated_by_exact_account_conversation (test_protocol_features.ProtocolIdContextTest.test_duplicate_names_and_server_ids_remain_isolated_by_exact_account_conversation) ... ok
test_missing_account_unknown_conversation_and_group_never_guess (test_protocol_features.ProtocolIdContextTest.test_missing_account_unknown_conversation_and_group_never_guess) ... ok
test_atomic_export_does_not_destroy_existing_report_on_failure (test_protocol_features.ProtocolProbeTest.test_atomic_export_does_not_destroy_existing_report_on_failure) ... ok
test_installed_client_and_bundled_sdk_never_imply_send_or_login (test_protocol_features.ProtocolProbeTest.test_installed_client_and_bundled_sdk_never_imply_send_or_login) ... ok
test_no_client_and_inaccessible_client (test_protocol_features.ProtocolProbeTest.test_no_client_and_inaccessible_client) ... ok
test_pe_architecture_and_corrupt_header (test_protocol_features.ProtocolProbeTest.test_pe_architecture_and_corrupt_header) ... ok
test_database_failure_is_propagated_and_request_identity_includes_limit (test_protocol_features.ProtocolRoutingTest.test_database_failure_is_propagated_and_request_identity_includes_limit) ... ok
test_invalid_explicit_transport_never_defaults_to_visual (test_protocol_features.ProtocolRoutingTest.test_invalid_explicit_transport_never_defaults_to_visual) ... ok
test_protocol_start_never_constructs_visual_sender_even_with_true_flag (test_protocol_features.ProtocolRoutingTest.test_protocol_start_never_constructs_visual_sender_even_with_true_flag) ... ok
----------------------------------------------------------------------
Ran 105 tests in 4.778s
OK