You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Launchpad user Lars Kellogg-Stedman(larsks) wrote on 2018-05-08T16:57:29.938354+00:00
The test_unstable_names test expects cloudinit.util.udevadm_settle to be called once:
self.assertEqual(1, mock_settle.call_count)
But cloudinit.net.find_fallback_nic inspects /proc/cmdline for the net.ifnames=0 parameter, and if found will not call udevadm_settle, which causes the test to fail.
The unit tests should not rely on information from the host environment.
The text was updated successfully, but these errors were encountered:
Launchpad user Scott Moser(smoser) wrote on 2018-06-20T18:06:07.075732+00:00
This bug is believed to be fixed in cloud-init in version 18.3. If this is still a problem for you, please make a comment and set the state back to New
This bug was originally filed in Launchpad as LP: #1769952
Launchpad details
Launchpad user Lars Kellogg-Stedman(larsks) wrote on 2018-05-08T16:57:29.938354+00:00
The test_unstable_names test expects cloudinit.util.udevadm_settle to be called once:
self.assertEqual(1, mock_settle.call_count)
But cloudinit.net.find_fallback_nic inspects /proc/cmdline for the net.ifnames=0 parameter, and if found will not call udevadm_settle, which causes the test to fail.
The unit tests should not rely on information from the host environment.
The text was updated successfully, but these errors were encountered: