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

🌱 Add github workflow for e2e fixture tests #1437

Merged
merged 1 commit into from
Nov 16, 2023

Conversation

maxrantil
Copy link
Member

What this PR does / why we need it:
Implement lightweight fixture-based tests to ensure CI platform flexibility.

Fixes #1406

@metal3-io-bot metal3-io-bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Nov 8, 2023
@maxrantil maxrantil changed the title 🌱 Add CI-independent BMO e2e tests WIP: 🌱 Add CI-independent BMO e2e tests Nov 8, 2023
@metal3-io-bot metal3-io-bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 8, 2023
@maxrantil maxrantil force-pushed the add-fixture-tests-to-CI/max branch 3 times, most recently from e13dce3 to 99dd94a Compare November 8, 2023 17:21
@metal3-io-bot metal3-io-bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Nov 8, 2023
@metal3-io-bot metal3-io-bot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Nov 8, 2023
@maxrantil maxrantil force-pushed the add-fixture-tests-to-CI/max branch 3 times, most recently from cf070b4 to 370de00 Compare November 8, 2023 17:50
@metal3-io-bot metal3-io-bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Nov 8, 2023
@maxrantil maxrantil force-pushed the add-fixture-tests-to-CI/max branch 5 times, most recently from 478c56e to ab9ee4b Compare November 9, 2023 06:05
@metal3-io-bot metal3-io-bot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Nov 9, 2023
@metal3-io-bot metal3-io-bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Nov 9, 2023
@maxrantil maxrantil force-pushed the add-fixture-tests-to-CI/max branch 3 times, most recently from e4bff1d to b16908b Compare November 9, 2023 06:50
@metal3-io-bot metal3-io-bot removed the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Nov 9, 2023
@metal3-io-bot metal3-io-bot added the lgtm Indicates that a PR is ready to be merged. label Nov 10, 2023
@maxrantil
Copy link
Member Author

/metal3-bmo-e2e-test

@maxrantil
Copy link
Member Author

/test-centos-e2e-integration-main
/test-ubuntu-integration-main

Copy link
Member

@tuminoid tuminoid left a comment

Choose a reason for hiding this comment

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

/hold

.github/workflows/e2e-fixture-test.yml Show resolved Hide resolved
@metal3-io-bot metal3-io-bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 13, 2023
@metal3-io-bot metal3-io-bot removed the lgtm Indicates that a PR is ready to be merged. label Nov 13, 2023
@tuminoid
Copy link
Member

/unhold
Permissions issue is fixed.

@metal3-io-bot metal3-io-bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 13, 2023
@maxrantil
Copy link
Member Author

/metal3-bmo-e2e-test

@maxrantil
Copy link
Member Author

/test-centos-e2e-integration-main
/test-ubuntu-integration-main

Copy link
Member

@lentzi90 lentzi90 left a comment

Choose a reason for hiding this comment

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

/lgtm

@metal3-io-bot metal3-io-bot added the lgtm Indicates that a PR is ready to be merged. label Nov 13, 2023
Implement lightweight fixture-based tests to ensure CI platform flexibility.
@metal3-io-bot metal3-io-bot removed the lgtm Indicates that a PR is ready to be merged. label Nov 14, 2023
@maxrantil
Copy link
Member Author

/metal3-bmo-e2e-test
/test-centos-e2e-integration-main
/test-ubuntu-integration-main

Copy link
Member

@lentzi90 lentzi90 left a comment

Choose a reason for hiding this comment

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

/lgtm

@metal3-io-bot metal3-io-bot added the lgtm Indicates that a PR is ready to be merged. label Nov 14, 2023
@maxrantil
Copy link
Member Author

/test-ubuntu-integration-main

@@ -33,7 +33,7 @@ intervals:
default/wait-registering: ["1m", "5s"]
inspection/wait-registration-error: ["1m", "5s"]
external-inspection/wait-available: ["20s", "1s"]
default/wait-inspecting: ["2m", "10s"]
default/wait-inspecting: ["2m", "2s"]
Copy link
Member

Choose a reason for hiding this comment

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

any reason to change this in this PR ?

Copy link
Member Author

@maxrantil maxrantil Nov 15, 2023

Choose a reason for hiding this comment

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

Using 10-second intervals means that it can miss the state, so I changed it to 2-seconds to make the test more robust.

Copy link
Member Author

Choose a reason for hiding this comment

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

You are right to ask because I now see that this is in the ironic config, but after trying it out I noticed some flakes here so that why this fix is in this PR even that it has nothing to do with fixture.

@kashifest
Copy link
Member

/approve

@metal3-io-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kashifest

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@metal3-io-bot metal3-io-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 16, 2023
@metal3-io-bot metal3-io-bot merged commit 6d5707d into metal3-io:main Nov 16, 2023
15 checks passed
@metal3-io-bot metal3-io-bot deleted the add-fixture-tests-to-CI/max branch November 16, 2023 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

E2e: Add fixture tests to CI
7 participants