Skip to content

Serialization support breaks backwwards compatibility with GraalVM/Mandrel 20.3 #18513

@zakkak

Description

@zakkak

Describe the bug

After merging #15380 we observe failures when using GraalVM/Mandrel 20.3.

Expected behavior

Tests should pass.

Actual behavior

Tests fail. See https://github.com/graalvm/mandrel/actions/runs/1006524072 for logs

To Reproduce

Steps to reproduce the behavior:

  1. clone and build latest Quarkus
./mvnw verify -B --settings .github/mvn-settings.xml --fail-at-end -Dtest-containers -Dstart-containers -DfailIfNoTests=false -Dnative-image.xmx=5g -Dnative -Dquarkus.native.container-build=true -Dquarkus.native.builder-image=quay.io/quarkus/ubi-quarkus-mandrel:20.3-java11 -Dnative.surefire.skip -f integration-tests -pl jpa-h2

Environment (please complete the following information):

Key Value
uname -a Linux 5.12.13-300.fc34.x86_64 #1 SMP Wed Jun 23 16:18:11 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
java -version openjdk version "11.0.11" 2021-04-20
OpenJDK Runtime Environment 18.9 (build 11.0.11+9)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.11+9, mixed mode, sharing)
mvnw --version Apache Maven 3.8.1 (05c21c65bdfed0f71a2f2ada8b84da59348c4c5d)
Maven home: /home/zakkak/.m2/wrapper/dists/apache-maven-3.8.1-bin/2l5mhf2pq2clrde7f7qp1rdt5m/apache-maven-3.8.1
Java version: 11.0.11, vendor: Red Hat, Inc., runtime: /usr/lib/jvm/java-11-openjdk-11.0.11.0.9-4.fc34.x86_64
Default locale: en_IE, platform encoding: UTF-8
OS name: "linux", version: "5.12.13-300.fc34.x86_64", arch: "amd64", family: "unix"
Quarkus version 8653634
Mandrel image quay.io/quarkus/ubi-quarkus-mandrel:20.3-java11

Build tool (ie. output of mvnw --version or gradlew --version)

Additional context

Reverting #15380 (see branch https://github.com/zakkak/quarkus/tree/revert-serialization) makes the tests pass https://github.com/graalvm/mandrel/actions/runs/1008436919

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions