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

[23.1] jfrPerfTest fails with experimental VM warning #201

Closed jerboaa closed 9 months ago

jerboaa commented 9 months ago

The test fails with:

 Error:  Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1,247.701 s <<< FAILURE! - in org.graalvm.tests.integration.JFRTest
Error:  jfrPerfTest{TestInfo}  Time elapsed: 988.065 s  <<< FAILURE!
org.opentest4j.AssertionFailedError: 
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 lines: 
Warning: The option '-H:+SignalHandlerBasedExecutionSampler' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions' in the future.
Warning: The option '-H:ReflectionConfigurationResources=META-INF/native-image/io.netty/netty-transport/reflection-config.json' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions' in the future.
Warning: Please re-evaluate whether any experimental option is required, and either remove or unlock it. The build output lists all active experimental options, including where they come from and possible alternatives. If you think an experimental option should be considered as stable, please file an issue. ==> expected: <true> but was: <false>
    at org.graalvm.tests.integration.JFRTest.jfrPerfTestRun(JFRTest.java:210)
    at org.graalvm.tests.integration.JFRTest.jfrPerfTest(JFRTest.java:176)

The -H:+SignalHandlerBasedExecutionSampler needs to get unlocked. netty issue is https://github.com/netty/netty/pull/13596

jerboaa commented 9 months ago

Re-opening as we still need to deal with:

Warning: The option '-H:ReflectionConfigurationResources=META-INF/native-image/io.netty/netty-transport/reflection-config.json' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions' in the future.
zakkak commented 9 months ago

Re-opening as we still need to deal with:

Warning: The option '-H:ReflectionConfigurationResources=META-INF/native-image/io.netty/netty-transport/reflection-config.json' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions' in the future.

The warning is now ignored with https://github.com/Karm/mandrel-integration-tests/pull/203