quarkus
quarkus copied to clipboard
ArC: support interception of producers and synthetic beans
Fixes #3532
Submitting this as a draft because:
- there are 3 commits that should eventually be squashed into 1
- there are 2 major TODOs in the code that should be solved in one way or another
- documentation is missing
At the same time, I believe this has reached enough maturity and can be reviewed.
After discussing with @mkouba and @manovotn, I made these significant changes:
- interception of producer methods and synthetic beans is proxy-based now
- replaced
InterceptedObjectand@SupportsInterceptionwithInterceptionProxyand@BindingsSource
It turns out that a producer method (as well as a synthetic bean) can now inject multiple different InterceptionProxy instances (although there's one TODO about that in the code).
After discussing with @mkouba and @manovotn, I made these significant changes:
* interception of producer methods and synthetic beans is proxy-based now * replaced `InterceptedObject` and `@SupportsInterception` with `InterceptionProxy` and `@BindingsSource`It turns out that a producer method (as well as a synthetic bean) can now inject multiple different
InterceptionProxyinstances (although there's one TODO about that in the code).
Thanks for working on this! I am planning to give it a deeper look and provide feedback later today or tomorrow.
Also added one extra commit that fixes Types.getParameterizedType() in case of a nested generic class.
Also added documentation in cdi-reference.
🙈 The PR is closed and the preview is expired.
I have updated SubclassGenerator to remove a substantial part of duplicate code. The InterceptionProxyGenerator still has 200 lines for generating the interception subclass, which is a lot, but I don't think I can remove the duplicity without making a big mess. Ideas welcome.
Also marked this PR as ready for review.
:waning_crescent_moon: This workflow status is outdated as a new workflow run has been triggered.
Status for workflow Quarkus Documentation CI
This is the status report for running Quarkus Documentation CI on commit 96ad0a234ed258c95d3ce20de38773aca9d95da4.
:white_check_mark: The latest workflow run for the pull request has completed successfully.
It should be safe to merge provided you have a look at the other checks in the summary.
:warning: There are other workflow runs running, you probably need to wait for their status before merging.
This needs a rebase
Rebased and resolved the docs conflict.
🙏🏼
:waning_crescent_moon: This workflow status is outdated as a new workflow run has been triggered.
Status for workflow Quarkus Documentation CI
This is the status report for running Quarkus Documentation CI on commit a7079014f9b03acd35ec2cdb1d9be4c965ddbac6.
:white_check_mark: The latest workflow run for the pull request has completed successfully.
It should be safe to merge provided you have a look at the other checks in the summary.
:warning: There are other workflow runs running, you probably need to wait for their status before merging.
@mkouba @manovotn could you please take another look? Thanks!
:waning_crescent_moon: This workflow status is outdated as a new workflow run has been triggered.
Status for workflow Quarkus CI
This is the status report for running Quarkus CI on commit a7079014f9b03acd35ec2cdb1d9be4c965ddbac6.
Failing Jobs
| Status | Name | Step | Failures | Logs | Raw logs | Build scan |
|---|---|---|---|---|---|---|
| ✖ | JVM Tests - JDK 17 | Build |
Failures | Logs | Raw logs | :mag: |
| ✖ | JVM Tests - JDK 21 | Build |
Failures | Logs | Raw logs | :mag: |
Full information is available in the Build summary check run. You can consult the Develocity build scans.
Failures
:gear: JVM Tests - JDK 17 #
- Failing: integration-tests/opentelemetry-vertx-exporter
:package: integration-tests/opentelemetry-vertx-exporter
✖ io.quarkus.it.opentelemetry.vertx.exporter.grpc.GrpcNoTLSNoCompressionTest.test - History - More details - Source on GitHub
java.lang.RuntimeException: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.vertx.exporter.OtelCollectorLifecycleManager
at io.quarkus.test.junit.QuarkusTestExtension.throwBootFailureException(QuarkusTestExtension.java:634)
at io.quarkus.test.junit.QuarkusTestExtension.interceptTestClassConstructor(QuarkusTestExtension.java:718)
at java.base/java.util.Optional.orElseGet(Optional.java:364)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.vertx.exporter.OtelCollectorLifecycleManager
at io.quarkus.test.common.TestResourceManager$TestResourceEntryRunnable.run(TestResourceManager.java:548)
✖ io.quarkus.it.opentelemetry.vertx.exporter.grpc.GrpcNoTLSWithCompressionTest.test - History - More details - Source on GitHub
java.lang.RuntimeException: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.vertx.exporter.OtelCollectorLifecycleManager
at io.quarkus.test.junit.QuarkusTestExtension.throwBootFailureException(QuarkusTestExtension.java:634)
at io.quarkus.test.junit.QuarkusTestExtension.interceptTestClassConstructor(QuarkusTestExtension.java:718)
at java.base/java.util.Optional.orElseGet(Optional.java:364)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.vertx.exporter.OtelCollectorLifecycleManager
at io.quarkus.test.common.TestResourceManager$TestResourceEntryRunnable.run(TestResourceManager.java:548)
✖ io.quarkus.it.opentelemetry.vertx.exporter.grpc.GrpcWithTLSNoCompressionTest.test - History - More details - Source on GitHub
java.lang.RuntimeException: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.vertx.exporter.OtelCollectorLifecycleManager
at io.quarkus.test.junit.QuarkusTestExtension.throwBootFailureException(QuarkusTestExtension.java:634)
at io.quarkus.test.junit.QuarkusTestExtension.interceptTestClassConstructor(QuarkusTestExtension.java:718)
at java.base/java.util.Optional.orElseGet(Optional.java:364)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.vertx.exporter.OtelCollectorLifecycleManager
at io.quarkus.test.common.TestResourceManager$TestResourceEntryRunnable.run(TestResourceManager.java:548)
✖ io.quarkus.it.opentelemetry.vertx.exporter.grpc.GrpcWithTLSWithCompressionTest.test - History - More details - Source on GitHub
java.lang.RuntimeException: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.vertx.exporter.OtelCollectorLifecycleManager
at io.quarkus.test.junit.QuarkusTestExtension.throwBootFailureException(QuarkusTestExtension.java:634)
at io.quarkus.test.junit.QuarkusTestExtension.interceptTestClassConstructor(QuarkusTestExtension.java:718)
at java.base/java.util.Optional.orElseGet(Optional.java:364)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.vertx.exporter.OtelCollectorLifecycleManager
at io.quarkus.test.common.TestResourceManager$TestResourceEntryRunnable.run(TestResourceManager.java:548)
✖ io.quarkus.it.opentelemetry.vertx.exporter.grpc.GrpcWithTLSWithTrustAllWithCompressionTest.test - History - More details - Source on GitHub
java.lang.RuntimeException: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.vertx.exporter.OtelCollectorLifecycleManager
at io.quarkus.test.junit.QuarkusTestExtension.throwBootFailureException(QuarkusTestExtension.java:634)
at io.quarkus.test.junit.QuarkusTestExtension.interceptTestClassConstructor(QuarkusTestExtension.java:718)
at java.base/java.util.Optional.orElseGet(Optional.java:364)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.vertx.exporter.OtelCollectorLifecycleManager
at io.quarkus.test.common.TestResourceManager$TestResourceEntryRunnable.run(TestResourceManager.java:548)
✖ io.quarkus.it.opentelemetry.vertx.exporter.http.HttpNoTLSNoCompressionTest.test - History - More details - Source on GitHub
java.lang.RuntimeException: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.vertx.exporter.OtelCollectorLifecycleManager
at io.quarkus.test.junit.QuarkusTestExtension.throwBootFailureException(QuarkusTestExtension.java:634)
at io.quarkus.test.junit.QuarkusTestExtension.interceptTestClassConstructor(QuarkusTestExtension.java:718)
at java.base/java.util.Optional.orElseGet(Optional.java:364)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.vertx.exporter.OtelCollectorLifecycleManager
at io.quarkus.test.common.TestResourceManager$TestResourceEntryRunnable.run(TestResourceManager.java:548)
✖ io.quarkus.it.opentelemetry.vertx.exporter.http.HttpNoTLSWithCompressionTest.test - History - More details - Source on GitHub
java.lang.RuntimeException: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.vertx.exporter.OtelCollectorLifecycleManager
at io.quarkus.test.junit.QuarkusTestExtension.throwBootFailureException(QuarkusTestExtension.java:634)
at io.quarkus.test.junit.QuarkusTestExtension.interceptTestClassConstructor(QuarkusTestExtension.java:718)
at java.base/java.util.Optional.orElseGet(Optional.java:364)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.vertx.exporter.OtelCollectorLifecycleManager
at io.quarkus.test.common.TestResourceManager$TestResourceEntryRunnable.run(TestResourceManager.java:548)
✖ io.quarkus.it.opentelemetry.vertx.exporter.http.HttpWithTLSNoCompressionTest.test - History - More details - Source on GitHub
java.lang.RuntimeException: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.vertx.exporter.OtelCollectorLifecycleManager
at io.quarkus.test.junit.QuarkusTestExtension.throwBootFailureException(QuarkusTestExtension.java:634)
at io.quarkus.test.junit.QuarkusTestExtension.interceptTestClassConstructor(QuarkusTestExtension.java:718)
at java.base/java.util.Optional.orElseGet(Optional.java:364)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.vertx.exporter.OtelCollectorLifecycleManager
at io.quarkus.test.common.TestResourceManager$TestResourceEntryRunnable.run(TestResourceManager.java:548)
✖ io.quarkus.it.opentelemetry.vertx.exporter.http.HttpWithTLSWithCompressionTest.test - History - More details - Source on GitHub
java.lang.RuntimeException: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.vertx.exporter.OtelCollectorLifecycleManager
at io.quarkus.test.junit.QuarkusTestExtension.throwBootFailureException(QuarkusTestExtension.java:634)
at io.quarkus.test.junit.QuarkusTestExtension.interceptTestClassConstructor(QuarkusTestExtension.java:718)
at java.base/java.util.Optional.orElseGet(Optional.java:364)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.vertx.exporter.OtelCollectorLifecycleManager
at io.quarkus.test.common.TestResourceManager$TestResourceEntryRunnable.run(TestResourceManager.java:548)
✖ io.quarkus.it.opentelemetry.vertx.exporter.http.HttpWithTLSWithCompressionUsingRegistryTest.test - History - More details - Source on GitHub
java.lang.RuntimeException: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.vertx.exporter.OtelCollectorLifecycleManager
at io.quarkus.test.junit.QuarkusTestExtension.throwBootFailureException(QuarkusTestExtension.java:634)
at io.quarkus.test.junit.QuarkusTestExtension.interceptTestClassConstructor(QuarkusTestExtension.java:718)
at java.base/java.util.Optional.orElseGet(Optional.java:364)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.vertx.exporter.OtelCollectorLifecycleManager
at io.quarkus.test.common.TestResourceManager$TestResourceEntryRunnable.run(TestResourceManager.java:548)
✖ io.quarkus.it.opentelemetry.vertx.exporter.http.HttpWithTLSWithTrustAllWithCompressionTest.test - History - More details - Source on GitHub
java.lang.RuntimeException: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.vertx.exporter.OtelCollectorLifecycleManager
at io.quarkus.test.junit.QuarkusTestExtension.throwBootFailureException(QuarkusTestExtension.java:634)
at io.quarkus.test.junit.QuarkusTestExtension.interceptTestClassConstructor(QuarkusTestExtension.java:718)
at java.base/java.util.Optional.orElseGet(Optional.java:364)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.vertx.exporter.OtelCollectorLifecycleManager
at io.quarkus.test.common.TestResourceManager$TestResourceEntryRunnable.run(TestResourceManager.java:548)
:gear: JVM Tests - JDK 21 #
- Failing: integration-tests/opentelemetry-vertx-exporter
:package: integration-tests/opentelemetry-vertx-exporter
✖ io.quarkus.it.opentelemetry.vertx.exporter.grpc.GrpcNoTLSNoCompressionTest.test - History - More details - Source on GitHub
java.lang.RuntimeException: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.vertx.exporter.OtelCollectorLifecycleManager
at io.quarkus.test.junit.QuarkusTestExtension.throwBootFailureException(QuarkusTestExtension.java:634)
at io.quarkus.test.junit.QuarkusTestExtension.interceptTestClassConstructor(QuarkusTestExtension.java:718)
at java.base/java.util.Optional.orElseGet(Optional.java:364)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
Caused by: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.vertx.exporter.OtelCollectorLifecycleManager
at io.quarkus.test.common.TestResourceManager$TestResourceEntryRunnable.run(TestResourceManager.java:548)
✖ io.quarkus.it.opentelemetry.vertx.exporter.grpc.GrpcNoTLSWithCompressionTest.test - History - More details - Source on GitHub
java.lang.RuntimeException: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.vertx.exporter.OtelCollectorLifecycleManager
at io.quarkus.test.junit.QuarkusTestExtension.throwBootFailureException(QuarkusTestExtension.java:634)
at io.quarkus.test.junit.QuarkusTestExtension.interceptTestClassConstructor(QuarkusTestExtension.java:718)
at java.base/java.util.Optional.orElseGet(Optional.java:364)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
Caused by: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.vertx.exporter.OtelCollectorLifecycleManager
at io.quarkus.test.common.TestResourceManager$TestResourceEntryRunnable.run(TestResourceManager.java:548)
✖ io.quarkus.it.opentelemetry.vertx.exporter.grpc.GrpcWithTLSNoCompressionTest.test - History - More details - Source on GitHub
java.lang.RuntimeException: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.vertx.exporter.OtelCollectorLifecycleManager
at io.quarkus.test.junit.QuarkusTestExtension.throwBootFailureException(QuarkusTestExtension.java:634)
at io.quarkus.test.junit.QuarkusTestExtension.interceptTestClassConstructor(QuarkusTestExtension.java:718)
at java.base/java.util.Optional.orElseGet(Optional.java:364)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
Caused by: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.vertx.exporter.OtelCollectorLifecycleManager
at io.quarkus.test.common.TestResourceManager$TestResourceEntryRunnable.run(TestResourceManager.java:548)
✖ io.quarkus.it.opentelemetry.vertx.exporter.grpc.GrpcWithTLSWithCompressionTest.test - History - More details - Source on GitHub
java.lang.RuntimeException: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.vertx.exporter.OtelCollectorLifecycleManager
at io.quarkus.test.junit.QuarkusTestExtension.throwBootFailureException(QuarkusTestExtension.java:634)
at io.quarkus.test.junit.QuarkusTestExtension.interceptTestClassConstructor(QuarkusTestExtension.java:718)
at java.base/java.util.Optional.orElseGet(Optional.java:364)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
Caused by: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.vertx.exporter.OtelCollectorLifecycleManager
at io.quarkus.test.common.TestResourceManager$TestResourceEntryRunnable.run(TestResourceManager.java:548)
✖ io.quarkus.it.opentelemetry.vertx.exporter.grpc.GrpcWithTLSWithTrustAllWithCompressionTest.test - History - More details - Source on GitHub
java.lang.RuntimeException: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.vertx.exporter.OtelCollectorLifecycleManager
at io.quarkus.test.junit.QuarkusTestExtension.throwBootFailureException(QuarkusTestExtension.java:634)
at io.quarkus.test.junit.QuarkusTestExtension.interceptTestClassConstructor(QuarkusTestExtension.java:718)
at java.base/java.util.Optional.orElseGet(Optional.java:364)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
Caused by: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.vertx.exporter.OtelCollectorLifecycleManager
at io.quarkus.test.common.TestResourceManager$TestResourceEntryRunnable.run(TestResourceManager.java:548)
✖ io.quarkus.it.opentelemetry.vertx.exporter.http.HttpNoTLSNoCompressionTest.test - History - More details - Source on GitHub
java.lang.RuntimeException: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.vertx.exporter.OtelCollectorLifecycleManager
at io.quarkus.test.junit.QuarkusTestExtension.throwBootFailureException(QuarkusTestExtension.java:634)
at io.quarkus.test.junit.QuarkusTestExtension.interceptTestClassConstructor(QuarkusTestExtension.java:718)
at java.base/java.util.Optional.orElseGet(Optional.java:364)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
Caused by: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.vertx.exporter.OtelCollectorLifecycleManager
at io.quarkus.test.common.TestResourceManager$TestResourceEntryRunnable.run(TestResourceManager.java:548)
✖ io.quarkus.it.opentelemetry.vertx.exporter.http.HttpNoTLSWithCompressionTest.test - History - More details - Source on GitHub
java.lang.RuntimeException: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.vertx.exporter.OtelCollectorLifecycleManager
at io.quarkus.test.junit.QuarkusTestExtension.throwBootFailureException(QuarkusTestExtension.java:634)
at io.quarkus.test.junit.QuarkusTestExtension.interceptTestClassConstructor(QuarkusTestExtension.java:718)
at java.base/java.util.Optional.orElseGet(Optional.java:364)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
Caused by: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.vertx.exporter.OtelCollectorLifecycleManager
at io.quarkus.test.common.TestResourceManager$TestResourceEntryRunnable.run(TestResourceManager.java:548)
✖ io.quarkus.it.opentelemetry.vertx.exporter.http.HttpWithTLSNoCompressionTest.test - History - More details - Source on GitHub
java.lang.RuntimeException: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.vertx.exporter.OtelCollectorLifecycleManager
at io.quarkus.test.junit.QuarkusTestExtension.throwBootFailureException(QuarkusTestExtension.java:634)
at io.quarkus.test.junit.QuarkusTestExtension.interceptTestClassConstructor(QuarkusTestExtension.java:718)
at java.base/java.util.Optional.orElseGet(Optional.java:364)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
Caused by: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.vertx.exporter.OtelCollectorLifecycleManager
at io.quarkus.test.common.TestResourceManager$TestResourceEntryRunnable.run(TestResourceManager.java:548)
✖ io.quarkus.it.opentelemetry.vertx.exporter.http.HttpWithTLSWithCompressionTest.test - History - More details - Source on GitHub
java.lang.RuntimeException: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.vertx.exporter.OtelCollectorLifecycleManager
at io.quarkus.test.junit.QuarkusTestExtension.throwBootFailureException(QuarkusTestExtension.java:634)
at io.quarkus.test.junit.QuarkusTestExtension.interceptTestClassConstructor(QuarkusTestExtension.java:718)
at java.base/java.util.Optional.orElseGet(Optional.java:364)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
Caused by: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.vertx.exporter.OtelCollectorLifecycleManager
at io.quarkus.test.common.TestResourceManager$TestResourceEntryRunnable.run(TestResourceManager.java:548)
✖ io.quarkus.it.opentelemetry.vertx.exporter.http.HttpWithTLSWithCompressionUsingRegistryTest.test - History - More details - Source on GitHub
java.lang.RuntimeException: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.vertx.exporter.OtelCollectorLifecycleManager
at io.quarkus.test.junit.QuarkusTestExtension.throwBootFailureException(QuarkusTestExtension.java:634)
at io.quarkus.test.junit.QuarkusTestExtension.interceptTestClassConstructor(QuarkusTestExtension.java:718)
at java.base/java.util.Optional.orElseGet(Optional.java:364)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
Caused by: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.vertx.exporter.OtelCollectorLifecycleManager
at io.quarkus.test.common.TestResourceManager$TestResourceEntryRunnable.run(TestResourceManager.java:548)
✖ io.quarkus.it.opentelemetry.vertx.exporter.http.HttpWithTLSWithTrustAllWithCompressionTest.test - History - More details - Source on GitHub
java.lang.RuntimeException: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.vertx.exporter.OtelCollectorLifecycleManager
at io.quarkus.test.junit.QuarkusTestExtension.throwBootFailureException(QuarkusTestExtension.java:634)
at io.quarkus.test.junit.QuarkusTestExtension.interceptTestClassConstructor(QuarkusTestExtension.java:718)
at java.base/java.util.Optional.orElseGet(Optional.java:364)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
Caused by: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.vertx.exporter.OtelCollectorLifecycleManager
at io.quarkus.test.common.TestResourceManager$TestResourceEntryRunnable.run(TestResourceManager.java:548)
Status for workflow Quarkus Documentation CI
This is the status report for running Quarkus Documentation CI on commit ed8410f7bf5f40468baee5923ea6d93ee60be0c2.
:white_check_mark: The latest workflow run for the pull request has completed successfully.
It should be safe to merge provided you have a look at the other checks in the summary.
:warning: There are other workflow runs running, you probably need to wait for their status before merging.
I don't quite understand why the MP Telemetry TCK fails. @brunobat any ideas? Is that a known intermittent failure?
Should be intermittent. Looks like the exporter is trying to send data after the shutdown signal is sent, therefore hitting an executor that has been terminated already... We had PRs to fix most these issues, but it seems it wasn't enough.
OK, thanks! Merging this.
We had PRs to fix most these issues, but it seems it wasn't enough.
Interesting...