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

[CI] Mandrel integration tests fail with Java 17 mandrel build of `graal/master` on Linux #102

Closed mandrel-bot closed 1 year ago

mandrel-bot commented 2 years ago

This is an issue to automatically track failures in Mandrel's CI runs.

mandrel-bot commented 1 year ago

The build is still failing:

mandrel-bot commented 1 year ago

The build is still failing:

mandrel-bot commented 1 year ago

The build is still failing:

mandrel-bot commented 1 year ago

The build is still failing:

mandrel-bot commented 1 year ago

The build is still failing:

mandrel-bot commented 1 year ago

The build is still failing:

mandrel-bot commented 1 year ago

The build is still failing:

mandrel-bot commented 1 year ago

The build is still failing:

mandrel-bot commented 1 year ago

The build is still failing:

mandrel-bot commented 1 year ago

The build is still failing:

mandrel-bot commented 1 year ago

The build is still failing:

mandrel-bot commented 1 year ago

The build is still failing:

mandrel-bot commented 1 year ago

The build is still failing:

mandrel-bot commented 1 year ago

The build is still failing:

mandrel-bot commented 1 year ago

The build is still failing:

mandrel-bot commented 1 year ago

The build is still failing:

mandrel-bot commented 1 year ago

The build is still failing:

mandrel-bot commented 1 year ago

The build is still failing:

mandrel-bot commented 1 year ago

The build is still failing:

mandrel-bot commented 1 year ago

The build is still failing:

mandrel-bot commented 1 year ago

The build is still failing:

jerboaa commented 1 year ago

Current failures are:

Error:  Failures: 
Error:    AppReproducersTest.imageioAWTTest:429->imageioAWT:553 A different set of static libraries was expected. 
Expected: [libawt.a, libawt_headless.a, libfdlibm.a, libfontmanager.a, libjava.a, libjavajpeg.a, libjvm.a, liblcms.a, liblibchelper.a, libmanagement_ext.a, libnet.a, libnio.a, libzip.a]
Actual:   [libawt.a, libawt_headless.a, libfdlibm.a, libfontmanager.a, libjava.a, libjavajpeg.a, libjvm.a, liblcms.a, liblibchelper.a, libnet.a, libnio.a, libzip.a] ==> expected: <true> but was: <false>
Error:    DebugSymbolsTest.debugSymbolsSmokeGDB:137->carryOutGDBSession:388 There were errors in the GDB session. Note that commands in the session might depend on each other. Errors: 
Command 'info functions .*smoke.*' did not match the expected pattern '.*File debug_symbols_smoke/ClassA.java:.*java.lang.String \*debug_symbols_smoke.ClassA::toString\(void\).*File debug_symbols_smoke/Main.java:.*void debug_symbols_smoke.Main\$\$Lambda\$.*::accept\(java.lang.Object \*\).*void debug_symbols_smoke.Main::lambda\$thisIsTheEnd\$0\(java.io.ByteArrayOutputStream \*, debug_symbols_smoke.ClassA \*\).*void debug_symbols_smoke.Main::main\(java.lang.String\[\] \*\).*void debug_symbols_smoke.Main::thisIsTheEnd\(java.util.List \*\).*'.
Output was:
(gdb) All functions matching regular expression ".*smoke.*":

File debug_symbols_smoke/ClassA.java:
37: java.lang.String *debug_symbols_smoke.ClassA::toString();

File debug_symbols_smoke/Main.java:
    void debug_symbols_smoke.Main$$Lambda$266e79b8d6f77921b25a18aa4f6b7c05b882d790::accept(java.lang.Object*);
50: void debug_symbols_smoke.Main::lambda$thisIsTheEnd$0(java.io.ByteArrayOutputStream*, debug_symbols_smoke.ClassA*);
64: void debug_symbols_smoke.Main::main(java.lang.String[]*);
49: void debug_symbols_smoke.Main::thisIsTheEnd(java.util.List*);
 ==> expected: <true> but was: <false>

Both issues should be fixed once https://github.com/Karm/mandrel-integration-tests/pull/122 and both, https://github.com/oracle/graal/pull/5195 and https://github.com/Karm/mandrel-integration-tests/pull/119 are merged.

jerboaa commented 1 year ago

Both issues should be fixed once #122 and both, oracle/graal#5195 and #119 are merged.

All of these are merged now and we should (in theory) get passing tests for the next run. Let's see :)

mandrel-bot commented 1 year ago

The build is still failing:

mandrel-bot commented 1 year ago

The build is still failing:

jerboaa commented 1 year ago

Hmm, fails with:

Error:  Failures: 
Error:    AppReproducersTest.imageioAWTTest:429->imageioAWT:551 build-and-run.log log should not contain error or warning lines that are not whitelisted. See /home/runner/work/mandrel/mandrel/mandrel-integration-tests/testsuite/target/archived-logs/org.graalvm.tests.integration.AppReproducersTest/imageioAWTTest/build-and-run.log and check these offending lines: 
Warning: Could not resolve class com.orsoncharts.Chart3DHints for reflection configuration. Reason: java.lang.ClassNotFoundException: com.orsoncharts.Chart3DHints. ==> expected: <true> but was: <false>
[INFO] 
Error:  Tests run: 18, Failures: 1, Errors: 0, Skipped: 5

Now... Looking into it.

jerboaa commented 1 year ago

Turns out the warning includes ... class com.orsoncharts. and was likely masked due to the management_ext static lib issue being hit earlier. Fixed with #123.

mandrel-bot commented 1 year ago

The build is still failing:

mandrel-bot commented 1 year ago

Build fixed:

jerboaa commented 1 year ago

Finally! :)

mandrel-bot commented 1 year ago

Unfortunately, the build failed:

mandrel-bot commented 1 year ago

Build fixed:

mandrel-bot commented 1 year ago

Unfortunately, the build failed:

mandrel-bot commented 1 year ago

The build is still failing:

mandrel-bot commented 1 year ago

The build is still failing:

mandrel-bot commented 1 year ago

Build fixed:

mandrel-bot commented 1 year ago

Unfortunately, the build failed:

mandrel-bot commented 1 year ago

The build is still failing:

mandrel-bot commented 1 year ago

Build fixed:

mandrel-bot commented 1 year ago

Unfortunately, the build failed:

zakkak commented 1 year ago

This was due to a timeout

The job running on runner GitHub Actions 12 has exceeded the maximum execution time of 40 minutes.

mandrel-bot commented 1 year ago

The build is still failing:

zakkak commented 1 year ago

This has recently started timing out more than expected.

It looks like the last passing run was in https://github.com/graalvm/mandrel/actions/runs/3301684769 and it started timing out in https://github.com/graalvm/mandrel/actions/runs/3301684769/jobs/5447459008.

The interesting part is that both runs use:

The only difference appears to be in the Quarkus commit hash:

I scheduled https://github.com/graalvm/mandrel/actions/runs/3335716989 to run CI with the latest mandrel using the passing Quarkus commit to see if it times out or not.

zakkak commented 1 year ago

The above run timed out as well, so it looks like it's not related to some code change in Quarkus either...

mandrel-bot commented 1 year ago

Build fixed:

mandrel-bot commented 1 year ago

Unfortunately, the build failed:

mandrel-bot commented 1 year ago

The build is still failing:

mandrel-bot commented 1 year ago

Build fixed:

mandrel-bot commented 1 year ago

Unfortunately, the build failed:

mandrel-bot commented 1 year ago

Build fixed: