Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-6228

Random failures of TestDrillbitResilience tests

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      When running on jdk8 enviroment two unit tests randomly fails. To reproduce: change @Repeat(count = 10) to 10 or more on both of them and run tests from command line:
      mvn -Dtest=TestDrillbitResilience -pl exec/java-exec test

      TestDrillbitResilience.cancelAfterAllResultsProduced
      TestDrillbitResilience.cancelInMiddleOfFetchingResults

      cancelInMiddleOfFetchingResults(org.apache.drill.exec.server.TestDrillbitResilience)  Time elapsed: 10.498 sec  <<< FAILURE!
      java.lang.AssertionError: Query state is incorrect (expected: CANCELED, actual: COMPLETED) AND/OR 
      Exception thrown: none.
              at org.apache.drill.exec.server.TestDrillbitResilience.assertStateCompleted(TestDrillbitResilience.java:543)
              at org.apache.drill.exec.server.TestDrillbitResilience.assertCancelledWithoutException(TestDrillbitResilience.java:557)
              at org.apache.drill.exec.server.TestDrillbitResilience.assertCancelledWithoutException(TestDrillbitResilience.java:564)
              at org.apache.drill.exec.server.TestDrillbitResilience.cancelInMiddleOfFetchingResults(TestDrillbitResilience.java:644)
      
      Failed tests: TestDrillbitResilience.cancelAfterAllResultsProduced:672->assertCancelledWithoutException:564->assertCancelledWithoutException:557->assertStateCompleted:543 Query state is incorrect (expected: CANCELED, actual: COMPLETED) AND/OR Exception thrown: none
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                volodymyr.tkach Volodymyr Tkach
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: