Skip to content

7903774: make all tests combinations printing nicer and/or configurable#153

Open
judovana wants to merge 10 commits into
openjdk:masterfrom
judovana:betterLsiting
Open

7903774: make all tests combinations printing nicer and/or configurable#153
judovana wants to merge 10 commits into
openjdk:masterfrom
judovana:betterLsiting

Conversation

@judovana
Copy link
Copy Markdown

@judovana judovana commented Nov 14, 2024

This is still WIP, but already on row what CODETOOLS-7903774 suggested.

It will be finished once all desired output combinations are included, but already now is doing the usage of listing much more comfortable and code readable.

From:

`TESTS` - as introduced by https://github.com/openjdk/jcstress/pull/149
`COMBINATIONS` - as introduced in https://github.com/openjdk/jcstress/pull/149 verbose mode (thus surpassing the `-v` impact
`ALL_TESTS` - all tests as it was before https://github.com/openjdk/jcstress/pull/149
`COMBINATIONS_GROUPED ` - as suggested in https://github.com/openjdk/jcstress/pull/149#discussion_r1668678910
`COMBINATIONS_JSON` same as combinations, but a valid json
`COMBINATIONS_GROUPS` same as COMBINATIONS_GROUPED only instead of enumeration in each group, only count of members will be printed 
  • TESTS are already implemented as ALL_MATCHING
  • COMBINATIONS as ALL_MATCHING_COMBINATIONS
  • ALL_TESTS as ALL

COMBINATIONS_GROUPED, and COMBINATIONS_GROUPS are under development.
The _JSON variants are tobe decided, but ability to JQL it sounds nice.

Suggestion to better names welcomed.


Progress

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

Issue

  • CODETOOLS-7903774: make all tests combinations printing nicer and/or configurable (Bug - P4)

Reviewing

Using git

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

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

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 153

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

Using diff file

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

Using Webrev

Link to Webrev Comment

@judovana judovana changed the title CODETOOLS-7903774 CODETOOLS-7903774 make all tests combinations printing nicer and/or configurable Nov 14, 2024
@bridgekeeper
Copy link
Copy Markdown

bridgekeeper Bot commented Nov 14, 2024

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

@openjdk
Copy link
Copy Markdown

openjdk Bot commented Nov 14, 2024

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

@openjdk openjdk Bot changed the title CODETOOLS-7903774 make all tests combinations printing nicer and/or configurable 7903774: make all tests combinations printing nicer and/or configurable Nov 14, 2024
@openjdk openjdk Bot added the rfr Pull request is ready for review label Nov 14, 2024
@mlbridge
Copy link
Copy Markdown

mlbridge Bot commented Nov 14, 2024

@judovana judovana marked this pull request as draft November 14, 2024 18:06
@openjdk openjdk Bot removed the rfr Pull request is ready for review label Nov 14, 2024
@judovana judovana marked this pull request as ready for review November 15, 2024 17:46
@openjdk openjdk Bot added the rfr Pull request is ready for review label Nov 15, 2024
@judovana
Copy link
Copy Markdown
Author

Implemented
COMBINATIONS_GROUPED and COMBINATIONS_GROUPS (as MATCHING_GROUPS and MATCHING_GROUPS_COUNT) also with its inverted variants

The nice json will maybe need some refactorings. WIP on it, but any feedback appreciated

@bridgekeeper
Copy link
Copy Markdown

bridgekeeper Bot commented Dec 13, 2024

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

@judovana
Copy link
Copy Markdown
Author

I intend to finish this. Still some feedback if it is even desired, and selected approach is ok, would be nice.

@openjdk
Copy link
Copy Markdown

openjdk Bot commented Dec 23, 2024

@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
Copy link
Copy Markdown
Author

hi @shipilev ! This is now feature complete for #149 (comment) what do you think?

@bridgekeeper
Copy link
Copy Markdown

bridgekeeper Bot commented Jan 27, 2025

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

@judovana
Copy link
Copy Markdown
Author

judovana commented Feb 1, 2025

...keep live...

@judovana
Copy link
Copy Markdown
Author

judovana commented Feb 3, 2025

Just small recap, why this is done - I wanted to split full load of jcstresses, into several HWs. At least 50, so it can finish in reasonable time. This splitting is done by groups - eg https://github.com/adoptium/aqa-tests/blob/master/system/jcstress/playlist.xml#L1128 - to have those groups equally split, information provided by this PR have to be reasonably accessible.

@bridgekeeper
Copy link
Copy Markdown

bridgekeeper Bot commented Mar 3, 2025

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

@judovana
Copy link
Copy Markdown
Author

judovana commented Mar 3, 2025

More are on the way!

@bridgekeeper
Copy link
Copy Markdown

bridgekeeper Bot commented Mar 31, 2025

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

@judovana
Copy link
Copy Markdown
Author

judovana commented Apr 1, 2025

I still have faith!

@bridgekeeper
Copy link
Copy Markdown

bridgekeeper Bot commented Apr 29, 2025

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

@judovana
Copy link
Copy Markdown
Author

loosing faith

@judovana
Copy link
Copy Markdown
Author

../live..

@bridgekeeper
Copy link
Copy Markdown

bridgekeeper Bot commented Jun 18, 2025

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

judovana added 3 commits June 23, 2025 10:34
if true, the key will be written as:
"[actor1, actor2], spinLoopStyle: Thread.onSpinWait(), threads: 2, forkId: 0, maxFootprintMB: 64, compileMode: 7, shClass: (PG 0, CG 0), (PG 0, CG 0), strideSize: 256, strideCount: 40, cpuMap: null, [-XX:+UseBiasedLocking, -XX:+StressLCM, -XX:+StressGCM, -XX:+StressIGVN, -XX:+StressCCP, -XX:StressSeed=yyyyyyyy]"

otherwise (default), it will be written as

...
"actorNames": ["actor1", "actor2"],
"spinLoopStyle": "Thread.onSpinWait()",
"threads": 2,
"forkId": 0,
"maxFootprintMB": 64,
"compileMode": 7,
"shClass": "(PG 0, CG 0), (PG 0, CG 0)",
"strideSize": 256,
"strideCount": 40,
"cpuMap": "null",
"jvmArgs": [-XX:+UseBiasedLocking, -XX:+StressLCM, -XX:+StressGCM, -XX:+StressIGVN, -XX:+StressCCP, -XX:StressSeed=yyyyyyyy]"
...
- id can be used both flatten (so equal to plaintext) or properly
strcutured for JQ (default)
- listing can be redirecd to stderr to use with `jq` directly
@openjdk
Copy link
Copy Markdown

openjdk Bot commented Jun 23, 2025

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

@bridgekeeper
Copy link
Copy Markdown

bridgekeeper Bot commented Jul 16, 2025

@judovana This pull request has been inactive for more than 8 weeks and will now be automatically closed. If you would like to continue working on this pull request in the future, feel free to reopen it! This can be done using the /open pull request command.

@bridgekeeper bridgekeeper Bot closed this Jul 16, 2025
@judovana
Copy link
Copy Markdown
Author

/open

@judovana
Copy link
Copy Markdown
Author

faith restored

@openjdk openjdk Bot reopened this Jul 16, 2025
@judovana
Copy link
Copy Markdown
Author

/open

@openjdk
Copy link
Copy Markdown

openjdk Bot commented Jul 16, 2025

@judovana This pull request is now open

@openjdk
Copy link
Copy Markdown

openjdk Bot commented Jul 16, 2025

@judovana This pull request is already open

@bridgekeeper
Copy link
Copy Markdown

bridgekeeper Bot commented Aug 13, 2025

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

@judovana
Copy link
Copy Markdown
Author

Is there hope?

@bridgekeeper
Copy link
Copy Markdown

bridgekeeper Bot commented Sep 12, 2025

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

@judovana
Copy link
Copy Markdown
Author

Loosing the faith...

@bridgekeeper
Copy link
Copy Markdown

bridgekeeper Bot commented Oct 10, 2025

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

@judovana
Copy link
Copy Markdown
Author

Loosing the faith...

@bridgekeeper
Copy link
Copy Markdown

bridgekeeper Bot commented Nov 10, 2025

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

@judovana
Copy link
Copy Markdown
Author

keep_alive

@bridgekeeper
Copy link
Copy Markdown

bridgekeeper Bot commented Dec 10, 2025

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

@judovana
Copy link
Copy Markdown
Author

Need for this still valid

@judovana
Copy link
Copy Markdown
Author

judovana commented Jan 8, 2026

keep alive

@bridgekeeper
Copy link
Copy Markdown

bridgekeeper Bot commented Feb 5, 2026

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

@judovana
Copy link
Copy Markdown
Author

judovana commented Feb 6, 2026

Once upon a midnight dreary, while I pondered, weak and weary,
Over many a quaint and curious volume of forgotten lore—
    While I nodded, nearly napping, suddenly there came a tapping,
As of some one gently rapping, rapping at my chamber door.
“’Tis some visitor,” I muttered, “tapping at my chamber door—
            Only this and nothing more.”

@bridgekeeper
Copy link
Copy Markdown

bridgekeeper Bot commented Mar 6, 2026

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

@judovana
Copy link
Copy Markdown
Author

      Ah, distinctly I remember it was in the bleak December,
And each separate dying ember wrought its ghost upon the floor.
   Eagerly I wished the morrow;- vainly I had sought to borrow
From my books surcease of sorrow- sorrow for the lost Lenore-
For the rare and radiant maiden whom the angels name Lenore-
                 Nameless here for evermore. 

@bridgekeeper
Copy link
Copy Markdown

bridgekeeper Bot commented Apr 13, 2026

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

@judovana
Copy link
Copy Markdown
Author

 And the silken, sad, uncertain rustling of each purple curtain
Thrilled me—filled me with fantastic terrors never felt before;
    So that now, to still the beating of my heart, I stood repeating
    “’Tis some visitor entreating entrance at my chamber door—
Some late visitor entreating entrance at my chamber door;—
            This it is and nothing more.”

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rfr Pull request is ready for review

Development

Successfully merging this pull request may close these issues.

1 participant