Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-19852

Some CQLSHLIB tests fail on Mac

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Normal
    • Resolution: Unresolved
    • 5.x
    • CI
    • None
    • Correctness - Test Failure
    • Normal
    • Normal
    • Unit Test
    • All
    • None

    Description

      While all cqlshlib tests pass in CI on Linux, some fail on Mac.
      Probably also on pre-trunk branches, but I ran them only on trunk so far, so I am reporting trunk for sure:

      ------------------------------------------------------------------------------------------- generated xml file: cassandra/build/test/output/cqlshlib.xml --------------------------------------------------------------------------------------------
      =========================================================================================================================== short test summary info ============================================================================================================================
      FAILED test/test_copyutil.py::TestExportTask::test_get_ranges_murmur3 - OSError: [Errno 24] Too many open files
      FAILED test/test_cqlsh_completion.py::TestCqlshCompletion::test_complete_in_alter_table - AssertionError: '\x1b[5@ROP M\x1b[14G;\x1b[K' != 'ROP MASKED ;'
      FAILED test/test_cqlsh_completion.py::TestCqlshCompletion::test_complete_in_create_columnfamily - AssertionError: '(\x1b[K ' != '( '
      FAILED test/test_cqlsh_completion.py::TestCqlshCompletion::test_complete_in_create_keyspace - AssertionError: '\x1b[P \x1b[39G' != " 'replication_factor': "
      FAILED test/test_cqlsh_completion.py::TestCqlshCompletion::test_complete_in_create_table - AssertionError: 'izeTieredCompactionStrategy' != "izeTieredCompactionStrategy'"
      FAILED test/test_cqlsh_completion.py::TestCqlshCompletion::test_complete_in_insert - AssertionError: '\x1b[6PND TIMESTAMP ' != 'ND TIMESTAMP '
      FAILED test/test_cqlsh_completion.py::TestCqlshCompletion::test_complete_in_revoke - AssertionError: 'aces FROM\x1b[K ' != 'aces FROM '
      FAILED test/test_cqlsh_completion.py::TestCqlshCompletion::test_complete_in_string_literals - AssertionError: 'pleStrategy' != "pleStrategy'"
      FAILED test/test_cqlsh_completion.py::TestCqlshCompletion::test_complete_in_update - AssertionError: 'ykey\x1b[K ' != 'ykey '
      FAILED test/test_cqlsh_output.py::TestCqlshOutput::test_eof_prints_newline - AssertionError: '^D\n' != '\n'
      FAILED test/test_cqlsh_output.py::TestCqlshOutput::test_no_color_output - UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe0 in position 1023: unexpected end of data
      FAILED test/test_unicode.py::TestCqlshUnicode::test_unicode_desc - AssertionError: unexpected echo 'CREATE TYPE "\\U+0811" ( "Ξ" int );' instead of 'CREATE TYPE "ࠑ" ( "Ξ" int );'
      
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              e.dimitrova Ekaterina Dimitrova
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: