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

🌱 Introduce inspection delay for the fixture provisioner #2043

Merged

Conversation

lentzi90
Copy link
Member

@lentzi90 lentzi90 commented Nov 6, 2024

What this PR does / why we need it:

The fixture provisioner did have a delay previously, but it was removed as part of some work on reducing access to sensitive information. Now that we are running tests with the fixture provisioner, this has become an issue, since inspection happens so fast that it is hard to detect.

This commit introduces artificial delay without accessing any extra information.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

@metal3-io-bot metal3-io-bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Nov 6, 2024
@lentzi90 lentzi90 marked this pull request as draft November 6, 2024 07:10
@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 6, 2024
The fixture provisioner did have a delay previously, but it was removed
as part of some work on reducing access to sensitive information. Now
that we are running tests with the fixture provisioner, this has become
an issue, since inspection happens so fast that it is hard to detect.

This commit introduces artificial delay without accessing any extra
information.

Signed-off-by: Lennart Jern <[email protected]>
@lentzi90 lentzi90 force-pushed the lentzi90/fixture-inspection-delay branch from bc3d089 to b1221a2 Compare November 6, 2024 07:14
@lentzi90 lentzi90 marked this pull request as ready for review November 6, 2024 07:15
@metal3-io-bot metal3-io-bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 6, 2024
@mquhuy
Copy link
Member

mquhuy commented Nov 6, 2024

/lgtm
Thank you for making this. This issue's been a major part of our flaky fixture CI.

@metal3-io-bot metal3-io-bot added the lgtm Indicates that a PR is ready to be merged. label Nov 6, 2024
@dtantsur
Copy link
Member

dtantsur commented Nov 6, 2024

/approve

I'm not really fond of relying on timing here, but at least it improves the situation.

@metal3-io-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dtantsur

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 6, 2024
@metal3-io-bot metal3-io-bot merged commit 8717842 into metal3-io:main Nov 6, 2024
19 checks passed
@metal3-io-bot metal3-io-bot deleted the lentzi90/fixture-inspection-delay branch November 6, 2024 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.

4 participants