Article View: linux.debian.bugs.rc
Article #4190Bug#1155256: b4: FTBFS: E AttributeError: 'LoreNode' object has no attribute '_cancel_event'
From: 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
--------------------------------------------------------------------------------
Technical Details
Message-ID:
<O3kV3-e4zH-9@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod From: Santiago Vila <sanvila@debian.org> Newsgroups: linux.debian.bugs.rc Subject: Bug#1155256: b4: FTBFS: E AttributeError: 'LoreNode' object has no attribute '_cancel_event' Date: Wed, 25 Nov 2026 14:10:01 +0100 Message-ID: <O3kV3-e4zH-9@gated-at.bofh.it> X-Original-To: Debian BTS <submit@bugs.debian.org> X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org Wed Nov 25 13:05:10 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.699 Reply-To: Santiago Vila <sanvila@debian.org>, 1155256@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: sanvila@debian.org, team+b4@tracker.debian.org X-Debian-Pr-Message: report 1155256 X-Debian-Pr-Package: src:b4 X-Debian-Pr-Keywords: forky ftbfs sid X-Debian-Pr-Source: b4 X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/839605 List-ID: <debian-bugs-rc.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-rc/> Approved: robomod@news.nic.it Lines: 60 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Wed, 25 Nov 2026 13:03:26 +0000 X-Original-Message-ID: <E1xWCek-008i9f-2K@paradis.debian.org>