Files
kefu/deploy/review-voice-20260918/voice-source312.log
T
2026-09-21 10:34:06 +08:00

104 lines
13 KiB
Plaintext

test_fails_asr_to_manual_and_ignores_other_conversation_snapshot (test_voice_messages.VisualVoiceTests.test_fails_asr_to_manual_and_ignores_other_conversation_snapshot) ... FAIL
test_timeout_notifies_manual_instead_of_sending_guess (test_voice_messages.VisualVoiceTests.test_timeout_notifies_manual_instead_of_sending_guess) ... ok
test_waits_without_manual_state_then_allows_transcribed_text (test_voice_messages.VisualVoiceTests.test_waits_without_manual_state_then_allows_transcribed_text) ... ok
test_ambiguous_files_and_other_account_do_not_enqueue (test_voice_messages.VoiceDatabaseTests.test_ambiguous_files_and_other_account_do_not_enqueue) ... ok
test_cache_collision_across_conversations_is_rejected (test_voice_messages.VoiceDatabaseTests.test_cache_collision_across_conversations_is_rejected) ... ok
test_cache_index_is_background_and_does_not_hold_database_reader (test_voice_messages.VoiceDatabaseTests.test_cache_index_is_background_and_does_not_hold_database_reader) ... ok
test_cache_update_on_same_message_becomes_visible_without_new_incoming (test_voice_messages.VoiceDatabaseTests.test_cache_update_on_same_message_becomes_visible_without_new_incoming) ... ok
test_empty_asr_result_is_error_not_answer (test_voice_messages.VoiceDatabaseTests.test_empty_asr_result_is_error_not_answer) ... ok
test_exact_current_account_path_enqueues_then_returns_transcript (test_voice_messages.VoiceDatabaseTests.test_exact_current_account_path_enqueues_then_returns_transcript) ... ok
test_missing_table_and_empty_text_are_not_transcriptions (test_voice_messages.VoiceDatabaseTests.test_missing_table_and_empty_text_are_not_transcriptions) ... ok
test_mixed_batch_waits_for_all_voices_and_rejects_foreign_binding (test_voice_messages.VoiceDatabaseTests.test_mixed_batch_waits_for_all_voices_and_rejects_foreign_binding) ... ok
test_old_history_and_voice_before_human_reply_are_not_enqueued (test_voice_messages.VoiceDatabaseTests.test_old_history_and_voice_before_human_reply_are_not_enqueued) ... ok
test_reads_server_id_cache_as_real_text_preserving_voice_type (test_voice_messages.VoiceDatabaseTests.test_reads_server_id_cache_as_real_text_preserving_voice_type) ... ok
test_row_id_is_not_server_id_and_binary_payload_never_reaches_model (test_voice_messages.VoiceDatabaseTests.test_row_id_is_not_server_id_and_binary_payload_never_reaches_model) ... ok
test_same_server_id_in_other_account_is_not_used (test_voice_messages.VoiceDatabaseTests.test_same_server_id_in_other_account_is_not_used) ... ok
test_accounts_conversations_and_message_ids_do_not_share_results (test_voice_transcription.VoiceTranscriptionTests.test_accounts_conversations_and_message_ids_do_not_share_results) ... ok
test_bad_header_is_not_sent_to_model (test_voice_transcription.VoiceTranscriptionTests.test_bad_header_is_not_sent_to_model) ... ok
test_change_during_recognition_drops_old_result (test_voice_transcription.VoiceTranscriptionTests.test_change_during_recognition_drops_old_result) ... ok
test_close_discards_text_and_stops_new_jobs (test_voice_transcription.VoiceTranscriptionTests.test_close_discards_text_and_stops_new_jobs) ... ok
test_close_during_recognition_never_repopulates_cache (test_voice_transcription.VoiceTranscriptionTests.test_close_during_recognition_never_repopulates_cache) ... ok
test_duration_limit_rejects_instead_of_truncating (test_voice_transcription.VoiceTranscriptionTests.test_duration_limit_rejects_instead_of_truncating) ... ok
test_empty_recognition_never_becomes_ready (test_voice_transcription.VoiceTranscriptionTests.test_empty_recognition_never_becomes_ready) ... ok
test_failed_job_retries_only_after_backoff (test_voice_transcription.VoiceTranscriptionTests.test_failed_job_retries_only_after_backoff) ... ok
test_failures_back_off_and_do_not_leak_exception_details (test_voice_transcription.VoiceTranscriptionTests.test_failures_back_off_and_do_not_leak_exception_details) ... ok
test_group_wrong_account_self_invalid_server_denied (test_voice_transcription.VoiceTranscriptionTests.test_group_wrong_account_self_invalid_server_denied) ... ok
test_invalid_model_manifest_fails_without_network (test_voice_transcription.VoiceTranscriptionTests.test_invalid_model_manifest_fails_without_network) ... ok
test_low_confidence_segment_is_rejected (test_voice_transcription.VoiceTranscriptionTests.test_low_confidence_segment_is_rejected) ... ok
test_missing_allowed_root_rejected (test_voice_transcription.VoiceTranscriptionTests.test_missing_allowed_root_rejected) ... ok
test_missing_file_has_readable_error_without_path (test_voice_transcription.VoiceTranscriptionTests.test_missing_file_has_readable_error_without_path) ... ok
test_missing_model_fails_without_network (test_voice_transcription.VoiceTranscriptionTests.test_missing_model_fails_without_network) ... ok
test_model_loading_is_forced_offline (test_voice_transcription.VoiceTranscriptionTests.test_model_loading_is_forced_offline) ... ok
test_outside_root_rejected (test_voice_transcription.VoiceTranscriptionTests.test_outside_root_rejected) ... ok
test_queue_is_bounded (test_voice_transcription.VoiceTranscriptionTests.test_queue_is_bounded) ... ok
test_request_is_fast_while_worker_waits (test_voice_transcription.VoiceTranscriptionTests.test_request_is_fast_while_worker_waits) ... ok
test_same_message_changed_audio_is_not_cached (test_voice_transcription.VoiceTranscriptionTests.test_same_message_changed_audio_is_not_cached) ... ok
test_same_message_same_audio_is_recognized_once (test_voice_transcription.VoiceTranscriptionTests.test_same_message_same_audio_is_recognized_once) ... ok
test_silence_is_not_sent_to_model (test_voice_transcription.VoiceTranscriptionTests.test_silence_is_not_sent_to_model) ... ok
test_silk_pcm_output_limit_is_enforced (test_voice_transcription.VoiceTranscriptionTests.test_silk_pcm_output_limit_is_enforced) ... ok
test_silk_real_decode_of_synthetic_pcm (test_voice_transcription.VoiceTranscriptionTests.test_silk_real_decode_of_synthetic_pcm) ... ok
test_size_limit_prevents_worker (test_voice_transcription.VoiceTranscriptionTests.test_size_limit_prevents_worker) ... ok
test_wav_transcribes_and_preserves_digest (test_voice_transcription.VoiceTranscriptionTests.test_wav_transcribes_and_preserves_digest) ... ok
test_context_failure_returns_none_and_can_recover (test_database_reply_priority.BackgroundDatabaseTests.test_context_failure_returns_none_and_can_recover) ... ok
test_polling_during_retry_cooldown_does_not_extend_it (test_database_reply_priority.BackgroundDatabaseTests.test_polling_during_retry_cooldown_does_not_extend_it) ... ok
test_slow_key_setup_does_not_block_and_late_poll_result_is_retained (test_database_reply_priority.BackgroundDatabaseTests.test_slow_key_setup_does_not_block_and_late_poll_result_is_retained) ... ok
test_active_task_receives_followup_instead_of_only_merging_tag (test_database_reply_priority.DatabaseDetectionTests.test_active_task_receives_followup_instead_of_only_merging_tag) ... [引擎B] 已登记新消息 → 客户甲
[引擎B] 已登记新消息 → 客户甲
ok
test_duplicate_message_and_ambiguous_name_are_not_queued (test_database_reply_priority.DatabaseDetectionTests.test_duplicate_message_and_ambiguous_name_are_not_queued) ... [引擎B] 已登记新消息 → 客户甲
ok
test_failed_enqueue_is_retried_without_new_database_row (test_database_reply_priority.DatabaseDetectionTests.test_failed_enqueue_is_retried_without_new_database_row) ... [引擎B] [!] 投递未执行: busy
[引擎B] 已登记新消息 → 客户甲
ok
test_last_outgoing_is_not_queued_and_failure_changes_health (test_database_reply_priority.DatabaseDetectionTests.test_last_outgoing_is_not_queued_and_failure_changes_health) ... [引擎B] DB 直读失败: unreadable,备用检测继续运行
ok
test_accounts_keep_independent_cursors_and_accept_late_writes (test_database_reply_priority.DatabaseFixture.test_accounts_keep_independent_cursors_and_accept_late_writes) ... ok
test_closed_database_reports_failure (test_database_reply_priority.DatabaseFixture.test_closed_database_reports_failure) ... ok
test_context_has_sender_direction_and_media_placeholder (test_database_reply_priority.DatabaseFixture.test_context_has_sender_direction_and_media_placeholder) ... ok
test_cross_thread_reads_and_wal_only_messages (test_database_reply_priority.DatabaseFixture.test_cross_thread_reads_and_wal_only_messages) ... ok
test_duplicate_titles_never_select_another_account (test_database_reply_priority.DatabaseFixture.test_duplicate_titles_never_select_another_account) ... ok
test_initial_history_boundary_ms_and_new_account (test_database_reply_priority.DatabaseFixture.test_initial_history_boundary_ms_and_new_account) ... ok
test_large_batch_and_same_second_insertion_do_not_skip (test_database_reply_priority.DatabaseFixture.test_large_batch_and_same_second_insertion_do_not_skip) ... ok
test_schema_failure_does_not_advance_valid_account_cursor (test_database_reply_priority.DatabaseFixture.test_schema_failure_does_not_advance_valid_account_cursor) ... ok
test_service_reconnect_preserves_consumed_database_rows (test_database_reply_priority.DatabaseFixture.test_service_reconnect_preserves_consumed_database_rows) ... ok
test_actual_generation_uses_database_text_without_clipboard_or_remote_vision (test_database_reply_priority.PriorityReplyTests.test_actual_generation_uses_database_text_without_clipboard_or_remote_vision) ... [档案] 首次遇到该会话,已暂存(2 行可见历史)
[档案] 旧会话档案归属无法唯一证明,已保留但不会自动用于当前会话。
[AI] 本次提取的新内容:
客户甲 2026/09/14 10:00:00
你好
[AI] 回复内容: 有什么可以帮您?
ok
test_ambiguous_or_unverified_database_names_cannot_map_visual_contacts (test_database_reply_priority.PriorityReplyTests.test_ambiguous_or_unverified_database_names_cannot_map_visual_contacts) ... ok
test_current_database_context_overrides_stale_pre_copied_text (test_database_reply_priority.PriorityReplyTests.test_current_database_context_overrides_stale_pre_copied_text) ... [档案] 首次遇到该会话,已建档(2 行可见历史)
ok
test_database_direction_beats_old_visible_outgoing_bubble (test_database_reply_priority.PriorityReplyTests.test_database_direction_beats_old_visible_outgoing_bubble) ... ok
test_database_event_merges_into_existing_external_visual_task (test_database_reply_priority.PriorityReplyTests.test_database_event_merges_into_existing_external_visual_task) ... ok
test_database_success_never_touches_clipboard_or_geometry (test_database_reply_priority.PriorityReplyTests.test_database_success_never_touches_clipboard_or_geometry) ... ok
test_empty_database_uses_copy_fallback (test_database_reply_priority.PriorityReplyTests.test_empty_database_uses_copy_fallback) ... [档案] 首次遇到该会话,已建档(1 行可见历史)
ok
test_external_label_maps_to_unique_database_task_without_changing_hashes (test_database_reply_priority.PriorityReplyTests.test_external_label_maps_to_unique_database_task_without_changing_hashes) ... ok
test_failed_active_task_yields_to_new_customer (test_database_reply_priority.PriorityReplyTests.test_failed_active_task_yields_to_new_customer) ... ok
test_followup_invalidates_reply_generated_for_old_message (test_database_reply_priority.PriorityReplyTests.test_followup_invalidates_reply_generated_for_old_message) ... ok
test_followup_preserves_inflight_stage_and_wakes_worker (test_database_reply_priority.PriorityReplyTests.test_followup_preserves_inflight_stage_and_wakes_worker) ... ok
test_new_message_arriving_before_send_rejects_stale_reply (test_database_reply_priority.PriorityReplyTests.test_new_message_arriving_before_send_rejects_stale_reply) ... ok
test_new_task_does_not_bind_foreground_identity (test_database_reply_priority.PriorityReplyTests.test_new_task_does_not_bind_foreground_identity) ... ok
test_uncertain_send_is_not_reset_by_followup (test_database_reply_priority.PriorityReplyTests.test_uncertain_send_is_not_reset_by_followup) ... ok
test_wrong_title_or_missing_latest_id_does_not_use_database (test_database_reply_priority.PriorityReplyTests.test_wrong_title_or_missing_latest_id_does_not_use_database) ... ok
test_bad_rows_do_not_crash_context_or_skip_later_valid_messages (test_database_timestamp_audit.DatabaseTimestampAudit.test_bad_rows_do_not_crash_context_or_skip_later_valid_messages) ... ok
test_nonfinite_timestamps_are_not_messages (test_database_timestamp_audit.DatabaseTimestampAudit.test_nonfinite_timestamps_are_not_messages) ... ok
test_out_of_range_timestamps_are_not_messages (test_database_timestamp_audit.DatabaseTimestampAudit.test_out_of_range_timestamps_are_not_messages) ... ok
test_seconds_and_milliseconds_preserve_chronology (test_database_timestamp_audit.DatabaseTimestampAudit.test_seconds_and_milliseconds_preserve_chronology) ... ok
======================================================================
FAIL: test_fails_asr_to_manual_and_ignores_other_conversation_snapshot (test_voice_messages.VisualVoiceTests.test_fails_asr_to_manual_and_ignores_other_conversation_snapshot)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\kefu\wechat_rpa\test_voice_messages.py", line 214, in test_fails_asr_to_manual_and_ignores_other_conversation_snapshot
self.assertFalse(self.bot._wait_for_database_voice(b'x'*40))
AssertionError: True is not false
----------------------------------------------------------------------
Ran 76 tests in 7.254s
FAILED (failures=1)