TestDHCPNetworkLayout.test__dhcp_configurations_rendered is dependent on /etc/hosts

Bug #1631971 reported by Gavin Panella
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Invalid
High
Unassigned

Bug Description

The default /etc/hosts does not (afaik) have an IPv6 alias for "localhost", but TestDHCPNetworkLayout.test__dhcp_configurations_rendered relies on this. This was probably not previously noticed because (a) people do sometimes add a "::1 localhost" entry to /etc/hosts and (b) the test pick an address at random and often it's IPv4.

Tags: ipv6 tests
Revision history for this message
LaMont Jones (lamont) wrote :

And the fix is to Mock the right things to cause resolution to not be a factor.

Revision history for this message
Andres Rodriguez (andreserl) wrote :

Hi!

**This is an automated message**

We believe this is may no longer be an issue in the latest MAAS release.
Due to the original date of the bug report, we are currently marking it
as Invalid. If you believe this bug report still valid against the
latest release of MAAS, or if you are still interested in this, please
re-open this bug report.

Thanks

Changed in maas:
status: Triaged → Invalid
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.