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

[DTEST] cdc_test::TestCDC::test_insertion_and_commitlog_behavior_after_reaching_cdc_total_space assertion always fails (Extra items in the left set)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • Test/dtest/python
    • None
    • Normal

    Description

      Dtest cdc_test::TestCDC::test_insertion_and_commitlog_behavior_after_reaching_cdc_total_space always fails on an assertion.

      the assert is the final step of the test and it checks that pre_non_cdc_write_cdc_raw_segments == _get_cdc_raw_files(node.get_path())

      This fails 100% of the time locally, 100% of the time on circleci executed under pytest, and 100% of the time for the past 40 test runs on ASF Jenkins runs against trunk.

      This is the only test failure (excluding flaky one-off failures) remaining on the pytest dtest branch. I'm going to annotate the test with a skip marker (including a reason reference to this JIRA)... when it's fixed we should also remove the skip annotation from the test.

      >       assert pre_non_cdc_write_cdc_raw_segments == _get_cdc_raw_files(node.get_path())
      E       AssertionError: assert {'/tmp/dtest-...169.log', ...} == {'/tmp/dtest-v...169.log', ...}
      E         Extra items in the left set:
      E         '/tmp/dtest-vrn4k8ov/test/node1/cdc_raw/CommitLog-7-1515030005097.log'
      E         '/tmp/dtest-vrn4k8ov/test/node1/cdc_raw/CommitLog-7-1515030005098.log'
      E         Extra items in the right set:
      E         '/tmp/dtest-vrn4k8ov/test/node1/cdc_raw/CommitLog-7-1515030005099.log'
      E         '/tmp/dtest-vrn4k8ov/test/node1/cdc_raw/CommitLog-7-1515030005100.log'
      E         Use -v to get the full diff
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            mkjellman Michael Kjellman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: