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

fix(test): Fix expected log for ipv6-only ephemeral network #4641

Merged

Conversation

holmanb
Copy link
Member

@holmanb holmanb commented Nov 29, 2023

Additional Context

https://jenkins.canonical.com/server-team/view/cloud-init/job/cloud-init-integration-focal-ec2/348/testReport/junit/tests.integration_tests.datasources/test_ec2_ipv6/test_dual_stack/

Test Steps

cloud-init-test.log

Merge type

  • Squash merge using "Proposed Commit Message"
  • Rebase and merge unique commits. Requires commit messages per-commit each referencing the pull request number (#<PR_NUM>)

@blackboxsw blackboxsw self-assigned this Nov 29, 2023
Copy link
Collaborator

@blackboxsw blackboxsw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Testing is good here on EC2 focal with this latest PR. Setting the state_msg in self.ipv6 after success DHCPv6 and either failed DHCPv4 or not self.ipv4 is the proper condition for both dual stack w/ DHCPv4 failures and single stack ipv6 only.

+1

CLOUD_INIT_CLOUD_INIT_SOURCE=/cloud-init_23.3-167-gc48cfd79-1~bddeb_all.deb CLOUD_INIT_PLATFORM=ec2 CLOUD_INIT_OS_IMAGE=focal tox -e integration-tests -- tests/integration_tests/datasources/test_ec2_ipv6.py
....
================== 1 passed, 2 warnings in 624.00s (0:10:24) ===================

@blackboxsw blackboxsw force-pushed the holmanb/fix-ipv6-integration-test branch from c48cfd7 to fc3bd68 Compare November 29, 2023 19:11
@blackboxsw blackboxsw merged commit cd35cad into canonical:main Nov 29, 2023
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants