You are viewing a plain text version of this content. The canonical link for it is here.
Posted to builds@cassandra.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2020/09/22 11:27:40 UTC

Build complete: Cassandra-2.2 #6 [UNSTABLE] 2f0eb6f799f32c6f01d1f8384d48910c34ff6a98

-------------------------------------------------------------------------------
Build Cassandra-2.2 #6 Still Unstable
URL: https://ci-cassandra.apache.org/job/Cassandra-2.2/6/
-------------------------------------------------------------------------------
Changes:
[Alex Petrov] Fix support for adding UDT fields to clustering keys


-------------------------------------------------------------------------------
Failed Tests:
181 tests failed.
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_batch
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_batch
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_describe
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_describe
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_describe
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_describe
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_batch
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_batch
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_describe
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_describe
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_batch
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_batch
FAILED:  dtest-large.replace_address_test.TestReplaceAddress.test_resume_failed_replace
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_describe_describes_non_default_compaction_parameters
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_describe_describes_non_default_compaction_parameters
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_datetime_values
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_datetime_values
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_tracing
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_tracing
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_client_warnings
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_client_warnings
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_connect_timeout
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_connect_timeout
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_update_schema_with_down_node
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_update_schema_with_down_node
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_describe_round_trip
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_describe_round_trip
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_describe_functions
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_describe_functions
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_fetch_all_rows_in_batch_mode
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_fetch_all_rows_in_batch_mode
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_describe_types
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_describe_types
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlLogin.test_login_rejects_bad_pass
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlLogin.test_login_authenticates_correct_user
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlLogin.test_login_allows_bad_pass_and_continued_use
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_describe_on_non_reserved_keywords
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_describe_on_non_reserved_keywords
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_pycodestyle_compliance
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_simple_insert
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_simple_insert
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_past_and_future_dates
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_past_and_future_dates
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_eat_glass
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_eat_glass
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_source_glass
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_source_glass
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_unicode_syntax_error
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_unicode_syntax_error
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_unicode_invalid_request_error
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_unicode_invalid_request_error
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_with_empty_values
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_with_empty_values
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_tracing_from_system_traces
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_tracing_from_system_traces
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_select_element_inside_udt
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_select_element_inside_udt
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_list_queries
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_list_queries
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_copy_to
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_copy_to
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_float_formatting
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_float_formatting
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_int_values
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_int_values
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_pycodestyle_compliance
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_with_empty_values
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_with_empty_values
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_tracing_from_system_traces
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_tracing_from_system_traces
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_select_element_inside_udt
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_select_element_inside_udt
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_list_queries
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_list_queries
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_describe_describes_non_default_compaction_parameters
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_describe_describes_non_default_compaction_parameters
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_describe_functions
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_describe_functions
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_describe_types
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_describe_types
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_describe_on_non_reserved_keywords
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_describe_on_non_reserved_keywords
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_simple_insert
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_simple_insert
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_copy_to
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_copy_to
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_float_formatting
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_float_formatting
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_int_values
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_int_values
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_datetime_values
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_datetime_values
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_tracing
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_tracing
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_client_warnings
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_client_warnings
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_connect_timeout
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_connect_timeout
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_update_schema_with_down_node
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_update_schema_with_down_node
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_describe_round_trip
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_describe_round_trip
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_fetch_all_rows_in_batch_mode
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_fetch_all_rows_in_batch_mode
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_past_and_future_dates
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_past_and_future_dates
FAILED:  dtest-offheap.counter_test.TestCounters.test_counter_leader_with_partial_view
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlLogin.test_login_rejects_bad_pass
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlLogin.test_login_authenticates_correct_user
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_eat_glass
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_eat_glass
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlLogin.test_login_allows_bad_pass_and_continued_use
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_source_glass
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_source_glass
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_unicode_syntax_error
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_unicode_syntax_error
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_unicode_invalid_request_error
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_unicode_invalid_request_error
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_unicode_invalid_request_error
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_unicode_invalid_request_error
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_with_empty_values
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_with_empty_values
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_tracing_from_system_traces
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_tracing_from_system_traces
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_select_element_inside_udt
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_select_element_inside_udt
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_list_queries
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_list_queries
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_describe_describes_non_default_compaction_parameters
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_describe_describes_non_default_compaction_parameters
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_describe_functions
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_describe_functions
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_describe_types
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_describe_types
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_pycodestyle_compliance
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_describe_on_non_reserved_keywords
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_describe_on_non_reserved_keywords
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_copy_to
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_copy_to
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_float_formatting
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_float_formatting
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_int_values
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_int_values
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_datetime_values
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_datetime_values
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_tracing
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_tracing
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_client_warnings
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_client_warnings
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_connect_timeout
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_connect_timeout
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_simple_insert
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_simple_insert
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_update_schema_with_down_node
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_update_schema_with_down_node
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_describe_round_trip
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_describe_round_trip
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_fetch_all_rows_in_batch_mode
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_fetch_all_rows_in_batch_mode
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_past_and_future_dates
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_past_and_future_dates
FAILED:  dtest.counter_test.TestCounters.test_counter_leader_with_partial_view
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlLogin.test_login_rejects_bad_pass
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlLogin.test_login_authenticates_correct_user
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlLogin.test_login_allows_bad_pass_and_continued_use
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_eat_glass
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_eat_glass
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_source_glass
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_source_glass
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_unicode_syntax_error
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_unicode_syntax_error
FAILED:  junit.framework.TestSuite.org.apache.cassandra.io.sstable.LongSegmentedFileBoundaryTest
FAILED:  org.apache.cassandra.utils.LongBTreeTest.testSearchIterator
FAILED:  org.apache.cassandra.db.ScrubTest.testScrubCorruptedCounterRow-compression
FAILED:  org.apache.cassandra.db.ScrubTest.testScrubCorruptedCounterRowNoEarlyOpen-compression
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_lwt
FAILED:  dtest-novnode.cqlsh_tests.test_cqlsh.TestCqlsh.test_lwt
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_lwt
FAILED:  dtest-offheap.cqlsh_tests.test_cqlsh.TestCqlsh.test_lwt
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_lwt
FAILED:  dtest.cqlsh_tests.test_cqlsh.TestCqlsh.test_lwt

-------------------------------------------------------------------------------
Cassandra CI Results
-------------------------------------------------------------------------------

Tests Failures Errors Skipped Success rate Time
8292  98       1109   17      85.44%       65508.306

-------------------------------------------------------------------------------

Name                                               Tests Errors Failures Skipped Time(s)
                                                   4296  1107   96       0       62064.153
org.apache.cassandra.auth                          8     0      0        0       1.224
org.apache.cassandra.cache                         6     0      0        0       5.957
org.apache.cassandra.concurrent                    12    0      0        0       845.984
org.apache.cassandra.config                        26    0      0        0       7.103
org.apache.cassandra.cql.jdbc                      2     0      0        0       0.141
org.apache.cassandra.cql3                          62    0      0        0       258.383
org.apache.cassandra.cql3.functions                26    0      0        0       0.953
org.apache.cassandra.cql3.restrictions             46    0      0        0       1.003
org.apache.cassandra.cql3.selection                4     0      0        0       5.951
org.apache.cassandra.cql3.validation               38    0      0        0       11.981
org.apache.cassandra.cql3.validation.entities      552   0      0        2       178.997
org.apache.cassandra.cql3.validation.miscellaneous 80    0      0        0       36.765
org.apache.cassandra.cql3.validation.operations    574   0      0        0       153.108
org.apache.cassandra.db                            520   2      0        2       196.437
org.apache.cassandra.db.commitlog                  193   0      0        2       380.577
org.apache.cassandra.db.compaction                 162   0      0        2       215.243
org.apache.cassandra.db.composites                 6     0      0        0       0.860
org.apache.cassandra.db.context                    14    0      0        0       2.360
org.apache.cassandra.db.filter                     10    0      0        0       0.207
org.apache.cassandra.db.index                      16    0      0        0       4.710
org.apache.cassandra.db.lifecycle                  50    0      0        0       9.928
org.apache.cassandra.db.marshal                    226   0      0        0       35.736
org.apache.cassandra.dht                           114   0      0        0       46.410
org.apache.cassandra.distributed.test              30    0      0        1       195.529
org.apache.cassandra.gms                           22    0      0        0       14.610
org.apache.cassandra.hadoop                        2     0      0        0       0.577
org.apache.cassandra.io                            22    0      0        0       2.674
org.apache.cassandra.io.compress                   46    0      0        0       18.080
org.apache.cassandra.io.sstable                    139   0      1        0       131.082
org.apache.cassandra.io.sstable.format             26    0      0        0       4.861
org.apache.cassandra.io.sstable.metadata           4     0      0        0       1.231
org.apache.cassandra.io.util                       156   0      0        0       80.486
org.apache.cassandra.locator                       77    0      0        0       168.292
org.apache.cassandra.metrics                       28    0      0        0       20.825
org.apache.cassandra.net                           2     0      0        0       1.281
org.apache.cassandra.repair                        14    0      0        0       29.352
org.apache.cassandra.repair.messages               6     0      0        0       1.157
org.apache.cassandra.schema                        30    0      0        2       8.872
org.apache.cassandra.security                      4     0      0        0       1.365
org.apache.cassandra.serializers                   54    0      0        0       1.425
org.apache.cassandra.service                       172   0      0        2       96.513
org.apache.cassandra.service.pager                 4     0      0        0       1.440
org.apache.cassandra.streaming                     24    0      0        0       10.573
org.apache.cassandra.streaming.compress            6     0      0        0       1.535
org.apache.cassandra.thrift                        26    0      0        0       7.512
org.apache.cassandra.tools                         34    0      0        0       6.476
org.apache.cassandra.transport                     26    0      0        0       10.748
org.apache.cassandra.triggers                      50    0      0        0       10.159
org.apache.cassandra.utils                         217   0      1        2       211.626
org.apache.cassandra.utils.concurrent              16    0      0        2       5.015
org.apache.cassandra.utils.memory                  2     0      0        0       0.657
org.apache.cassandra.utils.progress.jmx            10    0      0        0       0.182

-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Packages
-------------------------------------------------------------------------------

Name             Tests Errors Failures Skipped Time(s)
Cassandra dtests 4     0      0                289.101
Cassandra dtests 4     2      0                4.303
Cassandra dtests 3     1      0                69.338
Cassandra dtests 10    4      0                146.442
Cassandra dtests 7     2      0                309.517
Cassandra dtests 11    4      1                1557.270
Cassandra dtests 7     2      0                499.334
Cassandra dtests 5     1      0                439.908
Cassandra dtests 24    7      1                190.407
Cassandra dtests 21    5      1                483.663
Cassandra dtests 26    8      0                346.522
Cassandra dtests 23    6      1                504.720
Cassandra dtests 24    7      1                217.413
Cassandra dtests 23    6      1                272.311
Cassandra dtests 24    6      0                392.705
Cassandra dtests 24    6      0                686.621
Cassandra dtests 21    5      1                311.159
Cassandra dtests 22    7      1                235.560
Cassandra dtests 23    6      0                241.566
Cassandra dtests 24    7      1                195.598
Cassandra dtests 23    7      0                162.156
Cassandra dtests 22    5      0                274.819
Cassandra dtests 22    6      1                319.675
Cassandra dtests 25    7      0                304.531
Cassandra dtests 27    10     1                104.265
Cassandra dtests 23    5      0                472.522
Cassandra dtests 22    4      0                646.451
Cassandra dtests 24    7      0                216.491
Cassandra dtests 26    9      0                188.870
Cassandra dtests 21    6      0                127.959
Cassandra dtests 25    7      0                120.966
Cassandra dtests 22    6      0                263.637
Cassandra dtests 24    7      0                252.422
Cassandra dtests 21    4      0                292.213
Cassandra dtests 24    7      0                172.439
Cassandra dtests 25    8      0                183.226
Cassandra dtests 21    5      0                231.159
Cassandra dtests 23    6      0                433.888
Cassandra dtests 19    3      0                826.645
Cassandra dtests 24    7      0                444.107
Cassandra dtests 23    5      0                650.270
Cassandra dtests 24    7      1                174.067
Cassandra dtests 22    5      0                268.728
Cassandra dtests 22    5      0                366.841
Cassandra dtests 23    6      0                309.138
Cassandra dtests 22    6      0                350.098
Cassandra dtests 26    8      1                354.944
Cassandra dtests 26    8      1                200.741
Cassandra dtests 24    6      1                558.959
Cassandra dtests 25    7      0                512.092
Cassandra dtests 24    6      0                766.127
Cassandra dtests 23    5      0                521.538
Cassandra dtests 23    6      1                220.289
Cassandra dtests 23    5      0                331.217
Cassandra dtests 23    5      1                287.693
Cassandra dtests 22    5      1                321.833
Cassandra dtests 22    5      1                226.955
Cassandra dtests 20    4      1                492.523
Cassandra dtests 22    4      0                596.165
Cassandra dtests 22    5      1                391.791
Cassandra dtests 23    6      1                154.698
Cassandra dtests 23    6      1                304.594
Cassandra dtests 21    4      1                332.460
Cassandra dtests 26    8      0                199.307
Cassandra dtests 22    5      1                220.514
Cassandra dtests 22    5      1                232.439
Cassandra dtests 21    4      1                339.932
Cassandra dtests 23    7      1                122.761
Cassandra dtests 24    8      1                163.583
Cassandra dtests 25    8      1                294.198
Cassandra dtests 24    8      1                202.564
Cassandra dtests 23    7      1                265.065
Cassandra dtests 25    7      1                334.155
Cassandra dtests 22    6      1                216.582
Cassandra dtests 21    5      1                279.031
Cassandra dtests 21    5      1                349.343
Cassandra dtests 21    5      1                508.606
Cassandra dtests 20    5      1                338.852
Cassandra dtests 18    4      1                201.309
Cassandra dtests 19    5      1                173.973
Cassandra dtests 20    3      0                428.954
Cassandra dtests 19    3      1                541.607
Cassandra dtests 22    6      1                193.334
Cassandra dtests 28    11     1                136.111
Cassandra dtests 24    7      0                165.783
Cassandra dtests 22    5      1                258.554
Cassandra dtests 23    7      1                360.781
Cassandra dtests 23    7      1                324.270
Cassandra dtests 25    9      1                210.560
Cassandra dtests 21    5      0                259.858
Cassandra dtests 21    6      1                286.852
Cassandra dtests 21    6      1                280.397
Cassandra dtests 20    5      1                268.327
Cassandra dtests 19    4      0                169.400
Cassandra dtests 21    7      1                133.580
Cassandra dtests 20    5      0                423.069
Cassandra dtests 19    5      1                195.981
Cassandra dtests 19    5      1                183.206
Cassandra dtests 23    7      0                340.067
Cassandra dtests 23    7      0                164.322
Cassandra dtests 25    8      0                316.312
Cassandra dtests 22    7      1                218.550
Cassandra dtests 24    8      0                229.485
Cassandra dtests 22    7      1                75.563
Cassandra dtests 22    5      0                145.553
Cassandra dtests 22    8      1                132.123
Cassandra dtests 21    4      0                179.244
Cassandra dtests 21    4      0                200.855
Cassandra dtests 21    4      0                308.052
Cassandra dtests 23    6      0                205.149
Cassandra dtests 22    5      0                599.883
Cassandra dtests 22    5      0                451.111
Cassandra dtests 20    3      0                300.215
Cassandra dtests 20    3      0                352.027
Cassandra dtests 19    2      0                410.557
Cassandra dtests 22    5      0                294.251
Cassandra dtests 22    7      0                132.942
Cassandra dtests 21    4      0                292.814
Cassandra dtests 21    4      0                308.066
Cassandra dtests 21    4      1                327.386
Cassandra dtests 22    5      0                217.773
Cassandra dtests 21    4      0                347.822
Cassandra dtests 21    4      0                309.414
Cassandra dtests 22    5      0                421.021
Cassandra dtests 21    4      0                634.338
Cassandra dtests 22    5      1                461.451
Cassandra dtests 23    6      1                380.321
Cassandra dtests 21    6      1                310.196
Cassandra dtests 23    6      1                542.707
Cassandra dtests 26    9      0                190.446
Cassandra dtests 23    6      0                376.015
Cassandra dtests 23    6      0                208.259
Cassandra dtests 23    6      0                354.933
Cassandra dtests 20    5      1                275.144
Cassandra dtests 19    4      1                485.222
Cassandra dtests 19    4      1                222.011
Cassandra dtests 25    7      0                364.857
Cassandra dtests 21    5      1                286.922
Cassandra dtests 22    6      1                248.069
Cassandra dtests 21    5      1                313.447
Cassandra dtests 20    4      1                567.231
Cassandra dtests 19    4      1                330.742
Cassandra dtests 20    6      1                188.762
Cassandra dtests 19    5      1                178.902
Cassandra dtests 19    3      1                427.589
Cassandra dtests 21    4      0                491.340
Cassandra dtests 21    5      1                216.906
Cassandra dtests 28    10     1                162.851
Cassandra dtests 22    6      1                145.301
Cassandra dtests 23    5      0                193.082
Cassandra dtests 23    7      1                502.446
Cassandra dtests 23    7      1                306.653
Cassandra dtests 26    10     1                191.867
Cassandra dtests 20    5      1                237.043
Cassandra dtests 23    7      0                235.470
Cassandra dtests 20    5      1                293.414
Cassandra dtests 21    6      1                274.106
Cassandra dtests 19    4      1                288.669
Cassandra dtests 24    8      1                195.087
Cassandra dtests 18    4      0                180.418
Cassandra dtests 20    5      0                467.833
Cassandra dtests 20    5      1                197.581
Cassandra dtests 20    6      1                341.677
Cassandra dtests 23    7      0                171.017
Cassandra dtests 25    8      0                306.112
Cassandra dtests 23    7      0                217.654
Cassandra dtests 23    8      1                241.527
Cassandra dtests 24    8      0                73.788
Cassandra dtests 22    6      1                121.833
Cassandra dtests 21    8      1                132.828
Cassandra dtests 22    5      0                125.327
Cassandra dtests 21    4      0                206.506
Cassandra dtests 21    4      0                256.699
Cassandra dtests 23    6      0                248.275
Cassandra dtests 21    4      0                563.107
Cassandra dtests 22    5      0                523.039
Cassandra dtests 21    4      0                204.623
Cassandra dtests 20    3      0                334.345
Cassandra dtests 19    2      0                426.865
Cassandra dtests 21    4      0                308.541
Cassandra dtests 20    6      1                154.782
Cassandra dtests 22    5      0                311.525
Cassandra dtests 21    4      0                250.125
Cassandra dtests 20    3      1                312.498
Cassandra dtests 23    6      0                261.231
Cassandra dtests 19    2      0                388.913
Cassandra dtests 22    5      0                248.391
Cassandra dtests 22    5      0                203.959
Cassandra dtests 22    5      0                449.591
Cassandra dtests 22    5      0                566.821
Cassandra dtests 23    6      1                539.725
Cassandra dtests 23    7      0                277.125
Cassandra dtests 23    6      1                327.404
Cassandra dtests 23    6      1                509.998
Cassandra dtests 25    8      0                197.777
Cassandra dtests 24    7      0                373.145
Cassandra dtests 21    4      0                370.781
Cassandra dtests 21    6      1                301.950
Cassandra dtests 19    4      1                352.848
Cassandra dtests 18    3      1                265.115

-------------------------------------------------------------------------------
org.apache.cassandra.auth

Name                        Tests Errors Failures Skipped Time(s)
RoleOptionsTest-compression 4     0      0        0       0.563
RoleOptionsTest             4     0      0        0       0.661

-------------------------------------------------------------------------------
org.apache.cassandra.cache

Name                            Tests Errors Failures Skipped Time(s)
AutoSavingCacheTest-compression 1     0      0        0       1.539
CacheProviderTest-compression   2     0      0        0       1.420
AutoSavingCacheTest             1     0      0        0       1.539
CacheProviderTest               2     0      0        0       1.459

-------------------------------------------------------------------------------
org.apache.cassandra.concurrent

Name                                       Tests Errors Failures Skipped Time(s)
LongOpOrderTest                            1     0      0        0       330.527
LongSharedExecutorPoolTest                 1     0      0        0       480.448
DebuggableScheduledThreadPoolExecutorTest- 1     0      0        0       12.997
compression
DebuggableThreadPoolExecutorTest-          1     0      0        0       1.064
compression
SEPExecutorTest-compression                1     0      0        0       3.324
WaitQueueTest-compression                  2     0      0        0       0.070
DebuggableScheduledThreadPoolExecutorTest  1     0      0        0       13.065
DebuggableThreadPoolExecutorTest           1     0      0        0       1.090
SEPExecutorTest                            1     0      0        0       3.324
WaitQueueTest                              2     0      0        0       0.075

-------------------------------------------------------------------------------
org.apache.cassandra.config

Name                               Tests Errors Failures Skipped Time(s)
ColumnDefinitionTest-compression   1     0      0        0       0.438
DatabaseDescriptorTest-compression 8     0      0        0       1.531
KSMetaDataTest-compression         1     0      0        0       0.071
LegacySchemaTablesTest-compression 3     0      0        0       1.393
ColumnDefinitionTest               1     0      0        0       0.448
DatabaseDescriptorTest             8     0      0        0       1.609
KSMetaDataTest                     1     0      0        0       0.075
LegacySchemaTablesTest             3     0      0        0       1.538

-------------------------------------------------------------------------------
org.apache.cassandra.cql.jdbc

Name                        Tests Errors Failures Skipped Time(s)
JdbcDecimalTest-compression 1     0      0        0       0.068
JdbcDecimalTest             1     0      0        0       0.073

-------------------------------------------------------------------------------
org.apache.cassandra.cql3

Name                                Tests Errors Failures Skipped Time(s)
CorruptionTest                      1     0      0        0       123.118
DropKeyspaceCommitLogRecycleTest    1     0      0        0       51.552
ManyRowsTest                        2     0      0        0       5.178
ColumnConditionTest-compression     4     0      0        0       0.731
CqlParserTest-compression           2     0      0        0       0.157
DeleteTest-compression              1     0      0        0       5.965
ErrorCollectorTest-compression      6     0      0        0       0.071
KeyCacheCqlTest-compression         2     0      0        0       8.996
LargeCompactValueTest-compression   1     0      0        0       1.789
NonNativeTimestampTest-compression  1     0      0        0       2.430
OutOfSpaceDieTest-compression       1     0      0        0       1.628
OutOfSpaceIgnoreTest-compression    1     0      0        0       1.642
OutOfSpaceStopTest-compression      1     0      0        0       1.615
PagingTest-compression              1     0      0        0       5.040
PreparedStatementsTest-compression  2     0      0        0       4.172
RangeTombstoneMergeTest-compression 2     0      0        0       2.147
ThriftCompatibilityTest-compression 1     0      0        0       1.504
UDHelperTest-compression            3     0      0        0       0.307
ColumnConditionTest                 4     0      0        0       0.736
CqlParserTest                       2     0      0        0       0.167
DeleteTest                          1     0      0        0       6.372
ErrorCollectorTest                  6     0      0        0       0.077
KeyCacheCqlTest                     2     0      0        0       9.974
LargeCompactValueTest               1     0      0        0       1.869
NonNativeTimestampTest              1     0      0        0       2.549
OutOfSpaceDieTest                   1     0      0        0       1.646
OutOfSpaceIgnoreTest                1     0      0        0       1.637
OutOfSpaceStopTest                  1     0      0        0       1.697
PagingTest                          1     0      0        0       5.150
PreparedStatementsTest              2     0      0        0       4.457
RangeTombstoneMergeTest             2     0      0        0       2.236
ThriftCompatibilityTest             1     0      0        0       1.439
UDHelperTest                        3     0      0        0       0.335

-------------------------------------------------------------------------------
org.apache.cassandra.cql3.functions

Name                     Tests Errors Failures Skipped Time(s)
TimeFctsTest-compression 13    0      0        0       0.455
TimeFctsTest             13    0      0        0       0.498

-------------------------------------------------------------------------------
org.apache.cassandra.cql3.restrictions

Name                                     Tests Errors Failures Skipped Time(s)
PrimaryKeyRestrictionSetTest-compression 23    0      0        0       0.494
PrimaryKeyRestrictionSetTest             23    0      0        0       0.509

-------------------------------------------------------------------------------
org.apache.cassandra.cql3.selection

Name                                   Tests Errors Failures Skipped Time(s)
SelectionColumnMappingTest-compression 2     0      0        0       2.857
SelectionColumnMappingTest             2     0      0        0       3.094

-------------------------------------------------------------------------------
org.apache.cassandra.cql3.validation

Name                              Tests Errors Failures Skipped Time(s)
ThriftIntegrationTest-compression 19    0      0        0       5.908
ThriftIntegrationTest             19    0      0        0       6.073

-------------------------------------------------------------------------------
org.apache.cassandra.cql3.validation.entities

Name                              Tests Errors Failures Skipped Time(s)
CollectionsTest-compression       29    0      0        0       4.323
CountersTest-compression          5     0      0        0       2.115
DateTypeTest-compression          1     0      0        0       1.774
FrozenCollectionsTest-compression 32    0      0        0       5.370
JsonTest-compression              18    0      0        0       9.584
SecondaryIndexOnMapEntriesTest-   11    0      0        0       3.028
compression
SecondaryIndexTest-compression    36    0      0        0       10.215
StaticColumnsTest-compression     6     0      0        0       2.573
TimestampTest-compression         4     0      0        0       2.222
TimeuuidTest-compression          2     0      0        0       1.931
TupleTypeTest-compression         10    0      0        0       2.766
TypeTest-compression              7     0      0        0       2.421
UFAuthTest-compression            24    0      0        0       5.126
UFIdentificationTest-compression  14    0      0        1       5.753
UFJavaTest-compression            24    0      0        0       9.480
UFScriptTest-compression          12    0      0        0       6.403
UFTest-compression                24    0      0        0       8.650
UserTypesTest-compression         17    0      0        0       3.987
CollectionsTest                   29    0      0        0       4.503
CountersTest                      5     0      0        0       2.178
DateTypeTest                      1     0      0        0       1.826
FrozenCollectionsTest             32    0      0        0       5.570
JsonTest                          18    0      0        0       9.656
SecondaryIndexOnMapEntriesTest    11    0      0        0       3.108
SecondaryIndexTest                36    0      0        0       10.340
StaticColumnsTest                 6     0      0        0       2.772
TimestampTest                     4     0      0        0       2.402
TimeuuidTest                      2     0      0        0       2.057
TupleTypeTest                     10    0      0        0       2.890
TypeTest                          7     0      0        0       2.490
UFAuthTest                        24    0      0        0       5.589
UFIdentificationTest              14    0      0        1       5.925
UFJavaTest                        24    0      0        0       9.669
UFScriptTest                      12    0      0        0       6.755
UFTest                            24    0      0        0       9.523
UserTypesTest                     17    0      0        0       4.023

-------------------------------------------------------------------------------
org.apache.cassandra.cql3.validation.miscellaneous

Name                                    Tests Errors Failures Skipped Time(s)
CrcCheckChanceTest-compression          2     0      0        0       3.129
OverflowTest-compression                15    0      0        0       3.251
PgStringTest-compression                3     0      0        0       2.259
RoleSyntaxTest-compression              8     0      0        0       2.151
SSTableMetadataTrackingTest-compression 7     0      0        0       2.661
TombstonesTest-compression              5     0      0        0       4.512
CrcCheckChanceTest                      2     0      0        0       3.472
OverflowTest                            15    0      0        0       3.298
PgStringTest                            3     0      0        0       2.393
RoleSyntaxTest                          8     0      0        0       2.173
SSTableMetadataTrackingTest             7     0      0        0       2.822
TombstonesTest                          5     0      0        0       4.644

-------------------------------------------------------------------------------
org.apache.cassandra.cql3.validation.operations

Name                                      Tests Errors Failures Skipped Time(s)
AggregationTest-compression               40    0      0        0       7.570
AlterTest-compression                     14    0      0        0       3.305
BatchTest-compression                     5     0      0        0       2.175
CreateTest-compression                    21    0      0        0       3.784
DeleteTest-compression                    12    0      0        0       3.211
DropRecreateAndRestoreTest-compression    4     0      0        0       2.292
DropTest-compression                      1     0      0        0       1.716
InsertTest-compression                    4     0      0        0       2.197
InsertUpdateIfConditionTest-compression   32    0      0        0       8.189
SelectLimitTest-compression               6     0      0        0       4.631
SelectMultiColumnRelationTest-compression 21    0      0        0       4.619
SelectOrderByTest-compression             17    0      0        0       3.980
SelectOrderedPartitionerTest-compression  16    0      0        0       3.542
SelectSingleColumnRelationTest-           22    0      0        0       4.495
compression
SelectTest-compression                    59    0      0        0       8.330
TTLTest-compression                       6     0      0        0       3.371
TruncateTest-compression                  1     0      0        0       1.926
TuplesWithNullsComparisonTest-compression 3     0      0        0       2.378
UpdateTest-compression                    2     0      0        0       1.919
UseTest-compression                       1     0      0        0       1.741
AggregationTest                           40    0      0        0       7.873
AlterTest                                 14    0      0        0       3.265
BatchTest                                 5     0      0        0       2.280
CreateTest                                21    0      0        0       4.009
DeleteTest                                12    0      0        0       3.292
DropRecreateAndRestoreTest                4     0      0        0       2.327
DropTest                                  1     0      0        0       1.778
InsertTest                                4     0      0        0       2.271
InsertUpdateIfConditionTest               32    0      0        0       8.452
SelectLimitTest                           6     0      0        0       4.897
SelectMultiColumnRelationTest             21    0      0        0       4.895
SelectOrderByTest                         17    0      0        0       4.232
SelectOrderedPartitionerTest              16    0      0        0       3.569
SelectSingleColumnRelationTest            22    0      0        0       4.499
SelectTest                                59    0      0        0       8.194
TTLTest                                   6     0      0        0       3.776
TruncateTest                              1     0      0        0       1.944
TuplesWithNullsComparisonTest             3     0      0        0       2.438
UpdateTest                                2     0      0        0       1.956
UseTest                                   1     0      0        0       1.790

-------------------------------------------------------------------------------
org.apache.cassandra.db

Name                                     Tests Errors Failures Skipped Time(s)
LongFlushMemtableTest                    1     0      0        0       10.340
LongKeyspaceTest                         1     0      0        0       5.635
ArrayBackedSortedColumnsTest-compression 12    0      0        0       1.354
BatchlogManagerTest-compression          2     0      0        0       3.079
CellTest-compression                     2     0      0        0       0.118
CleanupTest-compression                  4     0      0        0       1.930
CollationControllerCQLTest-compression   1     0      0        0       1.795
CollationControllerTest-compression      2     0      0        0       1.563
ColumnFamilyMetricTest-compression       2     0      0        0       1.515
ColumnFamilyStoreTest-compression        40    0      0        0       5.935
ColumnFamilyTest-compression             8     0      0        0       1.375
CounterCacheTest-compression             5     0      0        0       1.628
CounterCellTest-compression              5     0      0        0       1.125
CounterMutationTest-compression          5     0      0        0       1.632
DirectoriesTest-compression              6     0      0        0       0.701
HintedHandOffTest-compression            3     0      0        0       1.583
KeyCacheTest-compression                 3     0      0        0       1.766
KeyspaceTest-compression                 12    0      0        0       2.027
MmapFileTest-compression                 1     0      0        0       0.141
MultitableTest-compression               1     0      0        0       1.540
NameSortTest-compression                 3     0      0        0       1.761
NativeCellTest-compression               2     0      0        0       1.217
RangeTombstoneListTest-compression       15    0      0        0       8.940
RangeTombstoneTest-compression           15    0      0        0       2.197
ReadMessageTest-compression              3     0      0        0       1.398
RecoveryManager2Test-compression         4     0      0        0       2.342
RecoveryManager3Test-compression         4     0      0        0       2.413
RecoveryManagerTest-compression          20    0      0        0       5.502
RecoveryManagerTruncateTest-compression  12    0      0        0       4.508
RemoveCellTest-compression               2     0      0        0       1.491
RemoveColumnFamilyTest-compression       1     0      0        0       1.309
RemoveColumnFamilyWithFlush1Test-        1     0      0        0       1.478
compression
RemoveColumnFamilyWithFlush2Test-        1     0      0        0       1.476
compression
RemoveSubCellTest-compression            2     0      0        0       2.462
RowCacheCQLTest-compression              1     0      0        0       1.737
RowCacheTest-compression                 9     0      0        0       2.280
RowIndexEntryTest-compression            1     0      0        0       1.108
RowIterationTest-compression             3     0      0        0       1.546
RowTest-compression                      3     0      0        0       3.301
ScrubTest-compression                    20    2      0        2       4.166
SerializationsTest-compression           7     0      0        0       1.342
SystemKeyspaceTest-compression           4     0      0        0       1.404
TimeSortTest-compression                 2     0      0        0       1.632
VerifyTest-compression                   10    0      0        0       1.804
ArrayBackedSortedColumnsTest             12    0      0        0       1.348
BatchlogManagerTest                      2     0      0        0       3.112
CellTest                                 2     0      0        0       0.120
CleanupTest                              4     0      0        0       1.885
CollationControllerCQLTest               1     0      0        0       1.845
CollationControllerTest                  2     0      0        0       1.527
ColumnFamilyMetricTest                   2     0      0        0       1.565
ColumnFamilyStoreTest                    40    0      0        0       5.883
ColumnFamilyTest                         8     0      0        0       1.362
CounterCacheTest                         5     0      0        0       1.644
CounterCellTest                          5     0      0        0       1.233
CounterMutationTest                      5     0      0        0       1.717
DirectoriesTest                          6     0      0        0       0.747
HintedHandOffTest                        3     0      0        0       1.666
KeyCacheTest                             3     0      0        0       1.864
KeyspaceTest                             12    0      0        0       2.061
MmapFileTest                             1     0      0        0       0.154
MultitableTest                           1     0      0        0       1.479
NameSortTest                             3     0      0        0       1.771
NativeCellTest                           2     0      0        0       1.288
RangeTombstoneListTest                   15    0      0        0       9.007
RangeTombstoneTest                       15    0      0        0       2.209
ReadMessageTest                          3     0      0        0       1.421
RecoveryManager2Test                     4     0      0        0       2.382
RecoveryManager3Test                     4     0      0        0       2.466
RecoveryManagerTest                      20    0      0        0       5.603
RecoveryManagerTruncateTest              12    0      0        0       4.623
RemoveCellTest                           2     0      0        0       1.495
RemoveColumnFamilyTest                   1     0      0        0       1.377
RemoveColumnFamilyWithFlush1Test         1     0      0        0       1.465
RemoveColumnFamilyWithFlush2Test         1     0      0        0       1.488
RemoveSubCellTest                        2     0      0        0       2.534
RowCacheCQLTest                          1     0      0        0       1.751
RowCacheTest                             9     0      0        0       2.298
RowIndexEntryTest                        1     0      0        0       1.127
RowIterationTest                         3     0      0        0       1.539
RowTest                                  3     0      0        0       3.338
ScrubTest                                20    0      0        0       4.191
SerializationsTest                       7     0      0        0       1.425
SystemKeyspaceTest                       4     0      0        0       1.400
TimeSortTest                             2     0      0        0       1.618
VerifyTest                               10    0      0        0       1.813

-------------------------------------------------------------------------------
org.apache.cassandra.db.commitlog

Name                                   Tests Errors Failures Skipped Time(s)
CommitLogStressTest                    3     0      0        0       342.324
CommitLogDescriptorTest-compression    3     0      0        0       0.270
CommitLogFailurePolicyTest-compression 4     0      0        0       3.822
CommitLogTest-compression              80    0      0        0       10.877
CommitLogUpgradeTest-compression       7     0      0        0       2.585
SnapshotDeletingTest-compression       1     0      0        1       1.349
CommitLogDescriptorTest                3     0      0        0       0.279
CommitLogFailurePolicyTest             4     0      0        0       3.915
CommitLogTest                          80    0      0        0       11.004
CommitLogUpgradeTest                   7     0      0        0       2.842
SnapshotDeletingTest                   1     0      0        1       1.310

-------------------------------------------------------------------------------
org.apache.cassandra.db.compaction

Name                                      Tests Errors Failures Skipped Time(s)
LongCompactionsTest                       4     0      0        0       10.921
LongLeveledCompactionStrategyTest         2     0      0        0       6.553
AntiCompactionTest-compression            7     0      0        0       7.978
CompactionAwareWriterTest-compression     4     0      0        0       7.748
CompactionControllerTest-compression      2     0      0        0       1.911
CompactionExecutorTest-compression        3     0      0        0       0.588
CompactionsBytemanTest-compression        1     0      0        0       5.256
CompactionsCQLTest-compression            13    0      0        0       18.717
CompactionsPurgeTest-compression          10    0      0        0       2.083
CompactionsTest-compression               10    0      0        1       23.209
CorruptedSSTablesCompactionsTest-         2     0      0        0       2.724
compression
DateTieredCompactionStrategyTest-         7     0      0        0       4.765
compression
LeveledCompactionStrategyTest-compression 6     0      0        0       7.050
NeverPurgeTest-compression                4     0      0        0       6.536
OneCompactionTest-compression             2     0      0        0       1.587
SizeTieredCompactionStrategyTest-         3     0      0        0       1.543
compression
TTLExpiryTest-compression                 4     0      0        0       5.778
AntiCompactionTest                        7     0      0        0       9.480
CompactionAwareWriterTest                 4     0      0        0       7.921
CompactionControllerTest                  2     0      0        0       1.898
CompactionExecutorTest                    3     0      0        0       0.625
CompactionsBytemanTest                    1     0      0        0       5.344
CompactionsCQLTest                        13    0      0        0       18.914
CompactionsPurgeTest                      10    0      0        0       2.106
CompactionsTest                           10    0      0        1       23.228
CorruptedSSTablesCompactionsTest          2     0      0        0       2.923
DateTieredCompactionStrategyTest          7     0      0        0       4.708
LeveledCompactionStrategyTest             6     0      0        0       7.356
NeverPurgeTest                            4     0      0        0       6.700
OneCompactionTest                         2     0      0        0       1.705
SizeTieredCompactionStrategyTest          3     0      0        0       1.609
TTLExpiryTest                             4     0      0        0       5.779

-------------------------------------------------------------------------------
org.apache.cassandra.db.composites

Name                  Tests Errors Failures Skipped Time(s)
CTypeTest-compression 3     0      0        0       0.423
CTypeTest             3     0      0        0       0.437

-------------------------------------------------------------------------------
org.apache.cassandra.db.context

Name                           Tests Errors Failures Skipped Time(s)
CounterContextTest-compression 7     0      0        0       1.154
CounterContextTest             7     0      0        0       1.206

-------------------------------------------------------------------------------
org.apache.cassandra.db.filter

Name                        Tests Errors Failures Skipped Time(s)
ColumnSliceTest-compression 5     0      0        0       0.097
ColumnSliceTest             5     0      0        0       0.110

-------------------------------------------------------------------------------
org.apache.cassandra.db.index

Name                                 Tests Errors Failures Skipped Time(s)
PerRowSecondaryIndexTest-compression 8     0      0        0       2.407
PerRowSecondaryIndexTest             8     0      0        0       2.303

-------------------------------------------------------------------------------
org.apache.cassandra.db.lifecycle

Name                                 Tests Errors Failures Skipped Time(s)
HelpersTest-compression              7     0      0        0       1.012
LifecycleTransactionTest-compression 8     0      0        0       1.297
TrackerTest-compression              7     0      0        0       1.477
ViewTest-compression                 3     0      0        0       1.144
HelpersTest                          7     0      0        0       1.048
LifecycleTransactionTest             8     0      0        0       1.348
TrackerTest                          7     0      0        0       1.440
ViewTest                             3     0      0        0       1.162

-------------------------------------------------------------------------------
org.apache.cassandra.db.marshal

Name                                 Tests Errors Failures Skipped Time(s)
BytesTypeTest-compression            2     0      0        0       0.242
CollectionTypeTest-compression       6     0      0        0       0.308
CompositeTypeTest-compression        8     0      0        0       1.375
DecimalTypeTest-compression          3     0      0        0       0.073
DynamicCompositeTypeTest-compression 8     0      0        0       1.390
IntegerTypeTest-compression          10    0      0        0       0.108
JsonConversionTest-compression       30    0      0        0       0.531
ReversedTypeTest-compression         1     0      0        0       0.072
RoundTripTest-compression            8     0      0        0       0.410
SimpleDateTypeTest-compression       1     0      0        0       0.130
TimeTypeTest-compression             1     0      0        0       0.078
TimeUUIDTypeTest-compression         6     0      0        0       9.243
TypeCompareTest-compression          8     0      0        0       0.103
TypeParserTest-compression           2     0      0        0       0.352
TypeValidationTest-compression       14    0      0        0       0.576
UUIDTypeTest-compression             5     0      0        0       3.574
BytesTypeTest                        2     0      0        0       0.253
CollectionTypeTest                   6     0      0        0       0.295
CompositeTypeTest                    8     0      0        0       1.363
DecimalTypeTest                      3     0      0        0       0.076
DynamicCompositeTypeTest             8     0      0        0       1.327
IntegerTypeTest                      10    0      0        0       0.127
JsonConversionTest                   30    0      0        0       0.556
ReversedTypeTest                     1     0      0        0       0.075
RoundTripTest                        8     0      0        0       0.403
SimpleDateTypeTest                   1     0      0        0       0.126
TimeTypeTest                         1     0      0        0       0.077
TimeUUIDTypeTest                     6     0      0        0       7.800
TypeCompareTest                      8     0      0        0       0.108
TypeParserTest                       2     0      0        0       0.375
TypeValidationTest                   14    0      0        0       0.580
UUIDTypeTest                         5     0      0        0       3.630

-------------------------------------------------------------------------------
org.apache.cassandra.dht

Name                                   Tests Errors Failures Skipped Time(s)
BootStrapperTest-compression           1     0      0        0       2.747
BoundsTest-compression                 1     0      0        0       0.094
ByteOrderedPartitionerTest-compression 6     0      0        0       1.418
KeyCollisionTest-compression           1     0      0        0       1.340
Murmur3PartitionerTest-compression     6     0      0        0       0.813
OrderPreservingPartitionerTest-        7     0      0        0       1.554
compression
RandomPartitionerTest-compression      6     0      0        0       0.883
RangeTest-compression                  28    0      0        0       11.846
StreamStateStoreTest-compression       1     0      0        0       1.119
BootStrapperTest                       1     0      0        0       2.690
BoundsTest                             1     0      0        0       0.091
ByteOrderedPartitionerTest             6     0      0        0       1.562
KeyCollisionTest                       1     0      0        0       1.346
Murmur3PartitionerTest                 6     0      0        0       0.853
OrderPreservingPartitionerTest         7     0      0        0       1.638
RandomPartitionerTest                  6     0      0        0       0.900
RangeTest                              28    0      0        0       14.333
StreamStateStoreTest                   1     0      0        0       1.183

-------------------------------------------------------------------------------
org.apache.cassandra.distributed.test

