Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-9799

Flakiness in TestFetchFirst due to wrong results of get_num_in_flight_queries

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Cannot Reproduce
    • Impala 4.0.0
    • Impala 4.0.0
    • None
    • ghx-label-9

    Description

      Saw two failures for this test in different jenkins jobs:

      hs2.test_fetch_first.TestFetchFirst.test_query_stmts_v6 (from pytest)
      Stacktrace:

      /data/jenkins/workspace/impala-cdpd-master-core-asan/repos/Impala/tests/hs2/hs2_test_suite.py:63: in add_session
          lambda: fn(self))
      /data/jenkins/workspace/impala-cdpd-master-core-asan/repos/Impala/tests/hs2/hs2_test_suite.py:44: in add_session_helper
          fn()
      /data/jenkins/workspace/impala-cdpd-master-core-asan/repos/Impala/tests/hs2/hs2_test_suite.py:63: in <lambda>
          lambda: fn(self))
      /data/jenkins/workspace/impala-cdpd-master-core-asan/repos/Impala/tests/hs2/test_fetch_first.py:110: in test_query_stmts_v6
          self.run_query_stmts_test()
      /data/jenkins/workspace/impala-cdpd-master-core-asan/repos/Impala/tests/hs2/test_fetch_first.py:181: in run_query_stmts_test
          self.__test_invalid_result_caching("SELECT COUNT(*) FROM functional.alltypes")
      /data/jenkins/workspace/impala-cdpd-master-core-asan/repos/Impala/tests/hs2/test_fetch_first.py:63: in __test_invalid_result_caching
          assert 0 == impalad.get_num_in_flight_queries()
      E   assert 0 == 1
      E    +  where 1 = <bound method ImpaladService.get_num_in_flight_queries of <tests.common.impala_service.ImpaladService object at 0x6d25d10>>()
      E    +    where <bound method ImpaladService.get_num_in_flight_queries of <tests.common.impala_service.ImpaladService object at 0x6d25d10>> = <tests.common.impala_service.ImpaladService object at 0x6d25d10>.get_num_in_flight_queries

      hs2.test_fetch_first.TestFetchFirst.test_query_stmts_v6_with_result_spooling (from pytest)
      Stacktrace:

      /data/jenkins/workspace/impala-cdpd-master-core-asan/repos/Impala/tests/hs2/hs2_test_suite.py:63: in add_session
          lambda: fn(self))
      /data/jenkins/workspace/impala-cdpd-master-core-asan/repos/Impala/tests/hs2/hs2_test_suite.py:44: in add_session_helper
          fn()
      /data/jenkins/workspace/impala-cdpd-master-core-asan/repos/Impala/tests/hs2/hs2_test_suite.py:63: in <lambda>
          lambda: fn(self))
      /data/jenkins/workspace/impala-cdpd-master-core-asan/repos/Impala/tests/hs2/test_fetch_first.py:120: in test_query_stmts_v6_with_result_spooling
          self.run_query_stmts_test({'spool_query_results': 'true'})
      /data/jenkins/workspace/impala-cdpd-master-core-asan/repos/Impala/tests/hs2/test_fetch_first.py:181: in run_query_stmts_test
          self.__test_invalid_result_caching("SELECT COUNT(*) FROM functional.alltypes")
      /data/jenkins/workspace/impala-cdpd-master-core-asan/repos/Impala/tests/hs2/test_fetch_first.py:63: in __test_invalid_result_caching
          assert 0 == impalad.get_num_in_flight_queries()
      E   assert 0 == 1
      E    +  where 1 = <bound method ImpaladService.get_num_in_flight_queries of <tests.common.impala_service.ImpaladService object at 0x81d4990>>()
      E    +    where <bound method ImpaladService.get_num_in_flight_queries of <tests.common.impala_service.ImpaladService object at 0x81d4990>> = <tests.common.impala_service.ImpaladService object at 0x81d4990>.get_num_in_flight_queries

      Attachments

        Activity

          People

            stakiar Sahil Takiar
            stigahuang Quanlong Huang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: