chore(deps): Bump mongo-java-driver-version from 4.11.1 to 5.1.1
Bumps mongo-java-driver-version from 4.11.1 to 5.1.1.
Updates org.mongodb:mongodb-driver-core from 4.11.1 to 5.1.1
Release notes
Sourced from org.mongodb:mongodb-driver-core's releases.
Java Driver 5.1.0 (May 2, 2024)
What's Changed
- Ensure durations are included on connection pool events by
@stIncMalein mongodb/mongo-java-driver#1370- Test on Java 21 by
@stIncMalein mongodb/mongo-java-driver#1326- Test against GraalVM native image technology by
@stIncMalein mongodb/mongo-java-driver#1338- Ensure Operations uses the supplied document class when creating BsonDocumentWrapper by
@rozzain mongodb/mongo-java-driver#1327- JAVA-5319: Allow Decoding Data Into
TreeSetby@ramasai1in mongodb/mongo-java-driver#1306- Allow configuring the monitoring protocol to use; use the polling protocol in a FaaS environment by default by
@stIncMalein mongodb/mongo-java-driver#1313- Convert Bson to BsonDocument for hint by
@jyeminin mongodb/mongo-java-driver#1335- Change mapreduce to mapReduce by
@jyeminin mongodb/mongo-java-driver#1337- Support discriminators not being the first field when decoding in Kotlin by
@rozzain mongodb/mongo-java-driver#1324- Use
InetAddressResolverProviderand add tests by@stIncMalein mongodb/mongo-java-driver#1353- Force unique clusterTime values by splitting insert into two commands by
@jyeminin mongodb/mongo-java-driver#1356- Expand bounds for distinct and MongoIterable#map by
@rozzain mongodb/mongo-java-driver#1352- Enhanced OIDC support by
@katcharovin mongodb/mongo-java-driver#1134 and mongodb/mongo-java-driver#1371- Replace
BiFunctionwithBinaryOperatorby@stIncMalein mongodb/mongo-java-driver#1374New Contributors
@dylrichmade their first contribution in mongodb/mongo-java-driver#1364Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r5.0.0...r5.1.0
Java Driver 5.0.1 (Apr 3, 2024)
What's Changed
- Fix ClusterFixture#hasEncryptionTestsEnabled to correctly detect env … by
@jyeminin mongodb/mongo-java-driver#1343- Use
InetAddressResolverProviderand add tests by@stIncMalein mongodb/mongo-java-driver#1354- A fix to expand the bounds for distinct and MongoIterable#map, allowing for nullable types in those scenarios in Kotlin by
@rozzain mongodb/mongo-java-driver#1352- A fix converting Bson to BsonDocument for hint by
@jyeminin mongodb/mongo-java-driver#1335- Don't gossip cluster time from monitoring connections by
@jyeminin mongodb/mongo-java-driver#1276- A fix to support discriminators not being the first field when decoding in Kotlin by
@rozzain mongodb/mongo-java-driver#1324Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r5.0.0...r5.0.1
Java Driver 5.0.0 (Mar 1, 2024)
The MongoDB JVM team is pleased to announce version 5.0.0 of the MongoDB Java Driver!
Release announcement: https://www.mongodb.com/community/forums/t/mongodb-java-driver-5-0-is-released/268913
What's Changed
- [JAVA-5203] Support stored nulls for non-primitive fields in Java records by
@bulbfreemanin mongodb/mongo-java-driver#1223- Add explicit automatic module name configuration. by
@vbabaninin mongodb/mongo-java-driver#1232- Update logger name to align with naming conventions. by
@vbabaninin mongodb/mongo-java-driver#1233- Enable container and Kubernetes awareness for improved telemetry. by
@vbabaninin mongodb/mongo-java-driver#1235- Update DatabaseTestCase to Junit 5 by
@rozzain mongodb/mongo-java-driver#1238- Preserve error code, code name, and error labels when redacting command monitoring/logging by
@stIncMalein mongodb/mongo-java-driver#1225- Add server selection log messages by
@stIncMalein mongodb/mongo-java-driver#1221- Remove write and read concern from Atlas Search Index commands. by
@vbabaninin mongodb/mongo-java-driver#1241- BatchCursor refactorings by
@rozzain mongodb/mongo-java-driver#1246
... (truncated)
Commits
3e2c202Version: bump 5.1.10d30c64ALLOWED_HOSTS validation, 1 minute machine timeout (#1380) (#1417)90a7e17Backport allow-empty (#1415)4927578OIDC admin credentials (#1413)f5293dcDisable failing unified CRUD tests (#1381)9ab1a71Augmentconfig/spotbugs/exclude.xmlwith finding status and rank (#1392)b10358dRemove outdated entries from THIRD-PARTY-NOTICES (#1393)679c93aDisallow comma character in authMechanismProperties (#1412)fe3e406Remove legacy shell from test scripts (#1404)2d6aca3Create and uploadssdlc_compliance_report.md(#1405)- Additional commits viewable in compare view
Updates org.mongodb:mongodb-driver-sync from 4.11.1 to 5.1.1
Release notes
Sourced from org.mongodb:mongodb-driver-sync's releases.
Java Driver 5.1.0 (May 2, 2024)
What's Changed
- Ensure durations are included on connection pool events by
@stIncMalein mongodb/mongo-java-driver#1370- Test on Java 21 by
@stIncMalein mongodb/mongo-java-driver#1326- Test against GraalVM native image technology by
@stIncMalein mongodb/mongo-java-driver#1338- Ensure Operations uses the supplied document class when creating BsonDocumentWrapper by
@rozzain mongodb/mongo-java-driver#1327- JAVA-5319: Allow Decoding Data Into
TreeSetby@ramasai1in mongodb/mongo-java-driver#1306- Allow configuring the monitoring protocol to use; use the polling protocol in a FaaS environment by default by
@stIncMalein mongodb/mongo-java-driver#1313- Convert Bson to BsonDocument for hint by
@jyeminin mongodb/mongo-java-driver#1335- Change mapreduce to mapReduce by
@jyeminin mongodb/mongo-java-driver#1337- Support discriminators not being the first field when decoding in Kotlin by
@rozzain mongodb/mongo-java-driver#1324- Use
InetAddressResolverProviderand add tests by@stIncMalein mongodb/mongo-java-driver#1353- Force unique clusterTime values by splitting insert into two commands by
@jyeminin mongodb/mongo-java-driver#1356- Expand bounds for distinct and MongoIterable#map by
@rozzain mongodb/mongo-java-driver#1352- Enhanced OIDC support by
@katcharovin mongodb/mongo-java-driver#1134 and mongodb/mongo-java-driver#1371- Replace
BiFunctionwithBinaryOperatorby@stIncMalein mongodb/mongo-java-driver#1374New Contributors
@dylrichmade their first contribution in mongodb/mongo-java-driver#1364Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r5.0.0...r5.1.0
Java Driver 5.0.1 (Apr 3, 2024)
What's Changed
- Fix ClusterFixture#hasEncryptionTestsEnabled to correctly detect env … by
@jyeminin mongodb/mongo-java-driver#1343- Use
InetAddressResolverProviderand add tests by@stIncMalein mongodb/mongo-java-driver#1354- A fix to expand the bounds for distinct and MongoIterable#map, allowing for nullable types in those scenarios in Kotlin by
@rozzain mongodb/mongo-java-driver#1352- A fix converting Bson to BsonDocument for hint by
@jyeminin mongodb/mongo-java-driver#1335- Don't gossip cluster time from monitoring connections by
@jyeminin mongodb/mongo-java-driver#1276- A fix to support discriminators not being the first field when decoding in Kotlin by
@rozzain mongodb/mongo-java-driver#1324Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r5.0.0...r5.0.1
Java Driver 5.0.0 (Mar 1, 2024)
The MongoDB JVM team is pleased to announce version 5.0.0 of the MongoDB Java Driver!
Release announcement: https://www.mongodb.com/community/forums/t/mongodb-java-driver-5-0-is-released/268913
What's Changed
- [JAVA-5203] Support stored nulls for non-primitive fields in Java records by
@bulbfreemanin mongodb/mongo-java-driver#1223- Add explicit automatic module name configuration. by
@vbabaninin mongodb/mongo-java-driver#1232- Update logger name to align with naming conventions. by
@vbabaninin mongodb/mongo-java-driver#1233- Enable container and Kubernetes awareness for improved telemetry. by
@vbabaninin mongodb/mongo-java-driver#1235- Update DatabaseTestCase to Junit 5 by
@rozzain mongodb/mongo-java-driver#1238- Preserve error code, code name, and error labels when redacting command monitoring/logging by
@stIncMalein mongodb/mongo-java-driver#1225- Add server selection log messages by
@stIncMalein mongodb/mongo-java-driver#1221- Remove write and read concern from Atlas Search Index commands. by
@vbabaninin mongodb/mongo-java-driver#1241- BatchCursor refactorings by
@rozzain mongodb/mongo-java-driver#1246
... (truncated)
Commits
3e2c202Version: bump 5.1.10d30c64ALLOWED_HOSTS validation, 1 minute machine timeout (#1380) (#1417)90a7e17Backport allow-empty (#1415)4927578OIDC admin credentials (#1413)f5293dcDisable failing unified CRUD tests (#1381)9ab1a71Augmentconfig/spotbugs/exclude.xmlwith finding status and rank (#1392)b10358dRemove outdated entries from THIRD-PARTY-NOTICES (#1393)679c93aDisallow comma character in authMechanismProperties (#1412)fe3e406Remove legacy shell from test scripts (#1404)2d6aca3Create and uploadssdlc_compliance_report.md(#1405)- Additional commits viewable in compare view
Updates org.mongodb:bson from 4.11.1 to 5.1.1
Release notes
Sourced from org.mongodb:bson's releases.
Java Driver 5.1.0 (May 2, 2024)
What's Changed
- Ensure durations are included on connection pool events by
@stIncMalein mongodb/mongo-java-driver#1370- Test on Java 21 by
@stIncMalein mongodb/mongo-java-driver#1326- Test against GraalVM native image technology by
@stIncMalein mongodb/mongo-java-driver#1338- Ensure Operations uses the supplied document class when creating BsonDocumentWrapper by
@rozzain mongodb/mongo-java-driver#1327- JAVA-5319: Allow Decoding Data Into
TreeSetby@ramasai1in mongodb/mongo-java-driver#1306- Allow configuring the monitoring protocol to use; use the polling protocol in a FaaS environment by default by
@stIncMalein mongodb/mongo-java-driver#1313- Convert Bson to BsonDocument for hint by
@jyeminin mongodb/mongo-java-driver#1335- Change mapreduce to mapReduce by
@jyeminin mongodb/mongo-java-driver#1337- Support discriminators not being the first field when decoding in Kotlin by
@rozzain mongodb/mongo-java-driver#1324- Use
InetAddressResolverProviderand add tests by@stIncMalein mongodb/mongo-java-driver#1353- Force unique clusterTime values by splitting insert into two commands by
@jyeminin mongodb/mongo-java-driver#1356- Expand bounds for distinct and MongoIterable#map by
@rozzain mongodb/mongo-java-driver#1352- Enhanced OIDC support by
@katcharovin mongodb/mongo-java-driver#1134 and mongodb/mongo-java-driver#1371- Replace
BiFunctionwithBinaryOperatorby@stIncMalein mongodb/mongo-java-driver#1374New Contributors
@dylrichmade their first contribution in mongodb/mongo-java-driver#1364Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r5.0.0...r5.1.0
Java Driver 5.0.1 (Apr 3, 2024)
What's Changed
- Fix ClusterFixture#hasEncryptionTestsEnabled to correctly detect env … by
@jyeminin mongodb/mongo-java-driver#1343- Use
InetAddressResolverProviderand add tests by@stIncMalein mongodb/mongo-java-driver#1354- A fix to expand the bounds for distinct and MongoIterable#map, allowing for nullable types in those scenarios in Kotlin by
@rozzain mongodb/mongo-java-driver#1352- A fix converting Bson to BsonDocument for hint by
@jyeminin mongodb/mongo-java-driver#1335- Don't gossip cluster time from monitoring connections by
@jyeminin mongodb/mongo-java-driver#1276- A fix to support discriminators not being the first field when decoding in Kotlin by
@rozzain mongodb/mongo-java-driver#1324Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r5.0.0...r5.0.1
Java Driver 5.0.0 (Mar 1, 2024)
The MongoDB JVM team is pleased to announce version 5.0.0 of the MongoDB Java Driver!
Release announcement: https://www.mongodb.com/community/forums/t/mongodb-java-driver-5-0-is-released/268913
What's Changed
- [JAVA-5203] Support stored nulls for non-primitive fields in Java records by
@bulbfreemanin mongodb/mongo-java-driver#1223- Add explicit automatic module name configuration. by
@vbabaninin mongodb/mongo-java-driver#1232- Update logger name to align with naming conventions. by
@vbabaninin mongodb/mongo-java-driver#1233- Enable container and Kubernetes awareness for improved telemetry. by
@vbabaninin mongodb/mongo-java-driver#1235- Update DatabaseTestCase to Junit 5 by
@rozzain mongodb/mongo-java-driver#1238- Preserve error code, code name, and error labels when redacting command monitoring/logging by
@stIncMalein mongodb/mongo-java-driver#1225- Add server selection log messages by
@stIncMalein mongodb/mongo-java-driver#1221- Remove write and read concern from Atlas Search Index commands. by
@vbabaninin mongodb/mongo-java-driver#1241- BatchCursor refactorings by
@rozzain mongodb/mongo-java-driver#1246
... (truncated)
Commits
3e2c202Version: bump 5.1.10d30c64ALLOWED_HOSTS validation, 1 minute machine timeout (#1380) (#1417)90a7e17Backport allow-empty (#1415)4927578OIDC admin credentials (#1413)f5293dcDisable failing unified CRUD tests (#1381)9ab1a71Augmentconfig/spotbugs/exclude.xmlwith finding status and rank (#1392)b10358dRemove outdated entries from THIRD-PARTY-NOTICES (#1393)679c93aDisallow comma character in authMechanismProperties (#1412)fe3e406Remove legacy shell from test scripts (#1404)2d6aca3Create and uploadssdlc_compliance_report.md(#1405)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
:star2: Thank you for your contribution to the Apache Camel project! :star2:
:robot: CI automation will test this PR automatically.
:camel: Apache Camel Committers, please review the following items:
-
First-time contributors require MANUAL approval for the GitHub Actions to run
-
You can use the command
/component-test (camel-)component-name1 (camel-)component-name2..to request a test from the test bot. -
You can label PRs using
build-all,build-dependents,skip-testsandtest-dependentsto fine-tune the checks executed by this PR. -
Build and test logs are available in the Summary page. Only Apache Camel committers have access to the summary.
-
:warning: Be careful when sharing logs. Review their contents before sharing them publicly.
@dependabot rebase
:robot: The Apache Camel test robot will run the tests for you :+1:
/component-test mongodb
Result :white_check_mark: The tests passed successfully
:robot: The Apache Camel test robot will run the tests for you :+1:
/component-test mongodb-gridfs mongodb
Result :white_check_mark: The tests passed successfully
:robot: The Apache Camel test robot will run the tests for you :+1:
@orpiske mentioned on another PR that some IT tests were failing https://github.com/apache/camel/pull/13999#issuecomment-2090010957 so need to check them first
Seems fine, test result when calling ~/git/camel/components/camel-mongodb$ mvn clean install -DskipITs=false:
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.apache.camel.component.mongodb.processor.idempotent.integration.MongoDbIdempotentRepositoryIT
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.022 s -- in org.apache.camel.component.mongodb.processor.idempotent.integration.MongoDbIdempotentRepositoryIT
[INFO] Running org.apache.camel.component.mongodb.integration.MongoDbOutputTypeIT
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.073 s -- in org.apache.camel.component.mongodb.integration.MongoDbOutputTypeIT
[INFO] Running org.apache.camel.component.mongodb.integration.MongoDbFindOperationIT
[INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.850 s -- in org.apache.camel.component.mongodb.integration.MongoDbFindOperationIT
[INFO] Running org.apache.camel.component.mongodb.integration.MongoDbDynamicityIT
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.287 s -- in org.apache.camel.component.mongodb.integration.MongoDbDynamicityIT
[INFO] Running org.apache.camel.component.mongodb.integration.MongoDbFindOneAndDeleteOperationIT
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.256 s -- in org.apache.camel.component.mongodb.integration.MongoDbFindOneAndDeleteOperationIT
[INFO] Running org.apache.camel.component.mongodb.integration.MongoDbConversionsIT
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.401 s -- in org.apache.camel.component.mongodb.integration.MongoDbConversionsIT
[INFO] Running org.apache.camel.component.mongodb.integration.MongoDbTailableCursorConsumerIT
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 529.9 s -- in org.apache.camel.component.mongodb.integration.MongoDbTailableCursorConsumerIT
[INFO] Running org.apache.camel.component.mongodb.integration.MongoDbOperationsIT
[INFO] Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.78 s -- in org.apache.camel.component.mongodb.integration.MongoDbOperationsIT
[INFO] Running org.apache.camel.component.mongodb.integration.MongoDbSpringDslOperationsIT
[INFO] Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.21 s -- in org.apache.camel.component.mongodb.integration.MongoDbSpringDslOperationsIT
[INFO] Running org.apache.camel.component.mongodb.integration.MongoDbConnectionBeansIT
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.033 s -- in org.apache.camel.component.mongodb.integration.MongoDbConnectionBeansIT
[INFO] Running org.apache.camel.component.mongodb.integration.MongoDbReadPreferenceOptionIT
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.040 s -- in org.apache.camel.component.mongodb.integration.MongoDbReadPreferenceOptionIT
[INFO] Running org.apache.camel.component.mongodb.integration.MongoDbBigDecimalConverterIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.134 s -- in org.apache.camel.component.mongodb.integration.MongoDbBigDecimalConverterIT
[INFO] Running org.apache.camel.component.mongodb.integration.MongoDbExceptionHandlingIT
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.72 s -- in org.apache.camel.component.mongodb.integration.MongoDbExceptionHandlingIT
[INFO] Running org.apache.camel.component.mongodb.integration.MongoDbFindOneAndReplaceOperationIT
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.436 s -- in org.apache.camel.component.mongodb.integration.MongoDbFindOneAndReplaceOperationIT
[INFO] Running org.apache.camel.component.mongodb.integration.MongoDbChangeStreamsConsumerIT
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.727 s -- in org.apache.camel.component.mongodb.integration.MongoDbChangeStreamsConsumerIT
[INFO] Running org.apache.camel.component.mongodb.integration.MongoDbIndexIT
[WARNING] Tests run: 4, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.806 s -- in org.apache.camel.component.mongodb.integration.MongoDbIndexIT
[INFO] Running org.apache.camel.component.mongodb.integration.MongoDbFindOneAndUpdateOperationIT
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.368 s -- in org.apache.camel.component.mongodb.integration.MongoDbFindOneAndUpdateOperationIT
[INFO] Running org.apache.camel.component.mongodb.integration.MongoDbStopEndpointIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.062 s -- in org.apache.camel.component.mongodb.integration.MongoDbStopEndpointIT
[INFO] Running org.apache.camel.component.mongodb.integration.MongoDbHeaderHandlingIT
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.132 s -- in org.apache.camel.component.mongodb.integration.MongoDbHeaderHandlingIT
[INFO] Running org.apache.camel.component.mongodb.integration.MongoDbInsertBatchIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.064 s -- in org.apache.camel.component.mongodb.integration.MongoDbInsertBatchIT
[INFO] Running org.apache.camel.component.mongodb.integration.MongoDbBulkWriteOperationIT
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.99 s -- in org.apache.camel.component.mongodb.integration.MongoDbBulkWriteOperationIT
[INFO] Running org.apache.camel.component.mongodb.integration.MongoDbAggregateOperationIT
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.23 s -- in org.apache.camel.component.mongodb.integration.MongoDbAggregateOperationIT
[INFO] Running org.apache.camel.component.mongodb.integration.MongoDbCredentialsFromUriConnectionIT
[INFO] Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.251 s -- in org.apache.camel.component.mongodb.integration.MongoDbCredentialsFromUriConnectionIT
[INFO] Running org.apache.camel.component.mongodb.verifier.integration.MongoDbVerifierExtensionIT
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 60.16 s -- in org.apache.camel.component.mongodb.verifier.integration.MongoDbVerifierExtensionIT
[INFO] Running org.apache.camel.component.mongodb.meta.integration.MongoDbMetaExtensionIT
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.153 s -- in org.apache.camel.component.mongodb.meta.integration.MongoDbMetaExtensionIT
[INFO]
[INFO] Results:
[INFO]
[WARNING] Tests run: 160, Failures: 0, Errors: 0, Skipped: 1
where we can especially notice the test which was mentioned as in error previously MongoDbTailableCursorConsumerIT :
[INFO] Running org.apache.camel.component.mongodb.integration.MongoDbTailableCursorConsumerIT
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 529.9 s -- in org.apache.camel.component.mongodb.integration.MongoDbTailableCursorConsumerIT
But I have Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:3.2.5:verify (integration-test) on project camel-mongodb: There was a timeout in the fork. I have the same message with previous previous from main branch
@orpiske is it the right thing that I tested?
Yeah, that's the one that is failing. I'm surprised it's working ... maybe it's using a new version of that has fixed the problems we had? I'll trigger a test on my CI to see how it goes.
What could be the difference on CIs compared to a local run? I have: Fedora JDK 21 Temurin Maven 3.9.1
EDIT: or given the amount of time to play the test (529s, i;e; 8 minutes) can it be that my machine is faster and was able to handle it and not the CI?
I provided https://github.com/apache/camel/pull/14527 to update to latest container (very low chance to fix things but well, cost nothing to give a try)
@dependabot rebase
@orpiske Can you give another try with updated container? Can you also have a look to the time of execution of the failing test class? is it more or less than 8 minutes (529seconds) like on my machine? With previous version of MongoDB, on CI it is taking 8'40s https://ci-builds.apache.org/job/Camel/job/Camel%20Core%20(Build%20and%20test)/job/main/lastCompletedBuild/testReport/org.apache.camel.component.mongodb.integration/MongoDbTailableCursorConsumerIT/ so seems relatively coherent
Sure thing. I am currently on a conference, but I'll try to do as soon as I get a chance.
🤖 ❌ Test result with component components/camel-mongodb (failed)
I may need to look closely at the log for this one. I can't do this today, but I'll do it on Monday.
This is what I have in the logs:
2024-06-14 13:03:28,751 [main ] INFO DefaultCamelContextExtension - Testing: verifyConnectionKO() (org.apache.camel.component.mongodb.verifier.integration.MongoDbVerifierExtensionIT)
2024-06-14 13:03:28,753 [main ] INFO ongoComponentVerifierExtension - Testing connection against mongodb://test-user:[email protected]/admin
2024-06-14 13:03:28,754 [main ] INFO client - MongoClient with metadata {"driver": {"name": "mongo-java-driver|sync", "version": "5.1.1"}, "os": {"type": "Linux", "name": "Linux", "architecture": "amd64", "version": "6.8.11-200.fc39.x86_64"}, "platform": "Java/Eclipse Adoptium/17.0.9+9"} created with settings MongoClientSettings{readPreference=primary, writeConcern=WriteConcern{w=null, wTimeout=null ms, journal=null}, retryWrites=true, retryReads=true, readConcern=ReadConcern{level=null}, credential=MongoCredential{mechanism=null, userName='test-user', source='admin', password=<hidden>, mechanismProperties=<hidden>}, transportSettings=null, commandListeners=[], codecRegistry=ProvidersCodecRegistry{codecProviders=[ValueCodecProvider{}, BsonValueCodecProvider{}, DBRefCodecProvider{}, DBObjectCodecProvider{}, DocumentCodecProvider{}, CollectionCodecProvider{}, IterableCodecProvider{}, MapCodecProvider{}, GeoJsonCodecProvider{}, GridFSFileCodecProvider{}, Jsr310CodecProvider{}, JsonObjectCodecProvider{}, BsonCodecProvider{}, EnumCodecProvider{}, com.mongodb.client.model.mql.ExpressionCodecProvider@28369db0, com.mongodb.Jep395RecordCodecProvider@30893e08, com.mongodb.KotlinCodecProvider@2e86807a]}, loggerSettings=LoggerSettings{maxDocumentLength=1000}, clusterSettings={hosts=[notreachable.host:27017], srvServiceName=mongodb, mode=SINGLE, requiredClusterType=UNKNOWN, requiredReplicaSetName='null', serverSelector='null', clusterListeners='[]', serverSelectionTimeout='30000 ms', localThreshold='15 ms'}, socketSettings=SocketSettings{connectTimeoutMS=10000, readTimeoutMS=0, receiveBufferSize=0, proxySettings=ProxySettings{host=null, port=null, username=null, password=null}}, heartbeatSocketSettings=SocketSettings{connectTimeoutMS=10000, readTimeoutMS=10000, receiveBufferSize=0, proxySettings=ProxySettings{host=null, port=null, username=null, password=null}}, connectionPoolSettings=ConnectionPoolSettings{maxSize=100, minSize=0, maxWaitTimeMS=120000, maxConnectionLifeTimeMS=0, maxConnectionIdleTimeMS=0, maintenanceInitialDelayMS=0, maintenanceFrequencyMS=60000, connectionPoolListeners=[], maxConnecting=2}, serverSettings=ServerSettings{heartbeatFrequencyMS=10000, minHeartbeatFrequencyMS=500, serverMonitoringMode=AUTO, serverListeners='[]', serverMonitorListeners='[]'}, sslSettings=SslSettings{enabled=false, invalidHostNameAllowed=false, context=null}, applicationName='null', compressorList=[], uuidRepresentation=UNSPECIFIED, serverApi=null, autoEncryptionSettings=null, dnsClient=null, inetAddressResolver=null, contextProvider=null}
2024-06-14 13:03:28,754 [main ] INFO cluster - Waiting for server to become available for operation with ID 137684. Remaining time: 30000 ms. Selector: ReadPreferenceServerSelector{readPreference=primary}, topology description: {type=UNKNOWN, servers=[{address=notreachable.host:27017, type=UNKNOWN, state=CONNECTING}].
2024-06-14 13:03:28,775 [able.host:27017] INFO cluster - Exception in monitor thread while connecting to server notreachable.host:27017
com.mongodb.MongoSocketException: notreachable.host: Name or service not known
at com.mongodb.internal.connection.ServerAddressHelper.getSocketAddresses(ServerAddressHelper.java:75) ~[mongodb-driver-core-5.1.1.jar:?]
at com.mongodb.internal.connection.SocketStream.initializeSocket(SocketStream.java:101) ~[mongodb-driver-core-5.1.1.jar:?]
at com.mongodb.internal.connection.SocketStream.open(SocketStream.java:80) ~[mongodb-driver-core-5.1.1.jar:?]
at com.mongodb.internal.connection.InternalStreamConnection.open(InternalStreamConnection.java:226) ~[mongodb-driver-core-5.1.1.jar:?]
at com.mongodb.internal.connection.DefaultServerMonitor$ServerMonitor.lookupServerDescription(DefaultServerMonitor.java:216) [mongodb-driver-core-5.1.1.jar:?]
at com.mongodb.internal.connection.DefaultServerMonitor$ServerMonitor.run(DefaultServerMonitor.java:173) [mongodb-driver-core-5.1.1.jar:?]
Caused by: java.net.UnknownHostException: notreachable.host: Name or service not known
at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) ~[?:?]
at java.base/java.net.InetAddress$PlatformNameService.lookupAllHostAddr(InetAddress.java:934) ~[?:?]
at java.base/java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1543) ~[?:?]
at java.base/java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:852) ~[?:?]
at java.base/java.net.InetAddress.getAllByName0(InetAddress.java:1533) ~[?:?]
at java.base/java.net.InetAddress.getAllByName(InetAddress.java:1385) ~[?:?]
at java.base/java.net.InetAddress.getAllByName(InetAddress.java:1306) ~[?:?]
at com.mongodb.internal.connection.DefaultInetAddressResolver.lookupByName(DefaultInetAddressResolver.java:34) ~[mongodb-driver-core-5.1.1.jar:?]
at com.mongodb.internal.connection.ServerAddressHelper.getSocketAddresses(ServerAddressHelper.java:71) ~[mongodb-driver-core-5.1.1.jar:?]
... 5 more
@dependabot rebase
/component-test mongodb-gridfs mongodb
Result :white_check_mark: The tests passed successfully
:robot: The Apache Camel test robot will run the tests for you :+1:
Can we hold merging this until after the 4.7.0 release is tagged?
It'll break MongoDB support in Camel Quarkus. Quarkus aren't going to move to the 5.x client any time soon. So we (or I) will need to create a mongo4 component or find some other solution.
@jamesnetherton don't worry, this is just a test for fixing the gh action used. It won't be merged.
@jamesnetherton yes sorry for the noise, it is only for testing purposes
Superseded by #14804.