Upgrade apicurio registry to 3
Summary
- Upgrade Apicurio Registry from 2.6.x to 3.1.2
- Update default dev service image to 3.1.2
- Migrate extension code to use v3 APIs (RegistryClientFacadeFactory instead of AbstractSchemaResolver)
- Add log level configuration to suppress verbose INFO messages from Apicurio client
- Fix native compilation by removing non-existent strategy classes from reflection config
- Update integration tests to work with v3 libraries while maintaining v2 compatibility mode
- Added a migration process document with the required changes for existing applications
Breaking Changes
Schema ID format changed from 8-byte (v2) to 4-byte (v3). Users migrating from v2 must add: mp.messaging.connector.smallrye-kafka.apicurio.registry.id-handler=io.apicurio.registry.serde.Legacy8ByteIdHandler
Related Issues
- Closes: https://github.com/quarkusio/quarkus/issues/51008
: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 ef7c269640f66d70af6f1f46396b3f0fe7d9cbbf.
Failing Jobs
| Status | Name | Step | Failures | Logs | Raw logs | Build scan |
|---|---|---|---|---|---|---|
| :x: | Documentation Build | Build |
:warning: Check → | Logs | Raw logs | :construction: |
: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 ef7c269640f66d70af6f1f46396b3f0fe7d9cbbf.
Failing Jobs
| Status | Name | Step | Failures | Logs | Raw logs | Build scan |
|---|---|---|---|---|---|---|
| :x: | Initial JDK 17 Build | Populate the .m2 repository (for cache and for shipping to follow-up builds) |
:warning: Check → | Logs | Raw logs | :construction: |
: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 18ad57f4c08c91fa5dd2208d9869150f2874dcf5.
: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.
🎊 PR Preview 2e399f54b5d5894f54b1f4b0b14fde828bd34c14 has been successfully built and deployed to https://quarkus-pr-main-51401-preview.surge.sh/version/main/guides/
- Images of blog posts older than 3 months are not available.
- Newsletters older than 3 months are not available.
: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 39c2799d2e19a73e081baf31a3e46692ff73fb80.
: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.
: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 39c2799d2e19a73e081baf31a3e46692ff73fb80.
Failing Jobs
| Status | Name | Step | Failures | Logs | Raw logs | Build scan |
|---|---|---|---|---|---|---|
| :x: | JVM Tests - JDK 17 | Build |
Failures | Logs | Raw logs | :construction: |
| :x: | JVM Tests - JDK 21 | Build |
Failures | Logs | Raw logs | :construction: |
| :heavy_check_mark: | JVM Tests - JDK 21 Semeru | Logs | Raw logs | :construction: | ||
| :heavy_check_mark: | JVM Tests - JDK 25 | Logs | Raw logs | :construction: | ||
| :x: | Native Tests - Messaging1 | Build |
Failures | Logs | Raw logs | :mag: |
| :x: | JVM Integration Tests - JDK 17 | Build |
Failures | Logs | Raw logs | :construction: |
| :heavy_check_mark: | JVM Integration Tests - JDK 17 Windows | Logs | Raw logs | :construction: | ||
| :x: | JVM Integration Tests - JDK 21 | Build |
Failures | Logs | Raw logs | :construction: |
| :x: | JVM Integration Tests - JDK 21 Semeru | Build |
Failures | Logs | Raw logs | :construction: |
| :x: | JVM Integration Tests - JDK 25 | Build |
Failures | Logs | Raw logs | :construction: |
Full information is available in the Build summary check run. You can consult the Develocity build scans.
Failures
:gear: JVM Tests - JDK 17 #
- Failing: devtools/gradle/gradle-application-plugin
:package: devtools/gradle/gradle-application-plugin
:x: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.6.2:exec (gradle) on project io.quarkus.gradle.plugin: Command execution failed.
:gear: JVM Tests - JDK 21 #
- Failing: devtools/gradle/gradle-application-plugin
:package: devtools/gradle/gradle-application-plugin
:x: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.6.2:exec (gradle) on project io.quarkus.gradle.plugin: Command execution failed.
:gear: Native Tests - Messaging1 #
- Failing: integration-tests/kafka-avro-apicurio2 integration-tests/kafka-json-schema-apicurio2
:package: integration-tests/kafka-avro-apicurio2
:x: Failed to execute goal io.quarkus:quarkus-maven-plugin:999-SNAPSHOT:build (default) on project quarkus-integration-test-kafka-avro-apicurio2: Failed to build quarkus application
:package: integration-tests/kafka-json-schema-apicurio2
:x: Failed to execute goal io.quarkus:quarkus-maven-plugin:999-SNAPSHOT:build (default) on project quarkus-integration-test-kafka-json-schema-apicurio2: Failed to build quarkus application
:gear: JVM Integration Tests - JDK 17 #
- Failing: integration-tests/kafka-json-schema-apicurio2
:package: integration-tests/kafka-json-schema-apicurio2
:x: io.quarkus.it.kafka.KafkaJsonSchemaTest.testApicurioJsonSchemaConsumer - History - More details - Source on GitHub
java.lang.RuntimeException:
com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "details" (class io.quarkus.it.kafka.jsonschema.Pet), not marked as ignorable (2 known properties: "name", "color"])
at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 1, column: 13] (through reference chain: io.quarkus.it.kafka.jsonschema.Pet["details"])
at io.restassured.internal.path.json.mapping.JsonPathJackson2ObjectDeserializer.deserialize(JsonPathJackson2ObjectDeserializer.java:30)
at io.restassured.path.json.mapping.JsonPathObjectDeserializer$deserialize.call(Unknown Source)
at io.restassured.internal.mapping.Jackson2Mapper.deserialize(Jackson2Mapper.groovy:58)
at io.restassured.mapper.ObjectMapper$deserialize.call(Unknown Source)
at io.restassured.internal.mapping.ObjectMapping.parseWithJackson2(ObjectMapping.groovy:254)
:x: io.quarkus.it.kafka.KafkaJsonSchemaTest.testApicurioJsonSchemaProducer - History - More details - Source on GitHub
java.lang.ClassCastException: class com.fasterxml.jackson.databind.node.ObjectNode cannot be cast to class io.quarkus.it.kafka.jsonschema.Pet (com.fasterxml.jackson.databind.node.ObjectNode is in unnamed module of loader io.quarkus.bootstrap.classloading.QuarkusClassLoader @5bd3ca3c; io.quarkus.it.kafka.jsonschema.Pet is in unnamed module of loader io.quarkus.bootstrap.classloading.QuarkusClassLoader @7c013560)
at io.quarkus.it.kafka.KafkaJsonSchemaTestBase.testJsonSchemaProducer(KafkaJsonSchemaTestBase.java:67)
at io.quarkus.it.kafka.KafkaJsonSchemaTestBase.testApicurioJsonSchemaProducer(KafkaJsonSchemaTestBase.java:36)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at io.quarkus.test.junit.QuarkusTestExtension.runExtensionMethod(QuarkusTestExtension.java:995)
at io.quarkus.test.junit.QuarkusTestExtension.interceptTestMethod(QuarkusTestExtension.java:843)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(Arr...
:gear: JVM Integration Tests - JDK 21 #
- Failing: integration-tests/kafka-json-schema-apicurio2
:package: integration-tests/kafka-json-schema-apicurio2
:x: io.quarkus.it.kafka.KafkaJsonSchemaTest.testApicurioJsonSchemaConsumer - History - More details - Source on GitHub
java.lang.RuntimeException:
com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "details" (class io.quarkus.it.kafka.jsonschema.Pet), not marked as ignorable (2 known properties: "name", "color"])
at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 1, column: 13] (through reference chain: io.quarkus.it.kafka.jsonschema.Pet["details"])
at io.restassured.internal.path.json.mapping.JsonPathJackson2ObjectDeserializer.deserialize(JsonPathJackson2ObjectDeserializer.java:30)
at io.restassured.path.json.mapping.JsonPathObjectDeserializer$deserialize.call(Unknown Source)
at io.restassured.internal.mapping.Jackson2Mapper.deserialize(Jackson2Mapper.groovy:58)
at io.restassured.mapper.ObjectMapper$deserialize.call(Unknown Source)
at io.restassured.internal.mapping.ObjectMapping.parseWithJackson2(ObjectMapping.groovy:254)
:x: io.quarkus.it.kafka.KafkaJsonSchemaTest.testApicurioJsonSchemaProducer - History - More details - Source on GitHub
java.lang.ClassCastException: class com.fasterxml.jackson.databind.node.ObjectNode cannot be cast to class io.quarkus.it.kafka.jsonschema.Pet (com.fasterxml.jackson.databind.node.ObjectNode is in unnamed module of loader io.quarkus.bootstrap.classloading.QuarkusClassLoader @534d0e20; io.quarkus.it.kafka.jsonschema.Pet is in unnamed module of loader io.quarkus.bootstrap.classloading.QuarkusClassLoader @6dbdbb69)
at io.quarkus.it.kafka.KafkaJsonSchemaTestBase.testJsonSchemaProducer(KafkaJsonSchemaTestBase.java:67)
at io.quarkus.it.kafka.KafkaJsonSchemaTestBase.testApicurioJsonSchemaProducer(KafkaJsonSchemaTestBase.java:36)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at io.quarkus.test.junit.QuarkusTestExtension.runExtensionMethod(QuarkusTestExtension.java:995)
at io.quarkus.test.junit.QuarkusTestExtension.interceptTestMethod(QuarkusTestExtension.java:843)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at java.base/java.util.ArrayList.forEach(Arr...
:gear: JVM Integration Tests - JDK 21 Semeru #
- Failing: integration-tests/kafka-json-schema-apicurio2
:package: integration-tests/kafka-json-schema-apicurio2
:x: io.quarkus.it.kafka.KafkaJsonSchemaTest.testApicurioJsonSchemaConsumer - History - More details - Source on GitHub
java.lang.RuntimeException:
com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "details" (class io.quarkus.it.kafka.jsonschema.Pet), not marked as ignorable (2 known properties: "name", "color"])
at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 1, column: 13] (through reference chain: io.quarkus.it.kafka.jsonschema.Pet["details"])
at io.restassured.internal.path.json.mapping.JsonPathJackson2ObjectDeserializer.deserialize(JsonPathJackson2ObjectDeserializer.java:30)
at io.restassured.path.json.mapping.JsonPathObjectDeserializer$deserialize.call(Unknown Source)
at io.restassured.internal.mapping.Jackson2Mapper.deserialize(Jackson2Mapper.groovy:58)
at io.restassured.mapper.ObjectMapper$deserialize.call(Unknown Source)
at io.restassured.internal.mapping.ObjectMapping.parseWithJackson2(ObjectMapping.groovy:254)
:x: io.quarkus.it.kafka.KafkaJsonSchemaTest.testApicurioJsonSchemaProducer - History - More details - Source on GitHub
java.lang.ClassCastException: com.fasterxml.jackson.databind.node.ObjectNode incompatible with io.quarkus.it.kafka.jsonschema.Pet
at io.quarkus.it.kafka.KafkaJsonSchemaTestBase.testJsonSchemaProducer(KafkaJsonSchemaTestBase.java:67)
at io.quarkus.it.kafka.KafkaJsonSchemaTestBase.testApicurioJsonSchemaProducer(KafkaJsonSchemaTestBase.java:36)
at java.base/java.lang.reflect.Method.invoke(Method.java:586)
at io.quarkus.test.junit.QuarkusTestExtension.runExtensionMethod(QuarkusTestExtension.java:995)
at io.quarkus.test.junit.QuarkusTestExtension.interceptTestMethod(QuarkusTestExtension.java:843)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
:gear: JVM Integration Tests - JDK 25 #
- Failing: integration-tests/kafka-json-schema-apicurio2
:package: integration-tests/kafka-json-schema-apicurio2
:x: io.quarkus.it.kafka.KafkaJsonSchemaTest.testApicurioJsonSchemaConsumer - History - More details - Source on GitHub
java.lang.RuntimeException:
com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "details" (class io.quarkus.it.kafka.jsonschema.Pet), not marked as ignorable (2 known properties: "name", "color"])
at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 1, column: 13] (through reference chain: io.quarkus.it.kafka.jsonschema.Pet["details"])
at io.restassured.internal.path.json.mapping.JsonPathJackson2ObjectDeserializer.deserialize(JsonPathJackson2ObjectDeserializer.java:30)
at io.restassured.path.json.mapping.JsonPathObjectDeserializer$deserialize.call(Unknown Source)
at io.restassured.internal.mapping.Jackson2Mapper.deserialize(Jackson2Mapper.groovy:58)
at io.restassured.mapper.ObjectMapper$deserialize.call(Unknown Source)
at io.restassured.internal.mapping.ObjectMapping.parseWithJackson2(ObjectMapping.groovy:254)
:x: io.quarkus.it.kafka.KafkaJsonSchemaTest.testApicurioJsonSchemaProducer - History - More details - Source on GitHub
java.lang.ClassCastException: class com.fasterxml.jackson.databind.node.ObjectNode cannot be cast to class io.quarkus.it.kafka.jsonschema.Pet (com.fasterxml.jackson.databind.node.ObjectNode is in unnamed module of loader io.quarkus.bootstrap.classloading.QuarkusClassLoader @2e40fdbd; io.quarkus.it.kafka.jsonschema.Pet is in unnamed module of loader io.quarkus.bootstrap.classloading.QuarkusClassLoader @6dd1f239)
at io.quarkus.it.kafka.KafkaJsonSchemaTestBase.testJsonSchemaProducer(KafkaJsonSchemaTestBase.java:67)
at io.quarkus.it.kafka.KafkaJsonSchemaTestBase.testApicurioJsonSchemaProducer(KafkaJsonSchemaTestBase.java:36)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at io.quarkus.test.junit.QuarkusTestExtension.runExtensionMethod(QuarkusTestExtension.java:995)
at io.quarkus.test.junit.QuarkusTestExtension.interceptTestMethod(QuarkusTestExtension.java:843)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1604)
at java.base/java.util.ArrayList.forEach(Arr...
Flaky tests - Develocity
:gear: JVM Tests - JDK 21
:package: extensions/smallrye-reactive-messaging/deployment
:x: io.quarkus.smallrye.reactivemessaging.hotreload.ConnectorChangeTest.testUpdatingConnector - History
Expecting actual: ["-3","-4","-6","-7","-8","-9","-10","-11"] to start with: ["-3", "-4", "-5", "-6"]-java.lang.AssertionError
java.lang.AssertionError:
Expecting actual:
["-3","-4","-6","-7","-8","-9","-10","-11"]
to start with:
["-3", "-4", "-5", "-6"]
at io.quarkus.smallrye.reactivemessaging.hotreload.ConnectorChangeTest.testUpdatingConnector(ConnectorChangeTest.java:36)
Expecting actual: ["-4","-5","-6","-7","-8","-9","-10","-11"] to start with: ["-3", "-4", "-5", "-6"]-java.lang.AssertionError
java.lang.AssertionError:
Expecting actual:
["-4","-5","-6","-7","-8","-9","-10","-11"]
to start with:
["-3", "-4", "-5", "-6"]
at io.quarkus.smallrye.reactivemessaging.hotreload.ConnectorChangeTest.testUpdatingConnector(ConnectorChangeTest.java:36)
Expecting actual: ["-4","-5","-6","-7","-8","-9","-10","-11"] to start with: ["-3", "-4", "-5", "-6"]-java.lang.AssertionError
java.lang.AssertionError:
Expecting actual:
["-4","-5","-6","-7","-8","-9","-10","-11"]
to start with:
["-3", "-4", "-5", "-6"]
at io.quarkus.smallrye.reactivemessaging.hotreload.ConnectorChangeTest.testUpdatingConnector(ConnectorChangeTest.java:36)
:gear: MicroProfile TCKs Tests
:package: tcks/microprofile-lra
:x: org.eclipse.microprofile.lra.tck.TckRecoveryTests.testCancelWhenParticipantIsUnavailable - History
Expecting the metric Compensated callback was called Expected: a value equal to or greater than <1> but: <0> was less than <1>-java.lang.AssertionError
java.lang.AssertionError:
Expecting the metric Compensated callback was called
Expected: a value equal to or greater than <1>
but: <0> was less than <1>
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
at org.eclipse.microprofile.lra.tck.TckRecoveryTests.assertMetricCallbackCalled(TckRecoveryTests.java:210)
at org.eclipse.microprofile.lra.tck.TckRecoveryTests.testCancelWhenParticipantIsUnavailable(TckRecoveryTests.java:195)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
:gear: JVM Integration Tests - JDK 17
:package: integration-tests/oidc-wiremock
:x: io.quarkus.it.keycloak.CodeFlowAuthorizationTest.testCodeFlowUserInfoCachedInIdToken - History
expected: <true> but was: <false>-org.opentest4j.AssertionFailedError
org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
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.AssertTrue.failNotTrue(AssertTrue.java:63)
at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:31)
at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:183)
at io.quarkus.it.keycloak.CodeFlowAuthorizationTest.testCodeFlowUserInfoCachedInIdToken(CodeFlowAuthorizationTest.java:431)
@carlesarnal there are some CI issues that I think are related to your changes. See the reports.
@carlesarnal I've pushed 2 commits that fixes the issues. Please check them to see if they are ok with you.
One bumps the Apicurio version to 3.1.4 with the latest handling of Vert.x instance. And fixes the native compilation issues. Other one adds a config property to clients created in Json schema tests.
Status for workflow Quarkus Documentation CI
This is the status report for running Quarkus Documentation CI on commit e309133a88bbe99aa3dbf9de9ca7d472ee88d3f9.
: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.
: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 e309133a88bbe99aa3dbf9de9ca7d472ee88d3f9.
Failing Jobs
| Status | Name | Step | Failures | Logs | Raw logs | Build scan |
|---|---|---|---|---|---|---|
| :x: | Native Tests - Observability | 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: Native Tests - Observability #
- Failing: integration-tests/opentelemetry-jdbc-instrumentation integration-tests/opentelemetry-redis-instrumentation
:package: integration-tests/opentelemetry-jdbc-instrumentation
:x: Failed to execute goal io.fabric8:docker-maven-plugin:0.48.0:start (docker-start) on project quarkus-integration-test-opentelemetry-jdbc-instrumentation: I/O Error
:package: integration-tests/opentelemetry-redis-instrumentation
:x: io.quarkus.it.opentelemetry.QuarkusOpenTelemetryRedisIT.reactiveValidOperation - History - More details - Source on GitHub
java.lang.RuntimeException: java.util.concurrent.CompletionException: org.testcontainers.containers.ContainerFetchException: Can't get Docker image: RemoteDockerImage(imageName=docker.io/library/redis:7, imagePullPolicy=DefaultPullPolicy(), imageNameSubstitutor=org.testcontainers.utility.ImageNameSubstitutor$LogWrappedImageNameSubstitutor@56046a58)
at io.quarkus.test.junit.QuarkusIntegrationTestExtension.throwBootFailureException(QuarkusIntegrationTestExtension.java:345)
at io.quarkus.test.junit.QuarkusIntegrationTestExtension.beforeEach(QuarkusIntegrationTestExtension.java:113)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.util.concurrent.CompletionException: org.testcontainers.containers.ContainerFetchException: Can't get Docker image: RemoteDockerImage(imageName=docker.io/library/redis:7, imagePullPolicy=DefaultPullPolicy(), imageNameSubstitutor=org.testcontainers.utility.ImageNameSu...
Flaky tests - Develocity
:gear: JVM Tests - JDK 21 Semeru
:package: extensions/micrometer-opentelemetry/deployment
:x: io.quarkus.micrometer.opentelemetry.deployment.compatibility.MicrometerTimedInterceptorTest.testTimeMethod_AsyncFailed - History
Stream has no elements-java.lang.IllegalArgumentException
java.lang.IllegalArgumentException: Stream has no elements
at io.quarkus.micrometer.opentelemetry.deployment.common.MetricDataFilter.lambda$lastReading$2(MetricDataFilter.java:213)
at java.base/java.util.Optional.orElseThrow(Optional.java:403)
at io.quarkus.micrometer.opentelemetry.deployment.common.MetricDataFilter.lastReading(MetricDataFilter.java:213)
at io.quarkus.micrometer.opentelemetry.deployment.common.MetricDataFilter.lastReadingDataPoint(MetricDataFilter.java:231)
at io.quarkus.micrometer.opentelemetry.deployment.compatibility.MicrometerTimedInterceptorTest.testTimeMethod_AsyncFailed(MicrometerTimedInterceptorTest.java:150)
at java.base/java.lang.reflect.Method.invoke(Method.java:586)
at io.quarkus.test.QuarkusUnitTest.runExtensionMethod(QuarkusUnitTest.java:532)
:x: io.quarkus.micrometer.opentelemetry.deployment.compatibility.MicrometerTimedInterceptorTest.testTimeMethod_Failed - History
Stream has no elements-java.lang.IllegalArgumentException
java.lang.IllegalArgumentException: Stream has no elements
at io.quarkus.micrometer.opentelemetry.deployment.common.MetricDataFilter.lastReadingDataPoint(MetricDataFilter.java:236)
at io.quarkus.micrometer.opentelemetry.deployment.compatibility.MicrometerTimedInterceptorTest.testTimeMethod_Failed(MicrometerTimedInterceptorTest.java:100)
at java.base/java.lang.reflect.Method.invoke(Method.java:586)
at io.quarkus.test.QuarkusUnitTest.runExtensionMethod(QuarkusUnitTest.java:532)
at io.quarkus.test.QuarkusUnitTest.interceptTestMethod(QuarkusUnitTest.java:446)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
:gear: MicroProfile TCKs Tests
:package: tcks/microprofile-lra
:x: org.eclipse.microprofile.lra.tck.TckRecoveryTests.testCancelWhenParticipantIsUnavailable - History
Expecting the metric Compensated callback was called Expected: a value equal to or greater than <1> but: <0> was less than <1>-java.lang.AssertionError
java.lang.AssertionError:
Expecting the metric Compensated callback was called
Expected: a value equal to or greater than <1>
but: <0> was less than <1>
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
at org.eclipse.microprofile.lra.tck.TckRecoveryTests.assertMetricCallbackCalled(TckRecoveryTests.java:210)
at org.eclipse.microprofile.lra.tck.TckRecoveryTests.testCancelWhenParticipantIsUnavailable(TckRecoveryTests.java:195)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
@carlesarnal I've pushed 2 commits that fixes the issues. Please check them to see if they are ok with you.
One bumps the Apicurio version to 3.1.4 with the latest handling of Vert.x instance. And fixes the native compilation issues. Other one adds a config property to clients created in Json schema tests.
Yes, they make perfect sense, I was preparing them yesterday but I got distracted by something else, thank you for the changes. There's also the migration guide , where I would really appreciate your review, to ensure a smooth transition for users.
Status for workflow Quarkus CI
This is the status report for running Quarkus CI on commit e309133a88bbe99aa3dbf9de9ca7d472ee88d3f9.
: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.
You can consult the Develocity build scans.
@carlesarnal, the content of the migration guide looks ok. I've two remarks :
- Should we also say that the new client continues to work on the Apicurio v2 schema registry?
- Does this belong to a separate guide or shorter mentions in docs and a longer version in https://github.com/quarkusio/quarkus/wiki/Migration-Guides ?
@carlesarnal, the content of the migration guide looks ok. I've two remarks :
- Should we also say that the new client continues to work on the Apicurio v2 schema registry?
That's probably a good idea, with a disclaimer about the server becoming unmaintained in the future.
- Does this belong to a separate guide or shorter mentions in docs and a longer version in https://github.com/quarkusio/quarkus/wiki/Migration-Guides ?
Up to you, I wanted to contribute the content as soon as possible, and I'm happy to move it wherever needed, but it's ultimately your call.
@carlesarnal sorry I am seeing this now. Is there a guide in the Apicurio docs for migrations from v2 to v3?
@carlesarnal sorry I am seeing this now. Is there a guide in the Apicurio docs for migrations from v2 to v3?
Absolutely, https://www.apicur.io/registry/docs/apicurio-registry/3.1.x/getting-started/assembly-migrating-registry-v2-v3.html