`make test` fails on Linux (Ubuntu20.04) ext4 with mounted ntfs
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 35.9k
- PR merge metrics
- PR metrics pending
Description
I have a dual-boot setup, where my Ubuntu 20.04 is on a ext4 FS and I have a data partition that is ntfs (for compat with Windows).
When I check out and build cpython on the data partition a bunch of tests fail with an OSError.
It seems to be related to the fact that the test suite creates the filenames as bytes assuming "utf-8" but ntfs uses "utf-16".
I have attached the log of the test run, which shows the failing tests.
P.S.: I also have encrypted the data partition with Veracrypt but I don't expect this to be relevant for this issue (but one never knows)
test_log.txt
cc @encukou
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the attached test_log.txt and the failing tests from a make test run on Ubuntu 20.04 with the CPython checkout on an NTFS partition. Compare the failures with a checkout on ext4 and determine which filesystem assumptions are involved. Done means the affected test cases no longer fail in the reported NTFS setup without regressing the ext4 run.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- operating-systems, testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100