-
Notifications
You must be signed in to change notification settings - Fork 65
7903754: jcstress: Implement fail-on-error run option #157
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
base: master
Are you sure you want to change the base?
Conversation
|
👋 Welcome back jvanek! A progress list of the required criteria for merging this PR into |
|
❗ This change is not yet ready to be integrated. |
|
The PR is now moreover done. I will run it through even ore testing through. |
Webrevs
|
jcstress-core/src/main/java/org/openjdk/jcstress/infra/grading/FailFastKiller.java
Show resolved
Hide resolved
|
@judovana This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
|
More are on the way! |
|
@judovana This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
|
I still have faith! |
|
@judovana This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
|
loosing faith |
|
../live.. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am open for all-or-nothing -foe (fail-on-error) option like JMH has it. There is no point, IMO, in trying to introduce a whole lot of complexity that would track and deal with a particular failure rate.
|
Thanx! Will update.. |
|
Although I understand that your main point is to get rid of complexity, but just one thought jcstress and jmh are not comparable suites. - -foe would be serving as shortcut to |
|
Also note that most of the complexity will stay, for the sake of report generation at the end. |
|
|
|
Hi! Simplifed as you wished, and as led from my usage in last half a year. So removed everything confusing, kept just one simple |
|
@judovana Please do not rebase or force-push to an active PR as it invalidates existing review comments. Note for future reference, the bots always squash all changes into a single commit automatically as part of the integration. See OpenJDK Developers’ Guide for more information. |
…nstead of waiting on kill Initial PoC
Both existing swithces with parameter changed to simngle -foe swithc, whcih do not have any parameter, and if used , jcstress ends as soon as possible after first error. Dropped the %% relative metric. Was good, but was never deployed afaik. Simplifed test counting, now only tests are counted (no longer group) Kept possibility to forbid exiting in the middle of group via property Kept posibility to set limit both for absolute and relative treshold, so user can still wait for more errors to appear before it is canceled.
It do not fill its purpose in real life
|
@judovana Please do not rebase or force-push to an active PR as it invalidates existing review comments. Note for future reference, the bots always squash all changes into a single commit automatically as part of the integration. See OpenJDK Developers’ Guide for more information. |
|
@judovana This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply issue a |
|
faith restored |
|
@judovana This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply issue a |
|
Is there hope? |
|
@judovana This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply issue a |
|
Loosing the faith... |
|
@judovana This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply issue a |
|
Loosing the faith... |
Initial PoC
It currently show how to set up argument, and how the framework will be terminated. Feedback welcomed. Should be finished soon
Progress
Issue
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jcstress.git pull/157/head:pull/157$ git checkout pull/157Update a local copy of the PR:
$ git checkout pull/157$ git pull https://git.openjdk.org/jcstress.git pull/157/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 157View PR using the GUI difftool:
$ git pr show -t 157Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jcstress/pull/157.diff
Using Webrev
Link to Webrev Comment