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

JFR StackFilters are not yet supported. Allow list them. #239

Closed jerboaa closed 6 months ago

jerboaa commented 6 months ago

We see the following log lines in our JFR tests:

Error:  Failures: 
Error:    JFRTest.jfrOptionsSmokeTest:749->jfrOptionsSmoke:887 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/jfrOptionsSmokeTest/build-and-run.log and check these offending lines: 
[warn][jfr,setting] Exception occurred when setting value "0 ns" for class jdk.jfr.internal.Control
[warn][jfr,setting] Exception occurred when setting value "forRemoval" for class jdk.jfr.internal.Control ==> expected: <true> but was: <false>
Error:    JFRTest.jfrPerfTest:176->jfrPerfTestRun:219 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: 
[warn][jfr,setting] Exception occurred when setting value "0 ns" for class jdk.jfr.internal.Control
[warn][jfr,setting] Exception occurred when setting value "forRemoval" for class jdk.jfr.internal.Control ==> expected: <true> but was: <false>
Error:    JFRTest.jfrSmokeTest:144->jfrSmoke:687 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/jfrSmokeTest/build-and-run.log and check these offending lines: 
[warn][jfr,setting] Exception occurred when setting value "0 ns" for class jdk.jfr.internal.Control
[warn][jfr,setting] Exception occurred when setting value "forRemoval" for class jdk.jfr.internal.Control ==> expected: <true> but was: <false>

See: https://github.com/graalvm/mandrel/actions/runs/7242468774/job/19728400321#step:11:19732

Apparently this is being caused by https://github.com/oracle/graal/commit/dd8eb7436ca2ce323a74667805dd7736c6ccc972. We need to allow list them.