Roundup Tracker - Issues

Message8150

Author schlatterbeck
Recipients rouilj, schlatterbeck
Date 2024-10-22.09:42:07
Message-id <1729590127.65.0.276381767433.issue2551366@roundup.psfhosted.org>
In-reply-to
The following tests fail for me when running with the roundup checkout on an NFS-mounted filesystem:

test/test_anydbm.py::anydbmRestTest::testDispatchGet
test/test_demo.py::TestDemo::testDemoClassic
test/test_demo.py::TestDemo::testDemoJinja
test/test_sqlite.py::sqliteRestTest::testOutputFormat

The first and last fail with
OSError: [Errno 39] Directory not empty: 'db'
or
OSError: [Errno 39] Directory not empty: 'detectors'
respectively

The other two with
E       AssertionError: False is not true : expected db file /home/ralf/checkout/sourceforge/roundup.hg.tip/_test_demo/db/nodes.user or /home/ralf/checkout/sourceforge/roundup.hg.tip/_test_demo/db/nodes.user.dir does not exist
and
E       AssertionError: False is not true : expected db file /home/ralf/checkout/sourceforge/roundup.hg.tip/_test_demo/db/nodes.user does not exist


NFS emulates the Linux filesystem semantics that an open file can be deleted but can still be read/written while it is still open. Since this is not possible for a remote file, NFS keeps a locked .nfsXXX file around which cannot be deleted. This prevents recursive removal of files.

The failing tests probably mean that some file is still open when a recursive removal of files is attempted.
History
Date User Action Args
2024-10-22 09:42:07schlatterbecksetmessageid: <1729590127.65.0.276381767433.issue2551366@roundup.psfhosted.org>
2024-10-22 09:42:07schlatterbecksetrecipients: + schlatterbeck, rouilj
2024-10-22 09:42:07schlatterbecklinkissue2551366 messages
2024-10-22 09:42:07schlatterbeckcreate