-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run jpa-mapping-xml tests in native mode on CI #18417
Conversation
This workflow status is outdated as a new workflow run has been triggered. Failing Jobs - Building 0675d04
Full information is available in the Build summary check run. Test Failures⚙️ JVM Tests - JDK 16 #📦 extensions/vertx-http/deployment✖ ⚙️ Maven Tests - JDK 11 #📦 integration-tests/maven✖ ⚙️ Native Tests - Data2 #📦 integration-tests/jpa-mapping-xml/modern-app✖ ⚙️ Native Tests - Security3 #📦 integration-tests/vault-agroal✖ ✖ ✖ |
So the error is this:
It seems caused by the classloader containing the same resource twice, once through the JAR and once through the I'll create a reproducer and ask for help from people who actually understand how classloaders are built :) |
Created #18484 to discuss the problem. |
bbb4bd9
to
0bc80f7
Compare
Looks like the only failing tests are unrelated. Can we merge this, please? |
One of the reasons for having dedicated integration test modules for JPA XML mapping was to check that it runs fine in native mode. I ran the tests locally, and they passed locally before I submitted the PR, but I think CI does not run these tests in native mode.
The culprit: I forgot that modules needed to be added to
native-tests.json
in order for CI to run them in native mode.