-
Enhancement
-
Resolution: Fixed
-
P4
-
repo-crac
-
None
-
generic
-
generic
When the tests are run in parallel, they interfere each other, so they randomly fail there is no issue with running the tests one by one.
This could be checked by doing one of the following:
- Run `make test TEST="test/jdk/jdk/crac"`
- Run the tests directly with JTREG using the option "-conc:$CONCURRENCY"
The tests causing the issue are:
- the tests running a Docker container — they use the same container name
- the tests using `checkpointViaJcmd()` function — it uses a class name rather than PID
- the tests using docker volume "cr"
The issue seems to affect GHA because GHA uses `make test-prebuilt TEST="jdk/crac"` command.
This could be checked by doing one of the following:
- Run `make test TEST="test/jdk/jdk/crac"`
- Run the tests directly with JTREG using the option "-conc:$CONCURRENCY"
The tests causing the issue are:
- the tests running a Docker container — they use the same container name
- the tests using `checkpointViaJcmd()` function — it uses a class name rather than PID
- the tests using docker volume "cr"
The issue seems to affect GHA because GHA uses `make test-prebuilt TEST="jdk/crac"` command.
- links to
-
Commit(crac) openjdk/crac/7c2ed18a
-
Review(crac) openjdk/crac/173