graalvm / mandrel

Mandrel is a downstream distribution of the GraalVM community edition. Mandrel's main goal is to provide a native-image release specifically to support Quarkus.
Other
381 stars 15 forks source link

Mandrel 23.0.4 update #726

Closed jerboaa closed 2 months ago

jerboaa commented 2 months ago

Partial sync with backports from graalvm-for-jdk21-community-backports.

Other than that, just a version update to 23.0.4.1 and set to release => false.

Karm commented 2 months ago

@jerboaa Hmmm,

 Warning: 2 18:30:09.922 INFO  [o.g.t.i.u.Logs] (checkLog) build-and-run.log log for quarkusFullMicroProfile contains whitelisted error: `[WARNING] [io.quarkus.deployment.configuration] Configuration property 'quarkus.package.type' has been deprecated and replaced by: [quarkus.package.jar.enabled, quarkus.package.jar.type, quarkus.native.enabled, quarkus.native.sources-only]'
Error:  Tests run: 2, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 225.911 s <<< FAILURE! - in org.graalvm.tests.integration.RuntimesSmokeTest
Error:  quarkusFullMicroProfile{TestInfo}  Time elapsed: 225.911 s  <<< FAILURE!
org.opentest4j.AssertionFailedError: 
build-and-run.log log should not contain error or warning lines that are not whitelisted. See D:\a\mandrel\mandrel\testsuite\target\archived-logs\org.graalvm.tests.integration.RuntimesSmokeTest\quarkusFullMicroProfile\build-and-run.log and check these offending lines: 
Warning:  [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] You are using an older version of GraalVM or Mandrel : 23.0.4.1-deva441a627. Quarkus currently supports 23.1.0. Please upgrade to this version. ==> expected: <true> but was: <false>
    at org.graalvm.tests.integration.RuntimesSmokeTest.testRuntime(RuntimesSmokeTest.java:156)
    at org.graalvm.tests.integration.RuntimesSmokeTest.quarkusFullMicroProfile(RuntimesSmokeTest.java:200)

[INFO] 

Apparently a mismatch in the matrix, Q 999-SNAPSHOT vs. M 23.0.4.
The build went fine though, it's just the warning caught by the TS log audit.

jerboaa commented 2 months ago

The three failing tests are: Mandrel IT (2x) - Linux and Windows and IT main.

Mandrel IT failures are log line and old quarkus version related.

Error:  Failures: 
Error:    DebugSymbolsTest.debugSymbolsQuarkus:306 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 lines: 
Warning:  [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] You are using an older version of GraalVM or Mandrel : 23.0.4.1-deva441a627. Quarkus currently supports 23.1.0. Please upgrade to this version. ==> expected: <true> but was: <false>
Error:    JFRTest.jfrPerfTest:181->jfrPerfTestRun:230 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:  [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] You are using an older version of GraalVM or Mandrel : 23.0.4.1-deva441a627. Quarkus currently supports 23.1.0. Please upgrade to this version. ==> expected: <true> but was: <false>
Error:    RuntimesSmokeTest.quarkusFullMicroProfile:200->testRuntime:156 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 lines: 
Warning:  [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] You are using an older version of GraalVM or Mandrel : 23.0.4.1-deva441a627. Quarkus currently supports 23.1.0. Please upgrade to this version. ==> expected: <true> but was: <false>

IT main is Metrics related:

Error:    Run 1: ImageMetricsITCase.verifyImageMetrics:15 Multiple Failures (2 failures)
    org.opentest4j.AssertionFailedError: Expected analysis_results.types.reflection to be within range [8927 +- 3%] but was 9208 ==> expected: <true> but was: <false>
    org.opentest4j.AssertionFailedError: Expected analysis_results.fields.jni to be within range [70 +- 1%] but was 72 ==> expected: <true> but was: <false>
Error:    Run 2: ImageMetricsITCase.verifyImageMetrics:15 Multiple Failures (2 failures)
    org.opentest4j.AssertionFailedError: Expected analysis_results.types.reflection to be within range [8927 +- 3%] but was 9208 ==> expected: <true> but was: <false>
    org.opentest4j.AssertionFailedError: Expected analysis_results.fields.jni to be within range [70 +- 1%] but was 72 ==> expected: <true> but was: <false>
Error:    Run 3: ImageMetricsITCase.verifyImageMetrics:15 Multiple Failures (2 failures)
    org.opentest4j.AssertionFailedError: Expected analysis_results.types.reflection to be within range [8927 +- 3%] but was 9208 ==> expected: <true> but was: <false>
    org.opentest4j.AssertionFailedError: Expected analysis_results.fields.jni to be within range [70 +- 1%] but was 72 ==> expected: <true> but was: <false>
Error:    Run 4: ImageMetricsITCase.verifyImageMetrics:15 Multiple Failures (2 failures)
    org.opentest4j.AssertionFailedError: Expected analysis_results.types.reflection to be within range [8927 +- 3%] but was 9208 ==> expected: <true> but was: <false>
    org.opentest4j.AssertionFailedError: Expected analysis_results.fields.jni to be within range [70 +- 1%] but was 72 ==> expected: <true> but was: <false>

All of them are unrelated to this update.

jerboaa commented 2 months ago

The build went fine though, it's just the warning caught by the TS log audit.

Yes. Anything lower than 23.1 for quarkus main will produce the warning.