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/16 18:23:10 UTC

Build complete: Cassandra-3.11 #6 [UNSTABLE] cbb7644062c70b785634e155d3f5d8bbaaab55ab

-------------------------------------------------------------------------------
Build Cassandra-3.11 #6 Still Unstable
URL: https://ci-cassandra.apache.org/job/Cassandra-3.11/6/
-------------------------------------------------------------------------------
Changes:
[Benjamin Lerer] Use IF NOT EXISTS for index and UDT create statements in snapshot schema


-------------------------------------------------------------------------------
Failed Tests:
27 tests failed.
FAILED:  pytest.internal
FAILED:  dtest-offheap.counter_test.TestCounters.test_13691
FAILED:  dtest.auth_test.TestAuth.test_grant_revoke_cleanup
FAILED:  org.apache.cassandra.distributed.test.SimpleReadWriteTest.coordinatorReadTest
FAILED:  org.apache.cassandra.index.sasi.SASIIndexTest.testIndexMemtableSwitching-cdc
FAILED:  org.apache.cassandra.gms.GossiperTest.testLargeGenerationJump
FAILED:  org.apache.cassandra.index.sasi.SASIIndexTest.testIndexMemtableSwitching-compression
FAILED:  org.apache.cassandra.index.sasi.SASIIndexTest.testIndexMemtableSwitching
FAILED:  dtest-novnode.materialized_views_test.TestMaterializedViews.test_view_metadata_cleanup
FAILED:  dtest-offheap.materialized_views_test.TestMaterializedViews.test_view_metadata_cleanup
FAILED:  cqlshlib.python2.jdk8.no_cython.test.test_cqlsh_output.TestCqlshOutput.test_boolean_output
FAILED:  cqlshlib.python2.jdk8.no_cython.test.test_cqlsh_output.TestCqlshOutput.test_columnless_key_output
FAILED:  cqlshlib.python2.jdk8.no_cython.test.test_cqlsh_output.TestCqlshOutput.test_count_output
FAILED:  cqlshlib.python2.jdk8.no_cython.test.test_cqlsh_output.TestCqlshOutput.test_null_output
FAILED:  cqlshlib.python2.jdk8.no_cython.test.test_cqlsh_output.TestCqlshOutput.test_numeric_output
FAILED:  cqlshlib.python2.jdk8.no_cython.test.test_cqlsh_output.TestCqlshOutput.test_static_cf_output
FAILED:  cqlshlib.python2.jdk8.no_cython.test.test_cqlsh_output.TestCqlshOutput.test_string_output_ascii
FAILED:  cqlshlib.python2.jdk8.cython.test.test_cqlsh_output.TestCqlshOutput.test_boolean_output
FAILED:  cqlshlib.python2.jdk8.cython.test.test_cqlsh_output.TestCqlshOutput.test_columnless_key_output
FAILED:  cqlshlib.python2.jdk8.cython.test.test_cqlsh_output.TestCqlshOutput.test_count_output
FAILED:  cqlshlib.python2.jdk8.cython.test.test_cqlsh_output.TestCqlshOutput.test_null_output
FAILED:  cqlshlib.python2.jdk8.cython.test.test_cqlsh_output.TestCqlshOutput.test_numeric_output
FAILED:  cqlshlib.python2.jdk8.cython.test.test_cqlsh_output.TestCqlshOutput.test_static_cf_output
FAILED:  cqlshlib.python2.jdk8.cython.test.test_cqlsh_output.TestCqlshOutput.test_string_output_ascii
FAILED:  dtest-large.snitch_test.TestDynamicEndpointSnitch.test_multidatacenter_local_quorum
FAILED:  org.apache.cassandra.concurrent.LongSharedExecutorPoolTest.testPromptnessOfExecution
FAILED:  org.apache.cassandra.utils.memory.LongBufferPoolTest.testAllocate

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

Tests Failures Errors Skipped Success rate Time
14463 23       272    62      97.96%       153850.488

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

Name                                               Tests Errors Failures Skipped Time(s)
                                                   3537  269    5        0       139141.094
cqlshlib.python2.jdk8                              204   0      14       0       0.000
org.apache.cassandra.auth                          57    0      0        0       20.326
org.apache.cassandra.auth.jmx                      69    0      0        0       15.674
org.apache.cassandra.batchlog                      45    0      0        0       28.520
org.apache.cassandra.cache                         12    0      0        0       20.659
org.apache.cassandra.concurrent                    17    0      1        0       390.803
org.apache.cassandra.config                        54    0      0        0       21.133
org.apache.cassandra.cql.jdbc                      3     0      0        0       0.191
org.apache.cassandra.cql3                          701   0      0        27      2419.799
org.apache.cassandra.cql3.functions                60    0      0        0       24.569
org.apache.cassandra.cql3.restrictions             69    0      0        0       2.931
org.apache.cassandra.cql3.selection                27    0      0        0       42.490
org.apache.cassandra.cql3.statements               6     0      0        0       0.761
org.apache.cassandra.cql3.validation               63    0      0        0       76.553
org.apache.cassandra.cql3.validation.entities      1113  0      0        3       1344.169
org.apache.cassandra.cql3.validation.miscellaneous 168   0      0        0       184.697
org.apache.cassandra.cql3.validation.operations    1308  0      0        0       1404.026
org.apache.cassandra.db                            1056  0      0        2       631.722
org.apache.cassandra.db.aggregation                18    0      0        0       2.343
org.apache.cassandra.db.columniterator             3     0      0        0       8.990
org.apache.cassandra.db.commitlog                  622   0      0        4       720.073
org.apache.cassandra.db.compaction                 331   0      0        3       1102.553
org.apache.cassandra.db.composites                 9     0      0        0       1.440
org.apache.cassandra.db.context                    24    0      0        0       4.795
org.apache.cassandra.db.filter                     15    0      0        0       6.396
org.apache.cassandra.db.lifecycle                  204   0      0        0       71.952
org.apache.cassandra.db.marshal                    357   0      0        0       77.030
org.apache.cassandra.db.monitoring                 45    0      0        0       18.316
org.apache.cassandra.db.partition                  36    0      0        0       148.970
org.apache.cassandra.db.partitions                 24    0      0        0       1.771
org.apache.cassandra.db.rows                       147   0      0        0       105.158
org.apache.cassandra.db.transform                  66    0      0        0       22.552
org.apache.cassandra.db.view                       9     0      0        0       3.897
org.apache.cassandra.dht                           228   0      0        0       145.927
org.apache.cassandra.dht.tokenallocator            9     0      0        1       214.401
org.apache.cassandra.distributed.test              42    1      0        1       420.727
org.apache.cassandra.distributed.upgrade           13    0      0        0       445.066
org.apache.cassandra.gms                           45    1      0        0       61.842
org.apache.cassandra.hadoop                        3     0      0        0       0.932
org.apache.cassandra.hints                         100   0      0        0       682.123
org.apache.cassandra.index                         87    0      0        0       101.491
org.apache.cassandra.index.internal                87    0      0        0       114.558
org.apache.cassandra.index.sasi                    123   0      3        0       142.607
org.apache.cassandra.index.sasi.analyzer           75    0      0        0       3.890
org.apache.cassandra.index.sasi.conf               42    0      0        0       2.723
org.apache.cassandra.index.sasi.disk               84    0      0        0       108.567
org.apache.cassandra.index.sasi.plan               18    0      0        0       14.443
org.apache.cassandra.index.sasi.utils              156   0      0        0       11.217
org.apache.cassandra.io                            15    0      0        0       58.641
org.apache.cassandra.io.compress                   78    0      0        0       46.861
org.apache.cassandra.io.sstable                    379   0      0        6       708.476
org.apache.cassandra.io.sstable.format             6     0      0        0       8.804
org.apache.cassandra.io.sstable.metadata           15    0      0        0       3.253
org.apache.cassandra.io.util                       405   0      0        0       132.836
org.apache.cassandra.locator                       118   0      0        0       222.411
org.apache.cassandra.metrics                       54    0      0        0       51.405
org.apache.cassandra.net                           81    0      0        0       28.436
org.apache.cassandra.repair                        27    0      0        0       67.945
org.apache.cassandra.repair.messages               39    0      0        0       5.179
org.apache.cassandra.schema                        81    0      0        3       55.505
org.apache.cassandra.security                      42    0      0        0       7.664
org.apache.cassandra.serializers                   78    0      0        0       1.522
org.apache.cassandra.service                       318   0      0        3       322.528
org.apache.cassandra.service.pager                 21    0      0        0       3.189
org.apache.cassandra.streaming                     25    0      0        0       145.272
org.apache.cassandra.streaming.compression         9     0      0        0       3.038
org.apache.cassandra.stress.generate               4     0      0        0       0.092
org.apache.cassandra.stress.settings               8     0      0        0       0.827
org.apache.cassandra.stress.util                   5     0      0        0       0.077
org.apache.cassandra.tools                         81    0      0        0       114.106
org.apache.cassandra.tools.nodetool.formatter      18    0      0        0       0.231
org.apache.cassandra.tracing                       18    0      0        0       2.734
org.apache.cassandra.transport                     96    0      0        0       146.089
org.apache.cassandra.triggers                      75    0      0        0       34.738
org.apache.cassandra.utils                         532   0      0        6       1092.844
org.apache.cassandra.utils.btree                   66    0      0        0       1.527
org.apache.cassandra.utils.concurrent              51    0      0        3       20.605
org.apache.cassandra.utils.memory                  103   1      0        0       25.627
org.apache.cassandra.utils.progress.jmx            15    0      0        0       0.871
org.apache.cassandra.utils.vint                    9     0      0        0       0.288

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

Name             Tests Errors Failures Skipped Time(s)
Cassandra dtests 4     0      0                372.690
Cassandra dtests 2     0      0                204.199
Cassandra dtests 2     0      0                313.972
Cassandra dtests 7     1      0                896.023
Cassandra dtests 5     0      0                775.731
Cassandra dtests 7     0      1                861.750
Cassandra dtests 5     0      0                864.905
Cassandra dtests 4     0      0                645.177
Cassandra dtests 21    3      0                529.645
Cassandra dtests 19    2      0                891.266
Cassandra dtests 21    3      0                802.170
Cassandra dtests 19    1      0                947.365
Cassandra dtests 19    1      0                654.698
Cassandra dtests 19    1      0                761.197
Cassandra dtests 19    1      0                1017.256
Cassandra dtests 20    2      0                1108.900
Cassandra dtests 18    1      0                598.243
Cassandra dtests 18    2      0                637.724
Cassandra dtests 18    1      0                726.889
Cassandra dtests 20    2      0                483.659
Cassandra dtests 17    1      0                373.781
Cassandra dtests 19    2      1                565.271
Cassandra dtests 19    2      0                582.581
Cassandra dtests 21    3      0                634.983
Cassandra dtests 22    4      0                365.098
Cassandra dtests 20    2      0                758.165
Cassandra dtests 20    2      0                769.735
Cassandra dtests 20    3      0                747.627
Cassandra dtests 20    3      0                649.307
Cassandra dtests 17    2      0                359.193
Cassandra dtests 21    3      0                437.637
Cassandra dtests 17    1      0                717.132
Cassandra dtests 19    2      0                614.259
Cassandra dtests 18    1      0                595.476
Cassandra dtests 20    3      0                358.914
Cassandra dtests 21    4      0                563.808
Cassandra dtests 19    3      0                428.102
Cassandra dtests 20    3      0                916.743
Cassandra dtests 17    1      0                1099.844
Cassandra dtests 21    4      0                859.027
Cassandra dtests 20    2      0                945.107
Cassandra dtests 20    2      0                457.918
Cassandra dtests 18    1      0                669.853
Cassandra dtests 18    1      0                1074.167
Cassandra dtests 20    3      0                1004.430
Cassandra dtests 18    2      0                1005.862
Cassandra dtests 20    2      0                1048.955
Cassandra dtests 20    2      0                556.899
Cassandra dtests 20    2      0                893.413
Cassandra dtests 20    2      0                1157.113
Cassandra dtests 19    1      0                1624.987
Cassandra dtests 19    1      0                936.290
Cassandra dtests 20    2      0                498.881
Cassandra dtests 19    1      0                779.534
Cassandra dtests 20    2      0                638.359
Cassandra dtests 20    2      0                773.641
Cassandra dtests 19    1      0                588.344
Cassandra dtests 17    2      0                727.968
Cassandra dtests 19    1      0                1064.180
Cassandra dtests 18    0      0                836.912
Cassandra dtests 19    1      0                498.474
Cassandra dtests 18    0      0                1087.163
Cassandra dtests 18    0      0                669.768
Cassandra dtests 20    2      0                604.121
Cassandra dtests 18    0      0                832.234
Cassandra dtests 18    0      0                757.314
Cassandra dtests 18    0      0                740.303
Cassandra dtests 17    0      0                561.952
Cassandra dtests 19    2      0                423.574
Cassandra dtests 20    2      0                740.643
Cassandra dtests 20    3      0                442.801
Cassandra dtests 20    3      0                525.123
Cassandra dtests 20    2      0                922.404
Cassandra dtests 18    1      0                646.109
Cassandra dtests 18    1      0                647.307
Cassandra dtests 19    2      0                624.835
Cassandra dtests 19    2      0                717.966
Cassandra dtests 16    0      0                673.798
Cassandra dtests 16    1      0                497.686
Cassandra dtests 15    0      1                523.294
Cassandra dtests 18    1      0                638.137
Cassandra dtests 18    1      0                760.496
Cassandra dtests 18    1      0                415.886
Cassandra dtests 21    3      0                892.111
Cassandra dtests 19    2      0                359.557
Cassandra dtests 18    0      0                562.798
Cassandra dtests 18    1      0                779.671
Cassandra dtests 18    1      0                621.688
Cassandra dtests 19    2      0                670.054
Cassandra dtests 18    2      0                483.762
Cassandra dtests 17    1      0                612.700
Cassandra dtests 17    1      0                589.355
Cassandra dtests 17    1      0                547.062
Cassandra dtests 16    1      0                390.877
Cassandra dtests 17    2      0                591.095
Cassandra dtests 16    1      0                664.769
Cassandra dtests 16    1      0                518.423
Cassandra dtests 15    0      0                631.155
Cassandra dtests 18    2      0                875.652
Cassandra dtests 18    2      0                641.860
Cassandra dtests 19    2      0                672.399
Cassandra dtests 18    2      0                636.734
Cassandra dtests 19    3      0                919.402
Cassandra dtests 19    3      0                752.542
Cassandra dtests 19    2      0                675.778
Cassandra dtests 16    1      0                365.832
Cassandra dtests 18    1      0                797.702
Cassandra dtests 18    1      0                502.225
Cassandra dtests 18    1      0                625.789
Cassandra dtests 18    1      0                503.977
Cassandra dtests 17    0      0                986.802
Cassandra dtests 17    0      0                749.068
Cassandra dtests 17    0      0                641.311
Cassandra dtests 17    0      0                878.620
Cassandra dtests 18    1      0                723.882
Cassandra dtests 18    1      0                547.364
Cassandra dtests 16    1      0                390.978
Cassandra dtests 18    1      0                628.794
Cassandra dtests 17    0      1                636.198
Cassandra dtests 18    1      0                853.969
Cassandra dtests 18    1      0                679.801
Cassandra dtests 18    1      0                688.618
Cassandra dtests 18    1      0                741.489
Cassandra dtests 19    2      0                917.698
Cassandra dtests 19    2      0                1161.815
Cassandra dtests 19    2      0                952.788
Cassandra dtests 20    3      0                813.746
Cassandra dtests 17    1      0                572.024
Cassandra dtests 18    1      0                1058.314
Cassandra dtests 20    3      0                665.748
Cassandra dtests 18    1      0                1006.417
Cassandra dtests 18    1      0                774.537
Cassandra dtests 18    1      0                929.670
Cassandra dtests 16    0      0                481.166
Cassandra dtests 16    0      0                778.441
Cassandra dtests 16    0      0                347.219
Cassandra dtests 20    2      0                992.588
Cassandra dtests 17    0      0                791.878
Cassandra dtests 19    2      0                516.209
Cassandra dtests 19    2      0                529.275
Cassandra dtests 19    2      0                789.986
Cassandra dtests 16    0      0                662.276
Cassandra dtests 15    0      0                591.446
Cassandra dtests 16    1      0                367.795
Cassandra dtests 17    0      0                751.774
Cassandra dtests 19    2      0                710.604
Cassandra dtests 18    1      0                504.909
Cassandra dtests 20    2      0                973.183
Cassandra dtests 18    1      0                395.751
Cassandra dtests 19    1      0                425.130
Cassandra dtests 17    0      0                781.645
Cassandra dtests 18    1      0                566.079
Cassandra dtests 19    2      0                674.169
Cassandra dtests 17    1      0                460.413
Cassandra dtests 19    3      0                580.310
Cassandra dtests 17    1      0                617.254
Cassandra dtests 17    1      0                573.587
Cassandra dtests 17    1      0                640.938
Cassandra dtests 19    2      0                799.923
Cassandra dtests 15    1      0                468.971
Cassandra dtests 16    1      0                820.400
Cassandra dtests 16    0      0                621.252
Cassandra dtests 16    1      0                855.484
Cassandra dtests 18    2      0                660.574
Cassandra dtests 19    2      0                711.886
Cassandra dtests 18    2      0                537.977
Cassandra dtests 18    2      0                1015.048
Cassandra dtests 20    4      1                903.015
Cassandra dtests 19    2      0                709.156
Cassandra dtests 16    2      0                353.251
Cassandra dtests 19    2      0                732.175
Cassandra dtests 18    1      0                455.917
Cassandra dtests 18    1      0                574.276
Cassandra dtests 18    1      0                639.836
Cassandra dtests 17    0      0                946.015
Cassandra dtests 17    0      0                742.924
Cassandra dtests 17    0      0                580.212
Cassandra dtests 17    0      0                742.919
Cassandra dtests 18    1      0                616.250
Cassandra dtests 18    1      0                645.973
Cassandra dtests 16    1      0                369.789
Cassandra dtests 18    1      0                641.970
Cassandra dtests 17    0      0                804.973
Cassandra dtests 17    0      0                749.021
Cassandra dtests 18    1      0                734.460
Cassandra dtests 19    2      0                588.170
Cassandra dtests 18    1      0                658.572
Cassandra dtests 18    1      0                585.453
Cassandra dtests 19    2      0                995.272
Cassandra dtests 19    2      0                1050.835
Cassandra dtests 20    3      0                1274.092
Cassandra dtests 17    1      0                580.666
Cassandra dtests 19    2      0                767.180
Cassandra dtests 18    1      0                972.860
Cassandra dtests 20    3      0                645.991
Cassandra dtests 18    1      0                992.818
Cassandra dtests 18    1      0                685.335
Cassandra dtests 16    0      0                654.874
Cassandra dtests 16    0      0                619.181
Cassandra dtests 16    0      0                523.160

-------------------------------------------------------------------------------
cqlshlib.python2.jdk8

Name      Tests Errors Failures Skipped Time(s)
no_cython 102   0      7                NaN
cython    102   0      7                NaN

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

Name                                  Tests Errors Failures Skipped Time(s)
AuthCacheTest-cdc                     8     0      0        0       0.407
PasswordAuthenticatorTest-cdc         7     0      0        0       4.895
RoleOptionsTest-cdc                   4     0      0        0       0.454
AuthCacheTest-compression             8     0      0        0       0.372
PasswordAuthenticatorTest-compression 7     0      0        0       6.206
RoleOptionsTest-compression           4     0      0        0       0.406
AuthCacheTest                         8     0      0        0       0.371
PasswordAuthenticatorTest             7     0      0        0       6.822
RoleOptionsTest                       4     0      0        0       0.393

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

Name                               Tests Errors Failures Skipped Time(s)
AuthorizationProxyTest-cdc         20    0      0        0       0.851
JMXAuthTest-cdc                    3     0      0        0       3.896
AuthorizationProxyTest-compression 20    0      0        0       0.781
JMXAuthTest-compression            3     0      0        0       4.491
AuthorizationProxyTest             20    0      0        0       0.792
JMXAuthTest                        3     0      0        0       4.863

-------------------------------------------------------------------------------
org.apache.cassandra.batchlog

Name                                   Tests Errors Failures Skipped Time(s)
BatchTest-cdc                          2     0      0        0       2.758
BatchlogEndpointFilterTest-cdc         5     0      0        0       0.127
BatchlogManagerTest-cdc                8     0      0        0       7.073
BatchTest-compression                  2     0      0        0       2.695
BatchlogEndpointFilterTest-compression 5     0      0        0       0.112
BatchlogManagerTest-compression        8     0      0        0       6.311
BatchTest                              2     0      0        0       2.695
BatchlogEndpointFilterTest             5     0      0        0       0.111
BatchlogManagerTest                    8     0      0        0       6.638

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

Name                            Tests Errors Failures Skipped Time(s)
AutoSavingCacheTest-cdc         2     0      0        0       3.082
CacheProviderTest-cdc           2     0      0        0       4.159
AutoSavingCacheTest-compression 2     0      0        0       2.928
CacheProviderTest-compression   2     0      0        0       3.515
AutoSavingCacheTest             2     0      0        0       3.101
CacheProviderTest               2     0      0        0       3.874

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

Name                                       Tests Errors Failures Skipped Time(s)
LongOpOrderTest                            1     0      0        0       330.781
LongSharedExecutorPoolTest                 1     0      1        0       0.694
DebuggableScheduledThreadPoolExecutorTest- 1     0      0        0       14.766
cdc
DebuggableThreadPoolExecutorTest-cdc       1     0      0        0       1.308
SEPExecutorTest-cdc                        1     0      0        0       3.645
WaitQueueTest-cdc                          2     0      0        0       0.276
DebuggableScheduledThreadPoolExecutorTest- 1     0      0        0       14.731
compression
DebuggableThreadPoolExecutorTest-          1     0      0        0       1.225
compression
SEPExecutorTest-compression                1     0      0        0       3.113
WaitQueueTest-compression                  2     0      0        0       0.243
DebuggableScheduledThreadPoolExecutorTest  1     0      0        0       14.948
DebuggableThreadPoolExecutorTest           1     0      0        0       1.214
SEPExecutorTest                            1     0      0        0       3.564
WaitQueueTest                              2     0      0        0       0.295

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

Name                                  Tests Errors Failures Skipped Time(s)
CFMetaDataTest-cdc                    6     0      0        0       2.734
ColumnDefinitionTest-cdc              1     0      0        0       0.922
DatabaseDescriptorRefTest-cdc         1     0      0        0       1.399
DatabaseDescriptorTest-cdc            10    0      0        0       2.244
CFMetaDataTest-compression            6     0      0        0       2.579
ColumnDefinitionTest-compression      1     0      0        0       0.867
DatabaseDescriptorRefTest-compression 1     0      0        0       1.266
DatabaseDescriptorTest-compression    10    0      0        0       2.129
CFMetaDataTest                        6     0      0        0       2.674
ColumnDefinitionTest                  1     0      0        0       0.834
DatabaseDescriptorRefTest             1     0      0        0       1.319
DatabaseDescriptorTest                10    0      0        0       2.166

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

Name                        Tests Errors Failures Skipped Time(s)
JdbcDecimalTest-cdc         1     0      0        0       0.068
JdbcDecimalTest-compression 1     0      0        0       0.059
JdbcDecimalTest             1     0      0        0       0.064

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

Name                                    Tests Errors Failures Skipped Time(s)
CorruptionTest                          1     0      0        0       127.584
ManyRowsTest                            2     0      0        0       5.930
ViewLongTest                            5     0      0        0       103.834
CDCStatementTest-cdc                    3     0      0        0       3.800
CQL3TypeLiteralTest-cdc                 6     0      0        0       0.957
ColumnConditionTest-cdc                 4     0      0        0       1.251
ColumnIdentifierTest-cdc                4     0      0        0       0.447
CqlParserTest-cdc                       3     0      0        0       0.401
DeleteTest-cdc                          1     0      0        0       18.735
DistinctQueryPagingTest-cdc             5     0      0        0       11.766
DurationTest-cdc                        4     0      0        0       0.080
EmptyValuesTest-cdc                     14    0      0        5       38.927
ErrorCollectorTest-cdc                  6     0      0        0       0.072
GcCompactionTest-cdc                    8     0      0        0       9.469
IndexQueryPagingTest-cdc                5     0      0        0       11.242
KeyCacheCqlTest-cdc                     10    0      0        0       20.366
LargeCompactValueTest-cdc               1     0      0        0       3.052
ListsTest-cdc                           6     0      0        0       4.574
NonNativeTimestampTest-cdc              1     0      0        0       3.061
OutOfSpaceTest-cdc                      3     0      0        0       3.782
PagingQueryTest-cdc                     1     0      0        0       18.719
PagingTest-cdc                          1     0      0        0       11.352
PreparedStatementsTest-cdc              3     0      0        0       21.941
PstmtPersistenceTest-cdc                2     0      0        0       10.715
QueryWithIndexedSSTableTest-cdc         1     0      0        0       3.709
ReservedKeywordsTest-cdc                1     0      0        0       0.527
SerializationMirrorTest-cdc             1     0      0        0       3.111
SimpleQueryTest-cdc                     20    0      0        0       9.422
ThriftCompatibilityTest-cdc             2     0      0        0       3.203
TombstonesWithIndexedSSTableTest-cdc    2     0      0        0       4.819
TraceCqlTest-cdc                        1     0      0        0       9.340
UDHelperTest-cdc                        3     0      0        0       0.403
ViewComplexTest-cdc                     32    0      0        1       143.273
ViewFilteringTest-cdc                   25    0      0        3       124.029
ViewSchemaTest-cdc                      7     0      0        0       52.816
ViewTest-cdc                            45    0      0        0       87.600
CDCStatementTest-compression            3     0      0        0       4.445
CQL3TypeLiteralTest-compression         6     0      0        0       0.792
ColumnConditionTest-compression         4     0      0        0       1.209
ColumnIdentifierTest-compression        4     0      0        0       0.419
CqlParserTest-compression               3     0      0        0       0.377
DeleteTest-compression                  1     0      0        0       18.007
DistinctQueryPagingTest-compression     5     0      0        0       13.517
DurationTest-compression                4     0      0        0       0.068
EmptyValuesTest-compression             14    0      0        5       40.492
ErrorCollectorTest-compression          6     0      0        0       0.064
GcCompactionTest-compression            8     0      0        0       11.765
IndexQueryPagingTest-compression        5     0      0        0       13.337
KeyCacheCqlTest-compression             10    0      0        0       23.594
LargeCompactValueTest-compression       1     0      0        0       3.156
ListsTest-compression                   6     0      0        0       5.535
NonNativeTimestampTest-compression      1     0      0        0       3.183
OutOfSpaceTest-compression              3     0      0        0       4.433
PagingQueryTest-compression             1     0      0        0       16.101
PagingTest-compression                  1     0      0        0       11.560
PreparedStatementsTest-compression      3     0      0        0       23.014
PstmtPersistenceTest-compression        2     0      0        0       11.415
QueryWithIndexedSSTableTest-compression 1     0      0        0       3.679
ReservedKeywordsTest-compression        1     0      0        0       0.478
SerializationMirrorTest-compression     1     0      0        0       3.089
SimpleQueryTest-compression             20    0      0        0       17.315
ThriftCompatibilityTest-compression     2     0      0        0       3.092
TombstonesWithIndexedSSTableTest-       2     0      0        0       5.436
compression
TraceCqlTest-compression                1     0      0        0       9.595
UDHelperTest-compression                3     0      0        0       0.337
ViewComplexTest-compression             32    0      0        1       167.786
ViewFilteringTest-compression           25    0      0        3       155.133
ViewSchemaTest-compression              7     0      0        0       62.059
ViewTest-compression                    45    0      0        0       115.477
CDCStatementTest                        3     0      0        0       4.868
CQL3TypeLiteralTest                     6     0      0        0       0.893
ColumnConditionTest                     4     0      0        0       1.167
ColumnIdentifierTest                    4     0      0        0       0.428
CqlParserTest                           3     0      0        0       0.369
DeleteTest                              1     0      0        0       19.255
DistinctQueryPagingTest                 5     0      0        0       14.698
DurationTest                            4     0      0        0       0.064
EmptyValuesTest                         14    0      0        5       43.685
ErrorCollectorTest                      6     0      0        0       0.064
GcCompactionTest                        8     0      0        0       12.879
IndexQueryPagingTest                    5     0      0        0       14.400
KeyCacheCqlTest                         10    0      0        0       25.718
LargeCompactValueTest                   1     0      0        0       3.228
ListsTest                               6     0      0        0       5.993
NonNativeTimestampTest                  1     0      0        0       3.354
OutOfSpaceTest                          3     0      0        0       4.781
PagingQueryTest                         1     0      0        0       19.607
PagingTest                              1     0      0        0       12.018
PreparedStatementsTest                  3     0      0        0       23.991
PstmtPersistenceTest                    2     0      0        0       12.053
QueryWithIndexedSSTableTest             1     0      0        0       3.918
ReservedKeywordsTest                    1     0      0        0       0.456
SerializationMirrorTest                 1     0      0        0       3.351
SimpleQueryTest                         20    0      0        0       19.193
ThriftCompatibilityTest                 2     0      0        0       3.348
TombstonesWithIndexedSSTableTest        2     0      0        0       5.983
TraceCqlTest                            1     0      0        0       10.165
UDHelperTest                            3     0      0        0       0.336
ViewComplexTest                         32    0      0        1       174.220
ViewFilteringTest                       25    0      0        3       164.767
ViewSchemaTest                          7     0      0        0       64.802
ViewTest                                45    0      0        0       121.479

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

Name                     Tests Errors Failures Skipped Time(s)
CastFctsTest-cdc         7     0      0        0       5.935
TimeFctsTest-cdc         13    0      0        0       0.558
CastFctsTest-compression 7     0      0        0       8.127
TimeFctsTest-compression 13    0      0        0       0.540
CastFctsTest             7     0      0        0       8.857
TimeFctsTest             13    0      0        0       0.552

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

Name                                 Tests Errors Failures Skipped Time(s)
ClusteringColumnRestrictionsTest-cdc 23    0      0        0       0.993
ClusteringColumnRestrictionsTest-    23    0      0        0       0.946
compression
ClusteringColumnRestrictionsTest     23    0      0        0       0.992

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

Name                                   Tests Errors Failures Skipped Time(s)
SelectionColumnMappingTest-cdc         2     0      0        0       4.923
TermSelectionTest-cdc                  7     0      0        0       6.607
SelectionColumnMappingTest-compression 2     0      0        0       5.384
TermSelectionTest-compression          7     0      0        0       9.333
SelectionColumnMappingTest             2     0      0        0       5.999
TermSelectionTest                      7     0      0        0       10.244

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

Name                                Tests Errors Failures Skipped Time(s)
PropertyDefinitionsTest-cdc         2     0      0        0       0.267
PropertyDefinitionsTest-compression 2     0      0        0       0.240
PropertyDefinitionsTest             2     0      0        0       0.254

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

Name                                 Tests Errors Failures Skipped Time(s)
ThriftIllegalColumnsTest-cdc         2     0      0        0       4.072
ThriftIntegrationTest-cdc            19    0      0        0       13.172
ThriftIllegalColumnsTest-compression 2     0      0        0       4.529
ThriftIntegrationTest-compression    19    0      0        0       23.511
ThriftIllegalColumnsTest             2     0      0        0       4.980
ThriftIntegrationTest                19    0      0        0       26.289

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

Name                                 Tests Errors Failures Skipped Time(s)
CollectionsTest-cdc                  37    0      0        0       15.117
CountersTest-cdc                     8     0      0        0       5.699
DateTypeTest-cdc                     1     0      0        0       3.093
FrozenCollectionsTest-cdc            34    0      0        0       15.590
JsonTest-cdc                         22    0      0        0       19.599
SecondaryIndexOnMapEntriesTest-cdc   11    0      0        0       7.403
SecondaryIndexOnStaticColumnTest-cdc 6     0      0        0       6.587
SecondaryIndexTest-cdc               52    0      0        0       34.803
StaticColumnsTest-cdc                7     0      0        0       7.449
TimestampTest-cdc                    6     0      0        0       5.257
TimeuuidTest-cdc                     2     0      0        0       3.526
TupleTypeTest-cdc                    11    0      0        0       6.543
TypeTest-cdc                         4     0      0        0       3.990
UFAuthTest-cdc                       26    0      0        0       14.135
UFIdentificationTest-cdc             14    0      0        1       16.274
UFJavaTest-cdc                       18    0      0        0       22.417
UFPureScriptTest-cdc                 10    0      0        0       14.995
UFPureScriptTupleCollectionTest-cdc  1     0      0        0       9.884
UFScriptTest-cdc                     12    0      0        0       15.291
UFSecurityTest-cdc                   2     0      0        0       5.974
UFTest-cdc                           29    0      0        0       20.129
UFTypesTest-cdc                      7     0      0        0       16.069
UFVerifierTest-cdc                   21    0      0        0       6.974
UserTypesTest-cdc                    30    0      0        0       18.698
CollectionsTest-compression          37    0      0        0       29.023
CountersTest-compression             8     0      0        0       8.276
DateTypeTest-compression             1     0      0        0       3.109
FrozenCollectionsTest-compression    34    0      0        0       30.423
JsonTest-compression                 22    0      0        0       27.425
SecondaryIndexOnMapEntriesTest-      11    0      0        0       11.847
compression
SecondaryIndexOnStaticColumnTest-    6     0      0        0       9.832
compression
SecondaryIndexTest-compression       52    0      0        0       68.779
StaticColumnsTest-compression        7     0      0        0       10.362
TimestampTest-compression            6     0      0        0       6.976
TimeuuidTest-compression             2     0      0        0       3.857
TupleTypeTest-compression            11    0      0        0       10.596
TypeTest-compression                 4     0      0        0       5.104
UFAuthTest-compression               26    0      0        0       26.624
UFIdentificationTest-compression     14    0      0        1       27.435
UFJavaTest-compression               18    0      0        0       31.565
UFPureScriptTest-compression         10    0      0        0       20.889
UFPureScriptTupleCollectionTest-     1     0      0        0       10.142
compression
UFScriptTest-compression             12    0      0        0       22.298
UFSecurityTest-compression           2     0      0        0       6.791
UFTest-compression                   29    0      0        0       32.862
UFTypesTest-compression              7     0      0        0       21.477
UFVerifierTest-compression           21    0      0        0       10.934
UserTypesTest-compression            30    0      0        0       36.271
CollectionsTest                      37    0      0        0       32.148
CountersTest                         8     0      0        0       8.973
DateTypeTest                         1     0      0        0       3.260
FrozenCollectionsTest                34    0      0        0       40.247
JsonTest                             22    0      0        0       38.731
SecondaryIndexOnMapEntriesTest       11    0      0        0       13.423
SecondaryIndexOnStaticColumnTest     6     0      0        0       10.761
SecondaryIndexTest                   52    0      0        0       91.412
StaticColumnsTest                    7     0      0        0       11.810
TimestampTest                        6     0      0        0       10.272
TimeuuidTest                         2     0      0        0       4.790
TupleTypeTest                        11    0      0        0       16.752
TypeTest                             4     0      0        0       7.102
UFAuthTest                           26    0      0        0       42.682
UFIdentificationTest                 14    0      0        1       34.087
UFJavaTest                           18    0      0        0       34.398
UFPureScriptTest                     10    0      0        0       22.869
UFPureScriptTupleCollectionTest      1     0      0        0       10.694
UFScriptTest                         12    0      0        0       23.866
UFSecurityTest                       2     0      0        0       7.287
UFTest                               29    0      0        0       35.500
UFTypesTest                          7     0      0        0       23.245
UFVerifierTest                       21    0      0        0       11.812
UserTypesTest                        30    0      0        0       39.655

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

Name                                    Tests Errors Failures Skipped Time(s)
CrcCheckChanceTest-cdc                  3     0      0        0       5.964
OverflowTest-cdc                        15    0      0        0       8.057
PgStringTest-cdc                        3     0      0        0       4.041
RoleSyntaxTest-cdc                      9     0      0        0       4.461
SSTableMetadataTrackingTest-cdc         7     0      0        0       5.448
SSTablesIteratedTest-cdc                14    0      0        0       10.018
TombstonesTest-cdc                      5     0      0        0       7.058
CrcCheckChanceTest-compression          3     0      0        0       9.064
OverflowTest-compression                15    0      0        0       13.049
PgStringTest-compression                3     0      0        0       4.663
RoleSyntaxTest-compression              9     0      0        0       5.746
SSTableMetadataTrackingTest-compression 7     0      0        0       7.712
SSTablesIteratedTest-compression        14    0      0        0       14.128
TombstonesTest-compression              5     0      0        0       8.337
CrcCheckChanceTest                      3     0      0        0       9.736
OverflowTest                            15    0      0        0       14.318
PgStringTest                            3     0      0        0       5.055
RoleSyntaxTest                          9     0      0        0       6.328
SSTableMetadataTrackingTest             7     0      0        0       11.222
SSTablesIteratedTest                    14    0      0        0       20.869
TombstonesTest                          5     0      0        0       9.423

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

Name                                      Tests Errors Failures Skipped Time(s)
AggregationTest-cdc                       52    0      0        0       36.037
AlterTest-cdc                             32    0      0        0       16.156
BatchTest-cdc                             10    0      0        0       6.433
CreateTest-cdc                            25    0      0        0       12.355
DeleteTest-cdc                            35    0      0        0       23.786
DropCompactStorageThriftTest-cdc          11    0      0        0       7.516
DropRecreateAndRestoreTest-cdc            4     0      0        0       4.455
DropTest-cdc                              2     0      0        0       3.537
InsertTest-cdc                            12    0      0        0       7.571
InsertUpdateIfConditionTest-cdc           43    0      0        0       22.921
SelectGroupByTest-cdc                     7     0      0        0       17.284
SelectLimitTest-cdc                       12    0      0        0       14.060
SelectMultiColumnRelationTest-cdc         22    0      0        0       11.860
SelectOrderByTest-cdc                     17    0      0        0       9.449
SelectOrderedPartitionerTest-cdc          20    0      0        0       10.197
SelectSingleColumnRelationTest-cdc        24    0      0        0       12.286
SelectTest-cdc                            86    0      0        0       39.168
TTLTest-cdc                               7     0      0        0       10.189
TruncateTest-cdc                          1     0      0        0       3.324
UpdateTest-cdc                            13    0      0        0       11.456
UseTest-cdc                               1     0      0        0       2.820
AggregationTest-compression               52    0      0        0       61.924
AlterTest-compression                     32    0      0        0       31.363
BatchTest-compression                     10    0      0        0       9.671
CreateTest-compression                    25    0      0        0       23.642
DeleteTest-compression                    35    0      0        0       43.890
DropCompactStorageThriftTest-compression  11    0      0        0       11.312
DropRecreateAndRestoreTest-compression    4     0      0        0       5.088
DropTest-compression                      2     0      0        0       3.867
InsertTest-compression                    12    0      0        0       12.721
InsertUpdateIfConditionTest-compression   43    0      0        0       43.100
SelectGroupByTest-compression             7     0      0        0       19.162
SelectLimitTest-compression               12    0      0        0       18.438
SelectMultiColumnRelationTest-compression 22    0      0        0       22.654
SelectOrderByTest-compression             17    0      0        0       16.705
SelectOrderedPartitionerTest-compression  20    0      0        0       18.278
SelectSingleColumnRelationTest-           24    0      0        0       23.466
compression
SelectTest-compression                    86    0      0        0       80.579
TTLTest-compression                       7     0      0        0       14.986
TruncateTest-compression                  1     0      0        0       3.656
UpdateTest-compression                    13    0      0        0       19.549
UseTest-compression                       1     0      0        0       2.789
AggregationTest                           52    0      0        0       88.921
AlterTest                                 32    0      0        0       34.406
BatchTest                                 10    0      0        0       10.211
CreateTest                                25    0      0        0       26.101
DeleteTest                                35    0      0        0       61.686
DropCompactStorageThriftTest              11    0      0        0       17.366
DropRecreateAndRestoreTest                4     0      0        0       5.828
DropTest                                  2     0      0        0       4.066
InsertTest                                12    0      0        0       17.206
InsertUpdateIfConditionTest               43    0      0        0       62.142
SelectGroupByTest                         7     0      0        0       22.407
SelectLimitTest                           12    0      0        0       20.503
SelectMultiColumnRelationTest             22    0      0        0       25.119
SelectOrderByTest                         17    0      0        0       18.352
SelectOrderedPartitionerTest              20    0      0        0       20.255
SelectSingleColumnRelationTest            24    0      0        0       30.711
SelectTest                                86    0      0        0       124.620
TTLTest                                   7     0      0        0       16.748
TruncateTest                              1     0      0        0       3.757
UpdateTest                                13    0      0        0       20.995
UseTest                                   1     0      0        0       2.926

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

Name                                    Tests Errors Failures Skipped Time(s)
CellTest-cdc                            11    0      0        0       2.689
CleanupTest-cdc                         8     0      0        0       7.595
ColumnFamilyMetricTest-cdc              2     0      0        0       2.915
ColumnFamilyStoreCQLHelperTest-cdc      18    0      0        0       7.852
ColumnFamilyStoreTest-cdc               8     0      0        0       4.278
ColumnsTest-cdc                         8     0      0        0       1.562
CounterCacheTest-cdc                    5     0      0        0       3.019
CounterCellTest-cdc                     5     0      0        0       2.796
CounterMutationTest-cdc                 4     0      0        0       3.124
DeletePartitionTest-cdc                 1     0      0        0       2.921
DirectoriesTest-cdc                     13    0      0        0       1.081
DiskBoundaryManagerTest-cdc             4     0      0        0       4.258
KeyCacheTest-cdc                        6     0      0        0       3.745
KeyspaceTest-cdc                        10    0      0        0       6.640
LegacyCellNameTest-cdc                  5     0      0        0       1.085
LegacyLayoutTest-cdc                    10    0      0        0       3.574
LegacyLayoutValidationTest-cdc          15    0      0        0       0.994
LivenessInfoTest-cdc                    2     0      0        0       0.424
MmapFileTest-cdc                        1     0      0        0       0.144
MultiKeyspaceTest-cdc                   1     0      0        0       3.162
NameSortTest-cdc                        3     0      0        0       3.212
NativeCellTest-cdc                      1     0      0        0       1.034
OldFormatDeserializerTest-cdc           2     0      0        0       0.929
PartitionRangeReadTest-cdc              7     0      0        0       3.381
PartitionTest-cdc                       5     0      0        0       3.047
RangeTombstoneListTest-cdc              23    0      0        0       0.557
RangeTombstoneTest-cdc                  14    0      0        0       3.847
ReadCommandTest-cdc                     6     0      0        0       3.685
ReadMessageTest-cdc                     3     0      0        0       2.848
ReadResponseTest-cdc                    1     0      0        0       2.888
RecoveryManagerFlushedTest-cdc          5     0      0        0       3.289
RecoveryManagerMissingHeaderTest-cdc    5     0      0        0       2.982
RecoveryManagerTest-cdc                 35    0      0        0       6.720
RecoveryManagerTruncateTest-cdc         5     0      0        0       3.059
RemoveCellTest-cdc                      1     0      0        0       3.113
RepairedDataTombstonesTest-cdc          7     0      0        0       27.601
RowCacheCQLTest-cdc                     3     0      0        0       3.892
RowCacheTest-cdc                        11    0      0        0       4.479
RowIndexEntryTest-cdc                   4     0      0        0       3.999
RowIterationTest-cdc                    3     0      0        0       3.910
RowTest-cdc                             4     0      0        0       2.782
ScrubTest-cdc                           19    0      0        0       7.053
SecondaryIndexTest-cdc                  14    0      0        0       8.806
SerializationHeaderTest-cdc             1     0      0        0       1.549
SinglePartitionReadCommandCQLTest-cdc   1     0      0        0       3.024
SinglePartitionSliceCommandTest-cdc     8     0      0        0       3.366
SystemKeyspaceTest-cdc                  9     0      0        0       2.412
TimeSortTest-cdc                        2     0      0        0       4.041
TransformerTest-cdc                     1     0      0        0       0.984
VerifyTest-cdc                          12    0      0        0       3.514
CellTest-compression                    11    0      0        0       2.667
CleanupTest-compression                 8     0      0        0       9.308
ColumnFamilyMetricTest-compression      2     0      0        0       2.869
ColumnFamilyStoreCQLHelperTest-         18    0      0        0       13.829
compression
ColumnFamilyStoreTest-compression       8     0      0        0       4.745
ColumnsTest-compression                 8     0      0        0       1.465
CounterCacheTest-compression            5     0      0        0       3.104
CounterCellTest-compression             5     0      0        0       2.748
CounterMutationTest-compression         4     0      0        0       3.049
DeletePartitionTest-compression         1     0      0        0       2.809
DirectoriesTest-compression             13    0      0        0       1.019
DiskBoundaryManagerTest-compression     4     0      0        0       5.022
KeyCacheTest-compression                6     0      0        0       3.608
KeyspaceTest-compression                10    0      0        0       9.496
LegacyCellNameTest-compression          5     0      0        0       1.024
LegacyLayoutTest-compression            10    0      0        0       3.621
LegacyLayoutValidationTest-compression  15    0      0        0       0.931
LivenessInfoTest-compression            2     0      0        0       0.409
MmapFileTest-compression                1     0      0        0       0.139
MultiKeyspaceTest-compression           1     0      0        0       3.234
NameSortTest-compression                3     0      0        0       2.996
NativeCellTest-compression              1     0      0        0       0.978
OldFormatDeserializerTest-compression   2     0      0        0       0.944
PartitionRangeReadTest-compression      7     0      0        0       3.324
PartitionTest-compression               5     0      0        0       2.947
RangeTombstoneListTest-compression      23    0      0        0       0.460
RangeTombstoneTest-compression          14    0      0        0       4.482
ReadCommandTest-compression             6     0      0        0       4.148
ReadMessageTest-compression             3     0      0        0       2.752
ReadResponseTest-compression            1     0      0        0       2.907
RecoveryManagerFlushedTest-compression  5     0      0        0       3.205
RecoveryManagerMissingHeaderTest-       5     0      0        0       2.907
compression
RecoveryManagerTest-compression         35    0      0        0       8.769
RecoveryManagerTruncateTest-compression 5     0      0        0       3.222
RemoveCellTest-compression              1     0      0        0       3.191
RepairedDataTombstonesTest-compression  7     0      0        0       29.854
RowCacheCQLTest-compression             3     0      0        0       4.582
RowCacheTest-compression                11    0      0        0       4.346
RowIndexEntryTest-compression           4     0      0        0       4.730
RowIterationTest-compression            3     0      0        0       4.611
RowTest-compression                     4     0      0        0       2.599
ScrubTest-compression                   19    0      0        2       7.624
SecondaryIndexTest-compression          14    0      0        0       10.740
SerializationHeaderTest-compression     1     0      0        0       1.450
SinglePartitionReadCommandCQLTest-      1     0      0        0       3.116
compression
SinglePartitionSliceCommandTest-        8     0      0        0       3.860
compression
SystemKeyspaceTest-compression          9     0      0        0       2.089
TimeSortTest-compression                2     0      0        0       4.417
TransformerTest-compression             1     0      0        0       0.893
VerifyTest-compression                  12    0      0        0       3.392
CellTest                                11    0      0        0       2.616
CleanupTest                             8     0      0        0       8.863
ColumnFamilyMetricTest                  2     0      0        0       3.074
ColumnFamilyStoreCQLHelperTest          18    0      0        0       15.229
ColumnFamilyStoreTest                   8     0      0        0       4.978
ColumnsTest                             8     0      0        0       1.483
CounterCacheTest                        5     0      0        0       3.303
CounterCellTest                         5     0      0        0       2.876
CounterMutationTest                     4     0      0        0       3.309
DeletePartitionTest                     1     0      0        0       2.959
DirectoriesTest                         13    0      0        0       0.978
DiskBoundaryManagerTest                 4     0      0        0       6.390
KeyCacheTest                            6     0      0        0       3.914
KeyspaceTest                            10    0      0        0       13.555
LegacyCellNameTest                      5     0      0        0       1.047
LegacyLayoutTest                        10    0      0        0       4.176
LegacyLayoutValidationTest              15    0      0        0       0.879
LivenessInfoTest                        2     0      0        0       0.380
MmapFileTest                            1     0      0        0       0.136
MultiKeyspaceTest                       1     0      0        0       3.736
NameSortTest                            3     0      0        0       3.384
NativeCellTest                          1     0      0        0       1.005
OldFormatDeserializerTest               2     0      0        0       0.907
PartitionRangeReadTest                  7     0      0        0       3.669
PartitionTest                           5     0      0        0       3.240
RangeTombstoneListTest                  23    0      0        0       0.499
RangeTombstoneTest                      14    0      0        0       5.023
ReadCommandTest                         6     0      0        0       4.817
ReadMessageTest                         3     0      0        0       2.873
ReadResponseTest                        1     0      0        0       3.231
RecoveryManagerFlushedTest              5     0      0        0       3.531
RecoveryManagerMissingHeaderTest        5     0      0        0       3.253
RecoveryManagerTest                     35    0      0        0       12.071
RecoveryManagerTruncateTest             5     0      0        0       3.788
RemoveCellTest                          1     0      0        0       3.567
RepairedDataTombstonesTest              7     0      0        0       31.110
RowCacheCQLTest                         3     0      0        0       4.929
RowCacheTest                            11    0      0        0       4.384
RowIndexEntryTest                       4     0      0        0       5.220
RowIterationTest                        3     0      0        0       4.991
RowTest                                 4     0      0        0       2.620
ScrubTest                               19    0      0        0       8.055
SecondaryIndexTest                      14    0      0        0       11.095
SerializationHeaderTest                 1     0      0        0       1.425
SinglePartitionReadCommandCQLTest       1     0      0        0       3.254
SinglePartitionSliceCommandTest         8     0      0        0       4.067
SystemKeyspaceTest                      9     0      0        0       2.130
TimeSortTest                            2     0      0        0       4.805
TransformerTest                         1     0      0        0       0.899
VerifyTest                              12    0      0        0       3.507

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

Name                       Tests Errors Failures Skipped Time(s)
GroupMakerTest-cdc         6     0      0        0       0.881
GroupMakerTest-compression 6     0      0        0       0.735
GroupMakerTest             6     0      0        0       0.727

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

Name                                   Tests Errors Failures Skipped Time(s)
SSTableReverseIteratorTest-cdc         1     0      0        0       3.031
SSTableReverseIteratorTest-compression 1     0      0        0       2.891
SSTableReverseIteratorTest             1     0      0        0       3.068

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

Name                                     Tests Errors Failures Skipped Time(s)
BatchCommitLogStressTest                 15    0      0        0       206.295
CommitLogStressTest                      1     0      0        1       0.052
PeriodicCommitLogStressTest              15    0      0        0       317.290
AbstractCommitLogServiceTest-cdc         9     0      0        0       1.174
BatchCommitLogTest-cdc                   2     0      0        0       2.624
CommitLogCQLTest-cdc                     1     0      0        0       3.044
CommitLogChainedMarkersTest-cdc          1     0      0        0       3.568
CommitLogDescriptorTest-cdc              14    0      0        0       13.604
CommitLogFailurePolicyTest-cdc           4     0      0        0       5.275
CommitLogReaderTest-cdc                  5     0      0        0       5.658
CommitLogSegmentBackpressureTest-cdc     1     0      0        0       4.243
CommitLogSegmentManagerCDCTest-cdc       3     0      0        0       5.601
CommitLogTest-cdc                        140   0      0        0       7.080
CommitLogUpgradeTest-cdc                 10    0      0        0       3.867
CommitlogShutdownTest-cdc                1     0      0        0       3.307
SegmentReaderTest-cdc                    5     0      0        0       0.976
SnapshotDeletingTest-cdc                 1     0      0        1       2.660
AbstractCommitLogServiceTest-compression 9     0      0        0       1.113
BatchCommitLogTest-compression           2     0      0        0       2.587
CommitLogCQLTest-compression             1     0      0        0       3.247
CommitLogChainedMarkersTest-compression  1     0      0        0       3.498
CommitLogDescriptorTest-compression      14    0      0        0       13.684
CommitLogFailurePolicyTest-compression   4     0      0        0       5.210
CommitLogReaderTest-compression          5     0      0        0       6.774
CommitLogSegmentBackpressureTest-        1     0      0        0       4.131
compression
CommitLogSegmentManagerCDCTest-          3     0      0        0       6.555
compression
CommitLogTest-compression                140   0      0        0       9.535
CommitLogUpgradeTest-compression         10    0      0        0       3.529
CommitlogShutdownTest-compression        1     0      0        0       3.287
SegmentReaderTest-compression            5     0      0        0       0.908
SnapshotDeletingTest-compression         1     0      0        1       2.653
AbstractCommitLogServiceTest             9     0      0        0       1.127
BatchCommitLogTest                       2     0      0        0       2.649
CommitLogCQLTest                         1     0      0        0       3.412
CommitLogChainedMarkersTest              1     0      0        0       3.541
CommitLogDescriptorTest                  14    0      0        0       11.996
CommitLogFailurePolicyTest               4     0      0        0       5.323
CommitLogReaderTest                      5     0      0        0       7.469
CommitLogSegmentBackpressureTest         1     0      0        0       4.244
CommitLogSegmentManagerCDCTest           3     0      0        0       7.145
CommitLogTest                            140   0      0        0       9.439
CommitLogUpgradeTest                     10    0      0        0       3.837
CommitlogShutdownTest                    1     0      0        0       3.306
SegmentReaderTest                        5     0      0        0       0.896
SnapshotDeletingTest                     1     0      0        1       2.660

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

Name                                      Tests Errors Failures Skipped Time(s)
LongCompactionsTest                       4     0      0        0       109.734
LongLeveledCompactionStrategyCQLTest      1     0      0        0       303.636
LongLeveledCompactionStrategyTest         2     0      0        0       11.923
AbstractCompactionStrategyTest-cdc        4     0      0        0       3.409
AntiCompactionBytemanTest-cdc             1     0      0        0       6.103
AntiCompactionTest-cdc                    6     0      0        0       29.756
CancelCompactionsTest-cdc                 1     0      0        0       3.125
CompactionAwareWriterTest-cdc             4     0      0        0       39.410
CompactionControllerTest-cdc              2     0      0        0       3.323
CompactionExecutorTest-cdc                3     0      0        0       0.848
CompactionIteratorTest-cdc                10    0      0        0       6.458
CompactionStrategyManagerTest-cdc         1     0      0        0       4.142
CompactionsBytemanTest-cdc                3     0      0        0       8.267
CompactionsCQLTest-cdc                    13    0      0        0       22.671
CompactionsPurgeTest-cdc                  10    0      0        0       3.677
CompactionsTest-cdc                       8     0      0        1       18.689
CorruptedSSTablesCompactionsTest-cdc      2     0      0        0       4.679
DateTieredCompactionStrategyTest-cdc      7     0      0        0       6.624
LeveledCompactionStrategyTest-cdc         10    0      0        0       18.318
LeveledGenerationsTest-cdc                4     0      0        0       3.629
NeverPurgeTest-cdc                        4     0      0        0       8.873
OneCompactionTest-cdc                     2     0      0        0       3.022
SizeTieredCompactionStrategyTest-cdc      3     0      0        0       2.869
TTLExpiryTest-cdc                         5     0      0        0       9.578
TimeWindowCompactionStrategyTest-cdc      5     0      0        0       8.402
AbstractCompactionStrategyTest-           4     0      0        0       3.745
compression
AntiCompactionBytemanTest-compression     1     0      0        0       6.019
AntiCompactionTest-compression            6     0      0        0       24.095
CancelCompactionsTest-compression         1     0      0        0       3.404
CompactionAwareWriterTest-compression     4     0      0        0       39.506
CompactionControllerTest-compression      2     0      0        0       3.204
CompactionExecutorTest-compression        3     0      0        0       0.803
CompactionIteratorTest-compression        10    0      0        0       8.063
CompactionStrategyManagerTest-compression 1     0      0        0       5.923
CompactionsBytemanTest-compression        3     0      0        0       9.230
CompactionsCQLTest-compression            13    0      0        0       27.682
CompactionsPurgeTest-compression          10    0      0        0       4.408
CompactionsTest-compression               8     0      0        1       18.999
CorruptedSSTablesCompactionsTest-         2     0      0        0       5.393
compression
DateTieredCompactionStrategyTest-         7     0      0        0       7.669
compression
LeveledCompactionStrategyTest-compression 10    0      0        0       22.559
LeveledGenerationsTest-compression        4     0      0        0       4.102
NeverPurgeTest-compression                4     0      0        0       9.749
OneCompactionTest-compression             2     0      0        0       2.878
SizeTieredCompactionStrategyTest-         3     0      0        0       2.864
compression
TTLExpiryTest-compression                 5     0      0        0       9.965
TimeWindowCompactionStrategyTest-         5     0      0        0       9.201
compression
AbstractCompactionStrategyTest            4     0      0        0       3.809
AntiCompactionBytemanTest                 1     0      0        0       6.238
AntiCompactionTest                        6     0      0        0       22.745
CancelCompactionsTest                     1     0      0        0       3.562
CompactionAwareWriterTest                 4     0      0        0       38.195
CompactionControllerTest                  2     0      0        0       3.661
CompactionExecutorTest                    3     0      0        0       0.822
CompactionIteratorTest                    10    0      0        0       8.748
CompactionStrategyManagerTest             1     0      0        0       5.285
CompactionsBytemanTest                    3     0      0        0       9.973
CompactionsCQLTest                        13    0      0        0       28.989
CompactionsPurgeTest                      10    0      0        0       4.497
CompactionsTest                           8     0      0        1       19.082
CorruptedSSTablesCompactionsTest          2     0      0        0       6.055
DateTieredCompactionStrategyTest          7     0      0        0       7.739
LeveledCompactionStrategyTest             10    0      0        0       22.195
LeveledGenerationsTest                    4     0      0        0       4.458
NeverPurgeTest                            4     0      0        0       10.355
OneCompactionTest                         2     0      0        0       3.035
SizeTieredCompactionStrategyTest          3     0      0        0       3.020
TTLExpiryTest                             5     0      0        0       10.189
TimeWindowCompactionStrategyTest          5     0      0        0       9.275

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

Name                  Tests Errors Failures Skipped Time(s)
CTypeTest-cdc         3     0      0        0       0.499
CTypeTest-compression 3     0      0        0       0.475
CTypeTest             3     0      0        0       0.466

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

Name                           Tests Errors Failures Skipped Time(s)
CounterContextTest-cdc         8     0      0        0       1.699
CounterContextTest-compression 8     0      0        0       1.546
CounterContextTest             8     0      0        0       1.550

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

Name                         Tests Errors Failures Skipped Time(s)
ColumnFilterTest-cdc         1     0      0        0       0.625
RowFilterTest-cdc            1     0      0        0       1.290
SliceTest-cdc                3     0      0        0       0.331
ColumnFilterTest-compression 1     0      0        0       0.574
RowFilterTest-compression    1     0      0        0       1.199
SliceTest-compression        3     0      0        0       0.274
ColumnFilterTest             1     0      0        0       0.548
RowFilterTest                1     0      0        0       1.256
SliceTest                    3     0      0        0       0.299

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

Name                                 Tests Errors Failures Skipped Time(s)
HelpersTest-cdc                      8     0      0        0       8.221
LifecycleTransactionTest-cdc         8     0      0        0       2.316
LogTransactionTest-cdc               39    0      0        0       2.905
RealTransactionsTest-cdc             3     0      0        0       3.584
TrackerTest-cdc                      7     0      0        0       2.188
ViewTest-cdc                         3     0      0        0       1.890
HelpersTest-compression              8     0      0        0       11.249
LifecycleTransactionTest-compression 8     0      0        0       2.509
LogTransactionTest-compression       39    0      0        0       3.939
RealTransactionsTest-compression     3     0      0        0       3.584
TrackerTest-compression              7     0      0        0       2.165
ViewTest-compression                 3     0      0        0       1.778
HelpersTest                          8     0      0        0       10.787
LifecycleTransactionTest             8     0      0        0       2.615
LogTransactionTest                   39    0      0        0       4.301
RealTransactionsTest                 3     0      0        0       3.817
TrackerTest                          7     0      0        0       2.253
ViewTest                             3     0      0        0       1.851

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

Name                                  Tests Errors Failures Skipped Time(s)
AbstractCompositeTypeTest-cdc         2     0      0        0       0.284
BytesTypeTest-cdc                     2     0      0        0       0.272
CollectionTypeTest-cdc                6     0      0        0       0.324
CompositeTypeTest-cdc                 8     0      0        0       2.677
DecimalTypeTest-cdc                   3     0      0        0       0.279
DynamicCompositeTypeTest-cdc          8     0      0        0       2.682
EmptyTypeTest-cdc                     7     0      0        0       0.797
IntegerTypeTest-cdc                   10    0      0        0       0.308
JsonConversionTest-cdc                30    0      0        0       0.708
ReversedTypeTest-cdc                  1     0      0        0       0.281
RoundTripTest-cdc                     8     0      0        0       0.531
SimpleDateTypeTest-cdc                1     0      0        0       0.353
TimeTypeTest-cdc                      2     0      0        0       3.123
TimeUUIDTypeTest-cdc                  6     0      0        0       7.554
TypeCompareTest-cdc                   6     0      0        0       0.307
TypeParserTest-cdc                    3     0      0        0       0.795
TypeValidationTest-cdc                10    0      0        0       0.670
UUIDTypeTest-cdc                      6     0      0        0       3.798
AbstractCompositeTypeTest-compression 2     0      0        0       0.245
BytesTypeTest-compression             2     0      0        0       0.253
CollectionTypeTest-compression        6     0      0        0       0.301
CompositeTypeTest-compression         8     0      0        0       2.554
DecimalTypeTest-compression           3     0      0        0       0.251
DynamicCompositeTypeTest-compression  8     0      0        0       2.590
EmptyTypeTest-compression             7     0      0        0       0.782
IntegerTypeTest-compression           10    0      0        0       0.293
JsonConversionTest-compression        30    0      0        0       0.689
ReversedTypeTest-compression          1     0      0        0       0.273
RoundTripTest-compression             8     0      0        0       0.463
SimpleDateTypeTest-compression        1     0      0        0       0.311
TimeTypeTest-compression              2     0      0        0       3.278
TimeUUIDTypeTest-compression          6     0      0        0       7.819
TypeCompareTest-compression           6     0      0        0       0.281
TypeParserTest-compression            3     0      0        0       0.745
TypeValidationTest-compression        10    0      0        0       0.596
UUIDTypeTest-compression              6     0      0        0       3.677
AbstractCompositeTypeTest             2     0      0        0       0.238
BytesTypeTest                         2     0      0        0       0.241
CollectionTypeTest                    6     0      0        0       0.296
CompositeTypeTest                     8     0      0        0       2.772
DecimalTypeTest                       3     0      0        0       0.245
DynamicCompositeTypeTest              8     0      0        0       2.777
EmptyTypeTest                         7     0      0        0       0.779
IntegerTypeTest                       10    0      0        0       0.286
JsonConversionTest                    30    0      0        0       0.663
ReversedTypeTest                      1     0      0        0       0.286
RoundTripTest                         8     0      0        0       0.471
SimpleDateTypeTest                    1     0      0        0       0.308
TimeTypeTest                          2     0      0        0       3.433
TimeUUIDTypeTest                      6     0      0        0       7.692
TypeCompareTest                       6     0      0        0       0.295
TypeParserTest                        3     0      0        0       0.729
TypeValidationTest                    10    0      0        0       0.637
UUIDTypeTest                          6     0      0        0       3.738

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

Name                           Tests Errors Failures Skipped Time(s)
MonitoringTaskTest-cdc         15    0      0        0       6.084
MonitoringTaskTest-compression 15    0      0        0       6.077
MonitoringTaskTest             15    0      0        0       6.155

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

Name                                    Tests Errors Failures Skipped Time(s)
PartitionImplementationTest-cdc         7     0      0        0       50.424
PartitionUpdateTest-cdc                 5     0      0        0       4.442
PartitionImplementationTest-compression 7     0      0        0       40.731
PartitionUpdateTest-compression         5     0      0        0       5.791
PartitionImplementationTest             7     0      0        0       41.216
PartitionUpdateTest                     5     0      0        0       6.366

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

Name                          Tests Errors Failures Skipped Time(s)
PurgeFunctionTest-cdc         8     0      0        0       0.621
PurgeFunctionTest-compression 8     0      0        0       0.592
PurgeFunctionTest             8     0      0        0       0.558

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

Name                                      Tests Errors Failures Skipped Time(s)
ColumnDefinitionVersionComparatorTest-cdc 10    0      0        0       0.369
DigestBackwardCompatibilityTest-cdc       5     0      0        0       4.492
EncodingStatsTest-cdc                     9     0      0        0       0.090
RowAndDeletionMergeIteratorTest-cdc       10    0      0        0       2.662
RowsTest-cdc                              9     0      0        0       0.978
UnfilteredRowIteratorsMergeTest-cdc       5     0      0        0       23.976
UnfilteredRowIteratorsTest-cdc            1     0      0        0       1.015
ColumnDefinitionVersionComparatorTest-    10    0      0        0       0.326
compression
DigestBackwardCompatibilityTest-          5     0      0        0       5.946
compression
EncodingStatsTest-compression             9     0      0        0       0.073
RowAndDeletionMergeIteratorTest-          10    0      0        0       2.603
compression
RowsTest-compression                      9     0      0        0       0.915
UnfilteredRowIteratorsMergeTest-          5     0      0        0       23.919
compression
UnfilteredRowIteratorsTest-compression    1     0      0        0       0.911
ColumnDefinitionVersionComparatorTest     10    0      0        0       0.322
DigestBackwardCompatibilityTest           5     0      0        0       6.530
EncodingStatsTest                         9     0      0        0       0.073
RowAndDeletionMergeIteratorTest           10    0      0        0       2.603
RowsTest                                  9     0      0        0       0.902
UnfilteredRowIteratorsMergeTest           5     0      0        0       25.536
UnfilteredRowIteratorsTest                1     0      0        0       0.917

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

Name                                Tests Errors Failures Skipped Time(s)
DuplicateRowCheckerTest-cdc         7     0      0        0       5.248
RTTransformationsTest-cdc           15    0      0        0       0.617
DuplicateRowCheckerTest-compression 7     0      0        0       7.347
RTTransformationsTest-compression   15    0      0        0       0.597
DuplicateRowCheckerTest             7     0      0        0       8.176
RTTransformationsTest               15    0      0        0       0.567

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

Name                      Tests Errors Failures Skipped Time(s)
ViewUtilsTest-cdc         3     0      0        0       1.368
ViewUtilsTest-compression 3     0      0        0       1.281
ViewUtilsTest             3     0      0        0       1.248

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

Name                                   Tests Errors Failures Skipped Time(s)
BootStrapperTest-cdc                   8     0      0        0       5.515
BoundsTest-cdc                         1     0      0        0       0.324
ByteOrderedPartitionerTest-cdc         6     0      0        0       2.098
KeyCollisionTest-cdc                   1     0      0        0       2.868
Murmur3PartitionerTest-cdc             9     0      0        0       1.540
OrderPreservingPartitionerTest-cdc     7     0      0        0       2.018
RandomPartitionerTest-cdc              9     0      0        0       1.966
RangeTest-cdc                          30    0      0        0       14.707
SplitterTest-cdc                       4     0      0        0       16.515
StreamStateStoreTest-cdc               1     0      0        0       1.953
BootStrapperTest-compression           8     0      0        0       6.319
BoundsTest-compression                 1     0      0        0       0.280
ByteOrderedPartitionerTest-compression 6     0      0        0       1.867
KeyCollisionTest-compression           1     0      0        0       2.857
Murmur3PartitionerTest-compression     9     0      0        0       1.437
OrderPreservingPartitionerTest-        7     0      0        0       1.996
compression
RandomPartitionerTest-compression      9     0      0        0       1.759
RangeTest-compression                  30    0      0        0       11.700
SplitterTest-compression               4     0      0        0       15.948
StreamStateStoreTest-compression       1     0      0        0       1.673
BootStrapperTest                       8     0      0        0       6.972
BoundsTest                             1     0      0        0       0.263
ByteOrderedPartitionerTest             6     0      0        0       2.075
KeyCollisionTest                       1     0      0        0       2.810
Murmur3PartitionerTest                 9     0      0        0       1.435
OrderPreservingPartitionerTest         7     0      0        0       1.942
RandomPartitionerTest                  9     0      0        0       1.729
RangeTest                              30    0      0        0       15.029
SplitterTest                           4     0      0        0       16.670
StreamStateStoreTest                   1     0      0        0       1.662

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

Name                                       Tests Errors Failures Skipped Time(s)
AbstractReplicationAwareTokenAllocatorTest 1     0      0        1       0.050
Murmur3ReplicationAwareTokenAllocatorTest  2     0      0        0       145.216
NoReplicationTokenAllocatorTest            4     0      0        0       6.607
RandomReplicationAwareTokenAllocatorTest   2     0      0        0       62.528

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

Name                                             Tests Errors Failures Skipped Time(s)
BootstrapTest                                    1     0      0        0       57.252
GossipSettlesTest                                1     0      0        0       10.063
GossipTest                                       1     0      0        0       15.164
JVMDTestTest                                     1     0      0        0       5.133
JVMStabilityInspectorCorruptSSTableExceptionTest 2     0      0        0       58.720
MessageFiltersTest                               4     0      0        0       47.449
MessageForwardingTest                            1     0      0        0       9.424
NativeProtocolTest                               2     0      0        0       40.200
NetworkTopologyTest                              6     0      0        0       17.341
NodeToolTest                                     1     0      0        0       5.212
ReadRepairTest                                   2     0      0        0       13.696
ReplicaFilteringProtectionTest                   3     0      0        0       7.831
ResourceLeakTest                                 1     0      0        1       0.049
ShortReadProtectionTest                          2     0      0        0       13.801
SimpleReadWriteTest                              13    1      0        0       110.628
ThriftClientTest                                 1     0      0        0       8.764

-------------------------------------------------------------------------------
org.apache.cassandra.distributed.upgrade

Name                              Tests Errors Failures Skipped Time(s)
CompactStorage2to3UpgradeTest     4     0      0        0       62.933
MigrateDropColumns22To30To311Test 1     0      0        0       50.770
MigrateDropColumns22To311Test     1     0      0        0       29.611
MigrateDropColumns30To311Test     1     0      0        0       32.657
MixedModeRangeTombstoneTest       1     0      0        0       13.095
MixedModeReadRepairTest           2     0      0        0       24.712
PagingTest                        1     0      0        0       106.983
UpgradeTest                       2     0      0        0       124.305

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

Name                                    Tests Errors Failures Skipped Time(s)
ArrayBackedBoundedStatsTest-cdc         2     0      0        0       0.074
ArrivalWindowTest-cdc                   1     0      0        0       0.853
EndpointStateTest-cdc                   2     0      0        0       1.291
ExpireEndpointTest-cdc                  1     0      0        0       0.985
FailureDetectorTest-cdc                 1     0      0        0       2.082
GossipDigestTest-cdc                    1     0      0        0       0.779
GossiperTest-cdc                        3     0      0        0       4.790
PendingRangeCalculatorServiceTest-cdc   1     0      0        0       3.836
SerializationsTest-cdc                  2     0      0        0       0.961
ShadowRoundTest-cdc                     1     0      0        0       5.309
ArrayBackedBoundedStatsTest-compression 2     0      0        0       0.059
ArrivalWindowTest-compression           1     0      0        0       0.751
EndpointStateTest-compression           2     0      0        0       1.150
ExpireEndpointTest-compression          1     0      0        0       0.901
FailureDetectorTest-compression         1     0      0        0       1.879
GossipDigestTest-compression            1     0      0        0       0.763
GossiperTest-compression                3     0      0        0       4.749
PendingRangeCalculatorServiceTest-      1     0      0        0       3.722
compression
SerializationsTest-compression          2     0      0        0       0.859
ShadowRoundTest-compression             1     0      0        0       5.171
ArrayBackedBoundedStatsTest             2     0      0        0       0.061
ArrivalWindowTest                       1     0      0        0       0.734
EndpointStateTest                       2     0      0        0       1.374
ExpireEndpointTest                      1     0      0        0       0.876
FailureDetectorTest                     1     0      0        0       2.070
GossipDigestTest                        1     0      0        0       0.835
GossiperTest                            3     1      0        0       4.892
PendingRangeCalculatorServiceTest       1     0      0        0       3.959
SerializationsTest                      2     0      0        0       0.844
ShadowRoundTest                         1     0      0        0       5.233

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

Name                                    Tests Errors Failures Skipped Time(s)
ColumnFamilyInputFormatTest-cdc         1     0      0        0       0.332
ColumnFamilyInputFormatTest-compression 1     0      0        0       0.281
ColumnFamilyInputFormatTest             1     0      0        0       0.319

-------------------------------------------------------------------------------
org.apache.cassandra.hints

Name                                 Tests Errors Failures Skipped Time(s)
HintsWriteThenReadTest               1     0      0        0       51.642
ChecksummedDataInputTest-cdc         3     0      0        0       0.807
HintMessageTest-cdc                  1     0      0        0       2.712
HintTest-cdc                         7     0      0        0       3.052
HintsBufferPoolTest-cdc              1     0      0        0       3.269
HintsBufferTest-cdc                  2     0      0        0       5.239
HintsCatalogTest-cdc                 3     0      0        0       2.769
HintsCompressionTest-cdc             3     0      0        0       6.187
HintsDescriptorTest-cdc              4     0      0        0       0.546
HintsEncryptionTest-cdc              1     0      0        0       4.165
HintsReaderTest-cdc                  2     0      0        0       3.036
HintsServiceTest-cdc                 4     0      0        0       175.274
LegacyHintsMigratorTest-cdc          2     0      0        0       3.629
ChecksummedDataInputTest-compression 3     0      0        0       0.764
HintMessageTest-compression          1     0      0        0       2.604
HintTest-compression                 7     0      0        0       3.004
HintsBufferPoolTest-compression      1     0      0        0       3.247
HintsBufferTest-compression          2     0      0        0       3.898
HintsCatalogTest-compression         3     0      0        0       2.618
HintsCompressionTest-compression     3     0      0        0       6.708
HintsDescriptorTest-compression      4     0      0        0       0.485
HintsEncryptionTest-compression      1     0      0        0       4.107
HintsReaderTest-compression          2     0      0        0       2.958
HintsServiceTest-compression         4     0      0        0       175.401
LegacyHintsMigratorTest-compression  2     0      0        0       3.443
ChecksummedDataInputTest             3     0      0        0       0.777
HintMessageTest                      1     0      0        0       2.759
HintTest                             7     0      0        0       3.277
HintsBufferPoolTest                  1     0      0        0       3.407
HintsBufferTest                      2     0      0        0       4.546
HintsCatalogTest                     3     0      0        0       2.798
HintsCompressionTest                 3     0      0        0       5.687
HintsDescriptorTest                  4     0      0        0       0.513
HintsEncryptionTest                  1     0      0        0       4.099
HintsReaderTest                      2     0      0        0       3.086
HintsServiceTest                     4     0      0        0       175.628
LegacyHintsMigratorTest              2     0      0        0       3.982

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

Name                        Tests Errors Failures Skipped Time(s)
CustomIndexTest-cdc         29    0      0        0       22.500
CustomIndexTest-compression 29    0      0        0       37.956
CustomIndexTest             29    0      0        0       41.035

-------------------------------------------------------------------------------
org.apache.cassandra.index.internal

Name                           Tests Errors Failures Skipped Time(s)
CassandraIndexTest-cdc         29    0      0        0       23.030
CassandraIndexTest-compression 29    0      0        0       44.276
CassandraIndexTest             29    0      0        0       47.252

-------------------------------------------------------------------------------
org.apache.cassandra.index.sasi

Name                      Tests Errors Failures Skipped Time(s)
SASICQLTest-cdc           9     0      0        0       17.274
SASIIndexTest-cdc         32    0      1        0       20.194
SASICQLTest-compression   9     0      0        0       28.040
SASIIndexTest-compression 32    0      1        0       22.166
SASICQLTest               9     0      0        0       29.078
SASIIndexTest             32    0      1        0       25.855

-------------------------------------------------------------------------------
org.apache.cassandra.index.sasi.analyzer

Name                                  Tests Errors Failures Skipped Time(s)
DelimiterAnalyzerTest-cdc             12    0      0        0       0.408
NonTokenizingAnalyzerTest-cdc         3     0      0        0       0.302
StandardAnalyzerTest-cdc              10    0      0        0       0.650
DelimiterAnalyzerTest-compression     12    0      0        0       0.395
NonTokenizingAnalyzerTest-compression 3     0      0        0       0.262
StandardAnalyzerTest-compression      10    0      0        0       0.576
DelimiterAnalyzerTest                 12    0      0        0       0.418
NonTokenizingAnalyzerTest             3     0      0        0       0.263
StandardAnalyzerTest                  10    0      0        0       0.616

-------------------------------------------------------------------------------
org.apache.cassandra.index.sasi.conf

Name                      Tests Errors Failures Skipped Time(s)
IndexModeTest-cdc         14    0      0        0       0.924
IndexModeTest-compression 14    0      0        0       0.948
IndexModeTest             14    0      0        0       0.851

-------------------------------------------------------------------------------
org.apache.cassandra.index.sasi.disk

Name                                  Tests Errors Failures Skipped Time(s)
OnDiskIndexTest-cdc                   12    0      0        0       15.199
PerSSTableIndexWriterTest-cdc         2     0      0        0       5.392
TokenTreeTest-cdc                     14    0      0        0       13.211
OnDiskIndexTest-compression           12    0      0        0       15.327
PerSSTableIndexWriterTest-compression 2     0      0        0       6.209
TokenTreeTest-compression             14    0      0        0       13.987
OnDiskIndexTest                       12    0      0        0       17.600
PerSSTableIndexWriterTest             2     0      0        0       6.945
TokenTreeTest                         14    0      0        0       14.697

-------------------------------------------------------------------------------
org.apache.cassandra.index.sasi.plan

Name                      Tests Errors Failures Skipped Time(s)
OperationTest-cdc         6     0      0        0       4.130
OperationTest-compression 6     0      0        0       5.266
OperationTest             6     0      0        0       5.047

-------------------------------------------------------------------------------
org.apache.cassandra.index.sasi.utils

Name                                      Tests Errors Failures Skipped Time(s)
LongIteratorTest-cdc                      2     0      0        0       0.072
MappedBufferTest-cdc                      26    0      0        0       2.844
RangeIntersectionIteratorTest-cdc         11    0      0        0       0.328
RangeUnionIteratorTest-cdc                13    0      0        0       0.357
LongIteratorTest-compression              2     0      0        0       0.068
MappedBufferTest-compression              26    0      0        0       2.885
RangeIntersectionIteratorTest-compression 11    0      0        0       0.313
RangeUnionIteratorTest-compression        13    0      0        0       0.325
LongIteratorTest                          2     0      0        0       0.074
MappedBufferTest                          26    0      0        0       3.216
RangeIntersectionIteratorTest             11    0      0        0       0.322
RangeUnionIteratorTest                    13    0      0        0       0.413

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

Name                               Tests Errors Failures Skipped Time(s)
BloomFilterTrackerTest-cdc         3     0      0        0       0.067
DiskSpaceMetricsTest-cdc           2     0      0        0       16.867
BloomFilterTrackerTest-compression 3     0      0        0       0.060
DiskSpaceMetricsTest-compression   2     0      0        0       20.625
BloomFilterTrackerTest             3     0      0        0       0.066
DiskSpaceMetricsTest               2     0      0        0       20.956

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

Name                                     Tests Errors Failures Skipped Time(s)
CQLCompressionTest-cdc                   2     0      0        0       3.364
CompressedRandomAccessReaderTest-cdc     6     0      0        0       1.172
CompressedSequentialWriterReopenTest-cdc 4     0      0        0       8.495
CompressedSequentialWriterTest-cdc       10    0      0        0       1.073
CompressorTest-cdc                       4     0      0        0       1.225
CQLCompressionTest-compression           2     0      0        0       4.031
CompressedRandomAccessReaderTest-        6     0      0        0       1.153
compression
CompressedSequentialWriterReopenTest-    4     0      0        0       7.052
compression
CompressedSequentialWriterTest-          10    0      0        0       1.105
compression
CompressorTest-compression               4     0      0        0       1.186
CQLCompressionTest                       2     0      0        0       4.358
CompressedRandomAccessReaderTest         6     0      0        0       1.115
CompressedSequentialWriterReopenTest     4     0      0        0       8.278
CompressedSequentialWriterTest           10    0      0        0       1.601
CompressorTest                           4     0      0        0       1.653

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

Name                                   Tests Errors Failures Skipped Time(s)
CQLSSTableWriterLongTest               1     0      0        0       5.214
BigTableWriterTest-cdc                 5     0      0        0       2.968
CQLSSTableWriterClientTest-cdc         1     0      0        0       1.804
CQLSSTableWriterTest-cdc               11    0      0        0       4.472
DescriptorTest-cdc                     7     0      0        0       0.842
IndexSummaryManagerTest-cdc            8     0      0        0       5.077
IndexSummaryRedistributionTest-cdc     1     0      0        0       3.995
IndexSummaryTest-cdc                   12    0      0        0       32.194
LargePartitionsTest-cdc                1     0      0        1       0.059
LegacySSTableTest-cdc                  19    0      0        1       32.091
SSTableCorruptionDetectionTest-cdc     2     0      0        0       53.852
SSTableHeaderFixTest-cdc               14    0      0        0       1.445
SSTableLoaderTest-cdc                  2     0      0        0       10.867
SSTableMetadataTest-cdc                3     0      0        0       3.228
SSTableReaderTest-cdc                  12    0      0        0       7.142
SSTableRewriterTest-cdc                21    0      0        0       12.757
SSTableScannerTest-cdc                 3     0      0        0       2.918
SSTableWriterTest-cdc                  4     0      0        0       63.979
BigTableWriterTest-compression         5     0      0        0       2.943
CQLSSTableWriterClientTest-compression 1     0      0        0       1.612
CQLSSTableWriterTest-compression       11    0      0        0       4.197
DescriptorTest-compression             7     0      0        0       0.857
IndexSummaryManagerTest-compression    8     0      0        0       5.452
IndexSummaryRedistributionTest-        1     0      0        0       3.689
compression
IndexSummaryTest-compression           12    0      0        0       31.215
LargePartitionsTest-compression        1     0      0        1       0.052
LegacySSTableTest-compression          19    0      0        1       55.302
SSTableCorruptionDetectionTest-        2     0      0        0       58.577
compression
SSTableHeaderFixTest-compression       14    0      0        0       1.508
SSTableLoaderTest-compression          2     0      0        0       9.065
SSTableMetadataTest-compression        3     0      0        0       3.695
SSTableReaderTest-compression          12    0      0        0       7.400
SSTableRewriterTest-compression        21    0      0        0       14.721
SSTableScannerTest-compression         3     0      0        0       2.954
SSTableWriterTest-compression          4     0      0        0       25.700
BigTableWriterTest                     5     0      0        0       3.544
CQLSSTableWriterClientTest             1     0      0        0       1.587
CQLSSTableWriterTest                   11    0      0        0       4.705
DescriptorTest                         7     0      0        0       0.796
IndexSummaryManagerTest                8     0      0        0       5.229
IndexSummaryRedistributionTest         1     0      0        0       4.263
IndexSummaryTest                       12    0      0        0       33.389
LargePartitionsTest                    1     0      0        1       0.059
LegacySSTableTest                      19    0      0        1       61.324
SSTableCorruptionDetectionTest         2     0      0        0       45.079
SSTableHeaderFixTest                   14    0      0        0       1.391
SSTableLoaderTest                      2     0      0        0       11.440
SSTableMetadataTest                    3     0      0        0       3.450
SSTableReaderTest                      12    0      0        0       7.945
SSTableRewriterTest                    21    0      0        0       16.128
SSTableScannerTest                     3     0      0        0       3.025
SSTableWriterTest                      4     0      0        0       31.279

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

Name                                 Tests Errors Failures Skipped Time(s)
ClientModeSSTableTest-cdc            1     0      0        0       0.904
SSTableFlushObserverTest-cdc         1     0      0        0       2.016
ClientModeSSTableTest-compression    1     0      0        0       0.905
SSTableFlushObserverTest-compression 1     0      0        0       1.914
ClientModeSSTableTest                1     0      0        0       0.927
SSTableFlushObserverTest             1     0      0        0       2.138

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

Name                               Tests Errors Failures Skipped Time(s)
MetadataSerializerTest-cdc         5     0      0        0       1.028
MetadataSerializerTest-compression 5     0      0        0       1.107
MetadataSerializerTest             5     0      0        0       1.118

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

Name                                     Tests Errors Failures Skipped Time(s)
BufferedDataOutputStreamTest-cdc         19    0      0        0       25.011
BufferedRandomAccessFileTest-cdc         17    0      0        0       1.122
ChecksummedRandomAccessReaderTest-cdc    3     0      0        0       0.869
ChecksummedSequentialWriterTest-cdc      7     0      0        0       0.788
DataOutputTest-cdc                       15    0      0        0       0.873
DiskOptimizationStrategyTest-cdc         5     0      0        0       0.080
FileSegmentInputStreamTest-cdc           7     0      0        0       0.100
FileUtilsTest-cdc                        3     0      0        0       0.766
MemoryTest-cdc                           2     0      0        0       0.331
MmappedRegionsTest-cdc                   12    0      0        0       0.979
NIODataInputStreamTest-cdc               17    0      0        0       8.927
RandomAccessReaderTest-cdc               11    0      0        0       1.356
RewindableDataInputStreamPlusTest-cdc    8     0      0        0       0.092
SafeMemoryWriterTest-cdc                 2     0      0        0       2.551
SequentialWriterTest-cdc                 7     0      0        0       0.820
BufferedDataOutputStreamTest-compression 19    0      0        0       24.869
BufferedRandomAccessFileTest-compression 17    0      0        0       1.042
ChecksummedRandomAccessReaderTest-       3     0      0        0       0.832
compression
ChecksummedSequentialWriterTest-         7     0      0        0       0.765
compression
DataOutputTest-compression               15    0      0        0       0.797
DiskOptimizationStrategyTest-compression 5     0      0        0       0.071
FileSegmentInputStreamTest-compression   7     0      0        0       0.094
FileUtilsTest-compression                3     0      0        0       0.754
MemoryTest-compression                   2     0      0        0       0.314
MmappedRegionsTest-compression           12    0      0        0       0.969
NIODataInputStreamTest-compression       17    0      0        0       8.675
RandomAccessReaderTest-compression       11    0      0        0       1.341
RewindableDataInputStreamPlusTest-       8     0      0        0       0.077
compression
SafeMemoryWriterTest-compression         2     0      0        0       2.570
SequentialWriterTest-compression         7     0      0        0       0.763
BufferedDataOutputStreamTest             19    0      0        0       24.438
BufferedRandomAccessFileTest             17    0      0        0       1.115
ChecksummedRandomAccessReaderTest        3     0      0        0       0.857
ChecksummedSequentialWriterTest          7     0      0        0       0.807
DataOutputTest                           15    0      0        0       0.837
DiskOptimizationStrategyTest             5     0      0        0       0.075
FileSegmentInputStreamTest               7     0      0        0       0.103
FileUtilsTest                            3     0      0        0       0.826
MemoryTest                               2     0      0        0       0.344
MmappedRegionsTest                       12    0      0        0       0.954
NIODataInputStreamTest                   17    0      0        0       9.270
RandomAccessReaderTest                   11    0      0        0       1.335
RewindableDataInputStreamPlusTest        8     0      0        0       0.092
SafeMemoryWriterTest                     2     0      0        0       2.274
SequentialWriterTest                     7     0      0        0       0.911

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

Name                                     Tests Errors Failures Skipped Time(s)
DynamicEndpointSnitchLongTest            1     0      0        0       81.548
CloudstackSnitchTest-cdc                 2     0      0        0       5.679
DynamicEndpointSnitchTest-cdc            1     0      0        0       1.983
EC2SnitchTest-cdc                        3     0      0        0       5.667
GoogleCloudSnitchTest-cdc                2     0      0        0       5.732
GossipingPropertyFileSnitchTest-cdc      1     0      0        0       0.920
NetworkTopologyStrategyTest-cdc          4     0      0        0       3.050
OldNetworkTopologyStrategyTest-cdc       8     0      0        0       0.967
PendingRangeMapsTest-cdc                 2     0      0        0       0.445
PropertyFileSnitchTest-cdc               5     0      0        0       15.990
ReplicationStrategyEndpointCacheTest-cdc 2     0      0        0       2.658
SimpleStrategyTest-cdc                   4     0      0        0       2.634
TokenMetadataTest-cdc                    5     0      0        0       0.967
CloudstackSnitchTest-compression         2     0      0        0       5.558
DynamicEndpointSnitchTest-compression    1     0      0        0       1.947
EC2SnitchTest-compression                3     0      0        0       5.904
GoogleCloudSnitchTest-compression        2     0      0        0       5.643
GossipingPropertyFileSnitchTest-         1     0      0        0       0.911
compression
NetworkTopologyStrategyTest-compression  4     0      0        0       2.881
OldNetworkTopologyStrategyTest-          8     0      0        0       0.982
compression
PendingRangeMapsTest-compression         2     0      0        0       0.427
PropertyFileSnitchTest-compression       5     0      0        0       16.058
ReplicationStrategyEndpointCacheTest-    2     0      0        0       2.735
compression
SimpleStrategyTest-compression           4     0      0        0       2.799
TokenMetadataTest-compression            5     0      0        0       1.029
CloudstackSnitchTest                     2     0      0        0       5.821
DynamicEndpointSnitchTest                1     0      0        0       1.951
EC2SnitchTest                            3     0      0        0       5.797
GoogleCloudSnitchTest                    2     0      0        0       5.790
GossipingPropertyFileSnitchTest          1     0      0        0       0.890
NetworkTopologyStrategyTest              4     0      0        0       2.978
OldNetworkTopologyStrategyTest           8     0      0        0       0.982
PendingRangeMapsTest                     2     0      0        0       0.468
PropertyFileSnitchTest                   5     0      0        0       16.054
ReplicationStrategyEndpointCacheTest     2     0      0        0       2.731
SimpleStrategyTest                       4     0      0        0       2.760
TokenMetadataTest                        5     0      0        0       1.075

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

Name                                     Tests Errors Failures Skipped Time(s)
CQLMetricsTest-cdc                       4     0      0        0       7.741
CassandraMetricsRegistryTest-cdc         3     0      0        0       0.336
DecayingEstimatedHistogramReservoirTest- 9     0      0        0       6.510
cdc
HintedHandOffMetricsTest-cdc             1     0      0        0       1.655
LatencyMetricsTest-cdc                   1     0      0        0       0.347
CQLMetricsTest-compression               4     0      0        0       8.554
CassandraMetricsRegistryTest-compression 3     0      0        0       0.317
DecayingEstimatedHistogramReservoirTest- 9     0      0        0       6.300
compression
HintedHandOffMetricsTest-compression     1     0      0        0       1.594
LatencyMetricsTest-compression           1     0      0        0       0.304
CQLMetricsTest                           4     0      0        0       8.671
CassandraMetricsRegistryTest             3     0      0        0       0.378
DecayingEstimatedHistogramReservoirTest  9     0      0        0       6.694
HintedHandOffMetricsTest                 1     0      0        0       1.634
LatencyMetricsTest                       1     0      0        0       0.370

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

Name                                  Tests Errors Failures Skipped Time(s)
MessagingServiceTest-cdc              8     0      0        0       1.713
MockMessagingServiceTest-cdc          1     0      0        0       3.269
OutboundTcpConnectionTest-cdc         2     0      0        0       1.631
RateBasedBackPressureTest-cdc         15    0      0        0       1.623
WriteCallbackInfoTest-cdc             1     0      0        0       1.224
MessagingServiceTest-compression      8     0      0        0       1.592
MockMessagingServiceTest-compression  1     0      0        0       3.210
OutboundTcpConnectionTest-compression 2     0      0        0       1.583
RateBasedBackPressureTest-compression 15    0      0        0       1.551
WriteCallbackInfoTest-compression     1     0      0        0       1.221
MessagingServiceTest                  8     0      0        0       2.095
MockMessagingServiceTest              1     0      0        0       3.405
OutboundTcpConnectionTest             2     0      0        0       1.555
RateBasedBackPressureTest             15    0      0        0       1.589
WriteCallbackInfoTest                 1     0      0        0       1.175

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

Name                          Tests Errors Failures Skipped Time(s)
LocalSyncTaskTest-cdc         2     0      0        0       3.157
RepairJobTest-cdc             2     0      0        0       4.247
RepairSessionTest-cdc         1     0      0        0       1.025
ValidatorTest-cdc             4     0      0        0       14.349
LocalSyncTaskTest-compression 2     0      0        0       3.237
RepairJobTest-compression     2     0      0        0       4.360
RepairSessionTest-compression 1     0      0        0       0.981
ValidatorTest-compression     4     0      0        0       13.726
LocalSyncTaskTest             2     0      0        0       3.201
RepairJobTest                 2     0      0        0       4.415
RepairSessionTest             1     0      0        0       0.971
ValidatorTest                 4     0      0        0       14.276

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

Name                                Tests Errors Failures Skipped Time(s)
RepairMessageSerializationsTest-cdc 9     0      0        0       0.927
RepairOptionTest-cdc                4     0      0        0       0.833
RepairMessageSerializationsTest-    9     0      0        0       1.009
compression
RepairOptionTest-compression        4     0      0        0       0.796
RepairMessageSerializationsTest     9     0      0        0       0.865
RepairOptionTest                    4     0      0        0       0.749

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

Name                                     Tests Errors Failures Skipped Time(s)
CreateTableValidationTest-cdc            1     0      0        0       2.856
DefsTest-cdc                             11    0      0        0       4.634
IndexMetadataTest-cdc                    3     0      0        0       0.286
LegacySchemaMigratorTest-cdc             2     0      0        0       4.697
SchemaKeyspaceTest-cdc                   8     0      0        0       3.236
TupleTypesRepresentationTest-cdc         2     0      0        1       1.197
CreateTableValidationTest-compression    1     0      0        0       3.292
DefsTest-compression                     11    0      0        0       5.793
IndexMetadataTest-compression            3     0      0        0       0.240
LegacySchemaMigratorTest-compression     2     0      0        0       5.439
SchemaKeyspaceTest-compression           8     0      0        0       3.206
TupleTypesRepresentationTest-compression 2     0      0        1       1.070
CreateTableValidationTest                1     0      0        0       3.173
DefsTest                                 11    0      0        0       6.057
IndexMetadataTest                        3     0      0        0       0.270
LegacySchemaMigratorTest                 2     0      0        0       5.557
SchemaKeyspaceTest                       8     0      0        0       3.445
TupleTypesRepresentationTest             2     0      0        1       1.057

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

Name                            Tests Errors Failures Skipped Time(s)
CipherFactoryTest-cdc           7     0      0        0       0.435
EncryptionUtilsTest-cdc         3     0      0        0       0.929
JKSKeyProviderTest-cdc          2     0      0        0       0.344
SSLFactoryTest-cdc              2     0      0        0       0.810
CipherFactoryTest-compression   7     0      0        0       0.434
EncryptionUtilsTest-compression 3     0      0        0       0.853
JKSKeyProviderTest-compression  2     0      0        0       0.334
SSLFactoryTest-compression      2     0      0        0       1.074
CipherFactoryTest               7     0      0        0       0.395
EncryptionUtilsTest             3     0      0        0       0.926
JKSKeyProviderTest              2     0      0        0       0.374
SSLFactoryTest                  2     0      0        0       0.756

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

Name                                 Tests Errors Failures Skipped Time(s)
SimpleDateSerializerTest-cdc         9     0      0        0       0.350
TimeSerializerTest-cdc               16    0      0        0       0.091
TimestampSerializerTest-cdc          1     0      0        0       0.094
SimpleDateSerializerTest-compression 9     0      0        0       0.345
TimeSerializerTest-compression       16    0      0        0       0.073
TimestampSerializerTest-compression  1     0      0        0       0.077
SimpleDateSerializerTest             9     0      0        0       0.316
TimeSerializerTest                   16    0      0        0       0.083
TimestampSerializerTest              1     0      0        0       0.093

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

Name                                     Tests Errors Failures Skipped Time(s)
ActiveRepairServiceTest-cdc              10    0      0        0       4.230
ClientWarningsTest-cdc                   4     0      0        0       24.963
DataResolverTest-cdc                     18    0      0        0       2.831
EmbeddedCassandraServiceTest-cdc         1     0      0        0       4.163
JoinTokenRingTest-cdc                    1     0      0        0       4.636
LeaveAndBootstrapTest-cdc                8     0      0        0       5.012
LegacyAuthFailTest-cdc                   1     0      0        0       4.769
MigrationManagerTest-cdc                 3     0      0        0       3.887
MoveTest-cdc                             7     0      0        0       7.811
NativeTransportServiceTest-cdc           11    0      0        0       8.548
PaxosStateTest-cdc                       1     0      0        0       4.980
ProtocolBetaVersionTest-cdc              2     0      0        0       10.800
QueryPagerTest-cdc                       8     0      0        0       4.202
RMIServerSocketFactoryImplTest-cdc       1     0      0        0       0.106
RemoveTest-cdc                           4     0      0        0       5.497
SerializationsTest-cdc                   4     0      0        0       1.262
StartupChecksTest-cdc                    3     0      0        0       2.609
StorageProxyTest-cdc                     4     0      0        0       1.404
StorageServiceServerTest-cdc             15    0      0        1       6.966
ActiveRepairServiceTest-compression      10    0      0        0       5.373
ClientWarningsTest-compression           4     0      0        0       20.106
DataResolverTest-compression             18    0      0        0       2.593
EmbeddedCassandraServiceTest-compression 1     0      0        0       4.177
JoinTokenRingTest-compression            1     0      0        0       5.027
LeaveAndBootstrapTest-compression        8     0      0        0       5.566
LegacyAuthFailTest-compression           1     0      0        0       4.676
MigrationManagerTest-compression         3     0      0        0       4.141
MoveTest-compression                     7     0      0        0       8.510
NativeTransportServiceTest-compression   11    0      0        0       8.586
PaxosStateTest-compression               1     0      0        0       5.140
ProtocolBetaVersionTest-compression      2     0      0        0       9.903
QueryPagerTest-compression               8     0      0        0       3.086
RMIServerSocketFactoryImplTest-          1     0      0        0       0.077
compression
RemoveTest-compression                   4     0      0        0       4.744
SerializationsTest-compression           4     0      0        0       0.904
StartupChecksTest-compression            3     0      0        0       1.944
StorageProxyTest-compression             4     0      0        0       1.022
StorageServiceServerTest-compression     15    0      0        1       5.874
ActiveRepairServiceTest                  10    0      0        0       5.602
ClientWarningsTest                       4     0      0        0       25.842
DataResolverTest                         18    0      0        0       3.203
EmbeddedCassandraServiceTest             1     0      0        0       5.258
JoinTokenRingTest                        1     0      0        0       6.350
LeaveAndBootstrapTest                    8     0      0        0       6.189
LegacyAuthFailTest                       1     0      0        0       5.123
MigrationManagerTest                     3     0      0        0       4.541
MoveTest                                 7     0      0        0       8.689
NativeTransportServiceTest               11    0      0        0       8.469
PaxosStateTest                           1     0      0        0       5.164
ProtocolBetaVersionTest                  2     0      0        0       10.132
QueryPagerTest                           8     0      0        0       3.384
RMIServerSocketFactoryImplTest           1     0      0        0       0.060
RemoveTest                               4     0      0        0       4.757
SerializationsTest                       4     0      0        0       0.856
StartupChecksTest                        3     0      0        0       2.059
StorageProxyTest                         4     0      0        0       0.978
StorageServiceServerTest                 15    0      0        1       5.747

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

Name                        Tests Errors Failures Skipped Time(s)
PagingStateTest-cdc         7     0      0        0       1.236
PagingStateTest-compression 7     0      0        0       0.954
PagingStateTest             7     0      0        0       0.999

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

Name                               Tests Errors Failures Skipped Time(s)
LongStreamingTest                  1     0      0        0       116.370
SessionInfoTest-cdc                1     0      0        0       0.970
StreamTransferTaskTest-cdc         2     0      0        0       3.228
StreamingTransferTest-cdc          5     0      0        0       6.158
SessionInfoTest-compression        1     0      0        0       0.783
StreamTransferTaskTest-compression 2     0      0        0       3.148
StreamingTransferTest-compression  5     0      0        0       5.538
SessionInfoTest                    1     0      0        0       0.756
StreamTransferTaskTest             2     0      0        0       3.087
StreamingTransferTest              5     0      0        0       5.234

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

Name                                  Tests Errors Failures Skipped Time(s)
CompressedInputStreamTest-cdc         3     0      0        0       1.089
CompressedInputStreamTest-compression 3     0      0        0       0.968
CompressedInputStreamTest             3     0      0        0       0.981

-------------------------------------------------------------------------------
org.apache.cassandra.stress.generate

Name                     Tests Errors Failures Skipped Time(s)
DistributionSequenceTest 4     0      0        0       0.092

-------------------------------------------------------------------------------
org.apache.cassandra.stress.settings

Name                  Tests Errors Failures Skipped Time(s)
OptionReplicationTest 1     0      0        0       0.094
SettingsMiscTest      4     0      0        0       0.089
SettingsNodeTest      2     0      0        0       0.073
StressSettingsTest    1     0      0        0       0.571

-------------------------------------------------------------------------------
org.apache.cassandra.stress.util

Name                  Tests Errors Failures Skipped Time(s)
MultiResultLoggerTest 5     0      0        0       0.077

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

Name                                    Tests Errors Failures Skipped Time(s)
BulkLoaderTest-cdc                      2     0      0        0       3.632
CompactionStressTest-cdc                2     0      0        0       14.696
GetVersionTest-cdc                      1     0      0        0       0.953
LoaderOptionsTest-cdc                   1     0      0        0       0.633
SSTableExpiredBlockersTest-cdc          2     0      0        0       2.077
SSTableExportTest-cdc                   2     0      0        0       1.607
SSTableLevelResetterTest-cdc            2     0      0        0       1.836
SSTableMetadataViewerTest-cdc           2     0      0        0       0.782
SSTableOfflineRelevelTest-cdc           2     0      0        0       1.864
SSTableRepairedAtSetterTest-cdc         2     0      0        0       1.013
StandaloneSSTableUtilTest-cdc           2     0      0        0       1.857
StandaloneScrubberTest-cdc              2     0      0        0       1.980
StandaloneSplitterTest-cdc              1     0      0        0       0.886
StandaloneUpgraderTest-cdc              2     0      0        0       2.184
StandaloneVerifierTest-cdc              2     0      0        0       2.252
BulkLoaderTest-compression              2     0      0        0       3.527
CompactionStressTest-compression        2     0      0        0       14.580
GetVersionTest-compression              1     0      0        0       0.738
LoaderOptionsTest-compression           1     0      0        0       0.529
SSTableExpiredBlockersTest-compression  2     0      0        0       1.896
SSTableExportTest-compression           2     0      0        0       1.656
SSTableLevelResetterTest-compression    2     0      0        0       1.797
SSTableMetadataViewerTest-compression   2     0      0        0       0.804
SSTableOfflineRelevelTest-compression   2     0      0        0       1.796
SSTableRepairedAtSetterTest-compression 2     0      0        0       0.990
StandaloneSSTableUtilTest-compression   2     0      0        0       1.798
StandaloneScrubberTest-compression      2     0      0        0       1.887
StandaloneSplitterTest-compression      1     0      0        0       0.772
StandaloneUpgraderTest-compression      2     0      0        0       1.934
StandaloneVerifierTest-compression      2     0      0        0       1.840
BulkLoaderTest                          2     0      0        0       3.582
CompactionStressTest                    2     0      0        0       14.456
GetVersionTest                          1     0      0        0       0.742
LoaderOptionsTest                       1     0      0        0       0.531
SSTableExpiredBlockersTest              2     0      0        0       1.949
SSTableExportTest                       2     0      0        0       1.902
SSTableLevelResetterTest                2     0      0        0       2.010
SSTableMetadataViewerTest               2     0      0        0       0.889
SSTableOfflineRelevelTest               2     0      0        0       2.297
SSTableRepairedAtSetterTest             2     0      0        0       1.091
StandaloneSSTableUtilTest               2     0      0        0       2.316
StandaloneScrubberTest                  2     0      0        0       2.484
StandaloneSplitterTest                  1     0      0        0       0.971
StandaloneUpgraderTest                  2     0      0        0       2.068
StandaloneVerifierTest                  2     0      0        0       2.022

-------------------------------------------------------------------------------
org.apache.cassandra.tools.nodetool.formatter

Name                         Tests Errors Failures Skipped Time(s)
TableBuilderTest-cdc         6     0      0        0       0.094
TableBuilderTest-compression 6     0      0        0       0.067
TableBuilderTest             6     0      0        0       0.070

-------------------------------------------------------------------------------
org.apache.cassandra.tracing

Name                    Tests Errors Failures Skipped Time(s)
TracingTest-cdc         6     0      0        0       1.001
TracingTest-compression 6     0      0        0       0.763
TracingTest             6     0      0        0       0.970

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

Name                                  Tests Errors Failures Skipped Time(s)
DataTypeTest-cdc                      3     0      0        0       0.377
DynamicLimitTest-cdc                  2     0      0        0       2.846
ErrorMessageTest-cdc                  3     0      0        0       0.362
InflightRequestPayloadTrackerTest-cdc 5     0      0        0       11.030
MessagePayloadTest-cdc                2     0      0        0       10.884
ProtocolErrorTest-cdc                 5     0      0        0       1.123
ProtocolNegotiationTest-cdc           3     0      0        0       20.635
ProtocolVersionTest-cdc               3     0      0        0       0.128
SerDeserTest-cdc                      6     0      0        0       1.844
DataTypeTest-compression              3     0      0        0       0.329
DynamicLimitTest-compression          2     0      0        0       2.529
ErrorMessageTest-compression          3     0      0        0       0.334
InflightRequestPayloadTrackerTest-    5     0      0        0       12.871
compression
MessagePayloadTest-compression        2     0      0        0       10.801
ProtocolErrorTest-compression         5     0      0        0       0.991
ProtocolNegotiationTest-compression   3     0      0        0       17.882
ProtocolVersionTest-compression       3     0      0        0       0.067
SerDeserTest-compression              6     0      0        0       1.150
DataTypeTest                          3     0      0        0       0.468
DynamicLimitTest                      2     0      0        0       3.230
ErrorMessageTest                      3     0      0        0       0.370
InflightRequestPayloadTrackerTest     5     0      0        0       14.126
MessagePayloadTest                    2     0      0        0       11.067
ProtocolErrorTest                     5     0      0        0       0.952
ProtocolNegotiationTest               3     0      0        0       18.614
ProtocolVersionTest                   3     0      0        0       0.068
SerDeserTest                          6     0      0        0       1.011

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

Name                            Tests Errors Failures Skipped Time(s)
TriggerExecutorTest-cdc         9     0      0        0       1.775
TriggersSchemaTest-cdc          4     0      0        0       5.437
TriggersTest-cdc                12    0      0        0       5.171
TriggerExecutorTest-compression 9     0      0        0       1.126
TriggersSchemaTest-compression  4     0      0        0       4.113
TriggersTest-compression        12    0      0        0       6.015
TriggerExecutorTest             9     0      0        0       1.024
TriggersSchemaTest              4     0      0        0       3.817
TriggersTest                    12    0      0        0       6.260

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

Name                                    Tests Errors Failures Skipped Time(s)
LongBitSetTest                          3     0      0        0       38.566
LongBloomFilterTest                     5     0      0        0       305.461
LongBTreeTest                           14    0      0        0       432.685
AbstractIteratorTest-cdc                9     0      0        0       0.095
BTreeTest-cdc                           10    0      0        0       0.391
BitSetTest-cdc                          4     0      0        0       0.641
BloomFilterTest-cdc                     12    0      0        2       0.714
ByteBufferUtilTest-cdc                  11    0      0        0       0.315
BytesReadTrackerTest-cdc                4     0      0        0       0.080
CassandraVersionTest-cdc                7     0      0        0       0.088
CoalescingStrategiesTest-cdc            6     0      0        0       1.398
EstimatedHistogramTest-cdc              6     0      0        0       0.072
FBUtilitiesTest-cdc                     7     0      0        0       0.785
FastByteOperationsTest-cdc              2     0      0        0       4.246
HexTest-cdc                             2     0      0        0       0.257
HistogramBuilderTest-cdc                5     0      0        0       0.122
IntegerIntervalsTest-cdc                6     0      0        0       52.879
IntervalTreeTest-cdc                    3     0      0        0       0.368
JVMStabilityInspectorTest-cdc           3     0      0        0       1.138
JavaUtilsTest-cdc                       1     0      0        0       0.268
MergeIteratorComparisonTest-cdc         16    0      0        0       12.334
MergeIteratorTest-cdc                   1     0      0        0       0.081
MerkleTreeTest-cdc                      14    0      0        0       0.845
MerkleTreesTest-cdc                     13    0      0        0       0.984
NanoTimeToCurrentTimeMillisTest-cdc     1     0      0        0       20.153
NativeLibraryTest-cdc                   2     0      0        0       0.478
NoSpamLoggerTest-cdc                    4     0      0        0       0.086
OverlapIteratorTest-cdc                 1     0      0        0       12.136
SerializationsTest-cdc                  5     0      0        0       2.754
SlidingTimeRateTest-cdc                 7     0      0        0       0.545
StreamingHistogramTest-cdc              5     0      0        0       0.099
TopKSamplerTest-cdc                     3     0      0        0       2.809
AbstractIteratorTest-compression        9     0      0        0       0.080
BTreeTest-compression                   10    0      0        0       0.324
BitSetTest-compression                  4     0      0        0       0.584
BloomFilterTest-compression             12    0      0        2       0.602
ByteBufferUtilTest-compression          11    0      0        0       0.289
BytesReadTrackerTest-compression        4     0      0        0       0.062
CassandraVersionTest-compression        7     0      0        0       0.075
CoalescingStrategiesTest-compression    6     0      0        0       1.266
EstimatedHistogramTest-compression      6     0      0        0       0.065
FBUtilitiesTest-compression             7     0      0        0       0.807
FastByteOperationsTest-compression      2     0      0        0       3.878
HexTest-compression                     2     0      0        0       0.238
HistogramBuilderTest-compression        5     0      0        0       0.099
IntegerIntervalsTest-compression        6     0      0        0       50.872
IntervalTreeTest-compression            3     0      0        0       0.277
JVMStabilityInspectorTest-compression   3     0      0        0       0.867
JavaUtilsTest-compression               1     0      0        0       0.247
MergeIteratorComparisonTest-compression 16    0      0        0       12.277
MergeIteratorTest-compression           1     0      0        0       0.073
MerkleTreeTest-compression              14    0      0        0       0.825
MerkleTreesTest-compression             13    0      0        0       0.910
NanoTimeToCurrentTimeMillisTest-        1     0      0        0       7.017
compression
NativeLibraryTest-compression           2     0      0        0       0.452
NoSpamLoggerTest-compression            4     0      0        0       0.071
OverlapIteratorTest-compression         1     0      0        0       11.031
SerializationsTest-compression          5     0      0        0       2.613
SlidingTimeRateTest-compression         7     0      0        0       0.513
StreamingHistogramTest-compression      5     0      0        0       0.087
TopKSamplerTest-compression             3     0      0        0       2.576
AbstractIteratorTest                    9     0      0        0       0.082
BTreeTest                               10    0      0        0       0.303
BitSetTest                              4     0      0        0       0.535
BloomFilterTest                         12    0      0        2       1.017
ByteBufferUtilTest                      11    0      0        0       0.322
BytesReadTrackerTest                    4     0      0        0       0.071
CassandraVersionTest                    7     0      0        0       0.081
CoalescingStrategiesTest                6     0      0        0       1.274
EstimatedHistogramTest                  6     0      0        0       0.065
FBUtilitiesTest                         7     0      0        0       0.789
FastByteOperationsTest                  2     0      0        0       4.329
HexTest                                 2     0      0        0       0.253
HistogramBuilderTest                    5     0      0        0       0.104
IntegerIntervalsTest                    6     0      0        0       47.364
IntervalTreeTest                        3     0      0        0       0.290
JVMStabilityInspectorTest               3     0      0        0       0.812
JavaUtilsTest                           1     0      0        0       0.293
MergeIteratorComparisonTest             16    0      0        0       13.471
MergeIteratorTest                       1     0      0        0       0.086
MerkleTreeTest                          14    0      0        0       0.773
MerkleTreesTest                         13    0      0        0       0.904
NanoTimeToCurrentTimeMillisTest         1     0      0        0       7.700
NativeLibraryTest                       2     0      0        0       0.488
NoSpamLoggerTest                        4     0      0        0       0.070
OverlapIteratorTest                     1     0      0        0       12.174
SerializationsTest                      5     0      0        0       2.729
SlidingTimeRateTest                     7     0      0        0       0.603
StreamingHistogramTest                  5     0      0        0       0.128
TopKSamplerTest                         3     0      0        0       2.784

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

Name                         Tests Errors Failures Skipped Time(s)
BTreeRemovalTest-cdc         22    0      0        0       0.601
BTreeRemovalTest-compression 22    0      0        0       0.458
BTreeRemovalTest             22    0      0        0       0.468

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

Name                                  Tests Errors Failures Skipped Time(s)
AbstractTransactionalTest-cdc         1     0      0        1       0.073
AccumulatorTest-cdc                   4     0      0        0       0.074
RefCountedTest-cdc                    12    0      0        0       6.167
AbstractTransactionalTest-compression 1     0      0        1       0.049
AccumulatorTest-compression           4     0      0        0       0.061
RefCountedTest-compression            12    0      0        0       6.879
AbstractTransactionalTest             1     0      0        1       0.058
AccumulatorTest                       4     0      0        0       0.075
RefCountedTest                        12    0      0        0       7.169

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

Name                            Tests Errors Failures Skipped Time(s)
LongBufferPoolTest              1     1      0        0       0.307
BufferPoolTest-cdc              33    0      0        0       7.602
NativeAllocatorTest-cdc         1     0      0        0       0.472
BufferPoolTest-compression      33    0      0        0       8.245
NativeAllocatorTest-compression 1     0      0        0       0.393
BufferPoolTest                  33    0      0        0       8.206
NativeAllocatorTest             1     0      0        0       0.402

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

Name                                     Tests Errors Failures Skipped Time(s)
LegacyJMXProgressSupportTest-cdc         5     0      0        0       0.307
LegacyJMXProgressSupportTest-compression 5     0      0        0       0.279
LegacyJMXProgressSupportTest             5     0      0        0       0.285

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

