#1056460 python-bytecode's autopkg tests fail with Python 3.12 (armhf)

#1056460#5
Date:
2023-11-22 13:29:47 UTC
From:
To:
python-bytecode's autopkg tests fail with Python 3.12 (armhf):

[...]
261s I: pybuild base:310: cd
/tmp/autopkgtest.kFuFLq/autopkgtest_tmp/build; python3.12 -m pytest -k
"not test_version"
261s ============================= test session starts
==============================
261s platform linux -- Python 3.12.0+, pytest-7.4.3, pluggy-1.3.0
261s rootdir: /tmp/autopkgtest.kFuFLq/autopkgtest_tmp/build
261s configfile: pyproject.toml
261s collected 165 items
261s
261s tests/test_bytecode.py ...s...s...............Fatal Python error:
Segmentation fault
261s
261s Current thread 0xf77ee020 (most recent call first):
261s   Garbage-collecting
261s   File "/usr/lib/python3/dist-packages/bytecode/instr.py", line 528
in __init__
261s   File
"/tmp/autopkgtest.kFuFLq/autopkgtest_tmp/build/tests/test_cfg.py", line
911 in mk_if_then_else
261s   File
"/tmp/autopkgtest.kFuFLq/autopkgtest_tmp/build/tests/test_cfg.py", line
930 in test_huge_code_with_numerous_blocks
261s   File "/usr/lib/python3.12/unittest/case.py", line 589 in
_callTestMethod
261s   File "/usr/lib/python3.12/unittest/case.py", line 636 in run
261s   File "/usr/lib/python3.12/unittest/case.py", line 692 in __call__
261s   File "/usr/lib/python3/dist-packages/_pytest/unittest.py", line
333 in runtest
261s   File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 169
in pytest_runtest_call
261s   File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 77
in _multicall
261s   File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line
115 in _hookexec
261s   File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 493
in __call__
261s   File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 262
in <lambda>
261s   File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 341
in from_call
261s   File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 261
in call_runtest_hook
261s   File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 222
in call_and_report
261s   File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 133
in runtestprotocol
261s   File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 114
in pytest_runtest_protocol
261s   File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 77
in _multicall
261s   File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line
115 in _hookexec
261s   File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 493
in __call__
261s   File "/usr/lib/python3/dist-packages/_pytest/main.py", line 350
in pytest_runtestloop
261s   File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 77
in _multicall
261s   File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line
115 in _hookexec
261s   File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 493
in __call__
261s   File "/usr/lib/python3/dist-packages/_pytest/main.py", line 325
in _main
261s   File "/usr/lib/python3/dist-packages/_pytest/main.py", line 271
in wrap_session
261s   File "/usr/lib/python3/dist-packages/_pytest/main.py", line 318
in pytest_cmdline_main
261s   File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 77
in _multicall
261s   File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line
115 in _hookexec
261s   File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 493
in __call__
261s   File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py",
line 169 in main
261s   File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py",
line 192 in console_main
261s   File "/usr/lib/python3/dist-packages/pytest/__main__.py", line 5
in <module>
261s   File "<frozen runpy>", line 88 in _run_code
261s   File "<frozen runpy>", line 198 in _run_module_as_main
261s ...sss.....                [ 20%]
263s tests/test_cfg.py ........................Segmentation fault (core
dumped)
263s E: pybuild pybuild:395: test: plugin pyproject failed with: exit
code=139: cd /tmp/autopkgtest.kFuFLq/autopkgtest_tmp/build; python3.12
-m pytest -k "not test_version"

#1056460#14
Date:
2023-12-21 13:20:39 UTC
From:
To:
severity 1056460 important
thanks

Upstream don't have much idea of what might be causing this.  For the
time being, I have found that finishing a test early on armhf prevents
the crash from happening.  On the other hand, just disabling the test
does not, which is bizarre.

So downgrading the severity of this bug to important for now.

#1056460#21
Date:
2024-11-19 18:19:13 UTC
From:
To:
Dear submitter,

as the package python-bytecode has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1076422

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)