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/10/19 19:07:57 UTC
Build complete: Cassandra-trunk #79 [FAILURE]
f6281619aef740d6e57ffc3b5e4183bf83651e9a
-------------------------------------------------------------------------------
Build Cassandra-trunk #79 Still Failing
URL: https://ci-cassandra.apache.org/job/Cassandra-trunk/79/
-------------------------------------------------------------------------------
Changes:
[Brandon Williams] Nodetool ring testing
-------------------------------------------------------------------------------
Failed Tests:
6 tests failed.
FAILED: org.apache.cassandra.concurrent.LongSharedExecutorPoolTest.testPromptnessOfExecution
FAILED: org.apache.cassandra.repair.RepairJobTest.testOptimizedCreateStandardSyncTasks-cdc
FAILED: org.apache.cassandra.repair.RepairJobTest.testOptimizedCreateStandardSyncTasks-compression
FAILED: org.apache.cassandra.repair.RepairJobTest.testOptimizedCreateStandardSyncTasks
FAILED: junit.framework.TestSuite.org.apache.cassandra.streaming.LongStreamingTest
FAILED: org.apache.cassandra.hints.HintsWriteThenReadTest.testWriteReadCycle
-------------------------------------------------------------------------------
Cassandra CI Results
-------------------------------------------------------------------------------
Tests Failures Errors Skipped Success rate Time
19413 5 539 97 97.20% 148780.958
-------------------------------------------------------------------------------
Name Tests Errors Failures Skipped Time(s)
3820 538 0 0 127370.387
org.apache.cassandra.audit 144 0 0 0 275.304
org.apache.cassandra.auth 108 0 0 0 54.246
org.apache.cassandra.auth.jmx 69 0 0 0 17.375
org.apache.cassandra.batchlog 36 0 0 0 83.791
org.apache.cassandra.cache 12 0 0 0 25.637
org.apache.cassandra.concurrent 29 0 1 0 406.508
org.apache.cassandra.config 72 0 0 0 7.989
org.apache.cassandra.cql.jdbc 3 0 0 0 0.237
org.apache.cassandra.cql3 719 0 0 27 1838.336
org.apache.cassandra.cql3.conditions 12 0 0 0 1.993
org.apache.cassandra.cql3.functions 93 0 0 0 49.722
org.apache.cassandra.cql3.restrictions 69 0 0 0 3.464
org.apache.cassandra.cql3.selection 30 0 0 0 44.968
org.apache.cassandra.cql3.statements 72 0 0 0 87.737
org.apache.cassandra.cql3.validation.entities 1122 0 0 3 1164.339
org.apache.cassandra.cql3.validation.miscellaneous 168 0 0 0 152.362
org.apache.cassandra.cql3.validation.operations 1194 0 0 0 1015.870
org.apache.cassandra.db 1167 0 0 2 754.195
org.apache.cassandra.db.aggregation 18 0 0 0 2.958
org.apache.cassandra.db.columniterator 3 0 0 0 11.207
org.apache.cassandra.db.commitlog 1213 0 0 7 895.110
org.apache.cassandra.db.compaction 563 0 0 6 1611.522
org.apache.cassandra.db.composites 9 0 0 0 1.582
org.apache.cassandra.db.context 24 0 0 0 6.503
org.apache.cassandra.db.filter 24 0 0 0 4.290
org.apache.cassandra.db.lifecycle 204 0 0 0 92.037
org.apache.cassandra.db.marshal 423 0 0 0 134.722
org.apache.cassandra.db.monitoring 45 0 0 0 16.310
org.apache.cassandra.db.partition 30 0 0 0 188.233
org.apache.cassandra.db.partitions 24 0 0 0 1.944
org.apache.cassandra.db.repair 69 0 0 3 62.086
org.apache.cassandra.db.rows 156 0 0 0 127.065
org.apache.cassandra.db.streaming 54 0 0 0 87.995
org.apache.cassandra.db.transform 66 0 0 0 18.913
org.apache.cassandra.db.view 12 0 0 0 67.146
org.apache.cassandra.db.virtual 39 0 0 0 79.676
org.apache.cassandra.dht 312 0 0 0 158.883
org.apache.cassandra.dht.tokenallocator 9 0 0 1 244.773
org.apache.cassandra.diag 18 0 0 0 2.688
org.apache.cassandra.diag.store 18 0 0 0 0.227
org.apache.cassandra.distributed.test 801 0 0 12 4038.668
org.apache.cassandra.distributed.upgrade 9 0 0 0 492.120
org.apache.cassandra.fql 105 0 0 0 26.213
org.apache.cassandra.fqltool 25 0 0 0 5.155
org.apache.cassandra.gms 48 0 0 0 55.457
org.apache.cassandra.hints 112 0 1 0 711.276
org.apache.cassandra.index 135 0 0 0 160.222
org.apache.cassandra.index.internal 81 0 0 0 62.220
org.apache.cassandra.index.sasi 123 0 0 0 114.397
org.apache.cassandra.index.sasi.analyzer 75 0 0 0 3.709
org.apache.cassandra.index.sasi.conf 42 0 0 0 2.826
org.apache.cassandra.index.sasi.disk 84 0 0 0 105.029
org.apache.cassandra.index.sasi.plan 24 0 0 0 13.683
org.apache.cassandra.index.sasi.utils 156 0 0 0 9.242
org.apache.cassandra.io 15 0 0 0 53.112
org.apache.cassandra.io.compress 138 0 0 0 56.781
org.apache.cassandra.io.sstable 379 0 0 6 834.925
org.apache.cassandra.io.sstable.format 3 0 0 0 6.353
org.apache.cassandra.io.sstable.format.big 6 0 0 0 10.598
org.apache.cassandra.io.sstable.metadata 30 0 0 0 3.408
org.apache.cassandra.io.util 399 0 0 0 136.911
org.apache.cassandra.locator 211 0 0 0 343.998
org.apache.cassandra.metrics 204 0 0 3 167.826
org.apache.cassandra.net 466 0 0 0 651.734
org.apache.cassandra.net.proxy 9 0 0 0 2.331
org.apache.cassandra.repair 105 0 3 3 129.055
org.apache.cassandra.repair.asymmetric 39 0 0 0 3.051
org.apache.cassandra.repair.consistent 207 0 0 3 53.736
org.apache.cassandra.repair.consistent.admin 15 0 0 0 9.353
org.apache.cassandra.repair.messages 54 0 0 0 6.911
org.apache.cassandra.schema 99 0 0 3 48.652
org.apache.cassandra.security 78 0 0 0 9.804
org.apache.cassandra.serializers 99 0 0 0 1.534
org.apache.cassandra.service 384 0 0 3 383.369
org.apache.cassandra.service.pager 21 0 0 0 3.029
org.apache.cassandra.service.reads 357 0 0 3 30.982
org.apache.cassandra.service.reads.repair 102 0 0 3 55.126
org.apache.cassandra.streaming 30 1 0 0 65.731
org.apache.cassandra.streaming.async 54 0 0 0 8.579
org.apache.cassandra.streaming.compression 18 0 0 0 3.293
org.apache.cassandra.streaming.messages 3 0 0 0 0.264
org.apache.cassandra.stress.generate 6 0 0 0 0.214
org.apache.cassandra.stress.settings 8 0 0 0 0.797
org.apache.cassandra.stress.util 5 0 0 0 0.070
org.apache.cassandra.tools 360 0 0 0 458.350
org.apache.cassandra.tools.cassandrastress 3 0 0 0 38.570
org.apache.cassandra.tools.cqlsh 3 0 0 0 37.816
org.apache.cassandra.tools.nodetool 3 0 0 0 6.173
org.apache.cassandra.tools.nodetool.formatter 18 0 0 0 0.215
org.apache.cassandra.tools.nodetool.stats 24 0 0 0 1.002
org.apache.cassandra.tracing 18 0 0 0 2.720
org.apache.cassandra.transport 165 0 0 0 307.662
org.apache.cassandra.transport.frame.checksum 18 0 0 0 120.628
org.apache.cassandra.transport.messages 6 0 0 0 2.049
org.apache.cassandra.triggers 60 0 0 0 29.394
org.apache.cassandra.utils 560 0 0 6 1360.613
org.apache.cassandra.utils.binlog 63 0 0 0 65.771
org.apache.cassandra.utils.btree 120 0 0 0 2.150
org.apache.cassandra.utils.concurrent 189 0 0 3 21.659
org.apache.cassandra.utils.memory 110 0 0 0 265.980
org.apache.cassandra.utils.obs 12 0 0 0 1.460
org.apache.cassandra.utils.streamhist 33 0 0 0 5.963
org.apache.cassandra.utils.vint 12 0 0 0 0.709
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Packages
-------------------------------------------------------------------------------
Name Tests Errors Failures Skipped Time(s)
Cassandra dtests 7 0 0 706.442
Cassandra dtests 5 0 0 693.504
Cassandra dtests 3 0 0 562.065
Cassandra dtests 4 0 0 480.234
Cassandra dtests 3 0 0 476.668
Cassandra dtests 3 0 0 885.243
Cassandra dtests 5 0 0 953.934
Cassandra dtests 5 0 0 480.694
Cassandra dtests 22 3 0 400.385
Cassandra dtests 21 4 0 486.570
Cassandra dtests 21 4 0 454.572
Cassandra dtests 21 4 0 670.383
Cassandra dtests 23 5 0 688.690
Cassandra dtests 20 2 0 667.444
Cassandra dtests 21 3 0 859.909
Cassandra dtests 20 2 0 493.569
Cassandra dtests 19 1 0 1056.732
Cassandra dtests 21 3 0 996.799
Cassandra dtests 19 1 0 930.801
Cassandra dtests 23 4 0 436.063
Cassandra dtests 20 3 0 417.984
Cassandra dtests 18 2 0 592.856
Cassandra dtests 19 2 0 600.018
Cassandra dtests 18 2 0 450.043
Cassandra dtests 19 2 0 437.408
Cassandra dtests 19 2 0 499.184
Cassandra dtests 19 1 0 664.183
Cassandra dtests 20 2 0 628.823
Cassandra dtests 20 2 0 1126.050
Cassandra dtests 20 3 0 777.809
Cassandra dtests 22 3 0 551.716
Cassandra dtests 19 2 0 596.954
Cassandra dtests 20 3 0 590.464
Cassandra dtests 18 3 0 347.114
Cassandra dtests 19 3 0 511.581
Cassandra dtests 19 2 0 532.171
Cassandra dtests 20 3 0 462.843
Cassandra dtests 21 4 0 448.073
Cassandra dtests 19 4 0 335.232
Cassandra dtests 19 2 0 661.557
Cassandra dtests 19 2 0 933.484
Cassandra dtests 22 4 0 394.092
Cassandra dtests 19 2 0 1137.045
Cassandra dtests 21 4 0 858.957
Cassandra dtests 20 3 0 852.199
Cassandra dtests 20 3 0 825.984
Cassandra dtests 19 2 0 993.375
Cassandra dtests 20 3 0 918.539
Cassandra dtests 20 3 0 904.572
Cassandra dtests 21 3 0 685.791
Cassandra dtests 20 2 0 725.367
Cassandra dtests 20 2 0 1036.414
Cassandra dtests 22 4 0 406.110
Cassandra dtests 20 2 0 1705.702
Cassandra dtests 20 2 0 1161.405
Cassandra dtests 21 3 0 1066.362
Cassandra dtests 22 4 0 649.715
Cassandra dtests 19 1 0 893.677
Cassandra dtests 21 3 0 473.373
Cassandra dtests 20 2 0 871.416
Cassandra dtests 21 4 0 834.661
Cassandra dtests 21 3 0 669.769
Cassandra dtests 22 4 0 478.654
Cassandra dtests 22 4 0 463.287
Cassandra dtests 21 3 0 695.892
Cassandra dtests 21 3 0 848.480
Cassandra dtests 23 5 0 590.678
Cassandra dtests 23 5 0 308.723
Cassandra dtests 22 4 0 441.718
Cassandra dtests 21 3 0 547.132
Cassandra dtests 22 4 0 505.213
Cassandra dtests 22 4 0 550.010
Cassandra dtests 20 2 0 888.843
Cassandra dtests 19 3 0 562.001
Cassandra dtests 20 4 0 359.587
Cassandra dtests 18 2 0 467.665
Cassandra dtests 21 4 0 418.315
Cassandra dtests 19 2 0 490.698
Cassandra dtests 20 3 0 494.353
Cassandra dtests 21 4 0 580.108
Cassandra dtests 19 3 0 555.668
Cassandra dtests 20 5 0 438.735
Cassandra dtests 18 3 0 366.133
Cassandra dtests 21 3 0 568.030
Cassandra dtests 20 3 0 463.926
Cassandra dtests 20 3 0 479.804
Cassandra dtests 22 5 0 287.576
Cassandra dtests 22 4 0 610.077
Cassandra dtests 21 4 0 508.590
Cassandra dtests 19 2 0 592.433
Cassandra dtests 19 2 0 597.477
Cassandra dtests 22 5 0 533.000
Cassandra dtests 19 3 0 523.163
Cassandra dtests 18 2 0 509.770
Cassandra dtests 20 2 0 932.429
Cassandra dtests 18 2 0 488.423
Cassandra dtests 18 2 0 546.183
Cassandra dtests 16 2 0 420.632
Cassandra dtests 16 2 0 651.873
Cassandra dtests 18 2 0 572.034
Cassandra dtests 18 2 0 738.191
Cassandra dtests 18 2 0 740.901
Cassandra dtests 18 2 0 563.079
Cassandra dtests 20 4 0 512.795
Cassandra dtests 19 3 0 1005.437
Cassandra dtests 19 1 0 903.526
Cassandra dtests 17 1 0 913.930
Cassandra dtests 20 3 0 628.740
Cassandra dtests 20 3 0 694.485
Cassandra dtests 21 4 0 471.199
Cassandra dtests 19 2 0 351.212
Cassandra dtests 20 3 0 556.369
Cassandra dtests 20 3 0 1013.023
Cassandra dtests 20 3 0 603.971
Cassandra dtests 20 3 0 477.877
Cassandra dtests 19 2 0 830.602
Cassandra dtests 19 2 0 507.154
Cassandra dtests 19 2 0 701.278
Cassandra dtests 19 2 0 655.588
Cassandra dtests 19 2 0 631.720
Cassandra dtests 20 3 0 610.705
Cassandra dtests 20 3 0 525.147
Cassandra dtests 20 3 0 748.052
Cassandra dtests 20 3 0 501.565
Cassandra dtests 20 3 0 631.905
Cassandra dtests 20 3 0 623.545
Cassandra dtests 20 3 0 825.015
Cassandra dtests 18 2 0 673.668
Cassandra dtests 21 4 0 1051.320
Cassandra dtests 20 3 0 854.523
Cassandra dtests 22 5 0 610.471
Cassandra dtests 19 2 0 743.902
Cassandra dtests 19 2 0 900.997
Cassandra dtests 16 1 0 497.921
Cassandra dtests 18 2 0 578.709
Cassandra dtests 18 2 0 481.565
Cassandra dtests 20 2 0 947.913
Cassandra dtests 18 2 0 575.340
Cassandra dtests 20 4 0 355.345
Cassandra dtests 19 3 0 469.777
Cassandra dtests 20 3 0 504.203
Cassandra dtests 19 2 0 451.870
Cassandra dtests 20 3 0 470.813
Cassandra dtests 21 4 0 612.179
Cassandra dtests 19 3 0 549.454
Cassandra dtests 18 3 0 559.245
Cassandra dtests 19 4 0 261.746
Cassandra dtests 20 2 0 916.754
Cassandra dtests 20 3 0 599.149
Cassandra dtests 20 3 0 488.078
Cassandra dtests 21 4 0 327.286
Cassandra dtests 23 5 0 593.695
Cassandra dtests 21 4 0 414.368
Cassandra dtests 20 3 0 442.662
Cassandra dtests 19 2 0 639.984
Cassandra dtests 21 4 0 519.655
Cassandra dtests 20 4 0 484.876
Cassandra dtests 18 2 0 547.565
Cassandra dtests 20 2 0 663.672
Cassandra dtests 18 2 0 489.893
Cassandra dtests 18 2 0 563.615
Cassandra dtests 17 2 0 565.204
Cassandra dtests 15 2 0 355.223
Cassandra dtests 18 2 0 634.891
Cassandra dtests 19 2 0 714.914
Cassandra dtests 17 2 0 755.383
Cassandra dtests 18 2 0 661.343
Cassandra dtests 20 4 0 571.407
Cassandra dtests 19 3 0 788.466
Cassandra dtests 20 2 0 930.756
Cassandra dtests 18 2 0 844.618
Cassandra dtests 19 2 0 759.874
Cassandra dtests 20 3 0 665.893
Cassandra dtests 20 3 0 525.876
Cassandra dtests 20 3 0 381.190
Cassandra dtests 19 2 0 531.507
Cassandra dtests 20 3 0 864.726
Cassandra dtests 20 3 0 659.034
Cassandra dtests 21 4 0 408.800
Cassandra dtests 19 2 0 621.282
Cassandra dtests 18 1 0 669.443
Cassandra dtests 19 2 0 663.052
Cassandra dtests 19 2 0 838.176
Cassandra dtests 19 2 0 729.662
Cassandra dtests 20 3 0 682.093
Cassandra dtests 20 3 0 487.924
Cassandra dtests 19 2 0 769.379
Cassandra dtests 20 3 0 534.096
Cassandra dtests 21 4 0 702.315
Cassandra dtests 20 3 0 615.051
Cassandra dtests 20 3 0 452.663
Cassandra dtests 20 3 0 639.019
Cassandra dtests 21 4 0 806.248
Cassandra dtests 20 3 0 983.727
Cassandra dtests 22 5 0 855.112
Cassandra dtests 20 3 0 509.691
Cassandra dtests 19 2 0 737.753
Cassandra dtests 16 1 0 542.119
Cassandra dtests 18 2 0 613.401
Cassandra dtests 18 2 0 541.766
-------------------------------------------------------------------------------
org.apache.cassandra.audit
Name Tests Errors Failures Skipped Time(s)
AuditLogFilterTest-cdc 10 0 0 0 0.259
AuditLoggerAuthTest-cdc 9 0 0 0 53.031
AuditLoggerTest-cdc 28 0 0 0 27.377
BinAuditLoggerTest-cdc 1 0 0 0 13.335
AuditLogFilterTest-compression 10 0 0 0 0.297
AuditLoggerAuthTest-compression 9 0 0 0 56.540
AuditLoggerTest-compression 28 0 0 0 22.484
BinAuditLoggerTest-compression 1 0 0 0 13.568
AuditLogFilterTest 10 0 0 0 0.213
AuditLoggerAuthTest 9 0 0 0 53.266
AuditLoggerTest 28 0 0 0 22.662
BinAuditLoggerTest 1 0 0 0 12.272
-------------------------------------------------------------------------------
org.apache.cassandra.auth
Name Tests Errors Failures Skipped Time(s)
AuthCacheTest-cdc 14 0 0 0 0.581
CassandraNetworkAuthorizerTest-cdc 6 0 0 0 4.292
CassandraRoleManagerTest-cdc 1 0 0 0 3.976
PasswordAuthenticatorTest-cdc 7 0 0 0 5.674
RoleOptionsTest-cdc 4 0 0 0 0.398
RolesTest-cdc 4 0 0 0 3.184
AuthCacheTest-compression 14 0 0 0 0.539
CassandraNetworkAuthorizerTest- 6 0 0 0 4.448
compression
CassandraRoleManagerTest-compression 1 0 0 0 3.664
PasswordAuthenticatorTest-compression 7 0 0 0 6.220
RoleOptionsTest-compression 4 0 0 0 0.440
RolesTest-compression 4 0 0 0 3.733
AuthCacheTest 14 0 0 0 0.479
CassandraNetworkAuthorizerTest 6 0 0 0 3.924
CassandraRoleManagerTest 1 0 0 0 3.410
PasswordAuthenticatorTest 7 0 0 0 5.751
RoleOptionsTest 4 0 0 0 0.400
RolesTest 4 0 0 0 3.133
-------------------------------------------------------------------------------
org.apache.cassandra.auth.jmx
Name Tests Errors Failures Skipped Time(s)
AuthorizationProxyTest-cdc 20 0 0 0 1.043
JMXAuthTest-cdc 3 0 0 0 4.451
AuthorizationProxyTest-compression 20 0 0 0 1.285
JMXAuthTest-compression 3 0 0 0 5.091
AuthorizationProxyTest 20 0 0 0 1.037
JMXAuthTest 3 0 0 0 4.468
-------------------------------------------------------------------------------
org.apache.cassandra.batchlog
Name Tests Errors Failures Skipped Time(s)
BatchlogEndpointFilterTest-cdc 5 0 0 0 0.464
BatchlogManagerTest-cdc 6 0 0 0 23.692
BatchlogTest-cdc 1 0 0 0 3.222
BatchlogEndpointFilterTest-compression 5 0 0 0 0.611
BatchlogManagerTest-compression 6 0 0 0 24.579
BatchlogTest-compression 1 0 0 0 4.631
BatchlogEndpointFilterTest 5 0 0 0 0.424
BatchlogManagerTest 6 0 0 0 23.168
BatchlogTest 1 0 0 0 3.000
-------------------------------------------------------------------------------
org.apache.cassandra.cache
Name Tests Errors Failures Skipped Time(s)
AutoSavingCacheTest-cdc 2 0 0 0 3.513
CacheProviderTest-cdc 2 0 0 0 4.670
AutoSavingCacheTest-compression 2 0 0 0 4.835
CacheProviderTest-compression 2 0 0 0 5.366
AutoSavingCacheTest 2 0 0 0 3.225
CacheProviderTest 2 0 0 0 4.028
-------------------------------------------------------------------------------
org.apache.cassandra.concurrent
Name Tests Errors Failures Skipped Time(s)
LongOpOrderTest 1 0 0 0 330.865
LongSharedExecutorPoolTest 1 0 1 0 1.117
DebuggableScheduledThreadPoolExecutorTest- 1 0 0 0 15.492
cdc
DebuggableThreadPoolExecutorTest-cdc 4 0 0 0 1.618
SEPExecutorTest-cdc 2 0 0 0 10.335
WaitQueueTest-cdc 2 0 0 0 0.315
DebuggableScheduledThreadPoolExecutorTest- 1 0 0 0 17.008
compression
DebuggableThreadPoolExecutorTest- 4 0 0 0 1.576
compression
SEPExecutorTest-compression 2 0 0 0 5.440
WaitQueueTest-compression 2 0 0 0 0.241
DebuggableScheduledThreadPoolExecutorTest 1 0 0 0 15.367
DebuggableThreadPoolExecutorTest 4 0 0 0 1.495
SEPExecutorTest 2 0 0 0 5.415
WaitQueueTest 2 0 0 0 0.224
-------------------------------------------------------------------------------
org.apache.cassandra.config
Name Tests Errors Failures Skipped Time(s)
CassandraRelevantPropertiesTest-cdc 8 0 0 0 0.177
DatabaseDescriptorRefTest-cdc 1 0 0 0 1.630
DatabaseDescriptorTest-cdc 15 0 0 0 1.216
CassandraRelevantPropertiesTest- 8 0 0 0 0.158
compression
DatabaseDescriptorRefTest-compression 1 0 0 0 1.365
DatabaseDescriptorTest-compression 15 0 0 0 0.992
CassandraRelevantPropertiesTest 8 0 0 0 0.133
DatabaseDescriptorRefTest 1 0 0 0 1.298
DatabaseDescriptorTest 15 0 0 0 1.020
-------------------------------------------------------------------------------
org.apache.cassandra.cql.jdbc
Name Tests Errors Failures Skipped Time(s)
JdbcDecimalTest-cdc 1 0 0 0 0.096
JdbcDecimalTest-compression 1 0 0 0 0.070
JdbcDecimalTest 1 0 0 0 0.071
-------------------------------------------------------------------------------
org.apache.cassandra.cql3
Name Tests Errors Failures Skipped Time(s)
CorruptionTest 1 0 0 0 127.064
ManyRowsTest 2 0 0 0 7.959
ViewLongTest 5 0 0 0 101.711
CDCStatementTest-cdc 3 0 0 0 5.509
CQL3TypeLiteralTest-cdc 6 0 0 0 1.447
ColumnIdentifierTest-cdc 4 0 0 0 0.624
CqlParserTest-cdc 3 0 0 0 0.617
CustomNowInSecondsTest-cdc 4 0 0 0 18.964
DeleteTest-cdc 1 0 0 0 17.696
DistinctQueryPagingTest-cdc 5 0 0 0 15.254
DurationTest-cdc 8 0 0 0 0.104
EmptyValuesTest-cdc 14 0 0 5 40.507
ErrorCollectorTest-cdc 6 0 0 0 0.141
GcCompactionTest-cdc 8 0 0 0 10.938
IndexQueryPagingTest-cdc 5 0 0 0 15.046
KeyCacheCqlTest-cdc 10 0 0 0 21.477
ListsTest-cdc 6 0 0 0 6.342
NonNativeTimestampTest-cdc 1 0 0 0 3.423
OutOfSpaceTest-cdc 3 0 0 0 4.483
PagingQueryTest-cdc 1 0 0 0 23.158
PagingTest-cdc 1 0 0 0 12.539
PreparedStatementsTest-cdc 10 0 0 0 20.994
PstmtPersistenceTest-cdc 2 0 0 0 14.527
QueryEventsTest-cdc 4 0 0 0 13.941
QueryWithIndexedSSTableTest-cdc 1 0 0 0 4.656
ReservedKeywordsTest-cdc 1 0 0 0 1.097
SerializationMirrorTest-cdc 1 0 0 0 4.439
SimpleQueryTest-cdc 18 0 0 0 10.987
TombstonesWithIndexedSSTableTest-cdc 2 0 0 0 6.627
TraceCqlTest-cdc 1 0 0 0 13.738
UDHelperTest-cdc 3 0 0 0 0.539
ViewComplexTest-cdc 32 0 0 1 104.795
ViewFilteringTest-cdc 25 0 0 3 53.553
ViewSchemaTest-cdc 7 0 0 0 32.532
ViewTest-cdc 41 0 0 0 70.122
CDCStatementTest-compression 3 0 0 0 4.359
CQL3TypeLiteralTest-compression 6 0 0 0 1.033
ColumnIdentifierTest-compression 4 0 0 0 0.459
CqlParserTest-compression 3 0 0 0 0.448
CustomNowInSecondsTest-compression 4 0 0 0 16.108
DeleteTest-compression 1 0 0 0 21.798
DistinctQueryPagingTest-compression 5 0 0 0 18.854
DurationTest-compression 8 0 0 0 0.156
EmptyValuesTest-compression 14 0 0 5 44.255
ErrorCollectorTest-compression 6 0 0 0 0.117
GcCompactionTest-compression 8 0 0 0 10.866
IndexQueryPagingTest-compression 5 0 0 0 19.814
KeyCacheCqlTest-compression 10 0 0 0 24.758
ListsTest-compression 6 0 0 0 5.178
NonNativeTimestampTest-compression 1 0 0 0 3.799
OutOfSpaceTest-compression 3 0 0 0 5.321
PagingQueryTest-compression 1 0 0 0 29.480
PagingTest-compression 1 0 0 0 10.432
PreparedStatementsTest-compression 10 0 0 0 21.526
PstmtPersistenceTest-compression 2 0 0 0 14.638
QueryEventsTest-compression 4 0 0 0 14.608
QueryWithIndexedSSTableTest-compression 1 0 0 0 4.175
ReservedKeywordsTest-compression 1 0 0 0 0.877
SerializationMirrorTest-compression 1 0 0 0 3.901
SimpleQueryTest-compression 18 0 0 0 9.912
TombstonesWithIndexedSSTableTest- 2 0 0 0 5.542
compression
TraceCqlTest-compression 1 0 0 0 12.523
UDHelperTest-compression 3 0 0 0 0.364
ViewComplexTest-compression 32 0 0 1 108.381
ViewFilteringTest-compression 25 0 0 3 47.301
ViewSchemaTest-compression 7 0 0 0 29.539
ViewTest-compression 41 0 0 0 69.865
CDCStatementTest 3 0 0 0 4.783
CQL3TypeLiteralTest 6 0 0 0 1.080
ColumnIdentifierTest 4 0 0 0 0.457
CqlParserTest 3 0 0 0 0.406
CustomNowInSecondsTest 4 0 0 0 16.238
DeleteTest 1 0 0 0 14.906
DistinctQueryPagingTest 5 0 0 0 14.937
DurationTest 8 0 0 0 0.082
EmptyValuesTest 14 0 0 5 36.449
ErrorCollectorTest 6 0 0 0 0.060
GcCompactionTest 8 0 0 0 9.606
IndexQueryPagingTest 5 0 0 0 14.127
KeyCacheCqlTest 10 0 0 0 18.814
ListsTest 6 0 0 0 4.610
NonNativeTimestampTest 1 0 0 0 3.188
OutOfSpaceTest 3 0 0 0 4.020
PagingQueryTest 1 0 0 0 19.162
PagingTest 1 0 0 0 9.782
PreparedStatementsTest 10 0 0 0 19.639
PstmtPersistenceTest 2 0 0 0 13.386
QueryEventsTest 4 0 0 0 13.949
QueryWithIndexedSSTableTest 1 0 0 0 3.915
ReservedKeywordsTest 1 0 0 0 0.821
SerializationMirrorTest 1 0 0 0 3.275
SimpleQueryTest 18 0 0 0 9.336
TombstonesWithIndexedSSTableTest 2 0 0 0 5.457
TraceCqlTest 1 0 0 0 14.826
UDHelperTest 3 0 0 0 0.314
ViewComplexTest 32 0 0 1 101.979
ViewFilteringTest 25 0 0 3 46.272
ViewSchemaTest 7 0 0 0 23.533
ViewTest 41 0 0 0 60.990
-------------------------------------------------------------------------------
org.apache.cassandra.cql3.conditions
Name Tests Errors Failures Skipped Time(s)
ColumnConditionTest-cdc 4 0 0 0 0.768
ColumnConditionTest-compression 4 0 0 0 0.683
ColumnConditionTest 4 0 0 0 0.542
-------------------------------------------------------------------------------
org.apache.cassandra.cql3.functions
Name Tests Errors Failures Skipped Time(s)
CastFctsTest-cdc 7 0 0 0 8.894
OperationFctsTest-cdc 11 0 0 0 10.980
TimeFctsTest-cdc 13 0 0 0 0.730
CastFctsTest-compression 7 0 0 0 6.708
OperationFctsTest-compression 11 0 0 0 7.294
TimeFctsTest-compression 13 0 0 0 0.545
CastFctsTest 7 0 0 0 6.122
OperationFctsTest 11 0 0 0 7.919
TimeFctsTest 13 0 0 0 0.530
-------------------------------------------------------------------------------
org.apache.cassandra.cql3.restrictions
Name Tests Errors Failures Skipped Time(s)
ClusteringColumnRestrictionsTest-cdc 23 0 0 0 1.368
ClusteringColumnRestrictionsTest- 23 0 0 0 1.078
compression
ClusteringColumnRestrictionsTest 23 0 0 0 1.018
-------------------------------------------------------------------------------
org.apache.cassandra.cql3.selection
Name Tests Errors Failures Skipped Time(s)
SelectionColumnMappingTest-cdc 2 0 0 0 7.299
TermSelectionTest-cdc 8 0 0 0 8.940
SelectionColumnMappingTest-compression 2 0 0 0 6.185
TermSelectionTest-compression 8 0 0 0 7.815
SelectionColumnMappingTest 2 0 0 0 5.981
TermSelectionTest 8 0 0 0 8.748
-------------------------------------------------------------------------------
org.apache.cassandra.cql3.statements
Name Tests Errors Failures Skipped Time(s)
AlterRoleStatementTest-cdc 4 0 0 0 0.920
CreateRoleStatementTest-cdc 4 0 0 0 4.135
CreateUserStatementTest-cdc 1 0 0 0 0.922
DescribeStatementTest-cdc 12 0 0 0 18.358
PropertyDefinitionsTest-cdc 2 0 0 0 0.353
SelectStatementTest-cdc 1 0 0 0 5.086
AlterRoleStatementTest-compression 4 0 0 0 0.926
CreateRoleStatementTest-compression 4 0 0 0 4.705
CreateUserStatementTest-compression 1 0 0 0 0.956
DescribeStatementTest-compression 12 0 0 0 18.156
PropertyDefinitionsTest-compression 2 0 0 0 0.227
SelectStatementTest-compression 1 0 0 0 3.519
AlterRoleStatementTest 4 0 0 0 0.861
CreateRoleStatementTest 4 0 0 0 4.044
CreateUserStatementTest 1 0 0 0 0.859
DescribeStatementTest 12 0 0 0 20.429
PropertyDefinitionsTest 2 0 0 0 0.209
SelectStatementTest 1 0 0 0 3.072
-------------------------------------------------------------------------------
org.apache.cassandra.cql3.validation.entities
Name Tests Errors Failures Skipped Time(s)
CollectionsTest-cdc 50 0 0 0 29.400
CountersTest-cdc 7 0 0 0 5.650
DateTypeTest-cdc 1 0 0 0 3.454
FrozenCollectionsTest-cdc 34 0 0 0 13.387
JsonTest-cdc 22 0 0 0 22.251
SecondaryIndexOnMapEntriesTest-cdc 11 0 0 0 7.622
SecondaryIndexOnStaticColumnTest-cdc 6 0 0 0 7.110
SecondaryIndexTest-cdc 49 0 0 0 35.536
StaticColumnsTest-cdc 7 0 0 0 8.761
TimestampTest-cdc 8 0 0 0 18.095
TimeuuidTest-cdc 2 0 0 0 3.988
TupleTypeTest-cdc 15 0 0 0 31.935
TypeTest-cdc 4 0 0 0 5.952
UFAuthTest-cdc 26 0 0 0 14.735
UFIdentificationTest-cdc 14 0 0 1 17.022
UFJavaTest-cdc 20 0 0 0 26.253
UFPureScriptTupleCollectionTest-cdc 1 0 0 0 15.019
UFScriptTest-cdc 12 0 0 0 19.808
UFSecurityTest-cdc 2 0 0 0 12.114
UFTest-cdc 24 0 0 0 31.241
UFTypesTest-cdc 7 0 0 0 25.873
UFVerifierTest-cdc 20 0 0 0 7.791
UserTypesTest-cdc 27 0 0 0 18.186
VirtualTableTest-cdc 5 0 0 0 13.397
CollectionsTest-compression 50 0 0 0 31.164
CountersTest-compression 7 0 0 0 5.789
DateTypeTest-compression 1 0 0 0 3.409
FrozenCollectionsTest-compression 34 0 0 0 14.704
JsonTest-compression 22 0 0 0 25.787
SecondaryIndexOnMapEntriesTest- 11 0 0 0 8.876
compression
SecondaryIndexOnStaticColumnTest- 6 0 0 0 7.231
compression
SecondaryIndexTest-compression 49 0 0 0 32.409
StaticColumnsTest-compression 7 0 0 0 8.699
TimestampTest-compression 8 0 0 0 20.710
TimeuuidTest-compression 2 0 0 0 5.300
TupleTypeTest-compression 15 0 0 0 43.512
TypeTest-compression 4 0 0 0 4.826
UFAuthTest-compression 26 0 0 0 15.244
UFIdentificationTest-compression 14 0 0 1 16.575
UFJavaTest-compression 20 0 0 0 25.656
UFPureScriptTupleCollectionTest- 1 0 0 0 14.869
compression
UFScriptTest-compression 12 0 0 0 20.982
UFSecurityTest-compression 2 0 0 0 11.693
UFTest-compression 24 0 0 0 25.794
UFTypesTest-compression 7 0 0 0 23.010
UFVerifierTest-compression 20 0 0 0 7.543
UserTypesTest-compression 27 0 0 0 21.389
VirtualTableTest-compression 5 0 0 0 14.288
CollectionsTest 50 0 0 0 29.101
CountersTest 7 0 0 0 5.426
DateTypeTest 1 0 0 0 3.449
FrozenCollectionsTest 34 0 0 0 13.326
JsonTest 22 0 0 0 21.554
SecondaryIndexOnMapEntriesTest 11 0 0 0 9.093
SecondaryIndexOnStaticColumnTest 6 0 0 0 7.309
SecondaryIndexTest 49 0 0 0 35.112
StaticColumnsTest 7 0 0 0 7.677
TimestampTest 8 0 0 0 18.008
TimeuuidTest 2 0 0 0 3.758
TupleTypeTest 15 0 0 0 33.661
TypeTest 4 0 0 0 4.409
UFAuthTest 26 0 0 0 14.755
UFIdentificationTest 14 0 0 1 15.538
UFJavaTest 20 0 0 0 23.574
UFPureScriptTupleCollectionTest 1 0 0 0 13.431
UFScriptTest 12 0 0 0 18.724
UFSecurityTest 2 0 0 0 6.186
UFTest 24 0 0 0 21.238
UFTypesTest 7 0 0 0 18.198
UFVerifierTest 20 0 0 0 7.045
UserTypesTest 27 0 0 0 16.086
VirtualTableTest 5 0 0 0 13.642
-------------------------------------------------------------------------------
org.apache.cassandra.cql3.validation.miscellaneous
Name Tests Errors Failures Skipped Time(s)
CrcCheckChanceTest-cdc 3 0 0 0 6.316
OverflowTest-cdc 14 0 0 0 8.785
PgStringTest-cdc 3 0 0 0 4.492
RoleSyntaxTest-cdc 9 0 0 0 5.156
SSTableMetadataTrackingTest-cdc 7 0 0 0 6.758
SSTablesIteratedTest-cdc 14 0 0 0 10.748
TombstonesTest-cdc 6 0 0 0 11.002
CrcCheckChanceTest-compression 3 0 0 0 6.692
OverflowTest-compression 14 0 0 0 7.629
PgStringTest-compression 3 0 0 0 5.242
RoleSyntaxTest-compression 9 0 0 0 5.080
SSTableMetadataTrackingTest-compression 7 0 0 0 6.034
SSTablesIteratedTest-compression 14 0 0 0 12.271
TombstonesTest-compression 6 0 0 0 8.925
CrcCheckChanceTest 3 0 0 0 6.471
OverflowTest 14 0 0 0 8.164
PgStringTest 3 0 0 0 4.245
RoleSyntaxTest 9 0 0 0 4.489
SSTableMetadataTrackingTest 7 0 0 0 6.052
SSTablesIteratedTest 14 0 0 0 10.328
TombstonesTest 6 0 0 0 7.483
-------------------------------------------------------------------------------
org.apache.cassandra.cql3.validation.operations
Name Tests Errors Failures Skipped Time(s)
AggregationTest-cdc 50 0 0 0 34.363
AlterTest-cdc 26 0 0 0 21.111
BatchTest-cdc 11 0 0 0 50.302
CreateTest-cdc 21 0 0 0 14.755
DeleteTest-cdc 33 0 0 0 25.744
DropRecreateAndRestoreTest-cdc 4 0 0 0 5.492
DropTest-cdc 2 0 0 0 4.051
InsertTest-cdc 8 0 0 0 6.572
InsertUpdateIfConditionTest-cdc 42 0 0 0 22.696
SelectGroupByTest-cdc 7 0 0 0 19.423
SelectLimitTest-cdc 7 0 0 0 16.468
SelectMultiColumnRelationTest-cdc 22 0 0 0 17.316
SelectOrderByTest-cdc 17 0 0 0 10.694
SelectOrderedPartitionerTest-cdc 20 0 0 0 10.349
SelectSingleColumnRelationTest-cdc 23 0 0 0 10.999
SelectTest-cdc 82 0 0 0 34.317
TTLTest-cdc 7 0 0 0 10.344
TruncateTest-cdc 1 0 0 0 5.522
TuplesWithNullsComparisonTest-cdc 3 0 0 0 5.013
UpdateTest-cdc 11 0 0 0 10.636
UseTest-cdc 1 0 0 0 5.140
AggregationTest-compression 50 0 0 0 41.167
AlterTest-compression 26 0 0 0 23.934
BatchTest-compression 11 0 0 0 48.904
CreateTest-compression 21 0 0 0 14.250
DeleteTest-compression 33 0 0 0 19.598
DropRecreateAndRestoreTest-compression 4 0 0 0 6.044
DropTest-compression 2 0 0 0 4.504
InsertTest-compression 8 0 0 0 8.696
InsertUpdateIfConditionTest-compression 42 0 0 0 27.727
SelectGroupByTest-compression 7 0 0 0 21.180
SelectLimitTest-compression 7 0 0 0 17.841
SelectMultiColumnRelationTest-compression 22 0 0 0 11.094
SelectOrderByTest-compression 17 0 0 0 9.128
SelectOrderedPartitionerTest-compression 20 0 0 0 10.205
SelectSingleColumnRelationTest- 23 0 0 0 13.478
compression
SelectTest-compression 82 0 0 0 33.901
TTLTest-compression 7 0 0 0 13.924
TruncateTest-compression 1 0 0 0 4.735
TuplesWithNullsComparisonTest-compression 3 0 0 0 6.259
UpdateTest-compression 11 0 0 0 13.606
UseTest-compression 1 0 0 0 4.719
AggregationTest 50 0 0 0 33.514
AlterTest 26 0 0 0 22.099
BatchTest 11 0 0 0 48.867
CreateTest 21 0 0 0 12.304
DeleteTest 33 0 0 0 21.811
DropRecreateAndRestoreTest 4 0 0 0 4.763
DropTest 2 0 0 0 3.835
InsertTest 8 0 0 0 6.337
InsertUpdateIfConditionTest 42 0 0 0 23.020
SelectGroupByTest 7 0 0 0 19.205
SelectLimitTest 7 0 0 0 16.085
SelectMultiColumnRelationTest 22 0 0 0 10.819
SelectOrderByTest 17 0 0 0 10.348
SelectOrderedPartitionerTest 20 0 0 0 10.270
SelectSingleColumnRelationTest 23 0 0 0 11.989
SelectTest 82 0 0 0 32.176
TTLTest 7 0 0 0 10.666
TruncateTest 1 0 0 0 3.503
TuplesWithNullsComparisonTest 3 0 0 0 4.799
UpdateTest 11 0 0 0 10.147
UseTest 1 0 0 0 3.112
-------------------------------------------------------------------------------
org.apache.cassandra.db
Name Tests Errors Failures Skipped Time(s)
CellTest-cdc 11 0 0 0 3.961
CleanupTest-cdc 8 0 0 0 18.423
CleanupTransientTest-cdc 1 0 0 0 4.132
ClusteringBoundTest-cdc 2 0 0 0 0.094
ColumnFamilyMetricTest-cdc 2 0 0 0 3.488
ColumnFamilyStoreTest-cdc 8 0 0 0 4.368
ColumnsTest-cdc 8 0 0 0 1.687
CounterCacheTest-cdc 5 0 0 0 3.444
CounterCellTest-cdc 5 0 0 0 3.212
CounterMutationTest-cdc 4 0 0 0 3.687
DeletePartitionTest-cdc 1 0 0 0 3.229
DigestTest-cdc 6 0 0 0 0.515
DirectoriesTest-cdc 13 0 0 0 1.108
DiskBoundaryManagerTest-cdc 4 0 0 0 4.631
ImportTest-cdc 14 0 0 0 10.795
KeyCacheTest-cdc 6 0 0 0 4.050
KeyspaceTest-cdc 11 0 0 0 7.834
LivenessInfoTest-cdc 2 0 0 0 0.377
MmapFileTest-cdc 1 0 0 0 0.330
MultiKeyspaceTest-cdc 1 0 0 0 3.536
MutationExceededMaxSizeExceptionTest-cdc 1 0 0 0 0.067
NameSortTest-cdc 3 0 0 0 3.827
NativeCellTest-cdc 1 0 0 0 0.959
PartitionRangeReadTest-cdc 7 0 0 0 4.846
PartitionTest-cdc 4 0 0 0 3.710
RangeTombstoneListTest-cdc 25 0 0 0 1.222
RangeTombstoneTest-cdc 14 0 0 0 4.307
ReadCommandTest-cdc 23 0 0 0 5.151
ReadCommandVerbHandlerTest-cdc 4 0 0 0 4.695
ReadMessageTest-cdc 3 0 0 0 3.446
ReadResponseTest-cdc 8 0 0 0 0.745
RecoveryManagerFlushedTest-cdc 6 0 0 0 3.532
RecoveryManagerMissingHeaderTest-cdc 6 0 0 0 3.155
RecoveryManagerTest-cdc 42 0 0 0 6.788
RecoveryManagerTruncateTest-cdc 6 0 0 0 3.283
RemoveCellTest-cdc 1 0 0 0 3.562
RepairedDataInfoTest-cdc 7 0 0 0 1.814
RepairedDataTombstonesTest-cdc 7 0 0 0 29.864
RowCacheCQLTest-cdc 3 0 0 0 5.248
RowCacheTest-cdc 11 0 0 0 5.364
RowIndexEntryTest-cdc 4 0 0 0 4.289
RowIterationTest-cdc 3 0 0 0 4.436
RowTest-cdc 4 0 0 0 3.158
SchemaCQLHelperTest-cdc 9 0 0 0 6.020
ScrubTest-cdc 17 0 0 0 8.149
SecondaryIndexTest-cdc 14 0 0 0 9.663
SerializationHeaderTest-cdc 1 0 0 0 1.863
SinglePartitionReadCommandCQLTest-cdc 1 0 0 0 3.638
SinglePartitionSliceCommandTest-cdc 7 0 0 0 4.160
SystemKeyspaceMigrator40Test-cdc 4 0 0 0 4.984
SystemKeyspaceTest-cdc 4 0 0 0 2.726
TimeSortTest-cdc 2 0 0 0 5.598
TransformerTest-cdc 1 0 0 0 1.198
VerifyTest-cdc 23 0 0 0 4.527
CellTest-compression 11 0 0 0 4.297
CleanupTest-compression 8 0 0 0 19.249
CleanupTransientTest-compression 1 0 0 0 4.139
ClusteringBoundTest-compression 2 0 0 0 0.079
ColumnFamilyMetricTest-compression 2 0 0 0 3.484
ColumnFamilyStoreTest-compression 8 0 0 0 4.857
ColumnsTest-compression 8 0 0 0 1.886
CounterCacheTest-compression 5 0 0 0 4.238
CounterCellTest-compression 5 0 0 0 3.260
CounterMutationTest-compression 4 0 0 0 3.504
DeletePartitionTest-compression 1 0 0 0 3.633
DigestTest-compression 6 0 0 0 0.546
DirectoriesTest-compression 13 0 0 0 1.292
DiskBoundaryManagerTest-compression 4 0 0 0 5.661
ImportTest-compression 14 0 0 0 8.811
KeyCacheTest-compression 6 0 0 0 4.909
KeyspaceTest-compression 11 0 0 0 9.174
LivenessInfoTest-compression 2 0 0 0 0.405
MmapFileTest-compression 1 0 0 0 0.350
MultiKeyspaceTest-compression 1 0 0 0 3.970
MutationExceededMaxSizeExceptionTest- 1 0 0 0 0.068
compression
NameSortTest-compression 3 0 0 0 5.018
NativeCellTest-compression 1 0 0 0 1.623
PartitionRangeReadTest-compression 7 0 0 0 4.840
PartitionTest-compression 4 0 0 0 3.485
RangeTombstoneListTest-compression 25 0 0 0 1.160
RangeTombstoneTest-compression 14 0 0 0 5.337
ReadCommandTest-compression 23 0 0 0 6.982
ReadCommandVerbHandlerTest-compression 4 0 0 0 8.905
ReadMessageTest-compression 3 0 0 0 3.439
ReadResponseTest-compression 8 0 0 0 0.720
RecoveryManagerFlushedTest-compression 6 0 0 0 4.004
RecoveryManagerMissingHeaderTest- 6 0 0 0 3.394
compression
RecoveryManagerTest-compression 42 0 0 0 16.176
RecoveryManagerTruncateTest-compression 6 0 0 0 6.487
RemoveCellTest-compression 1 0 0 0 6.378
RepairedDataInfoTest-compression 7 0 0 0 2.904
RepairedDataTombstonesTest-compression 7 0 0 0 33.982
RowCacheCQLTest-compression 3 0 0 0 6.071
RowCacheTest-compression 11 0 0 0 6.073
RowIndexEntryTest-compression 4 0 0 0 5.183
RowIterationTest-compression 3 0 0 0 7.378
RowTest-compression 4 0 0 0 3.887
SchemaCQLHelperTest-compression 9 0 0 0 6.394
ScrubTest-compression 17 0 0 2 10.085
SecondaryIndexTest-compression 14 0 0 0 12.292
SerializationHeaderTest-compression 1 0 0 0 1.681
SinglePartitionReadCommandCQLTest- 1 0 0 0 4.020
compression
SinglePartitionSliceCommandTest- 7 0 0 0 4.171
compression
SystemKeyspaceMigrator40Test-compression 4 0 0 0 4.539
SystemKeyspaceTest-compression 4 0 0 0 2.597
TimeSortTest-compression 2 0 0 0 4.669
TransformerTest-compression 1 0 0 0 1.052
VerifyTest-compression 23 0 0 0 4.477
CellTest 11 0 0 0 3.033
CleanupTest 8 0 0 0 17.390
CleanupTransientTest 1 0 0 0 3.674
ClusteringBoundTest 2 0 0 0 0.066
ColumnFamilyMetricTest 2 0 0 0 3.201
ColumnFamilyStoreTest 8 0 0 0 4.329
ColumnsTest 8 0 0 0 1.719
CounterCacheTest 5 0 0 0 3.613
CounterCellTest 5 0 0 0 3.053
CounterMutationTest 4 0 0 0 3.184
DeletePartitionTest 1 0 0 0 3.096
DigestTest 6 0 0 0 0.441
DirectoriesTest 13 0 0 0 1.032
DiskBoundaryManagerTest 4 0 0 0 4.587
ImportTest 14 0 0 0 8.936
KeyCacheTest 6 0 0 0 3.740
KeyspaceTest 11 0 0 0 7.442
LivenessInfoTest 2 0 0 0 0.360
MmapFileTest 1 0 0 0 0.282
MultiKeyspaceTest 1 0 0 0 3.540
MutationExceededMaxSizeExceptionTest 1 0 0 0 0.062
NameSortTest 3 0 0 0 3.570
NativeCellTest 1 0 0 0 0.829
PartitionRangeReadTest 7 0 0 0 3.941
PartitionTest 4 0 0 0 3.223
RangeTombstoneListTest 25 0 0 0 1.084
RangeTombstoneTest 14 0 0 0 4.058
ReadCommandTest 23 0 0 0 5.073
ReadCommandVerbHandlerTest 4 0 0 0 4.543
ReadMessageTest 3 0 0 0 3.103
ReadResponseTest 8 0 0 0 0.583
RecoveryManagerFlushedTest 6 0 0 0 3.277
RecoveryManagerMissingHeaderTest 6 0 0 0 3.052
RecoveryManagerTest 42 0 0 0 7.750
RecoveryManagerTruncateTest 6 0 0 0 3.159
RemoveCellTest 1 0 0 0 3.296
RepairedDataInfoTest 7 0 0 0 1.483
RepairedDataTombstonesTest 7 0 0 0 27.936
RowCacheCQLTest 3 0 0 0 4.250
RowCacheTest 11 0 0 0 4.482
RowIndexEntryTest 4 0 0 0 4.218
RowIterationTest 3 0 0 0 4.487
RowTest 4 0 0 0 2.934
SchemaCQLHelperTest 9 0 0 0 6.148
ScrubTest 17 0 0 0 6.616
SecondaryIndexTest 14 0 0 0 9.604
SerializationHeaderTest 1 0 0 0 1.452
SinglePartitionReadCommandCQLTest 1 0 0 0 3.516
SinglePartitionSliceCommandTest 7 0 0 0 3.702
SystemKeyspaceMigrator40Test 4 0 0 0 3.977
SystemKeyspaceTest 4 0 0 0 2.300
TimeSortTest 2 0 0 0 4.569
TransformerTest 1 0 0 0 1.037
VerifyTest 23 0 0 0 4.053
-------------------------------------------------------------------------------
org.apache.cassandra.db.aggregation
Name Tests Errors Failures Skipped Time(s)
GroupMakerTest-cdc 6 0 0 0 1.158
GroupMakerTest-compression 6 0 0 0 0.966
GroupMakerTest 6 0 0 0 0.834
-------------------------------------------------------------------------------
org.apache.cassandra.db.columniterator
Name Tests Errors Failures Skipped Time(s)
SSTableReverseIteratorTest-cdc 1 0 0 0 4.234
SSTableReverseIteratorTest-compression 1 0 0 0 3.577
SSTableReverseIteratorTest 1 0 0 0 3.396
-------------------------------------------------------------------------------
org.apache.cassandra.db.commitlog
Name Tests Errors Failures Skipped Time(s)
BatchCommitLogStressTest 15 0 0 0 198.399
CommitLogStressTest 1 0 0 1 0.078
GroupCommitLogStressTest 15 0 0 0 186.135
PeriodicCommitLogStressTest 15 0 0 0 247.330
AbstractCommitLogServiceTest-cdc 9 0 0 0 1.290
BatchCommitLogTest-cdc 174 0 0 0 7.587
CommitLogCQLTest-cdc 1 0 0 0 3.579
CommitLogChainedMarkersTest-cdc 1 0 0 0 4.044
CommitLogDescriptorTest-cdc 14 0 0 0 14.186
CommitLogFailurePolicyTest-cdc 4 0 0 0 6.086
CommitLogInitWithExceptionTest-cdc 1 0 0 0 1.521
CommitLogReaderTest-cdc 5 0 0 0 6.628
CommitLogSegmentBackpressureTest-cdc 1 0 0 0 5.246
CommitLogSegmentManagerCDCTest-cdc 7 0 0 0 10.636
CommitLogTest-cdc 1 0 0 1 0.115
CommitLogUpgradeTest-cdc 1 0 0 0 5.185
CommitlogShutdownTest-cdc 1 0 0 0 5.066
GroupCommitLogTest-cdc 162 0 0 0 16.807
SegmentReaderTest-cdc 6 0 0 0 1.679
SnapshotDeletingTest-cdc 1 0 0 1 4.497
AbstractCommitLogServiceTest-compression 9 0 0 0 1.238
BatchCommitLogTest-compression 174 0 0 0 7.786
CommitLogCQLTest-compression 1 0 0 0 3.536
CommitLogChainedMarkersTest-compression 1 0 0 0 4.133
CommitLogDescriptorTest-compression 14 0 0 0 15.122
CommitLogFailurePolicyTest-compression 4 0 0 0 6.045
CommitLogInitWithExceptionTest- 1 0 0 0 1.502
compression
CommitLogReaderTest-compression 5 0 0 0 6.851
CommitLogSegmentBackpressureTest- 1 0 0 0 5.243
compression
CommitLogSegmentManagerCDCTest- 7 0 0 0 8.884
compression
CommitLogTest-compression 1 0 0 1 0.080
CommitLogUpgradeTest-compression 1 0 0 0 4.162
CommitlogShutdownTest-compression 1 0 0 0 3.729
GroupCommitLogTest-compression 162 0 0 0 14.481
SegmentReaderTest-compression 6 0 0 0 1.340
SnapshotDeletingTest-compression 1 0 0 1 3.270
AbstractCommitLogServiceTest 9 0 0 0 1.150
BatchCommitLogTest 174 0 0 0 7.976
CommitLogCQLTest 1 0 0 0 3.288
CommitLogChainedMarkersTest 1 0 0 0 3.967
CommitLogDescriptorTest 14 0 0 0 13.950
CommitLogFailurePolicyTest 4 0 0 0 5.830
CommitLogInitWithExceptionTest 1 0 0 0 1.466
CommitLogReaderTest 5 0 0 0 5.785
CommitLogSegmentBackpressureTest 1 0 0 0 4.653
CommitLogSegmentManagerCDCTest 7 0 0 0 9.104
CommitLogTest 1 0 0 1 0.052
CommitLogUpgradeTest 1 0 0 0 3.140
CommitlogShutdownTest 1 0 0 0 3.661
GroupCommitLogTest 162 0 0 0 13.337
SegmentReaderTest 6 0 0 0 1.205
SnapshotDeletingTest 1 0 0 1 3.050
-------------------------------------------------------------------------------
org.apache.cassandra.db.compaction
Name Tests Errors Failures Skipped Time(s)
LongCompactionsTest 4 0 0 0 20.949
LongLeveledCompactionStrategyCQLTest 1 0 0 0 304.334
LongLeveledCompactionStrategyTest 3 0 0 0 18.677
AbstractCompactionStrategyTest-cdc 4 0 0 0 5.340
AbstractPendingRepairTest-cdc 1 0 0 1 0.090
ActiveCompactionsTest-cdc 6 0 0 0 8.505
AntiCompactionBytemanTest-cdc 1 0 0 0 6.724
AntiCompactionTest-cdc 15 0 0 0 30.451
CancelCompactionsTest-cdc 8 0 0 0 9.788
CompactionAwareWriterTest-cdc 4 0 0 0 98.892
CompactionControllerTest-cdc 2 0 0 0 3.706
CompactionExecutorTest-cdc 3 0 0 0 0.967
CompactionInfoTest-cdc 2 0 0 0 3.499
CompactionIteratorTest-cdc 12 0 0 0 7.236
CompactionStrategyManagerPendingRepairTest- 9 0 0 0 4.106
cdc
CompactionStrategyManagerTest-cdc 5 0 0 0 5.871
CompactionTaskTest-cdc 2 0 0 0 3.491
CompactionsBytemanTest-cdc 6 0 0 0 13.213
CompactionsCQLTest-cdc 24 0 0 0 38.274
CompactionsPurgeTest-cdc 10 0 0 0 4.152
CompactionsTest-cdc 6 0 0 1 17.554
CorruptedSSTablesCompactionsTest-cdc 2 0 0 0 5.991
DateTieredCompactionStrategyTest-cdc 7 0 0 0 8.751
LeveledCompactionStrategyTest-cdc 11 0 0 0 27.055
LeveledGenerationsTest-cdc 4 0 0 0 4.179
NeverPurgeTest-cdc 4 0 0 0 9.363
OneCompactionTest-cdc 2 0 0 0 3.414
PendingRepairManagerTest-cdc 16 0 0 0 5.571
SingleSSTableLCSTaskTest-cdc 4 0 0 0 76.508
SizeTieredCompactionStrategyTest-cdc 3 0 0 0 3.378
TTLExpiryTest-cdc 5 0 0 0 10.173
TimeWindowCompactionStrategyTest-cdc 5 0 0 0 9.103
ValidationExecutorTest-cdc 2 0 0 0 0.652
AbstractCompactionStrategyTest-compression 4 0 0 0 4.084
AbstractPendingRepairTest-compression 1 0 0 1 0.072
ActiveCompactionsTest-compression 6 0 0 0 6.842
AntiCompactionBytemanTest-compression 1 0 0 0 6.999
AntiCompactionTest-compression 15 0 0 0 35.116
CancelCompactionsTest-compression 8 0 0 0 10.362
CompactionAwareWriterTest-compression 4 0 0 0 102.577
CompactionControllerTest-compression 2 0 0 0 3.776
CompactionExecutorTest-compression 3 0 0 0 0.942
CompactionInfoTest-compression 2 0 0 0 3.657
CompactionIteratorTest-compression 12 0 0 0 7.482
CompactionStrategyManagerPendingRepairTest- 9 0 0 0 4.066
compression
CompactionStrategyManagerTest-compression 5 0 0 0 5.958
CompactionTaskTest-compression 2 0 0 0 3.452
CompactionsBytemanTest-compression 6 0 0 0 13.199
CompactionsCQLTest-compression 24 0 0 0 36.344
CompactionsPurgeTest-compression 10 0 0 0 5.056
CompactionsTest-compression 6 0 0 1 16.892
CorruptedSSTablesCompactionsTest- 2 0 0 0 5.055
compression
DateTieredCompactionStrategyTest- 7 0 0 0 7.029
compression
LeveledCompactionStrategyTest-compression 11 0 0 0 27.127
LeveledGenerationsTest-compression 4 0 0 0 3.992
NeverPurgeTest-compression 4 0 0 0 9.146
OneCompactionTest-compression 2 0 0 0 3.424
PendingRepairManagerTest-compression 16 0 0 0 4.424
SingleSSTableLCSTaskTest-compression 4 0 0 0 91.180
SizeTieredCompactionStrategyTest- 3 0 0 0 3.220
compression
TTLExpiryTest-compression 5 0 0 0 9.880
TimeWindowCompactionStrategyTest- 5 0 0 0 8.738
compression
ValidationExecutorTest-compression 2 0 0 0 0.604
AbstractCompactionStrategyTest 4 0 0 0 3.710
AbstractPendingRepairTest 1 0 0 1 0.054
ActiveCompactionsTest 6 0 0 0 5.704
AntiCompactionBytemanTest 1 0 0 0 6.185
AntiCompactionTest 15 0 0 0 23.304
CancelCompactionsTest 8 0 0 0 9.919
CompactionAwareWriterTest 4 0 0 0 88.912
CompactionControllerTest 2 0 0 0 3.683
CompactionExecutorTest 3 0 0 0 0.946
CompactionInfoTest 2 0 0 0 3.466
CompactionIteratorTest 12 0 0 0 6.823
CompactionStrategyManagerPendingRepairTest 9 0 0 0 4.352
CompactionStrategyManagerTest 5 0 0 0 6.149
CompactionTaskTest 2 0 0 0 3.197
CompactionsBytemanTest 6 0 0 0 13.410
CompactionsCQLTest 24 0 0 0 37.362
CompactionsPurgeTest 10 0 0 0 3.998
CompactionsTest 6 0 0 1 16.818
CorruptedSSTablesCompactionsTest 2 0 0 0 4.791
DateTieredCompactionStrategyTest 7 0 0 0 8.284
LeveledCompactionStrategyTest 11 0 0 0 24.225
LeveledGenerationsTest 4 0 0 0 3.723
NeverPurgeTest 4 0 0 0 9.043
OneCompactionTest 2 0 0 0 3.201
PendingRepairManagerTest 16 0 0 0 4.989
SingleSSTableLCSTaskTest 4 0 0 0 82.038
SizeTieredCompactionStrategyTest 3 0 0 0 3.043
TTLExpiryTest 5 0 0 0 10.032
TimeWindowCompactionStrategyTest 5 0 0 0 8.901
ValidationExecutorTest 2 0 0 0 0.608
-------------------------------------------------------------------------------
org.apache.cassandra.db.composites
Name Tests Errors Failures Skipped Time(s)
CTypeTest-cdc 3 0 0 0 0.593
CTypeTest-compression 3 0 0 0 0.517
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 2.431
CounterContextTest-compression 8 0 0 0 2.065
CounterContextTest 8 0 0 0 2.007
-------------------------------------------------------------------------------
org.apache.cassandra.db.filter
Name Tests Errors Failures Skipped Time(s)
ColumnFilterTest-cdc 3 0 0 0 0.762
RowFilterTest-cdc 1 0 0 0 0.765
SliceTest-cdc 4 0 0 0 0.136
ColumnFilterTest-compression 3 0 0 0 0.614
RowFilterTest-compression 1 0 0 0 0.611
SliceTest-compression 4 0 0 0 0.117
ColumnFilterTest 3 0 0 0 0.595
RowFilterTest 1 0 0 0 0.581
SliceTest 4 0 0 0 0.109
-------------------------------------------------------------------------------
org.apache.cassandra.db.lifecycle
Name Tests Errors Failures Skipped Time(s)
HelpersTest-cdc 8 0 0 0 15.985
LifecycleTransactionTest-cdc 8 0 0 0 3.009
LogTransactionTest-cdc 39 0 0 0 5.518
RealTransactionsTest-cdc 3 0 0 0 5.499
TrackerTest-cdc 7 0 0 0 2.532
ViewTest-cdc 3 0 0 0 2.599
HelpersTest-compression 8 0 0 0 14.690
LifecycleTransactionTest-compression 8 0 0 0 2.594
LogTransactionTest-compression 39 0 0 0 2.950
RealTransactionsTest-compression 3 0 0 0 4.198
TrackerTest-compression 7 0 0 0 2.295
ViewTest-compression 3 0 0 0 2.021
HelpersTest 8 0 0 0 14.306
LifecycleTransactionTest 8 0 0 0 2.546
LogTransactionTest 39 0 0 0 3.053
RealTransactionsTest 3 0 0 0 3.993
TrackerTest 7 0 0 0 2.269
ViewTest 3 0 0 0 1.980
-------------------------------------------------------------------------------
org.apache.cassandra.db.marshal
Name Tests Errors Failures Skipped Time(s)
AbstractCompositeTypeTest-cdc 2 0 0 0 0.081
ByteBufferAccessorTest-cdc 2 0 0 0 0.121
BytesTypeTest-cdc 2 0 0 0 0.261
CollectionTypeTest-cdc 6 0 0 0 0.170
CollectionTypesTest-cdc 3 0 0 0 5.921
CompositeAndTupleTypesTest-cdc 3 0 0 0 8.663
CompositeTypeTest-cdc 9 0 0 0 3.419
DecimalTypeTest-cdc 3 0 0 0 0.091
DynamicCompositeTypeTest-cdc 8 0 0 0 3.948
EmptyTypeTest-cdc 7 0 0 0 1.107
IntegerTypeTest-cdc 10 0 0 0 0.125
JsonConversionTest-cdc 30 0 0 0 0.775
ReversedTypeTest-cdc 1 0 0 0 0.115
RoundTripTest-cdc 8 0 0 0 0.565
SimpleDateTypeTest-cdc 1 0 0 0 0.138
TimeTypeTest-cdc 2 0 0 0 3.948
TimeUUIDTypeTest-cdc 6 0 0 0 7.711
TimestampTypeTest-cdc 1 0 0 0 0.638
TypeCompareTest-cdc 6 0 0 0 0.310
TypeParserTest-cdc 3 0 0 0 0.951
TypeValidationTest-cdc 18 0 0 0 3.777
UUIDTypeTest-cdc 6 0 0 0 3.784
ValueAccessorTest-cdc 4 0 0 0 0.570
AbstractCompositeTypeTest-compression 2 0 0 0 0.069
ByteBufferAccessorTest-compression 2 0 0 0 0.105
BytesTypeTest-compression 2 0 0 0 0.234
CollectionTypeTest-compression 6 0 0 0 0.156
CollectionTypesTest-compression 3 0 0 0 5.705
CompositeAndTupleTypesTest-compression 3 0 0 0 8.279
CompositeTypeTest-compression 9 0 0 0 3.219
DecimalTypeTest-compression 3 0 0 0 0.078
DynamicCompositeTypeTest-compression 8 0 0 0 3.133
EmptyTypeTest-compression 7 0 0 0 0.827
IntegerTypeTest-compression 10 0 0 0 0.125
JsonConversionTest-compression 30 0 0 0 0.722
ReversedTypeTest-compression 1 0 0 0 0.097
RoundTripTest-compression 8 0 0 0 0.510
SimpleDateTypeTest-compression 1 0 0 0 0.121
TimeTypeTest-compression 2 0 0 0 3.560
TimeUUIDTypeTest-compression 6 0 0 0 7.650
TimestampTypeTest-compression 1 0 0 0 0.597
TypeCompareTest-compression 6 0 0 0 0.294
TypeParserTest-compression 3 0 0 0 0.892
TypeValidationTest-compression 18 0 0 0 3.245
UUIDTypeTest-compression 6 0 0 0 3.998
ValueAccessorTest-compression 4 0 0 0 0.528
AbstractCompositeTypeTest 2 0 0 0 0.062
ByteBufferAccessorTest 2 0 0 0 0.094
BytesTypeTest 2 0 0 0 0.222
CollectionTypeTest 6 0 0 0 0.139
CollectionTypesTest 3 0 0 0 5.551
CompositeAndTupleTypesTest 3 0 0 0 8.495
CompositeTypeTest 9 0 0 0 3.015
DecimalTypeTest 3 0 0 0 0.068
DynamicCompositeTypeTest 8 0 0 0 3.047
EmptyTypeTest 7 0 0 0 0.824
IntegerTypeTest 10 0 0 0 0.123
JsonConversionTest 30 0 0 0 0.637
ReversedTypeTest 1 0 0 0 0.096
RoundTripTest 8 0 0 0 0.502
SimpleDateTypeTest 1 0 0 0 0.111
TimeTypeTest 2 0 0 0 3.430
TimeUUIDTypeTest 6 0 0 0 7.662
TimestampTypeTest 1 0 0 0 0.553
TypeCompareTest 6 0 0 0 0.304
TypeParserTest 3 0 0 0 0.887
TypeValidationTest 18 0 0 0 3.231
UUIDTypeTest 6 0 0 0 3.868
ValueAccessorTest 4 0 0 0 0.468
-------------------------------------------------------------------------------
org.apache.cassandra.db.monitoring
Name Tests Errors Failures Skipped Time(s)
MonitoringTaskTest-cdc 15 0 0 0 5.518
MonitoringTaskTest-compression 15 0 0 0 5.392
MonitoringTaskTest 15 0 0 0 5.400
-------------------------------------------------------------------------------
org.apache.cassandra.db.partition
Name Tests Errors Failures Skipped Time(s)
PartitionImplementationTest-cdc 7 0 0 0 62.278
PartitionUpdateTest-cdc 3 0 0 0 5.203
PartitionImplementationTest-compression 7 0 0 0 55.773
PartitionUpdateTest-compression 3 0 0 0 4.166
PartitionImplementationTest 7 0 0 0 56.926
PartitionUpdateTest 3 0 0 0 3.887
-------------------------------------------------------------------------------
org.apache.cassandra.db.partitions
Name Tests Errors Failures Skipped Time(s)
PurgeFunctionTest-cdc 8 0 0 0 0.774
PurgeFunctionTest-compression 8 0 0 0 0.612
PurgeFunctionTest 8 0 0 0 0.558
-------------------------------------------------------------------------------
org.apache.cassandra.db.repair
Name Tests Errors Failures Skipped Time
(s)
AbstractPendingAntiCompactionTest-cdc 1 0 0 1 0.062
CompactionManagerGetSSTablesForValidationTest- 3 0 0 0 3.948
cdc
PendingAntiCompactionBytemanTest-cdc 1 0 0 0 4.776
PendingAntiCompactionTest-cdc 18 0 0 0 13.924
AbstractPendingAntiCompactionTest-compression 1 0 0 1 0.061
CompactionManagerGetSSTablesForValidationTest- 3 0 0 0 3.429
compression
PendingAntiCompactionBytemanTest-compression 1 0 0 0 3.890
PendingAntiCompactionTest-compression 18 0 0 0 12.713
AbstractPendingAntiCompactionTest 1 0 0 1 0.050
CompactionManagerGetSSTablesForValidationTest 3 0 0 0 3.218
PendingAntiCompactionBytemanTest 1 0 0 0 3.717
PendingAntiCompactionTest 18 0 0 0 12.298
-------------------------------------------------------------------------------
org.apache.cassandra.db.rows
Name Tests Errors Failures Skipped Time(s)
ColumnMetadataVersionComparatorTest-cdc 10 0 0 0 0.392
EncodingStatsTest-cdc 10 0 0 0 0.162
RowAndDeletionMergeIteratorTest-cdc 10 0 0 0 3.369
RowsTest-cdc 9 0 0 0 1.101
ThrottledUnfilteredIteratorTest-cdc 7 0 0 0 10.477
UnfilteredRowIteratorsMergeTest-cdc 5 0 0 0 27.424
UnfilteredRowIteratorsTest-cdc 1 0 0 0 0.649
ColumnMetadataVersionComparatorTest- 10 0 0 0 0.364
compression
EncodingStatsTest-compression 10 0 0 0 0.152
RowAndDeletionMergeIteratorTest- 10 0 0 0 3.172
compression
RowsTest-compression 9 0 0 0 1.015
ThrottledUnfilteredIteratorTest- 7 0 0 0 10.157
compression
UnfilteredRowIteratorsMergeTest- 5 0 0 0 27.470
compression
UnfilteredRowIteratorsTest-compression 1 0 0 0 0.637
ColumnMetadataVersionComparatorTest 10 0 0 0 0.304
EncodingStatsTest 10 0 0 0 0.120
RowAndDeletionMergeIteratorTest 10 0 0 0 2.894
RowsTest 9 0 0 0 0.925
ThrottledUnfilteredIteratorTest 7 0 0 0 8.882
UnfilteredRowIteratorsMergeTest 5 0 0 0 26.815
UnfilteredRowIteratorsTest 1 0 0 0 0.584
-------------------------------------------------------------------------------
org.apache.cassandra.db.streaming
Name Tests Errors Failures Skipped Time
(s)
CassandraEntireSSTableStreamWriterTest-cdc 2 0 0 0 3.657
CassandraOutgoingFileTest-cdc 3 0 0 0 3.448
CassandraStreamHeaderTest-cdc 5 0 0 0 3.289
CassandraStreamManagerTest-cdc 2 0 0 0 4.585
ComponentManifestTest-cdc 2 0 0 0 0.265
EntireSSTableStreamConcurrentComponentMutationTest- 3 0 0 0 14.283
cdc
StreamRequestTest-cdc 1 0 0 0 0.901
CassandraEntireSSTableStreamWriterTest-compression 2 0 0 0 3.512
CassandraOutgoingFileTest-compression 3 0 0 0 3.459
CassandraStreamHeaderTest-compression 5 0 0 0 3.356
CassandraStreamManagerTest-compression 2 0 0 0 3.553
ComponentManifestTest-compression 2 0 0 0 0.280
EntireSSTableStreamConcurrentComponentMutationTest- 3 0 0 0 14.445
compression
StreamRequestTest-compression 1 0 0 0 0.864
CassandraEntireSSTableStreamWriterTest 2 0 0 0 3.360
CassandraOutgoingFileTest 3 0 0 0 3.192
CassandraStreamHeaderTest 5 0 0 0 3.054
CassandraStreamManagerTest 2 0 0 0 3.271
ComponentManifestTest 2 0 0 0 0.245
EntireSSTableStreamConcurrentComponentMutationTest 3 0 0 0 14.142
StreamRequestTest 1 0 0 0 0.834
-------------------------------------------------------------------------------
org.apache.cassandra.db.transform
Name Tests Errors Failures Skipped Time(s)
DuplicateRowCheckerTest-cdc 7 0 0 0 5.746
RTTransformationsTest-cdc 15 0 0 0 0.639
DuplicateRowCheckerTest-compression 7 0 0 0 5.769
RTTransformationsTest-compression 15 0 0 0 0.672
DuplicateRowCheckerTest 7 0 0 0 5.502
RTTransformationsTest 15 0 0 0 0.585
-------------------------------------------------------------------------------
org.apache.cassandra.db.view
Name Tests Errors Failures Skipped Time(s)
ViewBuilderTaskTest-cdc 1 0 0 0 18.977
ViewUtilsTest-cdc 3 0 0 0 1.395
ViewBuilderTaskTest-compression 1 0 0 0 18.865
ViewUtilsTest-compression 3 0 0 0 1.370
ViewBuilderTaskTest 1 0 0 0 25.269
ViewUtilsTest 3 0 0 0 1.270
-------------------------------------------------------------------------------
org.apache.cassandra.db.virtual
Name Tests Errors Failures Skipped Time(s)
SettingsTableTest-cdc 7 0 0 0 13.594
SystemPropertiesTableTest-cdc 6 0 0 0 13.685
SettingsTableTest-compression 7 0 0 0 13.532
SystemPropertiesTableTest-compression 6 0 0 0 12.994
SettingsTableTest 7 0 0 0 13.224
SystemPropertiesTableTest 6 0 0 0 12.647
-------------------------------------------------------------------------------
org.apache.cassandra.dht
Name Tests Errors Failures Skipped Time(s)
BootStrapperTest-cdc 10 0 0 0 5.689
BoundsTest-cdc 1 0 0 0 0.110
ByteOrderedPartitionerTest-cdc 6 0 0 0 2.149
KeyCollisionTest-cdc 1 0 0 0 3.213
Murmur3PartitionerTest-cdc 10 0 0 0 1.757
OrderPreservingPartitionerTest-cdc 7 0 0 0 2.443
RandomPartitionerTest-cdc 9 0 0 0 2.261
RangeFetchMapCalculatorTest-cdc 13 0 0 0 1.066
RangeTest-cdc 32 0 0 0 13.461
SplitterTest-cdc 14 0 0 0 19.817
StreamStateStoreTest-cdc 1 0 0 0 2.196
BootStrapperTest-compression 10 0 0 0 7.231
BoundsTest-compression 1 0 0 0 0.116
ByteOrderedPartitionerTest-compression 6 0 0 0 2.044
KeyCollisionTest-compression 1 0 0 0 3.220
Murmur3PartitionerTest-compression 10 0 0 0 1.778
OrderPreservingPartitionerTest- 7 0 0 0 2.133
compression
RandomPartitionerTest-compression 9 0 0 0 2.031
RangeFetchMapCalculatorTest-compression 13 0 0 0 0.978
RangeTest-compression 32 0 0 0 13.576
SplitterTest-compression 14 0 0 0 19.324
StreamStateStoreTest-compression 1 0 0 0 2.055
BootStrapperTest 10 0 0 0 5.367
BoundsTest 1 0 0 0 0.088
ByteOrderedPartitionerTest 6 0 0 0 1.962
KeyCollisionTest 1 0 0 0 2.933
Murmur3PartitionerTest 10 0 0 0 1.591
OrderPreservingPartitionerTest 7 0 0 0 2.058
RandomPartitionerTest 9 0 0 0 1.909
RangeFetchMapCalculatorTest 13 0 0 0 0.876
RangeTest 32 0 0 0 12.631
SplitterTest 14 0 0 0 18.937
StreamStateStoreTest 1 0 0 0 1.883
-------------------------------------------------------------------------------
org.apache.cassandra.dht.tokenallocator
Name Tests Errors Failures Skipped Time(s)
AbstractReplicationAwareTokenAllocatorTest 1 0 0 1 0.071
Murmur3ReplicationAwareTokenAllocatorTest 2 0 0 0 166.705
NoReplicationTokenAllocatorTest 4 0 0 0 8.420
RandomReplicationAwareTokenAllocatorTest 2 0 0 0 69.577
-------------------------------------------------------------------------------
org.apache.cassandra.diag
Name Tests Errors Failures Skipped Time(s)
DiagnosticEventServiceTest-cdc 6 0 0 0 0.953
DiagnosticEventServiceTest-compression 6 0 0 0 0.893
DiagnosticEventServiceTest 6 0 0 0 0.842
-------------------------------------------------------------------------------
org.apache.cassandra.diag.store
Name Tests Errors Failures Skipped Time(s)
DiagnosticEventMemoryStoreTest-cdc 6 0 0 0 0.077
DiagnosticEventMemoryStoreTest- 6 0 0 0 0.087
compression
DiagnosticEventMemoryStoreTest 6 0 0 0 0.063
-------------------------------------------------------------------------------
org.apache.cassandra.distributed.test
Name Tests Errors Failures Skipped Time(s)
BootstrapBinaryDisabledTest 1 0 0 0 73.501
BootstrapTest 1 0 0 0 85.812
CasWriteTest 9 0 0 0 28.806
ClientNetworkStopStartTest 1 0 0 0 23.494
FailingRepairTest 6 0 0 0 33.265
FqlReplayDDLExclusionTest 1 0 0 0 32.929
FrozenUDTTest 4 0 0 0 31.545
FullRepairCoordinatorFastTest 66 0 0 2 86.574
FullRepairCoordinatorNeighbourDownTest 12 0 0 0 237.884
FullRepairCoordinatorTimeoutTest 6 0 0 0 96.996
GossipSettlesTest 1 0 0 0 35.310
IncRepairTruncationTest 1 0 0 0 30.177
IncrementalRepairCoordinatorFastTest 66 0 0 6 79.356
IncrementalRepairCoordinatorNeighbourDownTest 12 0 0 0 235.790
IncrementalRepairCoordinatorTimeoutTest 6 0 0 0 97.235
JVMDTestTest 2 0 0 0 38.114
JVMStabilityInspectorCorruptSSTableExceptionTest 2 0 0 0 83.837
LargeColumnTest 1 0 0 0 13.735
MessageFiltersTest 5 0 0 0 59.801
MessageForwardingTest 1 0 0 0 15.691
NativeProtocolTest 2 0 0 0 73.086
NetstatsBootstrapWithEntireSSTablesCompressionStreamingTest 2 0 0 0 227.168
NetstatsBootstrapWithoutEntireSSTablesCompressionStreamingTest 2 0 0 0 220.494
NetstatsRepairStreamingTest 2 0 0 0 301.714
NetworkTopologyTest 6 0 0 0 6.604
NodeToolRingTest 6 0 0 0 8.780
NodeToolTest 2 0 0 0 13.577
PreviewRepairCoordinatorFastTest 66 0 0 2 78.828
PreviewRepairCoordinatorNeighbourDownTest 12 0 0 0 230.919
PreviewRepairCoordinatorTimeoutTest 6 0 0 0 96.090
PreviewRepairTest 4 0 0 0 127.547
QueryReplayerEndToEndTest 1 0 0 0 58.816
ReadRepairEmptyRangeTombstonesTest 119 0 0 0 73.788
ReadRepairQueryTypesTest 306 0 0 0 257.666
ReadRepairTest 10 0 0 0 136.005
RepairBoundaryTest 2 0 0 0 43.375
RepairCoordinatorFailingMessageTest 1 0 0 1 0.062
RepairDigestTrackingTest 5 0 0 0 44.791
RepairOperationalTest 5 0 0 0 70.223
RepairTest 7 0 0 0 110.106
ReplicaFilteringProtectionTest 3 0 0 0 10.843
ResourceLeakTest 1 0 0 1 0.063
SchemaTest 3 0 0 0 25.249
ShortReadProtectionTest 2 0 0 0 17.892
SimpleReadWriteTest 14 0 0 0 131.825
StreamPrepareFailTest 1 0 0 0 30.564
StreamingTest 1 0 0 0 14.165
TableEstimatesTest 2 0 0 0 8.136
TopologyChangeTest 4 0 0 0 200.440
-------------------------------------------------------------------------------
org.apache.cassandra.distributed.upgrade
Name Tests Errors Failures Skipped Time(s)
MixedModeReadRepairTest 5 0 0 0 259.706
MixedModeReadTest 1 0 0 0 25.048
PagingTest 1 0 0 0 120.058
UpgradeTest 2 0 0 0 87.308
-------------------------------------------------------------------------------
org.apache.cassandra.fql
Name Tests Errors Failures Skipped Time(s)
FullQueryLoggerTest-cdc 35 0 0 0 8.929
FullQueryLoggerTest-compression 35 0 0 0 8.696
FullQueryLoggerTest 35 0 0 0 8.588
-------------------------------------------------------------------------------
org.apache.cassandra.fqltool
Name Tests Errors Failures Skipped Time(s)
FQLCompareTest 3 0 0 0 2.891
FQLReplayTest 22 0 0 0 2.264
-------------------------------------------------------------------------------
org.apache.cassandra.gms
Name Tests Errors Failures Skipped Time(s)
ArrayBackedBoundedStatsTest-cdc 2 0 0 0 0.068
ArrivalWindowTest-cdc 1 0 0 0 0.464
EndpointStateTest-cdc 2 0 0 0 1.281
ExpireEndpointTest-cdc 1 0 0 0 0.943
FailureDetectorTest-cdc 1 0 0 0 2.463
GossipDigestTest-cdc 1 0 0 0 0.293
GossiperTest-cdc 4 0 0 0 2.373
PendingRangeCalculatorServiceTest-cdc 1 0 0 0 4.389
SerializationsTest-cdc 2 0 0 0 0.845
ShadowRoundTest-cdc 1 0 0 0 5.870
ArrayBackedBoundedStatsTest-compression 2 0 0 0 0.067
ArrivalWindowTest-compression 1 0 0 0 0.473
EndpointStateTest-compression 2 0 0 0 1.251
ExpireEndpointTest-compression 1 0 0 0 0.932
FailureDetectorTest-compression 1 0 0 0 2.466
GossipDigestTest-compression 1 0 0 0 0.258
GossiperTest-compression 4 0 0 0 2.379
PendingRangeCalculatorServiceTest- 1 0 0 0 4.314
compression
SerializationsTest-compression 2 0 0 0 0.888
ShadowRoundTest-compression 1 0 0 0 5.723
ArrayBackedBoundedStatsTest 2 0 0 0 0.056
ArrivalWindowTest 1 0 0 0 0.430
EndpointStateTest 2 0 0 0 1.183
ExpireEndpointTest 1 0 0 0 0.840
FailureDetectorTest 1 0 0 0 2.287
GossipDigestTest 1 0 0 0 0.242
GossiperTest 4 0 0 0 2.153
PendingRangeCalculatorServiceTest 1 0 0 0 4.169
SerializationsTest 2 0 0 0 0.788
ShadowRoundTest 1 0 0 0 5.569
-------------------------------------------------------------------------------
org.apache.cassandra.hints
Name Tests Errors Failures Skipped Time(s)
HintsWriteThenReadTest 1 0 1 0 62.963
ChecksummedDataInputTest-cdc 3 0 0 0 0.853
HintMessageTest-cdc 1 0 0 0 3.222
HintTest-cdc 7 0 0 0 4.568
HintWriteTTLTest-cdc 4 0 0 0 3.134
HintsBufferPoolTest-cdc 1 0 0 0 3.755
HintsBufferTest-cdc 2 0 0 0 7.169
HintsCatalogTest-cdc 3 0 0 0 3.352
HintsCompressionTest-cdc 4 0 0 0 6.969
HintsDescriptorTest-cdc 5 0 0 0 0.505
HintsEncryptionTest-cdc 1 0 0 0 4.781
HintsReaderTest-cdc 2 0 0 0 3.600
HintsServiceTest-cdc 4 0 0 0 175.937
ChecksummedDataInputTest-compression 3 0 0 0 0.856
HintMessageTest-compression 1 0 0 0 3.196
HintTest-compression 7 0 0 0 4.546
HintWriteTTLTest-compression 4 0 0 0 3.143
HintsBufferPoolTest-compression 1 0 0 0 3.814
HintsBufferTest-compression 2 0 0 0 5.850
HintsCatalogTest-compression 3 0 0 0 3.242
HintsCompressionTest-compression 4 0 0 0 7.005
HintsDescriptorTest-compression 5 0 0 0 0.504
HintsEncryptionTest-compression 1 0 0 0 4.741
HintsReaderTest-compression 2 0 0 0 3.607
HintsServiceTest-compression 4 0 0 0 175.886
ChecksummedDataInputTest 3 0 0 0 0.818
HintMessageTest 1 0 0 0 3.065
HintTest 7 0 0 0 4.404
HintWriteTTLTest 4 0 0 0 2.927
HintsBufferPoolTest 1 0 0 0 3.515
HintsBufferTest 2 0 0 0 4.326
HintsCatalogTest 3 0 0 0 3.047
HintsCompressionTest 4 0 0 0 7.804
HintsDescriptorTest 5 0 0 0 0.484
HintsEncryptionTest 1 0 0 0 4.748
HintsReaderTest 2 0 0 0 3.299
HintsServiceTest 4 0 0 0 175.641
-------------------------------------------------------------------------------
org.apache.cassandra.index
Name Tests Errors Failures Skipped Time(s)
CustomIndexTest-cdc 29 0 0 0 25.921
SecondaryIndexManagerTest-cdc 16 0 0 0 28.154
CustomIndexTest-compression 29 0 0 0 25.644
SecondaryIndexManagerTest-compression 16 0 0 0 27.596
CustomIndexTest 29 0 0 0 25.024
SecondaryIndexManagerTest 16 0 0 0 27.883
-------------------------------------------------------------------------------
org.apache.cassandra.index.internal
Name Tests Errors Failures Skipped Time(s)
CassandraIndexTest-cdc 27 0 0 0 20.847
CassandraIndexTest-compression 27 0 0 0 20.546
CassandraIndexTest 27 0 0 0 20.827
-------------------------------------------------------------------------------
org.apache.cassandra.index.sasi
Name Tests Errors Failures Skipped Time(s)
SASICQLTest-cdc 9 0 0 0 20.213
SASIIndexTest-cdc 32 0 0 0 20.148
SASICQLTest-compression 9 0 0 0 19.863
SASIIndexTest-compression 32 0 0 0 19.301
SASICQLTest 9 0 0 0 19.679
SASIIndexTest 32 0 0 0 15.193
-------------------------------------------------------------------------------
org.apache.cassandra.index.sasi.analyzer
Name Tests Errors Failures Skipped Time(s)
DelimiterAnalyzerTest-cdc 12 0 0 0 0.405
NonTokenizingAnalyzerTest-cdc 3 0 0 0 0.277
StandardAnalyzerTest-cdc 10 0 0 0 0.625
DelimiterAnalyzerTest-compression 12 0 0 0 0.400
NonTokenizingAnalyzerTest-compression 3 0 0 0 0.270
StandardAnalyzerTest-compression 10 0 0 0 0.601
DelimiterAnalyzerTest 12 0 0 0 0.365
NonTokenizingAnalyzerTest 3 0 0 0 0.233
StandardAnalyzerTest 10 0 0 0 0.533
-------------------------------------------------------------------------------
org.apache.cassandra.index.sasi.conf
Name Tests Errors Failures Skipped Time(s)
IndexModeTest-cdc 14 0 0 0 0.966
IndexModeTest-compression 14 0 0 0 0.965
IndexModeTest 14 0 0 0 0.895
-------------------------------------------------------------------------------
org.apache.cassandra.index.sasi.disk
Name Tests Errors Failures Skipped Time(s)
OnDiskIndexTest-cdc 12 0 0 0 15.738
PerSSTableIndexWriterTest-cdc 2 0 0 0 5.952
TokenTreeTest-cdc 14 0 0 0 13.444
OnDiskIndexTest-compression 12 0 0 0 16.122
PerSSTableIndexWriterTest-compression 2 0 0 0 5.973
TokenTreeTest-compression 14 0 0 0 13.266
OnDiskIndexTest 12 0 0 0 16.699
PerSSTableIndexWriterTest 2 0 0 0 5.420
TokenTreeTest 14 0 0 0 12.415
-------------------------------------------------------------------------------
org.apache.cassandra.index.sasi.plan
Name Tests Errors Failures Skipped Time(s)
ExpressionTest-cdc 2 0 0 0 0.084
OperationTest-cdc 6 0 0 0 4.680
ExpressionTest-compression 2 0 0 0 0.081
OperationTest-compression 6 0 0 0 4.585
ExpressionTest 2 0 0 0 0.069
OperationTest 6 0 0 0 4.184
-------------------------------------------------------------------------------
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.222
RangeIntersectionIteratorTest-cdc 11 0 0 0 0.325
RangeUnionIteratorTest-cdc 13 0 0 0 0.286
LongIteratorTest-compression 2 0 0 0 0.071
MappedBufferTest-compression 26 0 0 0 2.225
RangeIntersectionIteratorTest-compression 11 0 0 0 0.297
RangeUnionIteratorTest-compression 13 0 0 0 0.337
LongIteratorTest 2 0 0 0 0.065
MappedBufferTest 26 0 0 0 2.798
RangeIntersectionIteratorTest 11 0 0 0 0.267
RangeUnionIteratorTest 13 0 0 0 0.277
-------------------------------------------------------------------------------
org.apache.cassandra.io
Name Tests Errors Failures Skipped Time(s)
BloomFilterTrackerTest-cdc 3 0 0 0 0.066
DiskSpaceMetricsTest-cdc 2 0 0 0 17.968
BloomFilterTrackerTest-compression 3 0 0 0 0.068
DiskSpaceMetricsTest-compression 2 0 0 0 17.885
BloomFilterTrackerTest 3 0 0 0 0.057
DiskSpaceMetricsTest 2 0 0 0 17.068
-------------------------------------------------------------------------------
org.apache.cassandra.io.compress
Name Tests Errors Failures Skipped Time(s)
CQLCompressionTest-cdc 11 0 0 0 6.943
CompressedRandomAccessReaderTest-cdc 8 0 0 0 1.267
CompressedSequentialWriterReopenTest-cdc 4 0 0 0 8.009
CompressedSequentialWriterTest-cdc 14 0 0 0 1.879
CompressorTest-cdc 6 0 0 0 0.826
ZstdCompressorTest-cdc 3 0 0 0 0.278
CQLCompressionTest-compression 11 0 0 0 7.001
CompressedRandomAccessReaderTest- 8 0 0 0 1.280
compression
CompressedSequentialWriterReopenTest- 4 0 0 0 8.323
compression
CompressedSequentialWriterTest- 14 0 0 0 1.803
compression
CompressorTest-compression 6 0 0 0 0.855
ZstdCompressorTest-compression 3 0 0 0 0.257
CQLCompressionTest 11 0 0 0 6.667
CompressedRandomAccessReaderTest 8 0 0 0 1.172
CompressedSequentialWriterReopenTest 4 0 0 0 7.470
CompressedSequentialWriterTest 14 0 0 0 1.733
CompressorTest 6 0 0 0 0.786
ZstdCompressorTest 3 0 0 0 0.232
-------------------------------------------------------------------------------
org.apache.cassandra.io.sstable
Name Tests Errors Failures Skipped Time(s)
CQLSSTableWriterLongTest 1 0 0 0 6.222
BigTableWriterTest-cdc 5 0 0 0 3.525
CQLSSTableWriterClientTest-cdc 1 0 0 0 1.879
CQLSSTableWriterTest-cdc 11 0 0 0 26.825
DescriptorTest-cdc 7 0 0 0 0.934
IndexSummaryManagerTest-cdc 8 0 0 0 6.000
IndexSummaryRedistributionTest-cdc 1 0 0 0 4.273
IndexSummaryTest-cdc 12 0 0 0 32.401
LargePartitionsTest-cdc 1 0 0 1 0.061
LegacySSTableTest-cdc 11 0 0 1 57.545
SSTableCorruptionDetectionTest-cdc 2 0 0 0 54.602
SSTableHeaderFixTest-cdc 14 0 0 0 1.267
SSTableLoaderTest-cdc 3 0 0 0 20.212
SSTableMetadataTest-cdc 3 0 0 0 3.677
SSTableReaderTest-cdc 19 0 0 0 8.676
SSTableRewriterTest-cdc 20 0 0 0 13.431
SSTableScannerTest-cdc 3 0 0 0 3.297
SSTableWriterTest-cdc 5 0 0 0 59.753
BigTableWriterTest-compression 5 0 0 0 3.486
CQLSSTableWriterClientTest-compression 1 0 0 0 1.857
CQLSSTableWriterTest-compression 11 0 0 0 26.519
DescriptorTest-compression 7 0 0 0 0.914
IndexSummaryManagerTest-compression 8 0 0 0 6.125
IndexSummaryRedistributionTest- 1 0 0 0 4.283
compression
IndexSummaryTest-compression 12 0 0 0 32.281
LargePartitionsTest-compression 1 0 0 1 0.061
LegacySSTableTest-compression 11 0 0 1 55.994
SSTableCorruptionDetectionTest- 2 0 0 0 55.373
compression
SSTableHeaderFixTest-compression 14 0 0 0 1.303
SSTableLoaderTest-compression 3 0 0 0 20.526
SSTableMetadataTest-compression 3 0 0 0 3.610
SSTableReaderTest-compression 19 0 0 0 8.710
SSTableRewriterTest-compression 20 0 0 0 15.393
SSTableScannerTest-compression 3 0 0 0 3.298
SSTableWriterTest-compression 5 0 0 0 35.140
BigTableWriterTest 5 0 0 0 3.250
CQLSSTableWriterClientTest 1 0 0 0 1.711
CQLSSTableWriterTest 11 0 0 0 26.153
DescriptorTest 7 0 0 0 0.868
IndexSummaryManagerTest 8 0 0 0 5.391
IndexSummaryRedistributionTest 1 0 0 0 3.819
IndexSummaryTest 12 0 0 0 31.423
LargePartitionsTest 1 0 0 1 0.051
LegacySSTableTest 11 0 0 1 57.737
SSTableCorruptionDetectionTest 2 0 0 0 52.737
SSTableHeaderFixTest 14 0 0 0 1.169
SSTableLoaderTest 3 0 0 0 17.915
SSTableMetadataTest 3 0 0 0 3.385
SSTableReaderTest 19 0 0 0 8.337
SSTableRewriterTest 20 0 0 0 12.260
SSTableScannerTest 3 0 0 0 3.078
SSTableWriterTest 5 0 0 0 26.188
-------------------------------------------------------------------------------
org.apache.cassandra.io.sstable.format
Name Tests Errors Failures Skipped Time(s)
SSTableFlushObserverTest-cdc 1 0 0 0 2.143
SSTableFlushObserverTest-compression 1 0 0 0 2.251
SSTableFlushObserverTest 1 0 0 0 1.959
-------------------------------------------------------------------------------
org.apache.cassandra.io.sstable.format.big
Name Tests Errors Failures Skipped Time(s)
BigTableZeroCopyWriterTest-cdc 2 0 0 0 3.559
BigTableZeroCopyWriterTest-compression 2 0 0 0 3.786
BigTableZeroCopyWriterTest 2 0 0 0 3.253
-------------------------------------------------------------------------------
org.apache.cassandra.io.sstable.metadata
Name Tests Errors Failures Skipped Time(s)
MetadataSerializerTest-cdc 10 0 0 0 1.146
MetadataSerializerTest-compression 10 0 0 0 1.240
MetadataSerializerTest 10 0 0 0 1.022
-------------------------------------------------------------------------------
org.apache.cassandra.io.util
Name Tests Errors Failures Skipped Time(s)
BufferedDataOutputStreamTest-cdc 16 0 0 0 25.810
BufferedRandomAccessFileTest-cdc 17 0 0 0 1.200
ChecksummedRandomAccessReaderTest-cdc 3 0 0 0 0.937
ChecksummedSequentialWriterTest-cdc 7 0 0 0 0.880
DataOutputTest-cdc 15 0 0 0 0.941
DiskOptimizationStrategyTest-cdc 5 0 0 0 0.081
FileSegmentInputStreamTest-cdc 7 0 0 0 0.100
FileUtilsTest-cdc 4 0 0 0 0.840
MemoryTest-cdc 2 0 0 0 0.294
MmappedRegionsTest-cdc 12 0 0 0 1.051
NIODataInputStreamTest-cdc 17 0 0 0 9.058
RandomAccessReaderTest-cdc 11 0 0 0 1.391
RewindableDataInputStreamPlusTest-cdc 8 0 0 0 0.253
SafeMemoryWriterTest-cdc 2 0 0 0 2.654
SequentialWriterTest-cdc 7 0 0 0 0.869
BufferedDataOutputStreamTest-compression 16 0 0 0 25.477
BufferedRandomAccessFileTest-compression 17 0 0 0 1.255
ChecksummedRandomAccessReaderTest- 3 0 0 0 0.942
compression
ChecksummedSequentialWriterTest- 7 0 0 0 0.940
compression
DataOutputTest-compression 15 0 0 0 0.910
DiskOptimizationStrategyTest-compression 5 0 0 0 0.075
FileSegmentInputStreamTest-compression 7 0 0 0 0.097
FileUtilsTest-compression 4 0 0 0 0.867
MemoryTest-compression 2 0 0 0 0.299
MmappedRegionsTest-compression 12 0 0 0 1.089
NIODataInputStreamTest-compression 17 0 0 0 8.929
RandomAccessReaderTest-compression 11 0 0 0 1.340
RewindableDataInputStreamPlusTest- 8 0 0 0 0.267
compression
SafeMemoryWriterTest-compression 2 0 0 0 2.610
SequentialWriterTest-compression 7 0 0 0 0.888
BufferedDataOutputStreamTest 16 0 0 0 25.242
BufferedRandomAccessFileTest 17 0 0 0 1.046
ChecksummedRandomAccessReaderTest 3 0 0 0 0.837
ChecksummedSequentialWriterTest 7 0 0 0 0.800
DataOutputTest 15 0 0 0 0.839
DiskOptimizationStrategyTest 5 0 0 0 0.064
FileSegmentInputStreamTest 7 0 0 0 0.081
FileUtilsTest 4 0 0 0 0.805
MemoryTest 2 0 0 0 0.259
MmappedRegionsTest 12 0 0 0 0.948
NIODataInputStreamTest 17 0 0 0 8.734
RandomAccessReaderTest 11 0 0 0 1.384
RewindableDataInputStreamPlusTest 8 0 0 0 0.222
SafeMemoryWriterTest 2 0 0 0 2.508
SequentialWriterTest 7 0 0 0 0.798
-------------------------------------------------------------------------------
org.apache.cassandra.locator
Name Tests Errors Failures Skipped Time(s)
DynamicEndpointSnitchLongTest 1 0 0 0 27.479
AlibabaCloudSnitchTest-cdc 2 0 0 0 10.687
CloudstackSnitchTest-cdc 2 0 0 0 10.794
DynamicEndpointSnitchTest-cdc 1 0 0 0 2.223
EC2SnitchTest-cdc 13 0 0 0 10.773
GoogleCloudSnitchTest-cdc 2 0 0 0 10.713
GossipingPropertyFileSnitchTest-cdc 1 0 0 0 0.861
InetAddressAndPortSerializerTest-cdc 1 0 0 0 0.261
InetAddressAndPortTest-cdc 5 0 0 0 0.179
NetworkTopologyStrategyTest-cdc 5 0 0 0 3.040
PendingRangeMapsTest-cdc 2 0 0 0 0.435
PendingRangesTest-cdc 5 0 0 0 28.110
PropertyFileSnitchTest-cdc 5 0 0 0 15.967
ReconnectableSnitchHelperTest-cdc 1 0 0 0 1.079
ReplicaCollectionTest-cdc 6 0 0 0 0.786
ReplicaLayoutTest-cdc 1 0 0 0 0.468
ReplicaPlansTest-cdc 1 0 0 0 1.397
ReplicationFactorTest-cdc 2 0 0 0 0.888
ReplicationStrategyEndpointCacheTest-cdc 2 0 0 0 3.270
SimpleStrategyTest-cdc 7 0 0 0 3.203
TokenMetadataTest-cdc 6 0 0 0 0.895
AlibabaCloudSnitchTest-compression 2 0 0 0 10.649
CloudstackSnitchTest-compression 2 0 0 0 10.784
DynamicEndpointSnitchTest-compression 1 0 0 0 2.216
EC2SnitchTest-compression 13 0 0 0 10.598
GoogleCloudSnitchTest-compression 2 0 0 0 10.703
GossipingPropertyFileSnitchTest- 1 0 0 0 0.838
compression
InetAddressAndPortSerializerTest- 1 0 0 0 0.275
compression
InetAddressAndPortTest-compression 5 0 0 0 0.192
NetworkTopologyStrategyTest-compression 5 0 0 0 3.063
PendingRangeMapsTest-compression 2 0 0 0 0.446
PendingRangesTest-compression 5 0 0 0 29.326
PropertyFileSnitchTest-compression 5 0 0 0 15.956
ReconnectableSnitchHelperTest-compression 1 0 0 0 1.049
ReplicaCollectionTest-compression 6 0 0 0 0.756
ReplicaLayoutTest-compression 1 0 0 0 0.446
ReplicaPlansTest-compression 1 0 0 0 1.346
ReplicationFactorTest-compression 2 0 0 0 0.889
ReplicationStrategyEndpointCacheTest- 2 0 0 0 3.161
compression
SimpleStrategyTest-compression 7 0 0 0 3.217
TokenMetadataTest-compression 6 0 0 0 0.907
AlibabaCloudSnitchTest 2 0 0 0 10.458
CloudstackSnitchTest 2 0 0 0 10.522
DynamicEndpointSnitchTest 1 0 0 0 2.108
EC2SnitchTest 13 0 0 0 10.517
GoogleCloudSnitchTest 2 0 0 0 10.522
GossipingPropertyFileSnitchTest 1 0 0 0 0.807
InetAddressAndPortSerializerTest 1 0 0 0 0.239
InetAddressAndPortTest 5 0 0 0 0.137
NetworkTopologyStrategyTest 5 0 0 0 2.740
PendingRangeMapsTest 2 0 0 0 0.419
PendingRangesTest 5 0 0 0 28.394
PropertyFileSnitchTest 5 0 0 0 15.889
ReconnectableSnitchHelperTest 1 0 0 0 0.993
ReplicaCollectionTest 6 0 0 0 0.724
ReplicaLayoutTest 1 0 0 0 0.404
ReplicaPlansTest 1 0 0 0 1.300
ReplicationFactorTest 2 0 0 0 0.805
ReplicationStrategyEndpointCacheTest 2 0 0 0 2.873
SimpleStrategyTest 7 0 0 0 2.988
TokenMetadataTest 6 0 0 0 0.834
-------------------------------------------------------------------------------
org.apache.cassandra.metrics
Name Tests Errors Failures Skipped Time(s)
BatchMetricsTest-cdc 3 0 0 0 9.842
BufferPoolMetricsTest-cdc 7 0 0 0 1.066
CQLMetricsTest-cdc 4 0 0 0 6.595
CacheMetricsTest-cdc 1 0 0 0 0.303
CassandraMetricsRegistryTest-cdc 5 0 0 0 0.307
DecayingEstimatedHistogramReservoirTest- 15 0 0 1 12.607
cdc
HintedHandOffMetricsTest-cdc 1 0 0 0 2.081
KeyspaceMetricsTest-cdc 1 0 0 0 6.010
LatencyMetricsTest-cdc 3 0 0 0 0.317
MaxSamplerTest-cdc 8 0 0 0 5.221
SamplerTest-cdc 5 0 0 0 1.213
TableMetricsTest-cdc 9 0 0 0 9.695
TopFrequencySamplerTest-cdc 6 0 0 0 2.084
BatchMetricsTest-compression 3 0 0 0 9.657
BufferPoolMetricsTest-compression 7 0 0 0 1.049
CQLMetricsTest-compression 4 0 0 0 6.210
CacheMetricsTest-compression 1 0 0 0 0.308
CassandraMetricsRegistryTest-compression 5 0 0 0 0.302
DecayingEstimatedHistogramReservoirTest- 15 0 0 1 12.199
compression
HintedHandOffMetricsTest-compression 1 0 0 0 2.174
KeyspaceMetricsTest-compression 1 0 0 0 5.699
LatencyMetricsTest-compression 3 0 0 0 0.341
MaxSamplerTest-compression 8 0 0 0 5.231
SamplerTest-compression 5 0 0 0 1.163
TableMetricsTest-compression 9 0 0 0 9.619
TopFrequencySamplerTest-compression 6 0 0 0 2.000
BatchMetricsTest 3 0 0 0 10.467
BufferPoolMetricsTest 7 0 0 0 0.980
CQLMetricsTest 4 0 0 0 5.950
CacheMetricsTest 1 0 0 0 0.278
CassandraMetricsRegistryTest 5 0 0 0 0.279
DecayingEstimatedHistogramReservoirTest 15 0 0 1 11.706
HintedHandOffMetricsTest 1 0 0 0 1.888
KeyspaceMetricsTest 1 0 0 0 5.511
LatencyMetricsTest 3 0 0 0 0.284
MaxSamplerTest 8 0 0 0 5.049
SamplerTest 5 0 0 0 1.099
TableMetricsTest 9 0 0 0 9.122
TopFrequencySamplerTest 6 0 0 0 1.920
-------------------------------------------------------------------------------
org.apache.cassandra.net
Name Tests Errors Failures Skipped Time(s)
ConnectionBurnTest 1 0 0 0 124.948
AsyncChannelPromiseTest-cdc 4 0 0 0 0.455
AsyncMessageOutputPlusTest-cdc 1 0 0 0 1.004
AsyncOneResponseTest-cdc 2 0 0 0 4.259
AsyncPromiseTest-cdc 4 0 0 0 0.386
AsyncStreamingInputPlusTest-cdc 13 0 0 0 1.433
AsyncStreamingOutputPlusTest-cdc 3 0 0 0 1.000
ChunkedInputPlusTest-cdc 5 0 0 0 0.518
ConnectionTest-cdc 13 0 0 0 75.797
ForwardingInfoTest-cdc 2 0 0 0 0.281
FramingTest-cdc 4 0 0 0 23.486
HandshakeTest-cdc 13 0 0 0 2.392
ManyToOneConcurrentLinkedQueueTest-cdc 22 0 0 0 1.716
MessageSerializationPropertyTest-cdc 2 0 0 0 10.339
MessageTest-cdc 7 0 0 0 1.492
MessagingServiceTest-cdc 14 0 0 0 2.449
MockMessagingServiceTest-cdc 1 0 0 0 3.808
OutboundConnectionSettingsTest-cdc 9 0 0 0 2.123
OutboundConnectionsTest-cdc 6 0 0 0 2.391
OutboundMessageQueueTest-cdc 3 0 0 0 0.948
ProxyHandlerConnectionsTest-cdc 5 0 0 0 36.029
PrunableArrayQueueTest-cdc 9 0 0 0 0.075
ResourceLimitsTest-cdc 4 0 0 0 0.151
StartupClusterConnectivityCheckerTest-cdc 7 0 0 0 1.263
VerbTest-cdc 1 0 0 0 0.153
WriteCallbackInfoTest-cdc 1 0 0 0 1.623
AsyncChannelPromiseTest-compression 4 0 0 0 0.442
AsyncMessageOutputPlusTest-compression 1 0 0 0 0.970
AsyncOneResponseTest-compression 2 0 0 0 4.260
AsyncPromiseTest-compression 4 0 0 0 0.390
AsyncStreamingInputPlusTest-compression 13 0 0 0 1.418
AsyncStreamingOutputPlusTest-compression 3 0 0 0 1.005
ChunkedInputPlusTest-compression 5 0 0 0 0.520
ConnectionTest-compression 13 0 0 0 75.700
ForwardingInfoTest-compression 2 0 0 0 0.277
FramingTest-compression 4 0 0 0 23.579
HandshakeTest-compression 13 0 0 0 2.359
ManyToOneConcurrentLinkedQueueTest- 22 0 0 0 1.617
compression
MessageSerializationPropertyTest- 2 0 0 0 9.586
compression
MessageTest-compression 7 0 0 0 1.480
MessagingServiceTest-compression 14 0 0 0 2.384
MockMessagingServiceTest-compression 1 0 0 0 3.705
OutboundConnectionSettingsTest- 9 0 0 0 2.123
compression
OutboundConnectionsTest-compression 6 0 0 0 2.308
OutboundMessageQueueTest-compression 3 0 0 0 0.914
ProxyHandlerConnectionsTest-compression 5 0 0 0 35.920
PrunableArrayQueueTest-compression 9 0 0 0 0.078
ResourceLimitsTest-compression 4 0 0 0 0.136
StartupClusterConnectivityCheckerTest- 7 0 0 0 1.128
compression
VerbTest-compression 1 0 0 0 0.152
WriteCallbackInfoTest-compression 1 0 0 0 1.560
AsyncChannelPromiseTest 4 0 0 0 0.404
AsyncMessageOutputPlusTest 1 0 0 0 0.874
AsyncOneResponseTest 2 0 0 0 4.249
AsyncPromiseTest 4 0 0 0 0.343
AsyncStreamingInputPlusTest 13 0 0 0 1.394
AsyncStreamingOutputPlusTest 3 0 0 0 0.904
ChunkedInputPlusTest 5 0 0 0 0.487
ConnectionTest 13 0 0 0 79.924
ForwardingInfoTest 2 0 0 0 0.242
FramingTest 4 0 0 0 24.181
HandshakeTest 13 0 0 0 2.201
ManyToOneConcurrentLinkedQueueTest 22 0 0 0 1.774
MessageSerializationPropertyTest 2 0 0 0 9.546
MessageTest 7 0 0 0 1.361
MessagingServiceTest 14 0 0 0 2.211
MockMessagingServiceTest 1 0 0 0 3.540
OutboundConnectionSettingsTest 9 0 0 0 1.979
OutboundConnectionsTest 6 0 0 0 2.076
OutboundMessageQueueTest 3 0 0 0 0.864
ProxyHandlerConnectionsTest 5 0 0 0 35.830
PrunableArrayQueueTest 9 0 0 0 0.063
ResourceLimitsTest 4 0 0 0 0.146
StartupClusterConnectivityCheckerTest 7 0 0 0 1.058
VerbTest 1 0 0 0 0.137
WriteCallbackInfoTest 1 0 0 0 1.416
-------------------------------------------------------------------------------
org.apache.cassandra.net.proxy
Name Tests Errors Failures Skipped Time(s)
ProxyHandlerTest-cdc 3 0 0 0 0.809
ProxyHandlerTest-compression 3 0 0 0 0.773
ProxyHandlerTest 3 0 0 0 0.749
-------------------------------------------------------------------------------
org.apache.cassandra.repair
Name Tests Errors Failures Skipped Time(s)
AbstractRepairTest-cdc 1 0 0 1 0.073
LocalSyncTaskTest-cdc 6 0 0 0 4.373
NeighborsAndRangesTest-cdc 2 0 0 0 0.872
RepairJobTest-cdc 16 0 1 0 4.375
RepairSessionTest-cdc 1 0 0 0 0.994
StreamingRepairTaskTest-cdc 2 0 0 0 3.347
SymmetricRemoteSyncTaskTest-cdc 1 0 0 0 0.988
ValidatorTest-cdc 6 0 0 0 29.443
AbstractRepairTest-compression 1 0 0 1 0.064
LocalSyncTaskTest-compression 6 0 0 0 4.259
NeighborsAndRangesTest-compression 2 0 0 0 0.873
RepairJobTest-compression 16 0 1 0 4.342
RepairSessionTest-compression 1 0 0 0 0.922
StreamingRepairTaskTest-compression 2 0 0 0 3.227
SymmetricRemoteSyncTaskTest-compression 1 0 0 0 0.900
ValidatorTest-compression 6 0 0 0 29.597
AbstractRepairTest 1 0 0 1 0.050
LocalSyncTaskTest 6 0 0 0 4.060
NeighborsAndRangesTest 2 0 0 0 0.807
RepairJobTest 16 0 1 0 4.033
RepairSessionTest 1 0 0 0 0.861
StreamingRepairTaskTest 2 0 0 0 2.982
SymmetricRemoteSyncTaskTest 1 0 0 0 0.832
ValidatorTest 6 0 0 0 26.781
-------------------------------------------------------------------------------
org.apache.cassandra.repair.asymmetric
Name Tests Errors Failures Skipped Time(s)
DifferenceHolderTest-cdc 2 0 0 0 0.330
RangeDenormalizerTest-cdc 3 0 0 0 0.279
ReduceHelperTest-cdc 5 0 0 0 0.308
StreamFromOptionsTest-cdc 3 0 0 0 0.131
DifferenceHolderTest-compression 2 0 0 0 0.345
RangeDenormalizerTest-compression 3 0 0 0 0.268
ReduceHelperTest-compression 5 0 0 0 0.299
StreamFromOptionsTest-compression 3 0 0 0 0.134
DifferenceHolderTest 2 0 0 0 0.318
RangeDenormalizerTest 3 0 0 0 0.252
ReduceHelperTest 5 0 0 0 0.274
StreamFromOptionsTest 3 0 0 0 0.113
-------------------------------------------------------------------------------
org.apache.cassandra.repair.consistent
Name Tests Errors Failures Skipped Time(s)
AbstractConsistentSessionTest-cdc 1 0 0 1 0.062
CoordinatorMessagingTest-cdc 7 0 0 0 5.957
CoordinatorSessionTest-cdc 7 0 0 0 1.047
CoordinatorSessionsTest-cdc 7 0 0 0 3.208
LocalSessionTest-cdc 40 0 0 0 4.668
PendingRepairStatTest-cdc 1 0 0 0 3.425
RepairStateTest-cdc 6 0 0 0 0.134
AbstractConsistentSessionTest-compression 1 0 0 1 0.060
CoordinatorMessagingTest-compression 7 0 0 0 5.869
CoordinatorSessionTest-compression 7 0 0 0 1.023
CoordinatorSessionsTest-compression 7 0 0 0 3.133
LocalSessionTest-compression 40 0 0 0 4.506
PendingRepairStatTest-compression 1 0 0 0 3.219
RepairStateTest-compression 6 0 0 0 0.125
AbstractConsistentSessionTest 1 0 0 1 0.052
CoordinatorMessagingTest 7 0 0 0 5.634
CoordinatorSessionTest 7 0 0 0 0.961
CoordinatorSessionsTest 7 0 0 0 2.900
LocalSessionTest 40 0 0 0 4.530
PendingRepairStatTest 1 0 0 0 3.113
RepairStateTest 6 0 0 0 0.110
-------------------------------------------------------------------------------
org.apache.cassandra.repair.consistent.admin
Name Tests Errors Failures Skipped Time(s)
SchemaArgsParserTest-cdc 5 0 0 0 3.227
SchemaArgsParserTest-compression 5 0 0 0 3.169
SchemaArgsParserTest 5 0 0 0 2.957
-------------------------------------------------------------------------------
org.apache.cassandra.repair.messages
Name Tests Errors Failures Skipped Time(s)
RepairMessageSerializationsTest-cdc 8 0 0 0 0.995
RepairMessageSerializerTest-cdc 6 0 0 0 0.518
RepairOptionTest-cdc 4 0 0 0 0.893
RepairMessageSerializationsTest- 8 0 0 0 0.950
compression
RepairMessageSerializerTest-compression 6 0 0 0 0.513
RepairOptionTest-compression 4 0 0 0 0.862
RepairMessageSerializationsTest 8 0 0 0 0.887
RepairMessageSerializerTest 6 0 0 0 0.474
RepairOptionTest 4 0 0 0 0.819
-------------------------------------------------------------------------------
org.apache.cassandra.schema
Name Tests Errors Failures Skipped Time(s)
CreateTableValidationTest-cdc 1 0 0 0 3.525
IndexMetadataTest-cdc 3 0 0 0 0.275
MigrationManagerTest-cdc 17 0 0 0 5.580
SchemaKeyspaceTest-cdc 5 0 0 0 3.740
SchemaTest-cdc 1 0 0 0 2.656
TupleTypesRepresentationTest-cdc 2 0 0 1 0.992
ValidationTest-cdc 4 0 0 0 0.320
CreateTableValidationTest-compression 1 0 0 0 3.373
IndexMetadataTest-compression 3 0 0 0 0.253
MigrationManagerTest-compression 17 0 0 0 5.442
SchemaKeyspaceTest-compression 5 0 0 0 3.525
SchemaTest-compression 1 0 0 0 2.473
TupleTypesRepresentationTest-compression 2 0 0 1 0.934
ValidationTest-compression 4 0 0 0 0.319
CreateTableValidationTest 1 0 0 0 3.212
IndexMetadataTest 3 0 0 0 0.213
MigrationManagerTest 17 0 0 0 4.953
SchemaKeyspaceTest 5 0 0 0 3.399
SchemaTest 1 0 0 0 2.309
TupleTypesRepresentationTest 2 0 0 1 0.885
ValidationTest 4 0 0 0 0.274
-------------------------------------------------------------------------------
org.apache.cassandra.security
Name Tests Errors Failures Skipped Time(s)
CipherFactoryTest-cdc 7 0 0 0 0.577
EncryptionUtilsTest-cdc 3 0 0 0 1.221
JKSKeyProviderTest-cdc 2 0 0 0 0.339
SSLFactoryTest-cdc 14 0 0 0 1.293
CipherFactoryTest-compression 7 0 0 0 0.548
EncryptionUtilsTest-compression 3 0 0 0 1.167
JKSKeyProviderTest-compression 2 0 0 0 0.304
SSLFactoryTest-compression 14 0 0 0 1.278
CipherFactoryTest 7 0 0 0 0.503
EncryptionUtilsTest 3 0 0 0 1.101
JKSKeyProviderTest 2 0 0 0 0.270
SSLFactoryTest 14 0 0 0 1.203
-------------------------------------------------------------------------------
org.apache.cassandra.serializers
Name Tests Errors Failures Skipped Time(s)
SimpleDateSerializerTest-cdc 9 0 0 0 0.120
TimeSerializerTest-cdc 16 0 0 0 0.084
TimestampSerializerTest-cdc 8 0 0 0 0.334
SimpleDateSerializerTest-compression 9 0 0 0 0.130
TimeSerializerTest-compression 16 0 0 0 0.079
TimestampSerializerTest-compression 8 0 0 0 0.317
SimpleDateSerializerTest 9 0 0 0 0.102
TimeSerializerTest 16 0 0 0 0.068
TimestampSerializerTest 8 0 0 0 0.300
-------------------------------------------------------------------------------
org.apache.cassandra.service
Name Tests Errors Failures Skipped Time(s)
ActiveRepairServiceTest-cdc 11 0 0 0 3.837
BootstrapTransientTest-cdc 1 0 0 0 1.002
ClientWarningsTest-cdc 4 0 0 0 26.902
GCInspectorTest-cdc 6 0 0 0 0.909
JoinTokenRingTest-cdc 1 0 0 0 4.892
LeaveAndBootstrapTest-cdc 8 0 0 0 5.542
LegacyAuthFailTest-cdc 1 0 0 0 4.853
MoveTest-cdc 7 0 0 0 21.460
MoveTransientTest-cdc 19 0 0 0 1.174
NativeTransportServiceTest-cdc 11 0 0 0 7.807
OptionalTasksTest-cdc 2 0 0 0 3.222
PaxosStateTest-cdc 2 0 0 0 4.917
ProtocolBetaVersionTest-cdc 2 0 0 0 12.632
QueryPagerTest-cdc 8 0 0 0 3.495
RMIServerSocketFactoryImplTest-cdc 1 0 0 0 0.069
RemoveTest-cdc 4 0 0 0 5.805
SerializationsTest-cdc 4 0 0 0 0.956
StartupChecksTest-cdc 3 0 0 0 2.691
StorageProxyTest-cdc 4 0 0 0 1.060
StorageServiceServerTest-cdc 19 0 0 1 8.507
StorageServiceTest-cdc 1 0 0 0 0.982
WriteResponseHandlerTest-cdc 5 0 0 0 3.330
WriteResponseHandlerTransientTest-cdc 4 0 0 0 3.324
ActiveRepairServiceTest-compression 11 0 0 0 3.831
BootstrapTransientTest-compression 1 0 0 0 0.914
ClientWarningsTest-compression 4 0 0 0 27.152
GCInspectorTest-compression 6 0 0 0 0.865
JoinTokenRingTest-compression 1 0 0 0 6.155
LeaveAndBootstrapTest-compression 8 0 0 0 6.942
LegacyAuthFailTest-compression 1 0 0 0 4.593
MoveTest-compression 7 0 0 0 23.258
MoveTransientTest-compression 19 0 0 0 1.205
NativeTransportServiceTest-compression 11 0 0 0 7.778
OptionalTasksTest-compression 2 0 0 0 3.260
PaxosStateTest-compression 2 0 0 0 6.259
ProtocolBetaVersionTest-compression 2 0 0 0 12.454
QueryPagerTest-compression 8 0 0 0 3.477
RMIServerSocketFactoryImplTest- 1 0 0 0 0.067
compression
RemoveTest-compression 4 0 0 0 5.718
SerializationsTest-compression 4 0 0 0 0.896
StartupChecksTest-compression 3 0 0 0 2.665
StorageProxyTest-compression 4 0 0 0 1.006
StorageServiceServerTest-compression 19 0 0 1 8.289
StorageServiceTest-compression 1 0 0 0 0.982
WriteResponseHandlerTest-compression 5 0 0 0 3.244
WriteResponseHandlerTransientTest- 4 0 0 0 3.154
compression
ActiveRepairServiceTest 11 0 0 0 3.450
BootstrapTransientTest 1 0 0 0 0.857
ClientWarningsTest 4 0 0 0 23.749
GCInspectorTest 6 0 0 0 0.794
JoinTokenRingTest 1 0 0 0 4.328
LeaveAndBootstrapTest 8 0 0 0 5.034
LegacyAuthFailTest 1 0 0 0 4.248
MoveTest 7 0 0 0 21.081
MoveTransientTest 19 0 0 0 1.071
NativeTransportServiceTest 11 0 0 0 7.737
OptionalTasksTest 2 0 0 0 2.964
PaxosStateTest 2 0 0 0 4.336
ProtocolBetaVersionTest 2 0 0 0 12.080
QueryPagerTest 8 0 0 0 3.179
RMIServerSocketFactoryImplTest 1 0 0 0 0.058
RemoveTest 4 0 0 0 5.584
SerializationsTest 4 0 0 0 0.827
StartupChecksTest 3 0 0 0 2.511
StorageProxyTest 4 0 0 0 0.911
StorageServiceServerTest 19 0 0 1 8.158
StorageServiceTest 1 0 0 0 0.892
WriteResponseHandlerTest 5 0 0 0 3.042
WriteResponseHandlerTransientTest 4 0 0 0 2.946
-------------------------------------------------------------------------------
org.apache.cassandra.service.pager
Name Tests Errors Failures Skipped Time(s)
PagingStateTest-cdc 7 0 0 0 1.084
PagingStateTest-compression 7 0 0 0 1.024
PagingStateTest 7 0 0 0 0.921
-------------------------------------------------------------------------------
org.apache.cassandra.service.reads
Name Tests Errors Failures Skipped Time(s)
AbstractReadResponseTest-cdc 1 0 0 1 0.060
DataResolverTest-cdc 32 0 0 0 3.619
DigestResolverTest-cdc 5 0 0 0 3.447
ReadExecutorTest-cdc 3 0 0 0 3.560
SpeculativeRetryParseTest-cdc 78 0 0 0 0.150
AbstractReadResponseTest-compression 1 0 0 1 0.059
DataResolverTest-compression 32 0 0 0 3.550
DigestResolverTest-compression 5 0 0 0 3.275
ReadExecutorTest-compression 3 0 0 0 3.498
SpeculativeRetryParseTest-compression 78 0 0 0 0.135
AbstractReadResponseTest 1 0 0 1 0.050
DataResolverTest 32 0 0 0 3.264
DigestResolverTest 5 0 0 0 3.066
ReadExecutorTest 3 0 0 0 3.140
SpeculativeRetryParseTest 78 0 0 0 0.109
-------------------------------------------------------------------------------
org.apache.cassandra.service.reads.repair
Name Tests Errors Failures Skipped Time(s)
AbstractReadRepairTest-cdc 1 0 0 1 0.062
BlockingReadRepairTest-cdc 9 0 0 0 3.511
DiagEventsBlockingReadRepairTest-cdc 3 0 0 0 3.502
ReadOnlyReadRepairTest-cdc 4 0 0 0 3.369
ReadRepairTest-cdc 7 0 0 0 3.533
RepairedDataVerifierTest-cdc 10 0 0 0 4.726
AbstractReadRepairTest-compression 1 0 0 1 0.061
BlockingReadRepairTest-compression 9 0 0 0 3.352
DiagEventsBlockingReadRepairTest- 3 0 0 0 3.461
compression
ReadOnlyReadRepairTest-compression 4 0 0 0 3.182
ReadRepairTest-compression 7 0 0 0 3.335
RepairedDataVerifierTest-compression 10 0 0 0 6.022
AbstractReadRepairTest 1 0 0 1 0.049
BlockingReadRepairTest 9 0 0 0 3.218
DiagEventsBlockingReadRepairTest 3 0 0 0 3.252
ReadOnlyReadRepairTest 4 0 0 0 3.107
ReadRepairTest 7 0 0 0 3.097
RepairedDataVerifierTest 10 0 0 0 4.287
-------------------------------------------------------------------------------
org.apache.cassandra.streaming
Name Tests Errors Failures Skipped Time
(s)
LongStreamingTest 0 1 0 0 0.946
EntireSSTableStreamingCorrectFilesCountTest- 1 0 0 0 3.634
cdc
SessionInfoTest-cdc 1 0 0 0 0.548
StreamOperationTest-cdc 1 0 0 0 0.067
StreamTransferTaskTest-cdc 2 0 0 0 3.364
StreamingTransferTest-cdc 5 0 0 0 14.527
EntireSSTableStreamingCorrectFilesCountTest- 1 0 0 0 3.491
compression
SessionInfoTest-compression 1 0 0 0 0.487
StreamOperationTest-compression 1 0 0 0 0.068
StreamTransferTaskTest-compression 2 0 0 0 3.335
StreamingTransferTest-compression 5 0 0 0 14.302
EntireSSTableStreamingCorrectFilesCountTest 1 0 0 0 3.238
SessionInfoTest 1 0 0 0 0.457
StreamOperationTest 1 0 0 0 0.056
StreamTransferTaskTest 2 0 0 0 3.070
StreamingTransferTest 5 0 0 0 14.141
-------------------------------------------------------------------------------
org.apache.cassandra.streaming.async
Name Tests Errors Failures Skipped Time(s)
NettyStreamingMessageSenderTest-cdc 10 0 0 0 1.072
StreamCompressionSerializerTest-cdc 2 0 0 0 0.901
StreamingInboundHandlerTest-cdc 6 0 0 0 1.065
NettyStreamingMessageSenderTest- 10 0 0 0 1.022
compression
StreamCompressionSerializerTest- 2 0 0 0 0.852
compression
StreamingInboundHandlerTest-compression 6 0 0 0 1.002
NettyStreamingMessageSenderTest 10 0 0 0 0.933
StreamCompressionSerializerTest 2 0 0 0 0.802
StreamingInboundHandlerTest 6 0 0 0 0.930
-------------------------------------------------------------------------------
org.apache.cassandra.streaming.compression
Name Tests Errors Failures Skipped Time(s)
CompressedInputStreamTest-cdc 6 0 0 0 1.147
CompressedInputStreamTest-compression 6 0 0 0 1.138
CompressedInputStreamTest 6 0 0 0 1.008
-------------------------------------------------------------------------------
org.apache.cassandra.streaming.messages
Name Tests Errors Failures Skipped Time(s)
StreamMessageTest-cdc 1 0 0 0 0.098
StreamMessageTest-compression 1 0 0 0 0.089
StreamMessageTest 1 0 0 0 0.077
-------------------------------------------------------------------------------
org.apache.cassandra.stress.generate
Name Tests Errors Failures Skipped Time(s)
DistributionGaussianTest 2 0 0 0 0.126
DistributionSequenceTest 4 0 0 0 0.088
-------------------------------------------------------------------------------
org.apache.cassandra.stress.settings
Name Tests Errors Failures Skipped Time(s)
OptionReplicationTest 1 0 0 0 0.095
SettingsMiscTest 4 0 0 0 0.102
SettingsNodeTest 2 0 0 0 0.069
StressSettingsTest 1 0 0 0 0.531
-------------------------------------------------------------------------------
org.apache.cassandra.stress.util
Name Tests Errors Failures Skipped Time(s)
MultiResultLoggerTest 5 0 0 0 0.070
-------------------------------------------------------------------------------
org.apache.cassandra.tools
Name Tests Errors Failures Skipped Time(s)
AuditLogViewerTest-cdc 10 0 0 0 14.722
BulkLoaderTest-cdc 6 0 0 0 12.767
ClearSnapshotTest-cdc 4 0 0 0 13.205
CompactionStressTest-cdc 2 0 0 0 14.755
GetFullQueryLogTest-cdc 3 0 0 0 14.805
GetVersionTest-cdc 1 0 0 0 0.420
JMXCompatabilityTest-cdc 3 0 0 0 32.492
JMXToolTest-cdc 5 0 0 0 11.443
LoaderOptionsTest-cdc 1 0 0 0 0.601
SSTableExpiredBlockersTest-cdc 4 0 0 0 2.363
SSTableExportTest-cdc 10 0 0 0 1.445
SSTableLevelResetterTest-cdc 5 0 0 0 2.464
SSTableMetadataViewerTest-cdc 10 0 0 0 1.446
SSTableOfflineRelevelTest-cdc 4 0 0 0 2.391
SSTableRepairedAtSetterTest-cdc 6 0 0 0 1.156
StandaloneSSTableUtilTest-cdc 8 0 0 0 2.397
StandaloneScrubberTest-cdc 7 0 0 0 2.538
StandaloneSplitterTest-cdc 6 0 0 0 2.453
StandaloneSplitterWithCQLTesterTest-cdc 6 0 0 0 14.528
StandaloneUpgraderTest-cdc 6 0 0 0 2.433
StandaloneVerifierTest-cdc 10 0 0 0 2.352
ToolsEnvsConfigsTest-cdc 1 0 0 0 2.046
TopPartitionsTest-cdc 2 0 0 0 3.920
AuditLogViewerTest-compression 10 0 0 0 14.677
BulkLoaderTest-compression 6 0 0 0 12.731
ClearSnapshotTest-compression 4 0 0 0 12.899
CompactionStressTest-compression 2 0 0 0 14.662
GetFullQueryLogTest-compression 3 0 0 0 14.379
GetVersionTest-compression 1 0 0 0 0.418
JMXCompatabilityTest-compression 3 0 0 0 30.634
JMXToolTest-compression 5 0 0 0 10.507
LoaderOptionsTest-compression 1 0 0 0 0.559
SSTableExpiredBlockersTest-compression 4 0 0 0 2.234
SSTableExportTest-compression 10 0 0 0 1.348
SSTableLevelResetterTest-compression 5 0 0 0 2.249
SSTableMetadataViewerTest-compression 10 0 0 0 1.237
SSTableOfflineRelevelTest-compression 4 0 0 0 2.233
SSTableRepairedAtSetterTest-compression 6 0 0 0 1.079
StandaloneSSTableUtilTest-compression 8 0 0 0 2.251
StandaloneScrubberTest-compression 7 0 0 0 2.328
StandaloneSplitterTest-compression 6 0 0 0 2.312
StandaloneSplitterWithCQLTesterTest- 6 0 0 0 14.835
compression
StandaloneUpgraderTest-compression 6 0 0 0 2.259
StandaloneVerifierTest-compression 10 0 0 0 2.408
ToolsEnvsConfigsTest-compression 1 0 0 0 2.006
TopPartitionsTest-compression 2 0 0 0 3.753
AuditLogViewerTest 10 0 0 0 14.366
BulkLoaderTest 6 0 0 0 12.674
ClearSnapshotTest 4 0 0 0 11.859
CompactionStressTest 2 0 0 0 14.377
GetFullQueryLogTest 3 0 0 0 13.006
GetVersionTest 1 0 0 0 0.374
JMXCompatabilityTest 3 0 0 0 28.614
JMXToolTest 5 0 0 0 10.507
LoaderOptionsTest 1 0 0 0 0.516
SSTableExpiredBlockersTest 4 0 0 0 2.096
SSTableExportTest 10 0 0 0 1.266
SSTableLevelResetterTest 5 0 0 0 2.126
SSTableMetadataViewerTest 10 0 0 0 1.177
SSTableOfflineRelevelTest 4 0 0 0 2.129
SSTableRepairedAtSetterTest 6 0 0 0 0.986
StandaloneSSTableUtilTest 8 0 0 0 2.173
StandaloneScrubberTest 7 0 0 0 2.169
StandaloneSplitterTest 6 0 0 0 2.129
StandaloneSplitterWithCQLTesterTest 6 0 0 0 12.938
StandaloneUpgraderTest 6 0 0 0 2.111
StandaloneVerifierTest 10 0 0 0 2.207
ToolsEnvsConfigsTest 1 0 0 0 1.872
TopPartitionsTest 2 0 0 0 3.538
-------------------------------------------------------------------------------
org.apache.cassandra.tools.cassandrastress
Name Tests Errors Failures Skipped Time(s)
CassandrastressTest-cdc 1 0 0 0 13.466
CassandrastressTest-compression 1 0 0 0 12.770
CassandrastressTest 1 0 0 0 12.334
-------------------------------------------------------------------------------
org.apache.cassandra.tools.cqlsh
Name Tests Errors Failures Skipped Time(s)
CqlshTest-cdc 1 0 0 0 12.719
CqlshTest-compression 1 0 0 0 12.736
CqlshTest 1 0 0 0 12.361
-------------------------------------------------------------------------------
org.apache.cassandra.tools.nodetool
Name Tests Errors Failures Skipped Time(s)
SjkTest-cdc 1 0 0 0 2.143
SjkTest-compression 1 0 0 0 2.114
SjkTest 1 0 0 0 1.916
-------------------------------------------------------------------------------
org.apache.cassandra.tools.nodetool.formatter
Name Tests Errors Failures Skipped Time(s)
TableBuilderTest-cdc 6 0 0 0 0.078
TableBuilderTest-compression 6 0 0 0 0.075
TableBuilderTest 6 0 0 0 0.062
-------------------------------------------------------------------------------
org.apache.cassandra.tools.nodetool.stats
Name Tests Errors Failures Skipped Time(s)
StatsTableComparatorTest-cdc 6 0 0 0 0.256
TableStatsPrinterTest-cdc 2 0 0 0 0.102
StatsTableComparatorTest-compression 6 0 0 0 0.248
TableStatsPrinterTest-compression 2 0 0 0 0.094
StatsTableComparatorTest 6 0 0 0 0.223
TableStatsPrinterTest 2 0 0 0 0.079
-------------------------------------------------------------------------------
org.apache.cassandra.tracing
Name Tests Errors Failures Skipped Time(s)
TracingTest-cdc 6 0 0 0 0.947
TracingTest-compression 6 0 0 0 0.914
TracingTest 6 0 0 0 0.859
-------------------------------------------------------------------------------
org.apache.cassandra.transport
Name Tests Errors Failures Skipped Time(s)
CBUtilTest-cdc 4 0 0 0 0.389
CQLUserAuditTest-cdc 8 0 0 0 28.451
DataTypeTest-cdc 3 0 0 0 0.391
ErrorMessageTest-cdc 7 0 0 0 0.395
IdleDisconnectTest-cdc 2 0 0 0 17.546
InflightRequestPayloadTrackerTest-cdc 7 0 0 0 14.928
MessagePayloadTest-cdc 3 0 0 0 13.695
ProtocolErrorTest-cdc 6 0 0 0 1.063
ProtocolVersionTest-cdc 4 0 0 0 0.868
ProtocolVersionTrackerTest-cdc 3 0 0 0 0.335
SerDeserTest-cdc 6 0 0 0 1.599
ServerMetricsTest-cdc 1 0 0 0 12.344
StartupMessageTest-cdc 1 0 0 0 12.353
CBUtilTest-compression 4 0 0 0 0.343
CQLUserAuditTest-compression 8 0 0 0 28.307
DataTypeTest-compression 3 0 0 0 0.386
ErrorMessageTest-compression 7 0 0 0 0.383
IdleDisconnectTest-compression 2 0 0 0 17.209
InflightRequestPayloadTrackerTest- 7 0 0 0 14.674
compression
MessagePayloadTest-compression 3 0 0 0 13.338
ProtocolErrorTest-compression 6 0 0 0 1.058
ProtocolVersionTest-compression 4 0 0 0 0.915
ProtocolVersionTrackerTest-compression 3 0 0 0 0.308
SerDeserTest-compression 6 0 0 0 1.551
ServerMetricsTest-compression 1 0 0 0 12.212
StartupMessageTest-compression 1 0 0 0 12.318
CBUtilTest 4 0 0 0 0.310
CQLUserAuditTest 8 0 0 0 27.966
DataTypeTest 3 0 0 0 0.344
ErrorMessageTest 7 0 0 0 0.360
IdleDisconnectTest 2 0 0 0 17.050
InflightRequestPayloadTrackerTest 7 0 0 0 14.036
MessagePayloadTest 3 0 0 0 13.044
ProtocolErrorTest 6 0 0 0 0.946
ProtocolVersionTest 4 0 0 0 0.784
ProtocolVersionTrackerTest 3 0 0 0 0.278
SerDeserTest 6 0 0 0 1.464
ServerMetricsTest 1 0 0 0 11.818
StartupMessageTest 1 0 0 0 11.903
-------------------------------------------------------------------------------
org.apache.cassandra.transport.frame.checksum
Name Tests Errors Failures Skipped Time
(s)
ChecksummingTransformerTest-cdc 5 0 0 0 17.645
ChecksummingWithCorruptedLZ4DoesNotCrashTest- 1 0 0 0 23.034
cdc
ChecksummingTransformerTest-compression 5 0 0 0 16.828
ChecksummingWithCorruptedLZ4DoesNotCrashTest- 1 0 0 0 22.844
compression
ChecksummingTransformerTest 5 0 0 0 17.576
ChecksummingWithCorruptedLZ4DoesNotCrashTest 1 0 0 0 22.701
-------------------------------------------------------------------------------
org.apache.cassandra.transport.messages
Name Tests Errors Failures Skipped Time(s)
AuthenticateMessageTest-cdc 1 0 0 0 0.365
PrepareMessageTest-cdc 1 0 0 0 0.365
AuthenticateMessageTest-compression 1 0 0 0 0.346
PrepareMessageTest-compression 1 0 0 0 0.348
AuthenticateMessageTest 1 0 0 0 0.311
PrepareMessageTest 1 0 0 0 0.314
-------------------------------------------------------------------------------
org.apache.cassandra.triggers
Name Tests Errors Failures Skipped Time(s)
TriggerExecutorTest-cdc 9 0 0 0 1.627
TriggersSchemaTest-cdc 4 0 0 0 3.831
TriggersTest-cdc 7 0 0 0 4.861
TriggerExecutorTest-compression 9 0 0 0 1.555
TriggersSchemaTest-compression 4 0 0 0 3.647
TriggersTest-compression 7 0 0 0 4.593
TriggerExecutorTest 9 0 0 0 1.479
TriggersSchemaTest 4 0 0 0 3.427
TriggersTest 7 0 0 0 4.374
-------------------------------------------------------------------------------
org.apache.cassandra.utils
Name Tests Errors Failures Skipped Time(s)
LongBloomFilterTest 5 0 0 0 144.926
LongBTreeTest 15 0 0 0 884.681
AbstractIteratorTest-cdc 9 0 0 0 0.099
BloomFilterTest-cdc 11 0 0 2 0.600
ByteArrayUtilTest-cdc 18 0 0 0 0.269
ByteBufferUtilTest-cdc 12 0 0 0 0.434
BytesReadTrackerTest-cdc 4 0 0 0 0.072
CassandraVersionTest-cdc 11 0 0 0 0.631
EstimatedHistogramTest-cdc 7 0 0 0 0.244
FBUtilitiesTest-cdc 7 0 0 0 0.740
FastByteOperationsTest-cdc 2 0 0 0 3.773
GeneratorsTest-cdc 2 0 0 0 0.862
HexTest-cdc 2 0 0 0 0.239
HistogramBuilderTest-cdc 5 0 0 0 0.265
IntegerIntervalsTest-cdc 6 0 0 0 50.205
IntervalTreeTest-cdc 3 0 0 0 0.290
JVMStabilityInspectorTest-cdc 3 0 0 0 0.866
JavaUtilsTest-cdc 1 0 0 0 0.230
MergeIteratorComparisonTest-cdc 16 0 0 0 12.815
MergeIteratorTest-cdc 1 0 0 0 0.089
MerkleTreeTest-cdc 27 0 0 0 7.365
MerkleTreesTest-cdc 13 0 0 0 0.970
MonotonicClockTest-cdc 1 0 0 0 18.644
NativeLibraryTest-cdc 2 0 0 0 0.453
NoSpamLoggerTest-cdc 5 0 0 0 0.084
OverlapIteratorTest-cdc 1 0 0 0 11.492
SerializationsTest-cdc 3 0 0 0 1.493
SlidingTimeRateTest-cdc 7 0 0 0 0.535
StatusLoggerTest-cdc 1 0 0 0 3.513
AbstractIteratorTest-compression 9 0 0 0 0.088
BloomFilterTest-compression 11 0 0 2 0.580
ByteArrayUtilTest-compression 18 0 0 0 0.238
ByteBufferUtilTest-compression 12 0 0 0 0.415
BytesReadTrackerTest-compression 4 0 0 0 0.069
CassandraVersionTest-compression 11 0 0 0 0.556
EstimatedHistogramTest-compression 7 0 0 0 0.249
FBUtilitiesTest-compression 7 0 0 0 0.708
FastByteOperationsTest-compression 2 0 0 0 3.924
GeneratorsTest-compression 2 0 0 0 0.789
HexTest-compression 2 0 0 0 0.229
HistogramBuilderTest-compression 5 0 0 0 0.270
IntegerIntervalsTest-compression 6 0 0 0 49.394
IntervalTreeTest-compression 3 0 0 0 0.296
JVMStabilityInspectorTest-compression 3 0 0 0 0.829
JavaUtilsTest-compression 1 0 0 0 0.222
MergeIteratorComparisonTest-compression 16 0 0 0 11.894
MergeIteratorTest-compression 1 0 0 0 0.080
MerkleTreeTest-compression 27 0 0 0 6.661
MerkleTreesTest-compression 13 0 0 0 0.950
MonotonicClockTest-compression 1 0 0 0 18.555
NativeLibraryTest-compression 2 0 0 0 0.437
NoSpamLoggerTest-compression 5 0 0 0 0.080
OverlapIteratorTest-compression 1 0 0 0 11.329
SerializationsTest-compression 3 0 0 0 1.472
SlidingTimeRateTest-compression 7 0 0 0 0.500
StatusLoggerTest-compression 1 0 0 0 3.423
AbstractIteratorTest 9 0 0 0 0.085
BloomFilterTest 11 0 0 2 0.535
ByteArrayUtilTest 18 0 0 0 0.209
ByteBufferUtilTest 12 0 0 0 0.345
BytesReadTrackerTest 4 0 0 0 0.058
CassandraVersionTest 11 0 0 0 0.527
EstimatedHistogramTest 7 0 0 0 0.202
FBUtilitiesTest 7 0 0 0 0.690
FastByteOperationsTest 2 0 0 0 3.626
GeneratorsTest 2 0 0 0 0.769
HexTest 2 0 0 0 0.204
HistogramBuilderTest 5 0 0 0 0.244
IntegerIntervalsTest 6 0 0 0 48.829
IntervalTreeTest 3 0 0 0 0.244
JVMStabilityInspectorTest 3 0 0 0 0.790
JavaUtilsTest 1 0 0 0 0.206
MergeIteratorComparisonTest 16 0 0 0 10.956
MergeIteratorTest 1 0 0 0 0.068
MerkleTreeTest 27 0 0 0 6.419
MerkleTreesTest 13 0 0 0 0.879
MonotonicClockTest 1 0 0 0 7.150
NativeLibraryTest 2 0 0 0 0.404
NoSpamLoggerTest 5 0 0 0 0.067
OverlapIteratorTest 1 0 0 0 10.937
SerializationsTest 3 0 0 0 1.349
SlidingTimeRateTest 7 0 0 0 0.495
StatusLoggerTest 1 0 0 0 3.210
-------------------------------------------------------------------------------
org.apache.cassandra.utils.binlog
Name Tests Errors Failures Skipped Time(s)
BinLogTest-cdc 13 0 0 0 11.282
DeletingArchiverTest-cdc 3 0 0 0 0.271
ExternalArchiverTest-cdc 5 0 0 0 10.440
BinLogTest-compression 13 0 0 0 11.252
DeletingArchiverTest-compression 3 0 0 0 0.278
ExternalArchiverTest-compression 5 0 0 0 10.441
BinLogTest 13 0 0 0 11.166
DeletingArchiverTest 3 0 0 0 0.231
ExternalArchiverTest 5 0 0 0 10.410
-------------------------------------------------------------------------------
org.apache.cassandra.utils.btree
Name Tests Errors Failures Skipped Time(s)
BTreeRemovalTest-cdc 22 0 0 0 0.213
BTreeSearchIteratorTest-cdc 4 0 0 0 0.091
BTreeTest-cdc 14 0 0 0 0.472
BTreeRemovalTest-compression 22 0 0 0 0.230
BTreeSearchIteratorTest-compression 4 0 0 0 0.079
BTreeTest-compression 14 0 0 0 0.441
BTreeRemovalTest 22 0 0 0 0.182
BTreeSearchIteratorTest 4 0 0 0 0.067
BTreeTest 14 0 0 0 0.375
-------------------------------------------------------------------------------
org.apache.cassandra.utils.concurrent
Name Tests Errors Failures Skipped Time(s)
AbstractTransactionalTest-cdc 1 0 0 1 0.064
AccumulatorTest-cdc 4 0 0 0 0.069
RefCountedTest-cdc 12 0 0 0 6.256
WeightedQueueTest-cdc 46 0 0 0 0.984
AbstractTransactionalTest-compression 1 0 0 1 0.061
AccumulatorTest-compression 4 0 0 0 0.070
RefCountedTest-compression 12 0 0 0 6.189
WeightedQueueTest-compression 46 0 0 0 0.977
AbstractTransactionalTest 1 0 0 1 0.055
AccumulatorTest 4 0 0 0 0.060
RefCountedTest 12 0 0 0 5.938
WeightedQueueTest 46 0 0 0 0.936
-------------------------------------------------------------------------------
org.apache.cassandra.utils.memory
Name Tests Errors Failures Skipped Time(s)
LongBufferPoolTest 2 0 0 0 241.393
BufferPoolTest-cdc 35 0 0 0 7.992
NativeAllocatorTest-cdc 1 0 0 0 0.394
BufferPoolTest-compression 35 0 0 0 7.842
NativeAllocatorTest-compression 1 0 0 0 0.393
BufferPoolTest 35 0 0 0 7.619
NativeAllocatorTest 1 0 0 0 0.347
-------------------------------------------------------------------------------
org.apache.cassandra.utils.obs
Name Tests Errors Failures Skipped Time(s)
OffHeapBitSetTest-cdc 4 0 0 0 0.499
OffHeapBitSetTest-compression 4 0 0 0 0.498
OffHeapBitSetTest 4 0 0 0 0.463
-------------------------------------------------------------------------------
org.apache.cassandra.utils.streamhist
Name Tests Errors Failures Skipped Time(s)
StreamingTombstoneHistogramBuilderTest- 11 0 0 0 1.990
cdc
StreamingTombstoneHistogramBuilderTest- 11 0 0 0 1.986
compression
StreamingTombstoneHistogramBuilderTest 11 0 0 0 1.987
-------------------------------------------------------------------------------
org.apache.cassandra.utils.vint
Name Tests Errors Failures Skipped Time(s)
VIntCodingTest-cdc 4 0 0 0 0.252
VIntCodingTest-compression 4 0 0 0 0.237
VIntCodingTest 4 0 0 0 0.220
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Failures
-------------------------------------------------------------------------------
Cassandra dtests // test_gcable_tombstone_resurrection_on_range_slice_query // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_gcable_tombstone_resurrection_on_range_slice_query'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f46301bb700>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f46303e4820>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f4631998700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f46303e4880>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_gcable_tombstone_resurrection_on_range_slice_query'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'
dtest_setup.py:351: AttributeError
------------------------------------------------------------------------------------
Cassandra dtests // test_super_cf_remove_supercolumn // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_super_cf_remove_supercolumn'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f46301bb700>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f462cd94a60>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f4631998700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f462ffff760>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_super_cf_remove_supercolumn'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_scan_expiring // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_index_scan_expiring'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f46301bb700>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f46301196d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f4631998700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f463060bb80>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_index_scan_expiring'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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 0x7f5bbed366d0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f5bbc33f310>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f5bc065c670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f5bbf2c5a90>
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_get_slice_range // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_get_slice_range'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f5bbed366d0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f5bbd3ebd60>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f5bc065c670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f5bbc34a490>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_get_slice_range'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'
dtest_setup.py: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 0x7f5bbed366d0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f5bbf264b80>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f5bc065c670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f5bbf264640>
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_deprecated_repair_error_notification // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_deprecated_repair_error_notification'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f5bbed366d0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f5bbc44fa00>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f5bc065c670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f5bbc44f490>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_deprecated_repair_error_notification'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_paging_with_filtering_on_partition_key_on_counter_columns_compact // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_paging_with_filtering_on_partition_key_on_counter_columns_compact'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f37ea117f40>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f37ea787550>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f37ebb0b700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f37e889f760>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_paging_with_filtering_on_partition_key_on_counter_columns_compact'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'
dtest_setup.py: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 0x7f37ea117f40>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f37ea570e20>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f37ebb0b700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f37ea570520>
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_get_slice_super_range // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_get_slice_super_range'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f37ea117f40>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f37e9882ac0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f37ebb0b700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f37e9882730>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_get_slice_super_range'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'
dtest_setup.py: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 0x7f37ea117f40>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f37ea33c2e0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f37ebb0b700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f37e8619340>
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_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 0x7f5979455f40>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f5979455b20>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f597ae46670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f59794555e0>
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_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 0x7f5979455f40>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f59781d2df0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f597ae46670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f5979b16a30>
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_get_range_slices_tokens // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_get_range_slices_tokens'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f5979455f40>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f5972fe9730>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f597ae46670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f5978193100>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_get_range_slices_tokens'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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 0x7f5979455f40>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f59795bb5b0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f597ae46670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f59781cbd00>
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_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 0x7ffbb56fc9d0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7ffbb56fc940>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7ffbb70c1820>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7ffbb56fc190>
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_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 0x7ffbb56fc9d0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7ffbb4479910>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7ffbb70c1820>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7ffbb4470a60>
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_paging_with_filtering_on_partition_key_on_clustering_columns_compact // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_paging_with_filtering_on_partition_key_on_clustering_columns_compact'>>
dtest_config = <dtest_config.DTestConfig object at 0x7ffbb56fc9d0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7ffbb4443a00>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7ffbb70c1820>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7ffbb5d3d700>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_paging_with_filtering_on_partition_key_on_clustering_columns_compact'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'
dtest_setup.py:351: AttributeError
------------------------------------------------------------------------------------
Cassandra dtests // test_get_range_slice_super // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_get_range_slice_super'>>
dtest_config = <dtest_config.DTestConfig object at 0x7ffbb56fc9d0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7ffbb4df2b50>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7ffbb70c1820>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7ffbb5d01400>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_get_range_slice_super'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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 // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_datetime_values'>>
dtest_config = <dtest_config.DTestConfig object at 0x7ffbb56fc9d0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7ffbb5a2e340>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7ffbb70c1820>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7ffbb43c4a00>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_datetime_values'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_cql3_insert_thrift // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_cql3_insert_thrift'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f1e4f504a00>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f1e4c268ac0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f1e50ecc700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f1e4c2681f0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_cql3_insert_thrift'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_get_range_slice // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_get_range_slice'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f1e4f504a00>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f1e4c58fe50>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f1e50ecc700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f1e4c15f2e0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_get_range_slice'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_rename // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_rename'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f2360e1e130>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f2360207c10>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f236267d670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f2360207fd0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_rename'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_8280_validate_indexed_values_compact // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_8280_validate_indexed_values_compact'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f2360e1e130>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f23602e5550>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f236267d670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f23600c60d0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_8280_validate_indexed_values_compact'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'
dtest_setup.py:351: AttributeError
------------------------------------------------------------------------------------
Cassandra dtests // test_wrapped_range_slices // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_wrapped_range_slices'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f2360e1e130>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f23614f5a30>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f236267d670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f2360205940>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_wrapped_range_slices'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_paging_on_compact_table_with_tombstone_on_first_column /
/ Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_paging_on_compact_table_with_tombstone_on_first_column'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f369773bd90>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f3696d48be0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f36991385e0>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f36946d8400>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_paging_on_compact_table_with_tombstone_on_first_column'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'
dtest_setup.py:351: AttributeError
------------------------------------------------------------------------------------
Cassandra dtests // test_get_slice_by_names // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_get_slice_by_names'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f369773bd90>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f3696e347f0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f36991385e0>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f3696e34430>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_get_slice_by_names'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_multiget_slice_with_compact_table // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_multiget_slice_with_compact_table'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f936f6dfd00>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f936eaeca60>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f93710d9700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f936f7ee880>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_multiget_slice_with_compact_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_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 0x7f9df127e220>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f9df127e280>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f9df2c6b700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f9df12abd60>
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_paging_with_no_clustering_columns_compact // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_paging_with_no_clustering_columns_compact'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f9df127e220>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f9debfb59a0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f9df2c6b700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f9debfb50a0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_paging_with_no_clustering_columns_compact'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'
dtest_setup.py:351: AttributeError
------------------------------------------------------------------------------------
Cassandra dtests // test_multiget_slice // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_multiget_slice'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f9df127e220>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f9de851c4c0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f9df2c6b700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f9de923f040>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_multiget_slice'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_count // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_multi_count'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fa13e6f3a00>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fa12c8b93d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fa14004f700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fa12c8873d0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_multi_count'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'
dtest_setup.py:351: AttributeError
------------------------------------------------------------------------------------
Cassandra dtests // test_compact_counter_cluster // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_compact_counter_cluster'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f2760757ac0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f27605a6850>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f2761f32700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f27609a8e20>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_compact_counter_cluster'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_super_cf_resurrect_subcolumn // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_super_cf_resurrect_subcolumn'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f2760757ac0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f275d0b8580>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f2761f32700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f2760753730>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_super_cf_resurrect_subcolumn'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_scan_indexed_column_outside_slice_predicate // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_index_scan_indexed_column_outside_slice_predicate'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f2760757ac0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f27609a8ee0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f2761f32700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f27609a8bb0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_index_scan_indexed_column_outside_slice_predicate'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_failure_during_anticompaction // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_failure_during_anticompaction'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f2760757ac0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f2747cd97f0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f2761f32700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f2747cef490>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_failure_during_anticompaction'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_compact_storage_flag // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_drop_compact_storage_flag'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f90005842b0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f90005bd400>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f9001ea58b0>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f8ffdc610d0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_drop_compact_storage_flag'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'
dtest_setup.py: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 0x7f90005842b0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f8ffdbf5d60>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f9001ea58b0>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f90005406a0>
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_batch_mutate_super_deletion // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_batch_mutate_super_deletion'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f90005842b0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f900086d2e0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f9001ea58b0>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f90007cb490>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_batch_mutate_super_deletion'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_paging_for_range_name_queries_compact // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_paging_for_range_name_queries_compact'>>
dtest_config = <dtest_config.DTestConfig object at 0x7efe332c1d90>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7efe336e77c0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7efe34a67670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7efe336e79d0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_paging_for_range_name_queries_compact'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'
dtest_setup.py:351: AttributeError
------------------------------------------------------------------------------------
Cassandra dtests // test_super_reinsert // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_super_reinsert'>>
dtest_config = <dtest_config.DTestConfig object at 0x7efe332c1d90>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7efe33dec2e0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7efe34a67670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7efe337ab0a0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_super_reinsert'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_14766 // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_14766'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f8af258c040>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f8af02c5220>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f8af25ee940>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f8af026c880>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_14766'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'
dtest_setup.py:351: AttributeError
------------------------------------------------------------------------------------
Cassandra dtests // test_describe_keyspace // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_describe_keyspace'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f8af258c040>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f8af126b8b0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f8af25ee940>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f8af1267430>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_describe_keyspace'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_binary_disabled // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_bootstrap_binary_disabled'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f4fb82085e0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f4fb8546220>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f4fb9bd9820>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f4fb8328880>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_bootstrap_binary_disabled'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_describe // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_describe'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f4fb82085e0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f4f9532b910>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f4fb9bd9820>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f4f9532bbe0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_describe'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_sc_with_row_cache // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_sc_with_row_cache'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f225060b8b0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f222f8eddc0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f2251fb9700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f222f1500d0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_sc_with_row_cache'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_describe_ring // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_describe_ring'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f225060b8b0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f224fcf97c0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f2251fb9700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f224fcf9be0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_describe_ring'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_functional // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_functional'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f2297377670>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f22974689d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f2298ab8670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f2297131c70>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_functional'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_describe_token_map // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_describe_token_map'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f2297377670>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f229749bfd0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f2298ab8670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f2294fc0490>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_describe_token_map'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_describe_partitioner // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_describe_partitioner'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f5bb43fe2b0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f5bb45c7190>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f5bb5c0e790>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f5bb45e1700>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_describe_partitioner'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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 0x7efe6157f370>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7efe6173c130>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7efe62f508b0>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7efe61c253d0>
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_describe_snitch // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_describe_snitch'>>
dtest_config = <dtest_config.DTestConfig object at 0x7efe6157f370>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7efe6162de50>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7efe62f508b0>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7efe6190a820>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_describe_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_closing_connections // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_closing_connections'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f478d439c10>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f478c639af0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f478ee5e700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f478d6b0460>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_closing_connections'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_invalid_ks_names // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_invalid_ks_names'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f478d439c10>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f476addf8e0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f478ee5e700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f476addfe80>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_invalid_ks_names'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_populate_mv_after_insert_wide_rows // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_populate_mv_after_insert_wide_rows'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f84ff3e18b0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f84ff877ca0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f8500d9f790>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f84fd294610>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_populate_mv_after_insert_wide_rows'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'
dtest_setup.py:351: AttributeError
------------------------------------------------------------------------------------
Cassandra dtests // test_6285 // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_6285'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f84ff3e18b0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f84db0fc580>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f8500d9f790>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f84d8b45d60>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_6285'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_invalid_strategy_class // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_invalid_strategy_class'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f84ff3e18b0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f84d8d5aaf0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f8500d9f790>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f84d8d5a640>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_invalid_strategy_class'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_paging_with_filtering_on_counter_columns_compact // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_paging_with_filtering_on_counter_columns_compact'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fbba2c2e580>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fbba2e3a9a0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fbba43ed700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fbb8b785070>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_paging_with_filtering_on_counter_columns_compact'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'
dtest_setup.py:351: AttributeError
------------------------------------------------------------------------------------
Cassandra dtests // test_empty_range // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_empty_range'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fbba2c2e580>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fbb8b7d3a30>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fbba43ed700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fbba3022c10>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_empty_range'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'
dtest_setup.py:351: AttributeError
------------------------------------------------------------------------------------
Cassandra dtests // test_column_not_found_quorum // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_column_not_found_quorum'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fbba2c2e580>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fbba118e9d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fbba43ed700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fbba118ed90>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_column_not_found_quorum'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'
dtest_setup.py:351: AttributeError
------------------------------------------------------------------------------------
Cassandra dtests // test_insert // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_insert'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f224449ce80>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f2244cc1550>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f2245e115e0>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f2244cc1fa0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_insert'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'
dtest_setup.py:351: AttributeError
------------------------------------------------------------------------------------
Cassandra dtests // test_invalid_cf_names // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_invalid_cf_names'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f224449ce80>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f22448807c0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f2245e115e0>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f224458c160>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_invalid_cf_names'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_hsha_defaults // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_hsha_defaults'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f09ae566400>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f09aed91b80>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f09afedb670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f09ae566250>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_hsha_defaults'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_empty_slice // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_empty_slice'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f09ae566400>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f09ae536820>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f09afedb670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f09ae5365e0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_empty_slice'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_system_cf_recreate // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_system_cf_recreate'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f09ae566400>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f09aea460d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f09afedb670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f09aea46520>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_system_cf_recreate'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_hsha_with_ssl // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_hsha_with_ssl'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fb140204490>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fb140a0e190>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fb141b89790>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fb140a09580>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_hsha_with_ssl'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_cas // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_cas'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fb140204490>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fb1407e8940>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fb141b89790>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fb13d169550>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_cas'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_system_keyspace_operations // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_system_keyspace_operations'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fb140204490>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fb140a1f400>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fb141b89790>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fb140a1f460>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_system_keyspace_operations'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_missing_super // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_missing_super'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fa9127f1df0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fa9106f32b0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fa914230790>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fa91066ff10>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_missing_super'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_then_drop_ks // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_create_then_drop_ks'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fa9127f1df0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fa911aaa670>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fa914230790>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fa911aaaf70>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_create_then_drop_ks'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_no_anticompaction_after_dclocal_repair // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_no_anticompaction_after_dclocal_repair'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fa9127f1df0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fa9130b1970>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fa914230790>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fa912a0e2e0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_no_anticompaction_after_dclocal_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_count // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_count'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fb835791a90>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fb8359a57f0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fb8371f4790>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fb8359a5700>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_count'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'
dtest_setup.py:351: AttributeError
------------------------------------------------------------------------------------
Cassandra dtests // test_column_validators // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_column_validators'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fb835791a90>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fb835a07850>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fb8371f4790>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fb835a07fd0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_column_validators'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_count_paging // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_count_paging'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f5de78b45e0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f5de7b13820>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f5de92fe790>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f5de7ae7ee0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_count_paging'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'
dtest_setup.py:351: AttributeError
------------------------------------------------------------------------------------
Cassandra dtests // test_system_column_family_operations // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_system_column_family_operations'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f5de78b45e0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f5de7e8cc70>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f5de92fe790>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f5de7e8c9a0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_system_column_family_operations'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_no_anticompaction_after_hostspecific_repair // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_no_anticompaction_after_hostspecific_repair'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f5de78b45e0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f5de7f86e20>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f5de92fe790>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f5de7bc8eb0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_no_anticompaction_after_hostspecific_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_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 0x7fd0c262e3a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fd0c2853e20>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fd0c4080670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fd0c2853c40>
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_count_around_page_size // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_count_around_page_size'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fd0c262e3a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fd0c26bca30>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fd0c4080670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fd0c1d853d0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_count_around_page_size'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_dynamic_indexes_creation_deletion // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_dynamic_indexes_creation_deletion'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fd0c262e3a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fd0c27e1cd0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fd0c4080670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fd0c27e1880>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_dynamic_indexes_creation_deletion'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_no_anticompaction_after_subrange_repair // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_no_anticompaction_after_subrange_repair'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fd0c262e3a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fd0c197fd30>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fd0c4080670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fd0c1a63070>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_no_anticompaction_after_subrange_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_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 0x7f5a600fcdf0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f5a60823fd0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f5a61b49820>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f5a601942b0>
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_super_insert // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_super_insert'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f5a600fcdf0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f5a601b2a00>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f5a61b49820>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f5a608126a0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_super_insert'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'
dtest_setup.py:351: AttributeError
------------------------------------------------------------------------------------
Cassandra dtests // test_dynamic_indexes_with_system_update_cf // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_dynamic_indexes_with_system_update_cf'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f5a600fcdf0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f5a5d862d90>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f5a61b49820>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f5a6075c130>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_dynamic_indexes_with_system_update_cf'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_no_anticompaction_of_already_repaired // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_no_anticompaction_of_already_repaired'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f5a600fcdf0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f5a5f5e2a00>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f5a61b49820>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f5a6037fd00>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_no_anticompaction_of_already_repaired'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_super_get // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_super_get'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f87cb22f0a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f87cb396610>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f87ccc03670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f87cb5febb0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_super_get'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_system_super_column_family_operations // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_system_super_column_family_operations'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f87cb22f0a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f87b2d20190>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f87ccc03670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f87b2d20e80>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_system_super_column_family_operations'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_super_subcolumn_limit // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_super_subcolumn_limit'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f84c0548df0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f84bd4f5be0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f84c1f1d5e0>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f84bfbfae20>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_super_subcolumn_limit'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_insert_ttl // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_insert_ttl'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f84c0548df0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f84c0b78e50>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f84c1f1d5e0>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f84c0b78040>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_insert_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_super_cql_read_compatibility // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_super_cql_read_compatibility'>>
dtest_config = <dtest_config.DTestConfig object at 0x7ff5f4572970>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7ff5f3d14b50>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7ff5f5f77790>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7ff5f3d3e190>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_super_cql_read_compatibility'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_get_range_slice_after_deletion // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_get_range_slice_after_deletion'>>
dtest_config = <dtest_config.DTestConfig object at 0x7ff5f4572970>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7ff5f35a7df0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7ff5f5f77790>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7ff5f35ad130>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_get_range_slice_after_deletion'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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 0x7ff5f4572970>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7ff5f2b24a00>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7ff5f5f77790>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7ff5f2b24d60>
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_force_repair_async_1 // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_force_repair_async_1'>>
dtest_config = <dtest_config.DTestConfig object at 0x7ff5f4572970>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7ff5f35ad970>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7ff5f5f77790>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7ff5f362ccd0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_force_repair_async_1'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_long_order // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_long_order'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f52484d0dc0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f52486b6370>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f5249e3d670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f52495cceb0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_long_order'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_insert_max_ttl // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_insert_max_ttl'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f52484d0dc0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f52453f3670>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f5249e3d670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f52453f30d0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_insert_max_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_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 0x7f5acb5b0340>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f5ab20bf940>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f5accf1f700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f5ac82d8970>
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_integer_order // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_integer_order'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f5acb5b0340>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f5aca9ba070>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f5accf1f700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f5ab2bebf10>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_integer_order'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_insert_max_default_ttl // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_insert_max_default_ttl'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f5acb5b0340>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f5acbb64850>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f5accf1f700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f5acb793b80>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_insert_max_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_alter_table // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_alter_table'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f5acb5b0340>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f5acad69580>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f5accf1f700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f5ac82cbbb0>
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_time_uuid // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_time_uuid'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f8045dc6d90>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f80453447c0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f80477565e0>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f804451c6a0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_time_uuid'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_simple_expiration // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_simple_expiration'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f8045dc6d90>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f8045ecf160>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f80477565e0>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f804532cee0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_simple_expiration'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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 0x7f8045dc6d90>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f804542e610>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f80477565e0>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f8045f732b0>
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_sstableupgrade // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_sstableupgrade'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fddb04bc130>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fddb04ae0a0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fddb1e34700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fddb054f310>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_sstableupgrade'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_long_remove // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_long_remove'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fddb04bc130>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fddb05c25e0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fddb1e34700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fddaec37070>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_long_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_expiration_with_default_ttl // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_expiration_with_default_ttl'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fddb04bc130>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fddb06c2ca0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fddb1e34700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fddb06c2bb0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_expiration_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_integer_remove // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_integer_remove'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f48966797c0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f4895b9f0d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f4897feb700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f4895c7c160>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_integer_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_expiration_with_default_ttl_and_zero_ttl // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_expiration_with_default_ttl_and_zero_ttl'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f48966797c0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f48968b8d60>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f4897feb700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f48968b8250>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_expiration_with_default_ttl_and_zero_ttl'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'
dtest_setup.py: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 0x7fc8494ff7c0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fc8496a1ee0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fc84aea7a60>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fc84834ac40>
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_batch_insert // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_batch_insert'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fc8494ff7c0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fc84805ac40>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fc84aea7a60>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fc848b727c0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_batch_insert'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'
dtest_setup.py:351: AttributeError
------------------------------------------------------------------------------------
Cassandra dtests // test_simple_expiration_batch_mutate // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_simple_expiration_batch_mutate'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fc8494ff7c0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fc849942e50>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fc84aea7a60>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fc8498f4310>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_simple_expiration_batch_mutate'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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 0x7fcbeafa1100>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fcbe968d310>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fcbec9bf700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fcbe961c370>
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_batch_mutate_standard_columns // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_batch_mutate_standard_columns'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fcbeafa1100>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fcbeb1b8b50>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fcbec9bf700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fcbeb047bb0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_batch_mutate_standard_columns'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'
dtest_setup.py:351: AttributeError
------------------------------------------------------------------------------------
Cassandra dtests // test_update_expiring // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_update_expiring'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fcbeafa1100>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fcbea6b0c10>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fcbec9bf700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fcbea6b0b20>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_update_expiring'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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 0x7fa3c35de970>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fa3c01827f0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fa3c4dbc700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fa3c1b90610>
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_batch_mutate_remove_standard_columns // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_batch_mutate_remove_standard_columns'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fa3c35de970>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fa3c2a51100>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fa3c4dbc700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fa3c2b28490>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_batch_mutate_remove_standard_columns'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'
dtest_setup.py:351: AttributeError
------------------------------------------------------------------------------------
Cassandra dtests // test_remove_expiring // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_remove_expiring'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fa3c35de970>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fa3c29a7820>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fa3c4dbc700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fa3c29a7bb0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_remove_expiring'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_batch_mutate_remove_standard_row // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_batch_mutate_remove_standard_row'>>
dtest_config = <dtest_config.DTestConfig object at 0x7efd3cde23d0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7efd3c2642b0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7efd3e7a3790>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7efd3c28a430>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_batch_mutate_remove_standard_row'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_describe_ring_on_invalid_keyspace // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_describe_ring_on_invalid_keyspace'>>
dtest_config = <dtest_config.DTestConfig object at 0x7efd3cde23d0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7efd3c116070>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7efd3e7a3790>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7efd3c116850>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_describe_ring_on_invalid_keyspace'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_batch_mutate_remove_super_columns_with_standard_under /
/ Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_batch_mutate_remove_super_columns_with_standard_under'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f6a1ec3edc0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f6a1deb7cd0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f6a20456820>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f6a1debc0a0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_batch_mutate_remove_super_columns_with_standard_under'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_incr_decr_standard_add // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_incr_decr_standard_add'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f6a1ec3edc0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f6a1ecae700>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f6a20456820>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f6a1ecae1c0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_incr_decr_standard_add'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_paging_with_filtering_on_clustering_columns_compact /
/ Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_paging_with_filtering_on_clustering_columns_compact'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fcaf900feb0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fcacfbc90d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fcafaa6d790>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fcaf1cad340>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_paging_with_filtering_on_clustering_columns_compact'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'
dtest_setup.py:351: AttributeError
------------------------------------------------------------------------------------
Cassandra dtests // test_super_cql_write_compatibility // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_super_cql_write_compatibility'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fcaf900feb0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fcaf1ada0d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fcafaa6d790>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fcaf1adac70>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_super_cql_write_compatibility'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_slice // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_multi_slice'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fcaf900feb0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fcaf1b79730>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fcafaa6d790>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fcaf1b79190>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_multi_slice'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_repair_async_2 // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_force_repair_async_2'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fcaf900feb0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fcaf1d24be0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fcafaa6d790>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fcaf1ade0a0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_force_repair_async_2'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_batch_mutate_remove_super_columns_with_none_given_underneath // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_batch_mutate_remove_super_columns_with_none_given_underneath'>>
dtest_config = <dtest_config.DTestConfig object at 0x7ff4141e3a30>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7ff411418f10>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7ff415b8a670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7ff41484d430>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_batch_mutate_remove_super_columns_with_none_given_underneath'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_incr_decr_super_add // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_incr_decr_super_add'>>
dtest_config = <dtest_config.DTestConfig object at 0x7ff4141e3a30>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7ff4143671f0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7ff415b8a670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7ff41443fe50>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_incr_decr_super_add'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_batch_mutate_remove_super_columns_entire_row // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_batch_mutate_remove_super_columns_entire_row'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f3e89ff99d0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f3e896b8280>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f3e8b9c6820>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f3e896f2610>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_batch_mutate_remove_super_columns_entire_row'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_incr_standard_remove // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_incr_standard_remove'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f3e89ff99d0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f3e896b3340>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f3e8b9c6820>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f3e896b3ac0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_incr_standard_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_compact_storage // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_compact_storage'>>
dtest_config = <dtest_config.DTestConfig object at 0x7faef6109790>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7faef5589490>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7faef7ac0670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7faef551d580>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_compact_storage'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_batch_mutate_remove_slice_standard // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_batch_mutate_remove_slice_standard'>>
dtest_config = <dtest_config.DTestConfig object at 0x7faef6109790>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7faef60f8820>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7faef7ac0670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7faef6827c10>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_batch_mutate_remove_slice_standard'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_incr_super_remove // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_incr_super_remove'>>
dtest_config = <dtest_config.DTestConfig object at 0x7faef6109790>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7faef678b430>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7faef7ac0670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7faef4855ac0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_incr_super_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_compact_storage_composite // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_compact_storage_composite'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f75007b1640>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f74fdd1fcd0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f7502172700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f74fe3bac70>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_compact_storage_composite'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_batch_mutate_remove_slice_of_entire_supercolumns // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_batch_mutate_remove_slice_of_entire_supercolumns'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f75007b1640>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f74fe334dc0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f7502172700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f74fe2dd910>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_batch_mutate_remove_slice_of_entire_supercolumns'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_incr_decr_standard_remove // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_incr_decr_standard_remove'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f75007b1640>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f74fdd1dbe0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f7502172700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f74fdd1d580>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_incr_decr_standard_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_thrift // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_thrift'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f75007b1640>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f7500984820>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f7502172700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f74fe4dd370>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_thrift'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_incr_decr_super_remove // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_incr_decr_super_remove'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f3ddfc444c0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f3ddf1a3880>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f3de157a790>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f3de018aee0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_incr_decr_super_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_readrepair // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_readrepair'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f204571d700>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f2044650940>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f20470c0670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f20444ddeb0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_readrepair'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_batch_mutate_insertions_and_deletions // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_batch_mutate_insertions_and_deletions'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f204571d700>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f2044b0a880>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f20470c0670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f2044af88b0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_batch_mutate_insertions_and_deletions'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'
dtest_setup.py:351: AttributeError
------------------------------------------------------------------------------------
Cassandra dtests // test_incr_decr_standard_batch_add // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_incr_decr_standard_batch_add'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f204571d700>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f203d3e66d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f20470c0670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f203d3e6b80>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_incr_decr_standard_batch_add'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_bad_system_calls // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_bad_system_calls'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f11f7d191c0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f11f7e23970>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f11f963e5e0>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f11f82aa160>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_bad_system_calls'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_incr_decr_standard_batch_remove // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_incr_decr_standard_batch_remove'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f11f7d191c0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f11f4a7eb50>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f11f963e5e0>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f11f4a7e250>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_incr_decr_standard_batch_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_logged_batch_compatibility_1 // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_logged_batch_compatibility_1'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fb4eed33ca0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fb4eec2db20>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fb4f0510790>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fb4eed2d7f0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_logged_batch_compatibility_1'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_slice // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_wide_slice'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fb4eed33ca0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fb4ec0bfc70>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fb4f0510790>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fb4ec04ff70>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_wide_slice'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_bad_batch_calls // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_bad_batch_calls'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fb4eed33ca0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fb4eed9c520>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fb4f0510790>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fb4eed4d670>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_bad_batch_calls'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_range_deletion // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_range_deletion'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fb4eed33ca0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fb4ec1500a0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fb4f0510790>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fb4ec150160>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_range_deletion'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_batchlog_replay_compatibility_1 // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_batchlog_replay_compatibility_1'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f9704dd39a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f9704dc59a0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f9706541700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f9704d70520>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_batchlog_replay_compatibility_1'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_column_name_lengths // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_column_name_lengths'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f9704dd39a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f9705202ca0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f9706541700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f96feed1370>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_column_name_lengths'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_range_deletion_eoc_0 // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_range_deletion_eoc_0'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f9704dd39a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f9704bfb1c0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f9706541700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f9704bfb7c0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_range_deletion_eoc_0'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_logged_batch_compatibility_2 // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_logged_batch_compatibility_2'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f116cdd1550>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f116cd7fbb0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f116e541700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f116cd2d310>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_logged_batch_compatibility_2'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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 // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_13691'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f116cdd1550>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f116c21f400>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f116e541700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f116c21a760>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_13691'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_bad_calls // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_bad_calls'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f116cdd1550>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f11445dc2b0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f116e541700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f11443a8280>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_bad_calls'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_incr_decr_standard_slice // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_incr_decr_standard_slice'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f116cdd1550>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f114451c7f0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f116e541700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f114451cfa0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_incr_decr_standard_slice'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_table_compact_storage // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_table_compact_storage'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fecbaf9e610>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fecb81cf520>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fecbca03700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fecbb669220>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_table_compact_storage'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_range_with_remove // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_range_with_remove'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fecbaf9e610>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fecb8509c70>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fecbca03700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fecbb665280>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_range_with_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_truncate // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_truncate'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fecbaf9e610>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fecb8574670>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fecbca03700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fecb85740a0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_truncate'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_repair_async_3 // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_force_repair_async_3'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fecbaf9e610>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fecb86ffeb0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fecbca03700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fecb8714e20>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_force_repair_async_3'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_logged_batch_compatibility_3 // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_logged_batch_compatibility_3'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f421e5bee20>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f421e5d8190>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f421fd9e670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f421e46a220>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_logged_batch_compatibility_3'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_batch_insert_super // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_batch_insert_super'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f421e5bee20>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f421ea67eb0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f421fd9e670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f421d3f6b50>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_batch_insert_super'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_incr_decr_standard_multiget_slice // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_incr_decr_standard_multiget_slice'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f421e5bee20>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f421e86b1c0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f421fd9e670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f421e62e310>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_incr_decr_standard_multiget_slice'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_logged_batch_compatibility_4 // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_logged_batch_compatibility_4'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f40943b7ac0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f40941ee670>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f4095b33670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f40948b1a60>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_logged_batch_compatibility_4'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_cf_remove_column // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_cf_remove_column'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f40943b7ac0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f409348e670>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f4095b33670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f40933295b0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_cf_remove_column'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'
dtest_setup.py:351: AttributeError
------------------------------------------------------------------------------------
Cassandra dtests // test_counter_get_slice_range // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_counter_get_slice_range'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f40943b7ac0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f40936eeee0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f4095b33670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f40936ee700>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_counter_get_slice_range'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'
dtest_setup.py:351: AttributeError
------------------------------------------------------------------------------------
Cassandra dtests // test_batchlog_replay_compatibility_4 // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_batchlog_replay_compatibility_4'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fee2d752820>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fee2d676f10>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fee2ef29670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fee2d5a31f0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_batchlog_replay_compatibility_4'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_rf_and_run_read_repair // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_alter_rf_and_run_read_repair'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fee2d752820>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fee27789c40>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fee2ef29670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fee27789820>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_alter_rf_and_run_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_drop_column_compact // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_drop_column_compact'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fee2d752820>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fee2778fa90>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fee2ef29670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fee276cbac0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_drop_column_compact'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'
dtest_setup.py:351: AttributeError
------------------------------------------------------------------------------------
Cassandra dtests // test_cf_remove // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_cf_remove'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fee2d752820>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fee27699100>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fee2ef29670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fee00100f70>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_cf_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_counter_get_slice_super_range // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_counter_get_slice_super_range'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fee2d752820>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fede07c6fa0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fee2ef29670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fede07c6220>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_counter_get_slice_super_range'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'
dtest_setup.py:351: AttributeError
------------------------------------------------------------------------------------
Cassandra dtests // test_logged_batch_compatibility_5 // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_logged_batch_compatibility_5'>>
dtest_config = <dtest_config.DTestConfig object at 0x7feb64f18a90>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7feb64f3e7c0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7feb666ee5e0>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7feb64dca190>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_logged_batch_compatibility_5'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_repair_chance // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_read_repair_chance'>>
dtest_config = <dtest_config.DTestConfig object at 0x7feb64f18a90>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7feb5c23c0d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7feb666ee5e0>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7feb5c0683a0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_read_repair_chance'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'
dtest_setup.py:351: AttributeError
------------------------------------------------------------------------------------
Cassandra dtests // test_super_cf_remove_and_range_slice // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_super_cf_remove_and_range_slice'>>
dtest_config = <dtest_config.DTestConfig object at 0x7feb64f18a90>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7feb5c381fd0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7feb666ee5e0>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7feb5c04ce80>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_super_cf_remove_and_range_slice'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_scan // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_index_scan'>>
dtest_config = <dtest_config.DTestConfig object at 0x7feb64f18a90>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7feb5c3584f0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7feb666ee5e0>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7feb5c358700>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_index_scan'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_dead_coordinator // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_dead_coordinator'>>
dtest_config = <dtest_config.DTestConfig object at 0x7feb64f18a90>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7feb64340b20>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7feb666ee5e0>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7feb5c3406d0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_dead_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_validate_empty_column_name // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_validate_empty_column_name'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fa8209fe670>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fa81d5d6b80>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fa8221b8670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fa820dbfb80>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_validate_empty_column_name'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_range_slice_query_with_tombstones // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_range_slice_query_with_tombstones'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fa8209fe670>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fa820c027c0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fa8221b8670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fa82215ebb0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_range_slice_query_with_tombstones'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_super_cf_remove_column // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_super_cf_remove_column'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fa8209fe670>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fa820a081c0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fa8221b8670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fa8209c3ca0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_super_cf_remove_column'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'
dtest_setup.py:351: AttributeError
------------------------------------------------------------------------------------
Cassandra dtests // test_index_scan_uuid_names // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_index_scan_uuid_names'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fa8209fe670>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fa820a08400>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fa8221b8670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fa820a082e0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_index_scan_uuid_names'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_range_with_remove_cf // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_range_with_remove_cf'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f8e8a149d30>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f8e7abead00>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f8e8baf9550>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f8e7ae9c640>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_range_with_remove_cf'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_cql_range_tombstone_and_static // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_cql_range_tombstone_and_static'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f8e8a149d30>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f8e7aebae80>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f8e8baf9550>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f8e8a41bb20>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_cql_range_tombstone_and_static'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'
dtest_setup.py:351: AttributeError
------------------------------------------------------------------------------------
Cassandra dtests // test_force_repair_range_async_1 // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_force_repair_range_async_1'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f8e8a149d30>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f8e8a307cd0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f8e8baf9550>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f8e7aec8c40>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_force_repair_range_async_1'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_range_collation // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_range_collation'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f3128e648e0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f3128569430>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f312a80a5e0>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f31290ccdc0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_range_collation'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_compact_storage_get // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_compact_storage_get'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f3128e648e0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f3128fe1250>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f312a80a5e0>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f3128fe1a30>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_compact_storage_get'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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 // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_datetimeformat_round_trip'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f3128e648e0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f3128e50e20>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f312a80a5e0>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f3129480b80>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_datetimeformat_round_trip'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'
dtest_setup.py:351: AttributeError
------------------------------------------------------------------------------------
Cassandra dtests // test_force_repair_range_async_2 // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_force_repair_range_async_2'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f3128e648e0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f312956e7f0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f312a80a5e0>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f312956e970>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_force_repair_range_async_2'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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 0x7f6068a298e0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f6068c9a3a0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f606a3d9790>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f606819ebb0>
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_range_partial // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_range_partial'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f6068a298e0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f60680ec190>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f606a3d9790>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f6063f66ac0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_range_partial'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_range_tombstone_eoc_0 // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_range_tombstone_eoc_0'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f6068a298e0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f6068d692e0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f606a3d9790>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f6068d50940>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_range_tombstone_eoc_0'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_repair_range_async_3 // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_force_repair_range_async_3'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f6068a298e0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f6069002340>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f606a3d9790>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f6063eb4580>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_force_repair_range_async_3'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_8280_validate_indexed_values_compact // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_8280_validate_indexed_values_compact'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fbed4990be0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fbed047ed90>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fbed6153700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fbed0b5ea30>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_8280_validate_indexed_values_compact'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'
dtest_setup.py:351: AttributeError
------------------------------------------------------------------------------------
Cassandra dtests // test_wrapped_range_slices // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_wrapped_range_slices'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fbed4990be0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fbed4e4e1f0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fbed6153700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fbed0b2bb50>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_wrapped_range_slices'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_cql3_insert_thrift // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_cql3_insert_thrift'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f9c4e3b2b50>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f9c4da5fac0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f9c4fd62700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f9c4da169a0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_cql3_insert_thrift'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_sc_with_row_cache // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_sc_with_row_cache'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f9c4e3b2b50>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f9c3edd7310>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f9c4fd62700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f9c3edd7eb0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_sc_with_row_cache'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_describe_ring // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_describe_ring'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f9c4e3b2b50>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f9c4e6e6310>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f9c4fd62700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f9c4e6e64f0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_describe_ring'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_rename // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_rename'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fb97f6b84f0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fb97f70dca0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fb980e5a790>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fb97fa9d3d0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_rename'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_paging_on_compact_table_with_tombstone_on_first_column /
/ Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_paging_on_compact_table_with_tombstone_on_first_column'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fb97f6b84f0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fb97fb2c970>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fb980e5a790>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fb97f657970>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_paging_on_compact_table_with_tombstone_on_first_column'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'
dtest_setup.py:351: AttributeError
------------------------------------------------------------------------------------
Cassandra dtests // test_functional // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_functional'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fb97f6b84f0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fb965aa8f70>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fb980e5a790>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fb96500a4f0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_functional'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_describe_token_map // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_describe_token_map'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fb97f6b84f0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fb967a87490>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fb980e5a790>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fb967a878e0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_describe_token_map'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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 0x7f5c12179730>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f5c12179df0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f5c139165e0>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f5c11fb9160>
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_describe_partitioner // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_describe_partitioner'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f5c12179730>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f5be3cbd070>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f5c139165e0>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f5c1052e430>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_describe_partitioner'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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 0x7f0fa9984c10>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f0fa99849a0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f0fab120790>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f0fa9754df0>
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_paging_with_no_clustering_columns_compact // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_paging_with_no_clustering_columns_compact'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f0fa9984c10>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f0fa85d3610>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f0fab120790>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f0fa9d71ac0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_paging_with_no_clustering_columns_compact'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'
dtest_setup.py: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 0x7f0fa9984c10>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f0fa9a1d5b0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f0fab120790>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f0fa9d71130>
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_describe_snitch // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_describe_snitch'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f0fa9984c10>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f0fa9d0dbb0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f0fab120790>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f0fa0525b80>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_describe_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_closing_connections // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_closing_connections'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fd5caeeba60>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fd5ca072fd0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fd5cc64e670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fd5ca09d370>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_closing_connections'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_invalid_ks_names // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_invalid_ks_names'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fd5caeeba60>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fd5cad0d8e0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fd5cc64e670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fd5cad0da00>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_invalid_ks_names'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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 0x7fb425c4ebe0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fb424dc13a0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fb42753e790>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fb424dc1730>
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_6285 // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_6285'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fb425c4ebe0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fb425e2fbe0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fb42753e790>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fb425e10d00>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_6285'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_invalid_strategy_class // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_invalid_strategy_class'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fb425c4ebe0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fb425e05b20>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fb42753e790>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fb425294820>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_invalid_strategy_class'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_compact_storage_flag // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_drop_compact_storage_flag'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fc7c04f9c70>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fc7bf91a910>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fc7c1bda670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fc7bf937c70>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_drop_compact_storage_flag'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'
dtest_setup.py:351: AttributeError
------------------------------------------------------------------------------------
Cassandra dtests // test_paging_for_range_name_queries_compact // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_paging_for_range_name_queries_compact'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fc7c04f9c70>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fc7c08528e0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fc7c1bda670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fc7c07c9c40>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_paging_for_range_name_queries_compact'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'
dtest_setup.py:351: AttributeError
------------------------------------------------------------------------------------
Cassandra dtests // test_insert // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_insert'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fc7c04f9c70>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fc7bf48f4f0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fc7c1bda670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fc7bf48f460>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_insert'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'
dtest_setup.py:351: AttributeError
------------------------------------------------------------------------------------
Cassandra dtests // test_invalid_cf_names // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_invalid_cf_names'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fc7c04f9c70>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fc7c04767f0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fc7c1bda670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fc7c04168e0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_invalid_cf_names'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_14766 // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_14766'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fce4ab0b760>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fce4b0d3070>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fce4c443670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fce4b0d3160>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_14766'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'
dtest_setup.py:351: AttributeError
------------------------------------------------------------------------------------
Cassandra dtests // test_empty_slice // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_empty_slice'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fce4ab0b760>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fce4b0b3700>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fce4c443670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fce4b065a90>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_empty_slice'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_system_cf_recreate // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_system_cf_recreate'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fce4ab0b760>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fce4ad58e80>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fce4c443670>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fce4ad58850>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_system_cf_recreate'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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 0x7f49491c60a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f49491c62e0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f494abad700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f49494c5a30>
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_cas // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_cas'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f49491c60a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f491c3ad790>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f494abad700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f491c3add00>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_cas'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_system_keyspace_operations // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_system_keyspace_operations'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f49491c60a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f491c6889d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f494abad700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f491c688250>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_system_keyspace_operations'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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 0x7f49491c60a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f491c492d60>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f494abad700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f491c492550>
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_force_repair_async_1 // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_force_repair_async_1'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f49491c60a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f491c3a5bb0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f494abad700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f491c40f670>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_force_repair_async_1'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_missing_super // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_missing_super'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f2158549130>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f2155b90460>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f2159eb3700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f2157c17d60>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_missing_super'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_then_drop_ks // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_create_then_drop_ks'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f2158549130>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f21586b09a0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f2159eb3700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f21586b09d0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_create_then_drop_ks'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_repair_async_2 // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_force_repair_async_2'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f2158549130>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f21586f1760>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f2159eb3700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f21586f1bb0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_force_repair_async_2'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_table_compact_storage // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_table_compact_storage'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fbf904cebb0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fbf909a9a90>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fbf91ccf550>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fbf909066d0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_table_compact_storage'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_get_slice_by_names // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_get_slice_by_names'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fbf904cebb0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fbf9046b0d0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fbf91ccf550>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fbf8c6a49a0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_get_slice_by_names'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_dead_coordinator // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_dead_coordinator'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fbf904cebb0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fbf8e7c8040>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fbf91ccf550>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fbf8c794610>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_dead_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_count // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_count'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f8c843ea1f0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f8c84679b20>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f8c85cb58b0>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f8c84679e50>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_count'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'
dtest_setup.py:351: AttributeError
------------------------------------------------------------------------------------
Cassandra dtests // test_column_validators // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_column_validators'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f8c843ea1f0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f8c8497d880>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f8c85cb58b0>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f8c8497ddf0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_column_validators'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_repair_async_3 // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_force_repair_async_3'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f8c843ea1f0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f8c84a0ae50>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f8c85cb58b0>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f8c843ea490>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_force_repair_async_3'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_count_paging // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_count_paging'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fbd11c15430>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fbd11d301f0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fbd1336d700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fbd11d30dc0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_count_paging'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'
dtest_setup.py:351: AttributeError
------------------------------------------------------------------------------------
Cassandra dtests // test_system_column_family_operations // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_system_column_family_operations'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fbd11c15430>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fbd11a7aa60>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fbd1336d700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fbd119b81c0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_system_column_family_operations'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_repair_range_async_1 // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_force_repair_range_async_1'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fbd11c15430>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fbd11fd65b0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fbd1336d700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fbd02f6e1f0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_force_repair_range_async_1'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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 0x7fb310bcf6a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fb31003ec70>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fb31226e820>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fb30bdf3730>
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_count_around_page_size // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_count_around_page_size'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fb310bcf6a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fb310bf0a60>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fb31226e820>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fb30bfeef70>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_count_around_page_size'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_dynamic_indexes_creation_deletion // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_dynamic_indexes_creation_deletion'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fb310bcf6a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fb310c3cf70>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fb31226e820>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fb310c3c850>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_dynamic_indexes_creation_deletion'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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 // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_datetimeformat_round_trip'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fb310bcf6a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fb30a5f7c10>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fb31226e820>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fb3100599d0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_datetimeformat_round_trip'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'
dtest_setup.py:351: AttributeError
------------------------------------------------------------------------------------
Cassandra dtests // test_force_repair_range_async_2 // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_force_repair_range_async_2'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fb310bcf6a0>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fb310c3f700>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fb31226e820>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fb310c3f9a0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_force_repair_range_async_2'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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 0x7f667228b580>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f66716c1d00>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f667392e790>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f66716c1df0>
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_super_insert // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_super_insert'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f667228b580>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f66714dde80>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f667392e790>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f66720ea280>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_super_insert'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'
dtest_setup.py:351: AttributeError
------------------------------------------------------------------------------------
Cassandra dtests // test_dynamic_indexes_with_system_update_cf // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_dynamic_indexes_with_system_update_cf'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f667228b580>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f66705602b0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f667392e790>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f6670560100>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_dynamic_indexes_with_system_update_cf'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_repair_range_async_3 // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_force_repair_range_async_3'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f667228b580>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f667065d730>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f667392e790>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7f66715637f0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_force_repair_range_async_3'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_populate_mv_after_insert_wide_rows // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_populate_mv_after_insert_wide_rows'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fc48e35fd60>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fc48e991490>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fc48fd26700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fc48da81a30>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_populate_mv_after_insert_wide_rows'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.keep_failed_test_dir and
request and request.node.rep_call.failed):
E AttributeError: 'Function' object has no attribute 'rep_call'
dtest_setup.py:351: AttributeError
------------------------------------------------------------------------------------
Cassandra dtests // test_super_get // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_super_get'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fc48e35fd60>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fc46b0c5040>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fc48fd26700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fc48e3c59a0>
request = <SubRequest 'fixture_dtest_setup' for <Function 'test_super_get'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_system_super_column_family_operations // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_system_super_column_family_operations'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fc48e35fd60>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fc48e53c760>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fc48fd26700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fc48eb950a0>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_system_super_column_family_operations'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_deprecated_repair_error_notification // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_deprecated_repair_error_notification'>>
dtest_config = <dtest_config.DTestConfig object at 0x7fc48e35fd60>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7fc48e433400>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7fc48fd26700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our teardown and cleanup operations
reset_environment_vars(initial_environment)
dtest_setup.jvm_args = []
for con in dtest_setup.connections:
con.cluster.shutdown()
dtest_setup.connections = []
failed = False
try:
if not dtest_setup.allow_log_errors:
errors = check_logs_for_errors(dtest_setup)
if len(errors) > 0:
failed = True
pytest.fail(msg='Unexpected error found in node logs (see stdout for full details).
Errors: [{errors}]'
.format(errors=str.join(", ", errors)), pytrace=False)
finally:
try:
# save the logs for inspection
if failed or not dtest_config.delete_logs:
copy_logs(request, dtest_setup.cluster)
except Exception as e:
logger.error("Error saving log:", str(e))
finally:
> dtest_setup.cleanup_cluster(request)
conftest.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dtest_setup.DTestSetup object at 0x7fc48e433d60>
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_deprecated_repair_error_notification'>>
def cleanup_cluster(self, request=None):
with log_filter('cassandra'): # quiet noise from driver when nodes start going down
> if self.dtest_config.keep_test_dir or (self.dtest_config.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_super_subcolumn_limit // Error
test teardown failure
request = <SubRequest 'fixture_dtest_setup' for <Function
'test_super_subcolumn_limit'>>
dtest_config = <dtest_config.DTestConfig object at 0x7f216ee53430>
fixture_dtest_setup_overrides = <dtest_setup_overrides.DTestSetupOverrides object at
0x7f216f3177c0>
fixture_logging_setup = None, fixture_dtest_cluster_name = 'test'
fixture_dtest_create_cluster_func = <function DTestSetup.create_ccm_cluster at
0x7f21706b3700>
@pytest.fixture(scope='function', autouse=False)
def fixture_dtest_setup(request,
dtest_config,
fixture_dtest_setup_overrides,
fixture_logging_setup,
fixture_dtest_cluster_name,
fixture_dtest_create_cluster_func):
if running_in_docker():
cleanup_docker_environment_before_test_execution()
# do all of our setup operations to get the enviornment ready for the actual test
# to run (e.g. bring up a cluster with the necessary config, populate variables,
etc)
initial_environment = copy.deepcopy(os.environ)
dtest_setup = DTestSetup(dtest_config=dtest_config,
setup_overrides=fixture_dtest_setup_overrides,
cluster_name=fixture_dtest_cluster_name)
dtest_setup.initialize_cluster(fixture_dtest_create_cluster_func)
if not dtest_config.disable_active_log_watching:
dtest_setup.begin_active_log_watch()
# at this point we're done with our setup operations in this fixture
# yield to allow the actual test to run
yield dtest_setup
# phew! we're back after executing the test, now we need to do
# all of our tear