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/28 17:56:17 UTC

Build complete: Cassandra-3.11 #11 [UNSTABLE] cf27558b1442e75e17e47071ecf92d1b3e5a0e36

-------------------------------------------------------------------------------
Build Cassandra-3.11 #11 Still Unstable
URL: https://ci-cassandra.apache.org/job/Cassandra-3.11/11/
-------------------------------------------------------------------------------
Changes:
[Jordan West] Don't attempt value skipping with mixed cluster


-------------------------------------------------------------------------------
Failed Tests:
23 tests failed.
FAILED:  dtest-novnode.thrift_hsha_test.TestThriftHSHA.test_6285
FAILED:  dtest-novnode.auth_test.TestAuthUnavailable.test_authorization_from_cache_while_unavailable
FAILED:  dtest-offheap.counter_test.TestCounters.test_13691
FAILED:  org.apache.cassandra.index.sasi.SASIIndexTest.testIndexMemtableSwitching-compression
FAILED:  org.apache.cassandra.gms.GossiperTest.testLargeGenerationJump
FAILED:  org.apache.cassandra.index.sasi.SASIIndexTest.testIndexMemtableSwitching
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
14499 19       276    62      97.97%       150626.385

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

Name                                               Tests Errors Failures Skipped Time(s)
                                                   3548  274    2        0       135619.965
cqlshlib.python2.jdk8                              204   0      14       0       0.000
org.apache.cassandra.auth                          57    0      0        0       20.509
org.apache.cassandra.auth.jmx                      69    0      0        0       15.941
org.apache.cassandra.batchlog                      45    0      0        0       28.225
org.apache.cassandra.cache                         12    0      0        0       20.835
org.apache.cassandra.concurrent                    17    0      1        0       451.139
org.apache.cassandra.config                        54    0      0        0       21.348
org.apache.cassandra.cql.jdbc                      3     0      0        0       0.196
org.apache.cassandra.cql3                          701   0      0        27      2407.001
org.apache.cassandra.cql3.functions                60    0      0        0       24.249
org.apache.cassandra.cql3.restrictions             69    0      0        0       2.950
org.apache.cassandra.cql3.selection                27    0      0        0       42.430
org.apache.cassandra.cql3.statements               6     0      0        0       0.781
org.apache.cassandra.cql3.validation               63    0      0        0       75.074
org.apache.cassandra.cql3.validation.entities      1113  0      0        3       1330.972
org.apache.cassandra.cql3.validation.miscellaneous 168   0      0        0       183.102
org.apache.cassandra.cql3.validation.operations    1317  0      0        0       1395.555
org.apache.cassandra.db                            1056  0      0        2       633.987
org.apache.cassandra.db.aggregation                18    0      0        0       2.320
org.apache.cassandra.db.columniterator             3     0      0        0       8.999
org.apache.cassandra.db.commitlog                  622   0      0        4       716.279
org.apache.cassandra.db.compaction                 331   0      0        3       1101.301
org.apache.cassandra.db.composites                 9     0      0        0       1.468
org.apache.cassandra.db.context                    24    0      0        0       4.976
org.apache.cassandra.db.filter                     15    0      0        0       6.383
org.apache.cassandra.db.lifecycle                  204   0      0        0       71.837
org.apache.cassandra.db.marshal                    357   0      0        0       77.528
org.apache.cassandra.db.monitoring                 45    0      0        0       18.280
org.apache.cassandra.db.partition                  36    0      0        0       157.699
org.apache.cassandra.db.partitions                 24    0      0        0       1.831
org.apache.cassandra.db.rows                       147   0      0        0       102.821
org.apache.cassandra.db.transform                  66    0      0        0       22.510
org.apache.cassandra.db.view                       9     0      0        0       3.905
org.apache.cassandra.dht                           228   0      0        0       146.923
org.apache.cassandra.dht.tokenallocator            9     0      0        1       217.119
org.apache.cassandra.distributed.test              51    0      0        1       416.312
org.apache.cassandra.distributed.upgrade           14    0      0        0       456.647
org.apache.cassandra.gms                           45    1      0        0       61.646
org.apache.cassandra.hadoop                        3     0      0        0       0.879
org.apache.cassandra.hints                         100   0      0        0       680.636
org.apache.cassandra.index                         87    0      0        0       101.650
org.apache.cassandra.index.internal                87    0      0        0       112.424
org.apache.cassandra.index.sasi                    123   0      2        0       137.950
org.apache.cassandra.index.sasi.analyzer           75    0      0        0       3.923
org.apache.cassandra.index.sasi.conf               42    0      0        0       2.635
org.apache.cassandra.index.sasi.disk               84    0      0        0       100.082
org.apache.cassandra.index.sasi.plan               18    0      0        0       12.811
org.apache.cassandra.index.sasi.utils              156   0      0        0       10.329
org.apache.cassandra.io                            15    0      0        0       58.456
org.apache.cassandra.io.compress                   78    0      0        0       44.758
org.apache.cassandra.io.sstable                    379   0      0        6       686.051
org.apache.cassandra.io.sstable.format             6     0      0        0       8.249
org.apache.cassandra.io.sstable.metadata           18    0      0        0       2.977
org.apache.cassandra.io.util                       405   0      0        0       130.527
org.apache.cassandra.locator                       118   0      0        0       222.290
org.apache.cassandra.metrics                       54    0      0        0       50.596
org.apache.cassandra.net                           81    0      0        0       27.813
org.apache.cassandra.repair                        27    0      0        0       67.847
org.apache.cassandra.repair.messages               39    0      0        0       5.061
org.apache.cassandra.schema                        81    0      0        3       53.995
org.apache.cassandra.security                      42    0      0        0       7.060
org.apache.cassandra.serializers                   78    0      0        0       1.428
org.apache.cassandra.service                       318   0      0        3       310.533
org.apache.cassandra.service.pager                 21    0      0        0       2.869
org.apache.cassandra.streaming                     25    0      0        0       143.329
org.apache.cassandra.streaming.compression         9     0      0        0       2.904
org.apache.cassandra.stress.generate               4     0      0        0       0.085
org.apache.cassandra.stress.settings               8     0      0        0       0.865
org.apache.cassandra.stress.util                   5     0      0        0       0.073
org.apache.cassandra.tools                         81    0      0        0       106.816
org.apache.cassandra.tools.nodetool.formatter      18    0      0        0       0.227
org.apache.cassandra.tracing                       18    0      0        0       2.491
org.apache.cassandra.transport                     96    0      0        0       133.036
org.apache.cassandra.triggers                      75    0      0        0       30.380
org.apache.cassandra.utils                         535   0      0        6       1444.610
org.apache.cassandra.utils.btree                   66    0      0        0       1.365
org.apache.cassandra.utils.concurrent              51    0      0        3       20.029
org.apache.cassandra.utils.memory                  103   1      0        0       24.150
org.apache.cassandra.utils.progress.jmx            15    0      0        0       0.893
org.apache.cassandra.utils.vint                    9     0      0        0       0.260

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

Name             Tests Errors Failures Skipped Time(s)
Cassandra dtests 4     0      0                409.459
Cassandra dtests 2     0      0                277.640
Cassandra dtests 2     0      0                351.699
Cassandra dtests 6     1      0                900.359
Cassandra dtests 5     0      0                745.029
Cassandra dtests 7     0      1                783.512
Cassandra dtests 6     0      0                914.890
Cassandra dtests 4     0      0                620.761
Cassandra dtests 21    3      0                479.174
Cassandra dtests 19    2      0                857.928
Cassandra dtests 21    3      0                629.531
Cassandra dtests 19    1      0                914.775
Cassandra dtests 19    1      0                620.727
Cassandra dtests 19    1      0                751.894
Cassandra dtests 19    1      0                1013.288
Cassandra dtests 20    2      0                1221.246
Cassandra dtests 18    1      0                618.755
Cassandra dtests 18    2      0                612.060
Cassandra dtests 18    1      0                700.868
Cassandra dtests 20    2      0                441.086
Cassandra dtests 17    1      0                406.060
Cassandra dtests 19    2      0                496.822
Cassandra dtests 19    2      0                513.912
Cassandra dtests 21    3      0                531.579
Cassandra dtests 22    4      0                370.755
Cassandra dtests 20    2      0                709.740
Cassandra dtests 21    3      0                949.593
Cassandra dtests 20    3      0                667.042
Cassandra dtests 20    3      0                564.522
Cassandra dtests 17    2      0                390.355
Cassandra dtests 21    3      0                452.200
Cassandra dtests 17    1      0                551.264
Cassandra dtests 20    3      0                595.685
Cassandra dtests 18    1      0                523.844
Cassandra dtests 20    3      0                341.222
Cassandra dtests 21    4      0                486.524
Cassandra dtests 19    3      0                515.020
Cassandra dtests 20    3      0                763.673
Cassandra dtests 17    1      0                1051.492
Cassandra dtests 21    4      0                1125.369
Cassandra dtests 20    2      0                934.522
Cassandra dtests 20    2      0                524.974
Cassandra dtests 18    1      0                690.023
Cassandra dtests 18    1      0                1007.964
Cassandra dtests 20    3      0                987.773
Cassandra dtests 18    2      0                1006.355
Cassandra dtests 20    2      0                967.929
Cassandra dtests 20    2      0                504.974
Cassandra dtests 20    2      0                859.315
Cassandra dtests 20    2      0                982.080
Cassandra dtests 19    1      0                1433.319
Cassandra dtests 19    1      0                990.680
Cassandra dtests 20    2      0                492.230
Cassandra dtests 19    1      0                689.477
Cassandra dtests 20    2      0                650.904
Cassandra dtests 20    2      0                720.286
Cassandra dtests 19    1      0                517.604
Cassandra dtests 19    2      0                668.362
Cassandra dtests 20    2      0                746.348
Cassandra dtests 18    0      0                885.640
Cassandra dtests 18    0      0                748.842
Cassandra dtests 18    0      0                1217.142
Cassandra dtests 19    1      0                674.599
Cassandra dtests 20    2      0                605.828
Cassandra dtests 18    0      0                763.324
Cassandra dtests 18    0      0                662.179
Cassandra dtests 18    0      0                655.561
Cassandra dtests 18    0      0                604.421
Cassandra dtests 20    2      0                613.355
Cassandra dtests 20    2      0                744.342
Cassandra dtests 20    3      0                527.714
Cassandra dtests 20    3      0                545.009
Cassandra dtests 20    2      0                948.748
Cassandra dtests 18    1      0                754.227
Cassandra dtests 18    1      0                690.257
Cassandra dtests 19    2      0                541.261
Cassandra dtests 19    2      0                812.060
Cassandra dtests 16    0      0                665.717
Cassandra dtests 16    1      0                503.447
Cassandra dtests 15    0      0                478.706
Cassandra dtests 18    1      0                621.548
Cassandra dtests 18    1      0                717.300
Cassandra dtests 18    1      0                428.670
Cassandra dtests 21    3      0                815.048
Cassandra dtests 19    2      0                350.065
Cassandra dtests 18    0      0                585.056
Cassandra dtests 18    1      0                772.745
Cassandra dtests 18    1      0                561.646
Cassandra dtests 19    2      0                601.521
Cassandra dtests 18    2      0                463.965
Cassandra dtests 17    1      0                541.013
Cassandra dtests 17    1      0                578.081
Cassandra dtests 17    1      0                531.310
Cassandra dtests 16    1      0                425.059
Cassandra dtests 18    2      0                751.930
Cassandra dtests 16    1      0                752.748
Cassandra dtests 16    1      0                464.915
Cassandra dtests 15    0      0                529.591
Cassandra dtests 18    2      0                962.232
Cassandra dtests 18    2      0                644.132
Cassandra dtests 19    2      0                788.266
Cassandra dtests 18    2      0                590.528
Cassandra dtests 19    3      0                800.022
Cassandra dtests 19    3      0                729.808
Cassandra dtests 19    2      0                705.244
Cassandra dtests 16    1      0                420.399
Cassandra dtests 18    1      0                723.411
Cassandra dtests 18    1      0                438.623
Cassandra dtests 18    1      0                629.572
Cassandra dtests 18    1      0                538.518
Cassandra dtests 17    0      0                1013.594
Cassandra dtests 17    0      0                714.164
Cassandra dtests 17    0      0                618.853
Cassandra dtests 17    0      0                757.751
Cassandra dtests 18    1      0                574.238
Cassandra dtests 18    1      0                522.326
Cassandra dtests 16    1      0                404.984
Cassandra dtests 18    1      0                558.193
Cassandra dtests 17    0      1                652.079
Cassandra dtests 18    1      0                770.530
Cassandra dtests 18    1      0                587.361
Cassandra dtests 18    1      0                610.165
Cassandra dtests 18    1      0                767.446
Cassandra dtests 19    2      0                798.629
Cassandra dtests 19    2      0                1029.518
Cassandra dtests 19    2      0                967.316
Cassandra dtests 21    4      0                613.366
Cassandra dtests 17    1      0                595.364
Cassandra dtests 18    1      0                1022.424
Cassandra dtests 19    2      0                860.278
Cassandra dtests 19    2      0                810.291
Cassandra dtests 18    1      0                681.132
Cassandra dtests 18    1      0                915.467
Cassandra dtests 16    0      0                656.369
Cassandra dtests 16    0      0                661.567
Cassandra dtests 16    0      0                429.055
Cassandra dtests 20    2      0                957.885
Cassandra dtests 17    0      0                778.247
Cassandra dtests 19    2      0                520.799
Cassandra dtests 19    2      0                544.299
Cassandra dtests 19    2      0                864.524
Cassandra dtests 16    0      0                671.696
Cassandra dtests 15    0      0                546.392
Cassandra dtests 16    1      0                373.163
Cassandra dtests 17    0      0                728.008
Cassandra dtests 19    2      0                709.206
Cassandra dtests 18    1      0                430.162
Cassandra dtests 20    2      0                896.467
Cassandra dtests 18    1      0                349.751
Cassandra dtests 19    1      0                378.629
Cassandra dtests 17    0      0                866.576
Cassandra dtests 18    1      0                577.055
Cassandra dtests 19    2      0                595.778
Cassandra dtests 17    1      0                457.392
Cassandra dtests 19    3      0                601.750
Cassandra dtests 17    1      0                529.571
Cassandra dtests 17    1      0                548.431
Cassandra dtests 17    1      0                555.475
Cassandra dtests 19    2      0                818.212
Cassandra dtests 15    1      0                388.840
Cassandra dtests 16    1      0                725.541
Cassandra dtests 16    0      0                622.964
Cassandra dtests 16    1      0                816.081
Cassandra dtests 18    2      0                643.309
Cassandra dtests 19    2      0                775.185
Cassandra dtests 18    2      0                571.604
Cassandra dtests 18    2      0                972.606
Cassandra dtests 20    4      0                841.377
Cassandra dtests 19    2      0                720.569
Cassandra dtests 17    2      0                450.339
Cassandra dtests 19    2      0                685.334
Cassandra dtests 18    1      0                451.059
Cassandra dtests 18    1      0                493.960
Cassandra dtests 18    1      0                641.996
Cassandra dtests 17    0      0                951.862
Cassandra dtests 17    0      0                845.851
Cassandra dtests 17    0      0                498.124
Cassandra dtests 17    0      0                897.263
Cassandra dtests 18    1      0                639.041
Cassandra dtests 18    1      0                598.844
Cassandra dtests 16    1      0                348.154
Cassandra dtests 18    1      0                654.503
Cassandra dtests 17    0      0                733.248
Cassandra dtests 17    0      0                738.756
Cassandra dtests 18    1      0                692.447
Cassandra dtests 19    2      0                585.685
Cassandra dtests 18    1      0                712.033
Cassandra dtests 18    1      0                571.219
Cassandra dtests 19    2      0                829.967
Cassandra dtests 19    2      0                1060.980
Cassandra dtests 20    3      0                933.681
Cassandra dtests 17    1      0                588.032
Cassandra dtests 20    3      0                642.955
Cassandra dtests 18    1      0                820.260
Cassandra dtests 19    2      0                1057.557
Cassandra dtests 19    2      0                806.372
Cassandra dtests 18    1      0                693.780
Cassandra dtests 16    0      0                593.250
Cassandra dtests 16    0      0                571.162
Cassandra dtests 16    0      0                510.429

-------------------------------------------------------------------------------
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.390
PasswordAuthenticatorTest-cdc         7     0      0        0       4.824
RoleOptionsTest-cdc                   4     0      0        0       0.463
AuthCacheTest-compression             8     0      0        0       0.451
PasswordAuthenticatorTest-compression 7     0      0        0       6.315
RoleOptionsTest-compression           4     0      0        0       0.407
AuthCacheTest                         8     0      0        0       0.333
PasswordAuthenticatorTest             7     0      0        0       6.892
RoleOptionsTest                       4     0      0        0       0.434

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

Name                               Tests Errors Failures Skipped Time(s)
AuthorizationProxyTest-cdc         20    0      0        0       0.856
JMXAuthTest-cdc                    3     0      0        0       3.909
AuthorizationProxyTest-compression 20    0      0        0       0.800
JMXAuthTest-compression            3     0      0        0       4.558
AuthorizationProxyTest             20    0      0        0       0.772
JMXAuthTest                        3     0      0        0       5.046

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

Name                                   Tests Errors Failures Skipped Time(s)
BatchTest-cdc                          2     0      0        0       2.703
BatchlogEndpointFilterTest-cdc         5     0      0        0       0.133
BatchlogManagerTest-cdc                8     0      0        0       6.731
BatchTest-compression                  2     0      0        0       2.580
BatchlogEndpointFilterTest-compression 5     0      0        0       0.119
BatchlogManagerTest-compression        8     0      0        0       6.358
BatchTest                              2     0      0        0       2.767
BatchlogEndpointFilterTest             5     0      0        0       0.112
BatchlogManagerTest                    8     0      0        0       6.722

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

Name                            Tests Errors Failures Skipped Time(s)
AutoSavingCacheTest-cdc         2     0      0        0       3.047
CacheProviderTest-cdc           2     0      0        0       4.301
AutoSavingCacheTest-compression 2     0      0        0       2.922
CacheProviderTest-compression   2     0      0        0       3.520
AutoSavingCacheTest             2     0      0        0       3.104
CacheProviderTest               2     0      0        0       3.941

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

Name                                       Tests Errors Failures Skipped Time(s)
LongOpOrderTest                            1     0      0        0       330.689
LongSharedExecutorPoolTest                 1     0      1        0       0.585
DebuggableScheduledThreadPoolExecutorTest- 1     0      0        0       14.776
cdc
DebuggableThreadPoolExecutorTest-cdc       1     0      0        0       1.287
SEPExecutorTest-cdc                        1     0      0        0       3.861
WaitQueueTest-cdc                          2     0      0        0       0.272
DebuggableScheduledThreadPoolExecutorTest- 1     0      0        0       14.807
compression
DebuggableThreadPoolExecutorTest-          1     0      0        0       1.220
compression
SEPExecutorTest-compression                1     0      0        0       63.364
WaitQueueTest-compression                  2     0      0        0       0.251
DebuggableScheduledThreadPoolExecutorTest  1     0      0        0       15.038
DebuggableThreadPoolExecutorTest           1     0      0        0       1.223
SEPExecutorTest                            1     0      0        0       3.506
WaitQueueTest                              2     0      0        0       0.260

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

Name                                  Tests Errors Failures Skipped Time(s)
CFMetaDataTest-cdc                    6     0      0        0       2.745
ColumnDefinitionTest-cdc              1     0      0        0       0.951
DatabaseDescriptorRefTest-cdc         1     0      0        0       1.395
DatabaseDescriptorTest-cdc            10    0      0        0       2.283
CFMetaDataTest-compression            6     0      0        0       2.591
ColumnDefinitionTest-compression      1     0      0        0       0.896
DatabaseDescriptorRefTest-compression 1     0      0        0       1.287
DatabaseDescriptorTest-compression    10    0      0        0       2.074
CFMetaDataTest                        6     0      0        0       2.699
ColumnDefinitionTest                  1     0      0        0       0.838
DatabaseDescriptorRefTest             1     0      0        0       1.332
DatabaseDescriptorTest                10    0      0        0       2.257

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

Name                        Tests Errors Failures Skipped Time(s)
JdbcDecimalTest-cdc         1     0      0        0       0.069
JdbcDecimalTest-compression 1     0      0        0       0.066
JdbcDecimalTest             1     0      0        0       0.061

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

Name                                    Tests Errors Failures Skipped Time(s)
CorruptionTest                          1     0      0        0       127.549
ManyRowsTest                            2     0      0        0       5.994
ViewLongTest                            5     0      0        0       103.764
CDCStatementTest-cdc                    3     0      0        0       3.837
CQL3TypeLiteralTest-cdc                 6     0      0        0       0.913
ColumnConditionTest-cdc                 4     0      0        0       1.248
ColumnIdentifierTest-cdc                4     0      0        0       0.479
CqlParserTest-cdc                       3     0      0        0       0.402
DeleteTest-cdc                          1     0      0        0       18.838
DistinctQueryPagingTest-cdc             5     0      0        0       11.549
DurationTest-cdc                        4     0      0        0       0.083
EmptyValuesTest-cdc                     14    0      0        5       38.128
ErrorCollectorTest-cdc                  6     0      0        0       0.075
GcCompactionTest-cdc                    8     0      0        0       9.343
IndexQueryPagingTest-cdc                5     0      0        0       11.269
KeyCacheCqlTest-cdc                     10    0      0        0       19.782
LargeCompactValueTest-cdc               1     0      0        0       3.008
ListsTest-cdc                           6     0      0        0       4.311
NonNativeTimestampTest-cdc              1     0      0        0       3.099
OutOfSpaceTest-cdc                      3     0      0        0       3.822
PagingQueryTest-cdc                     1     0      0        0       18.727
PagingTest-cdc                          1     0      0        0       11.429
PreparedStatementsTest-cdc              3     0      0        0       21.855
PstmtPersistenceTest-cdc                2     0      0        0       10.670
QueryWithIndexedSSTableTest-cdc         1     0      0        0       3.705
ReservedKeywordsTest-cdc                1     0      0        0       0.504
SerializationMirrorTest-cdc             1     0      0        0       3.147
SimpleQueryTest-cdc                     20    0      0        0       9.113
ThriftCompatibilityTest-cdc             2     0      0        0       3.131
TombstonesWithIndexedSSTableTest-cdc    2     0      0        0       4.919
TraceCqlTest-cdc                        1     0      0        0       9.421
UDHelperTest-cdc                        3     0      0        0       0.400
ViewComplexTest-cdc                     32    0      0        1       139.159
ViewFilteringTest-cdc                   25    0      0        3       119.803
ViewSchemaTest-cdc                      7     0      0        0       52.222
ViewTest-cdc                            45    0      0        0       84.265
CDCStatementTest-compression            3     0      0        0       4.391
CQL3TypeLiteralTest-compression         6     0      0        0       0.871
ColumnConditionTest-compression         4     0      0        0       1.152
ColumnIdentifierTest-compression        4     0      0        0       0.414
CqlParserTest-compression               3     0      0        0       0.378
DeleteTest-compression                  1     0      0        0       18.032
DistinctQueryPagingTest-compression     5     0      0        0       13.999
DurationTest-compression                4     0      0        0       0.065
EmptyValuesTest-compression             14    0      0        5       40.657
ErrorCollectorTest-compression          6     0      0        0       0.066
GcCompactionTest-compression            8     0      0        0       11.856
IndexQueryPagingTest-compression        5     0      0        0       13.517
KeyCacheCqlTest-compression             10    0      0        0       23.546
LargeCompactValueTest-compression       1     0      0        0       3.056
ListsTest-compression                   6     0      0        0       5.470
NonNativeTimestampTest-compression      1     0      0        0       3.128
OutOfSpaceTest-compression              3     0      0        0       4.393
PagingQueryTest-compression             1     0      0        0       15.742
PagingTest-compression                  1     0      0        0       11.442
PreparedStatementsTest-compression      3     0      0        0       23.044
PstmtPersistenceTest-compression        2     0      0        0       11.231
QueryWithIndexedSSTableTest-compression 1     0      0        0       3.543
ReservedKeywordsTest-compression        1     0      0        0       0.466
SerializationMirrorTest-compression     1     0      0        0       3.107
SimpleQueryTest-compression             20    0      0        0       17.423
ThriftCompatibilityTest-compression     2     0      0        0       3.143
TombstonesWithIndexedSSTableTest-       2     0      0        0       5.504
compression
TraceCqlTest-compression                1     0      0        0       9.554
UDHelperTest-compression                3     0      0        0       0.339
ViewComplexTest-compression             32    0      0        1       167.808
ViewFilteringTest-compression           25    0      0        3       155.534
ViewSchemaTest-compression              7     0      0        0       62.007
ViewTest-compression                    45    0      0        0       115.726
CDCStatementTest                        3     0      0        0       4.914
CQL3TypeLiteralTest                     6     0      0        0       0.856
ColumnConditionTest                     4     0      0        0       1.163
ColumnIdentifierTest                    4     0      0        0       0.427
CqlParserTest                           3     0      0        0       0.372
DeleteTest                              1     0      0        0       19.273
DistinctQueryPagingTest                 5     0      0        0       15.344
DurationTest                            4     0      0        0       0.066
EmptyValuesTest                         14    0      0        5       44.169
ErrorCollectorTest                      6     0      0        0       0.064
GcCompactionTest                        8     0      0        0       12.986
IndexQueryPagingTest                    5     0      0        0       14.348
KeyCacheCqlTest                         10    0      0        0       25.667
LargeCompactValueTest                   1     0      0        0       3.308
ListsTest                               6     0      0        0       6.055
NonNativeTimestampTest                  1     0      0        0       3.251
OutOfSpaceTest                          3     0      0        0       4.808
PagingQueryTest                         1     0      0        0       19.526
PagingTest                              1     0      0        0       12.159
PreparedStatementsTest                  3     0      0        0       24.038
PstmtPersistenceTest                    2     0      0        0       12.007
QueryWithIndexedSSTableTest             1     0      0        0       4.277
ReservedKeywordsTest                    1     0      0        0       0.473
SerializationMirrorTest                 1     0      0        0       3.415
SimpleQueryTest                         20    0      0        0       19.101
ThriftCompatibilityTest                 2     0      0        0       3.312
TombstonesWithIndexedSSTableTest        2     0      0        0       6.092
TraceCqlTest                            1     0      0        0       10.188
UDHelperTest                            3     0      0        0       0.339
ViewComplexTest                         32    0      0        1       173.876
ViewFilteringTest                       25    0      0        3       165.081
ViewSchemaTest                          7     0      0        0       64.740
ViewTest                                45    0      0        0       120.739

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

Name                     Tests Errors Failures Skipped Time(s)
CastFctsTest-cdc         7     0      0        0       5.741
TimeFctsTest-cdc         13    0      0        0       0.579
CastFctsTest-compression 7     0      0        0       8.207
TimeFctsTest-compression 13    0      0        0       0.563
CastFctsTest             7     0      0        0       8.652
TimeFctsTest             13    0      0        0       0.507

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

Name                                 Tests Errors Failures Skipped Time(s)
ClusteringColumnRestrictionsTest-cdc 23    0      0        0       0.998
ClusteringColumnRestrictionsTest-    23    0      0        0       1.012
compression
ClusteringColumnRestrictionsTest     23    0      0        0       0.940

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

Name                                   Tests Errors Failures Skipped Time(s)
SelectionColumnMappingTest-cdc         2     0      0        0       4.849
TermSelectionTest-cdc                  7     0      0        0       6.460
SelectionColumnMappingTest-compression 2     0      0        0       5.707
TermSelectionTest-compression          7     0      0        0       9.612
SelectionColumnMappingTest             2     0      0        0       5.833
TermSelectionTest                      7     0      0        0       9.969

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

Name                                Tests Errors Failures Skipped Time(s)
PropertyDefinitionsTest-cdc         2     0      0        0       0.283
PropertyDefinitionsTest-compression 2     0      0        0       0.260
PropertyDefinitionsTest             2     0      0        0       0.238

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

Name                                 Tests Errors Failures Skipped Time(s)
ThriftIllegalColumnsTest-cdc         2     0      0        0       3.989
ThriftIntegrationTest-cdc            19    0      0        0       11.761
ThriftIllegalColumnsTest-compression 2     0      0        0       4.635
ThriftIntegrationTest-compression    19    0      0        0       24.069
ThriftIllegalColumnsTest             2     0      0        0       4.744
ThriftIntegrationTest                19    0      0        0       25.876

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

Name                                 Tests Errors Failures Skipped Time(s)
CollectionsTest-cdc                  37    0      0        0       13.341
CountersTest-cdc                     8     0      0        0       5.501
DateTypeTest-cdc                     1     0      0        0       3.077
FrozenCollectionsTest-cdc            34    0      0        0       13.629
JsonTest-cdc                         22    0      0        0       18.541
SecondaryIndexOnMapEntriesTest-cdc   11    0      0        0       6.990
SecondaryIndexOnStaticColumnTest-cdc 6     0      0        0       6.149
SecondaryIndexTest-cdc               52    0      0        0       29.595
StaticColumnsTest-cdc                7     0      0        0       6.850
TimestampTest-cdc                    6     0      0        0       4.896
TimeuuidTest-cdc                     2     0      0        0       3.526
TupleTypeTest-cdc                    11    0      0        0       6.490
TypeTest-cdc                         4     0      0        0       3.924
UFAuthTest-cdc                       26    0      0        0       12.983
UFIdentificationTest-cdc             14    0      0        1       14.244
UFJavaTest-cdc                       18    0      0        0       22.158
UFPureScriptTest-cdc                 10    0      0        0       14.670
UFPureScriptTupleCollectionTest-cdc  1     0      0        0       9.846
UFScriptTest-cdc                     12    0      0        0       14.897
UFSecurityTest-cdc                   2     0      0        0       5.940
UFTest-cdc                           29    0      0        0       19.283
UFTypesTest-cdc                      7     0      0        0       15.979
UFVerifierTest-cdc                   21    0      0        0       6.590
UserTypesTest-cdc                    30    0      0        0       16.415
CollectionsTest-compression          37    0      0        0       29.414
CountersTest-compression             8     0      0        0       8.238
DateTypeTest-compression             1     0      0        0       3.067
FrozenCollectionsTest-compression    34    0      0        0       30.364
JsonTest-compression                 22    0      0        0       27.581
SecondaryIndexOnMapEntriesTest-      11    0      0        0       11.972
compression
SecondaryIndexOnStaticColumnTest-    6     0      0        0       9.633
compression
SecondaryIndexTest-compression       52    0      0        0       67.898
StaticColumnsTest-compression        7     0      0        0       10.342
TimestampTest-compression            6     0      0        0       6.985
TimeuuidTest-compression             2     0      0        0       3.992
TupleTypeTest-compression            11    0      0        0       10.561
TypeTest-compression                 4     0      0        0       5.064
UFAuthTest-compression               26    0      0        0       26.339
UFIdentificationTest-compression     14    0      0        1       27.180
UFJavaTest-compression               18    0      0        0       31.972
UFPureScriptTest-compression         10    0      0        0       21.065
UFPureScriptTupleCollectionTest-     1     0      0        0       10.050
compression
UFScriptTest-compression             12    0      0        0       22.267
UFSecurityTest-compression           2     0      0        0       6.794
UFTest-compression                   29    0      0        0       32.892
UFTypesTest-compression              7     0      0        0       21.644
UFVerifierTest-compression           21    0      0        0       10.897
UserTypesTest-compression            30    0      0        0       36.014
CollectionsTest                      37    0      0        0       31.902
CountersTest                         8     0      0        0       9.037
DateTypeTest                         1     0      0        0       3.218
FrozenCollectionsTest                34    0      0        0       47.507
JsonTest                             22    0      0        0       38.100
SecondaryIndexOnMapEntriesTest       11    0      0        0       13.709
SecondaryIndexOnStaticColumnTest     6     0      0        0       10.794
SecondaryIndexTest                   52    0      0        0       87.339
StaticColumnsTest                    7     0      0        0       13.897
TimestampTest                        6     0      0        0       9.965
TimeuuidTest                         2     0      0        0       4.832
TupleTypeTest                        11    0      0        0       15.861
TypeTest                             4     0      0        0       7.086
UFAuthTest                           26    0      0        0       42.353
UFIdentificationTest                 14    0      0        1       36.631
UFJavaTest                           18    0      0        0       35.780
UFPureScriptTest                     10    0      0        0       22.929
UFPureScriptTupleCollectionTest      1     0      0        0       10.763
UFScriptTest                         12    0      0        0       23.684
UFSecurityTest                       2     0      0        0       7.324
UFTest                               29    0      0        0       35.418
UFTypesTest                          7     0      0        0       23.401
UFVerifierTest                       21    0      0        0       12.107
UserTypesTest                        30    0      0        0       39.596

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

Name                                    Tests Errors Failures Skipped Time(s)
CrcCheckChanceTest-cdc                  3     0      0        0       5.948
OverflowTest-cdc                        15    0      0        0       7.177
PgStringTest-cdc                        3     0      0        0       3.857
RoleSyntaxTest-cdc                      9     0      0        0       4.290
SSTableMetadataTrackingTest-cdc         7     0      0        0       5.217
SSTablesIteratedTest-cdc                14    0      0        0       9.750
TombstonesTest-cdc                      5     0      0        0       6.869
CrcCheckChanceTest-compression          3     0      0        0       9.005
OverflowTest-compression                15    0      0        0       13.068
PgStringTest-compression                3     0      0        0       4.639
RoleSyntaxTest-compression              9     0      0        0       5.805
SSTableMetadataTrackingTest-compression 7     0      0        0       7.717
SSTablesIteratedTest-compression        14    0      0        0       14.265
TombstonesTest-compression              5     0      0        0       8.312
CrcCheckChanceTest                      3     0      0        0       9.884
OverflowTest                            15    0      0        0       14.177
PgStringTest                            3     0      0        0       4.939
RoleSyntaxTest                          9     0      0        0       6.574
SSTableMetadataTrackingTest             7     0      0        0       11.249
SSTablesIteratedTest                    14    0      0        0       21.124
TombstonesTest                          5     0      0        0       9.236

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

Name                                      Tests Errors Failures Skipped Time(s)
AggregationTest-cdc                       52    0      0        0       32.944
AlterTest-cdc                             32    0      0        0       13.307
BatchTest-cdc                             10    0      0        0       5.910
CreateTest-cdc                            25    0      0        0       10.888
DeleteTest-cdc                            35    0      0        0       20.003
DropCompactStorageThriftTest-cdc          11    0      0        0       7.028
DropRecreateAndRestoreTest-cdc            4     0      0        0       4.171
DropTest-cdc                              2     0      0        0       3.408
InsertTest-cdc                            12    0      0        0       7.336
InsertUpdateIfConditionTest-cdc           43    0      0        0       20.910
SelectGroupByTest-cdc                     7     0      0        0       16.977
SelectLimitTest-cdc                       12    0      0        0       13.577
SelectMultiColumnRelationTest-cdc         22    0      0        0       11.661
SelectOrderByTest-cdc                     17    0      0        0       9.524
SelectOrderedPartitionerTest-cdc          20    0      0        0       9.697
SelectSingleColumnRelationTest-cdc        24    0      0        0       10.952
SelectTest-cdc                            86    0      0        0       31.471
TTLTest-cdc                               7     0      0        0       9.002
TruncateTest-cdc                          1     0      0        0       3.407
TuplesWithNullsComparisonTest-cdc         3     0      0        0       4.444
UpdateTest-cdc                            13    0      0        0       10.375
UseTest-cdc                               1     0      0        0       2.857
AggregationTest-compression               52    0      0        0       62.217
AlterTest-compression                     32    0      0        0       31.202
BatchTest-compression                     10    0      0        0       9.333
CreateTest-compression                    25    0      0        0       23.467
DeleteTest-compression                    35    0      0        0       44.126
DropCompactStorageThriftTest-compression  11    0      0        0       11.243
DropRecreateAndRestoreTest-compression    4     0      0        0       5.217
DropTest-compression                      2     0      0        0       3.878
InsertTest-compression                    12    0      0        0       12.733
InsertUpdateIfConditionTest-compression   43    0      0        0       43.217
SelectGroupByTest-compression             7     0      0        0       19.048
SelectLimitTest-compression               12    0      0        0       18.377
SelectMultiColumnRelationTest-compression 22    0      0        0       23.080
SelectOrderByTest-compression             17    0      0        0       17.123
SelectOrderedPartitionerTest-compression  20    0      0        0       18.621
SelectSingleColumnRelationTest-           24    0      0        0       23.700
compression
SelectTest-compression                    86    0      0        0       80.958
TTLTest-compression                       7     0      0        0       15.297
TruncateTest-compression                  1     0      0        0       3.633
TuplesWithNullsComparisonTest-compression 3     0      0        0       5.861
UpdateTest-compression                    13    0      0        0       19.233
UseTest-compression                       1     0      0        0       2.868
AggregationTest                           52    0      0        0       87.813
AlterTest                                 32    0      0        0       34.374
BatchTest                                 10    0      0        0       10.439
CreateTest                                25    0      0        0       25.369
DeleteTest                                35    0      0        0       68.711
DropCompactStorageThriftTest              11    0      0        0       17.320
DropRecreateAndRestoreTest                4     0      0        0       5.765
DropTest                                  2     0      0        0       4.071
InsertTest                                12    0      0        0       15.027
InsertUpdateIfConditionTest               43    0      0        0       60.633
SelectGroupByTest                         7     0      0        0       22.346
SelectLimitTest                           12    0      0        0       20.184
SelectMultiColumnRelationTest             22    0      0        0       25.215
SelectOrderByTest                         17    0      0        0       18.137
SelectOrderedPartitionerTest              20    0      0        0       19.935
SelectSingleColumnRelationTest            24    0      0        0       30.429
SelectTest                                86    0      0        0       124.669
TTLTest                                   7     0      0        0       16.724
TruncateTest                              1     0      0        0       3.809
TuplesWithNullsComparisonTest             3     0      0        0       6.428
UpdateTest                                13    0      0        0       20.945
UseTest                                   1     0      0        0       2.931

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

Name                                    Tests Errors Failures Skipped Time(s)
CellTest-cdc                            11    0      0        0       2.686
CleanupTest-cdc                         8     0      0        0       7.552
ColumnFamilyMetricTest-cdc              2     0      0        0       2.934
ColumnFamilyStoreCQLHelperTest-cdc      18    0      0        0       7.498
ColumnFamilyStoreTest-cdc               8     0      0        0       4.235
ColumnsTest-cdc                         8     0      0        0       1.537
CounterCacheTest-cdc                    5     0      0        0       3.090
CounterCellTest-cdc                     5     0      0        0       2.853
CounterMutationTest-cdc                 4     0      0        0       3.060
DeletePartitionTest-cdc                 1     0      0        0       2.900
DirectoriesTest-cdc                     13    0      0        0       1.073
DiskBoundaryManagerTest-cdc             4     0      0        0       4.125
KeyCacheTest-cdc                        6     0      0        0       3.737
KeyspaceTest-cdc                        10    0      0        0       6.420
LegacyCellNameTest-cdc                  5     0      0        0       1.066
LegacyLayoutTest-cdc                    10    0      0        0       3.493
LegacyLayoutValidationTest-cdc          15    0      0        0       0.997
LivenessInfoTest-cdc                    2     0      0        0       0.423
MmapFileTest-cdc                        1     0      0        0       0.145
MultiKeyspaceTest-cdc                   1     0      0        0       3.188
NameSortTest-cdc                        3     0      0        0       3.203
NativeCellTest-cdc                      1     0      0        0       1.068
OldFormatDeserializerTest-cdc           2     0      0        0       0.958
PartitionRangeReadTest-cdc              7     0      0        0       3.322
PartitionTest-cdc                       5     0      0        0       2.984
RangeTombstoneListTest-cdc              23    0      0        0       0.536
RangeTombstoneTest-cdc                  14    0      0        0       3.758
ReadCommandTest-cdc                     6     0      0        0       3.638
ReadMessageTest-cdc                     3     0      0        0       2.891
ReadResponseTest-cdc                    1     0      0        0       3.009
RecoveryManagerFlushedTest-cdc          5     0      0        0       3.278
RecoveryManagerMissingHeaderTest-cdc    5     0      0        0       2.862
RecoveryManagerTest-cdc                 35    0      0        0       6.085
RecoveryManagerTruncateTest-cdc         5     0      0        0       3.063
RemoveCellTest-cdc                      1     0      0        0       3.150
RepairedDataTombstonesTest-cdc          7     0      0        0       27.472
RowCacheCQLTest-cdc                     3     0      0        0       3.838
RowCacheTest-cdc                        11    0      0        0       4.390
RowIndexEntryTest-cdc                   4     0      0        0       4.190
RowIterationTest-cdc                    3     0      0        0       3.868
RowTest-cdc                             4     0      0        0       2.730
ScrubTest-cdc                           19    0      0        0       7.220
SecondaryIndexTest-cdc                  14    0      0        0       8.752
SerializationHeaderTest-cdc             1     0      0        0       1.534
SinglePartitionReadCommandCQLTest-cdc   1     0      0        0       3.056
SinglePartitionSliceCommandTest-cdc     8     0      0        0       3.553
SystemKeyspaceTest-cdc                  9     0      0        0       2.285
TimeSortTest-cdc                        2     0      0        0       4.082
TransformerTest-cdc                     1     0      0        0       0.976
VerifyTest-cdc                          12    0      0        0       3.527
CellTest-compression                    11    0      0        0       2.657
CleanupTest-compression                 8     0      0        0       9.419
ColumnFamilyMetricTest-compression      2     0      0        0       2.945
ColumnFamilyStoreCQLHelperTest-         18    0      0        0       13.821
compression
ColumnFamilyStoreTest-compression       8     0      0        0       4.637
ColumnsTest-compression                 8     0      0        0       1.410
CounterCacheTest-compression            5     0      0        0       3.114
CounterCellTest-compression             5     0      0        0       2.717
CounterMutationTest-compression         4     0      0        0       3.059
DeletePartitionTest-compression         1     0      0        0       2.812
DirectoriesTest-compression             13    0      0        0       1.057
DiskBoundaryManagerTest-compression     4     0      0        0       5.026
KeyCacheTest-compression                6     0      0        0       3.798
KeyspaceTest-compression                10    0      0        0       9.548
LegacyCellNameTest-compression          5     0      0        0       1.011
LegacyLayoutTest-compression            10    0      0        0       3.529
LegacyLayoutValidationTest-compression  15    0      0        0       0.942
LivenessInfoTest-compression            2     0      0        0       0.390
MmapFileTest-compression                1     0      0        0       0.136
MultiKeyspaceTest-compression           1     0      0        0       3.215
NameSortTest-compression                3     0      0        0       3.162
NativeCellTest-compression              1     0      0        0       0.973
OldFormatDeserializerTest-compression   2     0      0        0       0.902
PartitionRangeReadTest-compression      7     0      0        0       3.248
PartitionTest-compression               5     0      0        0       2.990
RangeTombstoneListTest-compression      23    0      0        0       0.470
RangeTombstoneTest-compression          14    0      0        0       4.578
ReadCommandTest-compression             6     0      0        0       3.998
ReadMessageTest-compression             3     0      0        0       2.797
ReadResponseTest-compression            1     0      0        0       2.954
RecoveryManagerFlushedTest-compression  5     0      0        0       3.245
RecoveryManagerMissingHeaderTest-       5     0      0        0       2.890
compression
RecoveryManagerTest-compression         35    0      0        0       8.814
RecoveryManagerTruncateTest-compression 5     0      0        0       3.236
RemoveCellTest-compression              1     0      0        0       3.126
RepairedDataTombstonesTest-compression  7     0      0        0       29.975
RowCacheCQLTest-compression             3     0      0        0       4.535
RowCacheTest-compression                11    0      0        0       4.205
RowIndexEntryTest-compression           4     0      0        0       4.668
RowIterationTest-compression            3     0      0        0       4.632
RowTest-compression                     4     0      0        0       2.649
ScrubTest-compression                   19    0      0        2       7.631
SecondaryIndexTest-compression          14    0      0        0       10.715
SerializationHeaderTest-compression     1     0      0        0       1.444
SinglePartitionReadCommandCQLTest-      1     0      0        0       3.136
compression
SinglePartitionSliceCommandTest-        8     0      0        0       3.822
compression
SystemKeyspaceTest-compression          9     0      0        0       2.137
TimeSortTest-compression                2     0      0        0       4.534
TransformerTest-compression             1     0      0        0       0.941
VerifyTest-compression                  12    0      0        0       3.438
CellTest                                11    0      0        0       2.606
CleanupTest                             8     0      0        0       8.803
ColumnFamilyMetricTest                  2     0      0        0       3.081
ColumnFamilyStoreCQLHelperTest          18    0      0        0       15.070
ColumnFamilyStoreTest                   8     0      0        0       5.092
ColumnsTest                             8     0      0        0       1.442
CounterCacheTest                        5     0      0        0       3.315
CounterCellTest                         5     0      0        0       2.999
CounterMutationTest                     4     0      0        0       3.408
DeletePartitionTest                     1     0      0        0       3.104
DirectoriesTest                         13    0      0        0       0.976
DiskBoundaryManagerTest                 4     0      0        0       6.950
KeyCacheTest                            6     0      0        0       4.096
KeyspaceTest                            10    0      0        0       14.223
LegacyCellNameTest                      5     0      0        0       1.003
LegacyLayoutTest                        10    0      0        0       4.325
LegacyLayoutValidationTest              15    0      0        0       0.902
LivenessInfoTest                        2     0      0        0       0.380
MmapFileTest                            1     0      0        0       0.142
MultiKeyspaceTest                       1     0      0        0       3.782
NameSortTest                            3     0      0        0       3.441
NativeCellTest                          1     0      0        0       0.998
OldFormatDeserializerTest               2     0      0        0       0.895
PartitionRangeReadTest                  7     0      0        0       3.638
PartitionTest                           5     0      0        0       3.245
RangeTombstoneListTest                  23    0      0        0       0.498
RangeTombstoneTest                      14    0      0        0       5.228
ReadCommandTest                         6     0      0        0       4.880
ReadMessageTest                         3     0      0        0       2.900
ReadResponseTest                        1     0      0        0       3.298
RecoveryManagerFlushedTest              5     0      0        0       3.630
RecoveryManagerMissingHeaderTest        5     0      0        0       3.242
RecoveryManagerTest                     35    0      0        0       12.502
RecoveryManagerTruncateTest             5     0      0        0       3.777
RemoveCellTest                          1     0      0        0       3.525
RepairedDataTombstonesTest              7     0      0        0       31.227
RowCacheCQLTest                         3     0      0        0       4.896
RowCacheTest                            11    0      0        0       4.684
RowIndexEntryTest                       4     0      0        0       5.119
RowIterationTest                        3     0      0        0       5.126
RowTest                                 4     0      0        0       2.577
ScrubTest                               19    0      0        0       8.051
SecondaryIndexTest                      14    0      0        0       11.244
SerializationHeaderTest                 1     0      0        0       1.437
SinglePartitionReadCommandCQLTest       1     0      0        0       3.342
SinglePartitionSliceCommandTest         8     0      0        0       4.144
SystemKeyspaceTest                      9     0      0        0       2.239
TimeSortTest                            2     0      0        0       4.809
TransformerTest                         1     0      0        0       0.893
VerifyTest                              12    0      0        0       3.425

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

Name                       Tests Errors Failures Skipped Time(s)
GroupMakerTest-cdc         6     0      0        0       0.803
GroupMakerTest-compression 6     0      0        0       0.769
GroupMakerTest             6     0      0        0       0.748

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

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

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

Name                                     Tests Errors Failures Skipped Time(s)
BatchCommitLogStressTest                 15    0      0        0       206.998
CommitLogStressTest                      1     0      0        1       0.054
PeriodicCommitLogStressTest              15    0      0        0       311.367
AbstractCommitLogServiceTest-cdc         9     0      0        0       1.210
BatchCommitLogTest-cdc                   2     0      0        0       2.759
CommitLogCQLTest-cdc                     1     0      0        0       3.215
CommitLogChainedMarkersTest-cdc          1     0      0        0       3.576
CommitLogDescriptorTest-cdc              14    0      0        0       13.319
CommitLogFailurePolicyTest-cdc           4     0      0        0       5.327
CommitLogReaderTest-cdc                  5     0      0        0       5.577
CommitLogSegmentBackpressureTest-cdc     1     0      0        0       4.250
CommitLogSegmentManagerCDCTest-cdc       3     0      0        0       5.695
CommitLogTest-cdc                        140   0      0        0       7.287
CommitLogUpgradeTest-cdc                 10    0      0        0       4.061
CommitlogShutdownTest-cdc                1     0      0        0       3.301
SegmentReaderTest-cdc                    5     0      0        0       1.003
SnapshotDeletingTest-cdc                 1     0      0        1       2.748
AbstractCommitLogServiceTest-compression 9     0      0        0       1.155
BatchCommitLogTest-compression           2     0      0        0       2.615
CommitLogCQLTest-compression             1     0      0        0       3.355
CommitLogChainedMarkersTest-compression  1     0      0        0       3.409
CommitLogDescriptorTest-compression      14    0      0        0       14.035
CommitLogFailurePolicyTest-compression   4     0      0        0       5.117
CommitLogReaderTest-compression          5     0      0        0       6.759
CommitLogSegmentBackpressureTest-        1     0      0        0       4.228
compression
CommitLogSegmentManagerCDCTest-          3     0      0        0       6.585
compression
CommitLogTest-compression                140   0      0        0       9.576
CommitLogUpgradeTest-compression         10    0      0        0       3.470
CommitlogShutdownTest-compression        1     0      0        0       3.299
SegmentReaderTest-compression            5     0      0        0       0.892
SnapshotDeletingTest-compression         1     0      0        1       2.644
AbstractCommitLogServiceTest             9     0      0        0       1.158
BatchCommitLogTest                       2     0      0        0       2.567
CommitLogCQLTest                         1     0      0        0       3.342
CommitLogChainedMarkersTest              1     0      0        0       3.473
CommitLogDescriptorTest                  14    0      0        0       12.015
CommitLogFailurePolicyTest               4     0      0        0       5.337
CommitLogReaderTest                      5     0      0        0       7.397
CommitLogSegmentBackpressureTest         1     0      0        0       4.252
CommitLogSegmentManagerCDCTest           3     0      0        0       7.400
CommitLogTest                            140   0      0        0       9.544
CommitLogUpgradeTest                     10    0      0        0       3.969
CommitlogShutdownTest                    1     0      0        0       3.415
SegmentReaderTest                        5     0      0        0       0.900
SnapshotDeletingTest                     1     0      0        1       2.624

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

Name                                      Tests Errors Failures Skipped Time(s)
LongCompactionsTest                       4     0      0        0       109.886
LongLeveledCompactionStrategyCQLTest      1     0      0        0       303.940
LongLeveledCompactionStrategyTest         2     0      0        0       12.226
AbstractCompactionStrategyTest-cdc        4     0      0        0       3.583
AntiCompactionBytemanTest-cdc             1     0      0        0       6.037
AntiCompactionTest-cdc                    6     0      0        0       29.046
CancelCompactionsTest-cdc                 1     0      0        0       3.167
CompactionAwareWriterTest-cdc             4     0      0        0       38.595
CompactionControllerTest-cdc              2     0      0        0       3.297
CompactionExecutorTest-cdc                3     0      0        0       0.896
CompactionIteratorTest-cdc                10    0      0        0       6.273
CompactionStrategyManagerTest-cdc         1     0      0        0       4.225
CompactionsBytemanTest-cdc                3     0      0        0       8.149
CompactionsCQLTest-cdc                    13    0      0        0       22.450
CompactionsPurgeTest-cdc                  10    0      0        0       3.694
CompactionsTest-cdc                       8     0      0        1       18.694
CorruptedSSTablesCompactionsTest-cdc      2     0      0        0       4.680
DateTieredCompactionStrategyTest-cdc      7     0      0        0       6.544
LeveledCompactionStrategyTest-cdc         10    0      0        0       17.899
LeveledGenerationsTest-cdc                4     0      0        0       3.562
NeverPurgeTest-cdc                        4     0      0        0       8.736
OneCompactionTest-cdc                     2     0      0        0       3.044
SizeTieredCompactionStrategyTest-cdc      3     0      0        0       2.920
TTLExpiryTest-cdc                         5     0      0        0       9.603
TimeWindowCompactionStrategyTest-cdc      5     0      0        0       8.361
AbstractCompactionStrategyTest-           4     0      0        0       3.779
compression
AntiCompactionBytemanTest-compression     1     0      0        0       6.109
AntiCompactionTest-compression            6     0      0        0       23.976
CancelCompactionsTest-compression         1     0      0        0       3.446
CompactionAwareWriterTest-compression     4     0      0        0       40.049
CompactionControllerTest-compression      2     0      0        0       3.230
CompactionExecutorTest-compression        3     0      0        0       0.801
CompactionIteratorTest-compression        10    0      0        0       7.885
CompactionStrategyManagerTest-compression 1     0      0        0       5.815
CompactionsBytemanTest-compression        3     0      0        0       9.249
CompactionsCQLTest-compression            13    0      0        0       27.742
CompactionsPurgeTest-compression          10    0      0        0       4.441
CompactionsTest-compression               8     0      0        1       19.115
CorruptedSSTablesCompactionsTest-         2     0      0        0       5.396
compression
DateTieredCompactionStrategyTest-         7     0      0        0       7.679
compression
LeveledCompactionStrategyTest-compression 10    0      0        0       22.710
LeveledGenerationsTest-compression        4     0      0        0       4.158
NeverPurgeTest-compression                4     0      0        0       9.648
OneCompactionTest-compression             2     0      0        0       2.955
SizeTieredCompactionStrategyTest-         3     0      0        0       2.867
compression
TTLExpiryTest-compression                 5     0      0        0       10.019
TimeWindowCompactionStrategyTest-         5     0      0        0       9.226
compression
AbstractCompactionStrategyTest            4     0      0        0       3.863
AntiCompactionBytemanTest                 1     0      0        0       6.354
AntiCompactionTest                        6     0      0        0       23.137
CancelCompactionsTest                     1     0      0        0       3.576
CompactionAwareWriterTest                 4     0      0        0       36.799
CompactionControllerTest                  2     0      0        0       3.519
CompactionExecutorTest                    3     0      0        0       0.783
CompactionIteratorTest                    10    0      0        0       8.982
CompactionStrategyManagerTest             1     0      0        0       5.226
CompactionsBytemanTest                    3     0      0        0       9.819
CompactionsCQLTest                        13    0      0        0       28.939
CompactionsPurgeTest                      10    0      0        0       4.619
CompactionsTest                           8     0      0        1       18.942
CorruptedSSTablesCompactionsTest          2     0      0        0       6.038
DateTieredCompactionStrategyTest          7     0      0        0       7.832
LeveledCompactionStrategyTest             10    0      0        0       22.365
LeveledGenerationsTest                    4     0      0        0       4.610
NeverPurgeTest                            4     0      0        0       10.352
OneCompactionTest                         2     0      0        0       3.104
SizeTieredCompactionStrategyTest          3     0      0        0       3.004
TTLExpiryTest                             5     0      0        0       10.206
TimeWindowCompactionStrategyTest          5     0      0        0       9.430

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

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

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

Name                           Tests Errors Failures Skipped Time(s)
CounterContextTest-cdc         8     0      0        0       1.677
CounterContextTest-compression 8     0      0        0       1.594
CounterContextTest             8     0      0        0       1.705

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

Name                         Tests Errors Failures Skipped Time(s)
ColumnFilterTest-cdc         1     0      0        0       0.592
RowFilterTest-cdc            1     0      0        0       1.287
SliceTest-cdc                3     0      0        0       0.332
ColumnFilterTest-compression 1     0      0        0       0.563
RowFilterTest-compression    1     0      0        0       1.252
SliceTest-compression        3     0      0        0       0.287
ColumnFilterTest             1     0      0        0       0.548
RowFilterTest                1     0      0        0       1.249
SliceTest                    3     0      0        0       0.273

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

Name                                 Tests Errors Failures Skipped Time(s)
HelpersTest-cdc                      8     0      0        0       8.047
LifecycleTransactionTest-cdc         8     0      0        0       2.300
LogTransactionTest-cdc               39    0      0        0       2.825
RealTransactionsTest-cdc             3     0      0        0       3.609
TrackerTest-cdc                      7     0      0        0       2.259
ViewTest-cdc                         3     0      0        0       1.913
HelpersTest-compression              8     0      0        0       11.173
LifecycleTransactionTest-compression 8     0      0        0       2.554
LogTransactionTest-compression       39    0      0        0       3.948
RealTransactionsTest-compression     3     0      0        0       3.677
TrackerTest-compression              7     0      0        0       2.172
ViewTest-compression                 3     0      0        0       1.820
HelpersTest                          8     0      0        0       10.887
LifecycleTransactionTest             8     0      0        0       2.638
LogTransactionTest                   39    0      0        0       4.240
RealTransactionsTest                 3     0      0        0       3.771
TrackerTest                          7     0      0        0       2.210
ViewTest                             3     0      0        0       1.794

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

Name                                  Tests Errors Failures Skipped Time(s)
AbstractCompositeTypeTest-cdc         2     0      0        0       0.269
BytesTypeTest-cdc                     2     0      0        0       0.268
CollectionTypeTest-cdc                6     0      0        0       0.326
CompositeTypeTest-cdc                 8     0      0        0       2.771
DecimalTypeTest-cdc                   3     0      0        0       0.292
DynamicCompositeTypeTest-cdc          8     0      0        0       2.780
EmptyTypeTest-cdc                     7     0      0        0       0.815
IntegerTypeTest-cdc                   10    0      0        0       0.305
JsonConversionTest-cdc                30    0      0        0       0.736
ReversedTypeTest-cdc                  1     0      0        0       0.294
RoundTripTest-cdc                     8     0      0        0       0.515
SimpleDateTypeTest-cdc                1     0      0        0       0.375
TimeTypeTest-cdc                      2     0      0        0       3.116
TimeUUIDTypeTest-cdc                  6     0      0        0       7.585
TypeCompareTest-cdc                   6     0      0        0       0.306
TypeParserTest-cdc                    3     0      0        0       0.838
TypeValidationTest-cdc                10    0      0        0       0.692
UUIDTypeTest-cdc                      6     0      0        0       3.780
AbstractCompositeTypeTest-compression 2     0      0        0       0.244
BytesTypeTest-compression             2     0      0        0       0.250
CollectionTypeTest-compression        6     0      0        0       0.307
CompositeTypeTest-compression         8     0      0        0       2.578
DecimalTypeTest-compression           3     0      0        0       0.251
DynamicCompositeTypeTest-compression  8     0      0        0       2.607
EmptyTypeTest-compression             7     0      0        0       0.779
IntegerTypeTest-compression           10    0      0        0       0.285
JsonConversionTest-compression        30    0      0        0       0.697
ReversedTypeTest-compression          1     0      0        0       0.276
RoundTripTest-compression             8     0      0        0       0.489
SimpleDateTypeTest-compression        1     0      0        0       0.321
TimeTypeTest-compression              2     0      0        0       3.391
TimeUUIDTypeTest-compression          6     0      0        0       7.500
TypeCompareTest-compression           6     0      0        0       0.289
TypeParserTest-compression            3     0      0        0       0.775
TypeValidationTest-compression        10    0      0        0       0.594
UUIDTypeTest-compression              6     0      0        0       3.644
AbstractCompositeTypeTest             2     0      0        0       0.239
BytesTypeTest                         2     0      0        0       0.244
CollectionTypeTest                    6     0      0        0       0.344
CompositeTypeTest                     8     0      0        0       2.631
DecimalTypeTest                       3     0      0        0       0.246
DynamicCompositeTypeTest              8     0      0        0       2.658
EmptyTypeTest                         7     0      0        0       0.723
IntegerTypeTest                       10    0      0        0       0.286
JsonConversionTest                    30    0      0        0       0.672
ReversedTypeTest                      1     0      0        0       0.257
RoundTripTest                         8     0      0        0       0.449
SimpleDateTypeTest                    1     0      0        0       0.307
TimeTypeTest                          2     0      0        0       4.045
TimeUUIDTypeTest                      6     0      0        0       7.659
TypeCompareTest                       6     0      0        0       0.280
TypeParserTest                        3     0      0        0       0.747
TypeValidationTest                    10    0      0        0       0.652
UUIDTypeTest                          6     0      0        0       3.749

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

Name                           Tests Errors Failures Skipped Time(s)
MonitoringTaskTest-cdc         15    0      0        0       6.088
MonitoringTaskTest-compression 15    0      0        0       6.061
MonitoringTaskTest             15    0      0        0       6.131

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

Name                                    Tests Errors Failures Skipped Time(s)
PartitionImplementationTest-cdc         7     0      0        0       50.958
PartitionUpdateTest-cdc                 5     0      0        0       4.317
PartitionImplementationTest-compression 7     0      0        0       40.251
PartitionUpdateTest-compression         5     0      0        0       6.013
PartitionImplementationTest             7     0      0        0       49.787
PartitionUpdateTest                     5     0      0        0       6.373

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

Name                          Tests Errors Failures Skipped Time(s)
PurgeFunctionTest-cdc         8     0      0        0       0.625
PurgeFunctionTest-compression 8     0      0        0       0.623
PurgeFunctionTest             8     0      0        0       0.583

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

Name                                      Tests Errors Failures Skipped Time(s)
ColumnDefinitionVersionComparatorTest-cdc 10    0      0        0       0.356
DigestBackwardCompatibilityTest-cdc       5     0      0        0       4.562
EncodingStatsTest-cdc                     9     0      0        0       0.091
RowAndDeletionMergeIteratorTest-cdc       10    0      0        0       2.694
RowsTest-cdc                              9     0      0        0       1.040
UnfilteredRowIteratorsMergeTest-cdc       5     0      0        0       24.581
UnfilteredRowIteratorsTest-cdc            1     0      0        0       0.974
ColumnDefinitionVersionComparatorTest-    10    0      0        0       0.326
compression
DigestBackwardCompatibilityTest-          5     0      0        0       5.962
compression
EncodingStatsTest-compression             9     0      0        0       0.075
RowAndDeletionMergeIteratorTest-          10    0      0        0       2.591
compression
RowsTest-compression                      9     0      0        0       0.941
UnfilteredRowIteratorsMergeTest-          5     0      0        0       21.511
compression
UnfilteredRowIteratorsTest-compression    1     0      0        0       0.937
ColumnDefinitionVersionComparatorTest     10    0      0        0       0.330
DigestBackwardCompatibilityTest           5     0      0        0       6.622
EncodingStatsTest                         9     0      0        0       0.074
RowAndDeletionMergeIteratorTest           10    0      0        0       2.617
RowsTest                                  9     0      0        0       0.895
UnfilteredRowIteratorsMergeTest           5     0      0        0       24.688
UnfilteredRowIteratorsTest                1     0      0        0       0.954

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

Name                                Tests Errors Failures Skipped Time(s)
DuplicateRowCheckerTest-cdc         7     0      0        0       5.103
RTTransformationsTest-cdc           15    0      0        0       0.627
DuplicateRowCheckerTest-compression 7     0      0        0       7.345
RTTransformationsTest-compression   15    0      0        0       0.588
DuplicateRowCheckerTest             7     0      0        0       8.269
RTTransformationsTest               15    0      0        0       0.578

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

Name                      Tests Errors Failures Skipped Time(s)
ViewUtilsTest-cdc         3     0      0        0       1.354
ViewUtilsTest-compression 3     0      0        0       1.303
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.290
BoundsTest-cdc                         1     0      0        0       0.292
ByteOrderedPartitionerTest-cdc         6     0      0        0       1.973
KeyCollisionTest-cdc                   1     0      0        0       2.844
Murmur3PartitionerTest-cdc             9     0      0        0       1.570
OrderPreservingPartitionerTest-cdc     7     0      0        0       2.094
RandomPartitionerTest-cdc              9     0      0        0       1.891
RangeTest-cdc                          30    0      0        0       15.064
SplitterTest-cdc                       4     0      0        0       16.176
StreamStateStoreTest-cdc               1     0      0        0       1.793
BootStrapperTest-compression           8     0      0        0       6.409
BoundsTest-compression                 1     0      0        0       0.268
ByteOrderedPartitionerTest-compression 6     0      0        0       1.876
KeyCollisionTest-compression           1     0      0        0       2.798
Murmur3PartitionerTest-compression     9     0      0        0       1.416
OrderPreservingPartitionerTest-        7     0      0        0       1.884
compression
RandomPartitionerTest-compression      9     0      0        0       1.694
RangeTest-compression                  30    0      0        0       14.490
SplitterTest-compression               4     0      0        0       15.764
StreamStateStoreTest-compression       1     0      0        0       1.633
BootStrapperTest                       8     0      0        0       6.840
BoundsTest                             1     0      0        0       0.263
ByteOrderedPartitionerTest             6     0      0        0       1.930
KeyCollisionTest                       1     0      0        0       2.788
Murmur3PartitionerTest                 9     0      0        0       1.436
OrderPreservingPartitionerTest         7     0      0        0       1.881
RandomPartitionerTest                  9     0      0        0       1.788
RangeTest                              30    0      0        0       14.823
SplitterTest                           4     0      0        0       16.329
StreamStateStoreTest                   1     0      0        0       1.626

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

Name                                       Tests Errors Failures Skipped Time(s)
AbstractReplicationAwareTokenAllocatorTest 1     0      0        1       0.052
Murmur3ReplicationAwareTokenAllocatorTest  2     0      0        0       146.341
NoReplicationTokenAllocatorTest            4     0      0        0       6.735
RandomReplicationAwareTokenAllocatorTest   2     0      0        0       63.991

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

Name                                             Tests Errors Failures Skipped Time
                                                                               (s)
BootstrapTest                                    1     0      0        0       59.154
FrozenUDTTest                                    4     0      0        0       21.366
GossipSettlesTest                                1     0      0        0       9.920
GossipTest                                       1     0      0        0       18.134
JVMDTestTest                                     1     0      0        0       5.132
JVMStabilityInspectorCorruptSSTableExceptionTest 2     0      0        0       58.668
MessageFiltersTest                               4     0      0        0       47.683
MessageForwardingTest                            1     0      0        0       9.439
NativeProtocolTest                               2     0      0        0       37.200
NetworkTopologyTest                              6     0      0        0       17.641
NodeToolTest                                     1     0      0        0       5.289
ReadRepairTest                                   2     0      0        0       13.741
RepairOperationalTest                            5     0      0        0       41.516
ReplicaFilteringProtectionTest                   3     0      0        0       7.679
ResourceLeakTest                                 1     0      0        1       0.050
ShortReadProtectionTest                          2     0      0        0       13.708
SimpleReadWriteTest                              13    0      0        0       41.229
ThriftClientTest                                 1     0      0        0       8.763

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

Name                              Tests Errors Failures Skipped Time(s)
CompactStorage2to3UpgradeTest     4     0      0        0       63.035
MigrateDropColumns22To30To311Test 1     0      0        0       51.386
MigrateDropColumns22To311Test     1     0      0        0       30.213
MigrateDropColumns30To311Test     1     0      0        0       33.370
MixedModeRangeTombstoneTest       1     0      0        0       12.995
MixedModeReadRepairTest           2     0      0        0       24.703
MixedModeReadTest                 1     0      0        0       17.907
PagingTest                        1     0      0        0       100.303
UpgradeTest                       2     0      0        0       122.735

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

Name                                    Tests Errors Failures Skipped Time(s)
ArrayBackedBoundedStatsTest-cdc         2     0      0        0       0.067
ArrivalWindowTest-cdc                   1     0      0        0       0.785
EndpointStateTest-cdc                   2     0      0        0       1.262
ExpireEndpointTest-cdc                  1     0      0        0       1.008
FailureDetectorTest-cdc                 1     0      0        0       2.083
GossipDigestTest-cdc                    1     0      0        0       0.822
GossiperTest-cdc                        3     0      0        0       4.861
PendingRangeCalculatorServiceTest-cdc   1     0      0        0       3.830
SerializationsTest-cdc                  2     0      0        0       0.927
ShadowRoundTest-cdc                     1     0      0        0       5.299
ArrayBackedBoundedStatsTest-compression 2     0      0        0       0.059
ArrivalWindowTest-compression           1     0      0        0       0.757
EndpointStateTest-compression           2     0      0        0       1.186
ExpireEndpointTest-compression          1     0      0        0       0.916
FailureDetectorTest-compression         1     0      0        0       1.878
GossipDigestTest-compression            1     0      0        0       0.741
GossiperTest-compression                3     0      0        0       4.785
PendingRangeCalculatorServiceTest-      1     0      0        0       3.736
compression
SerializationsTest-compression          2     0      0        0       0.894
ShadowRoundTest-compression             1     0      0        0       5.248
ArrayBackedBoundedStatsTest             2     0      0        0       0.061
ArrivalWindowTest                       1     0      0        0       0.713
EndpointStateTest                       2     0      0        0       1.390
ExpireEndpointTest                      1     0      0        0       0.872
FailureDetectorTest                     1     0      0        0       1.989
GossipDigestTest                        1     0      0        0       0.719
GossiperTest                            3     1      0        0       4.761
PendingRangeCalculatorServiceTest       1     0      0        0       3.929
SerializationsTest                      2     0      0        0       0.824
ShadowRoundTest                         1     0      0        0       5.244

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

Name                                    Tests Errors Failures Skipped Time(s)
ColumnFamilyInputFormatTest-cdc         1     0      0        0       0.307
ColumnFamilyInputFormatTest-compression 1     0      0        0       0.292
ColumnFamilyInputFormatTest             1     0      0        0       0.280

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

Name                                 Tests Errors Failures Skipped Time(s)
HintsWriteThenReadTest               1     0      0        0       50.085
ChecksummedDataInputTest-cdc         3     0      0        0       0.850
HintMessageTest-cdc                  1     0      0        0       2.689
HintTest-cdc                         7     0      0        0       3.008
HintsBufferPoolTest-cdc              1     0      0        0       3.412
HintsBufferTest-cdc                  2     0      0        0       5.625
HintsCatalogTest-cdc                 3     0      0        0       2.810
HintsCompressionTest-cdc             3     0      0        0       6.241
HintsDescriptorTest-cdc              4     0      0        0       0.523
HintsEncryptionTest-cdc              1     0      0        0       4.323
HintsReaderTest-cdc                  2     0      0        0       2.989
HintsServiceTest-cdc                 4     0      0        0       175.390
LegacyHintsMigratorTest-cdc          2     0      0        0       3.723
ChecksummedDataInputTest-compression 3     0      0        0       0.766
HintMessageTest-compression          1     0      0        0       2.607
HintTest-compression                 7     0      0        0       3.039
HintsBufferPoolTest-compression      1     0      0        0       3.190
HintsBufferTest-compression          2     0      0        0       4.098
HintsCatalogTest-compression         3     0      0        0       2.622
HintsCompressionTest-compression     3     0      0        0       6.424
HintsDescriptorTest-compression      4     0      0        0       0.497
HintsEncryptionTest-compression      1     0      0        0       4.197
HintsReaderTest-compression          2     0      0        0       2.890
HintsServiceTest-compression         4     0      0        0       175.474
LegacyHintsMigratorTest-compression  2     0      0        0       3.473
ChecksummedDataInputTest             3     0      0        0       0.756
HintMessageTest                      1     0      0        0       2.696
HintTest                             7     0      0        0       3.062
HintsBufferPoolTest                  1     0      0        0       3.331
HintsBufferTest                      2     0      0        0       4.688
HintsCatalogTest                     3     0      0        0       2.788
HintsCompressionTest                 3     0      0        0       5.517
HintsDescriptorTest                  4     0      0        0       0.475
HintsEncryptionTest                  1     0      0        0       4.076
HintsReaderTest                      2     0      0        0       3.025
HintsServiceTest                     4     0      0        0       175.541
LegacyHintsMigratorTest              2     0      0        0       3.736

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

Name                        Tests Errors Failures Skipped Time(s)
CustomIndexTest-cdc         29    0      0        0       21.946
CustomIndexTest-compression 29    0      0        0       38.241
CustomIndexTest             29    0      0        0       41.463

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

Name                           Tests Errors Failures Skipped Time(s)
CassandraIndexTest-cdc         29    0      0        0       20.780
CassandraIndexTest-compression 29    0      0        0       44.101
CassandraIndexTest             29    0      0        0       47.543

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

Name                      Tests Errors Failures Skipped Time(s)
SASICQLTest-cdc           9     0      0        0       16.467
SASIIndexTest-cdc         32    0      0        0       19.304
SASICQLTest-compression   9     0      0        0       26.680
SASIIndexTest-compression 32    0      1        0       21.325
SASICQLTest               9     0      0        0       29.301
SASIIndexTest             32    0      1        0       24.873

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

Name                                  Tests Errors Failures Skipped Time(s)
DelimiterAnalyzerTest-cdc             12    0      0        0       0.426
NonTokenizingAnalyzerTest-cdc         3     0      0        0       0.288
StandardAnalyzerTest-cdc              10    0      0        0       0.670
DelimiterAnalyzerTest-compression     12    0      0        0       0.413
NonTokenizingAnalyzerTest-compression 3     0      0        0       0.267
StandardAnalyzerTest-compression      10    0      0        0       0.561
DelimiterAnalyzerTest                 12    0      0        0       0.414
NonTokenizingAnalyzerTest             3     0      0        0       0.265
StandardAnalyzerTest                  10    0      0        0       0.619

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

Name                      Tests Errors Failures Skipped Time(s)
IndexModeTest-cdc         14    0      0        0       0.938
IndexModeTest-compression 14    0      0        0       0.857
IndexModeTest             14    0      0        0       0.840

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

Name                                  Tests Errors Failures Skipped Time(s)
OnDiskIndexTest-cdc                   12    0      0        0       14.940
PerSSTableIndexWriterTest-cdc         2     0      0        0       5.457
TokenTreeTest-cdc                     14    0      0        0       13.186
OnDiskIndexTest-compression           12    0      0        0       15.306
PerSSTableIndexWriterTest-compression 2     0      0        0       5.242
TokenTreeTest-compression             14    0      0        0       12.312
OnDiskIndexTest                       12    0      0        0       15.485
PerSSTableIndexWriterTest             2     0      0        0       5.644
TokenTreeTest                         14    0      0        0       12.510

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

Name                      Tests Errors Failures Skipped Time(s)
OperationTest-cdc         6     0      0        0       4.009
OperationTest-compression 6     0      0        0       4.173
OperationTest             6     0      0        0       4.629

-------------------------------------------------------------------------------
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.169
RangeIntersectionIteratorTest-cdc         11    0      0        0       0.333
RangeUnionIteratorTest-cdc                13    0      0        0       0.397
LongIteratorTest-compression              2     0      0        0       0.063
MappedBufferTest-compression              26    0      0        0       2.818
RangeIntersectionIteratorTest-compression 11    0      0        0       0.305
RangeUnionIteratorTest-compression        13    0      0        0       0.324
LongIteratorTest                          2     0      0        0       0.081
MappedBufferTest                          26    0      0        0       3.125
RangeIntersectionIteratorTest             11    0      0        0       0.306
RangeUnionIteratorTest                    13    0      0        0       0.336

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

Name                               Tests Errors Failures Skipped Time(s)
BloomFilterTrackerTest-cdc         3     0      0        0       0.068
DiskSpaceMetricsTest-cdc           2     0      0        0       16.842
BloomFilterTrackerTest-compression 3     0      0        0       0.061
DiskSpaceMetricsTest-compression   2     0      0        0       20.300
BloomFilterTrackerTest             3     0      0        0       0.061
DiskSpaceMetricsTest               2     0      0        0       21.124

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

Name                                     Tests Errors Failures Skipped Time(s)
CQLCompressionTest-cdc                   2     0      0        0       3.470
CompressedRandomAccessReaderTest-cdc     6     0      0        0       1.160
CompressedSequentialWriterReopenTest-cdc 4     0      0        0       8.187
CompressedSequentialWriterTest-cdc       10    0      0        0       1.079
CompressorTest-cdc                       4     0      0        0       1.255
CQLCompressionTest-compression           2     0      0        0       3.950
CompressedRandomAccessReaderTest-        6     0      0        0       1.130
compression
CompressedSequentialWriterReopenTest-    4     0      0        0       6.884
compression
CompressedSequentialWriterTest-          10    0      0        0       1.059
compression
CompressorTest-compression               4     0      0        0       1.192
CQLCompressionTest                       2     0      0        0       4.288
CompressedRandomAccessReaderTest         6     0      0        0       1.111
CompressedSequentialWriterReopenTest     4     0      0        0       7.696
CompressedSequentialWriterTest           10    0      0        0       1.085
CompressorTest                           4     0      0        0       1.212

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

Name                                   Tests Errors Failures Skipped Time(s)
CQLSSTableWriterLongTest               1     0      0        0       5.277
BigTableWriterTest-cdc                 5     0      0        0       2.939
CQLSSTableWriterClientTest-cdc         1     0      0        0       1.699
CQLSSTableWriterTest-cdc               11    0      0        0       4.423
DescriptorTest-cdc                     7     0      0        0       0.865
IndexSummaryManagerTest-cdc            8     0      0        0       4.782
IndexSummaryRedistributionTest-cdc     1     0      0        0       3.879
IndexSummaryTest-cdc                   12    0      0        0       32.435
LargePartitionsTest-cdc                1     0      0        1       0.059
LegacySSTableTest-cdc                  19    0      0        1       28.035
SSTableCorruptionDetectionTest-cdc     2     0      0        0       53.233
SSTableHeaderFixTest-cdc               14    0      0        0       1.443
SSTableLoaderTest-cdc                  2     0      0        0       10.828
SSTableMetadataTest-cdc                3     0      0        0       3.310
SSTableReaderTest-cdc                  12    0      0        0       7.135
SSTableRewriterTest-cdc                21    0      0        0       12.771
SSTableScannerTest-cdc                 3     0      0        0       2.967
SSTableWriterTest-cdc                  4     0      0        0       62.984
BigTableWriterTest-compression         5     0      0        0       2.931
CQLSSTableWriterClientTest-compression 1     0      0        0       1.588
CQLSSTableWriterTest-compression       11    0      0        0       4.122
DescriptorTest-compression             7     0      0        0       0.796
IndexSummaryManagerTest-compression    8     0      0        0       4.982
IndexSummaryRedistributionTest-        1     0      0        0       3.566
compression
IndexSummaryTest-compression           12    0      0        0       31.266
LargePartitionsTest-compression        1     0      0        1       0.061
LegacySSTableTest-compression          19    0      0        1       56.531
SSTableCorruptionDetectionTest-        2     0      0        0       54.158
compression
SSTableHeaderFixTest-compression       14    0      0        0       1.301
SSTableLoaderTest-compression          2     0      0        0       8.889
SSTableMetadataTest-compression        3     0      0        0       3.324
SSTableReaderTest-compression          12    0      0        0       7.283
SSTableRewriterTest-compression        21    0      0        0       13.964
SSTableScannerTest-compression         3     0      0        0       2.828
SSTableWriterTest-compression          4     0      0        0       25.252
BigTableWriterTest                     5     0      0        0       3.055
CQLSSTableWriterClientTest             1     0      0        0       1.639
CQLSSTableWriterTest                   11    0      0        0       4.585
DescriptorTest                         7     0      0        0       0.778
IndexSummaryManagerTest                8     0      0        0       5.037
IndexSummaryRedistributionTest         1     0      0        0       3.824
IndexSummaryTest                       12    0      0        0       31.131
LargePartitionsTest                    1     0      0        1       0.053
LegacySSTableTest                      19    0      0        1       60.550
SSTableCorruptionDetectionTest         2     0      0        0       42.782
SSTableHeaderFixTest                   14    0      0        0       1.324
SSTableLoaderTest                      2     0      0        0       10.281
SSTableMetadataTest                    3     0      0        0       3.410
SSTableReaderTest                      12    0      0        0       7.575
SSTableRewriterTest                    21    0      0        0       14.739
SSTableScannerTest                     3     0      0        0       3.018
SSTableWriterTest                      4     0      0        0       30.364

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

Name                                 Tests Errors Failures Skipped Time(s)
ClientModeSSTableTest-cdc            1     0      0        0       0.933
SSTableFlushObserverTest-cdc         1     0      0        0       1.875
ClientModeSSTableTest-compression    1     0      0        0       0.891
SSTableFlushObserverTest-compression 1     0      0        0       1.771
ClientModeSSTableTest                1     0      0        0       0.867
SSTableFlushObserverTest             1     0      0        0       1.912

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

Name                               Tests Errors Failures Skipped Time(s)
MetadataSerializerTest-cdc         6     0      0        0       1.034
MetadataSerializerTest-compression 6     0      0        0       0.982
MetadataSerializerTest             6     0      0        0       0.961

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

Name                                     Tests Errors Failures Skipped Time(s)
BufferedDataOutputStreamTest-cdc         19    0      0        0       24.612
BufferedRandomAccessFileTest-cdc         17    0      0        0       1.111
ChecksummedRandomAccessReaderTest-cdc    3     0      0        0       0.870
ChecksummedSequentialWriterTest-cdc      7     0      0        0       0.811
DataOutputTest-cdc                       15    0      0        0       0.832
DiskOptimizationStrategyTest-cdc         5     0      0        0       0.079
FileSegmentInputStreamTest-cdc           7     0      0        0       0.094
FileUtilsTest-cdc                        3     0      0        0       0.785
MemoryTest-cdc                           2     0      0        0       0.331
MmappedRegionsTest-cdc                   12    0      0        0       1.034
NIODataInputStreamTest-cdc               17    0      0        0       8.963
RandomAccessReaderTest-cdc               11    0      0        0       1.280
RewindableDataInputStreamPlusTest-cdc    8     0      0        0       0.089
SafeMemoryWriterTest-cdc                 2     0      0        0       2.646
SequentialWriterTest-cdc                 7     0      0        0       0.869
BufferedDataOutputStreamTest-compression 19    0      0        0       24.556
BufferedRandomAccessFileTest-compression 17    0      0        0       1.032
ChecksummedRandomAccessReaderTest-       3     0      0        0       0.823
compression
ChecksummedSequentialWriterTest-         7     0      0        0       0.789
compression
DataOutputTest-compression               15    0      0        0       0.800
DiskOptimizationStrategyTest-compression 5     0      0        0       0.069
FileSegmentInputStreamTest-compression   7     0      0        0       0.088
FileUtilsTest-compression                3     0      0        0       0.765
MemoryTest-compression                   2     0      0        0       0.301
MmappedRegionsTest-compression           12    0      0        0       0.910
NIODataInputStreamTest-compression       17    0      0        0       8.728
RandomAccessReaderTest-compression       11    0      0        0       1.322
RewindableDataInputStreamPlusTest-       8     0      0        0       0.076
compression
SafeMemoryWriterTest-compression         2     0      0        0       2.564
SequentialWriterTest-compression         7     0      0        0       0.764
BufferedDataOutputStreamTest             19    0      0        0       23.645
BufferedRandomAccessFileTest             17    0      0        0       1.033
ChecksummedRandomAccessReaderTest        3     0      0        0       0.786
ChecksummedSequentialWriterTest          7     0      0        0       0.748
DataOutputTest                           15    0      0        0       0.772
DiskOptimizationStrategyTest             5     0      0        0       0.073
FileSegmentInputStreamTest               7     0      0        0       0.085
FileUtilsTest                            3     0      0        0       0.728
MemoryTest                               2     0      0        0       0.298
MmappedRegionsTest                       12    0      0        0       0.922
NIODataInputStreamTest                   17    0      0        0       9.221
RandomAccessReaderTest                   11    0      0        0       1.238
RewindableDataInputStreamPlusTest        8     0      0        0       0.076
SafeMemoryWriterTest                     2     0      0        0       2.164
SequentialWriterTest                     7     0      0        0       0.745

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

Name                                     Tests Errors Failures Skipped Time(s)
DynamicEndpointSnitchLongTest            1     0      0        0       84.180
CloudstackSnitchTest-cdc                 2     0      0        0       5.686
DynamicEndpointSnitchTest-cdc            1     0      0        0       2.019
EC2SnitchTest-cdc                        3     0      0        0       5.658
GoogleCloudSnitchTest-cdc                2     0      0        0       5.643
GossipingPropertyFileSnitchTest-cdc      1     0      0        0       0.899
NetworkTopologyStrategyTest-cdc          4     0      0        0       3.107
OldNetworkTopologyStrategyTest-cdc       8     0      0        0       0.961
PendingRangeMapsTest-cdc                 2     0      0        0       0.451
PropertyFileSnitchTest-cdc               5     0      0        0       15.995
ReplicationStrategyEndpointCacheTest-cdc 2     0      0        0       2.728
SimpleStrategyTest-cdc                   4     0      0        0       2.673
TokenMetadataTest-cdc                    5     0      0        0       1.034
CloudstackSnitchTest-compression         2     0      0        0       5.576
DynamicEndpointSnitchTest-compression    1     0      0        0       1.940
EC2SnitchTest-compression                3     0      0        0       5.569
GoogleCloudSnitchTest-compression        2     0      0        0       5.500
GossipingPropertyFileSnitchTest-         1     0      0        0       0.878
compression
NetworkTopologyStrategyTest-compression  4     0      0        0       2.660
OldNetworkTopologyStrategyTest-          8     0      0        0       0.897
compression
PendingRangeMapsTest-compression         2     0      0        0       0.407
PropertyFileSnitchTest-compression       5     0      0        0       15.942
ReplicationStrategyEndpointCacheTest-    2     0      0        0       2.504
compression
SimpleStrategyTest-compression           4     0      0        0       2.496
TokenMetadataTest-compression            5     0      0        0       0.910
CloudstackSnitchTest                     2     0      0        0       5.613
DynamicEndpointSnitchTest                1     0      0        0       1.942
EC2SnitchTest                            3     0      0        0       5.846
GoogleCloudSnitchTest                    2     0      0        0       5.555
GossipingPropertyFileSnitchTest          1     0      0        0       0.807
NetworkTopologyStrategyTest              4     0      0        0       2.883
OldNetworkTopologyStrategyTest           8     0      0        0       0.877
PendingRangeMapsTest                     2     0      0        0       0.399
PropertyFileSnitchTest                   5     0      0        0       15.922
ReplicationStrategyEndpointCacheTest     2     0      0        0       2.595
SimpleStrategyTest                       4     0      0        0       2.657
TokenMetadataTest                        5     0      0        0       0.881

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

Name                                     Tests Errors Failures Skipped Time(s)
CQLMetricsTest-cdc                       4     0      0        0       7.755
CassandraMetricsRegistryTest-cdc         3     0      0        0       0.332
DecayingEstimatedHistogramReservoirTest- 9     0      0        0       6.711
cdc
HintedHandOffMetricsTest-cdc             1     0      0        0       1.734
LatencyMetricsTest-cdc                   1     0      0        0       0.363
CQLMetricsTest-compression               4     0      0        0       7.776
CassandraMetricsRegistryTest-compression 3     0      0        0       0.318
DecayingEstimatedHistogramReservoirTest- 9     0      0        0       6.432
compression
HintedHandOffMetricsTest-compression     1     0      0        0       1.606
LatencyMetricsTest-compression           1     0      0        0       0.325
CQLMetricsTest                           4     0      0        0       8.323
CassandraMetricsRegistryTest             3     0      0        0       0.306
DecayingEstimatedHistogramReservoirTest  9     0      0        0       6.758
HintedHandOffMetricsTest                 1     0      0        0       1.554
LatencyMetricsTest                       1     0      0        0       0.303

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

Name                                  Tests Errors Failures Skipped Time(s)
MessagingServiceTest-cdc              8     0      0        0       1.734
MockMessagingServiceTest-cdc          1     0      0        0       3.245
OutboundTcpConnectionTest-cdc         2     0      0        0       1.647
RateBasedBackPressureTest-cdc         15    0      0        0       1.595
WriteCallbackInfoTest-cdc             1     0      0        0       1.242
MessagingServiceTest-compression      8     0      0        0       1.600
MockMessagingServiceTest-compression  1     0      0        0       3.150
OutboundTcpConnectionTest-compression 2     0      0        0       1.521
RateBasedBackPressureTest-compression 15    0      0        0       1.551
WriteCallbackInfoTest-compression     1     0      0        0       1.180
MessagingServiceTest                  8     0      0        0       1.620
MockMessagingServiceTest              1     0      0        0       3.419
OutboundTcpConnectionTest             2     0      0        0       1.530
RateBasedBackPressureTest             15    0      0        0       1.575
WriteCallbackInfoTest                 1     0      0        0       1.204

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

Name                          Tests Errors Failures Skipped Time(s)
LocalSyncTaskTest-cdc         2     0      0        0       3.205
RepairJobTest-cdc             2     0      0        0       4.211
RepairSessionTest-cdc         1     0      0        0       1.069
ValidatorTest-cdc             4     0      0        0       14.620
LocalSyncTaskTest-compression 2     0      0        0       3.122
RepairJobTest-compression     2     0      0        0       4.116
RepairSessionTest-compression 1     0      0        0       0.904
ValidatorTest-compression     4     0      0        0       13.876
LocalSyncTaskTest             2     0      0        0       3.250
RepairJobTest                 2     0      0        0       4.380
RepairSessionTest             1     0      0        0       0.885
ValidatorTest                 4     0      0        0       14.209

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

Name                                Tests Errors Failures Skipped Time(s)
RepairMessageSerializationsTest-cdc 9     0      0        0       0.956
RepairOptionTest-cdc                4     0      0        0       0.884
RepairMessageSerializationsTest-    9     0      0        0       0.906
compression
RepairOptionTest-compression        4     0      0        0       0.755
RepairMessageSerializationsTest     9     0      0        0       0.845
RepairOptionTest                    4     0      0        0       0.715

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

Name                                     Tests Errors Failures Skipped Time(s)
CreateTableValidationTest-cdc            1     0      0        0       2.946
DefsTest-cdc                             11    0      0        0       4.522
IndexMetadataTest-cdc                    3     0      0        0       0.265
LegacySchemaMigratorTest-cdc             2     0      0        0       4.473
SchemaKeyspaceTest-cdc                   8     0      0        0       3.156
TupleTypesRepresentationTest-cdc         2     0      0        1       1.133
CreateTableValidationTest-compression    1     0      0        0       2.963
DefsTest-compression                     11    0      0        0       5.525
IndexMetadataTest-compression            3     0      0        0       0.246
LegacySchemaMigratorTest-compression     2     0      0        0       5.203
SchemaKeyspaceTest-compression           8     0      0        0       3.134
TupleTypesRepresentationTest-compression 2     0      0        1       1.095
CreateTableValidationTest                1     0      0        0       3.081
DefsTest                                 11    0      0        0       6.054
IndexMetadataTest                        3     0      0        0       0.239
LegacySchemaMigratorTest                 2     0      0        0       5.539
SchemaKeyspaceTest                       8     0      0        0       3.383
TupleTypesRepresentationTest             2     0      0        1       1.038

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

Name                            Tests Errors Failures Skipped Time(s)
CipherFactoryTest-cdc           7     0      0        0       0.424
EncryptionUtilsTest-cdc         3     0      0        0       0.889
JKSKeyProviderTest-cdc          2     0      0        0       0.352
SSLFactoryTest-cdc              2     0      0        0       0.793
CipherFactoryTest-compression   7     0      0        0       0.394
EncryptionUtilsTest-compression 3     0      0        0       0.877
JKSKeyProviderTest-compression  2     0      0        0       0.335
SSLFactoryTest-compression      2     0      0        0       0.735
CipherFactoryTest               7     0      0        0       0.384
EncryptionUtilsTest             3     0      0        0       0.828
JKSKeyProviderTest              2     0      0        0       0.313
SSLFactoryTest                  2     0      0        0       0.736

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

Name                                 Tests Errors Failures Skipped Time(s)
SimpleDateSerializerTest-cdc         9     0      0        0       0.333
TimeSerializerTest-cdc               16    0      0        0       0.085
TimestampSerializerTest-cdc          1     0      0        0       0.089
SimpleDateSerializerTest-compression 9     0      0        0       0.307
TimeSerializerTest-compression       16    0      0        0       0.070
TimestampSerializerTest-compression  1     0      0        0       0.076
SimpleDateSerializerTest             9     0      0        0       0.312
TimeSerializerTest                   16    0      0        0       0.073
TimestampSerializerTest              1     0      0        0       0.083

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

