Conversation
|
/cc @loicmathieu (elasticsearch), @marko-bekhta (elasticsearch) |
bom/application/pom.xml
Outdated
| <testcontainers.version>2.0.2</testcontainers.version> <!-- Make sure to also update docker-java.version to match its needs --> | ||
| <docker-java.version>3.4.2</docker-java.version> <!-- must be the version Testcontainers use: https://central.sonatype.com/artifact/org.testcontainers/testcontainers --> | ||
| <!-- Check the compatibility matrix (https://github.com/opensearch-project/opensearch-testcontainers) before upgrading: --> | ||
| <opensearch-testcontainers.version>2.0.2</opensearch-testcontainers.version> |
There was a problem hiding this comment.
And this:
| <opensearch-testcontainers.version>2.0.2</opensearch-testcontainers.version> | |
| <opensearch-testcontainers.version>4.0.0</opensearch-testcontainers.version> |
There was a problem hiding this comment.
Unfortunately, this version is Java 21+ so not sure what to do about it...
There was a problem hiding this comment.
I wonder... how much do we actually need it ... since we already have some config of the container here:
we might be able to just add another env variable to disalbe the security plugin ...
(just in case ... in Hibernate Search we just use a generic container and have specific settings for different versions of OpenSearch (https://github.com/hibernate/hibernate-search/blob/fcffca0a0a8bcaabe2ea74918925ce52ea463a5b/util/internal/integrationtest/backend/elasticsearch/src/main/java/org/hibernate/search/util/impl/integrationtest/backend/elasticsearch/SearchBackendContainer.java#L142-L172)
There was a problem hiding this comment.
Yeah, I'm experimenting with it as we speak to see what we can do.
There was a problem hiding this comment.
I kept the library and updated it a bit. I agree it doesn't have that much value but I didn't drop it.
What I did change is that our testing is now using the Testcontainers infrastructure as I needed that to check things were working and it's something @holly-cummins was working on anyway.
d42e774 to
b022147
Compare
This comment has been minimized.
This comment has been minimized.
|
🎊 PR Preview 5fe1704 has been successfully built and deployed to https://quarkus-pr-main-51314-preview.surge.sh/version/main/guides/
|
This comment has been minimized.
This comment has been minimized.
|
OK, while Strimzi was not an issue, there are other issues related to kindcontainer so we will have to wait for a release there. See: |
|
I had an ickiness I needed to add in the JPA Postgres tests until we had Testcontainers 2, so I've pushed a commit which removes it, while I still remember it. |
Updates `org.testcontainers:testcontainers-bom` from 1.21.3 to 2.0.2 - [Release notes](https://github.com/testcontainers/testcontainers-java/releases) - [Changelog](https://github.com/testcontainers/testcontainers-java/blob/main/CHANGELOG.md) - [Commits](testcontainers/testcontainers-java@1.21.3...2.0.2) Updates `org.testcontainers:testcontainers` from 1.21.3 to 2.0.2 - [Release notes](https://github.com/testcontainers/testcontainers-java/releases) - [Changelog](https://github.com/testcontainers/testcontainers-java/blob/main/CHANGELOG.md) - [Commits](testcontainers/testcontainers-java@1.21.3...2.0.2) --- updated-dependencies: - dependency-name: org.testcontainers:testcontainers-bom dependency-version: 2.0.2 dependency-type: direct:production update-type: version-update:semver-major - dependency-name: org.testcontainers:testcontainers dependency-version: 2.0.2 dependency-type: direct:production update-type: version-update:semver-major ... Co-authored-by: George Gastaldi <gegastaldi@gmail.com> Co-authored-by: Guillaume Smet <guillaume.smet@gmail.com> Signed-off-by: dependabot[bot] <support@github.com>
There are efforts going on here: dajudge/kindcontainer#402 strimzi/test-container#166 But for now, it seems good enough to add a few exclusions.
For now, we can't update to 4.x as it only supports Java 21+. I created opensearch-project/opensearch-testcontainers#313 to see if they could support Java 17 again.
This way, we can check they are still working correctly.
b90e64f to
24d7ac9
Compare
|
This should be ready now. |
Status for workflow
|
Status for workflow
|
| Status | Name | Step | Failures | Logs | Raw logs | Build scan |
|---|---|---|---|---|---|---|
| ❌ | JVM Tests - JDK 17 | Build |
Failures | Logs | Raw logs | 🔍 |
| ❌ | JVM Tests - JDK 21 | Build |
Failures | Logs | Raw logs | 🚧 |
| ✔️ | JVM Tests - JDK 21 Semeru | Logs | Raw logs | 🚧 | ||
| ✔️ | JVM Tests - JDK 25 | Logs | Raw logs | 🚧 | ||
| ❌ | Quickstarts Compilation - JDK 17 | Compile Quickstarts |
Logs | Raw logs | 🚧 |
You can consult the Develocity build scans.
Failures
⚙️ JVM Tests - JDK 17 #
- Failing: extensions/smallrye-openapi/deployment
! Skipped: devtools/bom-descriptor-json extensions/agroal/deployment extensions/elytron-security-jdbc/deployment and 57 more📦 extensions/smallrye-openapi/deployment
❌ Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.5.4:test (default-test) on project quarkus-smallrye-openapi-deployment:
See /home/runner/_work/quarkus/quarkus/extensions/smallrye-openapi/deployment/target/surefire-reports for the individual test results.
See dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
There was an error in the forked process
⚙️ JVM Tests - JDK 21 #
- Failing: extensions/smallrye-openapi/deployment
! Skipped: devtools/bom-descriptor-json extensions/agroal/deployment extensions/elytron-security-jdbc/deployment and 57 more📦 extensions/smallrye-openapi/deployment
❌ Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.5.4:test (default-test) on project quarkus-smallrye-openapi-deployment:
See /home/runner/_work/quarkus/quarkus/extensions/smallrye-openapi/deployment/target/surefire-reports for the individual test results.
See dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
There was an error in the forked process
Flaky tests - Develocity
⚙️ MicroProfile TCKs Tests
📦 tcks/microprofile-lra
❌ 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
Details
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)
|
I think this should have breaking change label and a note in https://github.com/quarkusio/quarkus/wiki/Migration-Guide-3.31 Motivation: Testcontainers 2 introduce change in GAVs and some packages |
It's definitely a breaking change, Quarkus LangChain4j for example fails on with this change. Adding the label as a result |
|
This also broke Quarkiverse CI for the Quarkus Azure Services: quarkiverse/quarkiverse#85 The extension is built against Quarkus 3.30.2 (which manages /cc @majguo |
|
@majguo from my experience, the issues are mostly renaming artifacts but let me know if you encounter an issue. Quarkus 3.31 is planned for end of January. The Core artifacts to which you will be able to upgrade before the release will be published on January 21st. |
|
@gsmet It is only a matter of the 1.x dependency no longer being managed. |

@gastaldi this includes all your work + a commit to work around the Strimzi issue. I got surprised that Debezium had it working and I gave it a try.
Note that there are probably things that wouldn't work but from my testing our use cases seems to somehow work. I did test only one Kafka module that uses the Strimzi container though.
Let's see how it goes.