Bug#1001291: binoculars: autopkgtest tests for all supported python3 versions but vtk7 extensions don't exist for all

Paul Gevers elbrus at debian.org
Tue Dec 7 21:09:32 GMT 2021


Source: binoculars
Version: 0.0.6-1
Severity: serious
X-Debbugs-CC: debian-ci at lists.debian.org
Tags: sid bookworm
User: debian-ci at lists.debian.org
Usertags: needs-update
Control: affects -1 src:python3-defaults

Dear maintainer(s),

With a recent upload of python3-defaults the autopkgtest of binoculars 
fails in testing when that autopkgtest is run with the binary packages 
of python3-defaults from unstable. It passes when run with only packages 
from testing. In tabular form:

                        pass            fail
python3-defaults       from testing    3.9.8-1
binoculars             from testing    0.0.6-1
all others             from testing    from testing

I copied some of the output at the bottom of this report. It seems 
you're testing for all supported Python3 version in Debian, but one of 
your dependencies doesn't provide the required extensions (bug #951300). 
Either convince the maintainer of that package to build the extensions, 
or only test with the default Python3 version.

Currently this regression is blocking the migration of python3-defaults 
to testing [1].

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=python3-defaults

https://ci.debian.net/data/autopkgtest/testing/amd64/b/binoculars/17344284/log.gz

Testing with python3.10:
test_IO (test_cfg.TestCase) ... ok
test_id03 (unittest.loader._FailedTest) ... ERROR
test_metadata (unittest.loader._FailedTest) ... ERROR

======================================================================
ERROR: test_id03 (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: test_id03
Traceback (most recent call last):
   File "/usr/lib/python3/dist-packages/vtk/vtkCommonCore.py", line 5, 
in <module>
     from .vtkCommonCorePython import *
ModuleNotFoundError: No module named 'vtk.vtkCommonCorePython'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
   File "/usr/lib/python3.10/unittest/loader.py", line 436, in 
_find_test_path
     module = self._get_module_from_name(name)
   File "/usr/lib/python3.10/unittest/loader.py", line 377, in 
_get_module_from_name
     __import__(name)
   File 
"/tmp/autopkgtest-lxc.73x5fv_7/downtmp/autopkgtest_tmp/tests/test_id03.py", 
line 1, in <module>
     from binoculars.backends import id03
   File "/usr/lib/python3/dist-packages/binoculars/backends/id03.py", 
line 10, in <module>
     from .. import backend, errors, util
   File "/usr/lib/python3/dist-packages/binoculars/backend.py", line 1, 
in <module>
     from . import util, errors, dispatcher
   File "/usr/lib/python3/dist-packages/binoculars/dispatcher.py", line 
9, in <module>
     from . import util, errors, space
   File "/usr/lib/python3/dist-packages/binoculars/space.py", line 13, 
in <module>
     from vtk import vtkImageData, vtkXMLImageDataWriter
   File "/usr/lib/python3/dist-packages/vtk/__init__.py", line 41, in 
<module>
     from .vtkCommonCore import *
   File "/usr/lib/python3/dist-packages/vtk/vtkCommonCore.py", line 9, 
in <module>
     from vtkCommonCorePython import *
ModuleNotFoundError: No module named 'vtkCommonCorePython'


======================================================================
ERROR: test_metadata (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: test_metadata
Traceback (most recent call last):
   File "/usr/lib/python3/dist-packages/vtk/vtkCommonCore.py", line 5, 
in <module>
     from .vtkCommonCorePython import *
ModuleNotFoundError: No module named 'vtk.vtkCommonCorePython'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
   File "/usr/lib/python3.10/unittest/loader.py", line 436, in 
_find_test_path
     module = self._get_module_from_name(name)
   File "/usr/lib/python3.10/unittest/loader.py", line 377, in 
_get_module_from_name
     __import__(name)
   File 
"/tmp/autopkgtest-lxc.73x5fv_7/downtmp/autopkgtest_tmp/tests/test_metadata.py", 
line 2, in <module>
     import binoculars.space
   File "/usr/lib/python3/dist-packages/binoculars/space.py", line 13, 
in <module>
     from vtk import vtkImageData, vtkXMLImageDataWriter
   File "/usr/lib/python3/dist-packages/vtk/__init__.py", line 41, in 
<module>
     from .vtkCommonCore import *
   File "/usr/lib/python3/dist-packages/vtk/vtkCommonCore.py", line 9, 
in <module>
     from vtkCommonCorePython import *
ModuleNotFoundError: No module named 'vtkCommonCorePython'


----------------------------------------------------------------------
Ran 3 tests in 0.022s

FAILED (errors=2)
ConfigFile{
   [dispatcher]
     destination = b'demo_{first}-{last}.hdf5'
     overwrite = b'true'
     type = b'local'
   [projection]
     resolution = b'0.002, 0.002, 1'
     type = b'id03:hklprojection'
   [input]
     centralpixel = b'40, 255'
     imagefolder = b'/path/to/data/images/{rUCCD[0]}/'
     pixelsize = b'0.055, 0.055'
     sdd = b'1050'
     specfile = b'/path/to/data/file.spec'
     target_weight = b'4000'
     type = b'id03:eh1'
     xmask = b'50-235'
     ymask = b'185-253,262-400'
}
origin = test.hdf5
command = autopkgtest [20:13:55]: test command1

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20211207/129928f7/attachment-0001.sig>


More information about the debian-science-maintainers mailing list