[PKG-Openstack-devel] Bug#902241: python-proliantutils: FTBFS in stretch (AssertionError: IloConnectionError not raised)

Santiago Vila sanvila at unex.es
Sat Jun 23 19:42:26 BST 2018


Package: src:python-proliantutils
Version: 2.1.11-2
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in stretch and it failed:

----------------------------------------------------------------------------------------
[...]
proliantutils.tests.test_utils.UtilsTestCase.test_process_firmware_image_asks_not_to_upload_firmware_file
proliantutils.tests.test_utils.UtilsTestCase.test_process_firmware_image_asks_not_to_upload_firmware_file ... ok
proliantutils.tests.test_utils.UtilsTestCase.test_process_firmware_image_asks_to_upload_firmware_file
proliantutils.tests.test_utils.UtilsTestCase.test_process_firmware_image_asks_to_upload_firmware_file ... ok
proliantutils.tests.test_utils.UtilsTestCase.test_process_firmware_image_calls_extract_of_fw_extractor_object
proliantutils.tests.test_utils.UtilsTestCase.test_process_firmware_image_calls_extract_of_fw_extractor_object ... ok
proliantutils.tests.test_utils.UtilsTestCase.test_process_firmware_image_throws_for_failed_extraction
proliantutils.tests.test_utils.UtilsTestCase.test_process_firmware_image_throws_for_failed_extraction ... ok
proliantutils.tests.test_utils.UtilsTestCase.test_process_firmware_image_throws_for_unknown_firmware_file_format
proliantutils.tests.test_utils.UtilsTestCase.test_process_firmware_image_throws_for_unknown_firmware_file_format ... ok

======================================================================
FAIL: proliantutils.tests.ilo.test_firmware_controller.FirmwareImageUploaderTestCase.test__get_socket_throws_exception_in_case_of_failed_connection_2
proliantutils.tests.ilo.test_firmware_controller.FirmwareImageUploaderTestCase.test__get_socket_throws_exception_in_case_of_failed_connection_2
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/ddt.py", line 129, in wrapper
    return func(self, *args, **kwargs)
  File "proliantutils/tests/ilo/test_firmware_controller.py", line 566, in test__get_socket_throws_exception_in_case_of_failed_connection
    self.assertRaises(expected_exception_type, fw_img_uploader._get_socket)
  File "/usr/lib/python2.7/unittest/case.py", line 473, in assertRaises
    callableObj(*args, **kwargs)
  File "/usr/lib/python2.7/unittest/case.py", line 116, in __exit__
    "{0} not raised".format(exc_name))
AssertionError: IloConnectionError not raised


----------------------------------------------------------------------
Ran 473 tests in 5.071s

FAILED (failures=1)
debian/rules:14: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:7: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

I admit this is strange because it seems to build ok in the
reproducible builds autobuilders.

However, I've decided to report it anyway because I've tried to build
it 55 times and it failed 55 times, on 23 different autobuilders:

https://people.debian.org/~sanvila/build-logs/python-proliantutils/

I can even reproduce it with plain dpkg-buildpackage (i.e. without sbuild)
on a brand new machine from Digital Ocean, so if you could not reproduce
this, please contact me privately. As a last resort, I could give you
access to one of such machines.

Thanks.



More information about the Openstack-devel mailing list