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

Extend test runner with a report verifier checking if every Spec was ran exactly once #1253

Merged
merged 1 commit into from
May 19, 2023

Conversation

rzetelskik
Copy link
Member

@rzetelskik rzetelskik commented May 16, 2023

Description of your changes: Recently we've hit #1245 which managed to bork master. The issue is most likely caused by #1176. Until the root cause is fixed, this PR mitigates it by checking the generated report and verifying that all specs were assigned to exactly one parallel process.

Mitigates #1176 temporarily to unbork the CI.

@rzetelskik rzetelskik force-pushed the test-runner-verify-report branch 3 times, most recently from 41e9b3e to 423de97 Compare May 17, 2023 14:27
@rzetelskik rzetelskik changed the title [WIP] Extend test runner with a report verifier checking if every Spec was ran exactly once Extend test runner with a report verifier checking if every Spec was ran exactly once May 17, 2023
@rzetelskik rzetelskik added kind/bug Categorizes issue or PR as related to a bug. kind/machinery Categorizes issue or PR as related to Makefile, scripts or similar changes. labels May 17, 2023
@rzetelskik rzetelskik added this to the v1.9 milestone May 17, 2023
@rzetelskik rzetelskik requested review from zimnx and tnozicka May 17, 2023 16:32
@rzetelskik rzetelskik marked this pull request as ready for review May 17, 2023 16:33
@rzetelskik rzetelskik removed the kind/machinery Categorizes issue or PR as related to Makefile, scripts or similar changes. label May 17, 2023
@rzetelskik
Copy link
Member Author

@tnozicka please let me know if the hardcoded list of expected specs is acceptable for a temporary mitigation or if it should be gathered in a CI action

Copy link
Member

@tnozicka tnozicka left a comment

Choose a reason for hiding this comment

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

/approve
/lgtm

pkg/cmd/tests/tests_run.go Show resolved Hide resolved
@tnozicka tnozicka added the priority/critical-urgent Highest priority. Must be actively worked on as someone's top priority right now. label May 18, 2023
@zimnx zimnx enabled auto-merge May 19, 2023 08:07
@zimnx zimnx merged commit 0952d64 into scylladb:master May 19, 2023
20 checks passed
@rzetelskik rzetelskik deleted the test-runner-verify-report branch May 24, 2023 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. priority/critical-urgent Highest priority. Must be actively worked on as someone's top priority right now.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants