RFR: 8277992: Add fast jdk_svc subtests to jdk:tier3

Aleksey Shipilev shade at openjdk.java.net
Tue Nov 30 18:56:15 UTC 2021


OpenJDK tiered tests definitions have the catch-all `tier4` that runs all tests not defined in the lower tiers. `hotspot:tier4` has lots of them, mostly long-running vmTestbase tests, which take many hours even on a very parallel machines.

This, unfortunately, has a chilling effect on `jdk:tier4`, which is seldom run by contributors, because `hotspot:tier4` is in the way. But, there are plenty of fast and stable tests in `jdk:tier4` that can be run in `jdk:tier3`. `jdk_svc` is the example of such tests: management features (including but not limited to JFR) are important to keep from regressions, and significant subset of them runs pretty fast.

So, it makes sense to move some `jdk_svc` tests to `jdk:tier3` to expose it to more contributors. I think the only group we don't want to run is `svc_tools`, which includes lots of non-parallel tests that are rather slow.

Sample run before:


==============================
Test summary
==============================
   TEST                                              TOTAL  PASS  FAIL ERROR   
   jtreg:test/jdk:tier3                                174   174     0     0   
==============================
TEST SUCCESS

Finished building target 'run-test' in configuration 'linux-x86_64-server-fastdebug'

real	2m38.242s
user	80m7.216s
sys	2m13.846s


==============================
Test summary
==============================
   TEST                                              TOTAL  PASS  FAIL ERROR   
>> jtreg:test/jdk:tier4                               2904  2901     3     0 <<
==============================
TEST FAILURE

real	18m13.933s
user	546m50.556s
sys	25m7.086s


Sample run after:


==============================
Test summary
==============================
   TEST                                              TOTAL  PASS  FAIL ERROR   
   jtreg:test/jdk:tier3                               1296  1296     0     0   
==============================
TEST SUCCESS

Finished building target 'run-test' in configuration 'linux-x86_64-server-fastdebug'

real	7m49.017s
user	287m30.943s
sys	13m20.060s

==============================
Test summary
==============================
   TEST                                              TOTAL  PASS  FAIL ERROR   
>> jtreg:test/jdk:tier4                               1783  1780     3     0 <<
==============================
TEST FAILURE


real	12m19.973s
user	351m48.561s
sys	14m51.566s

-------------

Commit messages:
 - Fix

Changes: https://git.openjdk.java.net/jdk/pull/6619/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=6619&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8277992
  Stats: 6 lines in 1 file changed: 2 ins; 3 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/6619.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/6619/head:pull/6619

PR: https://git.openjdk.java.net/jdk/pull/6619


More information about the core-libs-dev mailing list