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

bson-kotlinx test results deleted at the end of the kotlinCheck task

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.3.0
    • Affects Version/s: None
    • Component/s: Evergreen, Kotlin
    • None
    • Java Drivers
    • Not Needed
    • 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?

      To reproduce, run the kotlinCheck task. Right after bson-kotlinx:test task complete, observe that the following test result files have been created:

      % ls ./bson-kotlinx/build/test-results/*/TEST-*.xml
      ./bson-kotlinx/build/test-results/test/TEST-org.bson.codecs.kotlinx.KotlinSerializerCodecProviderTest.xml
      ./bson-kotlinx/build/test-results/test/TEST-org.bson.codecs.kotlinx.KotlinSerializerCodecTest.xml
      

      Now wait for kotlinCheck to complete. The files are gone. All the other tests result files remain, though, e.g.

      % ls ./bson-kotlin/build/test-results/*/TEST-*.xml
      ./bson-kotlin/build/test-results/test/TEST-org.bson.codecs.kotlin.DataClassCodecProviderTest.xml	
      ./bson-kotlin/build/test-results/test/TEST-org.bson.codecs.kotlin.DataClassCodecTest.xml
      

      The files seem to be deleted right before kotlinCheck completes.

      This is a problem when running the task in Evergreen. If we run kotlinCheck with --continue (as we should) then even if the bson-kotlinx tests fail they won't show up as failures in the Tests view.

            Assignee:
            nabil.hachicha@mongodb.com Nabil Hachicha
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: