Test fails when there is internet connectivity

Bug #1779342 reported by Thomas Goirand
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Committed

Bug Description

Hi !

proliantutils.tests.ilo.test_firmware_controller.FirmwareImageUploaderTestCase.test__get_socket_throws_exception_in_case_of_failed_connection_2 fails when there's internet connectivity. Instead of, we should use something like, which is a reserved /24 for documentation, and which therefore will always really raise a connection error. This was reported in Debian:


and I wrote a patch for it, as per what's above, and that fixed the issue.

Revision history for this message
Thomas Goirand (thomas-goirand) wrote :

Hum... looks like was already removed from the test suite. Should we re-introduce in the test decoration?

Revision history for this message
Shivanand Tendulker (stendulker) wrote :

This has been fixed as part of https://review.openstack.org/#/c/559685/ on master branch.

Changed in proliantutils:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.