Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

test_os fails on Windows #118802

Closed
Closed
Assignees
zooba
Labels
OS-windowstestsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error
@Eclips4

Description

@Eclips4

Bug report

Bug description:

./python.bat-mtest-vtest_osRunningDebug|x64interpreter...==CPython3.14.0a0 (heads/bump_lib_version-dirty:a8d31d432c,May82024,23:21:14) [MSCv.193364bit (AMD64)]==Windows-10-10.0.19043-SP0little-endian==Pythonbuild:debug==cwd:C:\Users\KIRILL-1\CLionProjects\cpython\build\test_python_worker_6120æ==CPUcount:16==encodings:locale=cp1251FS=utf-8==resources:alltestresourcesaredisabled,use-uoptiontounskiptestsUsingrandomseed:20535633630:00:00Run1testsequentially0:00:00 [1/1]test_ostest_blocking (test.test_os.BlockingTests.test_blocking) ...skipped'Windows only supports blocking on pipes'test_compare_to_walk (test.test_os.BytesFwalkTests.test_compare_to_walk) ...skipped'Test needs os.fwalk()'test_dir_fd (test.test_os.BytesFwalkTests.test_dir_fd) ...skipped'Test needs os.fwalk()'test_fd_leak (test.test_os.BytesFwalkTests.test_fd_leak) ...skipped'Test needs os.fwalk()'test_file_like_path (test.test_os.BytesFwalkTests.test_file_like_path) ...skipped'Test needs os.fwalk()'test_walk_bad_dir (test.test_os.BytesFwalkTests.test_walk_bad_dir) ...skipped'Test needs os.fwalk()'test_walk_bad_dir2 (test.test_os.BytesFwalkTests.test_walk_bad_dir2) ...skipped'Test needs os.fwalk()'test_walk_bottom_up (test.test_os.BytesFwalkTests.test_walk_bottom_up) ...skipped'Test needs os.fwalk()'test_walk_named_pipe (test.test_os.BytesFwalkTests.test_walk_named_pipe) ...skipped'Test needs os.fwalk()'test_walk_named_pipe2 (test.test_os.BytesFwalkTests.test_walk_named_pipe2) ...skipped'Test needs os.fwalk()'test_walk_prune (test.test_os.BytesFwalkTests.test_walk_prune) ...skipped'Test needs os.fwalk()'test_walk_symlink (test.test_os.BytesFwalkTests.test_walk_symlink) ...skipped'Test needs os.fwalk()'test_walk_topdown (test.test_os.BytesFwalkTests.test_walk_topdown) ...skipped'Test needs os.fwalk()'test_yields_correct_dir_fd (test.test_os.BytesFwalkTests.test_yields_correct_dir_fd) ...skipped'Test needs os.fwalk()'test_file_like_path (test.test_os.BytesWalkTests.test_file_like_path) ...oktest_walk_above_recursion_limit (test.test_os.BytesWalkTests.test_walk_above_recursion_limit) ...oktest_walk_bad_dir (test.test_os.BytesWalkTests.test_walk_bad_dir) ...oktest_walk_bad_dir2 (test.test_os.BytesWalkTests.test_walk_bad_dir2) ...oktest_walk_bottom_up (test.test_os.BytesWalkTests.test_walk_bottom_up) ...oktest_walk_many_open_files (test.test_os.BytesWalkTests.test_walk_many_open_files) ...oktest_walk_named_pipe (test.test_os.BytesWalkTests.test_walk_named_pipe) ...skipped'requires os.mkfifo()'test_walk_named_pipe2 (test.test_os.BytesWalkTests.test_walk_named_pipe2) ...skipped'requires os.mkfifo()'test_walk_prune (test.test_os.BytesWalkTests.test_walk_prune) ...oktest_walk_symlink (test.test_os.BytesWalkTests.test_walk_symlink) ...skipped'need symlink support'test_walk_topdown (test.test_os.BytesWalkTests.test_walk_topdown) ...oktest_cpu_count (test.test_os.CPUCountTests.test_cpu_count) ...oktest_process_cpu_count (test.test_os.CPUCountTests.test_process_cpu_count) ...oktest_process_cpu_count_affinity (test.test_os.CPUCountTests.test_process_cpu_count_affinity) ...skipped"don't have sched affinity support"test_chown_gid (test.test_os.ChownFileTests.test_chown_gid) ...skipped'requires os.chown()'test_chown_uid_gid_arguments_must_be_index (test.test_os.ChownFileTests.test_chown_uid_gid_arguments_must_be_index) ...skipped'requires os.chown()'test_chown_with_root (test.test_os.ChownFileTests.test_chown_with_root) ...skipped'requires os.chown()'test_chown_without_permission (test.test_os.ChownFileTests.test_chown_without_permission) ...skipped'requires os.chown()'test_devnull (test.test_os.DevNullTests.test_devnull) ...oktest_bad_fd (test.test_os.DeviceEncodingTests.test_bad_fd) ...oktest_device_encoding (test.test_os.DeviceEncodingTests.test_device_encoding) ...oktest___repr__ (test.test_os.EnvironTests.test___repr__)Checkthattherepr()ofos.environlookslikeenviron({...}). ...oktest_bool (test.test_os.EnvironTests.test_bool) ...oktest_constructor (test.test_os.EnvironTests.test_constructor) ...oktest_environb (test.test_os.EnvironTests.test_environb) ...skipped'os.environb required for this test.'test_get (test.test_os.EnvironTests.test_get) ...oktest_get_exec_path (test.test_os.EnvironTests.test_get_exec_path) ...oktest_getitem (test.test_os.EnvironTests.test_getitem) ...oktest_ior_operator (test.test_os.EnvironTests.test_ior_operator) ...oktest_ior_operator_invalid_dicts (test.test_os.EnvironTests.test_ior_operator_invalid_dicts) ...oktest_ior_operator_key_value_iterable (test.test_os.EnvironTests.test_ior_operator_key_value_iterable) ...oktest_items (test.test_os.EnvironTests.test_items) ...oktest_iter_error_when_changing_os_environ (test.test_os.EnvironTests.test_iter_error_when_changing_os_environ) ...oktest_iter_error_when_changing_os_environ_items (test.test_os.EnvironTests.test_iter_error_when_changing_os_environ_items) ...oktest_iter_error_when_changing_os_environ_values (test.test_os.EnvironTests.test_iter_error_when_changing_os_environ_values) ...oktest_key_type (test.test_os.EnvironTests.test_key_type) ...oktest_keys (test.test_os.EnvironTests.test_keys) ...oktest_keyvalue_types (test.test_os.EnvironTests.test_keyvalue_types) ...oktest_len (test.test_os.EnvironTests.test_len) ...oktest_or_operator (test.test_os.EnvironTests.test_or_operator) ...oktest_os_popen_iter (test.test_os.EnvironTests.test_os_popen_iter) ...skipped'requires a shell'test_pop (test.test_os.EnvironTests.test_pop) ...oktest_popitem (test.test_os.EnvironTests.test_popitem) ...oktest_putenv_unsetenv (test.test_os.EnvironTests.test_putenv_unsetenv) ...oktest_putenv_unsetenv_error (test.test_os.EnvironTests.test_putenv_unsetenv_error) ...oktest_read (test.test_os.EnvironTests.test_read) ...oktest_ror_operator (test.test_os.EnvironTests.test_ror_operator) ...oktest_setdefault (test.test_os.EnvironTests.test_setdefault) ...oktest_update (test.test_os.EnvironTests.test_update) ...oktest_update2 (test.test_os.EnvironTests.test_update2) ...skipped'requires a shell'test_values (test.test_os.EnvironTests.test_values) ...oktest_write (test.test_os.EnvironTests.test_write) ...oktest_eventfd_initval (test.test_os.EventfdTests.test_eventfd_initval) ...skipped'requires os.eventfd'test_eventfd_select (test.test_os.EventfdTests.test_eventfd_select) ...skipped'requires os.eventfd'test_eventfd_semaphore (test.test_os.EventfdTests.test_eventfd_semaphore) ...skipped'requires os.eventfd'test_execv_with_bad_arglist (test.test_os.ExecTests.test_execv_with_bad_arglist) ...oktest_execve_invalid_env (test.test_os.ExecTests.test_execve_invalid_env) ...oktest_execve_with_empty_path (test.test_os.ExecTests.test_execve_with_empty_path) ...oktest_execvpe_with_bad_arglist (test.test_os.ExecTests.test_execvpe_with_bad_arglist) ...oktest_execvpe_with_bad_program (test.test_os.ExecTests.test_execvpe_with_bad_program) ...oktest_internal_execvpe_str (test.test_os.ExecTests.test_internal_execvpe_str) ...oktest_os_all (test.test_os.ExportsTests.test_os_all) ...oktest_fds (test.test_os.ExtendedAttributeTests.test_fds) ...skipped'no non-broken extended attribute support'test_lpath (test.test_os.ExtendedAttributeTests.test_lpath) ...skipped'no non-broken extended attribute support'test_simple (test.test_os.ExtendedAttributeTests.test_simple) ...skipped'no non-broken extended attribute support'test_dup (test.test_os.FDInheritanceTests.test_dup) ...oktest_dup2 (test.test_os.FDInheritanceTests.test_dup2) ...oktest_dup_nul (test.test_os.FDInheritanceTests.test_dup_nul) ...oktest_dup_standard_stream (test.test_os.FDInheritanceTests.test_dup_standard_stream) ...oktest_get_inheritable_cloexec (test.test_os.FDInheritanceTests.test_get_inheritable_cloexec) ...skipped 'needfcntl'test_get_set_inheritable (test.test_os.FDInheritanceTests.test_get_set_inheritable) ...oktest_get_set_inheritable_badf (test.test_os.FDInheritanceTests.test_get_set_inheritable_badf) ...oktest_get_set_inheritable_o_path (test.test_os.FDInheritanceTests.test_get_set_inheritable_o_path) ...skipped'need os.O_PATH'test_open (test.test_os.FDInheritanceTests.test_open) ...oktest_pipe (test.test_os.FDInheritanceTests.test_pipe) ...oktest_set_inheritable_cloexec (test.test_os.FDInheritanceTests.test_set_inheritable_cloexec) ...skipped 'needfcntl'test_identity (test.test_os.FSEncodingTests.test_identity) ...oktest_nop (test.test_os.FSEncodingTests.test_nop) ...oktest_access (test.test_os.FileTests.test_access) ...oktest_closerange (test.test_os.FileTests.test_closerange) ...oktest_copy_file_range (test.test_os.FileTests.test_copy_file_range) ...skipped'test needs os.copy_file_range()'test_copy_file_range_invalid_values (test.test_os.FileTests.test_copy_file_range_invalid_values) ...skipped'test needs os.copy_file_range()'test_copy_file_range_offset (test.test_os.FileTests.test_copy_file_range_offset) ...skipped'test needs os.copy_file_range()'test_fdopen (test.test_os.FileTests.test_fdopen) ...oktest_large_read (test.test_os.FileTests.test_large_read) ...skipped'not enough memory: 2.0G minimum needed'test_open_keywords (test.test_os.FileTests.test_open_keywords) ...oktest_read (test.test_os.FileTests.test_read) ...oktest_rename (test.test_os.FileTests.test_rename) ...oktest_replace (test.test_os.FileTests.test_replace) ...oktest_splice (test.test_os.FileTests.test_splice) ...skipped'test needs os.splice()'test_splice_invalid_values (test.test_os.FileTests.test_splice_invalid_values) ...skipped'test needs os.splice()'test_splice_offset_in (test.test_os.FileTests.test_splice_offset_in) ...skipped'test needs os.splice()'test_splice_offset_out (test.test_os.FileTests.test_splice_offset_out) ...skipped'test needs os.splice()'test_symlink_keywords (test.test_os.FileTests.test_symlink_keywords) ...oktest_write (test.test_os.FileTests.test_write) ...oktest_write_windows_console (test.test_os.FileTests.test_write_windows_console) ...oktest_fork (test.test_os.ForkTests.test_fork) ...skipped'requires working os.fork()'test_fork_at_finalization (test.test_os.ForkTests.test_fork_at_finalization) ...skipped'requires working os.fork()'test_fork_warns_when_non_python_thread_exists (test.test_os.ForkTests.test_fork_warns_when_non_python_thread_exists) ...skipped'requires working os.fork()'test_compare_to_walk (test.test_os.FwalkTests.test_compare_to_walk) ...skipped'Test needs os.fwalk()'test_dir_fd (test.test_os.FwalkTests.test_dir_fd) ...skipped'Test needs os.fwalk()'test_fd_leak (test.test_os.FwalkTests.test_fd_leak) ...skipped'Test needs os.fwalk()'test_file_like_path (test.test_os.FwalkTests.test_file_like_path) ...skipped'Test needs os.fwalk()'test_walk_bad_dir (test.test_os.FwalkTests.test_walk_bad_dir) ...skipped'Test needs os.fwalk()'test_walk_bad_dir2 (test.test_os.FwalkTests.test_walk_bad_dir2) ...skipped'Test needs os.fwalk()'test_walk_bottom_up (test.test_os.FwalkTests.test_walk_bottom_up) ...skipped'Test needs os.fwalk()'test_walk_named_pipe (test.test_os.FwalkTests.test_walk_named_pipe) ...skipped'Test needs os.fwalk()'test_walk_named_pipe2 (test.test_os.FwalkTests.test_walk_named_pipe2) ...skipped'Test needs os.fwalk()'test_walk_prune (test.test_os.FwalkTests.test_walk_prune) ...skipped'Test needs os.fwalk()'test_walk_symlink (test.test_os.FwalkTests.test_walk_symlink) ...skipped'Test needs os.fwalk()'test_walk_topdown (test.test_os.FwalkTests.test_walk_topdown) ...skipped'Test needs os.fwalk()'test_yields_correct_dir_fd (test.test_os.FwalkTests.test_yields_correct_dir_fd) ...skipped'Test needs os.fwalk()'test_getrandom0 (test.test_os.GetRandomTests.test_getrandom0) ...skipped'need os.getrandom()'test_getrandom_nonblock (test.test_os.GetRandomTests.test_getrandom_nonblock) ...skipped'need os.getrandom()'test_getrandom_random (test.test_os.GetRandomTests.test_getrandom_random) ...skipped'need os.getrandom()'test_getrandom_type (test.test_os.GetRandomTests.test_getrandom_type) ...skipped'need os.getrandom()'test_getrandom_value (test.test_os.GetRandomTests.test_getrandom_value) ...skipped'need os.getrandom()'test_link (test.test_os.LinkTests.test_link) ...oktest_link_bytes (test.test_os.LinkTests.test_link_bytes) ...oktest_unicode_name (test.test_os.LinkTests.test_unicode_name) ...oktest_getlogin (test.test_os.LoginTests.test_getlogin) ...skipped'Skip due to platform/environment differences on *NIX buildbots'test_exist_ok_existing_directory (test.test_os.MakedirTests.test_exist_ok_existing_directory) ...oktest_exist_ok_existing_regular_file (test.test_os.MakedirTests.test_exist_ok_existing_regular_file) ...oktest_exist_ok_s_isgid_directory (test.test_os.MakedirTests.test_exist_ok_s_isgid_directory) ...skipped'No support for S_ISGID dir mode.'test_makedir (test.test_os.MakedirTests.test_makedir) ...oktest_mode (test.test_os.MakedirTests.test_mode) ...oktest_win32_mkdir_700 (test.test_os.MakedirTests.test_win32_mkdir_700) ...oktest_memfd_create (test.test_os.MemfdCreateTests.test_memfd_create) ...skipped'requires os.memfd_create'test_getcwd (test.test_os.MiscTests.test_getcwd) ...oktest_getcwd_long_path (test.test_os.MiscTests.test_getcwd_long_path) ...Testedcurrentdirectorylength:48oktest_getcwdb (test.test_os.MiscTests.test_getcwdb) ...oktest_directory_link_nonlocal (test.test_os.NonLocalSymlinkTests.test_directory_link_nonlocal)Thesymlinktargetshouldresolverelativetothelink,notrelative ...skipped 'Requiresfunctionalsymlinkimplementation'test_oserror_filename (test.test_os.OSErrorTests.test_oserror_filename) ...oktest_path_t_converter (test.test_os.PathTConverterTests.test_path_t_converter) ...oktest_path_t_converter_and_custom_class (test.test_os.PathTConverterTests.test_path_t_converter_and_custom_class) ...oktest_listdir (test.test_os.Pep383Tests.test_listdir) ...skipped'Posix specific tests'test_open (test.test_os.Pep383Tests.test_open) ...skipped'Posix specific tests'test_stat (test.test_os.Pep383Tests.test_stat) ...skipped'Posix specific tests'test_statvfs (test.test_os.Pep383Tests.test_statvfs) ...skipped'Posix specific tests'test_getppid (test.test_os.PidTests.test_getppid) ...oktest_waitpid (test.test_os.PidTests.test_waitpid) ...oktest_waitpid_windows (test.test_os.PidTests.test_waitpid_windows) ...oktest_waitstatus_to_exitcode (test.test_os.PidTests.test_waitstatus_to_exitcode) ...oktest_waitstatus_to_exitcode_kill (test.test_os.PidTests.test_waitstatus_to_exitcode_kill) ...skipped'need signal.SIGKILL'test_waitstatus_to_exitcode_windows (test.test_os.PidTests.test_waitstatus_to_exitcode_windows) ...oktest_setegid (test.test_os.PosixUidGidTests.test_setegid) ...skipped'Posix specific tests'test_seteuid (test.test_os.PosixUidGidTests.test_seteuid) ...skipped'Posix specific tests'test_setgid (test.test_os.PosixUidGidTests.test_setgid) ...skipped'Posix specific tests'test_setregid (test.test_os.PosixUidGidTests.test_setregid) ...skipped'Posix specific tests'test_setregid_neg1 (test.test_os.PosixUidGidTests.test_setregid_neg1) ...skipped'Posix specific tests'test_setreuid (test.test_os.PosixUidGidTests.test_setreuid) ...skipped'Posix specific tests'test_setreuid_neg1 (test.test_os.PosixUidGidTests.test_setreuid_neg1) ...skipped'Posix specific tests'test_setuid (test.test_os.PosixUidGidTests.test_setuid) ...skipped'Posix specific tests'test_set_get_priority (test.test_os.ProgramPriorityTests.test_set_get_priority) ...skipped'needs os.getpriority and os.setpriority'test_open_via_ptsname (test.test_os.PseudoterminalTests.test_open_via_ptsname) ...skipped'need os.openpty()'test_openpty (test.test_os.PseudoterminalTests.test_openpty) ...skipped'need os.openpty()'test_pipe_spawnl (test.test_os.PseudoterminalTests.test_pipe_spawnl) ...skipped'need os.openpty()'test_posix_pty_functions (test.test_os.PseudoterminalTests.test_posix_pty_functions) ...skipped'need os.openpty()'test_bytes (test.test_os.ReadlinkTests.test_bytes) ...skipped'Requires functional symlink implementation'test_missing_link (test.test_os.ReadlinkTests.test_missing_link) ...oktest_not_symlink (test.test_os.ReadlinkTests.test_not_symlink) ...oktest_pathlike (test.test_os.ReadlinkTests.test_pathlike) ...skipped'Requires functional symlink implementation'test_pathlike_bytes (test.test_os.ReadlinkTests.test_pathlike_bytes) ...skipped 'Requiresfunctionalsymlinkimplementation'test_remove_all (test.test_os.RemoveDirsTests.test_remove_all) ...oktest_remove_nothing (test.test_os.RemoveDirsTests.test_remove_nothing) ...oktest_remove_partial (test.test_os.RemoveDirsTests.test_remove_partial) ...oktest_nowait (test.test_os.SpawnTests.test_nowait) ...oktest_spawnl (test.test_os.SpawnTests.test_spawnl) ...oktest_spawnl_noargs (test.test_os.SpawnTests.test_spawnl_noargs) ...oktest_spawnle (test.test_os.SpawnTests.test_spawnle) ...oktest_spawnle_noargs (test.test_os.SpawnTests.test_spawnle_noargs) ...oktest_spawnlp (test.test_os.SpawnTests.test_spawnlp) ...skipped'requires os.spawnlp'test_spawnlpe (test.test_os.SpawnTests.test_spawnlpe) ...skipped'requires os.spawnlpe'test_spawnv (test.test_os.SpawnTests.test_spawnv) ...oktest_spawnv_noargs (test.test_os.SpawnTests.test_spawnv_noargs) ...oktest_spawnve (test.test_os.SpawnTests.test_spawnve) ...oktest_spawnve_bytes (test.test_os.SpawnTests.test_spawnve_bytes) ...oktest_spawnve_invalid_env (test.test_os.SpawnTests.test_spawnve_invalid_env) ...oktest_spawnve_noargs (test.test_os.SpawnTests.test_spawnve_noargs) ...oktest_spawnvp (test.test_os.SpawnTests.test_spawnvp) ...skipped'requires os.spawnvp'test_spawnvpe (test.test_os.SpawnTests.test_spawnvpe) ...skipped'requires os.spawnvpe'test_spawnvpe_invalid_env (test.test_os.SpawnTests.test_spawnvpe_invalid_env) ...skipped'requires os.spawnvpe'test_15261 (test.test_os.StatAttributeTests.test_15261) ...oktest_1686475 (test.test_os.StatAttributeTests.test_1686475) ...oktest_access_denied (test.test_os.StatAttributeTests.test_access_denied) ...oktest_file_attributes (test.test_os.StatAttributeTests.test_file_attributes) ...oktest_stat_attributes (test.test_os.StatAttributeTests.test_stat_attributes) ...oktest_stat_attributes_bytes (test.test_os.StatAttributeTests.test_stat_attributes_bytes) ...oktest_stat_block_device (test.test_os.StatAttributeTests.test_stat_block_device) ...oktest_stat_result_pickle (test.test_os.StatAttributeTests.test_stat_result_pickle) ...oktest_statvfs_attributes (test.test_os.StatAttributeTests.test_statvfs_attributes) ...skipped'test needs os.statvfs()'test_statvfs_result_pickle (test.test_os.StatAttributeTests.test_statvfs_result_pickle) ...skipped'need os.statvfs()'test_does_not_crash (test.test_os.TermsizeTests.test_does_not_crash)Checkifget_terminal_size()returnsameaningfulvalue. ...oktest_stty_match (test.test_os.TermsizeTests.test_stty_match)Checkifsttyreturnsthesameresults ...skipped'stty invocation failed'test_windows_fd (test.test_os.TermsizeTests.test_windows_fd)Checkifget_terminal_size()returnsameaningfulvalueinWindows ...oktest_uninstantiable (test.test_os.TestDirEntry.test_uninstantiable) ...oktest_unpickable (test.test_os.TestDirEntry.test_unpickable) ...oktest_blocking (test.test_os.TestInvalidFD.test_blocking) ...oktest_closerange (test.test_os.TestInvalidFD.test_closerange) ...oktest_dup (test.test_os.TestInvalidFD.test_dup) ...oktest_dup2 (test.test_os.TestInvalidFD.test_dup2) ...oktest_dup2_negative_fd (test.test_os.TestInvalidFD.test_dup2_negative_fd) ...oktest_fchdir (test.test_os.TestInvalidFD.test_fchdir) ...oktest_fchmod (test.test_os.TestInvalidFD.test_fchmod) ...oktest_fchown (test.test_os.TestInvalidFD.test_fchown) ...skipped'test needs os.fchown()'test_fdatasync (test.test_os.TestInvalidFD.test_fdatasync) ...oktest_fdopen (test.test_os.TestInvalidFD.test_fdopen) ...oktest_fpathconf (test.test_os.TestInvalidFD.test_fpathconf) ...skipped'test needs os.fpathconf()'test_fstat (test.test_os.TestInvalidFD.test_fstat) ...oktest_fstatvfs (test.test_os.TestInvalidFD.test_fstatvfs) ...oktest_fsync (test.test_os.TestInvalidFD.test_fsync) ...oktest_ftruncate (test.test_os.TestInvalidFD.test_ftruncate) ...oktest_inheritable (test.test_os.TestInvalidFD.test_inheritable) ...oktest_isatty (test.test_os.TestInvalidFD.test_isatty) ...oktest_lseek (test.test_os.TestInvalidFD.test_lseek) ...oktest_read (test.test_os.TestInvalidFD.test_read) ...oktest_readv (test.test_os.TestInvalidFD.test_readv) ...skipped'test needs os.readv()'test_tcgetpgrp (test.test_os.TestInvalidFD.test_tcgetpgrp) ...oktest_tcsetpgrpt (test.test_os.TestInvalidFD.test_tcsetpgrpt) ...skipped'test needs os.tcsetpgrp()'test_ttyname (test.test_os.TestInvalidFD.test_ttyname) ...oktest_write (test.test_os.TestInvalidFD.test_write) ...oktest_writev (test.test_os.TestInvalidFD.test_writev) ...skipped'test needs os.writev()'test_argument_required (test.test_os.TestPEP519.test_argument_required) ...oktest_bad_pathlike (test.test_os.TestPEP519.test_bad_pathlike) ...oktest_fsencode_fsdecode (test.test_os.TestPEP519.test_fsencode_fsdecode) ...oktest_fspath_set_to_None (test.test_os.TestPEP519.test_fspath_set_to_None) ...oktest_garbage_in_exception_out (test.test_os.TestPEP519.test_garbage_in_exception_out) ...oktest_pathlike (test.test_os.TestPEP519.test_pathlike) ...oktest_pathlike_class_getitem (test.test_os.TestPEP519.test_pathlike_class_getitem) ...oktest_pathlike_subclass_slots (test.test_os.TestPEP519.test_pathlike_subclass_slots) ...oktest_pathlike_subclasshook (test.test_os.TestPEP519.test_pathlike_subclasshook) ...oktest_return_bytes (test.test_os.TestPEP519.test_return_bytes) ...oktest_return_string (test.test_os.TestPEP519.test_return_string) ...oktest_argument_required (test.test_os.TestPEP519PurePython.test_argument_required) ...oktest_bad_pathlike (test.test_os.TestPEP519PurePython.test_bad_pathlike) ...oktest_fsencode_fsdecode (test.test_os.TestPEP519PurePython.test_fsencode_fsdecode) ...oktest_fspath_set_to_None (test.test_os.TestPEP519PurePython.test_fspath_set_to_None) ...oktest_garbage_in_exception_out (test.test_os.TestPEP519PurePython.test_garbage_in_exception_out) ...oktest_pathlike (test.test_os.TestPEP519PurePython.test_pathlike) ...oktest_pathlike_class_getitem (test.test_os.TestPEP519PurePython.test_pathlike_class_getitem) ...oktest_pathlike_subclass_slots (test.test_os.TestPEP519PurePython.test_pathlike_subclass_slots) ...oktest_pathlike_subclasshook (test.test_os.TestPEP519PurePython.test_pathlike_subclasshook) ...oktest_return_bytes (test.test_os.TestPEP519PurePython.test_return_bytes) ...oktest_return_string (test.test_os.TestPEP519PurePython.test_return_string) ...oktest_attributes (test.test_os.TestScandir.test_attributes) ...oktest_attributes_junctions (test.test_os.TestScandir.test_attributes_junctions) ...oktest_bad_path_type (test.test_os.TestScandir.test_bad_path_type) ...oktest_broken_symlink (test.test_os.TestScandir.test_broken_symlink) ...skipped'cannot create symbolic link'test_bytes (test.test_os.TestScandir.test_bytes) ...oktest_bytes_like (test.test_os.TestScandir.test_bytes_like) ...oktest_close (test.test_os.TestScandir.test_close) ...oktest_consume_iterator_twice (test.test_os.TestScandir.test_consume_iterator_twice) ...oktest_context_manager (test.test_os.TestScandir.test_context_manager) ...oktest_context_manager_close (test.test_os.TestScandir.test_context_manager_close) ...oktest_context_manager_exception (test.test_os.TestScandir.test_context_manager_exception) ...oktest_current_directory (test.test_os.TestScandir.test_current_directory) ...oktest_empty_path (test.test_os.TestScandir.test_empty_path) ...oktest_fd (test.test_os.TestScandir.test_fd) ...skipped'fd support for listdir required for this test.'test_fspath_protocol (test.test_os.TestScandir.test_fspath_protocol) ...oktest_fspath_protocol_bytes (test.test_os.TestScandir.test_fspath_protocol_bytes) ...oktest_removed_dir (test.test_os.TestScandir.test_removed_dir) ...oktest_removed_file (test.test_os.TestScandir.test_removed_file) ...oktest_repr (test.test_os.TestScandir.test_repr) ...oktest_resource_warning (test.test_os.TestScandir.test_resource_warning) ...oktest_uninstantiable (test.test_os.TestScandir.test_uninstantiable) ...oktest_unpickable (test.test_os.TestScandir.test_unpickable) ...oktest_flags (test.test_os.TestSendfile.test_flags) ...skipped'test needs os.sendfile()'test_headers (test.test_os.TestSendfile.test_headers) ...skipped'test needs os.sendfile()'test_headers_overflow_32bits (test.test_os.TestSendfile.test_headers_overflow_32bits) ...skipped 'testneedsos.sendfile()'test_invalid_offset (test.test_os.TestSendfile.test_invalid_offset) ... skipped 'testneedsos.sendfile()'test_keywords (test.test_os.TestSendfile.test_keywords) ...skipped'test needs os.sendfile()'test_offset_overflow (test.test_os.TestSendfile.test_offset_overflow) ...skipped'test needs os.sendfile()'test_send_at_certain_offset (test.test_os.TestSendfile.test_send_at_certain_offset) ...skipped'test needs os.sendfile()'test_send_whole_file (test.test_os.TestSendfile.test_send_whole_file) ...skipped'test needs os.sendfile()'test_trailers (test.test_os.TestSendfile.test_trailers) ...skipped'test needs os.sendfile()'test_trailers_overflow_32bits (test.test_os.TestSendfile.test_trailers_overflow_32bits) ...skipped'test needs os.sendfile()'test_timerfd_TFD_TIMER_ABSTIME (test.test_os.TimerfdTests.test_timerfd_TFD_TIMER_ABSTIME) ...skipped'requires os.timerfd_create'test_timerfd_initval (test.test_os.TimerfdTests.test_timerfd_initval) ...skipped'requires os.timerfd_create'test_timerfd_interval (test.test_os.TimerfdTests.test_timerfd_interval) ...skipped'requires os.timerfd_create'test_timerfd_negative (test.test_os.TimerfdTests.test_timerfd_negative) ...skipped'requires os.timerfd_create'test_timerfd_non_blocking (test.test_os.TimerfdTests.test_timerfd_non_blocking) ...skipped'requires os.timerfd_create'test_timerfd_ns_TFD_TIMER_ABSTIME (test.test_os.TimerfdTests.test_timerfd_ns_TFD_TIMER_ABSTIME) ...skipped'requires os.timerfd_create'test_timerfd_ns_initval (test.test_os.TimerfdTests.test_timerfd_ns_initval) ...skipped'requires os.timerfd_create'test_timerfd_ns_interval (test.test_os.TimerfdTests.test_timerfd_ns_interval) ...skipped'requires os.timerfd_create'test_timerfd_ns_poll (test.test_os.TimerfdTests.test_timerfd_ns_poll) ...skipped'requires os.timerfd_create'test_timerfd_ns_select (test.test_os.TimerfdTests.test_timerfd_ns_select) ...skipped'requires os.timerfd_create'test_timerfd_poll (test.test_os.TimerfdTests.test_timerfd_poll) ...skipped'requires os.timerfd_create'test_timerfd_select (test.test_os.TimerfdTests.test_timerfd_select) ...skipped'requires os.timerfd_create'test_times (test.test_os.TimesTests.test_times) ...oktest_urandom_failure (test.test_os.URandomFDTests.test_urandom_failure) ...skipped'test requires the resource module'test_urandom_fd_closed (test.test_os.URandomFDTests.test_urandom_fd_closed) ...oktest_urandom_fd_reopened (test.test_os.URandomFDTests.test_urandom_fd_reopened) ...oktest_urandom_length (test.test_os.URandomTests.test_urandom_length) ...oktest_urandom_subprocess (test.test_os.URandomTests.test_urandom_subprocess) ...oktest_urandom_value (test.test_os.URandomTests.test_urandom_value) ...oktest_issue31577 (test.test_os.UtimeTests.test_issue31577) ...oktest_large_time (test.test_os.UtimeTests.test_large_time) ...oktest_utime (test.test_os.UtimeTests.test_utime) ...oktest_utime_by_indexed (test.test_os.UtimeTests.test_utime_by_indexed) ...oktest_utime_by_times (test.test_os.UtimeTests.test_utime_by_times) ...oktest_utime_current (test.test_os.UtimeTests.test_utime_current) ...oktest_utime_current_old (test.test_os.UtimeTests.test_utime_current_old) ...oktest_utime_dir_fd (test.test_os.UtimeTests.test_utime_dir_fd) ...skipped'dir_fd support for utime required for this test.'test_utime_directory (test.test_os.UtimeTests.test_utime_directory) ...oktest_utime_fd (test.test_os.UtimeTests.test_utime_fd) ...skipped'fd support for utime required for this test.'test_utime_invalid_arguments (test.test_os.UtimeTests.test_utime_invalid_arguments) ...oktest_utime_nofollow_symlinks (test.test_os.UtimeTests.test_utime_nofollow_symlinks) ...skipped'follow_symlinks support for utime required for this test.'test_utime_nonexistent (test.test_os.UtimeTests.test_utime_nonexistent) ...oktest_file_like_path (test.test_os.WalkTests.test_file_like_path) ...oktest_walk_above_recursion_limit (test.test_os.WalkTests.test_walk_above_recursion_limit) ...oktest_walk_bad_dir (test.test_os.WalkTests.test_walk_bad_dir) ...oktest_walk_bad_dir2 (test.test_os.WalkTests.test_walk_bad_dir2) ...oktest_walk_bottom_up (test.test_os.WalkTests.test_walk_bottom_up) ...oktest_walk_many_open_files (test.test_os.WalkTests.test_walk_many_open_files) ...oktest_walk_named_pipe (test.test_os.WalkTests.test_walk_named_pipe) ...skipped'requires os.mkfifo()'test_walk_named_pipe2 (test.test_os.WalkTests.test_walk_named_pipe2) ...skipped'requires os.mkfifo()'test_walk_prune (test.test_os.WalkTests.test_walk_prune) ...oktest_walk_symlink (test.test_os.WalkTests.test_walk_symlink) ...skipped'need symlink support'test_walk_topdown (test.test_os.WalkTests.test_walk_topdown) ...oktest_chdir (test.test_os.Win32ErrorTests.test_chdir) ...oktest_chmod (test.test_os.Win32ErrorTests.test_chmod) ...oktest_mkdir (test.test_os.Win32ErrorTests.test_mkdir) ...oktest_remove (test.test_os.Win32ErrorTests.test_remove) ...oktest_rename (test.test_os.Win32ErrorTests.test_rename) ...oktest_utime (test.test_os.Win32ErrorTests.test_utime) ...oktest_create_junction (test.test_os.Win32JunctionTests.test_create_junction) ...oktest_unlink_removes_junction (test.test_os.Win32JunctionTests.test_unlink_removes_junction) ...oktest_CTRL_BREAK_EVENT (test.test_os.Win32KillTests.test_CTRL_BREAK_EVENT) ...oktest_CTRL_C_EVENT (test.test_os.Win32KillTests.test_CTRL_C_EVENT) ...skipped "subprocessesaren'tinheritingCtrl+Cproperty"test_kill_int (test.test_os.Win32KillTests.test_kill_int) ...oktest_kill_sigterm (test.test_os.Win32KillTests.test_kill_sigterm) ...oktest_listdir_extended_path (test.test_os.Win32ListdirTests.test_listdir_extended_path)Testwhenthepathstartswith '\\?\'. ...oktest_listdir_no_extended_path (test.test_os.Win32ListdirTests.test_listdir_no_extended_path)Testwhenthepathisnotan"extended"path. ...oktest_listdrives (test.test_os.Win32ListdriveTests.test_listdrives) ...oktest_listmounts (test.test_os.Win32ListdriveTests.test_listmounts) ...oktest_listvolumes (test.test_os.Win32ListdriveTests.test_listvolumes) ...oktest_getfinalpathname_handles (test.test_os.Win32NtTests.test_getfinalpathname_handles) ...oktest_stat_inaccessible_file (test.test_os.Win32NtTests.test_stat_inaccessible_file) ...File: @test_6120_tmpæstatwithaccess:os.stat_result(st_mode=33206,st_ino=112871465661126816,st_dev=2917237812109254748,st_nlink=1,st_uid=0,st_gid=0,st_size=9,st_atime=1715203810,st_mtime=1715203810,st_ctime=1715203806)withoutaccess:os.stat_result(st_mode=33206,st_ino=0,st_dev=0,st_nlink=0,st_uid=0,st_gid=0,st_size=9,st_atime=1715203810,st_mtime=1715203810,st_ctime=1715203806)ERRORtest_stat_unlink_race (test.test_os.Win32NtTests.test_stat_unlink_race) ...oktest_12084 (test.test_os.Win32SymlinkTests.test_12084) ...skipped'Requires functional symlink implementation'test_29248 (test.test_os.Win32SymlinkTests.test_29248) ...skipped'Requires functional symlink implementation'test_appexeclink (test.test_os.Win32SymlinkTests.test_appexeclink) ...skipped'Requires functional symlink implementation'test_buffer_overflow (test.test_os.Win32SymlinkTests.test_buffer_overflow) ...skipped'Requires functional symlink implementation'test_directory_link (test.test_os.Win32SymlinkTests.test_directory_link) ...skipped'Requires functional symlink implementation'test_file_link (test.test_os.Win32SymlinkTests.test_file_link) ...skipped'Requires functional symlink implementation'test_isdir_on_directory_link_to_missing_target (test.test_os.Win32SymlinkTests.test_isdir_on_directory_link_to_missing_target) ...skipped'Requires functional symlink implementation'test_remove_directory_link_to_missing_target (test.test_os.Win32SymlinkTests.test_remove_directory_link_to_missing_target) ...skipped'Requires functional symlink implementation'test_rmdir_on_directory_link_to_missing_target (test.test_os.Win32SymlinkTests.test_rmdir_on_directory_link_to_missing_target) ...skipped'Requires functional symlink implementation'======================================================================ERROR:test_stat_inaccessible_file (test.test_os.Win32NtTests.test_stat_inaccessible_file)----------------------------------------------------------------------Traceback (mostrecentcalllast):File"C:\Users\KIRILL-1\CLionProjects\cpython\Lib\test\test_os.py",line3231,incleanupsubprocess.check_output([ICACLS,filename,"/grant","Everyone:(D)"],~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^stderr=subprocess.STDOUT)^^^^^^^^^^^^^^^^^^^^^^^^^File"C:\Users\KIRILL-1\CLionProjects\cpython\Lib\subprocess.py",line472,incheck_outputreturnrun(*popenargs,stdout=PIPE,timeout=timeout,check=True,~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^**kwargs).stdout^^^^^^^^^File"C:\Users\KIRILL-1\CLionProjects\cpython\Lib\subprocess.py",line577,inrunraiseCalledProcessError(retcode,process.args,output=stdout,stderr=stderr)subprocess.CalledProcessError:Command'['C:\\Windows\\System32\\icacls.exe', '@test_6120_tmpæ', '/grant', 'Everyone:(D)']'returnednon-zeroexitstatus1332.----------------------------------------------------------------------Ran362testsin11.095sFAILED (errors=1,skipped=142)testtest_osfailedtest_osfailed (1error)==Testsresult:FAILURE==1testfailed:test_osTotalduration:11.6secTotaltests:run=362skipped=142Totaltestfiles:run=1/1failed=1Result:FAILURE

CPython versions tested on:

CPython main branch

Operating systems tested on:

Windows

Linked PRs

Metadata

Metadata

Assignees

Labels

OS-windowstestsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp