Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

test_bz2 failed on RISC-V 64-bit Ubuntu Clang 3.15

Abierto
#160,058 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
48/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
python, ubuntu
Área
backend, testing

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

tests type-bug

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
Lenguaje dominante
Python
Estrellas
77.7k
Forks
38.3k
Merge medio
14 h 29 min
PR fusionados (30 d)
699

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de python/cpython

Todos los issues de python/cpython

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.