lib-python/3/test/test_site.py::unmodified
== PyPy 3.12.13 (8913d9282f84, Aug 17 2026, 07:32:43) [PyPy 8.0.0-alpha0 with MSC v.1941 64 bit (AMD64)]
== Windows-10-10.0.19045-SP0 little-endian
== Python build: release with_assert
== cwd: D:\SystemTemp\pytest\test_python_worker_6028æ
== CPU count: 2
== encodings: locale=ascii FS=utf-8
== resources (3): curses,gui,network
Using random seed: 3048377037
0:00:00 Run 1 test sequentially in a single process
0:00:00 [1/1] test_site
test__getuserbase (test.test_site.HelperFunctionsTests.test__getuserbase) ... ok
test_addpackage (test.test_site.HelperFunctionsTests.test_addpackage) ... ok
test_addpackage_empty_lines (test.test_site.HelperFunctionsTests.test_addpackage_empty_lines) ... ok
test_addpackage_import_bad_exec (test.test_site.HelperFunctionsTests.test_addpackage_import_bad_exec) ... ok
test_addpackage_import_bad_pth_file (test.test_site.HelperFunctionsTests.test_addpackage_import_bad_pth_file) ... ok
test_addpackage_import_bad_syntax (test.test_site.HelperFunctionsTests.test_addpackage_import_bad_syntax) ... ok
test_addsitedir (test.test_site.HelperFunctionsTests.test_addsitedir) ... ok
test_addsitedir_dotfile (test.test_site.HelperFunctionsTests.test_addsitedir_dotfile) ... ok
test_addsitedir_hidden_file_attribute (test.test_site.HelperFunctionsTests.test_addsitedir_hidden_file_attribute) ... ok
test_addsitedir_hidden_flags (test.test_site.HelperFunctionsTests.test_addsitedir_hidden_flags) ... skipped 'test needs os.chflags()'
test_get_path (test.test_site.HelperFunctionsTests.test_get_path) ... ok
test_getsitepackages (test.test_site.HelperFunctionsTests.test_getsitepackages) ... ok
test_getuserbase (test.test_site.HelperFunctionsTests.test_getuserbase) ... ok
test_getusersitepackages (test.test_site.HelperFunctionsTests.test_getusersitepackages) ... ok
test_init_pathinfo (test.test_site.HelperFunctionsTests.test_init_pathinfo) ... ok
test_makepath (test.test_site.HelperFunctionsTests.test_makepath) ... ok
test_no_home_directory (test.test_site.HelperFunctionsTests.test_no_home_directory) ... ok
test_s_option (test.test_site.HelperFunctionsTests.test_s_option) ... ok
test_trace (test.test_site.HelperFunctionsTests.test_trace) ... ok
test_abs_paths_cached_None (test.test_site.ImportSideEffectTests.test_abs_paths_cached_None)
Test for __cached__ is None. ... ok
test_add_build_dir (test.test_site.ImportSideEffectTests.test_add_build_dir) ... skipped 'test not implemented'
test_license_exists_at_url (test.test_site.ImportSideEffectTests.test_license_exists_at_url) ... ok
test_no_duplicate_paths (test.test_site.ImportSideEffectTests.test_no_duplicate_paths) ... ok
test_setting_copyright (test.test_site.ImportSideEffectTests.test_setting_copyright) ... ok
test_setting_help (test.test_site.ImportSideEffectTests.test_setting_help) ... ok
test_setting_quit (test.test_site.ImportSideEffectTests.test_setting_quit) ... ok
test_sitecustomize_executed (test.test_site.ImportSideEffectTests.test_sitecustomize_executed) ... ok
test_startup_imports (test.test_site.StartupImportTests.test_startup_imports) ... skipped 'found 1 .pth files in: d:\\pypy_stuff\\buildbot64\\slave\\pypy-c-jit-win-x86-64\\build\\Lib\\site-packages'
test_startup_interactivehook (test.test_site.StartupImportTests.test_startup_interactivehook) ... ok
test_startup_interactivehook_isolated (test.test_site.StartupImportTests.test_startup_interactivehook_isolated) ... ok
test_startup_interactivehook_isolated_explicit (test.test_site.StartupImportTests.test_startup_interactivehook_isolated_explicit) ... ok
test_underpth_basic (test.test_site._pthFileTests.test_underpth_basic) ... ERROR
test_underpth_dll_file (test.test_site._pthFileTests.test_underpth_dll_file) ... ok
test_underpth_file (test.test_site._pthFileTests.test_underpth_file) ... ok
test_underpth_nosite_file (test.test_site._pthFileTests.test_underpth_nosite_file) ... ERROR
======================================================================
ERROR: test_underpth_basic (test.test_site._pthFileTests.test_underpth_basic)
----------------------------------------------------------------------
Traceback (most recent call last):
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_site.py", line 668, in test_underpth_basic
output = subprocess.check_output([exe_file, '-X', 'utf8', '-c',
^^^^^^^^^^^^
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\subprocess.py", line 466, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['d:\\systemtemp\\pytest\\tmp9f__wevu\\pypy3.12-c.exe', '-X', 'utf8', '-c', 'import sys; print("\\n".join(sys.path) if sys.flags.no_site else "")']' returned non-zero exit status 1.
======================================================================
ERROR: test_underpth_nosite_file (test.test_site._pthFileTests.test_underpth_nosite_file)
----------------------------------------------------------------------
Traceback (most recent call last):
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_site.py", line 692, in test_underpth_nosite_file
output = subprocess.check_output([exe_file, '-c',
^^^^^^^^^^^^
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\subprocess.py", line 466, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['d:\\systemtemp\\pytest\\tmp6u555dj4\\pypy3.12-c.exe', '-c', 'import sys; print("\\n".join(sys.path) if sys.flags.no_site else "")']' returned non-zero exit status 1.
----------------------------------------------------------------------
Ran 35 tests in 4.780s
FAILED (errors=2, skipped=3)
0:00:05 [1/1/1] test_site failed (2 errors)
== Tests result: FAILURE ==
1 test failed:
test_site
Total duration: 5.3 sec
Total tests: run=35 skipped=3
Total test files: run=1/1 failed=1
Result: FAILURE
debug: WARNING: Library path not found, using compiled-in sys.path, with
debug: WARNING: sys.prefix = 'd:\\pypy_stuff\\buildbot64\\slave\\pypy-c-jit-win-x86-64\\build'
debug: WARNING: Make sure the pypy3 binary is kept inside its tree of files.
debug: WARNING: It is ok to create a symlink to it from somewhere else.
debug: OperationError:
debug: operror-type: AttributeError
debug: operror-value: module 'sys' has no attribute 'base_prefix'
debug: WARNING: Library path not found, using compiled-in sys.path, with
debug: WARNING: sys.prefix = 'd:\\pypy_stuff\\buildbot64\\slave\\pypy-c-jit-win-x86-64\\build'
debug: WARNING: Make sure the pypy3 binary is kept inside its tree of files.
debug: WARNING: It is ok to create a symlink to it from somewhere else.
debug: OperationError:
debug: operror-type: AttributeError
debug: operror-value: module 'sys' has no attribute 'base_prefix'
debug: WARNING: Library path not found, using compiled-in sys.path, with
debug: WARNING: sys.prefix = 'd:\\pypy_stuff\\buildbot64\\slave\\pypy-c-jit-win-x86-64\\build'
debug: WARNING: Make sure the pypy3 binary is kept inside its tree of files.
debug: WARNING: It is ok to create a symlink to it from somewhere else.
debug: OperationError:
debug: operror-type: AttributeError
debug: operror-value: module 'sys' has no attribute 'base_prefix'
debug: WARNING: Library path not found, using compiled-in sys.path, with
debug: WARNING: sys.prefix = 'd:\\pypy_stuff\\buildbot64\\slave\\pypy-c-jit-win-x86-64\\build'
debug: WARNING: Make sure the pypy3 binary is kept inside its tree of files.
debug: WARNING: It is ok to create a symlink to it from somewhere else.
debug: OperationError:
debug: operror-type: AttributeError
debug: operror-value: module 'sys' has no attribute 'base_prefix'
test test_site failed
builder: pypy-c-jit-win-x86-64 build #2500+
test: lib-python/3/test/test_site.py::unmodified