Package: src:tomwer
Version: 1.6.17-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/202610/

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:tomwer, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
            }
        )
        task.run()
    
>       assert len(os.listdir(save_dir)) == 20, "no files have been generated"
E       AssertionError: no files have been generated
E       assert 21 == 20
E        +  where 21 = len(['test_dir_vol__000006.edf', 
'test_dir_vol__000000.edf', 'test_dir_vol__000010.edf', 
'test_dir_vol__000011.edf', 'test_dir_vol__000007.edf', 
'test_dir_vol__000019.edf', ...])
E        +    where ['test_dir_vol__000006.edf', 'test_dir_vol__000000.edf', 
'test_dir_vol__000010.edf', 'test_dir_vol__000011.edf', 
'test_dir_vol__000007.edf', 'test_dir_vol__000019.edf', ...] = <built-in 
function 
listdir>(PosixPath('/tmp/pytest-of-sbuild/pytest-0/test_cast_volume_32bitstiff_to0/output_dir'))
E        +      where <built-in function listdir> = os.listdir

tomwer/core/process/reconstruction/nabu/test/test_castvolume.py:61: 
AssertionError
------------------------------ Captured log call -------------------------------
PROCESS_FAILED 
tomwer.core.process.reconstruction.nabu.castvolume:processlog.py:65 volume cast 
of 
tiff:volume:/tmp/pytest-of-sbuild/pytest-0/test_cast_volume_32bitstiff_to0/test_dir?file_prefix=test_dir_vol_
 failed
WARNING  nabu.io.cast_volume:cast_volume.py:209 couldn't find histogram, 
recompute volume min and max values
WARNING  tomoscan.esrf.volume.singleframebase:singleframebase.py:178 unable to 
load metadata from 
/tmp/pytest-of-sbuild/pytest-0/test_cast_volume_32bitstiff_to0/test_dir/test_dir_vol__infos.txt
 - File not found
PROCESS_SUCCEED 
tomwer.core.process.reconstruction.nabu.castvolume:processlog.py:60 volume cast 
of 
tiff:volume:/tmp/pytest-of-sbuild/pytest-0/test_cast_volume_32bitstiff_to0/test_dir?file_prefix=test_dir_vol_
 succeed
=============================== warnings summary ===============================
../../../../../../usr/lib/python3/dist-packages/orangecanvas/utils/localization/__init__.py:5
  /usr/lib/python3/dist-packages/orangecanvas/utils/localization/__init__.py:5: 
DeprecationWarning: import 'orangecanvas.localization', not 
'orangecanvas.utils.localization'
    warnings.warn(

../../../../../../usr/lib/python3/dist-packages/orangecanvas/utils/localization/si.py:5
  /usr/lib/python3/dist-packages/orangecanvas/utils/localization/si.py:5: 
DeprecationWarning: import 'orangecanvas.localization.si', not 
'orangecanvas.utils.localization.si'
    warnings.warn(

tomwer/tests/conftest.py:6
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_tomwer/build/tomwer/tests/conftest.py:6:
 DeprecationWarning: The 'ewoksorange.bindings.qtapp' module is deprecated and 
will be removed in a future release. Please migrate to the new 
'ewoksorange.gui.qt_utils.qtapp' module.
    from ewoksorange.bindings.qtapp import get_all_qtwidgets, qtapp_context

tomwer/core/tests/test_utils.py::test_flat_field_normalization
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_tomwer/build/tomwer/core/utils/normalization.py:54:
 RuntimeWarning: divide by zero encountered in divide
    corrrectedImage = (imgData - dark) / (flat - dark)

tomwer/core/process/tests/test_data_watcher.py: 24 warnings
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_tomwer/build/tomwer/core/process/control/datawatcher/datawatcherobserver.py:533:
 DeprecationWarning: isSet() is deprecated, use is_set() instead
    if self.observations.scanReadyEvent.isSet():

tomwer/core/process/tests/test_data_watcher.py: 20 warnings
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_tomwer/build/tomwer/core/process/control/datawatcher/datawatcher.py:292:
 DeprecationWarning: isSet() is deprecated, use is_set() instead
    if self.observationThread.scanReadyEvent.isSet():

tomwer/core/utils/tests/test_image.py::test_scale_img2_to_img1
tomwer/core/utils/tests/test_image.py::test_scale_img2_to_img1
tomwer/core/utils/tests/test_image.py::test_scale_img2_to_img1
  /usr/lib/python3/dist-packages/numpy/matrixlib/defmatrix.py:70: 
PendingDeprecationWarning: the matrix subclass is not the recommended way to 
represent matrices or deal with linear algebra (see 
https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please 
adjust your code to use regular ndarray.
    return matrix(data, dtype=dtype, copy=False)

tomwer/core/process/control/tests/test_email.py::test_format_email_info
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_tomwer/build/tomwer/core/process/control/emailnotifier.py:119:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes 
in UTC: datetime.datetime.now(datetime.UTC).
    "timestamp": datetime.utcnow().isoformat(timespec="seconds"),

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED 
tomwer/core/process/reconstruction/nabu/test/test_castvolume.py::test_cast_volume_32bitstiff_to_16bits_tiff
= 1 failed, 124 passed, 23 skipped, 52 warnings, 82 subtests passed in 10.04s ==
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_tomwer/build; python3.14 -m pytest -v 
tomwer/core/*/test_* tomwer/core/*/*/test_* tomwer/core/*/*/*/test_* 
tomwer/core/*/*/*/*/test_*
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.14 
--parallel=2 returned exit code 13
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

Reply via email to