Skip to content

[GraalVM for JDK 26] Handle new warnings count message #364

@jerboaa

Description

@jerboaa

In recent CI runs we see a couple of Mandrel IT tests failing with:

2025-09-13T01:17:33.7021858Z [ERROR] Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 611.213 s <<< FAILURE! - in org.graalvm.tests.integration.JFRTest
2025-09-13T01:17:33.7023951Z [ERROR] jfrPerfTest{TestInfo}  Time elapsed: 423.357 s  <<< FAILURE!
2025-09-13T01:36:51.3116907Z [ERROR] Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 373.324 s <<< FAILURE! - in org.graalvm.tests.integration.DebugSymbolsTest
2025-09-13T01:36:51.3118188Z [ERROR] debugSymbolsQuarkus{TestInfo}  Time elapsed: 296.794 s  <<< FAILURE!
2025-09-13T01:42:01.9208177Z [ERROR] Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 310.605 s <<< FAILURE! - in org.graalvm.tests.integration.RuntimesSmokeTest
2025-09-13T01:42:01.9209637Z [ERROR] helidonQuickStart{TestInfo}  Time elapsed: 116.064 s  <<< FAILURE!
2025-09-13T01:42:01.9219936Z [ERROR] quarkusFullMicroProfile{TestInfo}  Time elapsed: 194.541 s  <<< FAILURE!
2025-09-13T01:42:04.3718526Z [ERROR] Failures: 
2025-09-13T01:42:04.3721256Z [ERROR]   DebugSymbolsTest.debugSymbolsQuarkus:290 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.DebugSymbolsTest/debugSymbolsQuarkus/build-and-run.log and check these offending 1 lines: 
2025-09-13T01:42:04.3725371Z [ERROR]   JFRTest.jfrPerfTest:185->jfrPerfTestRun:234 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.JFRTest/jfrPerfTest/build-and-run.log and check these offending 1 lines: 
2025-09-13T01:42:04.3728419Z [ERROR]   RuntimesSmokeTest.helidonQuickStart:245->testRuntime:81->testRuntime:165 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.RuntimesSmokeTest/helidonQuickStart/build-and-run.log and check these offending 1 lines: 
2025-09-13T01:42:04.3732235Z [ERROR]   RuntimesSmokeTest.quarkusFullMicroProfile:211->testRuntime:165 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.RuntimesSmokeTest/quarkusFullMicroProfile/build-and-run.log and check these offending 1 lines: 
2025-09-13T01:42:04.3734573Z [ERROR] Tests run: 22, Failures: 4, Errors: 0, Skipped: 2
2025-09-13T01:42:04.3761482Z [INFO] testsuite .......................................... FAILURE [34:49 min]
2025-09-13T01:42:04.3781117Z [ERROR]   mvn <args> -rf :testsuite
2025-09-13T01:42:04.3899903Z ##[error]Process completed with exit code 1.

It affects GraalVM for JDK 26 community builds as well as mandrel.

See:
Linux x86_64: https://github.com/graalvm/mandrel/actions/runs/17689107316/job/50280578690#step:11:10600
Windows x86_64: https://github.com/graalvm/mandrel/actions/runs/17689107316/job/50280819304#step:10:6948

It looks like oracle/graal#12162 introduced a new change with additional warnings count prints such as:

Warning: Option 'DynamicProxyConfigurationResources' is deprecated and might be removed in a future release: This can be caused by a proxy-config.json file in your META-INF directory. Consider including proxy configuration in the reflection section of reachability-metadata.json instead.. Please refer to the GraalVM release notes.
========================================================================================================================
GraalVM Native Image: Generating 'quarkus-runner' (executable)...
========================================================================================================================
[...]
 452.22kB java.base/sun.security.provider                    519.66kB java.base/java.lang.Object[]
  23.75MB for 800 more packages                                6.88MB for 4222 more object types
------------------------------------------------------------------------------------------------------------------------
Recommendations:
 FUTR: Use '--future-defaults=all' to prepare for future releases.
 HEAP: Set max heap for improved and more predictable memory usage.
 CPU:  Enable more CPU features with '-march=native' for improved performance.
------------------------------------------------------------------------------------------------------------------------
                      24.5s (10.6% of total time) in 165 GCs | Peak RSS: 11.57GB | CPU load: 3.25
------------------------------------------------------------------------------------------------------------------------
Build artifacts:
 /home/runner/work/mandrel/mandrel/mandrel-integration-tests/apps/quarkus-full-microprofile/target/quarkus-native-image-source-jar/build-artifacts.json (build_info)
 /home/runner/work/mandrel/mandrel/mandrel-integration-tests/apps/quarkus-full-microprofile/target/quarkus-native-image-source-jar/gdb-debughelpers.py (debug_info)
 /home/runner/work/mandrel/mandrel/mandrel-integration-tests/apps/quarkus-full-microprofile/target/quarkus-native-image-source-jar/quarkus-runner (executable)
 /home/runner/work/mandrel/mandrel/mandrel-integration-tests/apps/quarkus-full-microprofile/target/quarkus-native-image-source-jar/quarkus-runner-build-output-stats.json (build_info)
 /home/runner/work/mandrel/mandrel/mandrel-integration-tests/apps/quarkus-full-microprofile/target/quarkus-native-image-source-jar/quarkus-runner.debug (debug_info)
 /home/runner/work/mandrel/mandrel/mandrel-integration-tests/apps/quarkus-full-microprofile/target/quarkus-native-image-source-jar/sources (debug_info)
========================================================================================================================
Finished generating 'quarkus-runner' in 3m 49s.

The build process encountered 1 warning.

Note the The build process encountered 1 warning. at the end. We need to handle this in our tests.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions