Home - Summaries: (main) : (py3.11) : Everything - Nightly builds - Benchmarks - RPython - Builders - About

lib-python/3/test/test_os.py::unmodified

== PyPy 3.12.13 (a3c6b428e7a8, Jul 09 2026, 03:54:00) [PyPy 8.0.0-alpha0 with GCC Apple LLVM 16.0.0 (clang-1600.0.26.6)]
== macOS-15.7.7-arm64-arm-64bit little-endian
== Python build: release with_assert
== cwd: /private/tmp/buildbot-arm64/pytest/test_python_worker_56878æ
== CPU count: 8
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network

Using random seed: 481912722
Raised RLIMIT_NOFILE: 256 -> 1024
0:00:00 load avg: 3.85 Run 1 test sequentially in a single process
0:00:00 load avg: 3.85 [1/1] test_os
test_blocking (test.test_os.BlockingTests.test_blocking) ... ok
test_compare_to_walk (test.test_os.BytesFwalkTests.test_compare_to_walk) ... ok
test_dir_fd (test.test_os.BytesFwalkTests.test_dir_fd) ... ok
test_fd_finalization (test.test_os.BytesFwalkTests.test_fd_finalization) ... FAIL
test_fd_leak (test.test_os.BytesFwalkTests.test_fd_leak) ... ok
test_file_like_path (test.test_os.BytesFwalkTests.test_file_like_path) ... ok
test_walk_above_recursion_limit (test.test_os.BytesFwalkTests.test_walk_above_recursion_limit) ... ok
test_walk_bad_dir (test.test_os.BytesFwalkTests.test_walk_bad_dir) ... ok
test_walk_bad_dir2 (test.test_os.BytesFwalkTests.test_walk_bad_dir2) ... ok
test_walk_bottom_up (test.test_os.BytesFwalkTests.test_walk_bottom_up) ... ok
test_walk_named_pipe (test.test_os.BytesFwalkTests.test_walk_named_pipe) ... ok
test_walk_named_pipe2 (test.test_os.BytesFwalkTests.test_walk_named_pipe2) ... ok
test_walk_prune (test.test_os.BytesFwalkTests.test_walk_prune) ... ok
test_walk_symlink (test.test_os.BytesFwalkTests.test_walk_symlink) ... ok
test_walk_topdown (test.test_os.BytesFwalkTests.test_walk_topdown) ... ok
test_yields_correct_dir_fd (test.test_os.BytesFwalkTests.test_yields_correct_dir_fd) ... ok
test_file_like_path (test.test_os.BytesWalkTests.test_file_like_path) ... ok
test_walk_above_recursion_limit (test.test_os.BytesWalkTests.test_walk_above_recursion_limit) ... ok
test_walk_bad_dir (test.test_os.BytesWalkTests.test_walk_bad_dir) ... ok
test_walk_bad_dir2 (test.test_os.BytesWalkTests.test_walk_bad_dir2) ... ok
test_walk_bottom_up (test.test_os.BytesWalkTests.test_walk_bottom_up) ... ok
test_walk_many_open_files (test.test_os.BytesWalkTests.test_walk_many_open_files) ... ok
test_walk_named_pipe (test.test_os.BytesWalkTests.test_walk_named_pipe) ... ok
test_walk_named_pipe2 (test.test_os.BytesWalkTests.test_walk_named_pipe2) ... ok
test_walk_prune (test.test_os.BytesWalkTests.test_walk_prune) ... ok
test_walk_symlink (test.test_os.BytesWalkTests.test_walk_symlink) ... ok
test_walk_topdown (test.test_os.BytesWalkTests.test_walk_topdown) ... ok
test_cpu_count (test.test_os.CPUCountTests.test_cpu_count) ... ok
test_chown_gid (test.test_os.ChownFileTests.test_chown_gid) ... ok
test_chown_uid_gid_arguments_must_be_index (test.test_os.ChownFileTests.test_chown_uid_gid_arguments_must_be_index) ... ok
test_chown_with_root (test.test_os.ChownFileTests.test_chown_with_root) ... skipped 'test needs root privilege and more than one user'
test_chown_without_permission (test.test_os.ChownFileTests.test_chown_without_permission) ... ok
test_devnull (test.test_os.DevNullTests.test_devnull) ... ok
test_bad_fd (test.test_os.DeviceEncodingTests.test_bad_fd) ... ok
test_device_encoding (test.test_os.DeviceEncodingTests.test_device_encoding) ... skipped 'test requires a tty and either Windows or nl_langinfo(CODESET)'
test___repr__ (test.test_os.EnvironTests.test___repr__)
Check that the repr() of os.environ looks like environ({...}). ... ok
test_bool (test.test_os.EnvironTests.test_bool) ... ok
test_constructor (test.test_os.EnvironTests.test_constructor) ... ok
test_environb (test.test_os.EnvironTests.test_environb) ... ok
test_get (test.test_os.EnvironTests.test_get) ... ok
test_get_exec_path (test.test_os.EnvironTests.test_get_exec_path) ... ok
test_getitem (test.test_os.EnvironTests.test_getitem) ... ok
test_ior_operator (test.test_os.EnvironTests.test_ior_operator) ... ok
test_ior_operator_invalid_dicts (test.test_os.EnvironTests.test_ior_operator_invalid_dicts) ... ok
test_ior_operator_key_value_iterable (test.test_os.EnvironTests.test_ior_operator_key_value_iterable) ... ok
test_items (test.test_os.EnvironTests.test_items) ... ok
test_iter_error_when_changing_os_environ (test.test_os.EnvironTests.test_iter_error_when_changing_os_environ) ... ok
test_iter_error_when_changing_os_environ_items (test.test_os.EnvironTests.test_iter_error_when_changing_os_environ_items) ... ok
test_iter_error_when_changing_os_environ_values (test.test_os.EnvironTests.test_iter_error_when_changing_os_environ_values) ... ok
test_key_type (test.test_os.EnvironTests.test_key_type) ... ok
test_keys (test.test_os.EnvironTests.test_keys) ... ok
test_keyvalue_types (test.test_os.EnvironTests.test_keyvalue_types) ... ok
test_len (test.test_os.EnvironTests.test_len) ... ok
test_or_operator (test.test_os.EnvironTests.test_or_operator) ... ok
test_os_popen_iter (test.test_os.EnvironTests.test_os_popen_iter) ... ok
test_pop (test.test_os.EnvironTests.test_pop) ... ok
test_popitem (test.test_os.EnvironTests.test_popitem) ... ok
test_putenv_unsetenv (test.test_os.EnvironTests.test_putenv_unsetenv) ... ok
test_putenv_unsetenv_error (test.test_os.EnvironTests.test_putenv_unsetenv_error) ... ok
test_read (test.test_os.EnvironTests.test_read) ... ok
test_ror_operator (test.test_os.EnvironTests.test_ror_operator) ... ok
test_setdefault (test.test_os.EnvironTests.test_setdefault) ... ok
test_update (test.test_os.EnvironTests.test_update) ... ok
test_update2 (test.test_os.EnvironTests.test_update2) ... ok
test_values (test.test_os.EnvironTests.test_values) ... ok
test_write (test.test_os.EnvironTests.test_write) ... ok
test_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) ... ok
test_execve_invalid_env (test.test_os.ExecTests.test_execve_invalid_env) ... ok
test_execve_with_empty_path (test.test_os.ExecTests.test_execve_with_empty_path) ... skipped 'Win32-specific test'
test_execvpe_with_bad_arglist (test.test_os.ExecTests.test_execvpe_with_bad_arglist) ... ok
test_execvpe_with_bad_program (test.test_os.ExecTests.test_execvpe_with_bad_program) ... ok
test_internal_execvpe_str (test.test_os.ExecTests.test_internal_execvpe_str) ... ok
test_os_all (test.test_os.ExportsTests.test_os_all) ... ok
test_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) ... ok
test_dup2 (test.test_os.FDInheritanceTests.test_dup2) ... ok
test_dup_nul (test.test_os.FDInheritanceTests.test_dup_nul) ... skipped 'win32-specific test'
test_dup_standard_stream (test.test_os.FDInheritanceTests.test_dup_standard_stream) ... ok
test_get_inheritable_cloexec (test.test_os.FDInheritanceTests.test_get_inheritable_cloexec) ... ok
test_get_set_inheritable (test.test_os.FDInheritanceTests.test_get_set_inheritable) ... ok
test_get_set_inheritable_badf (test.test_os.FDInheritanceTests.test_get_set_inheritable_badf) ... ok
test_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) ... ok
test_openpty (test.test_os.FDInheritanceTests.test_openpty) ... ok
test_pipe (test.test_os.FDInheritanceTests.test_pipe) ... ok
test_set_inheritable_cloexec (test.test_os.FDInheritanceTests.test_set_inheritable_cloexec) ... ok
test_identity (test.test_os.FSEncodingTests.test_identity) ... ok
test_nop (test.test_os.FSEncodingTests.test_nop) ... ok
test_access (test.test_os.FileTests.test_access) ... ok
test_closerange (test.test_os.FileTests.test_closerange) ... ok
test_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) ... ok
test_large_read (test.test_os.FileTests.test_large_read) ... skipped 'implementation detail specific to cpython'
test_open_keywords (test.test_os.FileTests.test_open_keywords) ... ok
test_read (test.test_os.FileTests.test_read) ... ok
test_rename (test.test_os.FileTests.test_rename) ... skipped 'implementation detail specific to cpython'
test_replace (test.test_os.FileTests.test_replace) ... ok
test_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) ... ok
test_write (test.test_os.FileTests.test_write) ... ok
test_write_windows_console (test.test_os.FileTests.test_write_windows_console) ... skipped 'test specific to the Windows console'
test_fork (test.test_os.ForkTests.test_fork) ... ok
test_fork_at_finalization (test.test_os.ForkTests.test_fork_at_finalization) ... FAIL
test_fork_warns_when_non_python_thread_exists (test.test_os.ForkTests.test_fork_warns_when_non_python_thread_exists) ... FAIL
test_compare_to_walk (test.test_os.FwalkTests.test_compare_to_walk) ... ok
test_dir_fd (test.test_os.FwalkTests.test_dir_fd) ... ok
test_fd_finalization (test.test_os.FwalkTests.test_fd_finalization) ... ok
test_fd_leak (test.test_os.FwalkTests.test_fd_leak) ... ok
test_file_like_path (test.test_os.FwalkTests.test_file_like_path) ... ok
test_walk_above_recursion_limit (test.test_os.FwalkTests.test_walk_above_recursion_limit) ... ok
test_walk_bad_dir (test.test_os.FwalkTests.test_walk_bad_dir) ... ok
test_walk_bad_dir2 (test.test_os.FwalkTests.test_walk_bad_dir2) ... ok
test_walk_bottom_up (test.test_os.FwalkTests.test_walk_bottom_up) ... ok
test_walk_named_pipe (test.test_os.FwalkTests.test_walk_named_pipe) ... ok
test_walk_named_pipe2 (test.test_os.FwalkTests.test_walk_named_pipe2) ... ok
test_walk_prune (test.test_os.FwalkTests.test_walk_prune) ... ok
test_walk_symlink (test.test_os.FwalkTests.test_walk_symlink) ... ok
test_walk_topdown (test.test_os.FwalkTests.test_walk_topdown) ... ok
test_yields_correct_dir_fd (test.test_os.FwalkTests.test_yields_correct_dir_fd) ... ok
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) ... ok
test_link_bytes (test.test_os.LinkTests.test_link_bytes) ... ok
test_unicode_name (test.test_os.LinkTests.test_unicode_name) ... ok
test_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) ... ok
test_exist_ok_existing_regular_file (test.test_os.MakedirTests.test_exist_ok_existing_regular_file) ... ok
test_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) ... ok
test_mode (test.test_os.MakedirTests.test_mode) ... ok
test_win32_mkdir_700 (test.test_os.MakedirTests.test_win32_mkdir_700) ... skipped 'requires Windows'
test_memfd_create (test.test_os.MemfdCreateTests.test_memfd_create) ... skipped 'requires os.memfd_create'
test_getcwd (test.test_os.MiscTests.test_getcwd) ... ok
test_getcwd_long_path (test.test_os.MiscTests.test_getcwd_long_path) ... Tested current directory length: 850
ok
test_getcwdb (test.test_os.MiscTests.test_getcwdb) ... ok
test_directory_link_nonlocal (test.test_os.NonLocalSymlinkTests.test_directory_link_nonlocal)
The symlink target should resolve relative to the link, not relative ... ok
test_oserror_filename (test.test_os.OSErrorTests.test_oserror_filename) ... ok
test_path_t_converter (test.test_os.PathTConverterTests.test_path_t_converter) ... ok
test_path_t_converter_and_custom_class (test.test_os.PathTConverterTests.test_path_t_converter_and_custom_class) ... ok
test_listdir (test.test_os.Pep383Tests.test_listdir) ... ok
test_open (test.test_os.Pep383Tests.test_open) ... ok
test_stat (test.test_os.Pep383Tests.test_stat) ... ok
test_statvfs (test.test_os.Pep383Tests.test_statvfs) ... ok
test_getppid (test.test_os.PidTests.test_getppid) ... ok
test_waitpid (test.test_os.PidTests.test_waitpid) ... ok
test_waitpid_windows (test.test_os.PidTests.test_waitpid_windows) ... skipped 'win32-specific test'
test_waitstatus_to_exitcode (test.test_os.PidTests.test_waitstatus_to_exitcode) ... ok
test_waitstatus_to_exitcode_kill (test.test_os.PidTests.test_waitstatus_to_exitcode_kill) ... ok
test_waitstatus_to_exitcode_windows (test.test_os.PidTests.test_waitstatus_to_exitcode_windows) ... skipped 'win32-specific test'
test_setegid (test.test_os.PosixUidGidTests.test_setegid) ... ok
test_seteuid (test.test_os.PosixUidGidTests.test_seteuid) ... ok
test_setgid (test.test_os.PosixUidGidTests.test_setgid) ... ok
test_setregid (test.test_os.PosixUidGidTests.test_setregid) ... ok
test_setregid_neg1 (test.test_os.PosixUidGidTests.test_setregid_neg1) ... ok
test_setreuid (test.test_os.PosixUidGidTests.test_setreuid) ... ok
test_setreuid_neg1 (test.test_os.PosixUidGidTests.test_setreuid_neg1) ... ok
test_setuid (test.test_os.PosixUidGidTests.test_setuid) ... ok
test_set_get_priority (test.test_os.ProgramPriorityTests.test_set_get_priority) ... ok
test_bytes (test.test_os.ReadlinkTests.test_bytes) ... ok
test_missing_link (test.test_os.ReadlinkTests.test_missing_link) ... ok
test_not_symlink (test.test_os.ReadlinkTests.test_not_symlink) ... ok
test_pathlike (test.test_os.ReadlinkTests.test_pathlike) ... ok
test_pathlike_bytes (test.test_os.ReadlinkTests.test_pathlike_bytes) ... ok
test_remove_all (test.test_os.RemoveDirsTests.test_remove_all) ... ok
test_remove_nothing (test.test_os.RemoveDirsTests.test_remove_nothing) ... ok
test_remove_partial (test.test_os.RemoveDirsTests.test_remove_partial) ... ok
test_nowait (test.test_os.SpawnTests.test_nowait) ... ok
test_spawnl (test.test_os.SpawnTests.test_spawnl) ... ok
test_spawnl_noargs (test.test_os.SpawnTests.test_spawnl_noargs) ... ok
test_spawnle (test.test_os.SpawnTests.test_spawnle) ... ok
test_spawnle_noargs (test.test_os.SpawnTests.test_spawnle_noargs) ... ok
test_spawnlp (test.test_os.SpawnTests.test_spawnlp) ... ok
test_spawnlpe (test.test_os.SpawnTests.test_spawnlpe) ... ok
test_spawnv (test.test_os.SpawnTests.test_spawnv) ... ok
test_spawnv_noargs (test.test_os.SpawnTests.test_spawnv_noargs) ... ok
test_spawnve (test.test_os.SpawnTests.test_spawnve) ... ok
test_spawnve_bytes (test.test_os.SpawnTests.test_spawnve_bytes) ... ok
test_spawnve_invalid_env (test.test_os.SpawnTests.test_spawnve_invalid_env) ... ok
test_spawnve_noargs (test.test_os.SpawnTests.test_spawnve_noargs) ... ok
test_spawnvp (test.test_os.SpawnTests.test_spawnvp) ... ok
test_spawnvpe (test.test_os.SpawnTests.test_spawnvpe) ... ok
test_spawnvpe_invalid_env (test.test_os.SpawnTests.test_spawnvpe_invalid_env) ... ok
test_15261 (test.test_os.StatAttributeTests.test_15261) ... skipped 'Win32 specific tests'
test_1686475 (test.test_os.StatAttributeTests.test_1686475) ... skipped 'Win32 specific tests'
test_access_denied (test.test_os.StatAttributeTests.test_access_denied) ... skipped 'Win32 specific tests'
test_file_attributes (test.test_os.StatAttributeTests.test_file_attributes) ... skipped 'st_file_attributes is Win32 specific'
test_stat_attributes (test.test_os.StatAttributeTests.test_stat_attributes) ... ok
test_stat_attributes_bytes (test.test_os.StatAttributeTests.test_stat_attributes_bytes) ... ok
test_stat_block_device (test.test_os.StatAttributeTests.test_stat_block_device) ... skipped 'Win32 specific tests'
test_stat_result_pickle (test.test_os.StatAttributeTests.test_stat_result_pickle) ... ok
test_statvfs_attributes (test.test_os.StatAttributeTests.test_statvfs_attributes) ... ok
test_statvfs_result_pickle (test.test_os.StatAttributeTests.test_statvfs_result_pickle) ... ok
test_does_not_crash (test.test_os.TermsizeTests.test_does_not_crash)
Check if get_terminal_size() returns a meaningful value. ... skipped 'failed to query terminal size'
test_stty_match (test.test_os.TermsizeTests.test_stty_match)
Check if stty returns the same results ... skipped 'stty invocation failed'
test_windows_fd (test.test_os.TermsizeTests.test_windows_fd)
Check if get_terminal_size() returns a meaningful value in Windows ... skipped 'Windows specific test'
test_uninstantiable (test.test_os.TestDirEntry.test_uninstantiable) ... ok
test_unpickable (test.test_os.TestDirEntry.test_unpickable) ... ok
test_blocking (test.test_os.TestInvalidFD.test_blocking) ... ok
test_closerange (test.test_os.TestInvalidFD.test_closerange) ... ok
test_dup (test.test_os.TestInvalidFD.test_dup) ... ok
test_dup2 (test.test_os.TestInvalidFD.test_dup2) ... ok
test_dup2_negative_fd (test.test_os.TestInvalidFD.test_dup2_negative_fd) ... ok
test_fchdir (test.test_os.TestInvalidFD.test_fchdir) ... ok
test_fchmod (test.test_os.TestInvalidFD.test_fchmod) ... ok
test_fchown (test.test_os.TestInvalidFD.test_fchown) ... ok
test_fdatasync (test.test_os.TestInvalidFD.test_fdatasync) ... ok
test_fdopen (test.test_os.TestInvalidFD.test_fdopen) ... ok
test_fpathconf (test.test_os.TestInvalidFD.test_fpathconf) ... ok
test_fstat (test.test_os.TestInvalidFD.test_fstat) ... ok
test_fstatvfs (test.test_os.TestInvalidFD.test_fstatvfs) ... ok
test_fsync (test.test_os.TestInvalidFD.test_fsync) ... ok
test_ftruncate (test.test_os.TestInvalidFD.test_ftruncate) ... ok
test_inheritable (test.test_os.TestInvalidFD.test_inheritable) ... ok
test_isatty (test.test_os.TestInvalidFD.test_isatty) ... ok
test_lseek (test.test_os.TestInvalidFD.test_lseek) ... ok
test_read (test.test_os.TestInvalidFD.test_read) ... ok
test_readv (test.test_os.TestInvalidFD.test_readv) ... skipped 'test needs os.readv()'
test_tcgetpgrp (test.test_os.TestInvalidFD.test_tcgetpgrp) ... ok
test_tcsetpgrpt (test.test_os.TestInvalidFD.test_tcsetpgrpt) ... ok
test_ttyname (test.test_os.TestInvalidFD.test_ttyname) ... ok
test_write (test.test_os.TestInvalidFD.test_write) ... ok
test_writev (test.test_os.TestInvalidFD.test_writev) ... skipped 'test needs os.writev()'
test_argument_required (test.test_os.TestPEP519.test_argument_required) ... ok
test_bad_pathlike (test.test_os.TestPEP519.test_bad_pathlike) ... ok
test_fsencode_fsdecode (test.test_os.TestPEP519.test_fsencode_fsdecode) ... ok
test_garbage_in_exception_out (test.test_os.TestPEP519.test_garbage_in_exception_out) ... ok
test_pathlike (test.test_os.TestPEP519.test_pathlike) ... ok
test_pathlike_class_getitem (test.test_os.TestPEP519.test_pathlike_class_getitem) ... ok
test_pathlike_subclasshook (test.test_os.TestPEP519.test_pathlike_subclasshook) ... ok
test_return_bytes (test.test_os.TestPEP519.test_return_bytes) ... ok
test_return_string (test.test_os.TestPEP519.test_return_string) ... ok
test_argument_required (test.test_os.TestPEP519PurePython.test_argument_required) ... ok
test_bad_pathlike (test.test_os.TestPEP519PurePython.test_bad_pathlike) ... ok
test_fsencode_fsdecode (test.test_os.TestPEP519PurePython.test_fsencode_fsdecode) ... ok
test_garbage_in_exception_out (test.test_os.TestPEP519PurePython.test_garbage_in_exception_out) ... ok
test_pathlike (test.test_os.TestPEP519PurePython.test_pathlike) ... ok
test_pathlike_class_getitem (test.test_os.TestPEP519PurePython.test_pathlike_class_getitem) ... ok
test_pathlike_subclasshook (test.test_os.TestPEP519PurePython.test_pathlike_subclasshook) ... ok
test_return_bytes (test.test_os.TestPEP519PurePython.test_return_bytes) ... ok
test_return_string (test.test_os.TestPEP519PurePython.test_return_string) ... ok
test_attributes (test.test_os.TestScandir.test_attributes) ... ERROR
test_attributes_junctions (test.test_os.TestScandir.test_attributes_junctions) ... skipped 'Can only test junctions with creation on win32.'
test_bad_path_type (test.test_os.TestScandir.test_bad_path_type) ... ok
test_broken_symlink (test.test_os.TestScandir.test_broken_symlink) ... ok
test_bytes (test.test_os.TestScandir.test_bytes) ... ok
test_bytes_like (test.test_os.TestScandir.test_bytes_like) ... FAIL
test_close (test.test_os.TestScandir.test_close) ... FAIL
test_consume_iterator_twice (test.test_os.TestScandir.test_consume_iterator_twice) ... ok
test_context_manager (test.test_os.TestScandir.test_context_manager) ... ok
test_context_manager_close (test.test_os.TestScandir.test_context_manager_close) ... ok
test_context_manager_exception (test.test_os.TestScandir.test_context_manager_exception) ... ok
test_current_directory (test.test_os.TestScandir.test_current_directory) ... ok
test_empty_path (test.test_os.TestScandir.test_empty_path) ... ok
test_fd (test.test_os.TestScandir.test_fd) ... ok
test_fspath_protocol (test.test_os.TestScandir.test_fspath_protocol) ... ok
test_fspath_protocol_bytes (test.test_os.TestScandir.test_fspath_protocol_bytes) ... ok
test_removed_dir (test.test_os.TestScandir.test_removed_dir) ... ok
test_removed_file (test.test_os.TestScandir.test_removed_file) ... ok
test_repr (test.test_os.TestScandir.test_repr) ... ok
test_resource_warning (test.test_os.TestScandir.test_resource_warning) ... ok
test_uninstantiable (test.test_os.TestScandir.test_uninstantiable) ... ok
test_unpickable (test.test_os.TestScandir.test_unpickable) ... ok
test_flags (test.test_os.TestSendfile.test_flags) ... skipped 'test needs os.SF_NODISKIO'
test_headers (test.test_os.TestSendfile.test_headers) ... ERROR
test_headers_overflow_32bits (test.test_os.TestSendfile.test_headers_overflow_32bits) ... skipped 'test is only meaningful on 32-bit builds'
test_invalid_offset (test.test_os.TestSendfile.test_invalid_offset) ... ok
test_keywords (test.test_os.TestSendfile.test_keywords) ... ERROR
test_offset_overflow (test.test_os.TestSendfile.test_offset_overflow) ... ok
test_send_at_certain_offset (test.test_os.TestSendfile.test_send_at_certain_offset) ... ok
test_send_whole_file (test.test_os.TestSendfile.test_send_whole_file) ... ok
test_trailers (test.test_os.TestSendfile.test_trailers) ... ERROR
test_trailers_overflow_32bits (test.test_os.TestSendfile.test_trailers_overflow_32bits) ... skipped 'test is only meaningful on 32-bit builds'
test_times (test.test_os.TimesTests.test_times) ... ok
test_urandom_failure (test.test_os.URandomFDTests.test_urandom_failure) ... ok
test_urandom_fd_closed (test.test_os.URandomFDTests.test_urandom_fd_closed) ... ok
test_urandom_fd_reopened (test.test_os.URandomFDTests.test_urandom_fd_reopened) ... ok
test_urandom_length (test.test_os.URandomTests.test_urandom_length) ... ok
test_urandom_subprocess (test.test_os.URandomTests.test_urandom_subprocess) ... ok
test_urandom_value (test.test_os.URandomTests.test_urandom_value) ... ok
test_issue31577 (test.test_os.UtimeTests.test_issue31577) ... skipped 'implementation detail specific to cpython'
test_large_time (test.test_os.UtimeTests.test_large_time) ... skipped 'requires NTFS'
test_utime (test.test_os.UtimeTests.test_utime) ... ok
test_utime_by_indexed (test.test_os.UtimeTests.test_utime_by_indexed) ... ok
test_utime_by_times (test.test_os.UtimeTests.test_utime_by_times) ... ok
test_utime_current (test.test_os.UtimeTests.test_utime_current) ... ok
test_utime_current_old (test.test_os.UtimeTests.test_utime_current_old) ... ok
test_utime_dir_fd (test.test_os.UtimeTests.test_utime_dir_fd) ... ok
test_utime_directory (test.test_os.UtimeTests.test_utime_directory) ... ok
test_utime_fd (test.test_os.UtimeTests.test_utime_fd) ... ok
test_utime_invalid_arguments (test.test_os.UtimeTests.test_utime_invalid_arguments) ... ok
test_utime_nofollow_symlinks (test.test_os.UtimeTests.test_utime_nofollow_symlinks) ... ok
test_file_like_path (test.test_os.WalkTests.test_file_like_path) ... ok
test_walk_above_recursion_limit (test.test_os.WalkTests.test_walk_above_recursion_limit) ... ok
test_walk_bad_dir (test.test_os.WalkTests.test_walk_bad_dir) ... ok
test_walk_bad_dir2 (test.test_os.WalkTests.test_walk_bad_dir2) ... ok
test_walk_bottom_up (test.test_os.WalkTests.test_walk_bottom_up) ... ok
test_walk_many_open_files (test.test_os.WalkTests.test_walk_many_open_files) ... ok
test_walk_named_pipe (test.test_os.WalkTests.test_walk_named_pipe) ... ok
test_walk_named_pipe2 (test.test_os.WalkTests.test_walk_named_pipe2) ... ok
test_walk_prune (test.test_os.WalkTests.test_walk_prune) ... ok
test_walk_symlink (test.test_os.WalkTests.test_walk_symlink) ... ok
test_walk_topdown (test.test_os.WalkTests.test_walk_topdown) ... ok
test_chdir (test.test_os.Win32ErrorTests.test_chdir) ... skipped 'Win32 specific tests'
test_chmod (test.test_os.Win32ErrorTests.test_chmod) ... skipped 'Win32 specific tests'
test_mkdir (test.test_os.Win32ErrorTests.test_mkdir) ... skipped 'Win32 specific tests'
test_remove (test.test_os.Win32ErrorTests.test_remove) ... skipped 'Win32 specific tests'
test_rename (test.test_os.Win32ErrorTests.test_rename) ... skipped 'Win32 specific tests'
test_utime (test.test_os.Win32ErrorTests.test_utime) ... skipped 'Win32 specific tests'
test_create_junction (test.test_os.Win32JunctionTests.test_create_junction) ... skipped 'Win32 specific tests'
test_unlink_removes_junction (test.test_os.Win32JunctionTests.test_unlink_removes_junction) ... skipped 'Win32 specific tests'
test_CTRL_BREAK_EVENT (test.test_os.Win32KillTests.test_CTRL_BREAK_EVENT) ... skipped 'Win32 specific tests'
test_CTRL_C_EVENT (test.test_os.Win32KillTests.test_CTRL_C_EVENT) ... skipped 'Win32 specific tests'
test_kill_int (test.test_os.Win32KillTests.test_kill_int) ... skipped 'Win32 specific tests'
test_kill_sigterm (test.test_os.Win32KillTests.test_kill_sigterm) ... skipped 'Win32 specific tests'
test_listdir_extended_path (test.test_os.Win32ListdirTests.test_listdir_extended_path)
Test when the path starts with '\\?\'. ... skipped 'Win32 specific tests'
test_listdir_no_extended_path (test.test_os.Win32ListdirTests.test_listdir_no_extended_path)
Test when the path is not an "extended" path. ... skipped 'Win32 specific tests'
test_listdrives (test.test_os.Win32ListdriveTests.test_listdrives) ... skipped 'NT specific tests'
test_listmounts (test.test_os.Win32ListdriveTests.test_listmounts) ... skipped 'NT specific tests'
test_listvolumes (test.test_os.Win32ListdriveTests.test_listvolumes) ... skipped 'NT specific tests'
test_getfinalpathname_handles (test.test_os.Win32NtTests.test_getfinalpathname_handles) ... skipped 'Win32 specific tests'
test_stat_inaccessible_file (test.test_os.Win32NtTests.test_stat_inaccessible_file) ... skipped 'Win32 specific tests'
test_stat_unlink_race (test.test_os.Win32NtTests.test_stat_unlink_race) ... skipped 'Win32 specific tests'
test_12084 (test.test_os.Win32SymlinkTests.test_12084) ... skipped 'Win32 specific tests'
test_29248 (test.test_os.Win32SymlinkTests.test_29248) ... skipped 'Win32 specific tests'
test_appexeclink (test.test_os.Win32SymlinkTests.test_appexeclink) ... skipped 'Win32 specific tests'
test_buffer_overflow (test.test_os.Win32SymlinkTests.test_buffer_overflow) ... skipped 'Win32 specific tests'
test_directory_link (test.test_os.Win32SymlinkTests.test_directory_link) ... skipped 'Win32 specific tests'
test_file_link (test.test_os.Win32SymlinkTests.test_file_link) ... skipped 'Win32 specific tests'
test_isdir_on_directory_link_to_missing_target (test.test_os.Win32SymlinkTests.test_isdir_on_directory_link_to_missing_target) ... skipped 'Win32 specific tests'
test_remove_directory_link_to_missing_target (test.test_os.Win32SymlinkTests.test_remove_directory_link_to_missing_target) ... skipped 'Win32 specific tests'
test_rmdir_on_directory_link_to_missing_target (test.test_os.Win32SymlinkTests.test_rmdir_on_directory_link_to_missing_target) ... skipped 'Win32 specific tests'

======================================================================
ERROR: test_attributes (test.test_os.TestScandir.test_attributes)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_os.py", line 4506, in test_attributes
    self.check_entry(entry, 'dir', True, False, False)
         ^^^^^^^^^^^
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_os.py", line 4472, in check_entry
    self.assertEqual(entry.is_junction(), os.path.isjunction(entry.path))
                           ^^^^^^^^^^^
AttributeError: 'posix.DirEntry' object has no attribute 'is_junction'

======================================================================
ERROR: test_headers (test.test_os.TestSendfile.test_headers)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
                      ^^^^^^^^^^^^^^^^^^
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/asyncio/base_events.py", line 691, in run_until_complete
    return future.result()
                  ^^^^^^
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/asyncio/futures.py", line 202, in result
    raise self._exception.with_traceback(self._exception_tb)
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/asyncio/tasks.py", line 316, in __step_run_and_handle_result
    result = coro.throw(exc)
                  ^^^^^
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_os.py", line 3763, in test_headers
    sent = await self.async_sendfile(self.sockno, self.fileno, 0, 4096,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_os.py", line 3661, in async_sendfile
    return await asyncio.to_thread(os.sendfile, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/asyncio/threads.py", line 25, in to_thread
    return await loop.run_in_executor(None, func_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/asyncio/futures.py", line 289, in __await__
    yield self  # This tells Task to wait for completion.
    ^^^^^^^^^^
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/asyncio/tasks.py", line 385, in __wakeup
    future.result()
           ^^^^^^
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/asyncio/futures.py", line 202, in result
    raise self._exception.with_traceback(self._exception_tb)
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/concurrent/futures/thread.py", line 59, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/functools.py", line 303, in __call__
    return self.func(*self.args, *args, **keywords)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: sendfile() takes no keyword arguments

======================================================================
ERROR: test_keywords (test.test_os.TestSendfile.test_keywords)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
                      ^^^^^^^^^^^^^^^^^^
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/asyncio/base_events.py", line 691, in run_until_complete
    return future.result()
                  ^^^^^^
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/asyncio/futures.py", line 202, in result
    raise self._exception.with_traceback(self._exception_tb)
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/asyncio/tasks.py", line 316, in __step_run_and_handle_result
    result = coro.throw(exc)
                  ^^^^^
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_os.py", line 3753, in test_keywords
    await self.async_sendfile(out_fd=self.sockno, in_fd=self.fileno,
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_os.py", line 3661, in async_sendfile
    return await asyncio.to_thread(os.sendfile, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/asyncio/threads.py", line 25, in to_thread
    return await loop.run_in_executor(None, func_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/asyncio/futures.py", line 289, in __await__
    yield self  # This tells Task to wait for completion.
    ^^^^^^^^^^
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/asyncio/tasks.py", line 385, in __wakeup
    future.result()
           ^^^^^^
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/asyncio/futures.py", line 202, in result
    raise self._exception.with_traceback(self._exception_tb)
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/concurrent/futures/thread.py", line 59, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/functools.py", line 303, in __call__
    return self.func(*self.args, *args, **keywords)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: sendfile() takes no keyword arguments

======================================================================
ERROR: test_trailers (test.test_os.TestSendfile.test_trailers)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
                      ^^^^^^^^^^^^^^^^^^
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/asyncio/base_events.py", line 691, in run_until_complete
    return future.result()
                  ^^^^^^
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/asyncio/futures.py", line 202, in result
    raise self._exception.with_traceback(self._exception_tb)
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/asyncio/tasks.py", line 316, in __step_run_and_handle_result
    result = coro.throw(exc)
                  ^^^^^
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_os.py", line 3792, in test_trailers
    await self.async_sendfile(self.sockno, f.fileno(), 0, 5,
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_os.py", line 3661, in async_sendfile
    return await asyncio.to_thread(os.sendfile, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/asyncio/threads.py", line 25, in to_thread
    return await loop.run_in_executor(None, func_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/asyncio/futures.py", line 289, in __await__
    yield self  # This tells Task to wait for completion.
    ^^^^^^^^^^
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/asyncio/tasks.py", line 385, in __wakeup
    future.result()
           ^^^^^^
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/asyncio/futures.py", line 202, in result
    raise self._exception.with_traceback(self._exception_tb)
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/concurrent/futures/thread.py", line 59, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/functools.py", line 303, in __call__
    return self.func(*self.args, *args, **keywords)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: sendfile() takes no keyword arguments

======================================================================
FAIL: test_fd_finalization (test.test_os.BytesFwalkTests.test_fd_finalization)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_os.py", line 1693, in test_fd_finalization
    self.assertEqual(getfd(), old_fd)
         ^^^^^^^^^^^
AssertionError: 15 != 10

======================================================================
FAIL: test_fork_at_finalization (test.test_os.ForkTests.test_fork_at_finalization)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_os.py", line 4889, in test_fork_at_finalization
    self.assertEqual(b"OK\n", out)
         ^^^^^^^^^^^
AssertionError: b'OK\n' != b''

======================================================================
FAIL: test_fork_warns_when_non_python_thread_exists (test.test_os.ForkTests.test_fork_warns_when_non_python_thread_exists)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_os.py", line 4871, in test_fork_warns_when_non_python_thread_exists
    _, out, err = assert_python_ok("-c", code, PYTHONOPTIMIZE='0')
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/support/script_helper.py", line 166, in assert_python_ok
    return _assert_python(True, *args, **env_vars)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/support/script_helper.py", line 151, in _assert_python
    res.fail(cmd_line)
        ^^^^
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/support/script_helper.py", line 76, in fail
    raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/pypy/goal/pypy3.12-c', '-X', 'faulthandler', '-c', 'if 1:\n            import os, threading, warnings\n            from _testcapi import _spawn_pthread_waiter, _end_spawned_pthread\n            _spawn_pthread_waiter()\n            try:\n                with warnings.catch_warnings(record=True) as ws:\n                    warnings.filterwarnings(\n                            "always", category=DeprecationWarning)\n                    if os.fork() == 0:\n                        assert not ws, f"unexpected warnings in child: {ws}"\n                        os._exit(0)  # child\n                    else:\n                        assert ws[0].category == DeprecationWarning, ws[0]\n                        assert \'fork\' in str(ws[0].message), ws[0]\n                        # Waiting allows an error in the child to hit stderr.\n                        exitcode = os.wait()[1]\n                        assert exitcode == 0, f"child exited {exitcode}"\n                assert threading.active_count() == 1, threading.enumerate()\n            finally:\n                _end_spawned_pthread()\n        ']

stdout:
---

---

stderr:
---
Traceback (most recent call last):
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/_testcapi.py", line 17, in <module>
    module_from_spec(spec)
  File "<frozen importlib._bootstrap>", line 813, in module_from_spec
  File "<builtin>/frozen importlib._bootstrap_external", line 1293, in create_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
ImportError: dlopen(/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/_testcapi.pypy312-pp80-darwin.so, 0x0006): tried: '/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/_testcapi.pypy312-pp80-darwin.so' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/_testcapi.pypy312-pp80-darwin.so' (no such file), '/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/_testcapi.pypy312-pp80-darwin.so' (no such file)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 3, in <module>
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/_testcapi.py", line 25, in <module>
    mod = _pypy_testcapi.compile_shared(cfile, '_testcapi', thisdir)
                         ^^^^^^^^^^^^^^
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/_pypy_testcapi.py", line 65, in compile_shared
    from distutils.ccompiler import new_compiler
ModuleNotFoundError: No module named 'distutils'
---

======================================================================
FAIL: test_bytes_like (test.test_os.TestScandir.test_bytes_like)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_os.py", line 4659, in test_bytes_like
    with self.assertRaises(TypeError):
AssertionError: TypeError not raised

======================================================================
FAIL: test_close (test.test_os.TestScandir.test_close)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_os.py", line 4715, in test_close
    with self.check_no_resource_warning():
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/contextlib.py", line 144, in __exit__
    next(self.gen)
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/support/warnings_helper.py", line 148, in check_no_resource_warning
    with check_no_warnings(testcase, category=ResourceWarning, force_gc=True):
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/contextlib.py", line 144, in __exit__
    next(self.gen)
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/support/warnings_helper.py", line 131, in check_no_warnings
    testcase.assertEqual(warns, [])
             ^^^^^^^^^^^
AssertionError: Lists differ: [<warnings.WarningMessage object at 0x00000001594cc090>] != []

First list contains 1 additional elements.
First extra element 0:
<warnings.WarningMessage object at 0x00000001594cc090>

- [<warnings.WarningMessage object at 0x00000001594cc090>]
+ []

----------------------------------------------------------------------
Ran 344 tests in 2.153s

FAILED (failures=5, errors=4, skipped=77)
0:00:02 load avg: 3.85 [1/1/1] test_os failed (4 errors, 5 failures)

== Tests result: FAILURE ==

1 test failed:
    test_os

Total duration: 2.3 sec
Total tests: run=344 failures=5 skipped=77
Total test files: run=1/1 failed=1
Result: FAILURE
test test_os failed
builder: pypy-c-jit-macos-arm64 build #1306+
test: lib-python/3/test/test_os.py::unmodified