Created attachment 921345 [details] tarball with bunch of files. inside tarball: emerge_--info.txt /var/tmp/portage/sys-apps/portage-3.0.67/{build-info/,files/,temp/,work/**.log} /var/lib/portage/ /var/log/portage/elog/sys-apps/portage-3.0.67:20250320-165032.log /etc/portage/binrepos.conf /etc/portage/crossdev /etc/portage/crossdev_experiments /etc/portage/env /etc/portage/gentoo /etc/portage/make.conf /etc/portage/make.conf\~ /etc/portage/make.profile /etc/portage/package.accept_keywords /etc/portage/package.accept_restrict /etc/portage/package.env /etc/portage/package.license /etc/portage/package.mask /etc/portage/package.properties /etc/portage/package.unmask /etc/portage/package.use /etc/portage/patches /etc/portage/profile /etc/portage/repo-patches /etc/portage/repo.postsync.d /etc/portage/repos.conf /etc/portage/savedconfig from build.log: ``` ====================================================================================== FAILURES ====================================================================================== _____________________________________________________________________ CopyFileSparseTestCase.testCopyFileSparse ______________________________________________________________________ [gw20] linux -- Python 3.10.16 /usr/bin/python3.10 self = <portage.tests.util.file_copy.test_copyfile.CopyFileSparseTestCase testMethod=testCopyFileSparse> def testCopyFileSparse(self): tempdir = tempfile.mkdtemp() try: src_path = os.path.join(tempdir, "src") dest_path = os.path.join(tempdir, "dest") content = b"foo" # Use seek to create some sparse blocks. Don't make these # files too big, in case the filesystem doesn't support # sparse files. with open(src_path, "wb") as f: f.seek(2**16, os.SEEK_SET) f.write(content) f.seek(2**17, os.SEEK_SET) f.write(content) # Test that sparse blocks are handled correctly at # the end of the file. f.truncate(2**18) fastcopy_success = False def mock_fastcopy(src, dst): nonlocal fastcopy_success _fastcopy(src, dst) fastcopy_success = True with patch("portage.util.file_copy._fastcopy", new=mock_fastcopy): copyfile(src_path, dest_path) self.assertEqual(perform_md5(src_path), perform_md5(dest_path)) src_stat = os.stat(src_path) dest_stat = os.stat(dest_path) self.assertEqual(src_stat.st_size, dest_stat.st_size) # If sparse blocks were preserved, then both files should # consume the same number of blocks. # This is expected to fail when sparse copy is not implemented. if src_stat.st_blocks != dest_stat.st_blocks: if fastcopy_success: > pytest.fail(reason="sparse copy failed with _fastcopy") E Failed: sparse copy failed with _fastcopy content = b'foo' dest_path = '/var/tmp/portage/sys-apps/portage-3.0.67/temp/tmp9jac5j0s/dest' dest_stat = os.stat_result(st_mode=33188, st_ino=585485792, st_dev=66308, st_nlink=1, st_uid=250, st_gid=250, st_size=262144, st_atime=1742489360, st_mtime=1742489360, st_ctime=1742489360) f = <_io.BufferedWriter name='/var/tmp/portage/sys-apps/portage-3.0.67/temp/tmp9jac5j0s/src'> fastcopy_success = True mock_fastcopy = <function CopyFileSparseTestCase.testCopyFileSparse.<locals>.mock_fastcopy at 0x7fe18ad4feb0> self = <portage.tests.util.file_copy.test_copyfile.CopyFileSparseTestCase testMethod=testCopyFileSparse> src_path = '/var/tmp/portage/sys-apps/portage-3.0.67/temp/tmp9jac5j0s/src' src_stat = os.stat_result(st_mode=33188, st_ino=585485776, st_dev=66308, st_nlink=1, st_uid=250, st_gid=250, st_size=262144, st_atime=1742489360, st_mtime=1742489360, st_ctime=1742489360) tempdir = '/var/tmp/portage/sys-apps/portage-3.0.67/temp/tmp9jac5j0s' lib/portage/tests/util/file_copy/test_copyfile.py:76: Failed ================================================================================== warnings summary ================================================================================== lib/portage/tests/util/test_whirlpool.py::WhirlpoolTestCase::testBundledWhirlpool /var/tmp/portage/sys-apps/portage-3.0.67/work/portage-3.0.67/lib/portage/util/whirlpool.py:52: UserWarning: The last-resort unaccelerated Whirlpool implementation is being used. It is known to be absurdly slow. Please report that the Whirlpool hash is deprecated to the repository owner. warnings.warn( lib/portage/tests/sync/test_sync_zipfile.py::test_sync_zipfile_case::test_sync_zipfile /usr/lib/python3.10/unittest/case.py:549: ResourceWarning: unclosed <socket.socket fd=13, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 41143)> method() Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ====================================================================================== XPASSES ======================================================================================= ============================================================================== short test summary info =============================================================================== SKIPPED [1] lib/portage/tests/process/test_unshare_net.py:41: Unable to unshare: EPERM XFAIL lib/portage/tests/resolver/test_autounmask_use_slot_conflict.py::AutounmaskUseSlotConflictTestCase::testAutounmaskUseSlotConflict XFAIL lib/portage/tests/resolver/test_or_choices.py::OrChoicesLibpostprocTestCase::testOrChoicesLibpostproc - Irrelevant blocker conflict XFAIL lib/portage/tests/resolver/test_autounmask_multilib_use.py::AutounmaskMultilibUseTestCase::testAutounmaskMultilibUse XPASS lib/portage/tests/util/futures/test_iter_completed.py::IterCompletedTestCase::testIterCompleted XPASS lib/portage/tests/process/test_poll.py::PipeReaderArrayTestCase::test_domain_socket XPASS lib/portage/tests/process/test_poll.py::PipeReaderArrayTestCase::test_named_pipe XPASS lib/portage/tests/process/test_poll.py::PipeReaderArrayTestCase::test_pipe XPASS lib/portage/tests/process/test_poll.py::PipeReaderArrayTestCase::test_pty_device FAILED lib/portage/tests/util/file_copy/test_copyfile.py::CopyFileSparseTestCase::testCopyFileSparse - Failed: sparse copy failed with _fastcopy =============================================== 1 failed, 529 passed, 1 skipped, 3 xfailed, 5 xpassed, 2 warnings in 75.98s (0:01:15) ================================================ * ERROR: sys-apps/portage-3.0.67::gentoo failed (test phase): * pytest failed with python3.10 * ```
What filesystem is /var/tmp/portage on?
(In reply to Sam James from comment #1) > What filesystem is /var/tmp/portage on? on xfs.