Your message dated Fri, 13 Mar 2026 14:48:47 +0000
with message-id <[email protected]>
and subject line Bug#1128667: fixed in nabu 2025.2.4-1
has caused the Debian Bug report #1128667,
regarding nabu: FTBFS: Test test_task_processor_simple fails
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1128667: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1128667
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:nabu
Version: 2025.2.0-1
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/202602/
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:nabu, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
file = <_io.BytesIO object at 0x7f94e3fd26b0>, protocol = None
def dump(obj, file, protocol=None):
'''Replacement for pickle.dump() using ForkingPickler.'''
> ForkingPickler(file, protocol).dump(obj)
E _pickle.PicklingError: Can't pickle local object <class
'nabu.pipeline.tests.test_tasks.test_task_processor_simple.<locals>.DummyTask'>
E when serializing tuple item 2
E when serializing dict item '_args'
E when serializing multiprocessing.context.Process state
E when serializing multiprocessing.context.Process object
/usr/lib/python3.14/multiprocessing/reduction.py:60: PicklingError
_________________________ test_task_processor_callback _________________________
def test_task_processor_callback():
class MyProcessingClass:
def __init__(self, a):
self.a = a
self.previous_task = None
def process_task(self, task):
print(f"[{os.getpid()}] Got task: {task} (previous was:
{self.previous_task})")
sleep(0.5)
result = f"{os.getpid()} did {task}"
self.previous_task = task
return result
tp = TaskProcessor(MyProcessingClass, n_processes=2,
worker_init_args={"a": 1})
> tp.start_workers()
nabu/pipeline/tests/test_tasks.py:49:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
nabu/pipeline/tasks.py:120: in start_workers
p.start()
/usr/lib/python3.14/multiprocessing/process.py:121: in start
self._popen = self._Popen(self)
^^^^^^^^^^^^^^^^^
/usr/lib/python3.14/multiprocessing/context.py:224: in _Popen
return _default_context.get_context().Process._Popen(process_obj)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3.14/multiprocessing/context.py:300: in _Popen
return Popen(process_obj)
^^^^^^^^^^^^^^^^^^
/usr/lib/python3.14/multiprocessing/popen_forkserver.py:35: in __init__
super().__init__(process_obj)
/usr/lib/python3.14/multiprocessing/popen_fork.py:20: in __init__
self._launch(process_obj)
/usr/lib/python3.14/multiprocessing/popen_forkserver.py:47: in _launch
reduction.dump(process_obj, buf)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
obj = <Process name='Process-6' parent=91 initial>
file = <_io.BytesIO object at 0x7f94e36e05e0>, protocol = None
def dump(obj, file, protocol=None):
'''Replacement for pickle.dump() using ForkingPickler.'''
> ForkingPickler(file, protocol).dump(obj)
E _pickle.PicklingError: Can't pickle local object <class
'nabu.pipeline.tests.test_tasks.test_task_processor_callback.<locals>.MyProcessingClass'>
E when serializing tuple item 2
E when serializing dict item '_args'
E when serializing multiprocessing.context.Process state
E when serializing multiprocessing.context.Process object
/usr/lib/python3.14/multiprocessing/reduction.py:60: PicklingError
___________________________ test_with_worker_failure ___________________________
def test_with_worker_failure():
class DummyProcessing:
def __init__(self, sleep_time):
self.s = sleep_time
def process_task(self, task):
sleep(self.s)
if task.get("fail", False):
raise ValueError("kaboom")
i = task.get("task_id", 1)
return {"result": i + 10}
tp = TaskProcessor(DummyProcessing, n_processes=2,
worker_init_args=(0.1,))
> tp.start_workers()
nabu/pipeline/tests/test_tasks.py:80:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
nabu/pipeline/tasks.py:120: in start_workers
p.start()
/usr/lib/python3.14/multiprocessing/process.py:121: in start
self._popen = self._Popen(self)
^^^^^^^^^^^^^^^^^
/usr/lib/python3.14/multiprocessing/context.py:224: in _Popen
return _default_context.get_context().Process._Popen(process_obj)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3.14/multiprocessing/context.py:300: in _Popen
return Popen(process_obj)
^^^^^^^^^^^^^^^^^^
/usr/lib/python3.14/multiprocessing/popen_forkserver.py:35: in __init__
super().__init__(process_obj)
/usr/lib/python3.14/multiprocessing/popen_fork.py:20: in __init__
self._launch(process_obj)
/usr/lib/python3.14/multiprocessing/popen_forkserver.py:47: in _launch
reduction.dump(process_obj, buf)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
obj = <Process name='Process-7' parent=91 initial>
file = <_io.BytesIO object at 0x7f94e3fb7470>, protocol = None
def dump(obj, file, protocol=None):
'''Replacement for pickle.dump() using ForkingPickler.'''
> ForkingPickler(file, protocol).dump(obj)
E _pickle.PicklingError: Can't pickle local object <class
'nabu.pipeline.tests.test_tasks.test_with_worker_failure.<locals>.DummyProcessing'>
E when serializing tuple item 2
E when serializing dict item '_args'
E when serializing multiprocessing.context.Process state
E when serializing multiprocessing.context.Process object
/usr/lib/python3.14/multiprocessing/reduction.py:60: PicklingError
__________________________ TestUnits.test_valid_input __________________________
self = <nabu.resources.tests.test_units.TestUnits object at 0x7f9501ad3110>
def test_valid_input(self):
for test_str, expected_failure in self.expected_failures.items():
with pytest.raises(type(expected_failure)) as e_info:
get_quantities_and_units(test_str)
> assert e_info.value.args[0] == str(expected_failure)
E AssertionError: assert 'too many val...ted 2, got 3)' == 'too many
val... (expected 2)'
E
E - too many values to unpack (expected 2)
E + too many values to unpack (expected 2, got 3)
E ? +++++++
nabu/resources/tests/test_units.py:47: AssertionError
=============================== warnings summary ===============================
../../../../../../usr/lib/python3/dist-packages/pytools/persistent_dict.py:52
/usr/lib/python3/dist-packages/pytools/persistent_dict.py:52:
RecommendedHashNotFoundWarning: Unable to import recommended hash
'siphash24.siphash13', falling back to 'hashlib.sha256'. Run 'python3 -m pip
install siphash24' to install the recommended hash.
warn("Unable to import recommended hash 'siphash24.siphash13', "
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED nabu/pipeline/tests/test_tasks.py::test_task_processor_simple - _pickl...
FAILED nabu/pipeline/tests/test_tasks.py::test_task_processor_callback - _pic...
FAILED nabu/pipeline/tests/test_tasks.py::test_with_worker_failure - _pickle....
FAILED nabu/resources/tests/test_units.py::TestUnits::test_valid_input - Asse...
=========== 4 failed, 3596 passed, 380 skipped, 1 warning in 12.53s ============
E: pybuild pybuild:483: test: plugin pyproject failed with: exit code=1: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_nabu/build; python3.14 -m pytest
I: pybuild base:384: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_nabu/build;
python3.13 -m pytest
============================= test session starts ==============================
platform linux -- Python 3.13.12, pytest-9.0.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_nabu/build
configfile: pyproject.toml
plugins: typeguard-4.4.4
collected 3979 items / 1 skipped
nabu/app/tests/test_reduce_dark_flat.py ......... [ 0%]
nabu/estimation/tests/test_alignment.py ... [ 0%]
nabu/estimation/tests/test_cor.py ssssssssssssssssssssssssssssssss [ 1%]
nabu/estimation/tests/test_focus.py sss [ 1%]
nabu/estimation/tests/test_motion_estimation.py sssss [ 1%]
nabu/estimation/tests/test_tilt.py ss [ 1%]
nabu/estimation/tests/test_translation.py ss [ 1%]
nabu/io/tests/test_cast_volume.py .......... [ 1%]
nabu/io/tests/test_readers.py sssssssss..ss..ss [ 2%]
nabu/io/tests/test_remove_volume.py .... [ 2%]
nabu/io/tests/test_writers.py ssss [ 2%]
nabu/misc/tests/test_binning.py . [ 2%]
nabu/pipeline/tests/test_estimators.py sssssss [ 2%]
nabu/pipeline/tests/test_tasks.py ... [ 2%]
nabu/preproc/tests/test_ccd_corr.py ss [ 2%]
nabu/preproc/tests/test_ctf.py ssss [ 2%]
nabu/preproc/tests/test_double_flatfield.py .s [ 2%]
nabu/preproc/tests/test_flatfield.py ...s..s.s.s.s [ 3%]
nabu/preproc/tests/test_paganin.py ssss [ 3%]
nabu/preproc/tests/test_pcaflats.py ssssss [ 3%]
nabu/preproc/tests/test_vshift.py .s [ 3%]
nabu/processing/tests/test_fft.py ssssssssssssssssssssssssssssssssssssss [ 4%]
sssssssssss [ 4%]
nabu/processing/tests/test_fftshift.py ssssssssssss [ 4%]
nabu/processing/tests/test_histogram.py ss [ 4%]
nabu/processing/tests/test_medfilt.py ssssssssssssssssssssssssssssssss [ 5%]
nabu/processing/tests/test_muladd.py ss [ 5%]
nabu/processing/tests/test_padding.py ss [ 5%]
nabu/processing/tests/test_roll.py sssssssss [ 6%]
nabu/processing/tests/test_rotation.py ...............sssssssssssssss [ 6%]
nabu/processing/tests/test_transpose.py ssssssssssss [ 7%]
nabu/processing/tests/test_unsharp.py ssss [ 7%]
nabu/reconstruction/tests/test_cone.py ssssssssssss [ 7%]
nabu/reconstruction/tests/test_deringer.py ssssss [ 7%]
nabu/reconstruction/tests/test_fbp.py ssssssssssssssssssssss [ 8%]
nabu/reconstruction/tests/test_filtering.py ssssssssssssssssssssssssssss [ 8%]
ssssssssssssssssssss [ 9%]
nabu/reconstruction/tests/test_halftomo.py ssssssssss [ 9%]
nabu/reconstruction/tests/test_mlem.py ssssssss [ 9%]
nabu/reconstruction/tests/test_projector.py ssss [ 10%]
nabu/reconstruction/tests/test_reconstructor.py ssssssssssssssssssssssss [ 10%]
[ 10%]
nabu/reconstruction/tests/test_sino_normalization.py ssss [ 10%]
nabu/resources/tests/test_dataset_analyzer.py s [ 10%]
nabu/resources/tests/test_extract.py . [ 10%]
nabu/resources/tests/test_nxflatfield.py sss [ 10%]
nabu/resources/tests/test_units.py .. [ 10%]
nabu/stitching/tests/test_alignment.py s. [ 10%]
nabu/stitching/tests/test_config.py .................................... [ 11%]
........................................................................ [ 13%]
........................................................................ [ 15%]
........................................................................ [ 17%]
........................................................................ [ 19%]
........................................................................ [ 20%]
........................................................................ [ 22%]
........................................................................ [ 24%]
........................................................................ [ 26%]
........................................................................ [ 28%]
........................................................................ [ 29%]
........................................................................ [ 31%]
........................................................................ [ 33%]
........................................................................ [ 35%]
........................................................................ [ 37%]
........................................................................ [ 39%]
........................................................................ [ 40%]
........................................................................ [ 42%]
........................................................................ [ 44%]
........................................................................ [ 46%]
........................................................................ [ 48%]
........................................................................ [ 49%]
........................................................................ [ 51%]
........................................................................ [ 53%]
........................................................................ [ 55%]
........................................................................ [ 57%]
........................................................................ [ 58%]
........................................................................ [ 60%]
........................................................................ [ 62%]
........................................................................ [ 64%]
........................................................................ [ 66%]
........................................................................ [ 67%]
........................................................................ [ 69%]
........................................................................ [ 71%]
........................................................................ [ 73%]
........................................................................ [ 75%]
........................................................................ [ 77%]
........................................................................ [ 78%]
........................................................................ [ 80%]
........................................................................ [ 82%]
........................................................................ [ 84%]
........................................................................ [ 86%]
........................................................................ [ 87%]
........................................................................ [ 89%]
........................................................................ [ 91%]
........................................................................ [ 93%]
........................................................................ [ 95%]
........................................................................ [ 96%]
...................................................... [ 98%]
nabu/stitching/tests/test_frame_composition.py .. [ 98%]
nabu/stitching/tests/test_overlap.py ........sss...... [ 98%]
nabu/stitching/tests/test_sample_normalization.py . [ 98%]
nabu/stitching/tests/test_slurm_utils.py ..s [ 98%]
nabu/stitching/tests/test_utils.py ss [ 98%]
nabu/stitching/tests/test_y_preprocessing_stitching.py ........ [ 99%]
nabu/stitching/tests/test_z_postprocessing_stitching.py ................ [ 99%]
..... [ 99%]
nabu/stitching/tests/test_z_preprocessing_stitching.py ......... [ 99%]
nabu/stitching/utils/tests/test_post-processing.py ...... [100%]
=============================== warnings summary ===============================
../../../../../../usr/lib/python3/dist-packages/pytools/persistent_dict.py:52
/usr/lib/python3/dist-packages/pytools/persistent_dict.py:52:
RecommendedHashNotFoundWarning: Unable to import recommended hash
'siphash24.siphash13', falling back to 'hashlib.sha256'. Run 'python3 -m pip
install siphash24' to install the recommended hash.
warn("Unable to import recommended hash 'siphash24.siphash13', "
nabu/pipeline/tests/test_tasks.py::test_task_processor_simple
nabu/pipeline/tests/test_tasks.py::test_task_processor_callback
nabu/pipeline/tests/test_tasks.py::test_task_processor_callback
nabu/pipeline/tests/test_tasks.py::test_with_worker_failure
nabu/pipeline/tests/test_tasks.py::test_with_worker_failure
/usr/lib/python3.13/multiprocessing/popen_fork.py:67: DeprecationWarning:
This process (pid=190) is multi-threaded, use of fork() may lead to deadlocks
in the child.
self.pid = os.fork()
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
================ 3600 passed, 380 skipped, 6 warnings in 14.94s ================
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14
3.13" returned exit code 13
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit
status 2
--------------------------------------------------------------------------------
--- End Message ---
--- Begin Message ---
Source: nabu
Source-Version: 2025.2.4-1
Done: Roland Mas <[email protected]>
We believe that the bug you reported is fixed in the latest version of
nabu, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Roland Mas <[email protected]> (supplier of updated nabu 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 13 Mar 2026 15:20:46 +0100
Source: nabu
Architecture: source
Version: 2025.2.4-1
Distribution: unstable
Urgency: medium
Maintainer: Debian PaN Maintainers
<[email protected]>
Changed-By: Roland Mas <[email protected]>
Closes: 1128667
Changes:
nabu (2025.2.4-1) unstable; urgency=medium
.
* New upstream release.
* Backport patch from upstream, and write another patch myself, to fix:
"FTBFS: Test test_task_processor_simple fails", thanks to Santiago
Vila (Closes: #1128667).
Checksums-Sha1:
8d1b3c1a4d2b7208ca6237cd8121e6d04f6ad9e2 2674 nabu_2025.2.4-1.dsc
d5c8e28ef4e1bdf892c74f308778d82df92385a5 548060 nabu_2025.2.4.orig.tar.gz
0aa885c25937e1ddf5f92086a73d99b0d5648533 7880 nabu_2025.2.4-1.debian.tar.xz
9d0a70680bd5b114989ba7e4d40a766cc310c225 18051 nabu_2025.2.4-1_amd64.buildinfo
Checksums-Sha256:
d171466d41d0e54796cef7b4a2f0d46cbc3650324b3d4e360df6913a44e9327a 2674
nabu_2025.2.4-1.dsc
69698eb277c85271924f21534793eac9603a686ff0ed0110d78b2b3ec12bf7c0 548060
nabu_2025.2.4.orig.tar.gz
30b7e6771daa172871d67d34b4c089ccc6a75a4446c23bbeb8c7519cc40b39b8 7880
nabu_2025.2.4-1.debian.tar.xz
9d5597ab679c02449d2cd32619281a561d24339623cd266b3f5491a49bac86ab 18051
nabu_2025.2.4-1_amd64.buildinfo
Files:
afd9f0b7c064d4f4b032827493d88b8d 2674 python optional nabu_2025.2.4-1.dsc
a4ca50496c43168b1e8ca110606342a6 548060 python optional
nabu_2025.2.4.orig.tar.gz
c5970f5a26c08b2e6737c2fff215f26d 7880 python optional
nabu_2025.2.4-1.debian.tar.xz
bc3331324dc0731b1b36f3bee1ed2f99 18051 python optional
nabu_2025.2.4-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEtBU2D1kett1zr/uD0w3s0lmTIvwFAmm0IboACgkQ0w3s0lmT
IvwOzhAAjih1P1/P/NETasvZ/cvcRH2ugm5ELT8iw5qGXRGYnHX2efawJUSzlDra
L1WFJkcL+7CSoKkVn81jmgX2T1aKEevAlOrWPWyScyLuPXLvZSj2YdlHmi8pV9RE
91Vkd/I9bv1LTOTDI+Jz3OO9q8vx2RH/RPq1f7nOrgsxjW83d52KEJ+lTP7LdYuS
U3QJWaY+PZ9F9z2ihR3QlaUm/DVo9KgsVbvGftF/ckyjLzqT4Vi4tnMORcdCI6g1
k9zc9jUSDBShQVEt3jLs4HnNYoZHaIUvJdTshDhOn5MIK0MAUH0h6dgZ05QdztH4
LYT3j1+Gb37nZtx0iqq3/7a4mpD2q408SaaP6aS6PoDJS1n21xdiKNlW+zMSSUzC
dP4YVkATR3U1CJ0jkk+9Hb4GOguq/i3d36YX6YLwQu8znMcr1DDal1HC+kzkbvUG
aLMXAxPouASoj+GuGlpi/r+5BblBaPK6r7Oa47DyuHGKSvDFTEZyHuvoY07VPvTT
JJ4+fQMq7IgCbnVto7lY+rGYQdsFyd5g73r1BNdqU41ESRBt1+9C9b1kzMkO7glZ
D8hBDSJ9HT6QD71j3avukaw0FEzvrJWZcTG/P39gnara1Z8hlrIpVYtdyUBzk85c
Q0Q3cZIet+BrLweRwf9IgTfRcTGXypE6TMsTSOM/hhyEolcClGg=
=xyRa
-----END PGP SIGNATURE-----
pgpfOqHdIz6C2.pgp
Description: PGP signature
--- End Message ---