Name                    Tests Errors Failures Skipped Time(s)
BootstrapTest           1     0      0        0       54.131
FrozenUDTTest           4     0      0        0       15.906
GossipSettlesTest       1     0      0        0       7.266
JVMDTestTest            1     0      0        0       3.982
MessageFiltersTest      4     0      0        0       43.669
MessageForwardingTest   1     0      0        0       8.209
NativeProtocolTest      2     0      0        0       23.570
NetworkTopologyTest     6     0      0        0       15.738
NodeToolTest            1     0      0        0       4.074
ResourceLeakTest        1     0      0        1       0.057
SimpleReadWritePathTest 7     0      0        0       12.519
ThriftClientTest        1     0      0        0       6.408

-------------------------------------------------------------------------------
org.apache.cassandra.gms

Name                                    Tests Errors Failures Skipped Time(s)
ArrayBackedBoundedStatsTest-compression 2     0      0        0       0.069
ArrivalWindowTest-compression           1     0      0        0       0.560
EndpointStateTest-compression           2     0      0        0       1.050
FailureDetectorTest-compression         1     0      0        0       1.236
GossipDigestTest-compression            1     0      0        0       0.070
GossiperTest-compression                1     0      0        0       1.261
PendingRangeCalculatorServiceTest-      1     0      0        0       2.251
compression
SerializationsTest-compression          2     0      0        0       0.636
ArrayBackedBoundedStatsTest             2     0      0        0       0.074
ArrivalWindowTest                       1     0      0        0       0.565
EndpointStateTest                       2     0      0        0       1.064
FailureDetectorTest                     1     0      0        0       1.303
GossipDigestTest                        1     0      0        0       0.070
GossiperTest                            1     0      0        0       1.311
PendingRangeCalculatorServiceTest       1     0      0        0       2.412
SerializationsTest                      2     0      0        0       0.678

-------------------------------------------------------------------------------
org.apache.cassandra.hadoop

Name                                    Tests Errors Failures Skipped Time(s)
ColumnFamilyInputFormatTest-compression 1     0      0        0       0.282
ColumnFamilyInputFormatTest             1     0      0        0       0.295

-------------------------------------------------------------------------------
org.apache.cassandra.io

Name                               Tests Errors Failures Skipped Time(s)
BloomFilterTrackerTest-compression 3     0      0        0       0.071
ChecksummedRandomAccessReaderTest- 3     0      0        0       0.636
compression
RandomAccessReaderTest-compression 5     0      0        0       0.595
BloomFilterTrackerTest             3     0      0        0       0.069
ChecksummedRandomAccessReaderTest  3     0      0        0       0.677
RandomAccessReaderTest             5     0      0        0       0.626

-------------------------------------------------------------------------------
org.apache.cassandra.io.compress

Name                                  Tests Errors Failures Skipped Time(s)
CompressedRandomAccessReaderTest-     5     0      0        0       0.743
compression
CompressedSequentialWriterReopenTest- 4     0      0        0       5.585
compression
CompressedSequentialWriterTest-       10    0      0        0       0.814
compression
CompressorTest-compression            4     0      0        0       1.353
CompressedRandomAccessReaderTest      5     0      0        0       0.747
CompressedSequentialWriterReopenTest  4     0      0        0       6.636
CompressedSequentialWriterTest        10    0      0        0       0.846
CompressorTest                        4     0      0        0       1.356

-------------------------------------------------------------------------------
org.apache.cassandra.io.sstable

Name                                   Tests Errors Failures Skipped Time(s)
CQLSSTableWriterLongTest               1     0      0        0       49.041
LongSegmentedFileBoundaryTest          0     0      1        0       1.218
BigTableWriterTest-compression         5     0      0        0       1.440
CQLSSTableWriterClientTest-compression 1     0      0        0       0.916
CQLSSTableWriterTest-compression       5     0      0        0       2.712
DescriptorTest-compression             7     0      0        0       0.585
IndexHelperTest-compression            1     0      0        0       0.081
IndexSummaryManagerTest-compression    7     0      0        0       2.731
IndexSummaryRedistributionTest-        1     0      0        0       2.007
compression
IndexSummaryTest-compression           9     0      0        0       1.852
LegacySSTableTest-compression          2     0      0        0       2.114
SSTableLoaderTest-compression          1     0      0        0       1.964
SSTableMetadataTest-compression        5     0      0        0       1.866
SSTableRewriterTest-compression        21    0      0        0       19.379
SSTableScannerTest-compression         3     0      0        0       1.630
SSTableSimpleWriterTest-compression    1     0      0        0       1.453
BigTableWriterTest                     5     0      0        0       1.510
CQLSSTableWriterClientTest             1     0      0        0       0.976
CQLSSTableWriterTest                   5     0      0        0       2.693
DescriptorTest                         7     0      0        0       0.621
IndexHelperTest                        1     0      0        0       0.086
IndexSummaryManagerTest                7     0      0        0       2.632
IndexSummaryRedistributionTest         1     0      0        0       2.077
IndexSummaryTest                       9     0      0        0       2.057
LegacySSTableTest                      2     0      0        0       2.136
SSTableLoaderTest                      1     0      0        0       2.018
SSTableMetadataTest                    5     0      0        0       1.867
SSTableRewriterTest                    21    0      0        0       18.385
SSTableScannerTest                     3     0      0        0       1.579
SSTableSimpleWriterTest                1     0      0        0       1.456

-------------------------------------------------------------------------------
org.apache.cassandra.io.sstable.format

Name                          Tests Errors Failures Skipped Time(s)
SSTableReaderTest-compression 13    0      0        0       2.418
SSTableReaderTest             13    0      0        0       2.443

-------------------------------------------------------------------------------
org.apache.cassandra.io.sstable.metadata

Name                               Tests Errors Failures Skipped Time(s)
MetadataSerializerTest-compression 2     0      0        0       0.592
MetadataSerializerTest             2     0      0        0       0.639

-------------------------------------------------------------------------------
org.apache.cassandra.io.util

Name                                     Tests Errors Failures Skipped Time(s)
BufferedDataOutputStreamTest-compression 13    0      0        0       25.804
BufferedRandomAccessFileTest-compression 18    0      0        0       0.775
ByteBufferDataInputTest-compression      1     0      0        0       0.071
ChecksummedSequentialWriterTest-         7     0      0        0       0.634
compression
DataOutputTest-compression               15    0      0        0       0.622
FileUtilsTest-compression                1     0      0        0       0.277
MemoryTest-compression                   1     0      0        0       0.282
NIODataInputStreamTest-compression       13    0      0        0       8.757
SafeMemoryWriterTest-compression         2     0      0        0       2.434
SequentialWriterTest-compression         7     0      0        0       0.620
BufferedDataOutputStreamTest             13    0      0        0       25.405
BufferedRandomAccessFileTest             18    0      0        0       0.822
ByteBufferDataInputTest                  1     0      0        0       0.075
ChecksummedSequentialWriterTest          7     0      0        0       0.642
DataOutputTest                           15    0      0        0       0.666
FileUtilsTest                            1     0      0        0       0.272
MemoryTest                               1     0      0        0       0.285
NIODataInputStreamTest                   13    0      0        0       8.865
SafeMemoryWriterTest                     2     0      0        0       2.545
SequentialWriterTest                     7     0      0        0       0.633

-------------------------------------------------------------------------------
org.apache.cassandra.locator

Name                                    Tests Errors Failures Skipped Time(s)
DynamicEndpointSnitchLongTest           1     0      0        0       92.438
CloudstackSnitchTest-compression        2     0      0        0       4.759
DynamicEndpointSnitchTest-compression   1     0      0        0       1.761
EC2SnitchTest-compression               3     0      0        0       4.878
GoogleCloudSnitchTest-compression       2     0      0        0       4.817
GossipingPropertyFileSnitchTest-        1     0      0        0       0.634
compression
NetworkTopologyStrategyTest-compression 3     0      0        0       0.733
OldNetworkTopologyStrategyTest-         8     0      0        0       0.699
compression
PendingRangeMapsTest-compression        2     0      0        0       0.367
PropertyFileSnitchTest-compression      5     0      0        0       15.726
ReplicationStrategyEndpointCacheTest-   2     0      0        0       1.261
compression
SimpleStrategyTest-compression          4     0      0        0       1.301
TokenMetadataTest-compression           5     0      0        0       0.708
CloudstackSnitchTest                    2     0      0        0       4.836
DynamicEndpointSnitchTest               1     0      0        0       1.727
EC2SnitchTest                           3     0      0        0       4.886
GoogleCloudSnitchTest                   2     0      0        0       4.953
GossipingPropertyFileSnitchTest         1     0      0        0       0.701
NetworkTopologyStrategyTest             3     0      0        0       0.724
OldNetworkTopologyStrategyTest          8     0      0        0       0.720
PendingRangeMapsTest                    2     0      0        0       0.376
PropertyFileSnitchTest                  5     0      0        0       15.728
ReplicationStrategyEndpointCacheTest    2     0      0        0       1.398
SimpleStrategyTest                      4     0      0        0       1.423
TokenMetadataTest                       5     0      0        0       0.738

-------------------------------------------------------------------------------
org.apache.cassandra.metrics

Name                                     Tests Errors Failures Skipped Time(s)
CQLMetricsTest-compression               4     0      0        0       3.329
DecayingEstimatedHistogramReservoirTest- 9     0      0        0       6.529
compression
LatencyMetricsTest-compression           1     0      0        0       0.340
CQLMetricsTest                           4     0      0        0       3.717
DecayingEstimatedHistogramReservoirTest  9     0      0        0       6.513
LatencyMetricsTest                       1     0      0        0       0.397

-------------------------------------------------------------------------------
org.apache.cassandra.net

Name                             Tests Errors Failures Skipped Time(s)
MessagingServiceTest-compression 1     0      0        0       0.593
MessagingServiceTest             1     0      0        0       0.688

-------------------------------------------------------------------------------
org.apache.cassandra.repair

Name                          Tests Errors Failures Skipped Time(s)
LocalSyncTaskTest-compression 2     0      0        0       1.824
RepairSessionTest-compression 1     0      0        0       0.689
ValidatorTest-compression     4     0      0        0       12.155
LocalSyncTaskTest             2     0      0        0       1.850
RepairSessionTest             1     0      0        0       0.742
ValidatorTest                 4     0      0        0       12.092

-------------------------------------------------------------------------------
org.apache.cassandra.repair.messages

Name                         Tests Errors Failures Skipped Time(s)
RepairOptionTest-compression 3     0      0        0       0.552
RepairOptionTest             3     0      0        0       0.605

-------------------------------------------------------------------------------
org.apache.cassandra.schema

Name                                  Tests Errors Failures Skipped Time(s)
CreateTableValidationTest-compression 1     0      0        0       1.715
DefsTest-compression                  14    0      0        1       2.516
CreateTableValidationTest             1     0      0        0       1.895
DefsTest                              14    0      0        1       2.746

-------------------------------------------------------------------------------
org.apache.cassandra.security

Name                       Tests Errors Failures Skipped Time(s)
SSLFactoryTest-compression 2     0      0        0       0.621
SSLFactoryTest             2     0      0        0       0.744

-------------------------------------------------------------------------------
org.apache.cassandra.serializers

Name                                 Tests Errors Failures Skipped Time(s)
ClientUtilsTest-compression          1     0      0        0       0.403
SimpleDateSerializerTest-compression 9     0      0        0       0.138
TimeSerializerTest-compression       16    0      0        0       0.083
TimestampSerializerTest-compression  1     0      0        0       0.087
ClientUtilsTest                      1     0      0        0       0.391
SimpleDateSerializerTest             9     0      0        0       0.147
TimeSerializerTest                   16    0      0        0       0.089
TimestampSerializerTest              1     0      0        0       0.087

-------------------------------------------------------------------------------
org.apache.cassandra.service

Name                                     Tests Errors Failures Skipped Time(s)
ActiveRepairServiceTest-compression      10    0      0        0       2.155
BatchlogEndpointFilterTest-compression   4     0      0        0       0.119
ClientWarningsTest-compression           4     0      0        0       14.288
EmbeddedCassandraServiceTest-compression 1     0      0        0       2.263
LeaveAndBootstrapTest-compression        8     0      0        0       3.059
MoveTest-compression                     7     0      0        0       5.932
PaxosStateTest-compression               1     0      0        0       2.627
QueryPagerTest-compression               8     0      0        0       1.446
RemoveTest-compression                   3     0      0        0       4.429
ResponseResolverTest-compression         9     0      0        0       2.231
RowResolverTest-compression              7     0      0        0       1.340
SerializationsTest-compression           4     0      0        0       0.653
StartupChecksTest-compression            2     0      0        0       1.198
StorageProxyTest-compression             4     0      0        0       0.717
StorageServiceServerTest-compression     14    0      0        1       4.964
ActiveRepairServiceTest                  10    0      0        0       2.205
BatchlogEndpointFilterTest               4     0      0        0       0.125
ClientWarningsTest                       4     0      0        0       15.601
EmbeddedCassandraServiceTest             1     0      0        0       2.258
LeaveAndBootstrapTest                    8     0      0        0       3.113
MoveTest                                 7     0      0        0       5.931
PaxosStateTest                           1     0      0        0       2.578
QueryPagerTest                           8     0      0        0       1.459
RemoveTest                               3     0      0        0       4.465
ResponseResolverTest                     9     0      0        0       2.273
RowResolverTest                          7     0      0        0       1.348
SerializationsTest                       4     0      0        0       0.702
StartupChecksTest                        2     0      0        0       1.351
StorageProxyTest                         4     0      0        0       0.720
StorageServiceServerTest                 14    0      0        1       4.963

-------------------------------------------------------------------------------
org.apache.cassandra.service.pager

Name                               Tests Errors Failures Skipped Time(s)
AbstractQueryPagerTest-compression 2     0      0        0       0.711
AbstractQueryPagerTest             2     0      0        0       0.729

-------------------------------------------------------------------------------
org.apache.cassandra.streaming

Name                               Tests Errors Failures Skipped Time(s)
SessionInfoTest-compression        1     0      0        0       0.606
StreamTransferTaskTest-compression 2     0      0        0       1.513
StreamingTransferTest-compression  9     0      0        0       3.185
SessionInfoTest                    1     0      0        0       0.589
StreamTransferTaskTest             2     0      0        0       1.495
StreamingTransferTest              9     0      0        0       3.185

-------------------------------------------------------------------------------
org.apache.cassandra.streaming.compress

Name                                  Tests Errors Failures Skipped Time(s)
CompressedInputStreamTest-compression 3     0      0        0       0.740
CompressedInputStreamTest             3     0      0        0       0.795

-------------------------------------------------------------------------------
org.apache.cassandra.thrift

Name                             Tests Errors Failures Skipped Time(s)
MultiSliceTest-compression       7     0      0        0       2.340
ThriftValidationTest-compression 6     0      0        0       1.377
MultiSliceTest                   7     0      0        0       2.435
ThriftValidationTest             6     0      0        0       1.360

-------------------------------------------------------------------------------
org.apache.cassandra.tools

Name                          Tests Errors Failures Skipped Time(s)
SSTableExportTest-compression 8     0      0        0       1.676
SSTableImportTest-compression 9     0      0        0       1.648
SSTableExportTest             8     0      0        0       1.535
SSTableImportTest             9     0      0        0       1.617

-------------------------------------------------------------------------------
org.apache.cassandra.transport

Name                           Tests Errors Failures Skipped Time(s)
DataTypeTest-compression       3     0      0        0       0.324
MessagePayloadTest-compression 2     0      0        0       3.459
ProtocolErrorTest-compression  4     0      0        0       0.767
SerDeserTest-compression       4     0      0        0       0.674
DataTypeTest                   3     0      0        0       0.340
MessagePayloadTest             2     0      0        0       3.688
ProtocolErrorTest              4     0      0        0       0.839
SerDeserTest                   4     0      0        0       0.657

-------------------------------------------------------------------------------
org.apache.cassandra.triggers

Name                            Tests Errors Failures Skipped Time(s)
TriggerExecutorTest-compression 9     0      0        0       0.546
TriggersSchemaTest-compression  4     0      0        0       1.825
TriggersTest-compression        12    0      0        0       2.620
TriggerExecutorTest             9     0      0        0       0.565
TriggersSchemaTest              4     0      0        0       1.824
TriggersTest                    12    0      0        0       2.779

-------------------------------------------------------------------------------
org.apache.cassandra.utils

Name                                  Tests Errors Failures Skipped Time(s)
LongBitSetTest                        3     0      0        0       40.019
LongBloomFilterTest                   3     0      0        0       32.348
LongBTreeTest                         9     0      1        0       50.249
BTreeTest-compression                 5     0      0        0       0.088
BitSetTest-compression                4     0      0        0       0.461
BloomFilterTest-compression           11    0      0        1       1.178
ByteBufferUtilTest-compression        10    0      0        0       0.249
BytesReadTrackerTest-compression      4     0      0        0       0.069
CLibraryTest-compression              1     0      0        0       0.408
CassandraVersionTest-compression      5     0      0        0       0.072
CoalescingStrategiesTest-compression  6     0      0        0       1.094
EncodedStreamsTest-compression        3     0      0        0       1.334
EstimatedHistogramTest-compression    6     0      0        0       0.081
FBUtilitiesTest-compression           4     0      0        0       0.546
FastByteOperationsTest-compression    2     0      0        0       3.857
HexTest-compression                   2     0      0        0       0.248
HistogramBuilderTest-compression      5     0      0        0       0.097
IntervalTreeTest-compression          3     0      0        0       0.258
JVMStabilityInspectorTest-compression 3     0      0        0       0.629
JavaUtilsTest-compression             1     0      0        0       0.245
MergeIteratorTest-compression         1     0      0        0       0.080
MerkleTreeTest-compression            12    0      0        0       0.581
NanoTimeToCurrentTimeMillisTest-      1     0      0        0       18.211
compression
NoSpamLoggerTest-compression          4     0      0        0       0.076
OverlapIteratorTest-compression       1     0      0        0       11.569
SerializationsTest-compression        2     0      0        0       0.621
StreamingHistogramTest-compression    2     0      0        0       0.071
TopKSamplerTest-compression           3     0      0        0       2.290
BTreeTest                             5     0      0        0       0.090
BitSetTest                            4     0      0        0       0.486
BloomFilterTest                       11    0      0        1       1.227
ByteBufferUtilTest                    10    0      0        0       0.262
BytesReadTrackerTest                  4     0      0        0       0.074
CLibraryTest                          1     0      0        0       0.429
CassandraVersionTest                  5     0      0        0       0.074
CoalescingStrategiesTest              6     0      0        0       1.128
EncodedStreamsTest                    3     0      0        0       1.375
EstimatedHistogramTest                6     0      0        0       0.081
FBUtilitiesTest                       4     0      0        0       0.582
FastByteOperationsTest                2     0      0        0       3.688
HexTest                               2     0      0        0       0.246
HistogramBuilderTest                  5     0      0        0       0.111
IntervalTreeTest                      3     0      0        0       0.274
JVMStabilityInspectorTest             3     0      0        0       0.689
JavaUtilsTest                         1     0      0        0       0.247
MergeIteratorTest                     1     0      0        0       0.083
MerkleTreeTest                        12    0      0        0       0.637
NanoTimeToCurrentTimeMillisTest       1     0      0        0       18.407
NoSpamLoggerTest                      4     0      0        0       0.084
OverlapIteratorTest                   1     0      0        0       11.302
SerializationsTest                    2     0      0        0       0.633
StreamingHistogramTest                2     0      0        0       0.077
TopKSamplerTest                       3     0      0        0       2.311

-------------------------------------------------------------------------------
org.apache.cassandra.utils.concurrent

Name                                  Tests Errors Failures Skipped Time(s)
AbstractTransactionalTest-compression 1     0      0        1       0.061
AccumulatorTest-compression           3     0      0        0       0.067
RefCountedTest-compression            4     0      0        0       2.377
AbstractTransactionalTest             1     0      0        1       0.060
AccumulatorTest                       3     0      0        0       0.068
RefCountedTest                        4     0      0        0       2.382

-------------------------------------------------------------------------------
org.apache.cassandra.utils.memory

Name                            Tests Errors Failures Skipped Time(s)
NativeAllocatorTest-compression 1     0      0        0       0.325
NativeAllocatorTest             1     0      0        0       0.332

-------------------------------------------------------------------------------
org.apache.cassandra.utils.progress.jmx

Name                                     Tests Errors Failures Skipped Time(s)
LegacyJMXProgressSupportTest-compression 5     0      0        0       0.089
LegacyJMXProgressSupportTest             5     0      0        0       0.093

-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Failures
-------------------------------------------------------------------------------

Cassandra dtests // test_network_topology_strategy_each_quorum // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_network_topology_strategy_each_quorum'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f0dbb0c0790>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f0dbb0c0070>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f0dbcfaf1f0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f0dbb0c0730>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_network_topology_strategy_each_quorum'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_network_topology_strategy_each_quorum_counters // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_network_topology_strategy_each_quorum_counters'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f0dbb0c0790>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f0dbba61fd0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f0dbcfaf1f0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f0dbb8655e0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_network_topology_strategy_each_quorum_counters'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_complex_repair // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_complex_repair'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f27b1221ac0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f27b191f190>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f27b305c040>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f27b1227280>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_complex_repair'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_simple_strategy_each_quorum_users // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_simple_strategy_each_quorum_users'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f0978d5f4c0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f09789e8f40>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f097a7443a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f0978bcea90>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_simple_strategy_each_quorum_users'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_add_node_after_wide_mv_with_range_deletions // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_add_node_after_wide_mv_with_range_deletions'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f0978d5f4c0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f09793a5460>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f097a7443a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f0978b4df70>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_add_node_after_wide_mv_with_range_deletions'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_throttled_partition_update // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_throttled_partition_update'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f0978d5f4c0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f097886c850>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f097a7443a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f0978ef14c0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_throttled_partition_update'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_stop_decommission_too_few_replicas_multi_dc // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_stop_decommission_too_few_replicas_multi_dc'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f0978d5f4c0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f0978ea0a60>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f097a7443a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f09705d4fd0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_stop_decommission_too_few_replicas_multi_dc'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_add_node_after_very_wide_mv // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_add_node_after_very_wide_mv'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f73e9e10dc0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f73ea14cb80>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f73ebce5550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f73e9de61f0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_add_node_after_very_wide_mv'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_really_complex_repair // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_really_complex_repair'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f73e9e10dc0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f73ea907520>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f73ebce5550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f73e9de6250>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_really_complex_repair'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_network_topology_strategy_each_quorum_users // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_network_topology_strategy_each_quorum_users'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f03628da9a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f03628da940>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f03648193a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f03628da760>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_network_topology_strategy_each_quorum_users'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_add_dc_after_mv_simple_replication // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_add_dc_after_mv_simple_replication'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f03628da9a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f0362cd8220>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f03648193a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f0362cd8f40>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_add_dc_after_mv_simple_replication'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_add_write_survey_node_after_mv // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_add_write_survey_node_after_mv'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f03628da9a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f03629459d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f03648193a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f0362945490>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_add_write_survey_node_after_mv'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_resume_failed_replace // Failure
ccmlib.node.TimeoutError: 22 Sep 2020 11:23:42 [replacement] Missing: ['Resume complete']: INFO
[main] 2020-09-22 11:13:14,205 Config.java:4..... See system.log for remainder

