didi-lot1-ai/artefacte_lot1/output_teste/llm-inference/test-results.xml

1 line
No EOL
20 KiB
XML

<?xml version="1.0" encoding="utf-8"?><testsuites name="pytest tests"><testsuite name="pytest" errors="0" failures="0" skipped="23" tests="123" time="4.957" timestamp="2026-06-25T15:06:02.502416+00:00" hostname="9e470a0b977a"><testcase classname="tests.test_api.TestHealthRoutes" name="test_health_endpoint" time="0.370" /><testcase classname="tests.test_api.TestHealthRoutes" name="test_ready_endpoint" time="0.210" /><testcase classname="tests.test_api.TestModelsRoutes" name="test_list_models" time="1.619" /><testcase classname="tests.test_api.TestModelsRoutes" name="test_list_models_with_backend_filter" time="0.362" /><testcase classname="tests.test_api.TestModelsRoutes" name="test_list_models_invalid_backend" time="0.015" /><testcase classname="tests.test_api.TestModelsRoutes" name="test_list_backends" time="0.011" /><testcase classname="tests.test_api.TestCompletionsRoutes" name="test_chat_completions" time="0.018" /><testcase classname="tests.test_api.TestCompletionsRoutes" name="test_chat_completions_with_parameters" time="0.013" /><testcase classname="tests.test_api.TestCompletionsRoutes" name="test_chat_completions_with_backend_override" time="0.014" /><testcase classname="tests.test_api.TestCompletionsRoutes" name="test_chat_completions_missing_messages" time="0.019" /><testcase classname="tests.test_api.TestCompletionsRoutes" name="test_chat_completions_missing_model" time="0.012" /><testcase classname="tests.test_api.TestModelLoadRoutes" name="test_load_model_unsupported_backend" time="0.014" /><testcase classname="tests.test_api.TestModelLoadRoutes" name="test_unload_model_unsupported_backend" time="0.013" /><testcase classname="tests.test_auth.TestAuthDisabled" name="test_models_accessible_without_token" time="0.383" /><testcase classname="tests.test_auth.TestAuthDisabled" name="test_backends_accessible_without_token" time="0.015" /><testcase classname="tests.test_auth.TestAuthDisabled" name="test_health_accessible" time="0.208" /><testcase classname="tests.test_auth.TestAuthDisabled" name="test_ready_accessible" time="0.190" /><testcase classname="tests.test_auth.TestAuthEnabled" name="test_missing_token_returns_401" time="0.018" /><testcase classname="tests.test_auth.TestAuthEnabled" name="test_invalid_token_returns_401" time="0.015" /><testcase classname="tests.test_auth.TestAuthEnabled" name="test_valid_token_allows_access" time="0.141" /><testcase classname="tests.test_auth.TestAuthEnabled" name="test_second_valid_token_works" time="0.136" /><testcase classname="tests.test_auth.TestAuthEnabled" name="test_malformed_header_missing_bearer" time="0.011" /><testcase classname="tests.test_auth.TestAuthEnabled" name="test_malformed_header_wrong_prefix" time="0.012" /><testcase classname="tests.test_auth.TestAuthEnabled" name="test_health_excluded_from_auth" time="0.148" /><testcase classname="tests.test_auth.TestAuthEnabled" name="test_ready_excluded_from_auth" time="0.129" /><testcase classname="tests.test_auth.TestAuthEnabled" name="test_backends_requires_auth" time="0.011" /><testcase classname="tests.test_auth.TestAuthEnabled" name="test_backends_with_valid_token" time="0.011" /><testcase classname="tests.test_auth.TestTokenParsing" name="test_comma_separated_tokens" time="0.002" /><testcase classname="tests.test_auth.TestTokenParsing" name="test_empty_string_disables_auth" time="0.001" /><testcase classname="tests.test_auth.TestTokenParsing" name="test_whitespace_tokens_stripped" time="0.001" /><testcase classname="tests.test_auth.TestTokenParsing" name="test_none_disables_auth" time="0.001" /><testcase classname="tests.test_auth.TestTokenParsing" name="test_single_token" time="0.001" /><testcase classname="tests.test_auth.TestTokenParsing" name="test_whitespace_only_disables_auth" time="0.001" /><testcase classname="tests.test_client.TestLLMClient" name="test_init_with_settings" time="0.001" /><testcase classname="tests.test_client.TestLLMClient" name="test_init_without_settings" time="0.001" /><testcase classname="tests.test_client.TestLLMClient" name="test_list_backends" time="0.001" /><testcase classname="tests.test_client.TestLLMClient" name="test_complete_uses_default_backend" time="0.004" /><testcase classname="tests.test_client.TestLLMClient" name="test_complete_uses_default_model" time="0.003" /><testcase classname="tests.test_client.TestLLMClient" name="test_complete_with_dict_messages" time="0.002" /><testcase classname="tests.test_client.TestLLMClient" name="test_complete_with_chatmessage_objects" time="0.002" /><testcase classname="tests.test_client.TestLLMClient" name="test_list_models" time="0.345" /><testcase classname="tests.test_client.TestLLMClient" name="test_health_check" time="0.238" /><testcase classname="tests.test_client.TestLLMClient" name="test_parse_messages_dict" time="0.001" /><testcase classname="tests.test_client.TestLLMClient" name="test_parse_messages_chatmessage" time="0.001" /><testcase classname="tests.test_client.TestBackendSelection" name="test_unavailable_backend_raises_error" time="0.001" /><testcase classname="tests.test_client.TestBackendSelection" name="test_enabled_vllm_backend" time="0.007" /><testcase classname="tests.test_concurrency.TestConcurrencyLimiter" name="test_acquire_within_limit" time="0.001" /><testcase classname="tests.test_concurrency.TestConcurrencyLimiter" name="test_acquire_exceeds_limit_raises_503" time="0.001" /><testcase classname="tests.test_concurrency.TestConcurrencyLimiter" name="test_acquire_blocking_mode" time="0.032" /><testcase classname="tests.test_concurrency.TestConcurrencyLimiter" name="test_concurrent_acquire_releases_properly" time="0.003" /><testcase classname="tests.test_concurrency.TestConcurrencyLimiter" name="test_acquire_releases_on_exception" time="0.001" /><testcase classname="tests.test_concurrency.TestConcurrencyLimiter" name="test_counter_lock_prevents_race_condition" time="0.005" /><testcase classname="tests.test_concurrency.TestConcurrencyLimiter" name="test_properties_accurate_during_use" time="0.001" /><testcase classname="tests.test_concurrency.TestConcurrencyLimiter" name="test_retry_after_header_in_503_response" time="0.001" /><testcase classname="tests.test_config.TestLLMSettings" name="test_required_fields" time="0.001" /><testcase classname="tests.test_config.TestLLMSettings" name="test_with_required_fields" time="0.001" /><testcase classname="tests.test_config.TestLLMSettings" name="test_optional_defaults" time="0.001" /><testcase classname="tests.test_config.TestLLMSettings" name="test_env_override" time="0.001" /><testcase classname="tests.test_config.TestLLMSettings" name="test_vllm_url_default" time="0.001" /><testcase classname="tests.test_config.TestLLMSettings" name="test_llamacpp_url_default" time="0.001" /><testcase classname="tests.test_config.TestLLMSettings" name="test_timeout_settings" time="0.001" /><testcase classname="tests.test_config.TestLLMSettings" name="test_rate_limit_settings" time="0.001" /><testcase classname="tests.test_config.TestSettingsCache" name="test_set_and_get" time="0.001" /><testcase classname="tests.test_config.TestSettingsCache" name="test_get_without_set_creates_instance" time="0.001" /><testcase classname="tests.test_config.TestSettingsCache" name="test_cached_returns_same_instance" time="0.001" /><testcase classname="tests.test_config.TestSettingsCache" name="test_clear_removes_cached_instance" time="0.001" /><testcase classname="tests.test_e2e_real.TestHealthEndpoints" name="test_health_returns_status" time="0.000"><skipped type="pytest.skip" message="Server not running at http://localhost. Start with: ./deploy/deploy.sh --profile api --detach">/app/tests/test_e2e_real.py:75: Server not running at http://localhost. Start with: ./deploy/deploy.sh --profile api --detach</skipped></testcase><testcase classname="tests.test_e2e_real.TestHealthEndpoints" name="test_ready_returns_readiness" time="0.000"><skipped type="pytest.skip" message="Server not running at http://localhost. Start with: ./deploy/deploy.sh --profile api --detach">/app/tests/test_e2e_real.py:92: Server not running at http://localhost. Start with: ./deploy/deploy.sh --profile api --detach</skipped></testcase><testcase classname="tests.test_e2e_real.TestBackendsEndpoints" name="test_list_backends" time="0.000"><skipped type="pytest.skip" message="Server not running at http://localhost. Start with: ./deploy/deploy.sh --profile api --detach">/app/tests/test_e2e_real.py:111: Server not running at http://localhost. Start with: ./deploy/deploy.sh --profile api --detach</skipped></testcase><testcase classname="tests.test_e2e_real.TestBackendsEndpoints" name="test_list_models" time="0.000"><skipped type="pytest.skip" message="Server not running at http://localhost. Start with: ./deploy/deploy.sh --profile api --detach">/app/tests/test_e2e_real.py:124: Server not running at http://localhost. Start with: ./deploy/deploy.sh --profile api --detach</skipped></testcase><testcase classname="tests.test_e2e_real.TestBackendsEndpoints" name="test_list_models_with_backend_filter" time="0.000"><skipped type="pytest.skip" message="Server not running at http://localhost. Start with: ./deploy/deploy.sh --profile api --detach">/app/tests/test_e2e_real.py:135: Server not running at http://localhost. Start with: ./deploy/deploy.sh --profile api --detach</skipped></testcase><testcase classname="tests.test_e2e_real.TestBackendsEndpoints" name="test_list_models_invalid_backend_returns_400" time="0.000"><skipped type="pytest.skip" message="Server not running at http://localhost. Start with: ./deploy/deploy.sh --profile api --detach">/app/tests/test_e2e_real.py:146: Server not running at http://localhost. Start with: ./deploy/deploy.sh --profile api --detach</skipped></testcase><testcase classname="tests.test_e2e_real.TestCompletionsEndpoints" name="test_chat_completion_basic" time="0.000"><skipped type="pytest.skip" message="Server not running at http://localhost. Start with: ./deploy/deploy.sh --profile api --detach">/app/tests/test_e2e_real.py:163: Server not running at http://localhost. Start with: ./deploy/deploy.sh --profile api --detach</skipped></testcase><testcase classname="tests.test_e2e_real.TestCompletionsEndpoints" name="test_chat_completion_with_parameters" time="0.000"><skipped type="pytest.skip" message="Server not running at http://localhost. Start with: ./deploy/deploy.sh --profile api --detach">/app/tests/test_e2e_real.py:192: Server not running at http://localhost. Start with: ./deploy/deploy.sh --profile api --detach</skipped></testcase><testcase classname="tests.test_e2e_real.TestCompletionsEndpoints" name="test_streaming_completion" time="0.000"><skipped type="pytest.skip" message="Server not running at http://localhost. Start with: ./deploy/deploy.sh --profile api --detach">/app/tests/test_e2e_real.py:212: Server not running at http://localhost. Start with: ./deploy/deploy.sh --profile api --detach</skipped></testcase><testcase classname="tests.test_e2e_real.TestCompletionsEndpoints" name="test_multi_turn_conversation" time="0.000"><skipped type="pytest.skip" message="Server not running at http://localhost. Start with: ./deploy/deploy.sh --profile api --detach">/app/tests/test_e2e_real.py:252: Server not running at http://localhost. Start with: ./deploy/deploy.sh --profile api --detach</skipped></testcase><testcase classname="tests.test_e2e_real.TestValidationErrors" name="test_missing_messages_returns_422" time="0.000"><skipped type="pytest.skip" message="Server not running at http://localhost. Start with: ./deploy/deploy.sh --profile api --detach">/app/tests/test_e2e_real.py:286: Server not running at http://localhost. Start with: ./deploy/deploy.sh --profile api --detach</skipped></testcase><testcase classname="tests.test_e2e_real.TestValidationErrors" name="test_missing_model_returns_422" time="0.000"><skipped type="pytest.skip" message="Server not running at http://localhost. Start with: ./deploy/deploy.sh --profile api --detach">/app/tests/test_e2e_real.py:295: Server not running at http://localhost. Start with: ./deploy/deploy.sh --profile api --detach</skipped></testcase><testcase classname="tests.test_e2e_real.TestValidationErrors" name="test_empty_messages_returns_422" time="0.000"><skipped type="pytest.skip" message="Server not running at http://localhost. Start with: ./deploy/deploy.sh --profile api --detach">/app/tests/test_e2e_real.py:304: Server not running at http://localhost. Start with: ./deploy/deploy.sh --profile api --detach</skipped></testcase><testcase classname="tests.test_e2e_real.TestValidationErrors" name="test_invalid_temperature_returns_422" time="0.000"><skipped type="pytest.skip" message="Server not running at http://localhost. Start with: ./deploy/deploy.sh --profile api --detach">/app/tests/test_e2e_real.py:313: Server not running at http://localhost. Start with: ./deploy/deploy.sh --profile api --detach</skipped></testcase><testcase classname="tests.test_e2e_real.TestValidationErrors" name="test_invalid_max_tokens_returns_422" time="0.000"><skipped type="pytest.skip" message="Server not running at http://localhost. Start with: ./deploy/deploy.sh --profile api --detach">/app/tests/test_e2e_real.py:326: Server not running at http://localhost. Start with: ./deploy/deploy.sh --profile api --detach</skipped></testcase><testcase classname="tests.test_e2e_real.TestValidationErrors" name="test_empty_message_content_returns_422" time="0.000"><skipped type="pytest.skip" message="Server not running at http://localhost. Start with: ./deploy/deploy.sh --profile api --detach">/app/tests/test_e2e_real.py:339: Server not running at http://localhost. Start with: ./deploy/deploy.sh --profile api --detach</skipped></testcase><testcase classname="tests.test_e2e_real.TestValidationErrors" name="test_extra_fields_rejected" time="0.000"><skipped type="pytest.skip" message="Server not running at http://localhost. Start with: ./deploy/deploy.sh --profile api --detach">/app/tests/test_e2e_real.py:351: Server not running at http://localhost. Start with: ./deploy/deploy.sh --profile api --detach</skipped></testcase><testcase classname="tests.test_e2e_real.TestModelManagement" name="test_load_model_unsupported_backend_returns_400" time="0.000"><skipped type="pytest.skip" message="Server not running at http://localhost. Start with: ./deploy/deploy.sh --profile api --detach">/app/tests/test_e2e_real.py:373: Server not running at http://localhost. Start with: ./deploy/deploy.sh --profile api --detach</skipped></testcase><testcase classname="tests.test_e2e_real.TestModelManagement" name="test_unload_model_unsupported_backend_returns_400" time="0.000"><skipped type="pytest.skip" message="Server not running at http://localhost. Start with: ./deploy/deploy.sh --profile api --detach">/app/tests/test_e2e_real.py:385: Server not running at http://localhost. Start with: ./deploy/deploy.sh --profile api --detach</skipped></testcase><testcase classname="tests.test_e2e_real.TestModelManagement" name="test_load_model_missing_backend_returns_422" time="0.000"><skipped type="pytest.skip" message="Server not running at http://localhost. Start with: ./deploy/deploy.sh --profile api --detach">/app/tests/test_e2e_real.py:397: Server not running at http://localhost. Start with: ./deploy/deploy.sh --profile api --detach</skipped></testcase><testcase classname="tests.test_e2e_real.TestModelManagement" name="test_load_model_missing_model_returns_422" time="0.000"><skipped type="pytest.skip" message="Server not running at http://localhost. Start with: ./deploy/deploy.sh --profile api --detach">/app/tests/test_e2e_real.py:406: Server not running at http://localhost. Start with: ./deploy/deploy.sh --profile api --detach</skipped></testcase><testcase classname="tests.test_e2e_real.TestMiddleware" name="test_request_id_header_added" time="0.000"><skipped type="pytest.skip" message="Server not running at http://localhost. Start with: ./deploy/deploy.sh --profile api --detach">/app/tests/test_e2e_real.py:424: Server not running at http://localhost. Start with: ./deploy/deploy.sh --profile api --detach</skipped></testcase><testcase classname="tests.test_e2e_real.TestMiddleware" name="test_request_id_preserved_when_provided" time="0.000"><skipped type="pytest.skip" message="Server not running at http://localhost. Start with: ./deploy/deploy.sh --profile api --detach">/app/tests/test_e2e_real.py:431: Server not running at http://localhost. Start with: ./deploy/deploy.sh --profile api --detach</skipped></testcase><testcase classname="tests.test_retry.TestExtractRetryAfter" name="test_extracts_retry_after_from_response" time="0.001" /><testcase classname="tests.test_retry.TestExtractRetryAfter" name="test_extracts_float_retry_after" time="0.000" /><testcase classname="tests.test_retry.TestExtractRetryAfter" name="test_returns_none_for_missing_header" time="0.001" /><testcase classname="tests.test_retry.TestExtractRetryAfter" name="test_returns_none_for_no_response" time="0.000" /><testcase classname="tests.test_retry.TestExtractRetryAfter" name="test_returns_none_for_invalid_value" time="0.001" /><testcase classname="tests.test_retry.TestRetryWithBackoff" name="test_successful_call_no_retry" time="0.001" /><testcase classname="tests.test_retry.TestRetryWithBackoff" name="test_retry_after_capped_at_max_wait" time="0.004" /><testcase classname="tests.test_retry.TestRetryWithBackoff" name="test_exponential_backoff_with_jitter" time="0.004" /><testcase classname="tests.test_retry.TestRetryWithBackoff" name="test_max_retries_exceeded_raises" time="0.007" /><testcase classname="tests.test_text_completions" name="test_default_model_is_qwen" time="0.001" /><testcase classname="tests.test_text_completions" name="test_alias_resolves_to_real_model" time="0.001" /><testcase classname="tests.test_text_completions" name="test_alias_passthrough_when_unmapped" time="0.001" /><testcase classname="tests.test_text_completions" name="test_text_complete_routes_and_resolves_alias" time="0.002" /><testcase classname="tests.test_text_completions" name="test_unsupported_backend_raises_not_implemented" time="0.001" /><testcase classname="tests.test_text_completions" name="test_fallback_cascade_on_primary_failure" time="0.008" /><testcase classname="tests.test_text_completions" name="test_explicit_backend_disables_fallback" time="0.007" /><testcase classname="tests.test_text_completions" name="test_metrics_recorded_on_success" time="0.003" /><testcase classname="tests.test_types.TestBackendType" name="test_values" time="0.000" /><testcase classname="tests.test_types.TestBackendType" name="test_from_string" time="0.000" /><testcase classname="tests.test_types.TestChatMessage" name="test_basic_message" time="0.000" /><testcase classname="tests.test_types.TestChatMessage" name="test_message_with_name" time="0.000" /><testcase classname="tests.test_types.TestChatMessage" name="test_message_from_dict" time="0.000" /><testcase classname="tests.test_types.TestChatMessage" name="test_message_dump" time="0.000" /><testcase classname="tests.test_types.TestUsage" name="test_default_values" time="0.000" /><testcase classname="tests.test_types.TestUsage" name="test_with_values" time="0.000" /><testcase classname="tests.test_types.TestChoice" name="test_basic_choice" time="0.000" /><testcase classname="tests.test_types.TestStreamChoice" name="test_stream_choice" time="0.000" /><testcase classname="tests.test_types.TestModelInfo" name="test_basic_model_info" time="0.000" /><testcase classname="tests.test_types.TestModelInfo" name="test_full_model_info" time="0.000" /><testcase classname="tests.test_utils.TestSafeCloseStream" name="test_closes_stream_with_aclose" time="0.003" /><testcase classname="tests.test_utils.TestSafeCloseStream" name="test_closes_stream_with_close_fallback" time="0.002" /><testcase classname="tests.test_utils.TestSafeCloseStream" name="test_handles_none_stream" time="0.001" /><testcase classname="tests.test_utils.TestSafeCloseStream" name="test_handles_close_exception" time="0.003" /><testcase classname="tests.test_utils.TestSafeCloseStream" name="test_handles_stream_without_close_methods" time="0.002" /></testsuite></testsuites>