jcstress icon indicating copy to clipboard operation
jcstress copied to clipboard

7903754: jcstress: Implement fail-on-error run option

Open judovana opened this issue 10 months ago • 18 comments
trafficstars

Initial PoC

It currently show how to set up argument, and how the framework will be terminated. Feedback welcomed. Should be finished soon


Progress

  • [x] Change must not contain extraneous whitespace
  • [ ] Change must be properly reviewed (1 review required, with at least 1 Committer)

Issue

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jcstress.git pull/157/head:pull/157
$ git checkout pull/157

Update a local copy of the PR:
$ git checkout pull/157
$ git pull https://git.openjdk.org/jcstress.git pull/157/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 157

View PR using the GUI difftool:
$ git pr show -t 157

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jcstress/pull/157.diff

Using Webrev

Link to Webrev Comment

judovana avatar Jan 05 '25 15:01 judovana

:wave: Welcome back jvanek! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

bridgekeeper[bot] avatar Jan 05 '25 15:01 bridgekeeper[bot]

❗ This change is not yet ready to be integrated. See the Progress checklist in the description for automated requirements.

openjdk[bot] avatar Jan 05 '25 15:01 openjdk[bot]

The PR is now moreover done. I will run it through even ore testing through.

judovana avatar Jan 07 '25 14:01 judovana

@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!

bridgekeeper[bot] avatar Mar 03 '25 13:03 bridgekeeper[bot]

More are on the way!

judovana avatar Mar 03 '25 14:03 judovana

@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!

bridgekeeper[bot] avatar Mar 31 '25 20:03 bridgekeeper[bot]

I still have faith!

judovana avatar Apr 01 '25 10:04 judovana

@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!

bridgekeeper[bot] avatar Apr 29 '25 14:04 bridgekeeper[bot]

loosing faith

judovana avatar Apr 29 '25 14:04 judovana

../live..

judovana avatar May 21 '25 12:05 judovana

Thanx! Will update..

judovana avatar Jun 06 '25 15:06 judovana

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 FAIL_FAST_VARIANTS set to 1, but the way the jcstress works, that the issue may be occurring "just sometimes" moreover enforces some higher tolerance then just " fail on first error". Wdyt?

judovana avatar Jun 06 '25 15:06 judovana

Also note that most of the complexity will stay, for the sake of report generation at the end.

judovana avatar Jun 06 '25 15:06 judovana

~~One more call before redoing it - I really think the ratio will be heavily missed in future QA runs. jcstress is not jmh. When jmh fails, it is usually deterministic and stable. With jcstress it is not the case.~~ You want to have failures. The reason for this is to not waste cycles on machines, where it would lead to hundred, or even hundred of thousands ..well all tests failures. We have it on some 10% so we usually have all results, including failures, but if we get borked hw or jvm, it will fail in hour, and not in two days. Similarly, if the VM is broken jsut a bit, there are again full results, with all failures. That give us excelnt compromise. Simple fail on error will heavily downgrade the usability and usage of jcstress:(

~~As i suggested - I can introduce -foe, which will default to --failFAST=1, or I can make the number optional, and it will default eg to those moreover verified 10%. I can remove the %%, as it as proved itself, but at the end was not used by us.~~

~~Similarly I can remove the double failFAST/failFast. The failFast have advantage that you always have a set finished, but is missing fine-tuning which failFAST have. We are using failFast.~~

~~wdyt?~~

judovana avatar Jun 09 '25 15:06 judovana

Hi! Simplifed as you wished, and as led from my usage in last half a year. So removed everything confusing, kept just one simple -foe which defautls to die after first error. However I kept in the property, which allows user to set custom treshold, both relative or absolute. Please, allow this to exists. I had it set everywhere in our infra, and it helps a lot to distinguish completely borked machine, from just a bit broken jdk.

judovana avatar Jun 13 '25 14:06 judovana

@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.

openjdk[bot] avatar Jun 13 '25 14:06 openjdk[bot]

@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.

openjdk[bot] avatar Jun 23 '25 08:06 openjdk[bot]

@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 /touch or /keepalive command to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration!

bridgekeeper[bot] avatar Jul 16 '25 14:07 bridgekeeper[bot]

faith restored

judovana avatar Jul 16 '25 14:07 judovana

@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 /touch or /keepalive command to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration!

bridgekeeper[bot] avatar Aug 13 '25 21:08 bridgekeeper[bot]

Is there hope?

judovana avatar Aug 14 '25 11:08 judovana

@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 /touch or /keepalive command to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration!

bridgekeeper[bot] avatar Sep 12 '25 00:09 bridgekeeper[bot]

Loosing the faith...

judovana avatar Sep 12 '25 10:09 judovana

@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 /touch or /keepalive command to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration!

bridgekeeper[bot] avatar Oct 10 '25 15:10 bridgekeeper[bot]

Loosing the faith...

judovana avatar Oct 13 '25 07:10 judovana

@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 /touch or /keepalive command to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration!

bridgekeeper[bot] avatar Nov 10 '25 20:11 bridgekeeper[bot]

keep_alive

judovana avatar Nov 11 '25 08:11 judovana