`make test` fails on Linux (Ubuntu20.04) ext4 with mounted ntfs
还没有人认领这个 Issue。
- 主要语言
- Python
- 星标
- 77.2k
- 派生
- 35.9k
- PR 合并指标
- PR 指标待抓取
描述
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
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从随附的 test_log.txt 以及在 Ubuntu 20.04 上使用位于 NTFS 分区的 CPython checkout 运行 make test 时失败的测试开始。将这些失败与 ext4 上的 checkout 进行比较,并确定涉及哪些文件系统假设。当受影响的测试用例在所报告的 NTFS 设置下不再失败,且不会导致 ext4 运行出现回归时,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- operating-systems, testing-qa
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 35/100