Skip to content

Store pytest durations #137

Store pytest durations

Store pytest durations #137

Triggered via schedule November 10, 2025 06:49
Status Cancelled
Total duration 6h 0m 22s
Artifacts
Run pytest and store durations
6h 0m
Run pytest and store durations
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 10 warnings
Run pytest and store durations
The job has exceeded the maximum execution time of 6h0m0s
Run pytest and store durations: src/backend/tests/src/backend/tests/unit/components/processing/test_structured_output_component.py#L469
TestStructuredOutputComponent.test_with_real_openai_model_complex_schema openai.APIConnectionError: Connection error. During task with name 'extract' and id 'af0abfea-d57e-808c-514b-42580f5699ed'
Run pytest and store durations: src/backend/tests/src/backend/tests/unit/components/processing/test_structured_output_component.py#L422
TestStructuredOutputComponent.test_with_real_openai_model_simple_schema_fail openai.APIConnectionError: Connection error. During task with name 'extract' and id 'c1938588-351a-5d6e-beb7-f569cb8cd283'
Run pytest and store durations: src/backend/tests/src/backend/tests/unit/components/processing/test_structured_output_component.py#L318
TestStructuredOutputComponent.test_with_real_openai_model_multiple_patterns openai.APIConnectionError: Connection error. During task with name 'extract' and id '3129a81a-29c6-2555-a0d1-894f6905cefe'
Run pytest and store durations: src/backend/tests/src/backend/tests/unit/components/processing/test_structured_output_component.py#L276
TestStructuredOutputComponent.test_with_real_openai_model_simple_schema openai.APIConnectionError: Connection error. During task with name 'extract' and id '484a8aeb-0522-97f7-254a-0798da2dc72e'
Run pytest and store durations: src/backend/tests/src/backend/tests/unit/components/agents/test_tool_calling_agent.py#L30
test_tool_calling_agent_component lfx.base.agents.events.ExceptionWithMessageError: Connection error..
Run pytest and store durations: src/backend/tests/src/backend/tests/unit/components/agents/test_agent_component.py#L437
TestAgentComponentWithClient.test_agent_component_with_all_anthropic_models AssertionError: The following models failed the test: claude-opus-4-20250514: Exception occurred: Failed to initialize language model: 1 validation error for ChatAnthropic anthropic_api_key Input should be a valid string [type=string_type, input_value=None, input_type=NoneType] For further information visit https://errors.pydantic.dev/2.10/v/string_type claude-sonnet-4-20250514: Exception occurred: Failed to initialize language model: 1 validation error for ChatAnthropic anthropic_api_key Input should be a valid string [type=string_type, input_value=None, input_type=NoneType] For further information visit https://errors.pydantic.dev/2.10/v/string_type claude-3-7-sonnet-latest: Exception occurred: Failed to initialize language model: 1 validation error for ChatAnthropic anthropic_api_key Input should be a valid string [type=string_type, input_value=None, input_type=NoneType] For further information visit https://errors.pydantic.dev/2.10/v/string_type claude-3-5-sonnet-latest: Exception occurred: Failed to initialize language model: 1 validation error for ChatAnthropic anthropic_api_key Input should be a valid string [type=string_type, input_value=None, input_type=NoneType] For further information visit https://errors.pydantic.dev/2.10/v/string_type claude-3-5-haiku-latest: Exception occurred: Failed to initialize language model: 1 validation error for ChatAnthropic anthropic_api_key Input should be a valid string [type=string_type, input_value=None, input_type=NoneType] For further information visit https://errors.pydantic.dev/2.10/v/string_type claude-3-opus-latest: Exception occurred: Failed to initialize language model: 1 validation error for ChatAnthropic anthropic_api_key Input should be a valid string [type=string_type, input_value=None, input_type=NoneType] For further information visit https://errors.pydantic.dev/2.10/v/string_type claude-3-sonnet-20240229: Exception occurred: Failed to initialize language model: 1 validation error for ChatAnthropic anthropic_api_key Input should be a valid string [type=string_type, input_value=None, input_type=NoneType] For further information visit https://errors.pydantic.dev/2.10/v/string_type assert not {'claude-3-5-haiku-latest': 'Exception occurred: Failed to initialize language model: 1 validation error for ChatAnthropic\nanthropic_api_key\n Input should be a valid string [type=string_type, input_value=None, input_type=NoneType]\n For further information visit https://errors.pydantic.dev/2.10/v/string_type', 'claude-3-5-sonnet-latest': 'Exception occurred: Failed to initialize language model: 1 validation error for ChatAnthropic\nanthropic_api_key\n Input should be a valid string [type=string_type, input_value=None, input_type=NoneType]\n For further information visit https://errors.pydantic.dev/2.10/v/string_type', 'claude-3-7-sonnet-latest': 'Exception occurred: Failed to initialize language model: 1 validation error for ChatAnthropic\nanthropic_api_key\n Input should be a valid string [type=string_type, input_value=None, input_type=NoneType]\n For further information visit https://errors.pydantic.dev/2.10/v/string_type', 'claude-3-opus-latest': 'Exception occurred: Failed to initialize language model: 1 validation error for ChatAnthropic\nanthropic_api_key\n Input should be a valid string [type=string_type, input_value=None, input_type=NoneType]\n For further information visit https://errors.pydantic.dev/2.10/v/string_type', ...}
Run pytest and store durations: src/backend/tests/src/backend/tests/unit/components/agents/test_agent_component.py#L399
TestAgentComponentWithClient.test_agent_component_with_all_openai_models lfx.base.agents.events.ExceptionWithMessageError: Connection error..
Run pytest and store durations: src/backend/tests/src/backend/tests/unit/components/agents/test_agent_component.py#L375
TestAgentComponentWithClient.test_agent_component_with_calculator lfx.base.agents.events.ExceptionWithMessageError: Connection error..
Run pytest and store durations: src/backend/tests/src/backend/tests/unit/base/tools/test_component_toolkit.py#L152
test_sql_component_to_toolkit TypeError: object list can't be used in 'await' expression
Run pytest and store durations: src/backend/tests/src/backend/tests/unit/base/tools/test_component_toolkit.py#L132
test_component_tool_with_api_key TypeError: object list can't be used in 'await' expression
Run pytest and store durations: /home/runner/.local/share/uv/python/cpython-3.13.5-linux-x86_64-gnu/lib/python3.13/contextlib.py#L148
WARNING: SQL-parsed foreign key constraint '('user_id', 'user', 'id')' could not be located in PRAGMA foreign_keys for table flow
Run pytest and store durations: /home/runner/.local/share/uv/python/cpython-3.13.5-linux-x86_64-gnu/lib/python3.13/contextlib.py#L148
WARNING: SQL-parsed foreign key constraint '('user_id', 'user', 'id')' could not be located in PRAGMA foreign_keys for table flow
Run pytest and store durations: /home/runner/.local/share/uv/python/cpython-3.13.5-linux-x86_64-gnu/lib/python3.13/contextlib.py#L148
WARNING: SQL-parsed foreign key constraint '('user_id', 'user', 'id')' could not be located in PRAGMA foreign_keys for table flow
Run pytest and store durations: /home/runner/.local/share/uv/python/cpython-3.13.5-linux-x86_64-gnu/lib/python3.13/contextlib.py#L148
WARNING: SQL-parsed foreign key constraint '('user_id', 'user', 'id')' could not be located in PRAGMA foreign_keys for table flow
Run pytest and store durations: /home/runner/.local/share/uv/python/cpython-3.13.5-linux-x86_64-gnu/lib/python3.13/contextlib.py#L148
WARNING: SQL-parsed foreign key constraint '('user_id', 'user', 'id')' could not be located in PRAGMA foreign_keys for table flow
Run pytest and store durations: /home/runner/.local/share/uv/python/cpython-3.13.5-linux-x86_64-gnu/lib/python3.13/contextlib.py#L148
WARNING: SQL-parsed foreign key constraint '('user_id', 'user', 'id')' could not be located in PRAGMA foreign_keys for table flow
Run pytest and store durations: /home/runner/.local/share/uv/python/cpython-3.13.5-linux-x86_64-gnu/lib/python3.13/contextlib.py#L148
WARNING: SQL-parsed foreign key constraint '('user_id', 'user', 'id')' could not be located in PRAGMA foreign_keys for table flow
Run pytest and store durations: /home/runner/.local/share/uv/python/cpython-3.13.5-linux-x86_64-gnu/lib/python3.13/contextlib.py#L148
WARNING: SQL-parsed foreign key constraint '('user_id', 'user', 'id')' could not be located in PRAGMA foreign_keys for table flow
Run pytest and store durations: .venv/lib/python3.13/site-packages/pydantic/_internal/_generate_schema.py#L502
<built-in function callable> is not a Python type (it may be an instance of an object), Pydantic will allow any object with no validation since we cannot even enforce that the input is an instance of the given type. To get rid of this error wrap the type with `pydantic.SkipValidation`.