-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Remove org.graalvm.polyglot:polyglot
from classpath when using Mandrel 23.0
#39397
Conversation
org.graalvm.polyglot:polyglot
when using Mandrel 23.0org.graalvm.polyglot:polyglot
from classpath when using Mandrel 23.0
CI run with Mandrel 23.0: https://github.com/graalvm/mandrel/actions/runs/8264180082 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems OK to me. Have you tested this with some polyglot-using app and 23.0?
No, I don't have any such app in mind. CI runs with 23.0 seem to fail with:
But that seems unrelated to this PR, as it manifests in graalvm/mandrel#696 as well. Not sure why that's happening though will need to investigate. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's sort out what I pointed out inline before thinking about merging.
nativeImageRunnerBuildItem.getBuildRunner() | ||
.setup(processInheritIODisabled.isPresent() || processInheritIODisabledBuildItem.isPresent()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we tried hard to avoid calling this over and over? (ping @Karm as he was the one who fought this fight)
Is it possible to somehow get this information once and for all and propagate it to where it's needed?
There was a change that used an old module name, which then no longer exists for a new build, if the relocations arent also built. It was updated to the new name in #39398 a little while ago, after your run started on the old revision. |
Mandrel 23.0 ships with org.graalvm.polyglot:polyglot embedded and adding it to the classpath results in an error.
6a8a66f
to
4f06887
Compare
Thank you @gemmellr. I rebased and rescheduled a Mandrel 23.0 CI run: https://github.com/graalvm/mandrel/actions/runs/8267091725 |
Status for workflow
|
Status | Name | Step | Failures | Logs | Raw logs | Build scan |
---|---|---|---|---|---|---|
✔️ | JVM Tests - JDK 17 | Logs | Raw logs | 🚧 | ||
✖ | JVM Tests - JDK 17 Windows | Build |
Failures | Logs | Raw logs | 🚧 |
✔️ | JVM Tests - JDK 21 | Logs | Raw logs | 🚧 |
Full information is available in the Build summary check run.
Failures
⚙️ JVM Tests - JDK 17 Windows #
- Failing: extensions/qute/deployment
! Skipped: devtools/cli extensions/mailer/deployment extensions/resteasy-classic/resteasy-qute/deployment and 6 more
📦 extensions/qute/deployment
✖ io.quarkus.qute.deployment.devmode.NoRestartTemplatesDevModeTest.testNoRestartTemplates
line 49
- History - More details - Source on GitHub
org.opentest4j.AssertionFailedError: expected: <Hello f7ade625-b05d-4ffe-938b-cf93a82da4cc!!!> but was: <Hello 0fecb741-6f17-4589-92e9-ff4132485736!!!>
at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
at org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197)
at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:177)
at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1145)
at io.quarkus.qute.deployment.devmode.NoRestartTemplatesDevModeTest.testNoRestartTemplates(NoRestartTemplatesDevModeTest.java:49)
Flaky tests - Develocity
⚙️ Maven Tests - JDK 17
📦 integration-tests/maven
✖ io.quarkus.maven.it.DevMojoIT.testThatNewResourcesAreServed
- History
io.quarkus.maven.it.DevMojoIT expected "c19d1ec8-e685-46a6-861c-178f0fa7fd2e" but was "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua." within 2 minutes.
-org.awaitility.core.ConditionTimeoutException
org.awaitility.core.ConditionTimeoutException: io.quarkus.maven.it.DevMojoIT expected "c19d1ec8-e685-46a6-861c-178f0fa7fd2e" but was "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua." within 2 minutes.
at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
at org.awaitility.core.AbstractHamcrestCondition.await(AbstractHamcrestCondition.java:86)
at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:985)
at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:691)
at io.quarkus.maven.it.DevMojoIT.testThatNewResourcesAreServed(DevMojoIT.java:967)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
io.quarkus.maven.it.DevMojoIT expected "1544af78-256d-4d59-99df-ec87ab5a34de" but was "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua." within 2 minutes.
-org.awaitility.core.ConditionTimeoutException
org.awaitility.core.ConditionTimeoutException: io.quarkus.maven.it.DevMojoIT expected "1544af78-256d-4d59-99df-ec87ab5a34de" but was "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua." within 2 minutes.
at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
at org.awaitility.core.AbstractHamcrestCondition.await(AbstractHamcrestCondition.java:86)
at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:985)
at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:691)
at io.quarkus.maven.it.DevMojoIT.testThatNewResourcesAreServed(DevMojoIT.java:967)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
io.quarkus.maven.it.DevMojoIT expected "7ddce704-900c-4547-a76f-98b36dde9dae" but was "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua." within 2 minutes.
-org.awaitility.core.ConditionTimeoutException
org.awaitility.core.ConditionTimeoutException: io.quarkus.maven.it.DevMojoIT expected "7ddce704-900c-4547-a76f-98b36dde9dae" but was "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua." within 2 minutes.
at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
at org.awaitility.core.AbstractHamcrestCondition.await(AbstractHamcrestCondition.java:86)
at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:985)
at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:691)
at io.quarkus.maven.it.DevMojoIT.testThatNewResourcesAreServed(DevMojoIT.java:967)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
✖ io.quarkus.maven.it.DevMojoIT.testThatNewResourcesAreServed
- History
io.quarkus.maven.it.DevMojoIT expected "c19d1ec8-e685-46a6-861c-178f0fa7fd2e" but was "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua." within 2 minutes.
-org.awaitility.core.ConditionTimeoutException
org.awaitility.core.ConditionTimeoutException: io.quarkus.maven.it.DevMojoIT expected "c19d1ec8-e685-46a6-861c-178f0fa7fd2e" but was "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua." within 2 minutes.
at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
at org.awaitility.core.AbstractHamcrestCondition.await(AbstractHamcrestCondition.java:86)
at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:985)
at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:691)
at io.quarkus.maven.it.DevMojoIT.testThatNewResourcesAreServed(DevMojoIT.java:967)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
io.quarkus.maven.it.DevMojoIT expected "1544af78-256d-4d59-99df-ec87ab5a34de" but was "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua." within 2 minutes.
-org.awaitility.core.ConditionTimeoutException
org.awaitility.core.ConditionTimeoutException: io.quarkus.maven.it.DevMojoIT expected "1544af78-256d-4d59-99df-ec87ab5a34de" but was "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua." within 2 minutes.
at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
at org.awaitility.core.AbstractHamcrestCondition.await(AbstractHamcrestCondition.java:86)
at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:985)
at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:691)
at io.quarkus.maven.it.DevMojoIT.testThatNewResourcesAreServed(DevMojoIT.java:967)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
io.quarkus.maven.it.DevMojoIT expected "7ddce704-900c-4547-a76f-98b36dde9dae" but was "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua." within 2 minutes.
-org.awaitility.core.ConditionTimeoutException
org.awaitility.core.ConditionTimeoutException: io.quarkus.maven.it.DevMojoIT expected "7ddce704-900c-4547-a76f-98b36dde9dae" but was "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua." within 2 minutes.
at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
at org.awaitility.core.AbstractHamcrestCondition.await(AbstractHamcrestCondition.java:86)
at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:985)
at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:691)
at io.quarkus.maven.it.DevMojoIT.testThatNewResourcesAreServed(DevMojoIT.java:967)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Closing in favor of #39442 as discussed in #39440 (comment) |
Mandrel 23.0 ships with org.graalvm.polyglot:polyglot embedded and
adding it to the classpath results in an error.
Closes #39322
@jerboaa please review.