self = <replace_address_test.TestReplaceAddress object at 0x7f0348f3d370>

@since('2.2')
@pytest.mark.resource_intensive
def test_resume_failed_replace(self):
"""
Test resumable bootstrap while replacing node. Feature introduced in
2.2 with ticket https://issues.apache.org/jira/browse/CASSANDRA-8838

@jira_ticket https://issues.apache.org/jira/browse/CASSANDRA-8838
"""
> self._test_restart_failed_replace(mode='resume')

replace_address_test.py:443:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
replace_address_test.py:506: in _test_restart_failed_replace
self.replacement_node.watch_log_for("Resume complete")
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <ccmlib.node.Node object at 0x7f0362ab8730>, exprs = 'Resume complete'
from_mark = None, timeout = 600, process = None, verbose = False
filename = 'system.log'

def watch_log_for(self, exprs, from_mark=None, timeout=600, process=None, verbose=False,
filename='system.log'):
"""
Watch the log until one or more (regular) expression are found.
This methods when all the expressions have been found or the method
timeouts (a TimeoutError is then raised). On successful completion,
a list of pair (line matched, match object) is returned.
"""
start = time.time()
tofind = [exprs] if isinstance(exprs, string_types) else exprs
tofind = [re.compile(e) for e in tofind]
matchings = []
reads = ""
if len(tofind) == 0:
return None

log_file = os.path.join(self.log_directory(), filename)
output_read = False
while not os.path.exists(log_file):
time.sleep(.5)
if start + timeout < time.time():
raise TimeoutError(time.strftime("%d %b %Y %H:%M:%S", time.gmtime()) + " [" + self.name + "] Timed
out waiting for {} to be created.".format(log_file))
if process and not output_read:
process.poll()
if process.returncode is not None:
self.print_process_output(self.name, process, verbose)
output_read = True
if process.returncode != 0:
raise RuntimeError() # Shouldn't reuse RuntimeError but I'm lazy

with open(log_file) as f:
if from_mark:
f.seek(from_mark)

while True:
# First, if we have a process to check, then check it.
# Skip on Windows - stdout/stderr is cassandra.bat
if not common.is_win() and not output_read:
if process:
process.poll()
if process.returncode is not None:
self.print_process_output(self.name, process, verbose)
output_read = True
if process.returncode != 0:
raise RuntimeError() # Shouldn't reuse RuntimeError but I'm lazy

line = f.readline()
if line:
reads = reads + line
for e in tofind:
m = e.search(line)
if m:
matchings.append((line, m))
tofind.remove(e)
if len(tofind) == 0:
return matchings[0] if isinstance(exprs, string_types) else matchings
else:
# yep, it's ugly
time.sleep(1)
if start + timeout < time.time():
> raise TimeoutError(time.strftime("%d %b %Y %H:%M:%S", time.gmtime()) + " [" + self.name + "]
Missing: " + str([e.pattern for e in tofind]) + ":\n" + reads[:50] + ".....\nSee {} for
remainder".format(filename))
E ccmlib.node.TimeoutError: 22 Sep 2020 11:23:42 [replacement] Missing: ['Resume complete']:
E INFO [main] 2020-09-22 11:13:14,205 Config.java:4.....
E See system.log for remainder

../venv/src/ccm/ccmlib/node.py:548: TimeoutError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_multidatacenter_local_quorum // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_multidatacenter_local_quorum'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f03628da9a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f0362f9cca0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f03648193a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f0362c663d0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_multidatacenter_local_quorum'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_disk_balance_bootstrap // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_disk_balance_bootstrap'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f8800919550>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f88002dbfd0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f88021a8f70>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f88002db910>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_disk_balance_bootstrap'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_add_dc_after_mv_network_replication // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_add_dc_after_mv_network_replication'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f8800919550>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f88009dd130>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f88021a8f70>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f880078bc10>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_add_dc_after_mv_network_replication'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_add_node_after_mv // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_add_node_after_mv'>>
dtest_config = <dtest_config.DTestConfig object at 0x7ff7e1fa2850>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7ff7e1fa2730>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7ff7e3f23ee0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7ff7e1fa24c0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_add_node_after_mv'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_archiving // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_archiving'>>
dtest_config = <dtest_config.DTestConfig object at 0x7feff78c6df0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7feff78c6e50>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7feff92c54c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7feff802b250>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_archiving'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_jmx_connection // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_jmx_connection'>>
dtest_config = <dtest_config.DTestConfig object at 0x7feff78c6df0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7feff7004820>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7feff92c54c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7feff4637100>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_jmx_connection'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_base_column_in_view_pk_commutative_tombstone_with_flush // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_base_column_in_view_pk_commutative_tombstone_with_flush'>>
dtest_config = <dtest_config.DTestConfig object at 0x7feff78c6df0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7feff65428b0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7feff92c54c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7feff6542bb0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_base_column_in_view_pk_commutative_tombstone_with_flush'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_paging_with_filtering_on_counter_columns_compact // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_paging_with_filtering_on_counter_columns_compact'>>
dtest_config = <dtest_config.DTestConfig object at 0x7feff78c6df0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7feff7aa1d60>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7feff92c54c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7feff7aa1550>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_paging_with_filtering_on_counter_columns_compact'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_normal_read_repair // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_normal_read_repair'>>
dtest_config = <dtest_config.DTestConfig object at 0x7feff78c6df0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7feff7eef790>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7feff92c54c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7feff7b7cb20>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_normal_read_repair'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests /
/ test_complementary_deletion_with_limit_on_partition_key_column_with_not_empty_partitions // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_complementary_deletion_with_limit_on_partition_key_column_with_not_empty_partitions'>>
dtest_config = <dtest_config.DTestConfig object at 0x7feff78c6df0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7feff7b1e310>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7feff92c54c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7feff7b1e280>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_complementary_deletion_with_limit_on_partition_key_column_with_not_empty_partitions'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_describe_describes_non_default_compaction_parameters // Failure
ccmlib.node.NodeError: Error starting node1.

self = <cqlsh_tests.test_cqlsh.TestCqlsh object at 0x7feff7a9d520>

def test_describe_describes_non_default_compaction_parameters(self):
self.cluster.populate(1)
> self.cluster.start(wait_for_binary_proto=True)

cqlsh_tests/test_cqlsh.py:857:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <ccmlib.cluster.Cluster object at 0x7feff7a28df0>, no_wait = False
verbose = False, wait_for_binary_proto = True, wait_other_notice = True
jvm_args = [], profile_options = None, quiet_start = False, allow_root = False
jvm_version = None, kwargs = {}
node = <ccmlib.node.Node object at 0x7feff7c2b790>, itf = ('127.0.0.1', 9042)
started = [(<ccmlib.node.Node object at 0x7feff7c2b790>, <subprocess.Popen object at
0x7feff7a86d00>, 0)]
mark = 0, p = <subprocess.Popen object at 0x7feff7a86d00>
start_message = 'Starting listening for CQL clients', _ = 0

def start(self, no_wait=False, verbose=False, wait_for_binary_proto=True,
wait_other_notice=True, jvm_args=None, profile_options=None,
quiet_start=False, allow_root=False, jvm_version=None, **kwargs):
if jvm_args is None:
jvm_args = []

extension.pre_cluster_start(self)

# check whether all loopback aliases are available before starting any nodes
for node in list(self.nodes.values()):
if not node.is_running():
for itf in node.network_interfaces.values():
if itf is not None:
common.assert_socket_available(itf)

started = []
for node in list(self.nodes.values()):
if not node.is_running():
mark = 0
if os.path.exists(node.logfilename()):
mark = node.mark_log()

p = node.start(update_pid=False, jvm_args=jvm_args, jvm_version=jvm_version,
profile_options=profile_options, verbose=verbose, quiet_start=quiet_start,
allow_root=allow_root)

# Prior to JDK8, starting every node at once could lead to a
# nanotime collision where the RNG that generates a node's tokens
# gives identical tokens to several nodes. Thus, we stagger
# the node starts
if common.get_jdk_version() < '1.8':
time.sleep(1)

started.append((node, p, mark))

if no_wait:
time.sleep(2) # waiting 2 seconds to check for early errors and for the pid to be set
else:
for node, p, mark in started:
try:
start_message = "Listening for thrift clients..." if self.cassandra_version() < "2.2" else "Starting
listening for CQL clients"
node.watch_log_for(start_message, timeout=kwargs.get('timeout',60), process=p, verbose=verbose,
from_mark=mark)
except RuntimeError:
return None

self.__update_pids(started)

for node, p, _ in started:
if not node.is_running():
> raise NodeError("Error starting {0}.".format(node.name), p)
E ccmlib.node.NodeError: Error starting node1.

../venv/src/ccm/ccmlib/cluster.py:481: NodeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_describe_describes_non_default_compaction_parameters // Error
test teardown failure

Unexpected error found in node logs (see stdout for full details). Errors: [ERROR [main] 2020-09-22
11:05:51,591 CassandraDaemon.java:748 - Exception encountered during startup
org.apache.cassandra.exceptions.ConfigurationException: Invalid yaml. Please remove properties
[enable_scripted_user_defined_functions] from your cassandra.yaml
at org.apache.cassandra.config.YamlConfigurationLoader$MissingPropertiesChecker.check
(YamlConfigurationLoader.java:146) ~[main/:na]
at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:113)
~[main/:na]
at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:85) ~
[main/:na]
at org.apache.cassandra.config.DatabaseDescriptor.loadConfig(DatabaseDescriptor.java:151) ~[main/:
na]
at org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:133) ~[main/:na]
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:608) [main/:na]
at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:735) [main/:na], ERROR
[main] 2020-09-22 11:05:51,591 CassandraDaemon.java:748 - Exception encountered during startup
org.apache.cassandra.exceptions.ConfigurationException: Invalid yaml. Please remove properties
[enable_scripted_user_defined_functions] from your cassandra.yaml
at org.apache.cassandra.config.YamlConfigurationLoader$MissingPropertiesChecker.check
(YamlConfigurationLoader.java:146) ~[main/:na]
at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:113)
~[main/:na]
at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:85) ~
[main/:na]
at org.apache.cassandra.config.DatabaseDescriptor.loadConfig(DatabaseDescriptor.java:151) ~[main/:
na]
at org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:133) ~[main/:na]
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:608) [main/:na]
at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:735) [main/:na]]
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_compression_cql_disabled_with_alter // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_compression_cql_disabled_with_alter'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fc57e236eb0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fc57d785040>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fc57f9e04c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fc57d6f87c0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_compression_cql_disabled_with_alter'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_paging_with_filtering_on_partition_key_on_clustering_columns // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_paging_with_filtering_on_partition_key_on_clustering_columns'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fc57e236eb0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fc57c0f2a60>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fc57f9e04c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fc57d691fd0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_paging_with_filtering_on_partition_key_on_clustering_columns'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_complementary_update_with_limit_on_static_column_with_empty_partitions /
/ Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_complementary_update_with_limit_on_static_column_with_empty_partitions'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fc57e236eb0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fc57c0843d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fc57f9e04c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fc57c084100>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_complementary_update_with_limit_on_static_column_with_empty_partitions'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_datetime_values // Failure
ccmlib.node.NodeError: Error starting node1.

self = <cqlsh_tests.test_cqlsh.TestCqlsh object at 0x7fc57e1bbb50>

@since('2.2', max_version='4')
def test_datetime_values(self):
""" Tests for CASSANDRA-9399, check tables with date and time values"""
self.cluster.populate(1)
> self.cluster.start(wait_for_binary_proto=True)

cqlsh_tests/test_cqlsh.py:1669:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <ccmlib.cluster.Cluster object at 0x7fc57e6ad610>, no_wait = False
verbose = False, wait_for_binary_proto = True, wait_other_notice = True
jvm_args = [], profile_options = None, quiet_start = False, allow_root = False
jvm_version = None, kwargs = {}
node = <ccmlib.node.Node object at 0x7fc57e0174c0>, itf = ('127.0.0.1', 9042)
started = [(<ccmlib.node.Node object at 0x7fc57e0174c0>, <subprocess.Popen object at
0x7fc57e2b2d90>, 0)]
mark = 0, p = <subprocess.Popen object at 0x7fc57e2b2d90>
start_message = 'Starting listening for CQL clients', _ = 0

def start(self, no_wait=False, verbose=False, wait_for_binary_proto=True,
wait_other_notice=True, jvm_args=None, profile_options=None,
quiet_start=False, allow_root=False, jvm_version=None, **kwargs):
if jvm_args is None:
jvm_args = []

extension.pre_cluster_start(self)

# check whether all loopback aliases are available before starting any nodes
for node in list(self.nodes.values()):
if not node.is_running():
for itf in node.network_interfaces.values():
if itf is not None:
common.assert_socket_available(itf)

started = []
for node in list(self.nodes.values()):
if not node.is_running():
mark = 0
if os.path.exists(node.logfilename()):
mark = node.mark_log()

p = node.start(update_pid=False, jvm_args=jvm_args, jvm_version=jvm_version,
profile_options=profile_options, verbose=verbose, quiet_start=quiet_start,
allow_root=allow_root)

# Prior to JDK8, starting every node at once could lead to a
# nanotime collision where the RNG that generates a node's tokens
# gives identical tokens to several nodes. Thus, we stagger
# the node starts
if common.get_jdk_version() < '1.8':
time.sleep(1)

started.append((node, p, mark))

if no_wait:
time.sleep(2) # waiting 2 seconds to check for early errors and for the pid to be set
else:
for node, p, mark in started:
try:
start_message = "Listening for thrift clients..." if self.cassandra_version() < "2.2" else "Starting
listening for CQL clients"
node.watch_log_for(start_message, timeout=kwargs.get('timeout',60), process=p, verbose=verbose,
from_mark=mark)
except RuntimeError:
return None

self.__update_pids(started)

for node, p, _ in started:
if not node.is_running():
> raise NodeError("Error starting {0}.".format(node.name), p)
E ccmlib.node.NodeError: Error starting node1.

../venv/src/ccm/ccmlib/cluster.py:481: NodeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_datetime_values // Error
test teardown failure

Unexpected error found in node logs (see stdout for full details). Errors: [ERROR [main] 2020-09-22
11:06:14,233 CassandraDaemon.java:748 - Exception encountered during startup
org.apache.cassandra.exceptions.ConfigurationException: Invalid yaml. Please remove properties
[enable_scripted_user_defined_functions] from your cassandra.yaml
at org.apache.cassandra.config.YamlConfigurationLoader$MissingPropertiesChecker.check
(YamlConfigurationLoader.java:146) ~[main/:na]
at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:113)
~[main/:na]
at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:85) ~
[main/:na]
at org.apache.cassandra.config.DatabaseDescriptor.loadConfig(DatabaseDescriptor.java:151) ~[main/:
na]
at org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:133) ~[main/:na]
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:608) [main/:na]
at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:735) [main/:na], ERROR
[main] 2020-09-22 11:06:14,233 CassandraDaemon.java:748 - Exception encountered during startup
org.apache.cassandra.exceptions.ConfigurationException: Invalid yaml. Please remove properties
[enable_scripted_user_defined_functions] from your cassandra.yaml
at org.apache.cassandra.config.YamlConfigurationLoader$MissingPropertiesChecker.check
(YamlConfigurationLoader.java:146) ~[main/:na]
at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:113)
~[main/:na]
at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:85) ~
[main/:na]
at org.apache.cassandra.config.DatabaseDescriptor.loadConfig(DatabaseDescriptor.java:151) ~[main/:
na]
at org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:133) ~[main/:na]
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:608) [main/:na]
at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:735) [main/:na]]
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_manual_session_cancel_non_coordinator_failure // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_manual_session_cancel_non_coordinator_failure'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fc57e236eb0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fc57e017c40>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fc57f9e04c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fc57e022640>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_manual_session_cancel_non_coordinator_failure'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_compression_cql_enabled_with_alter // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_compression_cql_enabled_with_alter'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f47eb933430>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f47eb93beb0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f47ed164550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f47eba28640>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_compression_cql_enabled_with_alter'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_complex_mv_select_statements // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_complex_mv_select_statements'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f47eb933430>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f47ebdd9eb0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f47ed164550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f47ebdb3340>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_complex_mv_select_statements'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_paging_with_filtering_on_partition_key_on_clustering_columns_compact /
/ Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_paging_with_filtering_on_partition_key_on_clustering_columns_compact'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f47eb933430>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f47eba35cd0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f47ed164550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f47ebe365e0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_paging_with_filtering_on_partition_key_on_clustering_columns_compact'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_complementary_update_with_limit_on_static_column_with_not_empty_partitions
// Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_complementary_update_with_limit_on_static_column_with_not_empty_partitions'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f47eb933430>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f47ebaf9490>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f47ed164550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f47eba28e50>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_complementary_update_with_limit_on_static_column_with_not_empty_partitions'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_sstableloader_with_failing_2i // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_sstableloader_with_failing_2i'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f47eb933430>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f47e857c9a0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f47ed164550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f47e8484790>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_sstableloader_with_failing_2i'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_size_estimates_multidc // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_size_estimates_multidc'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f47eb933430>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f47e8bc5c10>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f47ed164550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f47e8bc59a0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_size_estimates_multidc'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_datetime_values_40 // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_datetime_values_40'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f47eb933430>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f47eb9fee50>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f47ed164550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f47ebad6df0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_datetime_values_40'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_manual_session_force_cancel // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_manual_session_force_cancel'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f47eb933430>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f47ebe2df10>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f47ed164550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f47ebe2dd00>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_manual_session_force_cancel'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_only_superuser_can_create_users // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_only_superuser_can_create_users'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fdfda5215b0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fdfda5215e0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fdfdbedf3a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fdfda521e80>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_only_superuser_can_create_users'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_base_view_consistency_on_failure_after_mv_apply // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_base_view_consistency_on_failure_after_mv_apply'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fdfda5215b0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fdfd832eaf0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fdfdbedf3a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fdfda4d6af0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_base_view_consistency_on_failure_after_mv_apply'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_paging_with_filtering_on_partition_key_on_clustering_columns_with_contains
// Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_paging_with_filtering_on_partition_key_on_clustering_columns_with_contains'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fdfda5215b0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fdfd83b2c40>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fdfdbedf3a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fdfd837cd60>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_paging_with_filtering_on_partition_key_on_clustering_columns_with_contains'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_rebuild_ranges // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_rebuild_ranges'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fdfda5215b0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fdfdab41e50>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fdfdbedf3a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fdfdab4bdf0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_rebuild_ranges'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_complementary_update_with_limit_on_regular_column // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_complementary_update_with_limit_on_regular_column'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fdfda5215b0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fdfda786c40>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fdfdbedf3a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fdfda786ac0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_complementary_update_with_limit_on_regular_column'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_tracing // Failure
ccmlib.node.NodeError: Error starting node1.

self = <cqlsh_tests.test_cqlsh.TestCqlsh object at 0x7fdfd83a9220>

@since('2.2')
def test_tracing(self):
"""
Tests for CASSANDRA-9399, check tracing works.
We care mostly that we do not crash, not so much on the tracing content, which may change and would
therefore make this test too brittle.
"""
self.cluster.populate(1)
> self.cluster.start(wait_for_binary_proto=True)

cqlsh_tests/test_cqlsh.py:1762:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <ccmlib.cluster.Cluster object at 0x7fdfda781dc0>, no_wait = False
verbose = False, wait_for_binary_proto = True, wait_other_notice = True
jvm_args = [], profile_options = None, quiet_start = False, allow_root = False
jvm_version = None, kwargs = {}
node = <ccmlib.node.Node object at 0x7fdfdabadf10>, itf = ('127.0.0.1', 9042)
started = [(<ccmlib.node.Node object at 0x7fdfdabadf10>, <subprocess.Popen object at
0x7fdfd8363880>, 0)]
mark = 0, p = <subprocess.Popen object at 0x7fdfd8363880>
start_message = 'Starting listening for CQL clients', _ = 0

def start(self, no_wait=False, verbose=False, wait_for_binary_proto=True,
wait_other_notice=True, jvm_args=None, profile_options=None,
quiet_start=False, allow_root=False, jvm_version=None, **kwargs):
if jvm_args is None:
jvm_args = []

extension.pre_cluster_start(self)

# check whether all loopback aliases are available before starting any nodes
for node in list(self.nodes.values()):
if not node.is_running():
for itf in node.network_interfaces.values():
if itf is not None:
common.assert_socket_available(itf)

started = []
for node in list(self.nodes.values()):
if not node.is_running():
mark = 0
if os.path.exists(node.logfilename()):
mark = node.mark_log()

p = node.start(update_pid=False, jvm_args=jvm_args, jvm_version=jvm_version,
profile_options=profile_options, verbose=verbose, quiet_start=quiet_start,
allow_root=allow_root)

# Prior to JDK8, starting every node at once could lead to a
# nanotime collision where the RNG that generates a node's tokens
# gives identical tokens to several nodes. Thus, we stagger
# the node starts
if common.get_jdk_version() < '1.8':
time.sleep(1)

started.append((node, p, mark))

if no_wait:
time.sleep(2) # waiting 2 seconds to check for early errors and for the pid to be set
else:
for node, p, mark in started:
try:
start_message = "Listening for thrift clients..." if self.cassandra_version() < "2.2" else "Starting
listening for CQL clients"
node.watch_log_for(start_message, timeout=kwargs.get('timeout',60), process=p, verbose=verbose,
from_mark=mark)
except RuntimeError:
return None

self.__update_pids(started)

for node, p, _ in started:
if not node.is_running():
> raise NodeError("Error starting {0}.".format(node.name), p)
E ccmlib.node.NodeError: Error starting node1.

../venv/src/ccm/ccmlib/cluster.py:481: NodeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_tracing // Error
test teardown failure

Unexpected error found in node logs (see stdout for full details). Errors: [ERROR [main] 2020-09-22
11:04:20,909 CassandraDaemon.java:748 - Exception encountered during startup
org.apache.cassandra.exceptions.ConfigurationException: Invalid yaml. Please remove properties
[enable_scripted_user_defined_functions] from your cassandra.yaml
at org.apache.cassandra.config.YamlConfigurationLoader$MissingPropertiesChecker.check
(YamlConfigurationLoader.java:146) ~[main/:na]
at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:113)
~[main/:na]
at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:85) ~
[main/:na]
at org.apache.cassandra.config.DatabaseDescriptor.loadConfig(DatabaseDescriptor.java:151) ~[main/:
na]
at org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:133) ~[main/:na]
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:608) [main/:na]
at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:735) [main/:na], ERROR
[main] 2020-09-22 11:04:20,909 CassandraDaemon.java:748 - Exception encountered during startup
org.apache.cassandra.exceptions.ConfigurationException: Invalid yaml. Please remove properties
[enable_scripted_user_defined_functions] from your cassandra.yaml
at org.apache.cassandra.config.YamlConfigurationLoader$MissingPropertiesChecker.check
(YamlConfigurationLoader.java:146) ~[main/:na]
at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:113)
~[main/:na]
at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:85) ~
[main/:na]
at org.apache.cassandra.config.DatabaseDescriptor.loadConfig(DatabaseDescriptor.java:151) ~[main/:
na]
at org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:133) ~[main/:na]
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:608) [main/:na]
at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:735) [main/:na]]
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_password_authenticator_create_user_requires_password // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_password_authenticator_create_user_requires_password'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fb145c82100>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fb145c82040>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fb1474054c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fb145c824c0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_password_authenticator_create_user_requires_password'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_base_view_consistency_on_failure_before_mv_apply // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_base_view_consistency_on_failure_before_mv_apply'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fb145c82100>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fb1440a7820>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fb1474054c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fb1440a7bb0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_base_view_consistency_on_failure_before_mv_apply'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_paging_with_filtering_on_partition_key_on_static_columns // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_paging_with_filtering_on_partition_key_on_static_columns'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fb145c82100>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fb1451849d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fb1474054c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fb145184d30>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_paging_with_filtering_on_partition_key_on_static_columns'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_disallow_rebuild_nonlocal_range // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_disallow_rebuild_nonlocal_range'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fb145c82100>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fb145eb0b80>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fb1474054c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fb145d7eb80>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_disallow_rebuild_nonlocal_range'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_complementary_update_with_limit_and_rows_between // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_complementary_update_with_limit_and_rows_between'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fb145c82100>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fb145180430>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fb1474054c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fb145180460>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_complementary_update_with_limit_and_rows_between'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_manual_rebuild_index // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_manual_rebuild_index'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fb145c82100>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fb145c76a00>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fb1474054c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fb145ca65b0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_manual_rebuild_index'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_client_warnings // Failure
ccmlib.node.NodeError: Error starting node1.

self = <cqlsh_tests.test_cqlsh.TestCqlsh object at 0x7fb14604e5b0>

@since('2.2')
def test_client_warnings(self):
"""
Tests for CASSANDRA-9399, check client warnings:
- an unlogged batch across multiple partitions should generate a WARNING if there are more than
unlogged_batch_across_partitions_warn_threshold partitions.

Execute two unlogged batches: one only with fewer partitions and the other one with more than
unlogged_batch_across_partitions_warn_threshold partitions.

Check that only the second one generates a client warning.

@jira_ticket CASSNADRA-9399
@jira_ticket CASSANDRA-9303
@jira_ticket CASSANDRA-11529
"""
max_partitions_per_batch = 5
self.cluster.populate(3)
self.cluster.set_configuration_options({
'unlogged_batch_across_partitions_warn_threshold': str(max_partitions_per_batch)})

> self.cluster.start(wait_for_binary_proto=True)

cqlsh_tests/test_cqlsh.py:1809:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <ccmlib.cluster.Cluster object at 0x7fb145ff3130>, no_wait = False
verbose = False, wait_for_binary_proto = True, wait_other_notice = True
jvm_args = [], profile_options = None, quiet_start = False, allow_root = False
jvm_version = None, kwargs = {}
node = <ccmlib.node.Node object at 0x7fb145d70d60>, itf = ('127.0.0.3', 9042)
started = [(<ccmlib.node.Node object at 0x7fb145d70d60>, <subprocess.Popen object at
0x7fb145d8d2e0>, 0), (<ccmlib.node.Node obj... at 0x7fb145d8d910>, 0), (<ccmlib.node.Node object at
0x7fb14677cc40>, <subprocess.Popen object at 0x7fb145d8d8b0>, 0)]
mark = 0, p = <subprocess.Popen object at 0x7fb145d8d2e0>
start_message = 'Starting listening for CQL clients', _ = 0

def start(self, no_wait=False, verbose=False, wait_for_binary_proto=True,
wait_other_notice=True, jvm_args=None, profile_options=None,
quiet_start=False, allow_root=False, jvm_version=None, **kwargs):
if jvm_args is None:
jvm_args = []

extension.pre_cluster_start(self)

# check whether all loopback aliases are available before starting any nodes
for node in list(self.nodes.values()):
if not node.is_running():
for itf in node.network_interfaces.values():
if itf is not None:
common.assert_socket_available(itf)

started = []
for node in list(self.nodes.values()):
if not node.is_running():
mark = 0
if os.path.exists(node.logfilename()):
mark = node.mark_log()

p = node.start(update_pid=False, jvm_args=jvm_args, jvm_version=jvm_version,
profile_options=profile_options, verbose=verbose, quiet_start=quiet_start,
allow_root=allow_root)

# Prior to JDK8, starting every node at once could lead to a
# nanotime collision where the RNG that generates a node's tokens
# gives identical tokens to several nodes. Thus, we stagger
# the node starts
if common.get_jdk_version() < '1.8':
time.sleep(1)

started.append((node, p, mark))

if no_wait:
time.sleep(2) # waiting 2 seconds to check for early errors and for the pid to be set
else:
for node, p, mark in started:
try:
start_message = "Listening for thrift clients..." if self.cassandra_version() < "2.2" else "Starting
listening for CQL clients"
node.watch_log_for(start_message, timeout=kwargs.get('timeout',60), process=p, verbose=verbose,
from_mark=mark)
except RuntimeError:
return None

self.__update_pids(started)

for node, p, _ in started:
if not node.is_running():
> raise NodeError("Error starting {0}.".format(node.name), p)
E ccmlib.node.NodeError: Error starting node1.

../venv/src/ccm/ccmlib/cluster.py:481: NodeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_client_warnings // Error
test teardown failure

Unexpected error found in node logs (see stdout for full details). Errors: [ERROR [main] 2020-09-22
11:10:44,974 CassandraDaemon.java:748 - Exception encountered during startup
org.apache.cassandra.exceptions.ConfigurationException: Invalid yaml. Please remove properties
[enable_scripted_user_defined_functions] from your cassandra.yaml
at org.apache.cassandra.config.YamlConfigurationLoader$MissingPropertiesChecker.check
(YamlConfigurationLoader.java:146) ~[main/:na]
at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:113)
~[main/:na]
at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:85) ~
[main/:na]
at org.apache.cassandra.config.DatabaseDescriptor.loadConfig(DatabaseDescriptor.java:151) ~[main/:
na]
at org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:133) ~[main/:na]
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:608) [main/:na]
at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:735) [main/:na], ERROR
[main] 2020-09-22 11:10:44,974 CassandraDaemon.java:748 - Exception encountered during startup
org.apache.cassandra.exceptions.ConfigurationException: Invalid yaml. Please remove properties
[enable_scripted_user_defined_functions] from your cassandra.yaml
at org.apache.cassandra.config.YamlConfigurationLoader$MissingPropertiesChecker.check
(YamlConfigurationLoader.java:146) ~[main/:na]
at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:113)
~[main/:na]
at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:85) ~
[main/:na]
at org.apache.cassandra.config.DatabaseDescriptor.loadConfig(DatabaseDescriptor.java:151) ~[main/:
na]
at org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:133) ~[main/:na]
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:608) [main/:na]
at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:735) [main/:na]]
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_disallow_rebuild_from_nonreplica // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_disallow_rebuild_from_nonreplica'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f6b31e4a310>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f6b31eef550>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f6b3384f550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f6b31f04340>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_disallow_rebuild_from_nonreplica'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_partition_deletion_on_skinny_table // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_partition_deletion_on_skinny_table'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f6b31e4a310>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f6b305480d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f6b3384f550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f6b305486a0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_partition_deletion_on_skinny_table'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_failing_manual_rebuild_index // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_failing_manual_rebuild_index'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f6b31e4a310>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f6b32524610>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f6b3384f550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f6b32524ca0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_failing_manual_rebuild_index'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_compaction // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_compaction'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f6b31e4a310>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f6b322fb520>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f6b3384f550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f6b322debe0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_compaction'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_resumable_decommission // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_resumable_decommission'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f6b31e4a310>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f6b32497520>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f6b3384f550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f6b32475580>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_resumable_decommission'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_connect_timeout // Failure
ccmlib.node.NodeError: Error starting node1.

self = <cqlsh_tests.test_cqlsh.TestCqlsh object at 0x7f6b31e4adf0>

def test_connect_timeout(self):
"""
@jira_ticket CASSANDRA-9601
"""
self.cluster.populate(1)
> self.cluster.start(wait_for_binary_proto=True)

cqlsh_tests/test_cqlsh.py:1850:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <ccmlib.cluster.Cluster object at 0x7f6b320458e0>, no_wait = False
verbose = False, wait_for_binary_proto = True, wait_other_notice = True
jvm_args = [], profile_options = None, quiet_start = False, allow_root = False
jvm_version = None, kwargs = {}
node = <ccmlib.node.Node object at 0x7f6b32151eb0>, itf = ('127.0.0.1', 9042)
started = [(<ccmlib.node.Node object at 0x7f6b32151eb0>, <subprocess.Popen object at
0x7f6b32127a90>, 0)]
mark = 0, p = <subprocess.Popen object at 0x7f6b32127a90>
start_message = 'Starting listening for CQL clients', _ = 0

def start(self, no_wait=False, verbose=False, wait_for_binary_proto=True,
wait_other_notice=True, jvm_args=None, profile_options=None,
quiet_start=False, allow_root=False, jvm_version=None, **kwargs):
if jvm_args is None:
jvm_args = []

extension.pre_cluster_start(self)

# check whether all loopback aliases are available before starting any nodes
for node in list(self.nodes.values()):
if not node.is_running():
for itf in node.network_interfaces.values():
if itf is not None:
common.assert_socket_available(itf)

started = []
for node in list(self.nodes.values()):
if not node.is_running():
mark = 0
if os.path.exists(node.logfilename()):
mark = node.mark_log()

p = node.start(update_pid=False, jvm_args=jvm_args, jvm_version=jvm_version,
profile_options=profile_options, verbose=verbose, quiet_start=quiet_start,
allow_root=allow_root)

# Prior to JDK8, starting every node at once could lead to a
# nanotime collision where the RNG that generates a node's tokens
# gives identical tokens to several nodes. Thus, we stagger
# the node starts
if common.get_jdk_version() < '1.8':
time.sleep(1)

started.append((node, p, mark))

if no_wait:
time.sleep(2) # waiting 2 seconds to check for early errors and for the pid to be set
else:
for node, p, mark in started:
try:
start_message = "Listening for thrift clients..." if self.cassandra_version() < "2.2" else "Starting
listening for CQL clients"
node.watch_log_for(start_message, timeout=kwargs.get('timeout',60), process=p, verbose=verbose,
from_mark=mark)
except RuntimeError:
return None

self.__update_pids(started)

for node, p, _ in started:
if not node.is_running():
> raise NodeError("Error starting {0}.".format(node.name), p)
E ccmlib.node.NodeError: Error starting node1.

../venv/src/ccm/ccmlib/cluster.py:481: NodeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_connect_timeout // Error
test teardown failure

Unexpected error found in node logs (see stdout for full details). Errors: [ERROR [main] 2020-09-22
11:00:41,528 CassandraDaemon.java:748 - Exception encountered during startup
org.apache.cassandra.exceptions.ConfigurationException: Invalid yaml. Please remove properties
[enable_scripted_user_defined_functions] from your cassandra.yaml
at org.apache.cassandra.config.YamlConfigurationLoader$MissingPropertiesChecker.check
(YamlConfigurationLoader.java:146) ~[main/:na]
at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:113)
~[main/:na]
at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:85) ~
[main/:na]
at org.apache.cassandra.config.DatabaseDescriptor.loadConfig(DatabaseDescriptor.java:151) ~[main/:
na]
at org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:133) ~[main/:na]
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:608) [main/:na]
at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:735) [main/:na], ERROR
[main] 2020-09-22 11:00:41,528 CassandraDaemon.java:748 - Exception encountered during startup
org.apache.cassandra.exceptions.ConfigurationException: Invalid yaml. Please remove properties
[enable_scripted_user_defined_functions] from your cassandra.yaml
at org.apache.cassandra.config.YamlConfigurationLoader$MissingPropertiesChecker.check
(YamlConfigurationLoader.java:146) ~[main/:na]
at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:113)
~[main/:na]
at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:85) ~
[main/:na]
at org.apache.cassandra.config.DatabaseDescriptor.loadConfig(DatabaseDescriptor.java:151) ~[main/:
na]
at org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:133) ~[main/:na]
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:608) [main/:na]
at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:735) [main/:na]]
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_multi_partition_consistent_reads_after_write // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_multi_partition_consistent_reads_after_write'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fc9712f0f10>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fc971945e80>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fc972d00430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fc970a57610>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_multi_partition_consistent_reads_after_write'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_rebuild_with_specific_sources // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_rebuild_with_specific_sources'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fc9712f0f10>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fc971413220>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fc972d00430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fc97149fc40>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_rebuild_with_specific_sources'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_partition_deletion_on_wide_table // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_partition_deletion_on_wide_table'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fc9712f0f10>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fc9714185b0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fc972d00430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fc97139faf0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_partition_deletion_on_wide_table'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_drop_index_while_building // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_drop_index_while_building'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fc9712f0f10>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fc97151ef40>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fc972d00430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fc97151ed00>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_drop_index_while_building'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_abortedcompaction // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_abortedcompaction'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fc9712f0f10>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fc97169c220>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fc972d00430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fc97169c280>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_abortedcompaction'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_protocol_negotiation // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_protocol_negotiation'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fc9712f0f10>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fc971578610>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fc972d00430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fc971578880>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_protocol_negotiation'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_mutations_dontblock // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_mutations_dontblock'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f569bd0e8e0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f569c3787c0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f569d6ec550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f569c3780d0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_mutations_dontblock'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_refresh_deadlock_startup // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_refresh_deadlock_startup'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f569bd0e8e0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f569bf77b80>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f569d6ec550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f569c17c250>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_refresh_deadlock_startup'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_row_deletion_on_wide_table // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_row_deletion_on_wide_table'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f569bd0e8e0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f569c378370>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f569d6ec550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f569bfec4c0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_row_deletion_on_wide_table'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_index_is_not_rebuilt_at_restart // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_index_is_not_rebuilt_at_restart'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f569bd0e8e0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f569bedf610>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f569d6ec550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f569bedfc70>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_index_is_not_rebuilt_at_restart'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_zerocopy_streaming // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_zerocopy_streaming'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f569bd0e8e0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f569bee3a30>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f569d6ec550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f569bee3370>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_zerocopy_streaming'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_protocol_version_restriction // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_protocol_version_restriction'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f569bd0e8e0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f569c3b09d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f569d6ec550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f569c335880>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_protocol_version_restriction'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_drop_compact_storage_flag // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_drop_compact_storage_flag'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fc1cb35c190>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fc1c8173850>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fc1ccca7550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fc1c8a04a60>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_drop_compact_storage_flag'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_per_partition_limit_paging // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_per_partition_limit_paging'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fc1cb35c190>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fc1ccc40550>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fc1ccca7550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fc1ccc40640>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_per_partition_limit_paging'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_range_deletion_on_wide_table // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_range_deletion_on_wide_table'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fc1cb35c190>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fc1cb97d3a0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fc1ccca7550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fc1cb97dfd0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_range_deletion_on_wide_table'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_zerocopy_streaming_no_replication // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_zerocopy_streaming_no_replication'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fc1cb35c190>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fc1cb519730>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fc1ccca7550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fc1ccc52880>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_zerocopy_streaming_no_replication'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_update_schema_with_down_node // Failure
ccmlib.node.NodeError: Error starting node1.

self = <cqlsh_tests.test_cqlsh.TestCqlsh object at 0x7fc1cb5a4460>

def test_update_schema_with_down_node(self):
"""
Test that issuing a DML statement after a DDL statement will work with a down node
@jira_ticket CASSANDRA-9689
"""
self.cluster.populate(3)
> self.cluster.start(wait_for_binary_proto=True, wait_other_notice=True)

cqlsh_tests/test_cqlsh.py:1900:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <ccmlib.cluster.Cluster object at 0x7fc1cb5aa9a0>, no_wait = False
verbose = False, wait_for_binary_proto = True, wait_other_notice = True
jvm_args = [], profile_options = None, quiet_start = False, allow_root = False
jvm_version = None, kwargs = {}
node = <ccmlib.node.Node object at 0x7fc1c9a43160>, itf = ('127.0.0.3', 9042)
started = [(<ccmlib.node.Node object at 0x7fc1c9a43160>, <subprocess.Popen object at
0x7fc1cb515130>, 0), (<ccmlib.node.Node obj... at 0x7fc1cb515640>, 0), (<ccmlib.node.Node object at
0x7fc1cb5aa760>, <subprocess.Popen object at 0x7fc1cb5157f0>, 0)]
mark = 0, p = <subprocess.Popen object at 0x7fc1cb515130>
start_message = 'Starting listening for CQL clients', _ = 0

def start(self, no_wait=False, verbose=False, wait_for_binary_proto=True,
wait_other_notice=True, jvm_args=None, profile_options=None,
quiet_start=False, allow_root=False, jvm_version=None, **kwargs):
if jvm_args is None:
jvm_args = []

extension.pre_cluster_start(self)

# check whether all loopback aliases are available before starting any nodes
for node in list(self.nodes.values()):
if not node.is_running():
for itf in node.network_interfaces.values():
if itf is not None:
common.assert_socket_available(itf)

started = []
for node in list(self.nodes.values()):
if not node.is_running():
mark = 0
if os.path.exists(node.logfilename()):
mark = node.mark_log()

p = node.start(update_pid=False, jvm_args=jvm_args, jvm_version=jvm_version,
profile_options=profile_options, verbose=verbose, quiet_start=quiet_start,
allow_root=allow_root)

# Prior to JDK8, starting every node at once could lead to a
# nanotime collision where the RNG that generates a node's tokens
# gives identical tokens to several nodes. Thus, we stagger
# the node starts
if common.get_jdk_version() < '1.8':
time.sleep(1)

started.append((node, p, mark))

if no_wait:
time.sleep(2) # waiting 2 seconds to check for early errors and for the pid to be set
else:
for node, p, mark in started:
try:
start_message = "Listening for thrift clients..." if self.cassandra_version() < "2.2" else "Starting
listening for CQL clients"
node.watch_log_for(start_message, timeout=kwargs.get('timeout',60), process=p, verbose=verbose,
from_mark=mark)
except RuntimeError:
return None

self.__update_pids(started)

for node, p, _ in started:
if not node.is_running():
> raise NodeError("Error starting {0}.".format(node.name), p)
E ccmlib.node.NodeError: Error starting node1.

../venv/src/ccm/ccmlib/cluster.py:481: NodeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_update_schema_with_down_node // Error
test teardown failure

