Thread View: linux.debian.bugs.rc
1 messages
1 total messages
Started by Santiago Vila
Wed, 25 Nov 2026 13:10
Bug#1155256: b4: FTBFS: E AttributeError: 'LoreNode' object has no attribute '_cancel_event'
Author: Santiago Vila
Date: Wed, 25 Nov 2026 13:10
Date: Wed, 25 Nov 2026 13:10
60 lines
4986 bytes
4986 bytes
Package: src:b4
Version: 0.16.0-2
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202611/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:b4, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
assert screen._cancelled, '_cancelled must be True after action_cancel'
> assert node._cancel_event.is_set(), (
^^^^^^^^^^^^^^^^^^
'cancel event must be set after action_cancel'
)
E AttributeError: 'LoreNode' object has no attribute '_cancel_event'
tests/test_tui_modals.py:1106: AttributeError
------------------------------ Captured log setup ------------------------------
DEBUG b4:__init__.py:3639 Running git --no-pager rev-parse --is-inside-work-tree
------------------------------ Captured log call -------------------------------
DEBUG liblore.node:node.py:858 Set user-agent to: b4/0.16.0
=============================== warnings summary ===============================
tests/test_tui_modals.py::TestUpdateAllScreenCancellation::test_action_cancel_sets_flag_and_cancels_node
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_b4/build/b4/review_tui/_modals.py:2851: DeprecationWarning: cancel() is deprecated; use cancel_active() or shutdown()
b4.get_lore_node().cancel()
tests/test_tui_modals.py::TestUpdateAllScreenCancellation::test_operation_cancelled_error_breaks_loop
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_b4/build/b4/review_tui/_common.py:275: DeprecationWarning: reset_cancel() is deprecated and does nothing; cancellation is operation-scoped and needs no reset
b4.get_lore_node().reset_cancel()
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/test_tui_modals.py::TestUpdateAllScreenCancellation::test_action_cancel_sets_flag_and_cancels_node
= 1 failed, 1435 passed, 12 skipped, 4 deselected, 2 warnings in 101.67s (0:01:41) =
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_b4/build; python3.14 -m pytest --deselect tests/test_tui_review.py::TestReconcileAfterShell::test_reworded_commits --deselect tests/test_tui_review.py::TestReconcileAfterShell::test_single_reword_preserves_unchanged --deselect tests/test_tui_review.py::TestReconcileAfterShell::test_tracking_commit_persisted --deselect tests/test_tui_tracking.py::TestTargetBranch::test_set_target_branch_from_reviewing
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.15 3.14" --parallel=2 returned exit code 13
make: *** [debian/rules:12: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads