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

Fix test: dtest-upgrade.upgrade_tests.drop_compact_storage_upgrade_test.TestDropCompactStorage.test_drop_compact_storage_mixed_cluster

    XMLWordPrintableJSON

Details

    Description

      Failed 28 times in the last 28 runs. Flakiness: 0%, Stability: 0%
       
      Example of failure: https://ci-cassandra.apache.org/job/Cassandra-trunk/801/testReport/junit/dtest-upgrade.upgrade_tests.drop_compact_storage_upgrade_test/TestDropCompactStorage/test_drop_compact_storage_mixed_cluster/
        

      upgrade_tests/drop_compact_storage_upgrade_test.py:149: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = <upgrade_tests.drop_compact_storage_upgrade_test.TestDropCompactStorage object at 0x7fa0e7f1ceb0>
      session = <cassandra.cluster.Session object at 0x7fa0e7c56d30>
      assert_msg = 'Cannot DROP COMPACT STORAGE as some nodes in the cluster ([/127.0.0.2:7000, /127.0.0.1:7000]) are not on 4.0+ yet. Please upgrade those nodes and run `upgradesstables` before retrying.'
      
          def drop_compact_storage(self, session, assert_msg):
              try:
                  session.execute("ALTER TABLE drop_compact_storage_test.test DROP COMPACT STORAGE")
                  pytest.fail("No exception has been thrown")
              except InvalidRequest as e:
      >           assert assert_msg in str(e)
      E           assert 'Cannot DROP COMPACT STORAGE as some nodes in the cluster ([/127.0.0.2:7000, /127.0.0.1:7000]) are not on 4.0+ yet. Please upgrade those nodes and run `upgradesstables` before retrying.' in 'Error from server: code=2200 [Invalid query] message="Cannot DROP COMPACT STORAGE as some nodes in the cluster ([/127....1:7000, /127.0.0.2:7000]) are not on 4.0+ yet. Please upgrade those nodes and run `upgradesstables` before retrying."'
      E            +  where 'Error from server: code=2200 [Invalid query] message="Cannot DROP COMPACT STORAGE as some nodes in the cluster ([/127....1:7000, /127.0.0.2:7000]) are not on 4.0+ yet. Please upgrade those nodes and run `upgradesstables` before retrying."' = str(InvalidRequest('Error from server: code=2200 [Invalid query] message="Cannot DROP COMPACT STORAGE as some nodes in the...1:7000, /127.0.0.2:7000]) are not on 4.0+ yet. Please upgrade those nodes and run `upgradesstables` before retrying."'))
      
      upgrade_tests/drop_compact_storage_upgrade_test.py:45: AssertionError
      

      Attachments

        Activity

          People

            e.dimitrova Ekaterina Dimitrova
            jmckenzie Josh McKenzie
            Ekaterina Dimitrova
            Berenguer Blasi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: