#1151182 python-futurist: FTBFS: FAIL: futurist.tests.test_executors.TestDelayedExecutorMixin.test_shutdown_cancel_futures_cancels_pending_tasks(thread) #1151182
- Package:
- src:python-futurist
- Source:
- src:python-futurist
- Submitter:
- Santiago Vila
- Date:
- 2026-10-19 21:51:03 UTC
- Severity:
- normal
- Tags:
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Full build log available here: https://people.debian.org/~sanvila/build-logs/202610/ Note: The failure happens randomly, but the failure rate here is around 60% on machines with 1 CPU and 80% on machines with 2 CPUs. 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:python-futurist, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] import eventlet as _eventlet # noqa futurist.tests.test_waiters.TestWaiters.test_wait_for_any(process) futurist.tests.test_waiters.TestWaiters.test_wait_for_any(process) ... ok ====================================================================== FAIL: futurist.tests.test_executors.TestDelayedExecutorMixin.test_shutdown_cancel_futures_cancels_pending_tasks(thread) futurist.tests.test_executors.TestDelayedExecutorMixin.test_shutdown_cancel_futures_cancels_pending_tasks(thread) ---------------------------------------------------------------------- testtools.testresult.real._StringException: Traceback (most recent call last): File "/<<PKGBUILDDIR>>/futurist/tests/test_executors.py", line 656, in test_shutdown_cancel_futures_cancels_pending_tasks self.assertTrue(task1.cancelled(), "task1 should have been cancelled") ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/unittest/case.py", line 762, in assertTrue raise self.failureException(msg) AssertionError: False is not true : task1 should have been cancelled---------------------------------------------------------------------- Ran 195 tests in 130.176s FAILED (failures=1, skipped=5) + echo ======> STESTR TEST SUITE FAILED FOR python3.14: displaying pip3 freeze output... ======> STESTR TEST SUITE FAILED FOR python3.14: displaying pip3 freeze output... + [ -x /usr/bin/pip3 ] + exit 1 make[1]: *** [debian/rules:22: override_dh_auto_test] Error 1 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:7: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------
Hello, Bug #1151182 in python-futurist reported by you has been fixed in the Git repository and is awaiting an upload. You can see the commit message below and you can check the diff of the fix at: https://salsa.debian.org/openstack-team/libs/python-futurist/-/commit/e7e01096a6d12953624861385d650f639c6c51d9 ------------------------------------------------------------------------ Fixed a race in DelayedExecutorMixinBase.shutdown() where a task already popped out of the scheduler queue escapes shutdown(cancel_futures=True) and still runs after its delay, which leads to random FTBFS, adding patch "Cancel the task held by the scheduler on shutdown" (Closes: #1151182): - fix-delayed-executor-shutdown-cancel-futures-race.patch ------------------------------------------------------------------------ (this message was generated automatically) -- Greetings https://bugs.debian.org/1151182
We believe that the bug you reported is fixed in the latest version of
python-futurist, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1151182@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Thomas Goirand <zigo@debian.org> (supplier of updated python-futurist package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 19 Oct 2026 23:17:49 +0200
Source: python-futurist
Architecture: source
Version: 3.5.0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenStack <team+openstack@tracker.debian.org>
Changed-By: Thomas Goirand <zigo@debian.org>
Closes: 1151182
Changes:
python-futurist (3.5.0-3) unstable; urgency=medium
.
* Fixed a race in DelayedExecutorMixinBase.shutdown() where a task
already popped out of the scheduler queue escapes
shutdown(cancel_futures=True) and still runs after its delay, which
leads to random FTBFS, adding patch "Cancel the task held by the
scheduler on shutdown" (Closes: #1151182):
- fix-delayed-executor-shutdown-cancel-futures-race.patch
Checksums-Sha1:
fc9eb6133e158f8de657f1828beb1f8d70794ec8 2455 python-futurist_3.5.0-3.dsc
7e28c625ff257110da0941dfe92539117a2304d9 6052 python-futurist_3.5.0-3.debian.tar.xz
b891691048896fca7d3d3d6b8efecc7bb53720f2 9933 python-futurist_3.5.0-3_amd64.buildinfo
Checksums-Sha256:
566cb37b0fed26362455f86722be93ac6613af795a96d07cb80917550c9f73a9 2455 python-futurist_3.5.0-3.dsc
b7676bc4881e0ec52a5e8e5827bf48b8d90a46ae9597cfb35a60893c8607c9a2 6052 python-futurist_3.5.0-3.debian.tar.xz
4e3c1a861e9bd2468d10b66abc2e5cbcf51709a07846272b9d971b632e032820 9933 python-futurist_3.5.0-3_amd64.buildinfo
Files:
7b46d536699c3cd813c3ff58d61c17b0 2455 python optional python-futurist_3.5.0-3.dsc
2af2b86500842eb7d5b5d7a408592b34 6052 python optional python-futurist_3.5.0-3.debian.tar.xz
7cc388036b8c48a218d1ca490751482f 9933 python optional python-futurist_3.5.0-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAmrWjLQACgkQ1BatFaxr
Q/4rAQ//caR+gJLvLkQhDHaqkVqZULx6JP/yxCTTcHTg3rHBte4eSzB/HhFCr09H
uhHn+RGMF+h7vl0SMOnGRD4Z3P91hlmvwRefyJPoC6ONQ2mSuQYMEivgeMerPapi
zrpyeWKXJttawCY70Chmv9pGc/fJQ74KeHXXikhrhz8nmNluTx+YwKO0lpiHX0mv
f2LJLI996KGf2mE7bcbs1eHZG9izgPMUHLe8Ftewl5Bjp3MS+wu1+YTLG42S4dzY
8RI9XlutZVORRgOGbsUl+3DYdb0a6vtFsSebJA1VF6Sw/s/bCKcxcyCWhl+PFleE
Izqh3u85zT405tiaoDqgtulnO4scTl80DLdGtVksJ8YFtMQdYYaNDYuJnh44seZV
qePiyZp50ki6okP3iTbZplnoAuoFKlBqyCYpdVp61x4nV8y00gY/TbFSE3dBupxW
oCVerNwDEmqOy4rKUrJMPXXPj/ERrmCAmwq0Kyk7VjSNWiCyGgSUTZAjvoEMvcdf
XuwWEVoDu8QLdQWx7RquBXxLp4k9teCHphDfLUT6TC6fdRjjTss+jTBpIAaVX9Dr
1l4JSQPuR5EtiBK7PSwQH+YHElE2iahB9CTfXNBWanTwCL9vuuYfmKHMhBJoda5y
1xvtSkdnxmtlUiHCGFQmUbWFODAeid15zowdtN1nwBZxWc23R48=
=VfB+
-----END PGP SIGNATURE-----