Name                       Tests Errors Failures Skipped Time(s)
VIntCodingTest-cdc         3     0      0        0       0.114
VIntCodingTest-compression 3     0      0        0       0.093
VIntCodingTest             3     0      0        0       0.081

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

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 0x7f34af949400>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f34945d6310>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f34b132d3a0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f34946377f0>
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_multidatacenter_local_quorum // Failure
AssertionError: assert 48 == 49 + where 49 = <bound method
JolokiaAgent.read_attribute of <tools.jmxutils.JolokiaAgent object at
0x7fc6fe92be50>>('org.apache.cassandra.metrics:
type=ThreadPools,path=request,scope=ReadStage,name=CompletedTasks', 'Value') + where
<bound method JolokiaAgent.read_attribute of <tools.jmxutils.JolokiaAgent object at
0x7fc6fe92be50>> = <tools.jmxutils.JolokiaAgent object at
0x7fc6fe92be50>.read_attribute

self = <snitch_test.TestDynamicEndpointSnitch object at 0x7fc70026f670>

@pytest.mark.resource_intensive
@since('3.10')
def test_multidatacenter_local_quorum(self):
'''
@jira_ticket CASSANDRA-13074

If we do only local datacenters reads in a multidatacenter DES setup,
DES should take effect and route around a degraded node
'''

def no_cross_dc(scores, cross_dc_nodes):
return all('/' + k.address() not in scores for k in cross_dc_nodes)

def snitchable(scores_before, scores_after, needed_nodes):
return all('/' + k.address() in scores_before and '/' + k.address()
in scores_after for k in needed_nodes)

cluster = self.cluster
cluster.populate([3, 3])
coordinator_node, healthy_node, degraded_node, node4, node5, node6 = cluster.nodelist
()
# increase DES reset/update interval so we clear any cross-DC startup reads faster
cluster.set_configuration_options(values={'dynamic_snitch_reset_interval_in_ms':
10000,
'dynamic_snitch_update_interval_in_ms': 50,
'phi_convict_threshold': 12})
remove_perf_disable_shared_mem(coordinator_node)
remove_perf_disable_shared_mem(degraded_node)
# Delay reads on the degraded node by 50 milliseconds
degraded_node.start(jvm_args=['-Dcassandra.test.read_iteration_delay_ms=50',
'-Dcassandra.allow_unsafe_join=true'])
cluster.start(wait_for_binary_proto=30, wait_other_notice=True)

des = make_mbean('db', type='DynamicEndpointSnitch')
read_stage = make_mbean('metrics', type='ThreadPools', path='request',
scope='ReadStage', name='CompletedTasks')
session = self.patient_exclusive_cql_connection(coordinator_node)
session.execute("CREATE KEYSPACE snitchtestks WITH replication = {'class':
'NetworkTopologyStrategy', 'dc1': 3, 'dc2': 3}")
session.execute("CREATE TABLE snitchtestks.tbl1 (key int PRIMARY KEY) WITH
speculative_retry = 'NONE'")
read_stmt = session.prepare("SELECT * FROM snitchtestks.tbl1 where key = ?")
read_stmt.consistency_level = ConsistencyLevel.LOCAL_QUORUM
insert_stmt = session.prepare("INSERT INTO snitchtestks.tbl1 (key) VALUES (?)")
insert_stmt.consistency_level = ConsistencyLevel.ALL
with JolokiaAgent(coordinator_node) as jmx:
with JolokiaAgent(degraded_node) as bad_jmx:
for x in range(0, 300):
session.execute(insert_stmt, [x])

cleared = False
# Wait for a snitch reset in case any earlier
# startup process populated cross-DC read timings
while not cleared:
scores = jmx.read_attribute(des, 'Scores')
cleared = ('/127.0.0.1' in scores and (len(scores) == 1)) or not scores

snitchable_count = 0

for x in range(0, 300):
degraded_reads_before = bad_jmx.read_attribute(read_stage, 'Value')
scores_before = jmx.read_attribute(des, 'Scores')
assert no_cross_dc(scores_before, [node4, node5, node6]), "Cross DC scores were
present: " + str(scores_before)
future = session.execute_async(read_stmt, [x])
future.result()
scores_after = jmx.read_attribute(des, 'Scores')
assert no_cross_dc(scores_after, [node4, node5, node6]), "Cross DC scores were
present: " + str(scores_after)

if snitchable(scores_before, scores_after,
[coordinator_node, healthy_node, degraded_node]):
snitchable_count = snitchable_count + 1
# If the DES correctly routed the read around the degraded node,
# it shouldn't have another completed read request in metrics
> assert (degraded_reads_before ==
bad_jmx.read_attribute(read_stage, 'Value'))
E AssertionError: assert 48 == 49
E + where 49 = <bound method JolokiaAgent.read_attribute of
<tools.jmxutils.JolokiaAgent object at 0x7fc6fe92be50>>
('org.apache.cassandra.metrics:
type=ThreadPools,path=request,scope=ReadStage,name=CompletedTasks', 'Value')
E + where <bound method JolokiaAgent.read_attribute of <tools.jmxutils.JolokiaAgent
object at 0x7fc6fe92be50>> = <tools.jmxutils.JolokiaAgent object at
0x7fc6fe92be50>.read_attribute

snitch_test.py:207: AssertionError
-------------------------------------------------------------------------------------
Cassandra dtests // test_archiving // Error
test teardown failure

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

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f906987bf10>
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_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 0x7f906987baf0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f90683787f0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f906b2794c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f9069984220>
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_remove_column_ttl_with_default_ttl // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_remove_column_ttl_with_default_ttl'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f906987baf0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f90682cb160>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f906b2794c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f90682bd940>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_remove_column_ttl_with_default_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_large_collection_errors // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_large_collection_errors'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f884840fcd0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f8848702ee0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f8849a8f430>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

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

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
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_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 0x7f884840fcd0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f88450087c0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f8849a8f430>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f8847732070>
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_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 0x7f64ecf7d430>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f64ed136a90>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f64ee7af550>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f64ed136400>
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_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 0x7f64ecf7d430>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f64e5483e50>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f64ee7af550>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f64e548e610>
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 0x7f64ecf7d430>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f64e407b910>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f64ee7af550>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f64ecdee310>
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 0x7f480a9a8c70>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f480a9a8c40>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f480c12d3a0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f480a9a8490>
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_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 0x7f8cbedbae50>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f8cbedba280>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f8cc07784c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f8cbedbae20>
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_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 0x7fb69c066190>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fb6997b86a0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fb69da76550>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fb69c6fcf70>
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_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 0x7fdd2de07ee0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fdd1fec1f10>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fdd2f816430>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fdcede28e20>
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_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 0x7f7c03435cd0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f7c03825e80>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f7c04e14550>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f7c03a78b50>
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 0x7f7c03435cd0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f7beb405a60>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f7c04e14550>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f7beb405dc0>
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_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 0x7fee61682e20>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fee618b72b0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fee62f72550>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fee618e6160>
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_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 0x7f248c009b20>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f248c009ac0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f248d9285e0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f248c009760>
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_json_tools // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_json_tools'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f248c009b20>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f248c510c10>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f248d9285e0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

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

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
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 0x7fe192a70e20>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fe192aa8df0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fe194392550>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fe192b335b0>
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 0x7f69bed92250>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f69bed30400>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f69c0474430>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f69bed2dbe0>
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_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 0x7f69bed92250>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f69a5b495b0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f69c0474430>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f69a6d98520>
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_decommission // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_decommission'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fcca1eb3730>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fcca1e70c70>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fcca35dc670>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fcca2335af0>
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 // Failure
cassandra.OperationTimedOut: errors={'127.0.0.2': 'Client request timeout. See
Session.execute[_async](timeout)'}, last_host=127.0.0.2

self = <materialized_views_test.TestMaterializedViews object at 0x7fdc3423ee50>

def test_view_metadata_cleanup(self):
"""
drop keyspace or view should clear built_views and view_build_status
"""
session = self.prepare(rf=2, nodes=2)

def populate_data(session, rows):
logger.debug("populate base data")
for v in range(rows):
session.execute("INSERT INTO t(k,c,a,b,e,f) VALUES({v},{v},{v},{v},{v},{v})".format
(v=v))

def verify_data(session, rows, views):
logger.debug("verify view data")
for v in range(rows):
for view in range(views):
assert_one(session, "SELECT * FROM mv{} WHERE k={v} AND c={v}".format(view, v=v), [v,
v, v, v, v, v])

def create_keyspace(session, ks="ks1", rf=2):
create_ks(session, ks, rf)

def create_table(session):
logger.debug("create base table")
session.execute("CREATE TABLE t (k int, c int, a int, b int, e int, f int, primary
key(k, c))")

def create_views(session, views, keyspace="ks1"):
logger.debug("create view")
for view in range(views):
session.execute("CREATE MATERIALIZED VIEW mv{} AS SELECT * FROM t "
"WHERE k IS NOT NULL AND c IS NOT NULL PRIMARY KEY (c,k)".format(view))
for view in range(views):
self._wait_for_view(keyspace, "mv{}".format(view))

def drop_keyspace(session, keyspace="ks1"):
logger.debug("drop keyspace {}".format(keyspace))
session.execute("DROP KEYSPACE IF EXISTS {}".format(keyspace))

def drop_views(session, views):
logger.debug("drop all views")
for view in range(views):
session.execute("DROP MATERIALIZED VIEW IF EXISTS mv{}".format(view))

rows = 100
views = 5

create_keyspace(session)
create_table(session)
populate_data(session, rows)
create_views(session, views)
verify_data(session, rows, views)

self._assert_view_meta(session, views)
> drop_keyspace(session)

materialized_views_test.py:235:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
materialized_views_test.py:218: in drop_keyspace
session.execute("DROP KEYSPACE IF EXISTS {}".format(keyspace))
../venv/src/cassandra-driver/cassandra/cluster.py:2134: in execute
return self.execute_async(query, parameters, trace, custom_payload, timeout,
execution_profile, paging_state).result()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <ResponseFuture: query='<SimpleStatement query="DROP KEYSPACE IF EXISTS ks1",
consistency=Not Set>' request_id=32 resu...127.0.0.2': 'Client request timeout. See
Session.execute[_async](timeout)'}, last_host=127.0.0.2 coordinator_host=None>

def result(self):
"""
Return the final result or raise an Exception if errors were
encountered. If the final result or error has not been set
yet, this method will block until it is set, or the timeout
set for the request expires.

Timeout is specified in the Session request execution functions.
If the timeout is exceeded, an :exc:`cassandra.OperationTimedOut` will be raised.
This is a client-side timeout. For more information
about server-side coordinator timeouts, see :class:`.policies.RetryPolicy`.

Example usage::

>>> future = session.execute_async("SELECT * FROM mycf")
>>> # do other stuff...

>>> try:
... rows = future.result()
... for row in rows:
... ... # process results
... except Exception:
... log.exception("Operation failed:")

"""
self._event.wait()
if self._final_result is not _NOT_SET:
return ResultSet(self, self._final_result)
else:
> raise self._final_exception
E cassandra.OperationTimedOut: errors={'127.0.0.2': 'Client request timeout. See
Session.execute[_async](timeout)'}, last_host=127.0.0.2

../venv/src/cassandra-driver/cassandra/cluster.py:4026: OperationTimedOut
-------------------------------------------------------------------------------------
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 0x7fdc34083e50>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fdc133e7c10>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fdc35a4b4c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fdc133e7af0>
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_bootstrap // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_bootstrap'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fdc34083e50>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fdc34401040>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fdc35a4b4c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fdc34401700>
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_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 0x7fdbc6d3a9a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fdbc6276280>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fdbc86fe4c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fdbc6276f70>
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_force // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_force'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fdbc6d3a9a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fdbc70e2e80>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fdbc86fe4c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fdbc72f50d0>
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_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 0x7fa929d80940>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fa928405af0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fa92b745430>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fa928405310>
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_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 0x7fa929d80940>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fa928430940>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fa92b745430>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fa92a385370>
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_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 0x7fa929d80940>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fa91847f2e0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fa92b745430>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fa929dbf4c0>
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_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 0x7fe1f39abd90>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fe1f2d484c0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fe1f5373550>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fe1f2d482e0>
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 0x7fe1f39abd90>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fe1f4049bb0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fe1f5373550>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fe1f4049f10>
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_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 0x7fe1f39abd90>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fe1f3d46cd0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fe1f5373550>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fe1f3b78430>
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_hosts // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_hosts'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fe1f39abd90>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fe1f3d393d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fe1f5373550>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fe1f3b177c0>
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_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 0x7fd0eebc5d30>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fd0eed74760>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fd0f056d4c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fd0eef40250>
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 0x7fd0eebc5d30>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fd0eeee8d90>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fd0f056d4c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fd0eebf8d60>
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_decommission // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_decommission'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f45bb2ee040>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f45bad76be0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f45bc57b550>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f45bad61ee0>
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 0x7f45bb2ee040>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f45bad6be20>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f45bc57b550>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f45b8ad3cd0>
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 0x7fa2d7500160>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fa2d75525e0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fa2d8f13430>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fa2d7534d00>
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_remove // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_remove'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fa2d7500160>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fa2d6b18af0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fa2d8f13430>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fa2d6b18490>
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 0x7fa2d7500160>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fa2d7d8fc40>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fa2d8f13430>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fa2d7a53850>
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 0x7f7b32aec520>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f7b32c43d90>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f7b345033a0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f7b3337b520>
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_replace // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_replace'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f7b32aec520>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f7b18628f40>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f7b345033a0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f7b18628310>
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 0x7f7b32aec520>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f7b331c3370>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f7b345033a0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f7b32103fd0>
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_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 0x7f5906cd0af0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f590713caf0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f590865b430>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f5906ed2a30>
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 0x7f5906cd0af0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f59074d7ac0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f590865b430>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f59074d7b50>
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 0x7f2306d01250>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f2306d01eb0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f230852e4c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f2306d4e460>
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_speculative_write // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_speculative_write'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f2306d01250>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f230478c0d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f230852e4c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f230718cf40>
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_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 0x7f2306d01250>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f2307193f40>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f230852e4c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f2306de3940>
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_transient_write // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_transient_write'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fde434577c0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fde4367a160>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fde44deb5e0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fde4367a760>
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_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 0x7f44e5fba820>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f44e5296790>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f44e7a15550>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f44e536dbe0>
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_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 0x7f44e5fba820>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f44e57a15e0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f44e7a15550>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f44e57a17f0>
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_srp // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_srp'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fdcc7a3e9a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fdcc7fbcdc0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fdcc9491550>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fdcc7fbcca0>
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 0x7fdac3501c10>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fdac3d17d90>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fdac4e6b550>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fdac3d12bb0>
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_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 0x7fdac3501c10>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fdac2c078e0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fdac4e6b550>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fdac39f8580>
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_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 0x7fdac3501c10>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fdac2be8610>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fdac4e6b550>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fdac3b2d9d0>
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 0x7fc9b9ab6820>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fc9ba35d580>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fc9bb4ff4c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fc9b9ab6670>
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_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 0x7fc9b9ab6820>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fc9ba8799a0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fc9bb4ff4c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fc9ba106b20>
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_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 0x7fc9b9ab6820>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fc9b9aa8730>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fc9bb4ff4c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fc9b9cda460>
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_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 0x7fc9b9ab6820>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fc9ba265d00>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fc9bb4ff4c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fc9ba101820>
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 0x7f590784bdc0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f590784bca0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f590929b550>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f5908163340>
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 0x7f590784bdc0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f58e7fc1d30>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f590929b550>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f5907850910>
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_cheap_quorums // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_cheap_quorums'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f590784bdc0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f59079fdc70>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f590929b550>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f5907e7a670>
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_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 0x7fa2fbefbb80>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fa2fc5c3220>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fa2fd76b3a0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fa2fbdd9250>
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_sjk // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_sjk'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fa2fbefbb80>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fa2fb50a2b0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fa2fd76b3a0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fa2fb49da60>
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_speculative_write // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_speculative_write'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fa2fbefbb80>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fa2fbe285e0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fa2fd76b3a0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fa2fbe40400>
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 0x7f75e30725e0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f75e3077400>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f75e4987430>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f75e308c550>
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_revoked_login // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_revoked_login'>>
dtest_config = <dtest_config.DTestConfig object at 0x7ff1f2232c10>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7ff1f2243730>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7ff1f3b394c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7ff1f23d5550>
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_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 0x7ff1f2232c10>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7ff1f17a0190>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7ff1f3b394c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7ff1f1772e50>
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 0x7ff1f2232c10>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7ff1f23f4a30>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7ff1f3b394c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7ff1f23f4250>
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 0x7ff1f2232c10>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7ff1f1867fa0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7ff1f3b394c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7ff1f18bb2e0>
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_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 0x7f2951e5d8e0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f2942bedeb0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f29537cf430>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f2942bed400>
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_mutation_v2 // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_mutation_v2'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f2951e5d8e0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f2942f2d730>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f29537cf430>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

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

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
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 0x7fb3c91e6b20>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fb3c91e6ac0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fb3caa0b3a0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fb3c928a160>
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_quorum_requirement // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_quorum_requirement'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fb3c91e6b20>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fb3c962ee50>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fb3caa0b3a0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fb3c85ead60>
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_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 0x7f89cdef5850>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f89ce084ac0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f89cf8664c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f89ce084970>
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_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 0x7f0218bddeb0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f021a4fb0a0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f021a553430>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f0218350c40>
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_compaction_delete[LeveledCompactionStrategy] // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_compaction_delete
[LeveledCompactionStrategy]'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f81b1a1ce80>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f81b0119160>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f81b33b8700>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f81b0112a90>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_compaction_delete
[LeveledCompactionStrategy]'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
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 0x7f81b1a1ce80>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f81b1c2dbe0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f81b33b8700>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f81b1c2d130>
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 0x7f81b1a1ce80>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f81b1ad1670>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f81b33b8700>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f81b1ad1b20>
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_compaction_delete[SizeTieredCompactionStrategy] // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_compaction_delete
[SizeTieredCompactionStrategy]'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fc50ac08070>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fc5093fb460>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fc50c62a5e0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fc508382dc0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_compaction_delete
[SizeTieredCompactionStrategy]'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
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 0x7fc50ac08070>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fc50a010640>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fc50c62a5e0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fc509fc8760>
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_compaction_delete[DateTieredCompactionStrategy] // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_compaction_delete
[DateTieredCompactionStrategy]'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f34673d1b80>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f346742c0d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f3468bcf430>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f34673c44f0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_compaction_delete
[DateTieredCompactionStrategy]'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
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 0x7f34673d1b80>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f34679ed460>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f3468bcf430>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f3467787c70>
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_replay // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_replay'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f74f1c3df70>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f74f02d55b0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f74f35eb5e0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f74f0254820>
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_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 0x7f74f1c3df70>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f74f240f190>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f74f35eb5e0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f74f22c7b80>
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_compare // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_compare'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f90e07eeeb0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f90dd5b9040>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f90e219b5e0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

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

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
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 0x7f90e07eeeb0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f90dff35be0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f90e219b5e0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f90dff350a0>
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_compare_mismatch // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_compare_mismatch'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fd5473be8b0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fd5440f09a0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fd548d7b430>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

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

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
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 0x7fd5473be8b0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fd5441e65e0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fd548d7b430>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fd5440f0250>
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_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 0x7fc0c5b76df0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fc0c4125580>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fc0c7522550>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fc0c4125220>
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_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 0x7f9db7159e80>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f9db4e7c340>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f9db8b15430>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f9db44c6670>
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_archive_on_shutdown // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_archive_on_shutdown'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fefe39c2fa0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fefe39c25e0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fefe51e2430>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

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

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
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_on_speculated_read // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_quorum_requirement_on_speculated_read'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fefe39c2fa0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fefe40637f0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fefe51e2430>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fefe00e3cd0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_quorum_requirement_on_speculated_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_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 0x7fee231b2ee0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fee22828cd0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fee24b714c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fee227e63d0>
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_optional_outbound_tls // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_optional_outbound_tls'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f0356620eb0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f03559afd60>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f0357fd95e0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

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

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
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 0x7f0356620eb0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f0356caf190>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f0357fd95e0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f0354cb8c10>
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_hintedhandoff_setmaxwindow // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_hintedhandoff_setmaxwindow'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fd496c3f0a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fd49529be50>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fd4985e94c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

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

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

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

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_always_speculate'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fd496c3f0a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fd47e3d2820>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fd4985e94c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

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

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

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

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_custom_speculate'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fed1f4aa880>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fed1f5401c0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fed20e68310>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

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

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
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_with_stopped_build // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_drop_with_stopped_build'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f36b5365700>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f36b570a4c0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f36b6b294c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

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

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

dtest_setup.py:352: AttributeError
-------------------------------------------------------------------------------------
Cassandra dtests // internal // Error
internal error

Traceback (most recent call last):
File "/home/cassandra/cassandra/venv/lib/python3.8/site-packages/_pytest/main.py",
line 178, in wrap_session
session.exitstatus = doit(config, session) or 0
File "/home/cassandra/cassandra/venv/lib/python3.8/site-packages/_pytest/main.py",
line 215, in _main
config.hook.pytest_runtestloop(session=session)
File "/home/cassandra/cassandra/venv/lib/python3.8/site-packages/pluggy/hooks.py",
line 258, in __call__
return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
File "/home/cassandra/cassandra/venv/lib/python3.8/site-packages/pluggy/manager.py",
line 67, in _hookexec
return self._inner_hookexec(hook, methods, kwargs)
File "/home/cassandra/cassandra/venv/lib/python3.8/site-packages/pluggy/manager.py",
line 59, in <lambda>
hook.multicall(
File "/home/cassandra/cassandra/venv/lib/python3.8/site-packages/pluggy/callers.py",
line 201, in _multicall
return outcome.get_result()
File "/home/cassandra/cassandra/venv/lib/python3.8/site-packages/pluggy/callers.py",
line 76, in get_result
raise ex[1].with_traceback(ex[2])
File "/home/cassandra/cassandra/venv/lib/python3.8/site-packages/pluggy/callers.py",
line 180, in _multicall
res = hook_impl.function(*args)
File "/home/cassandra/cassandra/venv/lib/python3.8/site-packages/_pytest/main.py",
line 236, in pytest_runtestloop
item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
File "/home/cassandra/cassandra/venv/lib/python3.8/site-packages/pluggy/hooks.py",
line 258, in __call__
return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
File "/home/cassandra/cassandra/venv/lib/python3.8/site-packages/pluggy/manager.py",
line 67, in _hookexec
return self._inner_hookexec(hook, methods, kwargs)
File "/home/cassandra/cassandra/venv/lib/python3.8/site-packages/pluggy/manager.py",
line 59, in <lambda>
hook.multicall(
File "/home/cassandra/cassandra/venv/lib/python3.8/site-packages/pluggy/callers.py",
line 201, in _multicall
return outcome.get_result()
File "/home/cassandra/cassandra/venv/lib/python3.8/site-packages/pluggy/callers.py",
line 76, in get_result
raise ex[1].with_traceback(ex[2])
File "/home/cassandra/cassandra/venv/lib/python3.8/site-packages/pluggy/callers.py",
line 180, in _multicall
res = hook_impl.function(*args)
File "/home/cassandra/cassandra/venv/lib/python3.8/site-packages/flaky/
flaky_pytest_plugin.py", line 94, in pytest_runtest_protocol
self.runner.pytest_runtest_protocol(item, nextitem)
File "/home/cassandra/cassandra/venv/lib/python3.8/site-packages/_pytest/runner.py",
line 64, in pytest_runtest_protocol
runtestprotocol(item, nextitem=nextitem)
File "/home/cassandra/cassandra/venv/lib/python3.8/site-packages/_pytest/runner.py",
line 79, in runtestprotocol
reports.append(call_and_report(item, "call", log))
File "/home/cassandra/cassandra/venv/lib/python3.8/site-packages/flaky/
flaky_pytest_plugin.py", line 150, in call_and_report
if self._will_handle_test_error_or_failure(item, name, err):
File "/home/cassandra/cassandra/venv/lib/python3.8/site-packages/flaky/
_flaky_plugin.py", line 152, in _will_handle_test_error_or_failure
return self._should_handle_test_error_or_failure(test) and self._should_rerun_test
(test, name, err)
File "/home/cassandra/cassandra/venv/lib/python3.8/site-packages/flaky/
_flaky_plugin.py", line 227, in _should_rerun_test
return rerun_filter(err, name, test, self)
File "/home/cassandra/cassandra/venv/lib/python3.8/site-packages/flaky/defaults.py",
line 24, in __call__
return self._filter(*args, **kwargs)
File "/home/cassandra/cassandra/cassandra-dtest/dtest.py", line 222, in
test_failure_due_to_timeout
cleanup_docker_environment_before_test_execution()
File "/home/cassandra/cassandra/cassandra-dtest/dtest.py", line 180, in
cleanup_docker_environment_before_test_execution
p_kill.wait(timeout=10)
File "/usr/lib/python3.8/subprocess.py", line 1079, in wait
return self._wait(timeout=timeout)
File "/usr/lib/python3.8/subprocess.py", line 1796, in _wait
raise TimeoutExpired(self.args, timeout)
subprocess.TimeoutExpired: Command 'ps aux | grep -ie CassandraDaemon | grep java |
grep -v grep | awk '{print $2}' | xargs kill -9' timed out after 10 seconds
-------------------------------------------------------------------------------------
Cassandra dtests // test_resume_stopped_build // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_resume_stopped_build'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f0cc78b3910>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f0cc7d64310>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f0cc908b4c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

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

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

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

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_wide_row_repair'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f9f60494100>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f9f5c65cc10>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f9f61bfe550>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f9f5c65c9a0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_wide_row_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_monotonic_reads[blocking] // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_monotonic_reads
[blocking]'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fd77cfc9220>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fd77d010e50>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fd77e7f23a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fd77c04d3d0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_monotonic_reads
[blocking]'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
-------------------------------------------------------------------------------------
Cassandra dtests // test_datetimeformat_round_trip_40 // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_datetimeformat_round_trip_40'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fd77cfc9220>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fd77d5557c0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fd77e7f23a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fd77c53b2e0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_datetimeformat_round_trip_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_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 0x7f11ca2ba400>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f11ca7a81f0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f11cbadb550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f11ca7b59a0>
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_failed_read_repair // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_failed_read_repair'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f11ca2ba400>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f11c8888850>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f11cbadb550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f11c8888d60>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_failed_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_monotonic_reads[none] // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_monotonic_reads
[none]'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f56d5b9f700>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f56d40a5760>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f56d75c3430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f56d405c4c0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_monotonic_reads
[none]'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
-------------------------------------------------------------------------------------
Cassandra dtests // test_multi_dc_tokens_default // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_multi_dc_tokens_default'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f56d5b9f700>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f56d4120940>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f56d75c3430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f56d6231dc0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_multi_dc_tokens_default'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
-------------------------------------------------------------------------------------
Cassandra dtests // test_atomic_writes[blocking] // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_atomic_writes
[blocking]'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fca03743b80>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fca02cf6e20>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fca050fd430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fca02d9b100>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_atomic_writes
[blocking]'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
-------------------------------------------------------------------------------------
Cassandra dtests // test_multi_dc_tokens_murmur3 // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_multi_dc_tokens_murmur3'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fca03743b80>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fca02e69e20>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fca050fd430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fca02bb0f70>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_multi_dc_tokens_murmur3'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
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_repair // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_consistent_repair'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fca03743b80>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fca006bde20>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fca050fd430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fca006bf2b0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_consistent_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_atomic_writes[none] // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_atomic_writes
[none]'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f712d1267c0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f712c728c10>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f712eae0550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f712d74edf0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_atomic_writes
[none]'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
-------------------------------------------------------------------------------------
Cassandra dtests // test_multi_dc_tokens_random // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_multi_dc_tokens_random'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f712d1267c0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f712c879eb0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f712eae0550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f712c7fe880>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_multi_dc_tokens_random'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
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_fail // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_manual_session_fail'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f712d1267c0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f712d3605b0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f712eae0550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f712d117b20>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_manual_session_fail'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
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 0x7f3cd46f1df0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f3cd46f1e50>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f3cd60663a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f3cd46fc490>
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_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 0x7f3cd46f1df0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f3cd0c18400>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f3cd60663a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f3cd0722e20>
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_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 0x7ffad3d3df10>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7ffa886c2490>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7ffad54d63a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7ffa886d87c0>
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_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 0x7fd8af019040>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fd8af4704c0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fd8b08784c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fd8ac03b760>
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_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 0x7f3572e34e50>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f3572e34eb0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f35747cb4c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f3572e365b0>
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_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 0x7f3572e34e50>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f3573135880>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f35747cb4c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f3558a6e970>
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_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 0x7f466fa89430>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f466fa21b20>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f467136f5e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f466fbfeee0>
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_json_tools // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_json_tools'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f466fa89430>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f466d80d2e0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f467136f5e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f466d811160>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_json_tools'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
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_column_ttl_with_default_ttl // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_remove_column_ttl_with_default_ttl'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fc8a37526d0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fc8a3c4d1f0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fc8a50624c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fc8a2df02e0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_remove_column_ttl_with_default_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_view_metadata_cleanup // Failure
cassandra.OperationTimedOut: errors={'127.0.0.1': 'Client request timeout. See
Session.execute[_async](timeout)'}, last_host=127.0.0.1

self = <materialized_views_test.TestMaterializedViews object at 0x7f1ed14fb7f0>

def test_view_metadata_cleanup(self):
"""
drop keyspace or view should clear built_views and view_build_status
"""
session = self.prepare(rf=2, nodes=2)

def populate_data(session, rows):
logger.debug("populate base data")
for v in range(rows):
session.execute("INSERT INTO t(k,c,a,b,e,f) VALUES({v},{v},{v},{v},{v},{v})".format
(v=v))

def verify_data(session, rows, views):
logger.debug("verify view data")
for v in range(rows):
for view in range(views):
assert_one(session, "SELECT * FROM mv{} WHERE k={v} AND c={v}".format(view, v=v), [v,
v, v, v, v, v])

def create_keyspace(session, ks="ks1", rf=2):
create_ks(session, ks, rf)

def create_table(session):
logger.debug("create base table")
session.execute("CREATE TABLE t (k int, c int, a int, b int, e int, f int, primary
key(k, c))")

def create_views(session, views, keyspace="ks1"):
logger.debug("create view")
for view in range(views):
session.execute("CREATE MATERIALIZED VIEW mv{} AS SELECT * FROM t "
"WHERE k IS NOT NULL AND c IS NOT NULL PRIMARY KEY (c,k)".format(view))
for view in range(views):
self._wait_for_view(keyspace, "mv{}".format(view))

def drop_keyspace(session, keyspace="ks1"):
logger.debug("drop keyspace {}".format(keyspace))
session.execute("DROP KEYSPACE IF EXISTS {}".format(keyspace))

def drop_views(session, views):
logger.debug("drop all views")
for view in range(views):
session.execute("DROP MATERIALIZED VIEW IF EXISTS mv{}".format(view))

rows = 100
views = 5

create_keyspace(session)
create_table(session)
populate_data(session, rows)
create_views(session, views)
verify_data(session, rows, views)

self._assert_view_meta(session, views)
> drop_keyspace(session)

materialized_views_test.py:235:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
materialized_views_test.py:218: in drop_keyspace
session.execute("DROP KEYSPACE IF EXISTS {}".format(keyspace))
../venv/src/cassandra-driver/cassandra/cluster.py:2134: in execute
return self.execute_async(query, parameters, trace, custom_payload, timeout,
execution_profile, paging_state).result()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <ResponseFuture: query='<SimpleStatement query="DROP KEYSPACE IF EXISTS ks1",
consistency=Not Set>' request_id=40 resu...127.0.0.1': 'Client request timeout. See
Session.execute[_async](timeout)'}, last_host=127.0.0.1 coordinator_host=None>

def result(self):
"""
Return the final result or raise an Exception if errors were
encountered. If the final result or error has not been set
yet, this method will block until it is set, or the timeout
set for the request expires.

Timeout is specified in the Session request execution functions.
If the timeout is exceeded, an :exc:`cassandra.OperationTimedOut` will be raised.
This is a client-side timeout. For more information
about server-side coordinator timeouts, see :class:`.policies.RetryPolicy`.

Example usage::

>>> future = session.execute_async("SELECT * FROM mycf")
>>> # do other stuff...

>>> try:
... rows = future.result()
... for row in rows:
... ... # process results
... except Exception:
... log.exception("Operation failed:")

"""
self._event.wait()
if self._final_result is not _NOT_SET:
return ResultSet(self, self._final_result)
else:
> raise self._final_exception
E cassandra.OperationTimedOut: errors={'127.0.0.1': 'Client request timeout. See
Session.execute[_async](timeout)'}, last_host=127.0.0.1

../venv/src/cassandra-driver/cassandra/cluster.py:4026: OperationTimedOut
-------------------------------------------------------------------------------------
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 0x7f0ee0edd250>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f0ee0f7c8b0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f0ee2773670>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f0ee0478d00>
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_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 0x7fd8ab18c520>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fd8ab18c580>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fd8ac9d84c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fd8ab073640>
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_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 0x7f30a01b4880>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f30a028e640>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f30a18b64c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f30a1870970>
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_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 0x7eff5d1186d0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7eff5d118640>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7eff5e95e4c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7eff5cff7040>
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_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 0x7eff5d1186d0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7eff5d630070>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7eff5e95e4c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7eff5d5c3b50>
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 0x7eff5d1186d0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7eff5cf43340>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7eff5e95e4c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7eff5cf43970>
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_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 0x7fa08f12aa30>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fa08e194250>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fa090a1d5e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fa08f6a6a90>
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_datetimeformat_round_trip_40 // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_datetimeformat_round_trip_40'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fa08f12aa30>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fa08f1d5a90>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fa090a1d5e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fa08e70b610>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_datetimeformat_round_trip_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_consistent_repair // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_consistent_repair'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fc582ad9e20>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fc58224f4f0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fc5844875e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fc5821a8a60>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_consistent_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_manual_session_fail // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_manual_session_fail'>>
dtest_config = <dtest_config.DTestConfig object at 0x7faea6d8a190>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fae8fe57520>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7faea85d2430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7faea4317bb0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_manual_session_fail'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
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 0x7ff64d8ae3a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7ff64ce42760>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7ff64f2cb430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7ff63d1afd90>
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_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 0x7ff64d8ae3a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7ff63d329280>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7ff64f2cb430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7ff64db02130>
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_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 0x7f3ee802a0d0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f3ee83a6a00>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f3ee98194c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f3ee83a6100>
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 0x7f3ee802a0d0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f3ee5db39a0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f3ee98194c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f3ee7e8a280>
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_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 0x7f8301d8df40>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f830222e0a0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f830359c550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f830226cd60>
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_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 0x7f32b59d1940>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f32b6043a90>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f32b722c430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f32b5a1cbb0>
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_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 0x7facec86e2e0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7faceceaca30>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7facee0485e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7facecef44c0>
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_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 0x7ff9a633c3d0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7ff9a69a3a00>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7ff9a7af0430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7ff9a69b44f0>
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_archiving_fql // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_archiving_fql'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f1fd735c9d0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f1fd735c9a0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f1fd8d0b5e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f1fd735c160>
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_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 0x7f1fd735c9d0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f1fd482a550>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f1fd8d0b5e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f1fd489aee0>
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_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 0x7f56455edbb0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f56443f5fa0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f5646df75e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f5646dbfa60>
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_sjk // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_sjk'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f41d632d640>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f41d58cec40>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f41d7a575e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f41d58ced00>
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_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 0x7f2074084fd0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f2074181730>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f207595e550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f20741ada90>
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_force // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_force'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f2074084fd0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f207337cfd0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f207595e550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f20734e50d0>
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_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 0x7feaa068feb0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7feaa068d3d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7feaa1f61670>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7feaa0e241c0>
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_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 0x7feaa068feb0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7feaa0a6e0a0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7feaa1f61670>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7feaa0a68940>
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_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 0x7ffb87e24c40>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7ffb863d50a0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7ffb8954d430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7ffb883dad30>
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_hosts // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_hosts'>>
dtest_config = <dtest_config.DTestConfig object at 0x7ffb87e24c40>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7ffb8424a1f0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7ffb8954d430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7ffb87dd34c0>
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_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 0x7f16bd407490>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f16bd9f56d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f16beb32430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f16bd378760>
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_subrange // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_subrange'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f16bd407490>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f16bd528580>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f16beb32430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f16bd7902b0>
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_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 0x7f7d062aaa30>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f7d062918b0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f7d079ce550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f7d0629b610>
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_optional_outbound_tls // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_optional_outbound_tls'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f7d062aaa30>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f7d046b3820>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f7d079ce550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f7d046b3e50>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_optional_outbound_tls'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
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 0x7f7d062aaa30>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f7d0467e190>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f7d079ce550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f7d04660280>
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_revoked_login // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_revoked_login'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f23d80709a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f23d7f3bfa0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f23d98ca5e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f23d8110790>
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_compaction_delete[LeveledCompactionStrategy] // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_compaction_delete
[LeveledCompactionStrategy]'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f23d80709a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f23d807ec70>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f23d98ca5e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f23d7f369a0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_compaction_delete
[LeveledCompactionStrategy]'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
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 0x7f23d80709a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f23d737a4c0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f23d98ca5e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f23d7382400>
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_compaction_delete[SizeTieredCompactionStrategy] // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_compaction_delete
[SizeTieredCompactionStrategy]'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fe752b47f40>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fe752b47ca0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fe7544c34c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fe752fa2580>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_compaction_delete
[SizeTieredCompactionStrategy]'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
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 0x7fe752b47f40>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fe7520e72e0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fe7544c34c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fe7520dcfd0>
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_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 0x7f3a0cc63e20>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f3a0cc63850>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f3a0e387670>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f3a0cc63fd0>
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_compaction_delete[DateTieredCompactionStrategy] // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_compaction_delete
[DateTieredCompactionStrategy]'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fb0730df820>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fb073964b80>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fb074a994c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fb0730dc460>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_compaction_delete
[DateTieredCompactionStrategy]'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
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 0x7f7544f80280>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f7544f9daf0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f7546933310>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f75446d6100>
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_compare // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_compare'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fc0ff9258b0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fc0de78fd60>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fc1012dc3a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fc0de7159a0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_compare'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
-------------------------------------------------------------------------------------
Cassandra dtests // test_compare_mismatch // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_compare_mismatch'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f2f4b43abe0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f2f4bb5f430>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f2f4cdf0550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f2f4bc73d60>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_compare_mismatch'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
-------------------------------------------------------------------------------------
Cassandra dtests // test_hintedhandoff_setmaxwindow // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_hintedhandoff_setmaxwindow'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fb5a55f6580>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fb5a43e0f40>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fb5a6e0f430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fb5a4329ac0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_hintedhandoff_setmaxwindow'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
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_with_stopped_build // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_drop_with_stopped_build'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f14be499850>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f14bcbc1190>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f14bfe063a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f14bcb62ca0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_drop_with_stopped_build'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
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_shutdown // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_archive_on_shutdown'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f971192ca60>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f971192cc10>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f9713052550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f97118bbeb0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_archive_on_shutdown'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
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_stopped_build // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_resume_stopped_build'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f14fd154880>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f14fd72c670>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f14feabf4c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f14fd191850>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_resume_stopped_build'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
-------------------------------------------------------------------------------------
Cassandra dtests // test_13691 // Failure
ccmlib.node.NodeError: Error starting node1.

self = <counter_test.TestCounters object at 0x7faea4cdb220>

@since('3.0', max_version='3.12')
def test_13691(self):
"""
2.0 -> 2.1 -> 3.0 counters upgrade test
@jira_ticket CASSANDRA-13691
"""
cluster = self.cluster
default_install_dir = cluster.get_install_dir()

#
# set up a 2.0 cluster with 3 nodes and set up schema
#

cluster.set_install_dir(version='2.0.17')
cluster.populate(3)
> cluster.start()

counter_test.py:35:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <ccmlib.cluster.Cluster object at 0x7faea5d4caf0>, 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 0x7faea7cd5310>, itf = ('127.0.0.3', 9042)
started = [(<ccmlib.node.Node object at 0x7faea7cd5310>, <subprocess.Popen object at
0x7faea7d1cac0>, 0), (<ccmlib.node.Node obj... at 0x7faea7d1ccd0>, 0),
(<ccmlib.node.Node object at 0x7faea7c34940>, <subprocess.Popen object at
0x7faea7d1c670>, 0)]
mark = 0, p = <subprocess.Popen object at 0x7faea7d1cac0>
start_message = 'Listening for thrift 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_alter_table // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_alter_table'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f5bf106fd60>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f5be8426d30>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f5bf29a3550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f5be8426670>
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_mutation_v2 // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_mutation_v2'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f51751689a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f516c3cc610>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f5176ad9430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f516c3cd250>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_mutation_v2'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
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_read_repair // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_failed_read_repair'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f374846a130>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f3746e6ae20>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f374970a3a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f3746e6acd0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_failed_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_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 0x7f79e4891100>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f79e0d65910>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f79e48f2430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f79e0d65c40>
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_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 0x7f4fa0f3eaf0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f4f98057ac0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f4fa28ae430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f4f9867e460>
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_mutation_v5 // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_mutation_v5'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f4fa0f3eaf0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f4fa061d6a0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f4fa28ae430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f4fa061d2e0>
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_speculative_write // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_speculative_write'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f2d56473ac0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f2d56abff70>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f2d57de83a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f2d569cefd0>
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_multi_dc_tokens_default // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_multi_dc_tokens_default'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f2d56473ac0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f2d56629e50>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f2d57de83a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f2d569ce850>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_multi_dc_tokens_default'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
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 0x7fbe73e5c730>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fbe74430220>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fbe757d03a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fbe70c4b250>
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_multi_dc_tokens_murmur3 // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_multi_dc_tokens_murmur3'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fbe73e5c730>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fbe71c6a3a0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fbe757d03a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fbe71c1ccd0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_multi_dc_tokens_murmur3'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
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 0x7f53e624ea60>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f53e495f340>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f53e7bc1550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f53e48c3670>
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_quorum_requirement_on_speculated_read // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_quorum_requirement_on_speculated_read'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f53e624ea60>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f53e4062b20>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f53e7bc1550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f53e63fc0d0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_quorum_requirement_on_speculated_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_multi_dc_tokens_random // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_multi_dc_tokens_random'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f53e624ea60>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f53e63c9fa0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f53e7bc1550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f53e58f8dc0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_multi_dc_tokens_random'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
-------------------------------------------------------------------------------------
Cassandra dtests // test_large_collection_errors // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_large_collection_errors'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f6bb4f0bfd0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f6bb52e7760>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f6bb6687670>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f6baffcbc70>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_large_collection_errors'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
-------------------------------------------------------------------------------------
Cassandra dtests // test_monotonic_reads[blocking] // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_monotonic_reads
[blocking]'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f182999edf0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f1829ac2c10>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f182b312550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f181a984cd0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_monotonic_reads
[blocking]'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
-------------------------------------------------------------------------------------
Cassandra dtests // test_monotonic_reads[none] // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_monotonic_reads
[none]'>>
dtest_config = <dtest_config.DTestConfig object at 0x7efd3a291ca0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7efd39532fd0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7efd3bcb7550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7efd3a97bb80>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_monotonic_reads
[none]'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
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 0x7efd3a291ca0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7efd388ffac0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7efd3bcb7550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7efd388e51c0>
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_wide_row_repair // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_wide_row_repair'>>
dtest_config = <dtest_config.DTestConfig object at 0x7efd3a291ca0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7efd3947c520>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7efd3bcb7550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7efd38995130>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_wide_row_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_atomic_writes[blocking] // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_atomic_writes
[blocking]'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fce0150bd90>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fce00a2ddc0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fce02f204c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fce00964f10>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_atomic_writes
[blocking]'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
-------------------------------------------------------------------------------------
Cassandra dtests // test_atomic_writes[none] // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_atomic_writes
[none]'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f9befe63dc0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f9bf01e0310>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f9bf1875310>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f9bed503af0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_atomic_writes
[none]'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
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 0x7fb7e1a15e20>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fb7e1d9f0d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fb7e34273a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fb7e1d07fd0>
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_archiving // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_archiving'>>
dtest_config = <dtest_config.DTestConfig object at 0x7ff65aa73d60>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7ff65aa73d00>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7ff65c48c310>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7ff65aa73490>
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_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 0x7ff65aa73d60>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7ff659505520>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7ff65c48c310>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7ff659995c10>
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_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 0x7f48663af790>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f4864083880>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f4867b4b550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f48665dcf70>
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_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 0x7f48663af790>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f4857046670>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f4867b4b550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f4857046e80>
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_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 0x7f44e6af3940>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f44e6af39a0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f44e8487430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f44e6af31c0>
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_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 0x7f44e6af3940>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f44e49a7d60>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f44e8487430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f44e4990430>
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_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 0x7f7c7135c250>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f7c7135c2b0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f7c72c9a5e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f7c7134fd30>
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_json_tools // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_json_tools'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f7c7135c250>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f7c70226c40>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f7c72c9a5e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f7c701fe2b0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_json_tools'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
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_column_ttl_with_default_ttl // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_remove_column_ttl_with_default_ttl'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f600b9f60a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f600a945430>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f600d310550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f6008fc9880>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_remove_column_ttl_with_default_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_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 0x7f22e19dbaf0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f22e19db970>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f22e31c05e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f22e1a86130>
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_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 0x7f22e19dbaf0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f22e1b64520>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f22e31c05e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f22e06253a0>
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_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 0x7fb9a5882f40>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fb9a5c519d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fb9a6f7e3a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fb9a4469040>
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_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 0x7f394b069a00>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f394b069250>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f394c8ab5e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f394af47a00>
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_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 0x7f394b069a00>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f394a5f8610>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f394c8ab5e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f3949ce9880>
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_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 0x7f7d437e7a90>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f7d40d5acd0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f7d450d75e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f7d40d5a790>
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_datetimeformat_round_trip_40 // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_datetimeformat_round_trip_40'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f2baa6ef880>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f2b83e233d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f2bac04f430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f2baa7fe220>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_datetimeformat_round_trip_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_consistent_repair // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_consistent_repair'>>
dtest_config = <dtest_config.DTestConfig object at 0x7ff2aee950a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7ff2af573b50>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7ff2b08af4c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7ff2ac4a6790>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_consistent_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_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 0x7fef8017c340>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fef5f681c10>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fef819bc430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fef7f4e3cd0>
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_manual_session_fail // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_manual_session_fail'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fef8017c340>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fef80691400>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fef819bc430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fef80620340>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_manual_session_fail'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
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_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 0x7ff6ef542070>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7ff6ed2d4ee0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7ff6f0d2e430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7ff6ed2d4040>
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_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 0x7f7608f3ba60>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f76085ac640>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f760a9375e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f760960df10>
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_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 0x7f7608f3ba60>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f76095f5190>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f760a9375e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f76095f5790>
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 0x7f7608f3ba60>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f760189d1c0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f760a9375e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f7600c00790>
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_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 0x7fe236b87a90>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fe236b47b50>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fe238370310>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fe2371e4c10>
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_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 0x7f758cf78040>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f758d59c580>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f758e747550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f758cf42d60>
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_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 0x7f99baeda580>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f99bb515a00>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f99bc650430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f99baea2f40>
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_archiving_fql // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_archiving_fql'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fc3c84163a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fc3c83a8c70>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fc3c9dc34c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fc3c83a2ee0>
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_zerocopy_streaming // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_zerocopy_streaming'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fc3c84163a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fc3c83ae9d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fc3c9dc34c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fc3c7273700>
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_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 0x7f5a2be8bf40>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f5a28c72550>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f5a2d6dc550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f5a28ca83a0>
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_sjk // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_sjk'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f52a177ff70>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f52a0cfec40>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f52a2ec34c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f52a0cfed60>
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_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 0x7f5d62ba5e80>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f5d64299a00>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f5d642cd5e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f5d631207c0>
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_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 0x7f39af7e2310>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f39afd1aee0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f39b0f92550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f39af7f9190>
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_force // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_force'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f39af7e2310>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f39af7c1160>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f39b0f92550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f39aeb3ef70>
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_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 0x7f4673b72580>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f4673b6f610>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f467529b5e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f46721229d0>
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_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 0x7f4673b72580>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f4653eb9850>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f467529b5e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f4653eb9250>
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_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 0x7f7b53954430>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f7b539d0430>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f7b550f6430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f7b51f5af10>
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_hosts // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_hosts'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f7b53954430>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f7b53c2f040>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f7b550f6430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f7b53c2f790>
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_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 0x7f88ec21bbb0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f88ec21b3a0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f88ed9bc4c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f88ec282a00>
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_subrange // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_subrange'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f88ec21bbb0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f88ec522cd0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f88ed9bc4c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f88ec522fa0>
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_grant_revoke_cleanup // Failure
cassandra.OperationTimedOut: errors={'127.0.0.1': 'Client request timeout. See
Session.execute[_async](timeout)'}, last_host=127.0.0.1

self = <auth_test.TestAuth object at 0x7f4f6c0df730>

def test_grant_revoke_cleanup(self):
"""
* Launch a one node cluster
* Connect as the default superuser
* Create a table, ks.cf
* Create a new user, 'cathy', grant her ALL permissions on ks.cf
* Verify she can read/write from the table
* DROP and CREATE cathy
* Assert her permissions are gone, and operations throw Unauthorized
* Grant ALL permissions back to cathy, verify she can read/write
* DROP and CREATE ks.cf
* Verify cathy's permissions on ks.cf are gone, and operations throw Unauthorized
"""
self.prepare()

cassandra = self.get_session(user='cassandra', password='cassandra')
cassandra.execute("CREATE USER cathy WITH PASSWORD '12345'")
cassandra.execute("CREATE KEYSPACE ks WITH replication = {'class':'SimpleStrategy',
'replication_factor':1}")
cassandra.execute("CREATE TABLE ks.cf (id int primary key, val int)")
cassandra.execute("GRANT ALL ON ks.cf TO cathy")

cathy = self.get_session(user='cathy', password='12345')
cathy.execute("INSERT INTO ks.cf (id, val) VALUES (0, 0)")
rows = list(cathy.execute("SELECT * FROM ks.cf"))
assert 1 == len(rows)

# drop and recreate the user, make sure permissions are gone
cassandra.execute("DROP USER cathy")
cassandra.execute("CREATE USER cathy WITH PASSWORD '12345'")

assert_unauthorized(cathy, "INSERT INTO ks.cf (id, val) VALUES (0, 0)", "User cathy
has no MODIFY permission on <table ks.cf> or any of its parents")

assert_unauthorized(cathy, "SELECT * FROM ks.cf", "User cathy has no SELECT
permission on <table ks.cf> or any of its parents")

# grant all the permissions back
cassandra.execute("GRANT ALL ON ks.cf TO cathy")
cathy.execute("INSERT INTO ks.cf (id, val) VALUES (0, 0)")
rows = list(cathy.execute("SELECT * FROM ks.cf"))
assert 1 == len(rows)

# drop and recreate the keyspace, make sure permissions are gone
> cassandra.execute("DROP KEYSPACE ks")

auth_test.py:811:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../venv/src/cassandra-driver/cassandra/cluster.py:2134: in execute
return self.execute_async(query, parameters, trace, custom_payload, timeout,
execution_profile, paging_state).result()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <ResponseFuture: query='<SimpleStatement query="DROP KEYSPACE ks",
consistency=Not Set>' request_id=19 result=(no resu...127.0.0.1': 'Client request
timeout. See Session.execute[_async](timeout)'}, last_host=127.0.0.1
coordinator_host=None>

def result(self):
"""
Return the final result or raise an Exception if errors were
encountered. If the final result or error has not been set
yet, this method will block until it is set, or the timeout
set for the request expires.

Timeout is specified in the Session request execution functions.
If the timeout is exceeded, an :exc:`cassandra.OperationTimedOut` will be raised.
This is a client-side timeout. For more information
about server-side coordinator timeouts, see :class:`.policies.RetryPolicy`.

Example usage::

>>> future = session.execute_async("SELECT * FROM mycf")
>>> # do other stuff...

>>> try:
... rows = future.result()
... for row in rows:
... ... # process results
... except Exception:
... log.exception("Operation failed:")

"""
self._event.wait()
if self._final_result is not _NOT_SET:
return ResultSet(self, self._final_result)
else:
> raise self._final_exception
E cassandra.OperationTimedOut: errors={'127.0.0.1': 'Client request timeout. See
Session.execute[_async](timeout)'}, last_host=127.0.0.1

../venv/src/cassandra-driver/cassandra/cluster.py:4026: OperationTimedOut
-------------------------------------------------------------------------------------
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 0x7f4f6bcecbe0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f4f6c304580>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f4f6d4e25e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f4f6c104b20>
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_compaction_delete[LeveledCompactionStrategy] // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_compaction_delete
[LeveledCompactionStrategy]'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f4f6bcecbe0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f4f6c39a820>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f4f6d4e25e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f4f6a3065e0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_compaction_delete
[LeveledCompactionStrategy]'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
-------------------------------------------------------------------------------------
Cassandra dtests // test_optional_outbound_tls // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_optional_outbound_tls'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f4f6bcecbe0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f4f4b172400>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f4f6d4e25e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f4f4b78d460>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_optional_outbound_tls'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
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 0x7f4f6bcecbe0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f4f680700a0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f4f6d4e25e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f4f4b7c4520>
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_compaction_delete[SizeTieredCompactionStrategy] // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_compaction_delete
[SizeTieredCompactionStrategy]'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f6e0c7382e0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f6e0cdd4df0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f6e0df844c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f6e0cdd4580>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_compaction_delete
[SizeTieredCompactionStrategy]'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
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 0x7f6e0c7382e0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f6e0bb0db50>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f6e0df844c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f6e0bb0d0a0>
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_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 0x7f0892d0de20>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f0892d0de80>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f08946b65e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f0892d0d700>
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_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 0x7f0892d0de20>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f0892e7dfd0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f08946b65e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f0893025940>
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_compaction_delete[DateTieredCompactionStrategy] // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_compaction_delete
[DateTieredCompactionStrategy]'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f561d34f490>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f561d9ebfa0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f561eb3d430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f561d9eb340>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_compaction_delete
[DateTieredCompactionStrategy]'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
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 0x7f561d34f490>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f56176cbf40>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f561eb3d430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f56176cba30>
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_replay // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_replay'>>
dtest_config = <dtest_config.DTestConfig object at 0x7efdd8dd75b0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7efdd83c4a00>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7efdda5ed430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7efdd839b460>
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_compare // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_compare'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fa8c15a1910>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fa8c04776d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fa8c2f593a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fa8c03f9640>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_compare'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
-------------------------------------------------------------------------------------
Cassandra dtests // test_compare_mismatch // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_compare_mismatch'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fdc6d8bac70>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fdc6d8dc940>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fdc6f26d430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fdc6dac2c10>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_compare_mismatch'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'

dtest_setup.py:352: AttributeError
-------------------------------------------------------------------------------------
Cassandra dtests // test_hintedhandoff_setmaxwindow // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_hintedhandoff_setmaxwindow'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f0976eaa940>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f097663b040>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f09788144c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f097663b400>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_hintedhandoff_setmaxwindow'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
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_with_stopped_build // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_drop_with_stopped_build'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fd834970820>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fd834fb6d90>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fd8362e13a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fd834fb3f10>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_drop_with_stopped_build'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
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_shutdown // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_archive_on_shutdown'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f43a8005b20>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f43a8005340>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f43a9738670>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f43a80024c0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_archive_on_shutdown'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
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_stopped_build // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_resume_stopped_build'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fc00deffdf0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fc00df12460>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fc00f7164c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fc00e3f00d0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_resume_stopped_build'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
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 0x7f935c722a60>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f935c765640>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f935e09f430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f935c765850>
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_failed_read_repair // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_failed_read_repair'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f581e0efee0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f581d0cde80>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f581fa633a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f581d0cdac0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_failed_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_mutation_v2 // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_mutation_v2'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f581e0efee0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f581e288160>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f581fa633a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f581c6c82e0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_mutation_v2'>>

def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
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 0x7fcd134b0ee0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fccf87c75e0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fcd14e26430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected e