콘텐츠로 이동

unittest Result

Test Summary


Item Value
Execution ID 20260910_133034_865565
Pass FAIL
Latest 2026-09-10T13:30:34.865653+09:00
Duration 0.067870 seconds
Total 6
Passed 5
Failed 1
Errors 0
Skipped 0


Test envs Value
test_os windows
test_name local_01
test_environment local
test_request local_vscode


Test Functions

  • Unit TEST
    • PATH0: test_envs/tests/unittest/ct_framework/python
PATH Test Function Pass Duration (s)
0 test_available_tests_exposes_allowlists PASS 0.001308
0 test_hil_requires_explicit_server_opt_in PASS 0.000889
0 test_pytest_command_uses_allowlisted_arguments_without_a_shell PASS 0.000088
0 test_rejects_unknown_test_id_before_starting_process PASS 0.000155
0 test_client_discovers_and_calls_list_tests PASS 0.048169
0 test_stdio_client_launches_external_server_process FAIL 0.017260

Failed Functions

Test Function Status Failure
test_stdio_client_launches_external_server_process FAIL self = async def test_stdio_client_launches_external_server_process(self) -> None: parameters = StdioServerParameters( command=sys.executable, args=["-m", "test_envs.mcp_server"], cwd=os.getcwd(), env={"AI_CT_MCP_ALLOW_HIL": "false"}, ) > async with Client(parameters) as client: ^^^^^^ test_envs\tests\unittest\ct_framework\python\test_mcp_runner.py:72: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .venv\Lib\site-packages\mcp\client\client.py:454: in aenter session = await self.build_session(exit_stack) ^^^^^^^^^^^^^ .venv\Lib\site-packages\mcp\client\client.py:427: in _build_session dispatcher = await self._connect(exit_stack, self.mode, self.raise_exceptions) ^^^^^^^^^^^^^^^^^^^^^^^ .venv\Lib\site-packages\mcp\client\client.py:97: in connect read_stream, write_stream = await exit_stack.enter_async_context(transport) ^^^^^^^^^^^^^^^^^ C:\Users\LeeJeongHun\AppData\Local\Python\pythoncore-3.14-64\Lib\contextlib.py:668: in enter_async_context result = await _enter(cm) ^^^^^^ C:\Users\LeeJeongHun\AppData\Local\Python\pythoncore-3.14-64\Lib\contextlib.py:214: in __aenter_ return await anext(self.gen) ^^^^^^^ .venv\Lib\site-packages\mcp\client\stdio.py:125: in stdio_client process = await create_platform_compatible_process( .venv\Lib\site-packages\mcp\client\stdio.py:340: in _create_platform_compatible_process return await create_windows_process(command, args, env, errlog, cwd) ^^^^^^^^^^^^^^^^^^^^^ .venv\Lib\site-packages\mcp\os\win32\utilities.py:156: in create_windows_process process = await anyio.open_process( .venv\Lib\site-packages\anyio_core_subprocesses.py:184: in open_process return await get_async_backend().open_process( .venv\Lib\site-packages\anyio_backends_asyncio.py:2810: in open_process transport, protocol = await loop.subprocess_exec( C:\Users\LeeJeongHun\AppData\Local\Python\pythoncore-3.14-64\Lib\asyncio\base_events.py:1808: in subprocess_exec transport = await self.make_subprocess_transport( C:\Users\LeeJeongHun\AppData\Local\Python\pythoncore-3.14-64\Lib\asyncio\windows_events.py:401: in _make_subprocess_transport transp = _WindowsSubprocessTransport(self, protocol, args, shell, C:\Users\LeeJeongHun\AppData\Local\Python\pythoncore-3.14-64\Lib\asyncio\base_subprocess.py:40: in __init self.start(args=args, shell=shell, stdin=stdin, stdout=stdout, C:\Users\LeeJeongHun\AppData\Local\Python\pythoncore-3.14-64\Lib\asyncio\windows_events.py:882: in _start self._proc = windows_utils.Popen( C:\Users\LeeJeongHun\AppData\Local\Python\pythoncore-3.14-64\Lib\asyncio\windows_utils.py:144: in __init_ stdin_rh, stdin_wh = pipe(overlapped=(False, True), duplex=True) ^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def pipe(*, duplex=False, overlapped=(True, True), bufsize=BUFSIZE): """Like os.pipe() but with overlapped support and using handles not fds.""" if duplex: openmode = _winapi.PIPE_ACCESS_DUPLEX access = _winapi.GENERIC_READ | _winapi.GENERIC_WRITE obsize, ibsize = bufsize, bufsize else: openmode = _winapi.PIPE_ACCESS_INBOUND access = _winapi.GENERIC_WRITE obsize, ibsize = 0, bufsize openmode |= _winapi.FILE_FLAG_FIRST_PIPE_INSTANCE if overlapped[0]: openmode |= _winapi.FILE_FLAG_OVERLAPPED if overlapped[1]: flags_and_attribs = _winapi.FILE_FLAG_OVERLAPPED else: flags_and_attribs = 0 h1 = h2 = None try: for attempts in itertools.count(): address = r'\.\pipe\python-pipe-{:d}-{:d}-{}'.format( os.getpid(), next(_mmap_counter), os.urandom(8).hex()) try: h1 = _winapi.CreateNamedPipe( address, openmode, _winapi.PIPE_WAIT, 1, obsize, ibsize, _winapi.NMPWAIT_WAIT_FOREVER, _winapi.NULL) break except OSError as e: if attempts >= _MAX_PIPE_ATTEMPTS: raise if e.winerror not in (_winapi.ERROR_PIPE_BUSY, _winapi.ERROR_ACCESS_DENIED): raise > h2 = _winapi.CreateFile( address, access, 0, _winapi.NULL, _winapi.OPEN_EXISTING, flags_and_attribs, _winapi.NULL) E PermissionError: [WinError 5] 액세스가 거부되었습니다 C:\Users\LeeJeongHun\AppData\Local\Python\pythoncore-3.14-64\Lib\asyncio\windows_utils.py:70: PermissionError

Test Source

Item Value
Commit 85466dd623e39c38f5f179820a9d1c7f3ec015c1
Branch main

Logs

Item Value
Result log 20260910_133034_865565_result.log
Result json 20260910_133034_865565_result.json