Unexpected error found in node logs (see stdout for full details). Errors: [ERROR [main] 2020-09-22
11:02:52,562 CassandraDaemon.java:748 - Exception encountered during startup
org.apache.cassandra.exceptions.ConfigurationException: Invalid yaml. Please remove properties
[enable_scripted_user_defined_functions] from your cassandra.yaml
at org.apache.cassandra.config.YamlConfigurationLoader$MissingPropertiesChecker.check
(YamlConfigurationLoader.java:146) ~[main/:na]
at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:113)
~[main/:na]
at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:85) ~
[main/:na]
at org.apache.cassandra.config.DatabaseDescriptor.loadConfig(DatabaseDescriptor.java:151) ~[main/:
na]
at org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:133) ~[main/:na]
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:608) [main/:na]
at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:735) [main/:na], ERROR
[main] 2020-09-22 11:02:52,562 CassandraDaemon.java:748 - Exception encountered during startup
org.apache.cassandra.exceptions.ConfigurationException: Invalid yaml. Please remove properties
[enable_scripted_user_defined_functions] from your cassandra.yaml
at org.apache.cassandra.config.YamlConfigurationLoader$MissingPropertiesChecker.check
(YamlConfigurationLoader.java:146) ~[main/:na]
at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:113)
~[main/:na]
at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:85) ~
[main/:na]
at org.apache.cassandra.config.DatabaseDescriptor.loadConfig(DatabaseDescriptor.java:151) ~[main/:
na]
at org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:133) ~[main/:na]
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:608) [main/:na]
at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:735) [main/:na]]
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_only_superusers_can_drop_users // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_only_superusers_can_drop_users'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f300eb66b50>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f300eb66af0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f30104865e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f300eb66760>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_only_superusers_can_drop_users'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_local_query // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_local_query'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f300eb66b50>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f300c1644c0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f30104865e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f300c1645e0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_local_query'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_mismatching_insertions_on_skinny_table // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_mismatching_insertions_on_skinny_table'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f300eb66b50>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f300f0e4190>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f30104865e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f300f0e4c10>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_mismatching_insertions_on_skinny_table'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_only_coordinator_chooses_index_for_query // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_only_coordinator_chooses_index_for_query'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f300eb66b50>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f300c13b280>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f30104865e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f300c13b310>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_only_coordinator_chooses_index_for_query'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_uniform_ratio // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_uniform_ratio'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f300eb66b50>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f300ee389a0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f30104865e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f300d96b8e0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_uniform_ratio'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_decommissioned_node_cant_rejoin // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_decommissioned_node_cant_rejoin'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f300eb66b50>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f300d957400>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f30104865e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f300e2b9e50>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_decommissioned_node_cant_rejoin'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_describe_round_trip // Failure
ccmlib.node.NodeError: Error starting node1.

self = <cqlsh_tests.test_cqlsh.TestCqlsh object at 0x7f300f0c3460>

def test_describe_round_trip(self):
"""
@jira_ticket CASSANDRA-9064

Tests for the error reported in 9064 by:

- creating the table described in the bug report, using LCS,
- DESCRIBE-ing that table via cqlsh, then DROPping it,
- running the output of the DESCRIBE statement as a CREATE TABLE statement, and
- inserting a value into the table.

The final two steps of the test should not fall down. If one does, that
indicates the output of DESCRIBE is not a correct CREATE TABLE statement.
"""
self.cluster.populate(1)
> self.cluster.start(wait_for_binary_proto=True)

cqlsh_tests/test_cqlsh.py:1933:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <ccmlib.cluster.Cluster object at 0x7f300da5abe0>, no_wait = False
verbose = False, wait_for_binary_proto = True, wait_other_notice = True
jvm_args = [], profile_options = None, quiet_start = False, allow_root = False
jvm_version = None, kwargs = {}
node = <ccmlib.node.Node object at 0x7f300c1375e0>, itf = ('127.0.0.1', 9042)
started = [(<ccmlib.node.Node object at 0x7f300c1375e0>, <subprocess.Popen object at
0x7f300d96e2b0>, 0)]
mark = 0, p = <subprocess.Popen object at 0x7f300d96e2b0>
start_message = 'Starting listening for CQL clients', _ = 0

def start(self, no_wait=False, verbose=False, wait_for_binary_proto=True,
wait_other_notice=True, jvm_args=None, profile_options=None,
quiet_start=False, allow_root=False, jvm_version=None, **kwargs):
if jvm_args is None:
jvm_args = []

extension.pre_cluster_start(self)

# check whether all loopback aliases are available before starting any nodes
for node in list(self.nodes.values()):
if not node.is_running():
for itf in node.network_interfaces.values():
if itf is not None:
common.assert_socket_available(itf)

started = []
for node in list(self.nodes.values()):
if not node.is_running():
mark = 0
if os.path.exists(node.logfilename()):
mark = node.mark_log()

p = node.start(update_pid=False, jvm_args=jvm_args, jvm_version=jvm_version,
profile_options=profile_options, verbose=verbose, quiet_start=quiet_start,
allow_root=allow_root)

# Prior to JDK8, starting every node at once could lead to a
# nanotime collision where the RNG that generates a node's tokens
# gives identical tokens to several nodes. Thus, we stagger
# the node starts
if common.get_jdk_version() < '1.8':
time.sleep(1)

started.append((node, p, mark))

if no_wait:
time.sleep(2) # waiting 2 seconds to check for early errors and for the pid to be set
else:
for node, p, mark in started:
try:
start_message = "Listening for thrift clients..." if self.cassandra_version() < "2.2" else "Starting
listening for CQL clients"
node.watch_log_for(start_message, timeout=kwargs.get('timeout',60), process=p, verbose=verbose,
from_mark=mark)
except RuntimeError:
return None

self.__update_pids(started)

for node, p, _ in started:
if not node.is_running():
> raise NodeError("Error starting {0}.".format(node.name), p)
E ccmlib.node.NodeError: Error starting node1.

../venv/src/ccm/ccmlib/cluster.py:481: NodeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_describe_round_trip // Error
test teardown failure

Unexpected error found in node logs (see stdout for full details). Errors: [ERROR [main] 2020-09-22
11:00:25,550 CassandraDaemon.java:748 - Exception encountered during startup
org.apache.cassandra.exceptions.ConfigurationException: Invalid yaml. Please remove properties
[enable_scripted_user_defined_functions] from your cassandra.yaml
at org.apache.cassandra.config.YamlConfigurationLoader$MissingPropertiesChecker.check
(YamlConfigurationLoader.java:146) ~[main/:na]
at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:113)
~[main/:na]
at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:85) ~
[main/:na]
at org.apache.cassandra.config.DatabaseDescriptor.loadConfig(DatabaseDescriptor.java:151) ~[main/:
na]
at org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:133) ~[main/:na]
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:608) [main/:na]
at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:735) [main/:na], ERROR
[main] 2020-09-22 11:00:25,550 CassandraDaemon.java:748 - Exception encountered during startup
org.apache.cassandra.exceptions.ConfigurationException: Invalid yaml. Please remove properties
[enable_scripted_user_defined_functions] from your cassandra.yaml
at org.apache.cassandra.config.YamlConfigurationLoader$MissingPropertiesChecker.check
(YamlConfigurationLoader.java:146) ~[main/:na]
at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:113)
~[main/:na]
at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:85) ~
[main/:na]
at org.apache.cassandra.config.DatabaseDescriptor.loadConfig(DatabaseDescriptor.java:151) ~[main/:
na]
at org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:133) ~[main/:na]
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:608) [main/:na]
at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:735) [main/:na]]
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_remote_query // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_remote_query'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f51a1b6dfa0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f51a01de160>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f51a3413550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f51a01de340>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_remote_query'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_mismatching_insertions_on_wide_table // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_mismatching_insertions_on_wide_table'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f51a1b6dfa0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f51a1b1ee80>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f51a3413550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f51a0221490>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_mismatching_insertions_on_wide_table'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_fixed_ratio // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_fixed_ratio'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f51a1b6dfa0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f51a1ea5a00>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f51a3413550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f51a20e61c0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_fixed_ratio'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_crash_during_decommission // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_crash_during_decommission'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f51a1b6dfa0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f51a20900d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f51a3413550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f51a209bf10>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_crash_during_decommission'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_materialized_view // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_materialized_view'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f51a1b6dfa0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f51a20739d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f51a3413550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f51a205ba00>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_materialized_view'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_move // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_move'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f51a1b6dfa0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f51a019faf0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f51a3413550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f51a019f070>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_move'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_fql_nodetool_options // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_fql_nodetool_options'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fa226a61070>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fa226a61df0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fa2282a0430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fa226b43b50>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_fql_nodetool_options'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_require_client_auth // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_require_client_auth'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fa226a61070>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fa226ec7820>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fa2282a0430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fa226ec7100>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_require_client_auth'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_base_column_in_view_pk_commutative_tombstone_without_flush // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_base_column_in_view_pk_commutative_tombstone_without_flush'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fa226a61070>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fa22478f970>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fa2282a0430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fa22478f700>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_base_column_in_view_pk_commutative_tombstone_without_flush'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_paging_with_filtering_on_clustering_columns // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_paging_with_filtering_on_clustering_columns'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fa226a61070>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fa226f06a30>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fa2282a0430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fa226b26cd0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_paging_with_filtering_on_clustering_columns'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_speculative_data_request // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_speculative_data_request'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fa226a61070>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fa226c0de50>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fa2282a0430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fa226c0d5e0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_speculative_data_request'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_complementary_deletion_with_limit_on_clustering_key_column // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_complementary_deletion_with_limit_on_clustering_key_column'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fa226a61070>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fa22693fd00>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fa2282a0430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fa22693f760>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_complementary_deletion_with_limit_on_clustering_key_column'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_describe_functions // Failure
ccmlib.node.NodeError: Error starting node1.

self = <cqlsh_tests.test_cqlsh.TestCqlsh object at 0x7fa226f03c70>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fa226f03ee0>

def test_describe_functions(self, fixture_dtest_setup_overrides):
"""Test DESCRIBE statements for functions and aggregate functions"""
self.cluster.populate(1)
> self.cluster.start(wait_for_binary_proto=True)

cqlsh_tests/test_cqlsh.py:872:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <ccmlib.cluster.Cluster object at 0x7fa226b26400>, no_wait = False
verbose = False, wait_for_binary_proto = True, wait_other_notice = True
jvm_args = [], profile_options = None, quiet_start = False, allow_root = False
jvm_version = None, kwargs = {}
node = <ccmlib.node.Node object at 0x7fa2269b8f10>, itf = ('127.0.0.1', 9042)
started = [(<ccmlib.node.Node object at 0x7fa2269b8f10>, <subprocess.Popen object at
0x7fa2246ee580>, 0)]
mark = 0, p = <subprocess.Popen object at 0x7fa2246ee580>
start_message = 'Starting listening for CQL clients', _ = 0

def start(self, no_wait=False, verbose=False, wait_for_binary_proto=True,
wait_other_notice=True, jvm_args=None, profile_options=None,
quiet_start=False, allow_root=False, jvm_version=None, **kwargs):
if jvm_args is None:
jvm_args = []

extension.pre_cluster_start(self)

# check whether all loopback aliases are available before starting any nodes
for node in list(self.nodes.values()):
if not node.is_running():
for itf in node.network_interfaces.values():
if itf is not None:
common.assert_socket_available(itf)

started = []
for node in list(self.nodes.values()):
if not node.is_running():
mark = 0
if os.path.exists(node.logfilename()):
mark = node.mark_log()

p = node.start(update_pid=False, jvm_args=jvm_args, jvm_version=jvm_version,
profile_options=profile_options, verbose=verbose, quiet_start=quiet_start,
allow_root=allow_root)

# Prior to JDK8, starting every node at once could lead to a
# nanotime collision where the RNG that generates a node's tokens
# gives identical tokens to several nodes. Thus, we stagger
# the node starts
if common.get_jdk_version() < '1.8':
time.sleep(1)

started.append((node, p, mark))

if no_wait:
time.sleep(2) # waiting 2 seconds to check for early errors and for the pid to be set
else:
for node, p, mark in started:
try:
start_message = "Listening for thrift clients..." if self.cassandra_version() < "2.2" else "Starting
listening for CQL clients"
node.watch_log_for(start_message, timeout=kwargs.get('timeout',60), process=p, verbose=verbose,
from_mark=mark)
except RuntimeError:
return None

self.__update_pids(started)

for node, p, _ in started:
if not node.is_running():
> raise NodeError("Error starting {0}.".format(node.name), p)
E ccmlib.node.NodeError: Error starting node1.

../venv/src/ccm/ccmlib/cluster.py:481: NodeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_describe_functions // Error
test teardown failure

Unexpected error found in node logs (see stdout for full details). Errors: [ERROR [main] 2020-09-22
11:13:32,168 CassandraDaemon.java:748 - Exception encountered during startup
org.apache.cassandra.exceptions.ConfigurationException: Invalid yaml. Please remove properties
[enable_scripted_user_defined_functions] from your cassandra.yaml
at org.apache.cassandra.config.YamlConfigurationLoader$MissingPropertiesChecker.check
(YamlConfigurationLoader.java:146) ~[main/:na]
at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:113)
~[main/:na]
at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:85) ~
[main/:na]
at org.apache.cassandra.config.DatabaseDescriptor.loadConfig(DatabaseDescriptor.java:151) ~[main/:
na]
at org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:133) ~[main/:na]
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:608) [main/:na]
at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:735) [main/:na], ERROR
[main] 2020-09-22 11:13:32,168 CassandraDaemon.java:748 - Exception encountered during startup
org.apache.cassandra.exceptions.ConfigurationException: Invalid yaml. Please remove properties
[enable_scripted_user_defined_functions] from your cassandra.yaml
at org.apache.cassandra.config.YamlConfigurationLoader$MissingPropertiesChecker.check
(YamlConfigurationLoader.java:146) ~[main/:na]
at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:113)
~[main/:na]
at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:85) ~
[main/:na]
at org.apache.cassandra.config.DatabaseDescriptor.loadConfig(DatabaseDescriptor.java:151) ~[main/:
na]
at org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:133) ~[main/:na]
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:608) [main/:na]
at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:735) [main/:na]]
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_node_cannot_join_as_hibernating_node_without_replace_address // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_node_cannot_join_as_hibernating_node_without_replace_address'>>
dtest_config = <dtest_config.DTestConfig object at 0x7ff4c5203e50>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7ff4c50decd0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7ff4c6934670>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7ff4c52c9100>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_node_cannot_join_as_hibernating_node_without_replace_address'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_disable_slow_query_log // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_disable_slow_query_log'>>
dtest_config = <dtest_config.DTestConfig object at 0x7ff4c5203e50>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7ff4be6564f0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7ff4c6934670>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7ff4be656520>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_disable_slow_query_log'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_14766 // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_14766'>>
dtest_config = <dtest_config.DTestConfig object at 0x7ff4c5203e50>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7ff4be69db20>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7ff4c6934670>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7ff4be69d490>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_14766'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_consistent_skinny_table // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_consistent_skinny_table'>>
dtest_config = <dtest_config.DTestConfig object at 0x7ff4c5203e50>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7ff4c55a2730>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7ff4c6934670>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7ff4c55a2df0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_consistent_skinny_table'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_quick_write // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_quick_write'>>
dtest_config = <dtest_config.DTestConfig object at 0x7ff4c5203e50>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7ff4a1dac7f0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7ff4c6934670>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7ff4a1dac820>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_quick_write'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_clear // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_clear'>>
dtest_config = <dtest_config.DTestConfig object at 0x7ff4c5203e50>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7ff4c520eca0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7ff4c6934670>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7ff4c52dba30>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_clear'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_decommission // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_decommission'>>
dtest_config = <dtest_config.DTestConfig object at 0x7ff4c5203e50>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7ff4a072d5b0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7ff4c6934670>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7ff4a09b4640>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_decommission'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_view_metadata_cleanup // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_view_metadata_cleanup'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f2683e96a00>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f2681526c40>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f26858524c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f2681526f70>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_view_metadata_cleanup'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_consistent_wide_table // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_consistent_wide_table'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f2683e96a00>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f26840e7430>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f26858524c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f26840e7880>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_consistent_wide_table'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_bootstrap_and_cleanup // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_bootstrap_and_cleanup'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f2683e96a00>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f26696fc970>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f26858524c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f26696fca30>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_bootstrap_and_cleanup'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_cls // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_cls'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f2683e96a00>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f26815e9610>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f26858524c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f268405e6d0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_cls'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_bootstrap // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_bootstrap'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f2683e96a00>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f268449f400>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f26858524c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f268449fbe0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_bootstrap'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_create // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_create'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f5956992910>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f59560c10a0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f595834f550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f59560a6df0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_create'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_count // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_count'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f5956992910>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f5956fd6340>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f595834f550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f5956fb8550>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_count'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_multiple_indexes_on_single_map_column // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_multiple_indexes_on_single_map_column'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f5956992910>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f59569ce370>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f595834f550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f59569ce4c0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_multiple_indexes_on_single_map_column'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_move_forwards_between_and_cleanup // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_move_forwards_between_and_cleanup'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f5956992910>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f5956be8400>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f595834f550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f59561298e0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_move_forwards_between_and_cleanup'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_batch // Failure
ccmlib.node.NodeError: Error starting node1.

self = <cqlsh_tests.test_cqlsh.TestCqlsh object at 0x7f5956b48d60>

def test_batch(self):
"""
Test the BATCH command
@jira_ticket CASSANDRA-10272
"""
self.cluster.populate(1)
> self.cluster.start(wait_for_binary_proto=True)

cqlsh_tests/test_cqlsh.py:2061:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <ccmlib.cluster.Cluster object at 0x7f5956c29040>, no_wait = False
verbose = False, wait_for_binary_proto = True, wait_other_notice = True
jvm_args = [], profile_options = None, quiet_start = False, allow_root = False
jvm_version = None, kwargs = {}
node = <ccmlib.node.Node object at 0x7f5956b45820>, itf = ('127.0.0.1', 9042)
started = [(<ccmlib.node.Node object at 0x7f5956b45820>, <subprocess.Popen object at
0x7f5956c255e0>, 0)]
mark = 0, p = <subprocess.Popen object at 0x7f5956c255e0>
start_message = 'Starting listening for CQL clients', _ = 0

def start(self, no_wait=False, verbose=False, wait_for_binary_proto=True,
wait_other_notice=True, jvm_args=None, profile_options=None,
quiet_start=False, allow_root=False, jvm_version=None, **kwargs):
if jvm_args is None:
jvm_args = []

extension.pre_cluster_start(self)

# check whether all loopback aliases are available before starting any nodes
for node in list(self.nodes.values()):
if not node.is_running():
for itf in node.network_interfaces.values():
if itf is not None:
common.assert_socket_available(itf)

started = []
for node in list(self.nodes.values()):
if not node.is_running():
mark = 0
if os.path.exists(node.logfilename()):
mark = node.mark_log()

p = node.start(update_pid=False, jvm_args=jvm_args, jvm_version=jvm_version,
profile_options=profile_options, verbose=verbose, quiet_start=quiet_start,
allow_root=allow_root)

# Prior to JDK8, starting every node at once could lead to a
# nanotime collision where the RNG that generates a node's tokens
# gives identical tokens to several nodes. Thus, we stagger
# the node starts
if common.get_jdk_version() < '1.8':
time.sleep(1)

started.append((node, p, mark))

if no_wait:
time.sleep(2) # waiting 2 seconds to check for early errors and for the pid to be set
else:
for node, p, mark in started:
try:
start_message = "Listening for thrift clients..." if self.cassandra_version() < "2.2" else "Starting
listening for CQL clients"
node.watch_log_for(start_message, timeout=kwargs.get('timeout',60), process=p, verbose=verbose,
from_mark=mark)
except RuntimeError:
return None

self.__update_pids(started)

for node, p, _ in started:
if not node.is_running():
> raise NodeError("Error starting {0}.".format(node.name), p)
E ccmlib.node.NodeError: Error starting node1.

../venv/src/ccm/ccmlib/cluster.py:481: NodeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_batch // Error
test teardown failure

Unexpected error found in node logs (see stdout for full details). Errors: [ERROR [main] 2020-09-22
11:15:23,999 CassandraDaemon.java:748 - Exception encountered during startup
org.apache.cassandra.exceptions.ConfigurationException: Invalid yaml. Please remove properties
[enable_scripted_user_defined_functions] from your cassandra.yaml
at org.apache.cassandra.config.YamlConfigurationLoader$MissingPropertiesChecker.check
(YamlConfigurationLoader.java:146) ~[main/:na]
at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:113)
~[main/:na]
at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:85) ~
[main/:na]
at org.apache.cassandra.config.DatabaseDescriptor.loadConfig(DatabaseDescriptor.java:151) ~[main/:
na]
at org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:133) ~[main/:na]
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:608) [main/:na]
at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:735) [main/:na], ERROR
[main] 2020-09-22 11:15:23,999 CassandraDaemon.java:748 - Exception encountered during startup
org.apache.cassandra.exceptions.ConfigurationException: Invalid yaml. Please remove properties
[enable_scripted_user_defined_functions] from your cassandra.yaml
at org.apache.cassandra.config.YamlConfigurationLoader$MissingPropertiesChecker.check
(YamlConfigurationLoader.java:146) ~[main/:na]
at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:113)
~[main/:na]
at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:85) ~
[main/:na]
at org.apache.cassandra.config.DatabaseDescriptor.loadConfig(DatabaseDescriptor.java:151) ~[main/:
na]
at org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:133) ~[main/:na]
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:608) [main/:na]
at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:735) [main/:na]]
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_force // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_force'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f5956992910>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f59569cc160>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f595834f550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f59569cc9d0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_force'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_gcgs_validation // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_gcgs_validation'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f473a84cdc0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f4739f7c130>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f473c20b4c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f4739f7cd60>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_gcgs_validation'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_fail_without_replace // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_fail_without_replace'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f473a84cdc0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f473ae65c70>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f473c20b4c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f473ae5cc70>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_fail_without_replace'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_update_missed_by_transient_replica // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_update_missed_by_transient_replica'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f473a84cdc0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f473a88fa00>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f473c20b4c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f473a88f0a0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_update_missed_by_transient_replica'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_local_system_keyspaces // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_local_system_keyspaces'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f473a84cdc0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f473ae766d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f473c20b4c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f473ae76fa0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_local_system_keyspaces'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_move_forwards_and_cleanup // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_move_forwards_and_cleanup'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f473a84cdc0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f473aa6a220>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f473c20b4c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f473aa6a250>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_move_forwards_and_cleanup'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_execute_statement // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_execute_statement'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f473a84cdc0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f4723ebdac0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f473c20b4c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f4723f6b7c0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_execute_statement'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_force_with_none_down // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_force_with_none_down'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f473a84cdc0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f473a962280>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f473c20b4c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f472029fdc0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_force_with_none_down'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_cdc_enabled_data_readable_on_round_trip // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_cdc_enabled_data_readable_on_round_trip'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f06b98ae8b0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f06b99cfe20>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f06bb273550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f06b9a9cac0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_cdc_enabled_data_readable_on_round_trip'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_insert // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_insert'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f06b98ae8b0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f06b9adde80>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f06bb273550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f06b8f9d580>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_insert'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_use_custom_ssl_port // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_use_custom_ssl_port'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f06b98ae8b0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f06b8ff9550>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f06bb273550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f06b8ff90d0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_use_custom_ssl_port'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_unsafe_replace // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_unsafe_replace'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f06b98ae8b0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f06b8f942b0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f06bb273550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f06b9ebe3a0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_unsafe_replace'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_update_only_on_transient_replica // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_update_only_on_transient_replica'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f06b98ae8b0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f06b9a6c4f0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f06bb273550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f06b9a6c1c0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_update_only_on_transient_replica'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_read_old_sstables_after_upgrade // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_read_old_sstables_after_upgrade'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f06b98ae8b0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f06b9956520>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f06bb273550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f06b99560a0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_read_old_sstables_after_upgrade'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_replicated_system_keyspaces // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_replicated_system_keyspaces'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f06b98ae8b0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f06b9c3c760>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f06bb273550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f06b9c3c5b0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_replicated_system_keyspaces'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_move_backwards_between_and_cleanup // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_move_backwards_between_and_cleanup'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f06b98ae8b0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f06b9eef220>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f06bb273550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f06ba6054c0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_move_backwards_between_and_cleanup'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_fetch_all_rows_in_batch_mode // Failure
ccmlib.node.NodeError: Error starting node1.