Name                                     Tests Errors Failures Skipped Time(s)
ActiveRepairServiceTest-cdc              10    0      0        0       4.100
ClientWarningsTest-cdc                   4     0      0        0       25.146
DataResolverTest-cdc                     18    0      0        0       2.748
EmbeddedCassandraServiceTest-cdc         1     0      0        0       4.122
JoinTokenRingTest-cdc                    1     0      0        0       4.553
LeaveAndBootstrapTest-cdc                8     0      0        0       5.015
LegacyAuthFailTest-cdc                   1     0      0        0       3.948
MigrationManagerTest-cdc                 3     0      0        0       3.513
MoveTest-cdc                             7     0      0        0       8.048
NativeTransportServiceTest-cdc           11    0      0        0       8.608
PaxosStateTest-cdc                       1     0      0        0       4.537
ProtocolBetaVersionTest-cdc              2     0      0        0       9.633
QueryPagerTest-cdc                       8     0      0        0       2.957
RMIServerSocketFactoryImplTest-cdc       1     0      0        0       0.068
RemoveTest-cdc                           4     0      0        0       4.753
SerializationsTest-cdc                   4     0      0        0       0.979
StartupChecksTest-cdc                    3     0      0        0       2.066
StorageProxyTest-cdc                     4     0      0        0       1.075
StorageServiceServerTest-cdc             15    0      0        1       6.015
ActiveRepairServiceTest-compression      10    0      0        0       5.061
ClientWarningsTest-compression           4     0      0        0       19.916
DataResolverTest-compression             18    0      0        0       2.756
EmbeddedCassandraServiceTest-compression 1     0      0        0       4.168
JoinTokenRingTest-compression            1     0      0        0       5.131
LeaveAndBootstrapTest-compression        8     0      0        0       5.574
LegacyAuthFailTest-compression           1     0      0        0       4.759
MigrationManagerTest-compression         3     0      0        0       4.164
MoveTest-compression                     7     0      0        0       8.412
NativeTransportServiceTest-compression   11    0      0        0       8.502
PaxosStateTest-compression               1     0      0        0       4.751
ProtocolBetaVersionTest-compression      2     0      0        0       9.629
QueryPagerTest-compression               8     0      0        0       2.914
RMIServerSocketFactoryImplTest-          1     0      0        0       0.061
compression
RemoveTest-compression                   4     0      0        0       4.737
SerializationsTest-compression           4     0      0        0       0.898
StartupChecksTest-compression            3     0      0        0       1.977
StorageProxyTest-compression             4     0      0        0       0.930
StorageServiceServerTest-compression     15    0      0        1       5.791
ActiveRepairServiceTest                  10    0      0        0       5.139
ClientWarningsTest                       4     0      0        0       25.308
DataResolverTest                         18    0      0        0       2.737
EmbeddedCassandraServiceTest             1     0      0        0       4.428
JoinTokenRingTest                        1     0      0        0       5.460
LeaveAndBootstrapTest                    8     0      0        0       5.964
LegacyAuthFailTest                       1     0      0        0       5.205
MigrationManagerTest                     3     0      0        0       4.351
MoveTest                                 7     0      0        0       8.812
NativeTransportServiceTest               11    0      0        0       8.522
PaxosStateTest                           1     0      0        0       5.243
ProtocolBetaVersionTest                  2     0      0        0       10.098
QueryPagerTest                           8     0      0        0       2.979
RMIServerSocketFactoryImplTest           1     0      0        0       0.060
RemoveTest                               4     0      0        0       4.728
SerializationsTest                       4     0      0        0       0.835
StartupChecksTest                        3     0      0        0       1.913
StorageProxyTest                         4     0      0        0       0.936
StorageServiceServerTest                 15    0      0        1       5.800

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

Name                        Tests Errors Failures Skipped Time(s)
PagingStateTest-cdc         7     0      0        0       1.063
PagingStateTest-compression 7     0      0        0       0.913
PagingStateTest             7     0      0        0       0.893

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

Name                               Tests Errors Failures Skipped Time(s)
LongStreamingTest                  1     0      0        0       114.279
SessionInfoTest-cdc                1     0      0        0       0.862
StreamTransferTaskTest-cdc         2     0      0        0       2.990
StreamingTransferTest-cdc          5     0      0        0       5.844
SessionInfoTest-compression        1     0      0        0       0.727
StreamTransferTaskTest-compression 2     0      0        0       2.819
StreamingTransferTest-compression  5     0      0        0       7.041
SessionInfoTest                    1     0      0        0       0.720
StreamTransferTaskTest             2     0      0        0       2.991
StreamingTransferTest              5     0      0        0       5.056

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

Name                                  Tests Errors Failures Skipped Time(s)
CompressedInputStreamTest-cdc         3     0      0        0       1.022
CompressedInputStreamTest-compression 3     0      0        0       0.933
CompressedInputStreamTest             3     0      0        0       0.949

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

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

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

Name                  Tests Errors Failures Skipped Time(s)
OptionReplicationTest 1     0      0        0       0.089
SettingsMiscTest      4     0      0        0       0.092
SettingsNodeTest      2     0      0        0       0.071
StressSettingsTest    1     0      0        0       0.613

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

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

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

Name                                    Tests Errors Failures Skipped Time(s)
BulkLoaderTest-cdc                      2     0      0        0       3.588
CompactionStressTest-cdc                2     0      0        0       14.570
GetVersionTest-cdc                      1     0      0        0       0.766
LoaderOptionsTest-cdc                   1     0      0        0       0.547
SSTableExpiredBlockersTest-cdc          2     0      0        0       1.895
SSTableExportTest-cdc                   2     0      0        0       1.602
SSTableLevelResetterTest-cdc            2     0      0        0       1.842
SSTableMetadataViewerTest-cdc           2     0      0        0       0.794
SSTableOfflineRelevelTest-cdc           2     0      0        0       1.890
SSTableRepairedAtSetterTest-cdc         2     0      0        0       0.961
StandaloneSSTableUtilTest-cdc           2     0      0        0       1.921
StandaloneScrubberTest-cdc              2     0      0        0       1.886
StandaloneSplitterTest-cdc              1     0      0        0       0.810
StandaloneUpgraderTest-cdc              2     0      0        0       1.844
StandaloneVerifierTest-cdc              2     0      0        0       1.844
BulkLoaderTest-compression              2     0      0        0       3.535
CompactionStressTest-compression        2     0      0        0       14.226
GetVersionTest-compression              1     0      0        0       0.709
LoaderOptionsTest-compression           1     0      0        0       0.511
SSTableExpiredBlockersTest-compression  2     0      0        0       1.764
SSTableExportTest-compression           2     0      0        0       1.506
SSTableLevelResetterTest-compression    2     0      0        0       1.788
SSTableMetadataViewerTest-compression   2     0      0        0       0.727
SSTableOfflineRelevelTest-compression   2     0      0        0       1.738
SSTableRepairedAtSetterTest-compression 2     0      0        0       0.921
StandaloneSSTableUtilTest-compression   2     0      0        0       1.785
StandaloneScrubberTest-compression      2     0      0        0       1.746
StandaloneSplitterTest-compression      1     0      0        0       0.746
StandaloneUpgraderTest-compression      2     0      0        0       1.722
StandaloneVerifierTest-compression      2     0      0        0       1.752
BulkLoaderTest                          2     0      0        0       3.484
CompactionStressTest                    2     0      0        0       14.430
GetVersionTest                          1     0      0        0       0.700
LoaderOptionsTest                       1     0      0        0       0.491
SSTableExpiredBlockersTest              2     0      0        0       1.689
SSTableExportTest                       2     0      0        0       1.454
SSTableLevelResetterTest                2     0      0        0       1.719
SSTableMetadataViewerTest               2     0      0        0       0.716
SSTableOfflineRelevelTest               2     0      0        0       1.696
SSTableRepairedAtSetterTest             2     0      0        0       0.880
StandaloneSSTableUtilTest               2     0      0        0       1.698
StandaloneScrubberTest                  2     0      0        0       1.738
StandaloneSplitterTest                  1     0      0        0       0.716
StandaloneUpgraderTest                  2     0      0        0       1.718
StandaloneVerifierTest                  2     0      0        0       1.751

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

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

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

Name                    Tests Errors Failures Skipped Time(s)
TracingTest-cdc         6     0      0        0       0.883
TracingTest-compression 6     0      0        0       0.806
TracingTest             6     0      0        0       0.802

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

Name                                  Tests Errors Failures Skipped Time(s)
DataTypeTest-cdc                      3     0      0        0       0.369
DynamicLimitTest-cdc                  2     0      0        0       2.689
ErrorMessageTest-cdc                  3     0      0        0       0.384
InflightRequestPayloadTrackerTest-cdc 5     0      0        0       10.681
MessagePayloadTest-cdc                2     0      0        0       9.723
ProtocolErrorTest-cdc                 5     0      0        0       1.048
ProtocolNegotiationTest-cdc           3     0      0        0       14.558
ProtocolVersionTest-cdc               3     0      0        0       0.075
SerDeserTest-cdc                      6     0      0        0       1.111
DataTypeTest-compression              3     0      0        0       0.334
DynamicLimitTest-compression          2     0      0        0       2.539
ErrorMessageTest-compression          3     0      0        0       0.356
InflightRequestPayloadTrackerTest-    5     0      0        0       12.238
compression
MessagePayloadTest-compression        2     0      0        0       10.201
ProtocolErrorTest-compression         5     0      0        0       0.954
ProtocolNegotiationTest-compression   3     0      0        0       17.390
ProtocolVersionTest-compression       3     0      0        0       0.067
SerDeserTest-compression              6     0      0        0       1.023
DataTypeTest                          3     0      0        0       0.336
DynamicLimitTest                      2     0      0        0       2.681
ErrorMessageTest                      3     0      0        0       0.333
InflightRequestPayloadTrackerTest     5     0      0        0       12.960
MessagePayloadTest                    2     0      0        0       10.871
ProtocolErrorTest                     5     0      0        0       0.924
ProtocolNegotiationTest               3     0      0        0       18.147
ProtocolVersionTest                   3     0      0        0       0.067
SerDeserTest                          6     0      0        0       0.977

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

Name                            Tests Errors Failures Skipped Time(s)
TriggerExecutorTest-cdc         9     0      0        0       1.056
TriggersSchemaTest-cdc          4     0      0        0       3.444
TriggersTest-cdc                12    0      0        0       4.970
TriggerExecutorTest-compression 9     0      0        0       0.994
TriggersSchemaTest-compression  4     0      0        0       3.506
TriggersTest-compression        12    0      0        0       5.546
TriggerExecutorTest             9     0      0        0       0.962
TriggersSchemaTest              4     0      0        0       3.656
TriggersTest                    12    0      0        0       6.246

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

Name                                    Tests Errors Failures Skipped Time(s)
LongBitSetTest                          3     0      0        0       38.495
LongBloomFilterTest                     5     0      0        0       302.628
LongBTreeTest                           14    0      0        0       804.349
AbstractIteratorTest-cdc                9     0      0        0       0.080
BTreeTest-cdc                           10    0      0        0       0.332
BitSetTest-cdc                          4     0      0        0       0.575
BloomFilterTest-cdc                     12    0      0        2       0.656
ByteBufferUtilTest-cdc                  11    0      0        0       0.334
BytesReadTrackerTest-cdc                4     0      0        0       0.071
CassandraVersionTest-cdc                7     0      0        0       0.079
CoalescingStrategiesTest-cdc            6     0      0        0       1.351
EstimatedHistogramTest-cdc              7     0      0        0       0.302
FBUtilitiesTest-cdc                     7     0      0        0       0.846
FastByteOperationsTest-cdc              2     0      0        0       3.803
HexTest-cdc                             2     0      0        0       0.286
HistogramBuilderTest-cdc                5     0      0        0       0.296
IntegerIntervalsTest-cdc                6     0      0        0       48.325
IntervalTreeTest-cdc                    3     0      0        0       0.322
JVMStabilityInspectorTest-cdc           3     0      0        0       0.905
JavaUtilsTest-cdc                       1     0      0        0       0.274
MergeIteratorComparisonTest-cdc         16    0      0        0       11.542
MergeIteratorTest-cdc                   1     0      0        0       0.080
MerkleTreeTest-cdc                      14    0      0        0       0.859
MerkleTreesTest-cdc                     13    0      0        0       1.045
NanoTimeToCurrentTimeMillisTest-cdc     1     0      0        0       18.225
NativeLibraryTest-cdc                   2     0      0        0       0.475
NoSpamLoggerTest-cdc                    4     0      0        0       0.079
OverlapIteratorTest-cdc                 1     0      0        0       11.866
SerializationsTest-cdc                  5     0      0        0       2.722
SlidingTimeRateTest-cdc                 7     0      0        0       0.552
StreamingHistogramTest-cdc              5     0      0        0       0.098
TopKSamplerTest-cdc                     3     0      0        0       2.668
AbstractIteratorTest-compression        9     0      0        0       0.071
BTreeTest-compression                   10    0      0        0       0.301
BitSetTest-compression                  4     0      0        0       0.529
BloomFilterTest-compression             12    0      0        2       0.604
ByteBufferUtilTest-compression          11    0      0        0       0.280
BytesReadTrackerTest-compression        4     0      0        0       0.062
CassandraVersionTest-compression        7     0      0        0       0.071
CoalescingStrategiesTest-compression    6     0      0        0       1.271
EstimatedHistogramTest-compression      7     0      0        0       0.252
FBUtilitiesTest-compression             7     0      0        0       0.779
FastByteOperationsTest-compression      2     0      0        0       3.633
HexTest-compression                     2     0      0        0       0.244
HistogramBuilderTest-compression        5     0      0        0       0.283
IntegerIntervalsTest-compression        6     0      0        0       48.975
IntervalTreeTest-compression            3     0      0        0       0.285
JVMStabilityInspectorTest-compression   3     0      0        0       0.858
JavaUtilsTest-compression               1     0      0        0       0.243
MergeIteratorComparisonTest-compression 16    0      0        0       11.612
MergeIteratorTest-compression           1     0      0        0       0.073
MerkleTreeTest-compression              14    0      0        0       0.801
MerkleTreesTest-compression             13    0      0        0       0.918
NanoTimeToCurrentTimeMillisTest-        1     0      0        0       7.099
compression
NativeLibraryTest-compression           2     0      0        0       0.437
NoSpamLoggerTest-compression            4     0      0        0       0.069
OverlapIteratorTest-compression         1     0      0        0       11.285
SerializationsTest-compression          5     0      0        0       2.561
SlidingTimeRateTest-compression         7     0      0        0       0.492
StreamingHistogramTest-compression      5     0      0        0       0.091
TopKSamplerTest-compression             3     0      0        0       2.489
AbstractIteratorTest                    9     0      0        0       0.081
BTreeTest                               10    0      0        0       0.300
BitSetTest                              4     0      0        0       0.538
BloomFilterTest                         12    0      0        2       0.960
ByteBufferUtilTest                      11    0      0        0       0.316
BytesReadTrackerTest                    4     0      0        0       0.061
CassandraVersionTest                    7     0      0        0       0.071
CoalescingStrategiesTest                6     0      0        0       1.318
EstimatedHistogramTest                  7     0      0        0       0.278
FBUtilitiesTest                         7     0      0        0       0.833
FastByteOperationsTest                  2     0      0        0       3.885
HexTest                                 2     0      0        0       0.241
HistogramBuilderTest                    5     0      0        0       0.282
IntegerIntervalsTest                    6     0      0        0       44.355
IntervalTreeTest                        3     0      0        0       0.273
JVMStabilityInspectorTest               3     0      0        0       0.873
JavaUtilsTest                           1     0      0        0       0.237
MergeIteratorComparisonTest             16    0      0        0       12.040
MergeIteratorTest                       1     0      0        0       0.071
MerkleTreeTest                          14    0      0        0       0.834
MerkleTreesTest                         13    0      0        0       0.876
NanoTimeToCurrentTimeMillisTest         1     0      0        0       6.904
NativeLibraryTest                       2     0      0        0       0.432
NoSpamLoggerTest                        4     0      0        0       0.070
OverlapIteratorTest                     1     0      0        0       11.441
SerializationsTest                      5     0      0        0       2.594
SlidingTimeRateTest                     7     0      0        0       0.585
StreamingHistogramTest                  5     0      0        0       0.087
TopKSamplerTest                         3     0      0        0       2.586

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

Name                         Tests Errors Failures Skipped Time(s)
BTreeRemovalTest-cdc         22    0      0        0       0.470
BTreeRemovalTest-compression 22    0      0        0       0.452
BTreeRemovalTest             22    0      0        0       0.443

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

Name                                  Tests Errors Failures Skipped Time(s)
AbstractTransactionalTest-cdc         1     0      0        1       0.059
AccumulatorTest-cdc                   4     0      0        0       0.070
RefCountedTest-cdc                    12    0      0        0       6.088
AbstractTransactionalTest-compression 1     0      0        1       0.053
AccumulatorTest-compression           4     0      0        0       0.062
RefCountedTest-compression            12    0      0        0       6.708
AbstractTransactionalTest             1     0      0        1       0.050
AccumulatorTest                       4     0      0        0       0.068
RefCountedTest                        12    0      0        0       6.871

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

Name                            Tests Errors Failures Skipped Time(s)
LongBufferPoolTest              1     1      0        0       0.289
BufferPoolTest-cdc              33    0      0        0       7.302
NativeAllocatorTest-cdc         1     0      0        0       0.414
BufferPoolTest-compression      33    0      0        0       7.304
NativeAllocatorTest-compression 1     0      0        0       0.376
BufferPoolTest                  33    0      0        0       8.069
NativeAllocatorTest             1     0      0        0       0.396

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

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

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

