[crac] RFR: Fix: docker: Error response from daemon: Conflict. The container name "/crac-test" is already in use
Jan Kratochvil
jkratochvil at openjdk.org
Mon Sep 25 13:49:48 UTC 2023
On Mon, 25 Sep 2023 09:05:03 GMT, Radim Vansa <rvansa at openjdk.org> wrote:
> However I wonder how are you running the tests concurrently?
>From my experience `make`'s parameter `JOBS=32` will make both compilation and testsuite parallel. Additionally:
- `TEST="test/jdk/jdk/crac/java/lang/System"` I have proven to run the execution in parallel
- `TEST="test/jdk/jdk/crac/java/lang/System/NanoTimeTest.java test/jdk/jdk/crac/java/lang/System/TimedWaitingTest.java"` looks to me it runs the execution in serial
> Are you talking about running tests from different JDKs,
No.
> or just parallelizing one testsuite?
Yes.
> I've been experimenting with that (using JTReg concurrency setting) some while ago, and while I managed to get some tests running fine in parallel, I remember that it would be quite difficult for others and there was no option to annotate them to run non-concurrently.
I always had many failed testcases in JDK testsuite. I expected it is normal but maybe it is because I run the testsuite in parallel. I was always used to run testsuite in parallel in other projects. But given the JDK testsuite runs about 10 hours in parallel I cannot imagine how long it would run in serial mode. Maybe I am running it somehow wrongly. That is also the reason why I no longer run the testsuite myself but I just let GHA to handle it.
-------------
PR Comment: https://git.openjdk.org/crac/pull/115#issuecomment-1733747907
More information about the crac-dev
mailing list