Karm / mandrel-integration-tests

Integration tests for GraalVM and its Mandrel distribution. Runs Quarkus, Helidon and Micronaut applications and small targeted reproducers. The focus is solely on native-image utility and compilation of Java applications into native executables.
Apache License 2.0
5 stars 3 forks source link

gdb `show version` times out with JDK 21+32 and latest `graal/master` #173

Closed zakkak closed 11 months ago

zakkak commented 11 months ago

CI runs fail due to show version command timing out (see https://github.com/Karm/mandrel-integration-tests/issues/168#issuecomment-1651134484)

Augmenting mandrel-integration-tests with https://github.com/Karm/mandrel-integration-tests/pull/172, I see that show version takes ~15s:

show version

Command took 15001 ms

What's really interesting is that the next command which is setting a breakpoint and should be the one taking ~15s only takes 1s

b ConfigTestController.java:33

Command took 1000 ms

(gdb) Breakpoint 1 at 0x40e806: file com/example/quarkus/config/ConfigTestController.java, line 33.
zakkak commented 11 months ago

OK, so the 15s are actually spent in the first command gdb ./target/quarkus-runner but since the buffer matches the expected pattern before the completion of the command waitForBufferToMatch returns faster and then it appears like show version is taking these 15s.