lib-python/3/test/test_site.py::unmodified
== PyPy 3.12.13 (e99dc7a98783, Jul 10 2026, 06:28:39) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)]
== Linux-4.19.90-2202.1.0.0136.oe1.aarch64-aarch64-with-glibc2.17 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_818762æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 2927424458
0:00:00 load avg: 0.31 Run 1 test sequentially in a single process
0:00:00 load avg: 0.31 [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) ... skipped 'test needs Windows'
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) ... FAIL
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) ... skipped 'need SSL support to download license'
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) ... ok
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) ... FAIL
test_underpth_dll_file (test.test_site._pthFileTests.test_underpth_dll_file) ... skipped 'library ._pth file not supported on this platform'
test_underpth_file (test.test_site._pthFileTests.test_underpth_file) ... FAIL
test_underpth_nosite_file (test.test_site._pthFileTests.test_underpth_nosite_file) ... FAIL
======================================================================
FAIL: test_getsitepackages (test.test_site.HelperFunctionsTests.test_getsitepackages)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build_dir/pypy-c-jit-linux-aarch64/build/lib-python/3/test/test_site.py", line 338, in test_getsitepackages
self.assertEqual(dirs[-1], wanted)
^^^^^^^^^^^
AssertionError: 'xoxo/lib/pypy3.12/site-packages' != 'xoxo/lib/python3.12/site-packages'
- xoxo/lib/pypy3.12/site-packages
? ^^
+ xoxo/lib/python3.12/site-packages
? ^^^^
======================================================================
FAIL: test_underpth_basic (test.test_site._pthFileTests.test_underpth_basic)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build_dir/pypy-c-jit-linux-aarch64/build/lib-python/3/test/test_site.py", line 673, in test_underpth_basic
self.assertEqual(
^^^^^^^^^^^
AssertionError: Lists differ: [''] != ['/tmp/pytest/pytest-of-buildslave/pytest-2[338 chars]est']
First differing element 0:
''
'/tmp/pytest/pytest-of-buildslave/pytest-2219/test_site.py'
Second list contains 7 additional elements.
First extra element 1:
'/build_dir/pypy-c-jit-linux-aarch64/build'
- ['']
+ ['/tmp/pytest/pytest-of-buildslave/pytest-2219/test_site.py',
+ '/build_dir/pypy-c-jit-linux-aarch64/build',
+ '/build_dir/pypy-c-jit-linux-aarch64/build/lib_pypy',
+ '/build_dir/pypy-c-jit-linux-aarch64/build/lib-python/3',
+ '/home/buildslave/.local/lib/pypy3.12/site-packages',
+ '/build_dir/pypy-c-jit-linux-aarch64/build/lib/pypy3.12/site-packages',
+ '/tmp/pytest/tmp_5pmeb41',
+ '/tmp/pytest'] : sys.path is incorrect
======================================================================
FAIL: test_underpth_file (test.test_site._pthFileTests.test_underpth_file)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build_dir/pypy-c-jit-linux-aarch64/build/lib-python/3/test/test_site.py", line 721, in test_underpth_file
self.assertTrue(rc, "sys.path is incorrect")
^^^^^^^^^^
AssertionError: 0 is not true : sys.path is incorrect
======================================================================
FAIL: test_underpth_nosite_file (test.test_site._pthFileTests.test_underpth_nosite_file)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build_dir/pypy-c-jit-linux-aarch64/build/lib-python/3/test/test_site.py", line 697, in test_underpth_nosite_file
self.assertEqual(
^^^^^^^^^^^
AssertionError: Lists differ: [''] != ['/tmp/pytest/tmp_cqb4uou/fake-path-name', [11594 chars]n/3']
First differing element 0:
''
'/tmp/pytest/tmp_cqb4uou/fake-path-name'
Second list contains 200 additional elements.
First extra element 1:
'/build_dir/pypy-c-jit-linux-aarch64/build/lib-python/3'
Diff is 12252 characters long. Set self.maxDiff to None to see it. : sys.path is incorrect
----------------------------------------------------------------------
Ran 35 tests in 0.442s
FAILED (failures=4, skipped=5)
0:00:00 load avg: 0.36 [1/1/1] test_site failed (4 failures)
== Tests result: FAILURE ==
1 test failed:
test_site
Total duration: 815 ms
Total tests: run=35 failures=4 skipped=5
Total test files: run=1/1 failed=1
Result: FAILURE
test test_site failed
builder: pypy-c-jit-linux-aarch64 build #2946+
test: lib-python/3/test/test_site.py::unmodified