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

Test failure: SSTablesSystemViewTest#testVirtualTableThroughIndexLifeCycle

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 5.0-alpha1, 5.0
    • Test/unit
    • None

    Description

      The utest org.apache.cassandra.index.sai.virtual.SSTablesSystemViewTest#testVirtualTableThroughIndexLifeCycle is consistently broken with tries at least on trunk:

      junit.framework.AssertionFailedError: Got 4 extra row(s) and 2 missing row(s) in result.  Extra rows:
          row(index_name=table_00_v1_idx, sstable_name=/tmp/cassandra/build/test/cassandra/data/cql_test_keyspace/table_00-12e640202d2a11eea926d15115276651/da-5-bti-Data.db, table_name=table_00, column_name=v1, format_version=aa, cell_count=1, min_row_id=0, max_row_id=0, start_token=8213365047359667313, end_token=8213365047359667313, per_table_disk_size=335, per_column_disk_size=270)
          row(index_name=table_00_v2_idx, sstable_name=/tmp/cassandra/build/test/cassandra/data/cql_test_keyspace/table_00-12e640202d2a11eea926d15115276651/da-5-bti-Data.db, table_name=table_00, column_name=v2, format_version=aa, cell_count=1, min_row_id=0, max_row_id=0, start_token=8213365047359667313, end_token=8213365047359667313, per_table_disk_size=335, per_column_disk_size=274)
          row(index_name=table_00_v2_idx, sstable_name=/tmp/cassandra/build/test/cassandra/data/cql_test_keyspace/table_00-12e640202d2a11eea926d15115276651/da-6-bti-Data.db, table_name=table_00, column_name=v2, format_version=aa, cell_count=4, min_row_id=0, max_row_id=4, start_token=-8982230457741691068, end_token=5293579765126103566, per_table_disk_size=610, per_column_disk_size=339)
          row(index_name=table_00_v1_idx, sstable_name=/tmp/cassandra/build/test/cassandra/data/cql_test_keyspace/table_00-12e640202d2a11eea926d15115276651/da-6-bti-Data.db, table_name=table_00, column_name=v1, format_version=aa, cell_count=3, min_row_id=2, max_row_id=4, start_token=-8982230457741691068, end_token=5293579765126103566, per_table_disk_size=610, per_column_disk_size=310)
      Missing Rows:
          row(index_name=table_00_v1_idx, sstable_name=/tmp/cassandra/build/test/cassandra/data/cql_test_keyspace/table_00-12e640202d2a11eea926d15115276651/da-5-bti-Data.db, table_name=table_00, column_name=v1, format_version=aa, cell_count=4, min_row_id=2, max_row_id=5, start_token=8213365047359667313, end_token=8213365047359667313, per_table_disk_size=335, per_column_disk_size=270)
          row(index_name=table_00_v2_idx, sstable_name=/tmp/cassandra/build/test/cassandra/data/cql_test_keyspace/table_00-12e640202d2a11eea926d15115276651/da-5-bti-Data.db, table_name=table_00, column_name=v2, format_version=aa, cell_count=5, min_row_id=0, max_row_id=5, start_token=8213365047359667313, end_token=8213365047359667313, per_table_disk_size=335, per_column_disk_size=274)
      	at org.apache.cassandra.cql3.CQLTester.assertRowsIgnoringOrderInternal(CQLTester.java:1900)
      	at org.apache.cassandra.cql3.CQLTester.assertRowsIgnoringOrder(CQLTester.java:1834)
      	at org.apache.cassandra.index.sai.virtual.SSTablesSystemViewTest.testVirtualTableThroughIndexLifeCycle(SSTablesSystemViewTest.java:133)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
      

      The failure seems exclusive to test-trie.

      Attachments

        Issue Links

          Activity

            People

              maedhroz Caleb Rackliffe
              adelapena Andres de la Peña
              Caleb Rackliffe
              Michael Semb Wever
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h