-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest_log.txt
More file actions
190 lines (159 loc) · 14.7 KB
/
pytest_log.txt
File metadata and controls
190 lines (159 loc) · 14.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
============================= test session starts =============================
platform win32 -- Python 3.14.2, pytest-8.2.2, pluggy-1.6.0
rootdir: D:\Skill Flywheel
configfile: pytest.ini
plugins: anyio-4.12.1, hydra-core-1.3.2, langsmith-0.7.14, logfire-4.22.0, asyncio-0.23.7, cov-5.0.0
asyncio: mode=Mode.AUTO
collected 147 items
tests\evolution\test_config.py ............. [ 8%]
tests\evolution\test_genome.py ................ [ 19%]
tests\test_core_modules.py ................... [ 32%]
tests\test_epistemology_skills.py ......... [ 38%]
tests\test_exceptions.py ............................................. [ 69%]
tests\test_mcp_server_fix.py .................EE... [ 84%]
tests\test_resilience.py ...........ss.......... [100%]
=================================== ERRORS ====================================
____________ ERROR at setup of TestAutoScaler.test_scaling_config _____________
tests\test_mcp_server_fix.py:340: in auto_scaler
return enhanced_mcp_server_v3.AutoScaler()
E AttributeError: module 'src.server.enhanced_mcp_server_v3' has no attribute 'AutoScaler'
______ ERROR at setup of TestAutoScaler.test_calculate_target_containers ______
tests\test_mcp_server_fix.py:340: in auto_scaler
return enhanced_mcp_server_v3.AutoScaler()
E AttributeError: module 'src.server.enhanced_mcp_server_v3' has no attribute 'AutoScaler'
============================== warnings summary ===============================
C:\Users\spectre\AppData\Local\Programs\Python\Python314\Lib\site-packages\pytest_asyncio\plugin.py:166: 9257 warnings
C:\Users\spectre\AppData\Local\Programs\Python\Python314\Lib\site-packages\pytest_asyncio\plugin.py:166: DeprecationWarning: 'asyncio.iscoroutinefunction' is deprecated and slated for removal in Python 3.16; use inspect.iscoroutinefunction() instead
return asyncio.iscoroutinefunction(obj) or inspect.isasyncgenfunction(obj)
C:\Users\spectre\AppData\Local\Programs\Python\Python314\Lib\site-packages\pytest_asyncio\plugin.py:429: 147 warnings
C:\Users\spectre\AppData\Local\Programs\Python\Python314\Lib\site-packages\pytest_asyncio\plugin.py:429: DeprecationWarning: 'asyncio.iscoroutinefunction' is deprecated and slated for removal in Python 3.16; use inspect.iscoroutinefunction() instead
return asyncio.iscoroutinefunction(func)
src\core\exceptions.py:331
D:\Skill Flywheel\src\core\exceptions.py:331: PydanticDeprecatedSince20: Support for class-based `config` is deprecated, use ConfigDict instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.12/migration/
class ErrorResponse(BaseModel):
tests/evolution/test_config.py::TestEvolutionConfig::test_default_config
C:\Users\spectre\AppData\Local\Programs\Python\Python314\Lib\site-packages\pytest_asyncio\plugin.py:1001: DeprecationWarning: 'asyncio.get_event_loop_policy' is deprecated and slated for removal in Python 3.16
return asyncio.get_event_loop_policy()
tests/test_core_modules.py::TestDiscoveryServiceEndpoints::test_health_endpoint
D:\Skill Flywheel\src\server\discovery_service.py:87: DeprecationWarning:
on_event is deprecated, use lifespan event handlers instead.
Read more about it in the
[FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).
@app.on_event("startup")
tests/test_core_modules.py::TestDiscoveryServiceEndpoints::test_health_endpoint
C:\Users\spectre\AppData\Local\Programs\Python\Python314\Lib\site-packages\fastapi\applications.py:4579: DeprecationWarning:
on_event is deprecated, use lifespan event handlers instead.
Read more about it in the
[FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).
return self.router.on_event(event_type)
tests/test_epistemology_skills.py::test_epist_001
C:\Users\spectre\AppData\Local\Programs\Python\Python314\Lib\site-packages\_pytest\python.py:166: PytestReturnNotNoneWarning: Expected None, but tests/test_epistemology_skills.py::test_epist_001 returned True, which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`?
warnings.warn(
tests/test_epistemology_skills.py::test_epist_002
C:\Users\spectre\AppData\Local\Programs\Python\Python314\Lib\site-packages\_pytest\python.py:166: PytestReturnNotNoneWarning: Expected None, but tests/test_epistemology_skills.py::test_epist_002 returned True, which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`?
warnings.warn(
tests/test_epistemology_skills.py::test_epist_003
C:\Users\spectre\AppData\Local\Programs\Python\Python314\Lib\site-packages\_pytest\python.py:166: PytestReturnNotNoneWarning: Expected None, but tests/test_epistemology_skills.py::test_epist_003 returned True, which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`?
warnings.warn(
tests/test_epistemology_skills.py::test_agency_001
C:\Users\spectre\AppData\Local\Programs\Python\Python314\Lib\site-packages\_pytest\python.py:166: PytestReturnNotNoneWarning: Expected None, but tests/test_epistemology_skills.py::test_agency_001 returned True, which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`?
warnings.warn(
tests/test_epistemology_skills.py::test_agency_002
C:\Users\spectre\AppData\Local\Programs\Python\Python314\Lib\site-packages\_pytest\python.py:166: PytestReturnNotNoneWarning: Expected None, but tests/test_epistemology_skills.py::test_agency_002 returned True, which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`?
warnings.warn(
tests/test_epistemology_skills.py::test_agency_003
C:\Users\spectre\AppData\Local\Programs\Python\Python314\Lib\site-packages\_pytest\python.py:166: PytestReturnNotNoneWarning: Expected None, but tests/test_epistemology_skills.py::test_agency_003 returned True, which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`?
warnings.warn(
tests/test_epistemology_skills.py::test_logic_001
C:\Users\spectre\AppData\Local\Programs\Python\Python314\Lib\site-packages\_pytest\python.py:166: PytestReturnNotNoneWarning: Expected None, but tests/test_epistemology_skills.py::test_logic_001 returned True, which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`?
warnings.warn(
tests/test_epistemology_skills.py::test_logic_002
C:\Users\spectre\AppData\Local\Programs\Python\Python314\Lib\site-packages\_pytest\python.py:166: PytestReturnNotNoneWarning: Expected None, but tests/test_epistemology_skills.py::test_logic_002 returned True, which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`?
warnings.warn(
tests/test_epistemology_skills.py::test_epist_004
C:\Users\spectre\AppData\Local\Programs\Python\Python314\Lib\site-packages\_pytest\python.py:166: PytestReturnNotNoneWarning: Expected None, but tests/test_epistemology_skills.py::test_epist_004 returned True, which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`?
warnings.warn(
tests/test_mcp_server_fix.py::TestAdvancedTelemetryManager::test_collect_advanced_metrics
C:\Users\spectre\AppData\Local\Programs\Python\Python314\Lib\site-packages\GPUtil\GPUtil.py:73: DeprecationWarning: Use shutil.which instead of find_executable
nvidia_smi = spawn.find_executable('nvidia-smi')
tests/test_mcp_server_fix.py::TestEnhancedSkillManager::test_discover_skills
tests/test_mcp_server_fix.py::TestEnhancedSkillManager::test_load_skill_dynamically
tests/test_mcp_server_fix.py::TestEnhancedSkillManager::test_execute_skill
tests/test_mcp_server_fix.py::TestPerformance::test_concurrent_skill_loading
tests/test_mcp_server_fix.py::TestIntegration::test_full_server_lifecycle
tests/test_resilience.py::TestTimeoutDecorator::test_timeout_success
tests/test_resilience.py::TestTimeoutDecorator::test_timeout_raises_on_slow_function
C:\Users\spectre\AppData\Local\Programs\Python\Python314\Lib\site-packages\pytest_asyncio\plugin.py:747: DeprecationWarning: 'asyncio.get_event_loop_policy' is deprecated and slated for removal in Python 3.16
_restore_event_loop_policy(asyncio.get_event_loop_policy()),
tests/test_mcp_server_fix.py::TestEnhancedSkillManager::test_discover_skills
tests/test_mcp_server_fix.py::TestEnhancedSkillManager::test_load_skill_dynamically
tests/test_mcp_server_fix.py::TestEnhancedSkillManager::test_execute_skill
tests/test_mcp_server_fix.py::TestPerformance::test_concurrent_skill_loading
tests/test_mcp_server_fix.py::TestIntegration::test_full_server_lifecycle
tests/test_resilience.py::TestTimeoutDecorator::test_timeout_success
tests/test_resilience.py::TestTimeoutDecorator::test_timeout_raises_on_slow_function
C:\Users\spectre\AppData\Local\Programs\Python\Python314\Lib\site-packages\pytest_asyncio\plugin.py:973: DeprecationWarning: 'asyncio.set_event_loop_policy' is deprecated and slated for removal in Python 3.16
asyncio.set_event_loop_policy(new_loop_policy)
tests/test_mcp_server_fix.py::TestEnhancedSkillManager::test_discover_skills
tests/test_mcp_server_fix.py::TestEnhancedSkillManager::test_load_skill_dynamically
tests/test_mcp_server_fix.py::TestEnhancedSkillManager::test_execute_skill
tests/test_mcp_server_fix.py::TestPerformance::test_concurrent_skill_loading
tests/test_mcp_server_fix.py::TestIntegration::test_full_server_lifecycle
tests/test_resilience.py::TestTimeoutDecorator::test_timeout_success
tests/test_resilience.py::TestTimeoutDecorator::test_timeout_raises_on_slow_function
C:\Users\spectre\AppData\Local\Programs\Python\Python314\Lib\site-packages\pytest_asyncio\plugin.py:974: DeprecationWarning: 'asyncio.get_event_loop_policy' is deprecated and slated for removal in Python 3.16
loop = asyncio.get_event_loop_policy().new_event_loop()
tests/test_mcp_server_fix.py::TestEnhancedSkillManager::test_discover_skills
tests/test_mcp_server_fix.py::TestEnhancedSkillManager::test_load_skill_dynamically
tests/test_mcp_server_fix.py::TestEnhancedSkillManager::test_execute_skill
tests/test_mcp_server_fix.py::TestPerformance::test_concurrent_skill_loading
tests/test_mcp_server_fix.py::TestIntegration::test_full_server_lifecycle
tests/test_resilience.py::TestTimeoutDecorator::test_timeout_success
tests/test_resilience.py::TestTimeoutDecorator::test_timeout_raises_on_slow_function
C:\Users\spectre\AppData\Local\Programs\Python\Python314\Lib\site-packages\pytest_asyncio\plugin.py:762: DeprecationWarning: 'asyncio.get_event_loop_policy' is deprecated and slated for removal in Python 3.16
policy = asyncio.get_event_loop_policy()
tests/test_mcp_server_fix.py::TestEnhancedSkillManager::test_discover_skills
tests/test_mcp_server_fix.py::TestEnhancedSkillManager::test_load_skill_dynamically
tests/test_mcp_server_fix.py::TestEnhancedSkillManager::test_execute_skill
tests/test_mcp_server_fix.py::TestPerformance::test_concurrent_skill_loading
tests/test_mcp_server_fix.py::TestIntegration::test_full_server_lifecycle
tests/test_resilience.py::TestTimeoutDecorator::test_timeout_success
tests/test_resilience.py::TestTimeoutDecorator::test_timeout_raises_on_slow_function
C:\Users\spectre\AppData\Local\Programs\Python\Python314\Lib\site-packages\pytest_asyncio\plugin.py:807: DeprecationWarning: 'asyncio.get_event_loop_policy' is deprecated and slated for removal in Python 3.16
policy = asyncio.get_event_loop_policy()
tests/test_mcp_server_fix.py::TestEnhancedSkillManager::test_discover_skills
tests/test_mcp_server_fix.py::TestEnhancedSkillManager::test_load_skill_dynamically
tests/test_mcp_server_fix.py::TestEnhancedSkillManager::test_execute_skill
tests/test_mcp_server_fix.py::TestPerformance::test_concurrent_skill_loading
tests/test_mcp_server_fix.py::TestIntegration::test_full_server_lifecycle
tests/test_resilience.py::TestTimeoutDecorator::test_timeout_success
tests/test_resilience.py::TestTimeoutDecorator::test_timeout_raises_on_slow_function
C:\Users\spectre\AppData\Local\Programs\Python\Python314\Lib\site-packages\pytest_asyncio\plugin.py:831: DeprecationWarning: 'asyncio.set_event_loop_policy' is deprecated and slated for removal in Python 3.16
asyncio.set_event_loop_policy(previous_policy)
tests/test_mcp_server_fix.py::TestEnhancedSkillManager::test_discover_skills
tests/test_mcp_server_fix.py::TestEnhancedSkillManager::test_load_skill_dynamically
tests/test_mcp_server_fix.py::TestEnhancedSkillManager::test_execute_skill
tests/test_mcp_server_fix.py::TestPerformance::test_concurrent_skill_loading
tests/test_mcp_server_fix.py::TestIntegration::test_full_server_lifecycle
tests/test_resilience.py::TestTimeoutDecorator::test_timeout_success
tests/test_resilience.py::TestTimeoutDecorator::test_timeout_raises_on_slow_function
C:\Users\spectre\AppData\Local\Programs\Python\Python314\Lib\site-packages\pytest_asyncio\plugin.py:843: DeprecationWarning: 'asyncio.get_event_loop_policy' is deprecated and slated for removal in Python 3.16
policy = asyncio.get_event_loop_policy()
tests/test_resilience.py::TestRetryWithBackoff::test_retry_success_first_attempt
tests/test_resilience.py::TestRetryWithBackoff::test_retry_exhausted_raises_error
tests/test_resilience.py::TestRetryWithBackoff::test_retry_eventually_succeeds
tests/test_resilience.py::TestRetryWithBackoff::test_retry_with_specific_exceptions
tests/test_resilience.py::TestRetryWithBackoff::test_retry_does_not_catch_non_specified_exceptions
tests/test_resilience.py::TestRetryWithBackoff::test_retry_delay_increases_exponentially
D:\Skill Flywheel\src\core\resilience.py:176: DeprecationWarning: 'asyncio.iscoroutinefunction' is deprecated and slated for removal in Python 3.16; use inspect.iscoroutinefunction() instead
if asyncio.iscoroutinefunction(func):
tests/test_resilience.py::TestTimeoutDecorator::test_timeout_success
tests/test_resilience.py::TestTimeoutDecorator::test_timeout_raises_on_slow_function
tests/test_resilience.py::TestTimeoutDecorator::test_timeout_sync_function_raises
D:\Skill Flywheel\src\core\resilience.py:245: DeprecationWarning: 'asyncio.iscoroutinefunction' is deprecated and slated for removal in Python 3.16; use inspect.iscoroutinefunction() instead
if asyncio.iscoroutinefunction(func):
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ===========================
ERROR tests/test_mcp_server_fix.py::TestAutoScaler::test_scaling_config - Att...
ERROR tests/test_mcp_server_fix.py::TestAutoScaler::test_calculate_target_containers
=========== 143 passed, 2 skipped, 9476 warnings, 2 errors in 4.95s ===========