Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-4919

MONGODB-AWS ECS Auth tests fail since Kotlin driver added to the repository

    • Type: Icon: Build Failure Build Failure
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Test Coverage
    • Labels:
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      The failure

      The error is related to gradle failing / timing out / the daemon crashing when running the test.

      Investigation so far

      These test are currently failing since the introduction of the Kotlin driver:

      Running the previous commit as a patch succeeds.

      Probable cause:

      Adding the kotlin driver into the gradle build seems to be the suspect.

      Failed fixes

      • Updating Gradle to 7.6.1
      • Updating to Ubuntu 2004
      • Running driver-core:compileJava before running the test
      • Removing kotlin when running the ECS test (driver-core has a compile time dependency due for the codec registry to bson-kotlin / bson-kotlinx)

            Assignee:
            Unassigned Unassigned
            Reporter:
            ross@mongodb.com Ross Lawley
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: