Bug #2066276: ipv6 test failures: AttributeError: 'RRHeader' object has no attribute '_address'
fix: parse DNS results correctly
(cherry picked from commit 4f6ef7d4e2feab5445b39330949ed5a13d10d526)
(cherry picked from commit 557d3f62aa3399150b84cfc95949cd3416c6ce04)
Limit test processes in parallel to 4 by default.
It's possible to change the number of parallel processes by passing
in the MAAS_MAX_TEST_PROCESSES environment variable. For example:
MAAS_MAX_TEST_PROCESSES=8 utilities/run-py-tests-ci
This aims to reduce the number of intermittent failures in our CI.
(cherry picked from commit b2df4b603143d36e95b7e0d8e6b442fd2ac7c8ed)
Apply intermittent test failure fix from e4d49a5503.
fix: lp-2031482. If a controller interface has moved to a VLAN in another fabric, move all the assigned subnets to the new VLAN/fabric. For machines, simply clear all the IPs.
(cherry-picked from 0ad0bd21810d29be72546324cf5cf870ffa75167)
In some cases we need to create VLANs/fabrics for interfaces that don't have
links. For example for VLAN interfaces, often it's the VLAN interface that has
an address, while the underlying physical interface often is without any
address. In that case, the physical interface should have a VLAN that is on the
same fabric as the VLAN interface.
Also removed the check whether a machine is a controller. A controller is not
special. It's a deployed machine. If Calico is installed on a controller, we
should not create useless fabrics.
(cherry picked from commit 94dac1082c3a3958e7c01f29e1d0320a775633ae)
(cherry picked from commit 3c34344be9f9ab6f283a505193c678ff039c17ef)