Source: python-dracclient
Version: 3.1.0-4
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20231212 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> ======================================================================
> ERROR: test_change_physical_disk_state_raise_drac_operation_other 
> (dracclient.tests.test_raid.ClientRAIDManagementTestCase.test_change_physical_disk_state_raise_drac_operation_other)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/requests_mock/mocker.py", line 317, in 
> inner
>     return func(*args, **kwargs)
>            ^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/mock/mock.py", line 1346, in patched
>     return func(*newargs, **newkeywargs)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/dracclient/tests/test_raid.py", line 1214, in 
> test_change_physical_disk_state_raise_drac_operation_other
>     self.assertRaisesRegexp(
>     ^^^^^^^^^^^^^^^^^^^^^^^
> AttributeError: 'ClientRAIDManagementTestCase' object has no attribute 
> 'assertRaisesRegexp'. Did you mean: 'assertRaisesRegex'?
> 
> ======================================================================
> ERROR: test_change_physical_disk_state_raise_other 
> (dracclient.tests.test_raid.ClientRAIDManagementTestCase.test_change_physical_disk_state_raise_other)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/requests_mock/mocker.py", line 317, in 
> inner
>     return func(*args, **kwargs)
>            ^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/mock/mock.py", line 1346, in patched
>     return func(*newargs, **newkeywargs)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/dracclient/tests/test_raid.py", line 1238, in 
> test_change_physical_disk_state_raise_other
>     self.assertRaisesRegexp(
>     ^^^^^^^^^^^^^^^^^^^^^^^
> AttributeError: 'ClientRAIDManagementTestCase' object has no attribute 
> 'assertRaisesRegexp'. Did you mean: 'assertRaisesRegex'?
> 
> ======================================================================
> ERROR: test_get_all_wsman_resource_attrs_missing_text 
> (dracclient.tests.test_utils.UtilsTestCase.test_get_all_wsman_resource_attrs_missing_text)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/dracclient/tests/test_utils.py", line 153, in 
> test_get_all_wsman_resource_attrs_missing_text
>     self.assertRaisesRegexp(
>     ^^^^^^^^^^^^^^^^^^^^^^^
> AttributeError: 'UtilsTestCase' object has no attribute 'assertRaisesRegexp'. 
> Did you mean: 'assertRaisesRegex'?
> 
> ======================================================================
> ERROR: test_get_wsman_resource_attr_missing_attr 
> (dracclient.tests.test_utils.UtilsTestCase.test_get_wsman_resource_attr_missing_attr)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/dracclient/tests/test_utils.py", line 73, in 
> test_get_wsman_resource_attr_missing_attr
>     self.assertRaisesRegexp(
>     ^^^^^^^^^^^^^^^^^^^^^^^
> AttributeError: 'UtilsTestCase' object has no attribute 'assertRaisesRegexp'. 
> Did you mean: 'assertRaisesRegex'?
> 
> ======================================================================
> ERROR: test_get_wsman_resource_attr_missing_text 
> (dracclient.tests.test_utils.UtilsTestCase.test_get_wsman_resource_attr_missing_text)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/dracclient/tests/test_utils.py", line 100, in 
> test_get_wsman_resource_attr_missing_text
>     self.assertRaisesRegexp(
>     ^^^^^^^^^^^^^^^^^^^^^^^
> AttributeError: 'UtilsTestCase' object has no attribute 'assertRaisesRegexp'. 
> Did you mean: 'assertRaisesRegex'?
> 
> ----------------------------------------------------------------------
> Ran 227 tests in 1.260s
> 
> FAILED (errors=20)
> make[1]: *** [debian/rules:22: override_dh_auto_test] Error 1


The full build log is available from:
http://qa-logs.debian.net/2023/12/12/python-dracclient_3.1.0-4_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to