Skip to content

tests:ethernets: avoid flaky test_ip6_eui64 results#514

Merged
slyon merged 1 commit intocanonical:mainfrom
slyon:flaky-eui64
Sep 3, 2024
Merged

tests:ethernets: avoid flaky test_ip6_eui64 results#514
slyon merged 1 commit intocanonical:mainfrom
slyon:flaky-eui64

Conversation

@slyon
Copy link
Contributor

@slyon slyon commented Sep 3, 2024

Description

Avoid flaky test_ip6_eui64 results, when statefull DHCPv6 is quicker than stateless EUI-64 address generation.
Also use a ra-stateless configuration option to dnsmasq, to avoid providing stateful DHCP addresses to the client;
ra-only doesn't seem to work properly, when combined with --dhcp-range (from integration/base.py).

This seems to fail from time to time on systemd v256 based systems, such as Debian testing or Ubuntu oracular.

Follow-up to #509

Checklist

  • Runs make check successfully.
  • Retains 100% code coverage (make check-coverage).
  • New/changed keys in YAML format are documented.
  • (Optional) Adds example YAML for new feature.
  • (Optional) Closes an open bug in Launchpad.

…HCPv6 is quicker than stateless EUI-64 address generation

Also use a 'ra-stateless' configuration option to dnsmasq, to avoid providing stateful DHCP addresses to the client.
@slyon
Copy link
Contributor Author

slyon commented Sep 3, 2024

I've tested this locally multiple times in a Oracular LXD container (where it failed previously). Looking all good. The CI is green, too. Merging...

@slyon slyon merged commit 84da4b1 into canonical:main Sep 3, 2024
@slyon slyon added the stable Might be merged in a stable branch label Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stable Might be merged in a stable branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant