Skip to content

Conversation

@vkarak
Copy link
Contributor

@vkarak vkarak commented Mar 30, 2023

This PR introduces the following two options that are meant to allow users to use reframe for stress testing a target system:

  • The --reruns=N option will rerun the same test suite N times (N+1 total runs).
  • The --duration=TIMEOUT option will run the same test suite repeatedly until TIMEOUT expires.

Compared to the similar --max-retries option that reruns the failed tests, these options will report statistics as well as failures from all runs.

Closes #619.

@brandongc FYI

Todos

  • Update the docs

@jenkins-cscs
Copy link
Collaborator

Can I test this patch?

@vkarak vkarak marked this pull request as draft March 30, 2023 22:35
@vkarak
Copy link
Contributor Author

vkarak commented Mar 30, 2023

ok to test

@codecov-commenter
Copy link

codecov-commenter commented Mar 30, 2023

Codecov Report

Patch coverage: 96.68% and project coverage change: +0.05 🎉

Comparison is base (767b86d) 86.84% compared to head (7c9449e) 86.90%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2839      +/-   ##
===========================================
+ Coverage    86.84%   86.90%   +0.05%     
===========================================
  Files           60       60              
  Lines        11414    11496      +82     
===========================================
+ Hits          9913     9991      +78     
- Misses        1501     1505       +4     
Impacted Files Coverage Δ
reframe/frontend/executors/policies.py 92.38% <92.85%> (-0.03%) ⬇️
reframe/frontend/statistics.py 95.00% <94.44%> (-0.59%) ⬇️
reframe/frontend/executors/__init__.py 97.63% <98.18%> (-0.02%) ⬇️
reframe/core/exceptions.py 97.35% <100.00%> (+0.05%) ⬆️
reframe/core/schedulers/local.py 92.96% <100.00%> (+0.34%) ⬆️
reframe/frontend/cli.py 77.14% <100.00%> (+0.31%) ⬆️
reframe/frontend/printer.py 96.15% <100.00%> (+0.07%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@teojgo
Copy link
Contributor

teojgo commented Mar 30, 2023

Ok to test

@vkarak vkarak marked this pull request as ready for review April 2, 2023 20:16
Copy link
Contributor

@ekouts ekouts left a comment

Choose a reason for hiding this comment

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

Overall it looks good, if you fix the very small comment I made I will approve.

Copy link
Contributor

@teojgo teojgo left a comment

Choose a reason for hiding this comment

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

Only the minor comment by @ekouts needs to be fixed. Otherwise it looks good.

vkarak and others added 2 commits April 5, 2023 23:15
Co-authored-by: Eirini Koutsaniti <eirini.koutsaniti@cscs.ch>
@vkarak vkarak requested a review from teojgo April 6, 2023 07:38
@vkarak vkarak merged commit 6e1f162 into reframe-hpc:develop Apr 6, 2023
@vkarak vkarak deleted the feat/stress-testing branch April 6, 2023 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Keeping a test system busy, new execution policy?

5 participants