JDK-8271613 : java/foreign/TestMatrix.java always run in timeout in fastdebug build
  • Type: Bug
  • Component: core-libs
  • Priority: P5
  • Status: Closed
  • Resolution: Duplicate
  • CPU: x86
  • Submitted: 2021-08-02
  • Updated: 2021-09-09
  • Resolved: 2021-09-09
Related Reports
Duplicate :  
Description
The jtreg test java/foreign/TestMatrix.java always run into an timeout - even when setting timeout factor to 8.
The test runs only on X86 and therfore only fails there
When I apply a timeout=960 to the specific tests lines and provide a timeout factor of 8 seem (I usaly use ths for fastdebug builds) the test pass but the whole test takes then 3-4 hours on my x86 linux machine.
Is this intended?
Comments
Yes - issue is solved with JDK-8273315. But I do not know how to do this.
09-09-2021

All right, should we close this as dup of JDK-8273315 then?
09-09-2021

As we filter keyword manually in our automated test this would help. But I am not sure if that is not only used for test that need manually interaction or special preparation. In hotspot there is also a stress keyword, but this seems not to exist on jdk. Probably we need something else. Regarding the timeouts - these seem to be fixed with the proposed https://bugs.openjdk.java.net/browse/JDK-8273315.
08-09-2021

How is this test being executed? Note that It is excluded from tier1/2/3 (as it's only supposed to be run manually, by developers). Would adding `/manual` to jtreg test definition help?
07-09-2021

Took a stab at making the test better in JDK-8273315.
03-09-2021