Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests:ethernets: avoid flaky test_ip6_eui64 results #514

Merged
merged 1 commit into from
Sep 3, 2024

Conversation

slyon
Copy link
Collaborator

@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
Collaborator 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
16 checks passed
@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