self = <cqlsh_tests.test_cqlsh.TestCqlsh object at 0x7f06b9f3f310>

def test_fetch_all_rows_in_batch_mode(self):
"""
Test: cqlsh -e "<SELECT STATEMENT>" with more rows than 1 page
@jira_ticket CASSANDRA-15905
"""
self.cluster.populate(1)
> self.cluster.start(wait_for_binary_proto=True)

cqlsh_tests/test_cqlsh.py:2099:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <ccmlib.cluster.Cluster object at 0x7f06b9f3c400>, no_wait = False
verbose = False, wait_for_binary_proto = True, wait_other_notice = True
jvm_args = [], profile_options = None, quiet_start = False, allow_root = False
jvm_version = None, kwargs = {}
node = <ccmlib.node.Node object at 0x7f06b9f3a280>, itf = ('127.0.0.1', 9042)
started = [(<ccmlib.node.Node object at 0x7f06b9f3a280>, <subprocess.Popen object at
0x7f06b9a81580>, 0)]
mark = 0, p = <subprocess.Popen object at 0x7f06b9a81580>
start_message = 'Starting listening for CQL clients', _ = 0

def start(self, no_wait=False, verbose=False, wait_for_binary_proto=True,
wait_other_notice=True, jvm_args=None, profile_options=None,
quiet_start=False, allow_root=False, jvm_version=None, **kwargs):
if jvm_args is None:
jvm_args = []

extension.pre_cluster_start(self)

# check whether all loopback aliases are available before starting any nodes
for node in list(self.nodes.values()):
if not node.is_running():
for itf in node.network_interfaces.values():
if itf is not None:
common.assert_socket_available(itf)

started = []
for node in list(self.nodes.values()):
if not node.is_running():
mark = 0
if os.path.exists(node.logfilename()):
mark = node.mark_log()

p = node.start(update_pid=False, jvm_args=jvm_args, jvm_version=jvm_version,
profile_options=profile_options, verbose=verbose, quiet_start=quiet_start,
allow_root=allow_root)

# Prior to JDK8, starting every node at once could lead to a
# nanotime collision where the RNG that generates a node's tokens
# gives identical tokens to several nodes. Thus, we stagger
# the node starts
if common.get_jdk_version() < '1.8':
time.sleep(1)

started.append((node, p, mark))

if no_wait:
time.sleep(2) # waiting 2 seconds to check for early errors and for the pid to be set
else:
for node, p, mark in started:
try:
start_message = "Listening for thrift clients..." if self.cassandra_version() < "2.2" else "Starting
listening for CQL clients"
node.watch_log_for(start_message, timeout=kwargs.get('timeout',60), process=p, verbose=verbose,
from_mark=mark)
except RuntimeError:
return None

self.__update_pids(started)

for node, p, _ in started:
if not node.is_running():
> raise NodeError("Error starting {0}.".format(node.name), p)
E ccmlib.node.NodeError: Error starting node1.

../venv/src/ccm/ccmlib/cluster.py:481: NodeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_fetch_all_rows_in_batch_mode // Error
test teardown failure

Unexpected error found in node logs (see stdout for full details). Errors: [ERROR [main] 2020-09-22
10:59:46,961 CassandraDaemon.java:748 - Exception encountered during startup
org.apache.cassandra.exceptions.ConfigurationException: Invalid yaml. Please remove properties
[enable_scripted_user_defined_functions] from your cassandra.yaml
at org.apache.cassandra.config.YamlConfigurationLoader$MissingPropertiesChecker.check
(YamlConfigurationLoader.java:146) ~[main/:na]
at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:113)
~[main/:na]
at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:85) ~
[main/:na]
at org.apache.cassandra.config.DatabaseDescriptor.loadConfig(DatabaseDescriptor.java:151) ~[main/:
na]
at org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:133) ~[main/:na]
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:608) [main/:na]
at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:735) [main/:na], ERROR
[main] 2020-09-22 10:59:46,961 CassandraDaemon.java:748 - Exception encountered during startup
org.apache.cassandra.exceptions.ConfigurationException: Invalid yaml. Please remove properties
[enable_scripted_user_defined_functions] from your cassandra.yaml
at org.apache.cassandra.config.YamlConfigurationLoader$MissingPropertiesChecker.check
(YamlConfigurationLoader.java:146) ~[main/:na]
at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:113)
~[main/:na]
at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:85) ~
[main/:na]
at org.apache.cassandra.config.DatabaseDescriptor.loadConfig(DatabaseDescriptor.java:151) ~[main/:
na]
at org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:133) ~[main/:na]
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:608) [main/:na]
at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:735) [main/:na]]
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_hosts // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_hosts'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f06b98ae8b0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f06b8cb3d60>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f06bb273550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f06b8cb3850>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_hosts'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_cdc_disabled_data_readable_on_round_trip // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_cdc_disabled_data_readable_on_round_trip'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fb98e29bca0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fb98e3be4f0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fb98fc424c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fb98e3be9a0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_cdc_disabled_data_readable_on_round_trip'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_populate_mv_after_insert // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_populate_mv_after_insert'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fb98e29bca0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fb98e459910>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fb98fc424c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fb98ea902b0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_populate_mv_after_insert'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_bootstrap // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_bootstrap'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fb98e29bca0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fb98e6134c0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fb98fc424c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fb98e613e50>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_bootstrap'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_move_backwards_and_cleanup // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_move_backwards_and_cleanup'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fb98e29bca0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fb98c15d4c0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fb98fc424c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fb97c886160>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_move_backwards_and_cleanup'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_subrange // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_subrange'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fb98e29bca0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fb97cb6b940>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fb98fc424c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fb97c7bcb80>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_subrange'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_non_cdc_segments_deleted_after_replay // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_non_cdc_segments_deleted_after_replay'>>
dtest_config = <dtest_config.DTestConfig object at 0x7feaea12b040>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7feae99c4d30>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7feaeb3bb4c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7feae99c4ca0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_non_cdc_segments_deleted_after_replay'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_resume // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_resume'>>
dtest_config = <dtest_config.DTestConfig object at 0x7feaea12b040>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7feae8e1bb80>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7feaeb3bb4c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7feae9bac5b0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_resume'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_decommission // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_decommission'>>
dtest_config = <dtest_config.DTestConfig object at 0x7feaea12b040>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7feaeb36cbe0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7feaeb3bb4c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7feaeb36c1f0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_decommission'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_repaired_tracking_with_partition_deletes // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_repaired_tracking_with_partition_deletes'>>
dtest_config = <dtest_config.DTestConfig object at 0x7feaea12b040>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7feae9c3b070>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7feaeb3bb4c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7feae8fac0d0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_repaired_tracking_with_partition_deletes'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_authentication_from_cache_while_unavailable // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_authentication_from_cache_while_unavailable'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fce61e28670>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fce6202dca0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fce6383d4c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fce61fdea60>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_authentication_from_cache_while_unavailable'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_insertion_and_commitlog_behavior_after_reaching_cdc_total_space // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_insertion_and_commitlog_behavior_after_reaching_cdc_total_space'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fce61e28670>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fce625b8ac0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fce6383d4c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fce625b8f10>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_insertion_and_commitlog_behavior_after_reaching_cdc_total_space'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_populate_mv_after_insert_wide_rows // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_populate_mv_after_insert_wide_rows'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fce61e28670>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fce624a1040>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fce6383d4c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fce6200d220>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_populate_mv_after_insert_wide_rows'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_nodetool_timeout_commands // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_nodetool_timeout_commands'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fce61e28670>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fce6235feb0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fce6383d4c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fce6235f5b0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_nodetool_timeout_commands'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_manual_join // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_manual_join'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fce61e28670>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fce61e6e340>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fce6383d4c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fce6237a5e0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_manual_join'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_remove // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_remove'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fce61e28670>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fce61e71f70>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fce6383d4c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fce61e71340>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_remove'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_repaired_tracking_with_varying_sstable_sets // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_repaired_tracking_with_varying_sstable_sets'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fce61e28670>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fce62365df0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fce6383d4c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fce62027f70>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_repaired_tracking_with_varying_sstable_sets'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_credentials_cache_background_reload_handle_unavailable // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_credentials_cache_background_reload_handle_unavailable'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f17a85da1c0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f17a87fcf40>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f17a9feb310>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f17a86856d0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_credentials_cache_background_reload_handle_unavailable'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_cdc_data_available_in_cdc_raw // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_cdc_data_available_in_cdc_raw'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f17a85da1c0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f17a8a0ab50>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f17a9feb310>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f17a8789c10>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_cdc_data_available_in_cdc_raw'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_simple_strategy_each_quorum // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_simple_strategy_each_quorum'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f17a85da1c0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f17a7d90940>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f17a9feb310>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f17a7d90670>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_simple_strategy_each_quorum'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_tracing_unknown_impl // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_tracing_unknown_impl'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f17a85da1c0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f17a874fa00>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f17a9feb310>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f17a8787700>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_tracing_unknown_impl'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_crc_check_chance // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_crc_check_chance'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f17a85da1c0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f17a87d4970>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f17a9feb310>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f17a87f5e20>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_crc_check_chance'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_cleanup_when_no_replica_with_index // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_cleanup_when_no_replica_with_index'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f17a85da1c0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f17a8cc30d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f17a9feb310>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f17a8cc3fd0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_cleanup_when_no_replica_with_index'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_write_survey // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_write_survey'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f17a85da1c0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f17a87d4100>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f17a9feb310>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f17a87d44c0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_write_survey'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_replace // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_replace'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f17a85da1c0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f17a8a0fbb0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f17a9feb310>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f17a8a3db80>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_replace'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_repaired_tracking_with_mismatching_replicas // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_repaired_tracking_with_mismatching_replicas'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f17a85da1c0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f17a8ca95b0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f17a9feb310>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f17a8ca9a30>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_repaired_tracking_with_mismatching_replicas'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_tracing_default_impl // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_tracing_default_impl'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fc2a41239a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fc2a4293a60>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fc2a5ab4430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fc2a41149d0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_tracing_default_impl'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_prepared_statement // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_prepared_statement'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fc2a41239a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fc2a42cc460>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fc2a5ab4430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fc2a4272d30>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_prepared_statement'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_cleanup_when_no_replica_without_index // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_cleanup_when_no_replica_without_index'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fc2a41239a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fc2a3895ac0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fc2a5ab4430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fc2a3895d90>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_cleanup_when_no_replica_without_index'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_startup_no_live_seeds // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_startup_no_live_seeds'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fc2a41239a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fc2a42798e0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fc2a5ab4430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fc2a4272e20>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_startup_no_live_seeds'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_transient_noop_write // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_transient_noop_write'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fc2a41239a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fc2a4334d90>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fc2a5ab4430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fc2a4334b20>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_transient_noop_write'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_preview // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_preview'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fc2a41239a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fc2a42cf8e0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fc2a5ab4430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fc2a42cf190>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_preview'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_archiving_fql // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_archiving_fql'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fdea098de80>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fdea098deb0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fdea21b14c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fdea0a75430>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_archiving_fql'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_simple_bootstrap_small_keepalive_period // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_simple_bootstrap_small_keepalive_period'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fdea098de80>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fdea0a6ca60>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fdea21b14c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fdea07ad100>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_simple_bootstrap_small_keepalive_period'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_view_tombstone // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_view_tombstone'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fdea098de80>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fdea0e16df0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fdea21b14c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fde9cd98190>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_view_tombstone'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_paging_with_filtering_on_clustering_columns_compact // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_paging_with_filtering_on_clustering_columns_compact'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fdea098de80>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fde9ff2b7c0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fdea21b14c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fde9ff2bc10>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_paging_with_filtering_on_clustering_columns_compact'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_speculative_write // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_speculative_write'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fdea098de80>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fde9cdc1130>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fdea21b14c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fde9cdc1370>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_speculative_write'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_complementary_deletion_with_limit_on_static_column_with_empty_partitions /
/ Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_complementary_deletion_with_limit_on_static_column_with_empty_partitions'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fdea098de80>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fdea0a7ec40>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fdea21b14c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fdea0a7e220>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_complementary_deletion_with_limit_on_static_column_with_empty_partitions'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_default_keyspaces_exist // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_default_keyspaces_exist'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fdea098de80>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fdea0ad51f0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fdea21b14c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fdea0a6cbb0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_default_keyspaces_exist'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_mv_lock_contention_during_replay // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_mv_lock_contention_during_replay'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fc6165a0fa0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fc6165a3f40>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fc617f355e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fc616582d60>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_mv_lock_contention_during_replay'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_tracing_does_not_interfere_with_digest_calculation // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_tracing_does_not_interfere_with_digest_calculation'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fc6165a0fa0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fc6144e1d60>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fc617f355e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fc6144e1100>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_tracing_does_not_interfere_with_digest_calculation'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_immutable // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_immutable'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fc6165a0fa0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fc6166db070>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fc617f355e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fc6166dbbe0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_immutable'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_startup_non_seed_with_peers // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_startup_non_seed_with_peers'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fc6165a0fa0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fc615d47f40>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fc617f355e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fc615d479a0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_startup_non_seed_with_peers'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_transient_write // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_transient_write'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fc6165a0fa0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fc616a66cd0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fc617f355e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fc616a665e0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_transient_write'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_round_trip_with_sub_second_precision // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_round_trip_with_sub_second_precision'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fc6165a0fa0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fc61676f820>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fc617f355e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fc61676f880>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_round_trip_with_sub_second_precision'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_materialized_views_auth // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_materialized_views_auth'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f3c483b2760>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f3c483b2700>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f3c49e0d5e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f3c483b2280>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_materialized_views_auth'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_drop_mv // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_drop_mv'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f3c483b2760>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f3c48607ac0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f3c49e0d5e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f3c24487d90>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_drop_mv'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_set_get_batchlog_replay_throttle // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_set_get_batchlog_replay_throttle'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f3c483b2760>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f3c485252b0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f3c49e0d5e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f3c48518ca0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_set_get_batchlog_replay_throttle'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_update_on_skinny_table // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_update_on_skinny_table'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f3c483b2760>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f3c243d3550>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f3c49e0d5e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f3c243d3220>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_update_on_skinny_table'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_startup_after_ring_delay // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_startup_after_ring_delay'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f3c483b2760>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f3c246c3bb0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f3c49e0d5e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f3c24736070>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_startup_after_ring_delay'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_transient_full_merge_read // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_transient_full_merge_read'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f3c483b2760>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f3c245acd00>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f3c49e0d5e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f3c245ac910>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_transient_full_merge_read'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_round_trip_with_different_number_precision // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_round_trip_with_different_number_precision'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f3c483b2760>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f3c247a46a0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f3c49e0d5e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f3c487776a0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_round_trip_with_different_number_precision'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_drop_column // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_drop_column'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fb082f6bc40>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fb083818d00>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fb0849be4c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fb083876fd0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_drop_column'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_reloadlocalschema // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_reloadlocalschema'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fb082f6bc40>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fb082674880>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fb0849be4c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fb082674be0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_reloadlocalschema'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_update_on_wide_table // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_update_on_wide_table'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fb082f6bc40>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fb083658ac0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fb0849be4c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fb0835e11c0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_update_on_wide_table'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_srp // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_srp'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fb082f6bc40>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fb0831924c0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fb0849be4c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fb083009730>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_srp'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_full_dc_access // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_full_dc_access'>>
dtest_config = <dtest_config.DTestConfig object at 0x7faef4e67d90>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7faef55520a0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7faef67db550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7faef67a3610>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_full_dc_access'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_drop_table // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_drop_table'>>
dtest_config = <dtest_config.DTestConfig object at 0x7faef4e67d90>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7faef4589340>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7faef67db550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7faef44a7d90>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_drop_table'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_refresh_size_estimates_clears_invalid_entries // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_refresh_size_estimates_clears_invalid_entries'>>
dtest_config = <dtest_config.DTestConfig object at 0x7faef4e67d90>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7faef4458280>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7faef67db550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7faef4458190>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_refresh_size_estimates_clears_invalid_entries'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_update_on_static_column_with_empty_partition // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_update_on_static_column_with_empty_partition'>>
dtest_config = <dtest_config.DTestConfig object at 0x7faef4e67d90>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7faef4452370>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7faef67db550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7faef54b6d30>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_update_on_static_column_with_empty_partition'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_rf_collapse_yaml_file_snitch // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_rf_collapse_yaml_file_snitch'>>
dtest_config = <dtest_config.DTestConfig object at 0x7faef4e67d90>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7faef4e54e50>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7faef67db550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7faef4e548e0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_rf_collapse_yaml_file_snitch'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_snapshot_and_restore_drop_table_remove_dropped_column // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_snapshot_and_restore_drop_table_remove_dropped_column'>>
dtest_config = <dtest_config.DTestConfig object at 0x7faef4e67d90>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7faef4dc1f10>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7faef67db550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7faef4dc1e80>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_snapshot_and_restore_drop_table_remove_dropped_column'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_transient_full_merge_read_with_delete_transient_coordinator // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_transient_full_merge_read_with_delete_transient_coordinator'>>
dtest_config = <dtest_config.DTestConfig object at 0x7faef4e67d90>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7faef54aa970>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7faef67db550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7faef54aab20>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_transient_full_merge_read_with_delete_transient_coordinator'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_single_dc_access // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_single_dc_access'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f1f69be19a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f1f69c19be0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f1f6b629550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f1f69be1a60>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_single_dc_access'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_disk_balance_stress // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_disk_balance_stress'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f1f69be19a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f1f69cc3cd0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f1f6b629550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f1f69cc8a00>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_disk_balance_stress'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_clustering_column // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_clustering_column'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f1f69be19a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f1f69373850>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f1f6b629550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f1f69373b80>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_clustering_column'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_set_get_concurrent_view_builders // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_set_get_concurrent_view_builders'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f1f69be19a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f1f6b5e89d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f1f6b629550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f1f6929e310>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_set_get_concurrent_view_builders'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_update_on_static_column_with_not_empty_partition // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_update_on_static_column_with_not_empty_partition'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f1f69be19a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f1f69211ee0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f1f6b629550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f1f693175b0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_update_on_static_column_with_not_empty_partition'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_rf_expand_yaml_file_snitch // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_rf_expand_yaml_file_snitch'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f1f69be19a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f1f69d85340>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f1f6b629550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f1f69d8e940>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_rf_expand_yaml_file_snitch'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_snapshot_and_restore_dropping_a_column // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_snapshot_and_restore_dropping_a_column'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f1f69be19a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f1f6a4a4790>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f1f6b629550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f1f6a4a4f40>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_snapshot_and_restore_dropping_a_column'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_transient_full_merge_read_with_delete_full_coordinator // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_transient_full_merge_read_with_delete_full_coordinator'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f1f69be19a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f1f69de55b0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f1f6b629550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f1f69de5220>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_transient_full_merge_read_with_delete_full_coordinator'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_revoked_dc_access // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_revoked_dc_access'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fb2eb46cdf0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fb2eb4a7100>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fb2ecebb550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fb2ebd1aca0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_revoked_dc_access'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_describecluster_more_information_three_datacenters // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_describecluster_more_information_three_datacenters'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fb2eb46cdf0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fb2eb6a0bb0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fb2ecebb550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fb2eb680ca0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_describecluster_more_information_three_datacenters'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_update_on_collection // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_update_on_collection'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fb2eb46cdf0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fb2eb497490>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fb2ecebb550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fb2eb6557c0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_update_on_collection'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_cheap_quorums // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_cheap_quorums'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fb2eb46cdf0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fb2eb50a820>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fb2ecebb550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fb2eb6ce430>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_cheap_quorums'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_udt_subfield // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_udt_subfield'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fb2eb46cdf0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fb2eb6c7d60>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fb2ecebb550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fb2eb6c71c0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_udt_subfield'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_create_dc_validation // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_create_dc_validation'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f81a88cf9d0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f81a896ed30>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f81aa25d430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f81a88f17c0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_create_dc_validation'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_simple_strategy_each_quorum_counters // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_simple_strategy_each_quorum_counters'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f81a88cf9d0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f81a803b520>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f81aa25d430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f81a803b190>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_simple_strategy_each_quorum_counters'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_disk_balance_replace_same_address // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_disk_balance_replace_same_address'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f81a88cf9d0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f81a07e5c70>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f81aa25d430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f81a88f11c0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_disk_balance_replace_same_address'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_sjk // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_sjk'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f81a88cf9d0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f81a3e9d9d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f81aa25d430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f81a3f5c160>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_sjk'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests /
/ test_complementary_deletion_with_limit_on_partition_key_column_with_empty_partitions // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_complementary_deletion_with_limit_on_partition_key_column_with_empty_partitions'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f81a88cf9d0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f81a3f364c0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f81aa25d430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f81a3f36160>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_complementary_deletion_with_limit_on_partition_key_column_with_empty_partitions'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_speculative_write // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_speculative_write'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f81a88cf9d0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f81a8979c10>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f81aa25d430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f81a8979b20>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_speculative_write'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_alter_dc_validation // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_alter_dc_validation'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f6cbdab2ca0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f6cbdaaf310>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f6cbf3c0430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f6cbdc26160>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_alter_dc_validation'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_disk_balance_replace_different_address // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_disk_balance_replace_different_address'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f6cbdab2ca0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f6cbdc2b400>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f6cbf3c0430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f6cbdc31e80>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_disk_balance_replace_different_address'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests /
/ test_complementary_deletion_with_limit_on_partition_key_column_with_not_empty_partitions // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_complementary_deletion_with_limit_on_partition_key_column_with_not_empty_partitions'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f6cbdab2ca0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f6cbd21fb20>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f6cbf3c0430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f6cbdc874c0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_complementary_deletion_with_limit_on_partition_key_column_with_not_empty_partitions'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_revoked_login // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_revoked_login'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f121a873460>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f121a873610>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f121c17b4c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f121a86dca0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_revoked_login'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_disk_balance_decommission // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_disk_balance_decommission'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f121a873460>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f121a882280>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f121c17b4c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f121aa02820>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_disk_balance_decommission'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_insert_during_range_movement_rf1 // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_insert_during_range_movement_rf1'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f121a873460>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f121a00be50>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f121c17b4c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f1219ffe3a0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_insert_during_range_movement_rf1'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_complementary_deletion_with_limit_on_clustering_key_column // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_complementary_deletion_with_limit_on_clustering_key_column'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f121a873460>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f1219fbebe0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f121c17b4c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f1219fcd2e0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_complementary_deletion_with_limit_on_clustering_key_column'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_failed_snitch_update_yaml_file_snitch // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_failed_snitch_update_yaml_file_snitch'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f121a873460>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f121ae50f40>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f121c17b4c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f121a9b3340>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_failed_snitch_update_yaml_file_snitch'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_speculative_write_repair_cycle // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_speculative_write_repair_cycle'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f121a873460>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f121a9f5820>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f121c17b4c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f121a9f5250>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_speculative_write_repair_cycle'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_alter_table // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_alter_table'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f121a873460>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f11e3f740d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f121c17b4c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f11ea88f250>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_alter_table'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_14513_transient // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_14513_transient'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f5eacdd58b0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f5eac583670>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f5eae745430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f5eac4a3820>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_14513_transient'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_blacklisted_directory // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_blacklisted_directory'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f5eacdd58b0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f5eac583a60>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f5eae745430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f5eac48d3d0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_blacklisted_directory'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_insert_during_range_movement_rf2 // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_insert_during_range_movement_rf2'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f5eacdd58b0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f5eac38f0d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f5eae745430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f5eac38f340>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_insert_during_range_movement_rf2'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_complementary_deletion_with_limit_on_static_column_with_empty_partitions /
/ Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_complementary_deletion_with_limit_on_static_column_with_empty_partitions'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f5eacdd58b0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f5ead357b80>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f5eae745430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f5ead322af0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_complementary_deletion_with_limit_on_static_column_with_empty_partitions'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_primary_range_repair // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_primary_range_repair'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f5eacdd58b0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f5eacfc5d00>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f5eae745430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f5ead417250>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_primary_range_repair'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_archive_on_startup // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_archive_on_startup'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fe270558190>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fe2705588b0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fe271d803a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fe27063a3a0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_archive_on_startup'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_simple_repair_by_base // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_simple_repair_by_base'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fe270558190>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fe2709f3520>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fe271d803a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fe270a55910>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_simple_repair_by_base'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_paging_with_filtering_on_clustering_columns_with_contains // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_paging_with_filtering_on_clustering_columns_with_contains'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fe270558190>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fe26fab92e0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fe271d803a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fe26fab9160>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_paging_with_filtering_on_clustering_columns_with_contains'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_quorum_requirement // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_quorum_requirement'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fe270558190>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fe26e258250>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fe271d803a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fe26e2588b0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_quorum_requirement'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests /
/ test_complementary_deletion_with_limit_on_static_column_with_empty_partitions_and_rows_after /
/ Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_complementary_deletion_with_limit_on_static_column_with_empty_partitions_and_rows_after'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fe270558190>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fe27063aca0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fe271d803a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fe27063a7c0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_complementary_deletion_with_limit_on_static_column_with_empty_partitions_and_rows_after'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_cql_range_tombstone_and_static // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_cql_range_tombstone_and_static'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fe270558190>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fe27063f160>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fe271d803a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fe2703c63d0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_cql_range_tombstone_and_static'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_describe_types // Failure
ccmlib.node.NodeError: Error starting node1.

