-
Notifications
You must be signed in to change notification settings - Fork 6.2k
8373654: Tests in sources/ should only run once #28818
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
Conversation
|
👋 Welcome back dholmes! A progress list of the required criteria for merging this PR into |
|
@dholmes-ora This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be: You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 54 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. ➡️ To integrate this PR with the above commit message to the |
|
@dholmes-ora To determine the appropriate audience for reviewing this pull request, one or more labels corresponding to different subsystems will normally be applied automatically. However, no automatic labelling rule matches the changes in this pull request. In order to have an "RFR" email sent to the correct mailing list, you will need to add one or more applicable labels manually using the /label pull request command. Applicable Labels
|
shipilev
left a comment
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.
flagless -- I agree!
linux and amd64 -- as someone who re-runs this test on my M1 Mac to reproduce CI failures, I disagree!
vm.debug -- I am on the fence here, but probably fine to restrict it to debug only, as we expect most folks to run tests with debug VMs.
You might want to do this for other sources/ tests?
|
/label add hotspot Thanks for taking a look @shipilev !
Reality is that for every changeset integrated only one entity in the world actually needs to run this test. But I can drop the platform restriction - 4 runs is still better than 27.
I'll take a look at what they do. I only tripped over this one when a stray file caused it to fail. |
|
@dholmes-ora |
Webrevs
|
Add TestIncludesAreSorted
shipilev
left a comment
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.
Looks reasonable to me, with only stylistic nits.
|
Thanks for the review @shipilev ! |
|
Important bit: Hotspot tests are running with fastdebug in GHA (job: |
|
Thanks for the review @lmesnik ! /integrate |
|
Going to push as commit b3fab41.
Your commit was automatically rebased without conflicts. |
|
@dholmes-ora Pushed as commit b3fab41. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
This test is checking for backsliding on the use of NULL in the hotspot source files. The test only needs to be run once per change but it is defined as a regular tier1 test which then gets run for each os-arch combination, plus product and debug, and then again with a bunch of flags in tier3. This is just a waste of resources. At a minimum we should make the test flagless so that it doesn't run in tier3, but we can also restrict it to a single platform.
Before the change the test ran 27 times in tier1-3 in our CI. After it runs once.
EDIT: Updated to include both tests in sources/
Thanks
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/28818/head:pull/28818$ git checkout pull/28818Update a local copy of the PR:
$ git checkout pull/28818$ git pull https://git.openjdk.org/jdk.git pull/28818/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 28818View PR using the GUI difftool:
$ git pr show -t 28818Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/28818.diff
Using Webrev
Link to Webrev Comment