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

TestRanger:: test_grant_revoke_with_role fails with unexpected results

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • ghx-label-11

    Description

      test_grant_revoke_with_role fails with the following error:

      Error Message

      assert Comparing QueryTestResults (expected vs actual):   'ROLE','grant_revoke_test_ALL_SERVER','*','*','*','','','','','all',false,regex:.+ == 'ROLE','grant_revoke_test_ALL_SERVER','*','*','*','','','','','all',false,'NULL' 
      Number of rows returned (expected vs actual): 2 != 1
      

      Stacktrace

      authorization/test_ranger.py:2903: in test_grant_revoke_with_role
          self.run_test_case('QueryTest/grant_revoke', vector, use_db="default")
      common/impala_test_suite.py:868: in run_test_case
          self.__verify_results_and_errors(vector, test_section, result, use_db)
      common/impala_test_suite.py:669: in __verify_results_and_errors
          replace_filenames_with_placeholder)
      common/test_result_verifier.py:520: in verify_raw_results
          VERIFIER_MAP[verifier](expected, actual)
      common/test_result_verifier.py:313: in verify_query_result_is_equal
          assert expected_results == actual_results
      E   assert Comparing QueryTestResults (expected vs actual):
      E     'ROLE','grant_revoke_test_ALL_SERVER','*','*','*','','','','','all',false,regex:.+ == 'ROLE','grant_revoke_test_ALL_SERVER','*','*','*','','','','','all',false,'NULL'
      E     Number of rows returned (expected vs actual): 2 != 1
      

      Attachments

        Activity

          People

            fangyurao Fang-Yu Rao
            boroknagyz Zoltán Borók-Nagy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: