test_bz2 failed on RISC-V 64-bit Ubuntu Clang 3.15
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start with Lib/test/test_bz2.py, especially testOpenDel around line 470 and testDecompressorChunksMaxsize around line 963, and inspect the linked buildbot run. Re-run the failing tests on the RISC-V 64-bit Ubuntu Clang builder to determine whether the timeout and invalid stream error reproduce or stem from the reported repository corruption. Done when the cause is established and the affected test passes reliably.
由索引模型根据 Issue 内容生成。
描述
RISC-V 64-bit Ubuntu Clang 3.15: https://buildbot.python.org/#/builders/2256/builds/229
The first run timed out:
0:57:52 load avg: 0.27 [560/560/1] test_bz2 worker non-zero exit code (Exit code 1)
(...)
testMultiStreamOrdering (test.test_bz2.BZ2FileTest.testMultiStreamOrdering) ... ok
testOpenBytesFilename (test.test_bz2.BZ2FileTest.testOpenBytesFilename) ... ok
testOpenDel (test.test_bz2.BZ2FileTest.testOpenDel) ... Timeout (0:40:00)!
Thread 0x0000003fe1894020 [python] (most recent call first):
File "/var/lib/buildbot/workers/rise-riscv64-2/3.15.rise-riscv64-2.clang/build/Lib/compression/_common/_streams.py", line 53 in __init__
File "/var/lib/buildbot/workers/rise-riscv64-2/3.15.rise-riscv64-2.clang/build/Lib/bz2.py", line 91 in __init__
File "/var/lib/buildbot/workers/rise-riscv64-2/3.15.rise-riscv64-2.clang/build/Lib/test/test_bz2.py", line 470 in testOpenDel
(...)
When re-run in verbose mode, testDecompressorChunksMaxsize() failed:
ERROR: testDecompressorChunksMaxsize (test.test_bz2.BZ2DecompressorTest.testDecompressorChunksMaxsize)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/var/lib/buildbot/workers/rise-riscv64-2/3.15.rise-riscv64-2.clang/build/Lib/test/test_bz2.py", line 963, in testDecompressorChunksMaxsize
out.append(bzd.decompress(b'', max_length=max_length))
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: Invalid data stream
Maybe the machine is sick, git gc failed with:
error: bad packed object CRC for 2220dc50df3746dee568bd36eda88e6cdc83b542
Auto packing the repository in background for optimum performance.
See "git help gc" for manual housekeeping.
fatal: object 2220dc50df3746dee568bd36eda88e6cdc83b542 cannot be read
fatal: could not finish pack-objects to repack promisor objects
fatal: failed to run repack
fatal: object 2220dc50df3746dee568bd36eda88e6cdc83b542 cannot be read
fatal: could not finish pack-objects to repack promisor objects
fatal: failed to run repack
- 主要语言
- Python
- 星标
- 77.7k
- 派生
- 38.3k
- 平均合并
- 14 小时 29 分钟
- 30 天内合并 PR
- 699
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
python/cpython 的其他 Issue
-
topic-socket type-bug
难度 2/5 1-3 小时 新手友好度 72/100
python/cpython#160561 · 7 条评论 ·
维护者通常 1 天内回复
-
tests topic-profiling type-bug
难度 2/5 1-3 小时 新手友好度 78/100
python/cpython#160334 · 1 条评论 ·
维护者通常 1 天内回复
-
extension-modules type-bug
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
interpreter-core type-feature
难度 1/5 1 小时以内 新手友好度 78/100
python/cpython#160109 · 1 条评论 ·
维护者通常 1 天内回复
-
extension-modules type-bug
难度 2/5 1-3 小时 新手友好度 72/100
python/cpython#160001 · 3 条评论 ·
维护者通常 1 天内回复
相似的 Issue
-
request-theme
难度 1/5 1 小时以内 新手友好度 66/100
LizardByte/ThemerrDB#9575 ·
维护者通常 1 天内回复
-
author-page correction
难度 2/5 1-3 小时 新手友好度 62/100
acl-org/acl-anthology#10599 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
zilliztech/memsearch#818 ·
维护者通常 1 天内回复
-
[FAQ] Commit ID for Projects可能已有人在做 @github-actions 今天认领。 未关闭faq-proposal
难度 1/5 1 小时以内 新手友好度 84/100
DataTalksClub/faq#503 · 1 条评论 ·
维护者通常 2 天内回复
-
README.zh-CN/ja/es still hard-code 501 test counts after README.md went count-free可能已有人在做 @Aaqibhafeezkhan 今天认领。 未关闭beginner documentation good first issue
难度 2/5 1-3 小时 新手友好度 75/100
BistaDinesh03/critique#164 · 1 条评论 ·
维护者通常 1 天内回复