self = <cqlsh_tests.test_cqlsh.TestCqlsh object at 0x7fe2704f2dc0>

def test_describe_types(self):
"""Test DESCRIBE statements for user defined datatypes"""
self.cluster.populate(1)
> self.cluster.start(wait_for_binary_proto=True)

cqlsh_tests/test_cqlsh.py:965:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <ccmlib.cluster.Cluster object at 0x7fe2709ab9a0>, no_wait = False
verbose = False, wait_for_binary_proto = True, wait_other_notice = True
jvm_args = [], profile_options = None, quiet_start = False, allow_root = False
jvm_version = None, kwargs = {}
node = <ccmlib.node.Node object at 0x7fe26e26d730>, itf = ('127.0.0.1', 9042)
started = [(<ccmlib.node.Node object at 0x7fe26e26d730>, <subprocess.Popen object at
0x7fe2709a87c0>, 0)]
mark = 0, p = <subprocess.Popen object at 0x7fe2709a87c0>
start_message = 'Starting listening for CQL clients', _ = 0

def start(self, no_wait=False, verbose=False, wait_for_binary_proto=True,
wait_other_notice=True, jvm_args=None, profile_options=None,
quiet_start=False, allow_root=False, jvm_version=None, **kwargs):
if jvm_args is None:
jvm_args = []

extension.pre_cluster_start(self)

# check whether all loopback aliases are available before starting any nodes
for node in list(self.nodes.values()):
if not node.is_running():
for itf in node.network_interfaces.values():
if itf is not None:
common.assert_socket_available(itf)

started = []
for node in list(self.nodes.values()):
if not node.is_running():
mark = 0
if os.path.exists(node.logfilename()):
mark = node.mark_log()

p = node.start(update_pid=False, jvm_args=jvm_args, jvm_version=jvm_version,
profile_options=profile_options, verbose=verbose, quiet_start=quiet_start,
allow_root=allow_root)

# Prior to JDK8, starting every node at once could lead to a
# nanotime collision where the RNG that generates a node's tokens
# gives identical tokens to several nodes. Thus, we stagger
# the node starts
if common.get_jdk_version() < '1.8':
time.sleep(1)

started.append((node, p, mark))

if no_wait:
time.sleep(2) # waiting 2 seconds to check for early errors and for the pid to be set
else:
for node, p, mark in started:
try:
start_message = "Listening for thrift clients..." if self.cassandra_version() < "2.2" else "Starting
listening for CQL clients"
node.watch_log_for(start_message, timeout=kwargs.get('timeout',60), process=p, verbose=verbose,
from_mark=mark)
except RuntimeError:
return None

self.__update_pids(started)

for node, p, _ in started:
if not node.is_running():
> raise NodeError("Error starting {0}.".format(node.name), p)
E ccmlib.node.NodeError: Error starting node1.

../venv/src/ccm/ccmlib/cluster.py:481: NodeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_describe_types // Error
test teardown failure

Unexpected error found in node logs (see stdout for full details). Errors: [ERROR [main] 2020-09-22
10:59:20,596 CassandraDaemon.java:748 - Exception encountered during startup
org.apache.cassandra.exceptions.ConfigurationException: Invalid yaml. Please remove properties
[enable_scripted_user_defined_functions] from your cassandra.yaml
at org.apache.cassandra.config.YamlConfigurationLoader$MissingPropertiesChecker.check
(YamlConfigurationLoader.java:146) ~[main/:na]
at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:113)
~[main/:na]
at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:85) ~
[main/:na]
at org.apache.cassandra.config.DatabaseDescriptor.loadConfig(DatabaseDescriptor.java:151) ~[main/:
na]
at org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:133) ~[main/:na]
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:608) [main/:na]
at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:735) [main/:na], ERROR
[main] 2020-09-22 10:59:20,596 CassandraDaemon.java:748 - Exception encountered during startup
org.apache.cassandra.exceptions.ConfigurationException: Invalid yaml. Please remove properties
[enable_scripted_user_defined_functions] from your cassandra.yaml
at org.apache.cassandra.config.YamlConfigurationLoader$MissingPropertiesChecker.check
(YamlConfigurationLoader.java:146) ~[main/:na]
at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:113)
~[main/:na]
at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:85) ~
[main/:na]
at org.apache.cassandra.config.DatabaseDescriptor.loadConfig(DatabaseDescriptor.java:151) ~[main/:
na]
at org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:133) ~[main/:na]
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:608) [main/:na]
at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:735) [main/:na]]
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_14513_permanent // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_14513_permanent'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fe08ff7feb0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fe08ffb0eb0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fe0918f44c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fe08cf03700>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_14513_permanent'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_alter_replication_factor // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_alter_replication_factor'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fe08ff7feb0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fe08ff82430>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fe0918f44c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fe08ff82850>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_alter_replication_factor'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_insert_during_range_movement_rf3 // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_insert_during_range_movement_rf3'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fe08ff7feb0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fe090072670>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fe0918f44c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fe0900726a0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_insert_during_range_movement_rf3'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests /
/ test_complementary_deletion_with_limit_on_static_column_with_empty_partitions_and_rows_after /
/ Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_complementary_deletion_with_limit_on_static_column_with_empty_partitions_and_rows_after'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fe08ff7feb0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fe090538220>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fe0918f44c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fe090538730>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_complementary_deletion_with_limit_on_static_column_with_empty_partitions_and_rows_after'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_optimized_primary_range_repair // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_optimized_primary_range_repair'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fe08ff7feb0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fe0905c4040>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fe0918f44c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fe0905c4310>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_optimized_primary_range_repair'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_14330 // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_14330'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f0428200940>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f04279add00>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f0429b76430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f0428200f70>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_14330'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_disk_balance_after_boundary_change_stcs // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_disk_balance_after_boundary_change_stcs'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f0428200940>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f04283b8850>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f0429b76430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f04283b8a00>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_disk_balance_after_boundary_change_stcs'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests /
/ test_complementary_deletion_with_limit_on_static_column_with_not_empty_partitions // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_complementary_deletion_with_limit_on_static_column_with_not_empty_partitions'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f0428200940>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f0427811430>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f0429b76430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f0427811e20>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_complementary_deletion_with_limit_on_static_column_with_not_empty_partitions'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_expiration_with_default_ttl_and_zero_ttl // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_expiration_with_default_ttl_and_zero_ttl'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f0428200940>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f0428f054c0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f0429b76430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f0428214760>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_expiration_with_default_ttl_and_zero_ttl'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_optimized_primary_range_repair_with_lcs // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_optimized_primary_range_repair_with_lcs'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f0428200940>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f04283e2220>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f0429b76430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f04283e7e80>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_optimized_primary_range_repair_with_lcs'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_13911 // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_13911'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f6eccff1df0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f6ecd0887f0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f6ece98b670>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f6eccfe8cd0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_13911'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_disk_balance_after_boundary_change_lcs // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_disk_balance_after_boundary_change_lcs'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f6eccff1df0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f6ecc7606d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f6ece98b670>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f6ecc760580>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_disk_balance_after_boundary_change_lcs'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_sstabledump // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_sstabledump'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f6eccff1df0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f6ecd163d30>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f6ece98b670>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f6ecd163be0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_sstabledump'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests /
/ test_complementary_deletion_with_limit_on_static_column_with_not_empty_partitions_and_rows_after /
/ Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_complementary_deletion_with_limit_on_static_column_with_not_empty_partitions_and_rows_after'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f6eccff1df0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f6ecc74b820>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f6ece98b670>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f6ecc559670>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_complementary_deletion_with_limit_on_static_column_with_not_empty_partitions_and_rows_after'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_transient_incremental_repair // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_transient_incremental_repair'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f6eccff1df0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f6ecd1adfd0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f6ece98b670>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f6ecd1ad9d0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_transient_incremental_repair'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_mutation_v5 // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_mutation_v5'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f6eccff1df0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f6ecd64f2e0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f6ece98b670>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f6ecd64f850>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_mutation_v5'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_auth_metrics // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_auth_metrics'>>
dtest_config = <dtest_config.DTestConfig object at 0x7ff003f20d90>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7ff003f20d30>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7ff00593e670>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7ff003f208e0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_auth_metrics'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_logged_batch_gcgs_below_threshold_single_table // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_logged_batch_gcgs_below_threshold_single_table'>>
dtest_config = <dtest_config.DTestConfig object at 0x7ff003f20d90>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7ff0041188b0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7ff00593e670>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7ff0041180d0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_logged_batch_gcgs_below_threshold_single_table'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_13911_rows_srp // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_13911_rows_srp'>>
dtest_config = <dtest_config.DTestConfig object at 0x7ff003f20d90>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7ff003fc1490>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7ff00593e670>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7ff003fc7460>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_13911_rows_srp'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_disk_balance_after_joining_ring_stcs // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_disk_balance_after_joining_ring_stcs'>>
dtest_config = <dtest_config.DTestConfig object at 0x7ff003f20d90>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7ff003f22fa0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7ff00593e670>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7ff003f22f40>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_disk_balance_after_joining_ring_stcs'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_complementary_deletion_with_limit_on_regular_column // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_complementary_deletion_with_limit_on_regular_column'>>
dtest_config = <dtest_config.DTestConfig object at 0x7ff003f20d90>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7ff004609940>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7ff00593e670>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7ff004609040>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_complementary_deletion_with_limit_on_regular_column'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_full_repair_from_full_replica // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_full_repair_from_full_replica'>>
dtest_config = <dtest_config.DTestConfig object at 0x7ff003f20d90>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7ff003fd6e20>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7ff00593e670>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7ff004617100>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_full_repair_from_full_replica'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_logged_batch_gcgs_below_threshold_multi_table // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_logged_batch_gcgs_below_threshold_multi_table'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f29e6bdb760>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f29e6d6ac10>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f29e8589430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f29e6dc2ac0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_logged_batch_gcgs_below_threshold_multi_table'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_13911_partitions_srp // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_13911_partitions_srp'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f29e6bdb760>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f29e5241c70>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f29e8589430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f29e5241e20>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_13911_partitions_srp'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_disk_balance_after_joining_ring_lcs // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_disk_balance_after_joining_ring_lcs'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f29e6bdb760>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f29e4217550>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f29e8589430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f29e421d4c0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_disk_balance_after_joining_ring_lcs'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_allow_filtering // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_allow_filtering'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f29e6bdb760>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f29e7215220>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f29e8589430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f29e7215250>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_allow_filtering'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_complementary_deletion_with_limit_and_rows_after // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_complementary_deletion_with_limit_and_rows_after'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f29e6bdb760>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f29e8541460>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f29e8589430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f29e5362dc0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_complementary_deletion_with_limit_and_rows_after'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_ssl_enabled // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_ssl_enabled'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f29e6bdb760>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f29e6dd4580>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f29e8589430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f29e6dd9cd0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_ssl_enabled'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_full_repair_from_transient_replica // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_full_repair_from_transient_replica'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f29e6bdb760>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f29e7265580>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f29e8589430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f29e7265b20>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_full_repair_from_transient_replica'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_login_rejects_bad_pass // Failure
Failed: Expected ToolError but didn't get one

self = <cqlsh_tests.test_cqlsh.TestCqlLogin object at 0x7f29e71e8370>

def test_login_rejects_bad_pass(self):
create_ks(self.session, 'ks1', 1)
create_cf(self.session, 'ks1table')
self.session.execute("CREATE USER user1 WITH PASSWORD 'changeme';")

> cqlsh_stdout, cqlsh_stderr, _ = util.run_cqlsh_safe(self.node1,
'''
LOGIN user1 'badpass';
''',
cqlsh_options=['-u', 'cassandra', '-p', 'cassandra'])

cqlsh_tests/test_cqlsh.py:2465:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

node = <ccmlib.node.Node object at 0x7f29e6c05b50>
cmds = "\n LOGIN user1 'badpass';\n "
cqlsh_options = ['-u', 'cassandra', '-p', 'cassandra'], expect_error = True

def run_cqlsh_safe(node, cmds, cqlsh_options=None, expect_error=True):
"""
cqlsh behavior has changed to set an error code on exit. This wrapper
makes it easier to run cqlsh commands while expecting exceptions.
"""
try:
ret = node.run_cqlsh(cmds=cmds, cqlsh_options=cqlsh_options)
if expect_error:
> pytest.fail("Expected ToolError but didn't get one")
E Failed: Expected ToolError but didn't get one

cqlsh_tests/util.py:15: Failed
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_shadowed_range_tombstone_digest_sequential_repair // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_shadowed_range_tombstone_digest_sequential_repair'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f29e6bdb760>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f29e6dd60a0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f29e8589430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f29e6dd6ca0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_shadowed_range_tombstone_digest_sequential_repair'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_unlogged_batch_gcgs_below_threshold_should_not_print_warning // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_unlogged_batch_gcgs_below_threshold_should_not_print_warning'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f56c262bf70>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f56c27c17c0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f56c3fdb5e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f56c28107c0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_unlogged_batch_gcgs_below_threshold_should_not_print_warning'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_13880 // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_13880'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f56c262bf70>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f56c0cd26d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f56c3fdb5e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f56c0cd2760>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_13880'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_replay // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_replay'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f56c262bf70>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f56c037f940>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f56c3fdb5e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f56c037fca0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_replay'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_secondary_index // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_secondary_index'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f56c262bf70>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f56c0359910>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f56c3fdb5e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f56c0359d60>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_secondary_index'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_complementary_deletion_with_limit_and_rows_between // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_complementary_deletion_with_limit_and_rows_between'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f56c262bf70>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f56c2c66700>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f56c3fdb5e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f56c2cb0a90>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_complementary_deletion_with_limit_and_rows_between'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_ssl_correct_hostname_with_validation // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_ssl_correct_hostname_with_validation'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f56c262bf70>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f56c2c48d30>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f56c3fdb5e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f56c2cad9d0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_ssl_correct_hostname_with_validation'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_speculative_write_repair_cycle // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_speculative_write_repair_cycle'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f56c262bf70>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f56c27f3c40>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f56c3fdb5e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f56c27da820>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_speculative_write_repair_cycle'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_login_authenticates_correct_user // Failure
Failed: Expected ToolError but didn't get one

self = <cqlsh_tests.test_cqlsh.TestCqlLogin object at 0x7f56c2c72700>

def test_login_authenticates_correct_user(self):
create_ks(self.session, 'ks1', 1)
create_cf(self.session, 'ks1table')
self.session.execute("CREATE USER user1 WITH PASSWORD 'changeme';")

if self.cluster.version() >= LooseVersion('2.2'):
query = '''
LOGIN user1 'changeme';
CREATE USER user2 WITH PASSWORD 'fail' SUPERUSER;
'''
expected_error = "Only superusers can create a role with superuser status"
else:
query = '''
LOGIN user1 'changeme';
CREATE USER user2 WITH PASSWORD 'fail';
'''
expected_error = 'Only superusers are allowed to perform CREATE USER queries'

> cqlsh_stdout, cqlsh_stderr, _ = util.run_cqlsh_safe(self.node1,
query,
cqlsh_options=['-u', 'cassandra', '-p', 'cassandra'])

cqlsh_tests/test_cqlsh.py:2491:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

node = <ccmlib.node.Node object at 0x7f56c0d3b2b0>
cmds = "\n LOGIN user1 'changeme';\n CREATE USER user2 WITH PASSWORD 'fail' SUPERUSER;\n "
cqlsh_options = ['-u', 'cassandra', '-p', 'cassandra'], expect_error = True

def run_cqlsh_safe(node, cmds, cqlsh_options=None, expect_error=True):
"""
cqlsh behavior has changed to set an error code on exit. This wrapper
makes it easier to run cqlsh commands while expecting exceptions.
"""
try:
ret = node.run_cqlsh(cmds=cmds, cqlsh_options=cqlsh_options)
if expect_error:
> pytest.fail("Expected ToolError but didn't get one")
E Failed: Expected ToolError but didn't get one

cqlsh_tests/util.py:15: Failed
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_shadowed_range_tombstone_digest_parallel_repair // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_shadowed_range_tombstone_digest_parallel_repair'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f56c262bf70>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7f56c2649340>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7f56c3fdb5e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f56c2781100>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_shadowed_range_tombstone_digest_parallel_repair'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and request and
request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
----------------------------------------------------------------------------------------------------
Cassandra dtests // test_13747 // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_13747'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fd452307e80>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at 0x7fd4500ef340>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at 0x7fd453cb35e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details). Errors: [
{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
#