Name                       Tests Errors Failures Skipped Time(s)
VIntCodingTest-cdc         3     0      0        0       0.090
VIntCodingTest-compression 3     0      0        0       0.080
VIntCodingTest             3     0      0        0       0.090

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

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fa9842c4100>
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:351: AttributeError
------------------------------------------------------------------------------------------
Cassandra dtests // test_multidatacenter_local_quorum // Failure
AssertionError: assert 40 == 41 + where 41 = <bound method JolokiaAgent.read_attribute of
<tools.jmxutils.JolokiaAgent object at 0x7fb46a4124c0>>('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
0x7fb46a4124c0>> = <tools.jmxutils.JolokiaAgent object at 0x7fb46a4124c0>.read_attribute

self = <snitch_test.TestDynamicEndpointSnitch object at 0x7fb46826b1f0>

@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})
# 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()

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 40 == 41
E + where 41 = <bound method JolokiaAgent.read_attribute of <tools.jmxutils.JolokiaAgent
object at 0x7fb46a4124c0>>('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 0x7fb46a4124c0>> = <tools.jmxutils.JolokiaAgent object at
0x7fb46a4124c0>.read_attribute

snitch_test.py:204: 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 0x7fddcc5888e0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fddcc588940>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fddcdf82550>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fddcc588d00>
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:351: 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 0x7fddcc5888e0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fddc96fbc10>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fddcdf82550>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fddc8b212b0>
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:351: 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 0x7fddcc5888e0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fddcb41b340>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fddcdf82550>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fddc9a09d90>
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:351: 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 0x7fd7b42b9850>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fd7b37592b0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fd7b5af5430>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fd7b4763820>
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:351: 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 0x7fd7b42b9850>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fd7b3678f10>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fd7b5af5430>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fd7b3682a90>
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:351: 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 0x7f526510e6d0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f52655c4f40>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f52669455e0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f526520f790>
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:351: 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 0x7f526510e6d0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f525cf01520>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f52669455e0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f52641690a0>
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:351: 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 0x7f526510e6d0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f525cf12040>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f52669455e0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f525d5be3a0>
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:351: 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 0x7f351d475610>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f351d4755e0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f351ec2e3a0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f351d268160>
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:351: 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 0x7efeb9803d30>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7efeb9803d60>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7efebaf804c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7efeb9803cd0>
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:351: 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 0x7fafddffb0a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fafdc6d9370>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fafdfa10550>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fafde5fc4c0>
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:351: 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 0x7ff85df97f10>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7ff85e67d9a0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7ff85f9ac430>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7ff82427cf10>
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:351: 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 0x7f7e94659ac0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f7e94ec9400>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f7e96038550>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f7e94822dc0>
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:351: 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 0x7f7e94659ac0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f7e91616f40>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f7e96038550>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f7e93dfaa00>
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:351: 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 0x7f4d57c89cd0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f4d57e62c70>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f4d595c7550>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f4d57d35430>
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:351: 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 0x7f71cd4d23d0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f71cd4d2280>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f71cebf65e0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f71cd4cbd60>
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:351: 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 0x7f71cd4d23d0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f71cd85bdc0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f71cebf65e0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f71cd85bcd0>
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:351: 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 0x7f39f1e3e3d0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f39f01fde50>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f39f34755e0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f39f2130c10>
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:351: 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 0x7fa1f8ccd8e0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fa1f8ccd940>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fa1fa6cb4c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fa1f8ccdd00>
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:351: 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 0x7fa1f8ccd8e0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fa1dbb26400>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fa1fa6cb4c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fa1db807e20>
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:351: 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 0x7f003c5a4610>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f0019fe2b20>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f003dcca670>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f001b603e80>
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:351: AttributeError
------------------------------------------------------------------------------------------
Cassandra dtests // test_bootstrap_and_cleanup // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_bootstrap_and_cleanup'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f9b087ece20>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f9b08e787f0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f9b0a1b64c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f9b08e78d90>
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:351: 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 0x7f9b087ece20>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f9b06740d30>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f9b0a1b64c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f9b067405e0>
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:351: 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 0x7fd20f203cd0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fd20f58a0a0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fd210bc6550>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fd20f58a250>
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:351: 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 0x7fd20f203cd0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fd20c1d5970>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fd210bc6550>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fd20c1d5580>
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:351: 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 0x7f28476f9af0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f2847b57160>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f28490c54c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f2847d0f460>
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:351: 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 0x7f28476f9af0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f2847d3dbb0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f28490c54c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f2847d32eb0>
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:351: 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 0x7f28476f9af0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f284795f3d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f28490c54c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f2847a896a0>
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:351: 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 0x7fa8aa9dd8b0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fa8aaaffaf0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fa8ac12d550>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fa8a9b00100>
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:351: 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 0x7fa8aa9dd8b0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fa8a9ae0940>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fa8ac12d550>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fa8a9ae0c70>
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:351: 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 0x7fa8aa9dd8b0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fa8aaaeca90>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fa8ac12d550>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fa8aaaece80>
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:351: 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 0x7fa8aa9dd8b0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fa8aae09ca0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fa8ac12d550>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fa8aaa901f0>
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:351: 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 0x7fcdc8b1ec70>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fcdc8b5c040>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fcdca4c14c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fcdc80c59a0>
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:351: 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 0x7fcdc8b1ec70>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fcdc8d1e790>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fcdca4c14c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fcdc8ccd1c0>
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:351: AttributeError
------------------------------------------------------------------------------------------
Cassandra dtests // test_6285 // Error
test teardown failure

Unexpected error found in node logs (see stdout for full details). Errors: [WARN
[MessagingService-Incoming-/127.0.0.1] 2020-09-28 17:40:34,990 IncomingTcpConnection.java:
103 - UnknownColumnFamilyException reading from socket; closing
org.apache.cassandra.db.UnknownColumnFamilyException: Couldn't find table for cfId
b47f68a0-01b1-11eb-b4c9-c151cc0a6f2a. If a table was just created, this is likely due to
the schema not being fully propagated. Please wait for schema agreement on table creation.
at org.apache.cassandra.config.CFMetaData$Serializer.deserialize(CFMetaData.java:1578) ~
[main/:na]
at org.apache.cassandra.db.ReadCommand$Serializer.deserialize(ReadCommand.java:765) ~
[main/:na]
at org.apache.cassandra.db.ReadCommand$Serializer.deserialize(ReadCommand.java:704) ~
[main/:na]
at org.apache.cassandra.io.ForwardingVersionedSerializer.deserialize
(ForwardingVersionedSerializer.java:50) ~[main/:na]
at org.apache.cassandra.net.MessageIn.read(MessageIn.java:123) ~[main/:na]
at org.apache.cassandra.net.IncomingTcpConnection.receiveMessage
(IncomingTcpConnection.java:195) ~[main/:na]
at org.apache.cassandra.net.IncomingTcpConnection.receiveMessages
(IncomingTcpConnection.java:183) ~[main/:na]
at org.apache.cassandra.net.IncomingTcpConnection.run(IncomingTcpConnection.java:94) ~
[main/:na], WARN [MessagingService-Incoming-/127.0.0.1] 2020-09-28 17:40:35,068
IncomingTcpConnection.java:103 - UnknownColumnFamilyException reading from socket; closing
org.apache.cassandra.db.UnknownColumnFamilyException: Couldn't find table for cfId
b47f68a0-01b1-11eb-b4c9-c151cc0a6f2a. If a table was just created, this is likely due to
the schema not being fully propagated. Please wait for schema agreement on table creation.
at org.apache.cassandra.config.CFMetaData$Serializer.deserialize(CFMetaData.java:1578) ~
[main/:na]
at
org.apache.cassandra.db.partitions.PartitionUpdate$PartitionUpdateSerializer.deserialize30
(PartitionUpdate.java:899) ~[main/:na]
at
org.apache.cassandra.db.partitions.PartitionUpdate$PartitionUpdateSerializer.deserialize
(PartitionUpdate.java:874) ~[main/:na]
at org.apache.cassandra.db.Mutation$MutationSerializer.deserialize(Mutation.java:415) ~
[main/:na]
at org.apache.cassandra.db.Mutation$MutationSerializer.deserialize(Mutation.java:434) ~
[main/:na]
at org.apache.cassandra.db.Mutation$MutationSerializer.deserialize(Mutation.java:371) ~
[main/:na]
at org.apache.cassandra.net.MessageIn.read(MessageIn.java:123) ~[main/:na]
at org.apache.cassandra.net.IncomingTcpConnection.receiveMessage
(IncomingTcpConnection.java:195) ~[main/:na]
at org.apache.cassandra.net.IncomingTcpConnection.receiveMessages
(IncomingTcpConnection.java:183) ~[main/:na]
at org.apache.cassandra.net.IncomingTcpConnection.run(IncomingTcpConnection.java:94) ~
[main/:na], WARN [MessagingService-Incoming-/127.0.0.1] 2020-09-28 17:40:34,990
IncomingTcpConnection.java:103 - UnknownColumnFamilyException reading from socket; closing
org.apache.cassandra.db.UnknownColumnFamilyException: Couldn't find table for cfId
b47f68a0-01b1-11eb-b4c9-c151cc0a6f2a. If a table was just created, this is likely due to
the schema not being fully propagated. Please wait for schema agreement on table creation.
at org.apache.cassandra.config.CFMetaData$Serializer.deserialize(CFMetaData.java:1578) ~
[main/:na]
at org.apache.cassandra.db.ReadCommand$Serializer.deserialize(ReadCommand.java:765) ~
[main/:na]
at org.apache.cassandra.db.ReadCommand$Serializer.deserialize(ReadCommand.java:704) ~
[main/:na]
at org.apache.cassandra.io.ForwardingVersionedSerializer.deserialize
(ForwardingVersionedSerializer.java:50) ~[main/:na]
at org.apache.cassandra.net.MessageIn.read(MessageIn.java:123) ~[main/:na]
at org.apache.cassandra.net.IncomingTcpConnection.receiveMessage
(IncomingTcpConnection.java:195) ~[main/:na]
at org.apache.cassandra.net.IncomingTcpConnection.receiveMessages
(IncomingTcpConnection.java:183) ~[main/:na]
at org.apache.cassandra.net.IncomingTcpConnection.run(IncomingTcpConnection.java:94) ~
[main/:na]]
------------------------------------------------------------------------------------------
Cassandra dtests // test_decommission // Error
test teardown failure

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

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f7722b97a90>
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:351: 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 0x7f77572333d0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f77548a8310>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f77584cc4c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f77548a8070>
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:351: 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 0x7f89294745b0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f89294d60d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f892ae404c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f892945e970>
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:351: 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 0x7f89294745b0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f8928685400>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f892ae404c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f8928685d30>
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:351: 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 0x7f89294745b0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f89288cfb20>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f892ae404c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f89288cf070>
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:351: 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 0x7f08f5c76220>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f08f5c75940>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f08f768e3a0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f08f5d259d0>
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:351: 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 0x7f08f5c76220>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f08cf963c70>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f08f768e3a0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f08cf963fa0>
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:351: 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 0x7f08f5c76220>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f08f5df0550>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f08f768e3a0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f08e4e1d940>
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:351: 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 0x7f57aa262580>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f57aa469430>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f57abbf23a0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f57aa469970>
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:351: 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 0x7f57aa262580>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f57aaa831f0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f57abbf23a0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f57aaa831c0>
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:351: 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 0x7f57e652a070>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f57e652a0d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f57e657e4c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f57e652a490>
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:351: 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 0x7f57e652a070>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f57dc5a9e80>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f57e657e4c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f57dc5416a0>
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:351: 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 0x7f57e652a070>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f57e4bc3d90>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f57e657e4c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f57e4c33790>
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:351: 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 0x7f29c07d4790>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f29c0ca33a0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f29c2167670>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f29c0e32ca0>
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:351: AttributeError
------------------------------------------------------------------------------------------
Cassandra dtests // test_authorization_from_cache_while_unavailable // Error
test teardown failure

Unexpected error found in node logs (see stdout for full details). Errors: [ERROR
[Repair#2:1] 2020-09-28 17:28:06,598 CassandraDaemon.java:235 - Exception in thread Thread
[Repair#2:1,5,RMI Runtime]
java.lang.AssertionError: java.lang.InterruptedException
at org.apache.cassandra.concurrent.DebuggableThreadPoolExecutor.extractThrowable
(DebuggableThreadPoolExecutor.java:262) ~[main/:na]
at org.apache.cassandra.concurrent.DebuggableThreadPoolExecutor.logExceptionsAfterExecute
(DebuggableThreadPoolExecutor.java:222) ~[main/:na]
at org.apache.cassandra.concurrent.DebuggableThreadPoolExecutor.afterExecute
(DebuggableThreadPoolExecutor.java:193) ~[main/:na]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1157) ~[na:
1.8.0_242]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:
1.8.0_242]
at org.apache.cassandra.concurrent.NamedThreadFactory.lambda$threadLocalDeallocator$0
(NamedThreadFactory.java:84) ~[main/:na]
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_242]
Caused by: java.lang.InterruptedException: null
at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly
(AbstractQueuedSynchronizer.java:1302) ~[na:1.8.0_242]
at com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:285) ~
[guava-18.0.jar:na]
at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:116) ~[guava-
18.0.jar:na]
at org.apache.cassandra.concurrent.DebuggableThreadPoolExecutor.extractThrowable
(DebuggableThreadPoolExecutor.java:258) ~[main/:na]
... 6 common frames omitted, ERROR [Repair#2:1] 2020-09-28 17:28:06,598
CassandraDaemon.java:235 - Exception in thread Thread[Repair#2:1,5,RMI Runtime]
java.lang.AssertionError: java.lang.InterruptedException
at org.apache.cassandra.concurrent.DebuggableThreadPoolExecutor.extractThrowable
(DebuggableThreadPoolExecutor.java:262) ~[main/:na]
at org.apache.cassandra.concurrent.DebuggableThreadPoolExecutor.logExceptionsAfterExecute
(DebuggableThreadPoolExecutor.java:222) ~[main/:na]
at org.apache.cassandra.concurrent.DebuggableThreadPoolExecutor.afterExecute
(DebuggableThreadPoolExecutor.java:193) ~[main/:na]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1157) ~[na:
1.8.0_242]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:
1.8.0_242]
at org.apache.cassandra.concurrent.NamedThreadFactory.lambda$threadLocalDeallocator$0
(NamedThreadFactory.java:84) ~[main/:na]
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_242]
Caused by: java.lang.InterruptedException: null
at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly
(AbstractQueuedSynchronizer.java:1302) ~[na:1.8.0_242]
at com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:285) ~
[guava-18.0.jar:na]
at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:116) ~[guava-
18.0.jar:na]
at org.apache.cassandra.concurrent.DebuggableThreadPoolExecutor.extractThrowable
(DebuggableThreadPoolExecutor.java:258) ~[main/:na]
... 6 common frames omitted]
------------------------------------------------------------------------------------------
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 0x7fded1625e80>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fded09b9d30>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fded3085550>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fded1655820>
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:351: 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 0x7fded1625e80>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fded0559f10>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fded3085550>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fded05561c0>
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:351: 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 0x7f0445b6a100>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f04460d8130>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f04475b7550>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f04460e1100>
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:351: 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 0x7f476c5a0880>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f476c509d90>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f476df1c550>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f476cc9c940>
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:351: 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 0x7f476c5a0880>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f476cc9c1f0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f476df1c550>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f476cc9cdf0>
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:351: 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 0x7f476c5a0880>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f476cbe1b50>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f476df1c550>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f476cbe1a00>
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:351: 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 0x7f1e2bdb7970>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f1e28557d60>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f1e2d7f5550>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f1e285617c0>
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:351: 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 0x7f1e2bdb7970>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f1e2b454880>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f1e2d7f5550>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f1e2c3f9670>
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:351: 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 0x7f1e2bdb7970>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f1e2be4c580>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f1e2d7f5550>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f1e2c429a60>
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:351: 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 0x7f1e2bdb7970>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f1e2bfda460>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f1e2d7f5550>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f1e2bfda280>
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:351: 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 0x7ffbd5f00a00>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7ffbd5f00910>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7ffbd79494c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7ffbd6159e80>
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:351: 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 0x7ffbd5f00a00>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7ffbd56bd220>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7ffbd79494c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7ffbd66cf310>
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:351: 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 0x7ffbd5f00a00>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7ffbc61b3dc0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7ffbd79494c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7ffbc61b3820>
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:351: 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 0x7fab8f4a5310>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fab8f49d3d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fab90e2a430>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fab8f49dc10>
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:351: 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 0x7fab8f4a5310>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fab8ec179d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fab90e2a430>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fab8ec0f550>
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:351: 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 0x7fab8f4a5310>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fab8e85d070>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fab90e2a430>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fab8ea34dc0>
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:351: 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 0x7f2d4fb8bee0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f2d4fb944f0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f2d5149b430>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f2d4fb79520>
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:351: 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 0x7f0409b188b0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f0409b25820>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f040b417430>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f0409b188e0>
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:351: 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 0x7f0409b188b0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f0409222d90>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f040b417430>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f0409ce9e80>
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:351: 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 0x7f0409b188b0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f0409ad0eb0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f040b417430>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f0409ad0760>
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:351: 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 0x7f0409b188b0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f040a04fc40>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f040b417430>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f040a222310>
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:351: 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 0x7fe2ad13d4f0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fe2ad77a8b0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fe2aeaad430>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fe2ac01e5e0>
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:351: 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 0x7fe2ad13d4f0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fe281c0c2e0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fe2aeaad430>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fe281c0c5e0>
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:351: 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 0x7fca1b3b3c40>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fca1b3b3e20>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fca1cc59310>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fca1b5753a0>
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:351: 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 0x7fca1b3b3c40>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fca1a9cce80>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fca1cc59310>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fca1a9b0430>
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:351: 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 0x7f676eff82e0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f676e4fde50>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f67709684c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f676e4fdd30>
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:351: 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 0x7f75d7d64be0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f75d81404f0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f75d96d84c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f75d7d7d940>
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:351: 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 0x7f602763f430>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f60245a60d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f6028fd3700>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f602452a0a0>
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:351: 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 0x7f602763f430>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f6027735280>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f6028fd3700>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f6027855dc0>
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:351: 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 0x7f602763f430>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f602454bc10>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f6028fd3700>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f602454bdf0>
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:351: 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 0x7f7ec335a040>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f7ec331ef70>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f7ec4b78670>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f7ec39d73a0>
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:351: 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 0x7f7ec335a040>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f7ec2826cd0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f7ec4b78670>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f7ec28268e0>
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:351: 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 0x7fc6edbfc910>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fc6edd956d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fc6ef5a5430>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fc6ec2cf820>
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:351: 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 0x7fc6edbfc910>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fc6ec39cf10>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fc6ef5a5430>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fc6eddd3490>
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:351: 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 0x7f87873567f0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f8784995580>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f8788d795e0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f8784995640>
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:351: 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 0x7f87873567f0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f8786961700>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f8788d795e0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f878691ed60>
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:351: 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 0x7f671464eb80>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f671148ca90>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f671606f5e0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f6712d6a6a0>
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:351: 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 0x7f671464eb80>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f6713c278e0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f671606f5e0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f6713c27340>
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:351: 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 0x7f73c1f58b20>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f73c171e730>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f73c39084c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f73c1650f70>
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:351: 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 0x7f73c1f58b20>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f73c1715850>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f73c39084c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f73c1715b50>
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:351: 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 0x7f7466a992b0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f7466ce63a0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f74684ba5e0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f7466ce6b50>
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:351: 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 0x7f40c668c550>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f40c4ab6820>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f40c8048430>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f40c4ab6160>
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:351: 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 0x7f0b13435760>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f0b134356d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f0b14cd4430>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f0b13431880>
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:351: 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 0x7f0b13435760>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f0b139b0c40>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f0b14cd4430>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f0b139b00d0>
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:351: 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 0x7f0a3b7a3580>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f0a39daa490>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f0a3d15f4c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f0a39daa1f0>
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:351: 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 0x7f01bc55ac10>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f01bba48040>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f01bdf1c5e0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f01bb8f12e0>
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:351: 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 0x7f01bc55ac10>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f01bcaccc70>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f01bdf1c5e0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f01bcb84880>
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:351: 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 0x7f1a73bc1d30>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f1a722b3700>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f1a755794c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f1a7124b9a0>
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:351: 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 0x7f1a73bc1d30>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f1a73d77310>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f1a755794c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7f1a5b8403d0>
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:351: 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 0x7fa4bd68fb80>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fa4b63b5ac0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fa4bf04c3a0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fa4bc47c6d0>
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:351: 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 0x7fcfd8205a60>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fcfd67f5cd0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fcfd9a184c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fcfd7831190>
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:351: AttributeError
------------------------------------------------------------------------------------------
Cassandra dtests // test_non_replicated_ks_repair // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_non_replicated_ks_repair'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fcfd8205a60>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fcfd678d640>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fcfd9a184c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fcfd85f0d30>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_non_replicated_ks_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:351: 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 0x7fca4a6e6820>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fca49cb4190>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fca4bebd4c0>

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

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

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

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

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

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

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

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

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

