Some tier1 tests timeout on risc-v

Aleksey Shipilev shade at redhat.com
Tue Aug 16 15:42:20 UTC 2022


On 8/16/22 15:43, Vladimir Kempik wrote:
> Hello
> Still trying to get clean tier1 results, apart from weakCompareAndSet failures ( which can be ignored on risc-v) I see three more tests to error due to timeouts:
> 
> test/langtools/tools/javac/7142086/T7142086.java  , needed timeout increase from 10 sec to 30 to make test pass on thead board.
> 
> test/langtools/tools/javac/failover/CheckAttributedTree.java timeout increase from default 480 sec to 600, related to https://bugs.openjdk.org/browse/JDK-6982992
> 
> test/langtools/tools/javac/lambda/LambdaParserTest.java timeout increase from default 480 sec to 600
> 
> Is this a right way to workaround these issues ? Should we update tests somehow ?

You can always find the arbitrary slow board and/or VM mode where a reasonable default timeout would 
not suffice. The current timeouts are implicitly selected to work on the majority of cases. For 
everything else, I think you are supposed to bump the timeout factor:

$ make test TEST=tier1 JTREG="TIMEOUT_FACTOR=4"

-- 
Thanks,
-Aleksey



More information about the riscv-port-dev mailing list