Spaces:
Sleeping
Sleeping
Commit ·
73b1cfa
1
Parent(s): e7ec332
feat: add sandboxed code execution with CPU and memory limits.
Browse files- test_output_v2.txt +21 -0
- test_output_v3.txt +31 -0
test_output_v2.txt
CHANGED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
============================= test session starts =============================
|
| 2 |
+
platform win32 -- Python 3.13.9, pytest-9.0.1, pluggy-1.6.0
|
| 3 |
+
rootdir: \\wsl.localhost\Ubuntu\root\LLMAgentBuilder
|
| 4 |
+
plugins: anyio-4.11.0, langsmith-0.4.42
|
| 5 |
+
collected 4 items / 1 error
|
| 6 |
+
|
| 7 |
+
=================================== ERRORS ====================================
|
| 8 |
+
_____________________ ERROR collecting tests/test_api.py ______________________
|
| 9 |
+
ImportError while importing test module '\\wsl.localhost\Ubuntu\root\LLMAgentBuilder\tests\test_api.py'.
|
| 10 |
+
Hint: make sure your test modules/packages have valid Python names.
|
| 11 |
+
Traceback:
|
| 12 |
+
C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.2544.0_x64__qbz5n2kfra8p0\Lib\importlib\__init__.py:88: in import_module
|
| 13 |
+
return _bootstrap._gcd_import(name[level:], package, level)
|
| 14 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 15 |
+
tests\test_api.py:2: in <module>
|
| 16 |
+
from server.main import app
|
| 17 |
+
E ModuleNotFoundError: No module named 'server'
|
| 18 |
+
=========================== short test summary info ===========================
|
| 19 |
+
ERROR tests/test_api.py
|
| 20 |
+
!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
|
| 21 |
+
============================== 1 error in 2.48s ===============================
|
test_output_v3.txt
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
============================= test session starts =============================
|
| 2 |
+
platform win32 -- Python 3.13.9, pytest-9.0.1, pluggy-1.6.0
|
| 3 |
+
rootdir: \\wsl.localhost\Ubuntu\root\LLMAgentBuilder
|
| 4 |
+
plugins: anyio-4.11.0, langsmith-0.4.42
|
| 5 |
+
collected 4 items / 1 error
|
| 6 |
+
|
| 7 |
+
=================================== ERRORS ====================================
|
| 8 |
+
_____________________ ERROR collecting tests/test_api.py ______________________
|
| 9 |
+
ImportError while importing test module '\\wsl.localhost\Ubuntu\root\LLMAgentBuilder\tests\test_api.py'.
|
| 10 |
+
Hint: make sure your test modules/packages have valid Python names.
|
| 11 |
+
Traceback:
|
| 12 |
+
C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.2544.0_x64__qbz5n2kfra8p0\Lib\importlib\__init__.py:88: in import_module
|
| 13 |
+
return _bootstrap._gcd_import(name[level:], package, level)
|
| 14 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 15 |
+
tests\test_api.py:2: in <module>
|
| 16 |
+
from server.main import app
|
| 17 |
+
server\main.py:16: in <module>
|
| 18 |
+
from server.sandbox import run_in_sandbox
|
| 19 |
+
server\sandbox.py:4: in <module>
|
| 20 |
+
import resource
|
| 21 |
+
E ModuleNotFoundError: No module named 'resource'
|
| 22 |
+
============================== warnings summary ===============================
|
| 23 |
+
server\models.py:17
|
| 24 |
+
\\wsl.localhost\Ubuntu\root\LLMAgentBuilder\server\models.py:17: PydanticDeprecatedSince20: Pydantic V1 style `@validator` validators are deprecated. You should migrate to Pydantic V2 style `@field_validator` validators, see the migration guide for more details. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.12/migration/
|
| 25 |
+
@validator('model')
|
| 26 |
+
|
| 27 |
+
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
|
| 28 |
+
=========================== short test summary info ===========================
|
| 29 |
+
ERROR tests/test_api.py
|
| 30 |
+
!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
|
| 31 |
+
========================= 1 warning, 1 error in 2.92s =========================
|