self = <dtest_setup.DTestSetup object at 0x7fca48b70310>
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:351: AttributeError
------------------------------------------------------------------------------------------
Cassandra dtests // test_multiple_ranges_repair // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function 'test_multiple_ranges_repair'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fca4a6e6820>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fca48b6ddc0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fca4bebd4c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fca4ab80a00>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_multiple_ranges_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:351: 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 0x7f84272c3bb0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f842715dbe0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f8428a32310>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f8427155460>
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:351: 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 0x7f6861585e20>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f686171f4c0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f6862daa3a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f68619e6040>
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:351: 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 0x7f6861585e20>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f686033a460>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f6862daa3a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f68613ec7c0>
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:351: 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 0x7f421ea7e3d0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f421c5ec430>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f4220251430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f421c5ec850>
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:351: 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 0x7f421ea7e3d0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f421cff2430>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f4220251430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f421cff24f0>
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:351: 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 0x7f72068083d0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f7206acd700>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f7208215430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f720698a9d0>
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:351: 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 0x7f72068083d0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f7206ee8220>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f7208215430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f7204377550>
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:351: 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 0x7f3f5ab59610>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f3f5ae31d90>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f3f5c5133a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f3f5a16c670>
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:351: 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 0x7f3f5ab59610>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f3f5acabaf0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f3f5c5133a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f3f59fcea90>
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:351: 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 0x7f3f5ab59610>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f3f5ae9b0d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f3f5c5133a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f3f5ae8ff10>
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:351: 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 0x7fd07ac9d5e0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fd07a326130>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fd07c658550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fd078296910>
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:351: 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 0x7fd07ac9d5e0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fd07adc08e0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fd07c658550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fd07b4e9ac0>
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:351: 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 0x7fd07ac9d5e0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fd07afe5be0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fd07c658550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fd07ac5dc40>
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:351: 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 0x7f3028a9d3d0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f3028a9d6d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f302a2e0310>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f302897a460>
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:351: 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 0x7f3028a9d3d0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f30237749a0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f302a2e0310>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f3023774d90>
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:351: 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 0x7fe9e79d6100>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fe9a6c58b80>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fe9e93f6310>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fe9a8939670>
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:351: 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 0x7f524eb3e490>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f524ef49940>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f52502de430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f524ef5c070>
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:351: 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 0x7f3a23a14f10>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f3a23a14eb0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f3a253384c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f3a23a14af0>
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:351: 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 0x7f3a23a14f10>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f3a23bcac70>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f3a253384c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f3a23c7a970>
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:351: 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 0x7f5ce94f2850>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f5ce9538250>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f5ceae45550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f5ce96cf2b0>
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:351: 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 0x7f5ce94f2850>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f5ce9705f10>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f5ceae45550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f5ce8358310>
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:351: 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 0x7f738e71e9a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f738f3b6880>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f73900304c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f738dd0fac0>
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:351: 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 0x7f8512df4700>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f8512d1ea60>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f85144dc670>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f8512e8bfd0>
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:351: 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 0x7f75af46b9a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f75af46bfa0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f75b0b114c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f75af300730>
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:351: 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 0x7f78461d0310>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f7846849d60>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f7847abd4c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f784671d550>
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:351: 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 0x7f8fe0cd5fa0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f8fe0cd9310>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f8fe247b550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f8fe0c2eee0>
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:351: 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 0x7f8fe0cd5fa0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f8fdb446f70>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f8fe247b550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f8fdb446070>
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:351: 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 0x7f8fe0cd5fa0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f8fe0c31400>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f8fe247b550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f8fd87c7250>
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:351: 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 0x7f10912f4ee0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f108a7f0310>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f1092b8f5e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f109181bf10>
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:351: 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 0x7f10912f4ee0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f10900a77f0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f1092b8f5e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f1090829220>
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:351: 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 0x7f215c611dc0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f215bac4610>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f215deac5e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f215bc1bd30>
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:351: 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 0x7f7f043fd970>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f7f04a1da30>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f7f05dab430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f7f04a1d1f0>
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:351: 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 0x7f69c04b0940>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f699fc605b0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f69c1ca5430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f699f940940>
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:351: 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 0x7f69c04b0940>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f69c0904370>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f69c1ca5430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f69bf81e070>
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:351: 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 0x7f4462dfc040>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f44632b15b0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f44645ed4c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f44632b1e80>
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:351: 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 0x7f4462dfc040>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f4463445a90>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f44645ed4c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f4462c546d0>
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:351: 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 0x7fd50a52fbb0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fd50aac6940>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fd50bd3d550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fd50a7881c0>
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:351: 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 0x7fb1d5e41700>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fb1d5ef85e0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fb1d76e1430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fb1d5ecfd30>
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:351: 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 0x7fcd0fee08e0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fcd105041c0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fcd1168b5e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fcd0fcd80a0>
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:351: 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 0x7fdf07db24c0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fdf06303f10>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fdf09563430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fdf04adcac0>
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:351: 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 0x7fae13689b20>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fae13689b50>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fae14ff74c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fae1364cc40>
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:351: 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 0x7fae13689b20>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fae124ab160>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fae14ff74c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fae124c6d90>
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:351: 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 0x7fc46d362580>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fc46c178220>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fc46eb685e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fc46c14d520>
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:351: 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 0x7fb12ac22700>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fb12a1f0910>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fb12c3805e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fb1281bef40>
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:351: 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 0x7f0600d54130>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f0600d8c5b0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f0602633550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f06014e2d30>
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:351: 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 0x7f0600d54130>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f05d9a7de80>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f0602633550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f05d9ac2130>
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:351: 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 0x7f73fb96f250>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f73fb876e50>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f73fd125670>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f73fd0ed730>
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:351: 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 0x7f73fb96f250>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f73fb86c220>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f73fd125670>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f73fbfcd760>
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:351: 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 0x7fd2c6fc2760>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fd2c6fc24c0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fd2c86e63a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fd2c6eb3a90>
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:351: 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 0x7fd2c6fc2760>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fd2c73bbeb0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fd2c86e63a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fd2c6f65df0>
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:351: 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 0x7f6fd032f640>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f6fd032dc40>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f6fd1a56430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f6fd091dd30>
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:351: 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 0x7f6fd032f640>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f6fd044f9a0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f6fd1a56430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f6fd044fa30>
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:351: 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 0x7f96f26c25b0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f96f26beac0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f96f3de6550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f96f24f6fd0>
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:351: 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 0x7f96f26c25b0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f96f0a6e520>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f96f3de6550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f96f0a6e940>
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:351: 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 0x7f96f26c25b0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f96f1b3e880>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f96f3de6550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f96f1b24400>
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:351: 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 0x7f5548e32e20>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f5548e42910>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f554a6905e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f5548ec56d0>
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:351: 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 0x7f5548e32e20>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f5548dcdb80>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f554a6905e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f5548dcdfa0>
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:351: 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 0x7f5548e32e20>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f554815acd0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f554a6905e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f55481f0940>
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:351: 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 0x7f97c3963820>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f97c0726e50>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f97c51854c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f97c397a7f0>
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:351: 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 0x7f97c3963820>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f97c2d6f760>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f97c51854c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f97c2d6fd30>
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:351: 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 0x7faa5354a4c0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7faa5354aa90>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7faa54c735e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7faa536922e0>
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:351: 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 0x7f5dac8b7250>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f5dad139220>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f5dae2814c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f5daca26190>
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:351: 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 0x7f72bc95ca60>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f72bc0d6100>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f72be30f3a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f72bd1bd820>
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:351: 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 0x7efe12d31220>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7efe10370d00>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7efe146af3a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7efe1036b190>
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:351: 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 0x7f7fc33ae5e0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f7fc33f1e50>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f7fc4bfc550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f7fc32742e0>
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:351: 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 0x7f4b7e31ff10>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f4b7e83f1f0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f4b7fc874c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f4b7c980190>
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:351: 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 0x7fb427589490>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fb425cd6400>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fb428f083a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fb425cadb50>
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:351: 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 0x7f9e1d362ac0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f9e1d362b80>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f9e1ea8a5e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f9e1d2f4e20>
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:351: 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 0x7f8e9b727e80>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f8e985239a0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f8e9d0964c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f8e9b750ac0>
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:351: AttributeError
------------------------------------------------------------------------------------------
Cassandra dtests // test_13691 // Failure
ccmlib.node.NodeError: Error starting node1.

self = <counter_test.TestCounters object at 0x7f76098e5fa0>

@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 0x7f7609858250>, 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 0x7f760c058640>, itf = ('127.0.0.3', 9042)
started = [(<ccmlib.node.Node object at 0x7f760c058640>, <subprocess.Popen object at
0x7f760b78b6d0>, 0), (<ccmlib.node.Node obj... at 0x7f760b78b310>, 0), (<ccmlib.node.Node
object at 0x7f760b71deb0>, <subprocess.Popen object at 0x7f760b78ba90>, 0)]
mark = 0, p = <subprocess.Popen object at 0x7f760b78b6d0>
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 0x7fa06342bb80>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fa0484836a0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fa064da2550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fa048483310>
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:351: 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 0x7fe944414a90>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fe9442cfa30>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fe945c0c430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fe9418866a0>
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:351: 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 0x7f5829208ca0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f582838c5e0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f582ab753a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f5828405f10>
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:351: 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 0x7f2026567ca0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f2017fa31c0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f2027ed7430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f2017fa3490>
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:351: 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 0x7f30204d6d60>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f301c1f5340>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f3021e40430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f301c1f5130>
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:351: 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 0x7f30204d6d60>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f301d835fa0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f3021e40430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f301d85a940>
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:351: 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 0x7fa629f04ee0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fa62853a490>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fa62b8723a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fa62853a3d0>
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:351: 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 0x7fa629f04ee0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fa629417eb0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fa62b8723a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fa6293a3940>
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:351: 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 0x7f15c1083100>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f15bb7a3d90>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f15c29ef3a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f15bb77c7f0>
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:351: 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 0x7f15c1083100>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f15c217de80>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f15c29ef3a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f15b9e7edf0>
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:351: 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 0x7f7ef8e8d100>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f7ef945ad60>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f7efa7fa550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f7ef9459430>
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:351: 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 0x7f7ef8e8d100>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f7ef90560a0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f7efa7fa550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f7ef9051970>
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:351: 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 0x7f7ef8e8d100>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f7ef92cff40>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f7efa7fa550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f7ef9229190>
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:351: AttributeError
------------------------------------------------------------------------------------------
Cassandra dtests // test_non_replicated_ks_repair // Error
test teardown failure

request = <SubRequest 'fixture_dtest_setup' for <Function
'test_non_replicated_ks_repair'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f7ef8e8d100>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f7ef94cb520>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f7efa7fa550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f7ef94cb280>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_non_replicated_ks_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:351: 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 0x7faa60010070>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7faa603a2670>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7faa6173c670>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7faa5d4433d0>
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:351: 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 0x7f767aba8ee0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f7678885970>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f767c519550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f767816fc70>
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:351: 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 0x7fa4ec698580>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fa4eb782970>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fa4ee042550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fa4eb7825e0>
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:351: 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 0x7fa4ec698580>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fa4ecd1df10>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fa4ee042550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fa4eb82e370>
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:351: 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 0x7fc794929bb0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fc793ca3c40>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fc7962184c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fc793ca38b0>
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:351: 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 0x7fc794929bb0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fc794ac9e20>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fc7962184c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fc794ea92b0>
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:351: 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 0x7f370db45280>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f370cf14df0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f370f2983a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f370cf141c0>
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:351: 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 0x7f1f33b7af70>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f1f33b76250>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f1f3558c3a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f1f33be4e80>
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:351: 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 0x7fb64d069f10>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fb64d069f70>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fb64ea7b310>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fb64d063850>
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:351: 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 0x7fb64d069f10>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fb644fd9700>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fb64ea7b310>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fb64c6e91f0>
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:351: 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 0x7efef0db0670>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7efef0dabe50>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7efef2550550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7efef11d3b80>
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:351: 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 0x7efef0db0670>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7efee9886520>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7efef2550550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7efee9886640>
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:351: 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 0x7fdace8eb430>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fdace8eb4f0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fdad0217430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fdace8ebc70>
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:351: 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 0x7fdace8eb430>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fdaceaeff40>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fdad0217430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fdace8d9970>
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:351: 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 0x7f96ce8587f0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f96ce858790>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f96d0196550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f96ce8583d0>
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:351: 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 0x7f96ce8587f0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f96cc73b5e0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f96d0196550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f96cc730640>
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:351: 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 0x7fb3766bc670>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fb374aa77c0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fb377e86550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fb374aa7a60>
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:351: 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 0x7f71e8cc8400>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f71e8b99fd0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f71ea42c5e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f71e8b25c40>
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:351: 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 0x7f71e8cc8400>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f71e16be610>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f71ea42c5e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f71e16be7f0>
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:351: 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 0x7f8c7067af40>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f8c70678310>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f8c71cb1430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f8c70678d00>
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:351: 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 0x7f203807a340>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f203807a2e0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f20398c35e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f203807efa0>
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:351: 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 0x7f203807a340>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f20369e2370>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f20398c35e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f2036ae3c40>
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:351: 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 0x7f4f6a44f520>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f4f6a802e50>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f4f6bb955e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f4f5af01160>
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:351: 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 0x7fe6794b0160>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fe652e60250>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fe67ad9d4c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fe652c60580>
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:351: 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 0x7fde6c2c9130>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fde6973c3a0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fde6db114c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fde4bdfbdf0>
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:351: 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 0x7fb6209c2130>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fb61c15b3d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fb622207430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fb5ffd54580>
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:351: 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 0x7fb6209c2130>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fb5ffe88760>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fb622207430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fb61c051820>
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:351: 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 0x7f25ce3b1940>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f25ce3137c0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f25cfb9d430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f25ce313640>
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:351: 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 0x7f68788f6ac0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f6878acd220>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f687a2f85e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f687916b070>
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:351: 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 0x7f68788f6ac0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f6878ac3610>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f687a2f85e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f6873e40820>
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:351: 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 0x7f68788f6ac0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f687891cee0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f687a2f85e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f687891ca30>
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:351: 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 0x7f1736f9d250>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f1738940ee0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f17389913a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f17357368b0>
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:351: 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 0x7f4e340f0970>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f4e347638b0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f4e358b3550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f4e33fa6e80>
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:351: 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 0x7f536e0f1550>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f536c598490>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f536f8654c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f536e6b3190>
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:351: 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 0x7f7f5eb361c0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f7f5eb36fa0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f7f604e74c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f7f5eb347c0>
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:351: 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 0x7f7f5eb361c0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f7f5ee69370>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f7f604e74c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f7f5ee6b0d0>
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:351: 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 0x7fdcac38a340>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fdca9166970>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fdcadbc25e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fdca915aac0>
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:351: 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 0x7f55298f25b0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f5528e77b50>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f552b0374c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f5528e770a0>
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:351: 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 0x7f8e285cb4c0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f8e28c11d30>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f8e29d7f5e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f8e28622820>
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:351: 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 0x7fc73bb175b0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fc73bb142b0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fc73d3db550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fc73bb1ad90>
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:351: 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 0x7fc73bb175b0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fc73b1cb2e0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fc73d3db550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fc73c2a3070>
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:351: 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 0x7f17adc7db50>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f17adc7dca0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f17af3a35e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f17ac21fd90>
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:351: 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 0x7f17adc7db50>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f17ae20d040>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f17af3a35e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f17ae20d700>
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:351: 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 0x7fb6246d4640>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fb6246d4070>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fb625dfa430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fb622c74ca0>
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:351: 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 0x7fb6246d4640>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fb6245c0580>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fb625dfa430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fb6245c0c40>
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:351: 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 0x7fa64a8310a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fa64a8317f0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fa64bf564c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fa64addd580>
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:351: 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 0x7fa64a8310a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fa649dea8b0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fa64bf564c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fa649deaf70>
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:351: 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 0x7f65d7d30910>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f65d7d288b0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f65d96c65e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f65d7ef8d60>
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:351: 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 0x7f65d7d30910>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f65d7d2c0d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f65d96c65e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f65d7d2c8b0>
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:351: 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 0x7f65d7d30910>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f65d71ef940>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f65d96c65e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f65d71e9430>
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:351: 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 0x7f65d7d30910>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f65d70d28e0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f65d96c65e0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f65d7069850>
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:351: 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 0x7f81a05b0070>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f81a0c4f9d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f81a1dfc4c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f81a0c4f610>
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:351: 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 0x7f81a05b0070>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f819f9f85b0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f81a1dfc4c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f819f9f1790>
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:351: 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 0x7fc206f879a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fc206f87a00>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fc20899a550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fc206f873d0>
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:351: 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 0x7fc206f879a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fc204ea5fd0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fc20899a550>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fc205e678e0>
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:351: 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 0x7efe19c0c040>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7efe1a2eaaf0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7efe1b42c430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7efe19b7e070>
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:351: 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 0x7efe19c0c040>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7efe0bf8b9a0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7efe1b42c430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7efe0bf417f0>
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:351: 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 0x7f54e7a0fdc0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f54e826d2e0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f54e93c7430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f54e828cac0>
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:351: 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 0x7fc74a41c7f0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fc748280f10>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fc74bd973a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fc748227ee0>
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:351: 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 0x7fe5455367c0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fe54432ef10>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fe546d89430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fe545411f40>
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:351: 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 0x7f3495546610>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f34956ba3d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f3496eb64c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f34943a5ac0>
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:351: 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 0x7fe71fea3490>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fe71e5df250>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fe7218213a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fe71e62c9a0>
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:351: 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 0x7fdb4d5c2ca0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fdb4d5c2d00>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fdb4ecf4670>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7fdb4d5c2610>
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:351: 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 0x7f9756aa9e50>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f9756bff520>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f97584194c0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f9756ac55b0>
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:351: 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 0x7f83d74583d0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f83d5b75d90>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f83d8dd1430>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f83d526f640>
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:351: 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 0x7f7c8b4de6d0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f7c8a76efd0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f7c8ce5f3a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f7c8a50e3d0>
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:351: 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 0x7f7c8b4de6d0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f7c8bac3640>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f7c8ce5f3a0>

@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()

# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables, etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)

if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()

# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup

# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations

reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []

for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []

failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)

conftest.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <dtest_setup.DTestSetup object at 0x7f7c89be3df0>
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_ca