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

Update provisioning tests for IPv6 provisoning #17479

Conversation

shubhamsg199
Copy link
Contributor

Problem Statement

Provisioning tests are not updated to run on IPv6 satellite

Solution

Update the tests to run on IPv6 satellite

Related Issues

@shubhamsg199 shubhamsg199 self-assigned this Feb 3, 2025
@shubhamsg199 shubhamsg199 requested review from a team as code owners February 3, 2025 13:58
@shubhamsg199 shubhamsg199 added No-CherryPick PR doesnt need CherryPick to previous branches Stream Introduced in or relating directly to Satellite Stream/Master labels Feb 3, 2025
@shubhamsg199 shubhamsg199 force-pushed the Update_provisioning_tests_for_IPv6_provisoning branch 9 times, most recently from 0a6f954 to a2acf2b Compare February 10, 2025 11:51
@shubhamsg199 shubhamsg199 force-pushed the Update_provisioning_tests_for_IPv6_provisoning branch 11 times, most recently from 8f62dae to 57923bd Compare February 17, 2025 07:45
tests/foreman/api/test_provisioning.py Outdated Show resolved Hide resolved
Comment on lines 235 to 236
if pxe_loader.vm_firmware == 'bios':
pytest.skip('BIOS is not supported with IPv6')
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why skipping here explicitely, when we're skipping it in the test?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Since we are skipping bios for IPv6, provisioning host being the function scoped fixture I don't want the host to be created unnecessarily for bios as it would run teardown as well which is a waste of execution time for us. I missed the IPv6 condition here which I will update

pytest_fixtures/component/provision_pxe.py Outdated Show resolved Hide resolved
pytest_fixtures/component/provision_pxe.py Outdated Show resolved Hide resolved
pytest_fixtures/component/provision_pxe.py Outdated Show resolved Hide resolved
pytest_fixtures/component/provision_pxe.py Show resolved Hide resolved
pytest_fixtures/component/provision_pxe.py Outdated Show resolved Hide resolved
tests/foreman/api/test_provisioning.py Show resolved Hide resolved
tests/foreman/api/test_provisioning.py Outdated Show resolved Hide resolved
@shubhamsg199 shubhamsg199 force-pushed the Update_provisioning_tests_for_IPv6_provisoning branch 4 times, most recently from 65cbcbf to 99afb6a Compare February 17, 2025 13:45
@shubhamsg199 shubhamsg199 force-pushed the Update_provisioning_tests_for_IPv6_provisoning branch 3 times, most recently from d7f9410 to f4121da Compare February 17, 2025 19:05
@shubhamsg199 shubhamsg199 force-pushed the Update_provisioning_tests_for_IPv6_provisoning branch 2 times, most recently from 8810ae9 to b7e7202 Compare February 18, 2025 06:53
@shubhamsg199 shubhamsg199 force-pushed the Update_provisioning_tests_for_IPv6_provisoning branch from b7e7202 to f2954a4 Compare February 18, 2025 09:59
@Gauravtalreja1 Gauravtalreja1 merged commit bd115f6 into SatelliteQE:master Feb 18, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
No-CherryPick PR doesnt need CherryPick to previous branches Stream Introduced in or relating directly to Satellite Stream/Master
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants