@@ -1536,6 +1536,10 @@ def make_test_bucket():
15361536 cold_bilog = bilog_list (zone .zone , cold_bucket .name )
15371537 assert (len (cold_bilog ) == 0 )
15381538
1539+ # TODO: disable failing tests temporarily
1540+ # until they are fixed
1541+
1542+ @attr ('fails_with_rgw' )
15391543def test_bucket_reshard_index_log_trim ():
15401544 zonegroup = realm .master_zonegroup ()
15411545 zonegroup_conns = ZonegroupConns (zonegroup )
@@ -1766,6 +1770,8 @@ def bucket_keys_eq(zone1, zone2, bucket_name):
17661770 zone2 .name )
17671771 assert False
17681772
1773+
1774+ @attr ('fails_with_rgw' )
17691775@attr ('bucket_reshard' )
17701776def test_bucket_sync_run_basic_incremental ():
17711777 """
@@ -1831,6 +1837,7 @@ def trash_bucket(zone, bucket_name):
18311837 cmd += ['--bucket' , bucket_name ]
18321838 zone .cluster .admin (cmd )
18331839
1840+ @attr ('fails_with_rgw' )
18341841@attr ('bucket_reshard' )
18351842def test_zap_init_bucket_sync_run ():
18361843 """
@@ -1952,6 +1959,7 @@ def test_object_acl():
19521959 after_set_acl = bucket2 .get_acl (k )
19531960 assert (len (after_set_acl .acl .grants ) == 2 ) # read grant added on AllUsers
19541961
1962+ @attr ('fails_with_rgw' )
19551963@attr ('data_sync_init' )
19561964def test_bucket_full_sync_after_data_sync_init ():
19571965 zonegroup = realm .master_zonegroup ()
@@ -1983,6 +1991,7 @@ def test_bucket_full_sync_after_data_sync_init():
19831991 zonegroup_bucket_checkpoint (zonegroup_conns , bucket .name )
19841992 zonegroup_data_checkpoint (zonegroup_conns )
19851993
1994+ @attr ('fails_with_rgw' )
19861995@attr ('data_sync_init' )
19871996@attr ('bucket_reshard' )
19881997def test_resharded_bucket_full_sync_after_data_sync_init ():
@@ -2023,6 +2032,7 @@ def test_resharded_bucket_full_sync_after_data_sync_init():
20232032 zonegroup_bucket_checkpoint (zonegroup_conns , bucket .name )
20242033 zonegroup_data_checkpoint (zonegroup_conns )
20252034
2035+ @attr ('fails_with_rgw' )
20262036@attr ('data_sync_init' )
20272037def test_bucket_incremental_sync_after_data_sync_init ():
20282038 zonegroup = realm .master_zonegroup ()
@@ -2060,6 +2070,7 @@ def test_bucket_incremental_sync_after_data_sync_init():
20602070 zonegroup_bucket_checkpoint (zonegroup_conns , bucket .name )
20612071 zonegroup_data_checkpoint (zonegroup_conns )
20622072
2073+ @attr ('fails_with_rgw' )
20632074@attr ('data_sync_init' )
20642075@attr ('bucket_reshard' )
20652076def test_resharded_bucket_incremental_sync_latest_after_data_sync_init ():
@@ -2108,6 +2119,7 @@ def test_resharded_bucket_incremental_sync_latest_after_data_sync_init():
21082119 zonegroup_bucket_checkpoint (zonegroup_conns , bucket .name )
21092120 zonegroup_data_checkpoint (zonegroup_conns )
21102121
2122+ @attr ('fails_with_rgw' )
21112123@attr ('data_sync_init' )
21122124@attr ('bucket_reshard' )
21132125def test_resharded_bucket_incremental_sync_oldest_after_data_sync_init ():
@@ -2301,6 +2313,7 @@ def check_objects_not_exist(bucket, obj_arr):
23012313 for objname in obj_arr :
23022314 check_object_not_exists (bucket , objname )
23032315
2316+ @attr ('fails_with_rgw' )
23042317@attr ('sync_policy' )
23052318def test_sync_policy_config_zonegroup ():
23062319 """
@@ -2372,6 +2385,7 @@ def test_sync_policy_config_zonegroup():
23722385
23732386 return
23742387
2388+ @attr ('fails_with_rgw' )
23752389@attr ('sync_policy' )
23762390def test_sync_flow_symmetrical_zonegroup_all ():
23772391 """
@@ -2429,6 +2443,7 @@ def test_sync_flow_symmetrical_zonegroup_all():
24292443 remove_sync_policy_group (c1 , "sync-group" )
24302444 return
24312445
2446+ @attr ('fails_with_rgw' )
24322447@attr ('sync_policy' )
24332448def test_sync_flow_symmetrical_zonegroup_select ():
24342449 """
@@ -2497,6 +2512,7 @@ def test_sync_flow_symmetrical_zonegroup_select():
24972512 remove_sync_policy_group (c1 , "sync-group" )
24982513 return
24992514
2515+ @attr ('fails_with_rgw' )
25002516@attr ('sync_policy' )
25012517def test_sync_flow_directional_zonegroup_select ():
25022518 """
@@ -2614,6 +2630,7 @@ def test_sync_flow_directional_zonegroup_select():
26142630 remove_sync_policy_group (c1 , "sync-group" )
26152631 return
26162632
2633+ @attr ('fails_with_rgw' )
26172634@attr ('sync_policy' )
26182635def test_sync_single_bucket ():
26192636 """
@@ -2726,6 +2743,7 @@ def test_sync_single_bucket():
27262743 remove_sync_policy_group (c1 , "sync-group" )
27272744 return
27282745
2746+ @attr ('fails_with_rgw' )
27292747@attr ('sync_policy' )
27302748def test_sync_different_buckets ():
27312749 """
@@ -2875,6 +2893,7 @@ def test_sync_different_buckets():
28752893 remove_sync_policy_group (c1 , "sync-group" )
28762894 return
28772895
2896+ @attr ('fails_with_rgw' )
28782897@attr ('sync_policy' )
28792898def test_sync_multiple_buckets_to_single ():
28802899 """
@@ -2996,6 +3015,7 @@ def test_sync_multiple_buckets_to_single():
29963015 remove_sync_policy_group (c1 , "sync-group" )
29973016 return
29983017
3018+ @attr ('fails_with_rgw' )
29993019@attr ('sync_policy' )
30003020def test_sync_single_bucket_to_multiple ():
30013021 """
@@ -3124,6 +3144,7 @@ def start_2nd_rgw(zonegroup):
31243144 z .gateways [1 ].start ()
31253145 log .info ('gateway started zone=%s gateway=%s' , z .name , z .gateways [1 ].endpoint ())
31263146
3147+ @attr ('fails_with_rgw' )
31273148@attr ('rgw_down' )
31283149def test_bucket_create_rgw_down ():
31293150 zonegroup = realm .master_zonegroup ()
@@ -3141,6 +3162,7 @@ def test_bucket_create_rgw_down():
31413162 finally :
31423163 start_2nd_rgw (zonegroup )
31433164
3165+ @attr ('fails_with_rgw' )
31443166@attr ('rgw_down' )
31453167def test_bucket_remove_rgw_down ():
31463168 zonegroup = realm .master_zonegroup ()
@@ -3166,6 +3188,7 @@ def test_bucket_remove_rgw_down():
31663188 finally :
31673189 start_2nd_rgw (zonegroup )
31683190
3191+ @attr ('fails_with_rgw' )
31693192@attr ('rgw_down' )
31703193def test_object_sync_rgw_down ():
31713194 zonegroup = realm .master_zonegroup ()
@@ -3177,6 +3200,7 @@ def test_object_sync_rgw_down():
31773200 finally :
31783201 start_2nd_rgw (zonegroup )
31793202
3203+ @attr ('fails_with_rgw' )
31803204@attr ('rgw_down' )
31813205def test_object_delete_rgw_down ():
31823206 zonegroup = realm .master_zonegroup ()
@@ -3188,6 +3212,7 @@ def test_object_delete_rgw_down():
31883212 finally :
31893213 start_2nd_rgw (zonegroup )
31903214
3215+ @attr ('fails_with_rgw' )
31913216@attr ('rgw_down' )
31923217def test_concurrent_versioned_object_incremental_sync_rgw_down ():
31933218 zonegroup = realm .master_zonegroup ()
@@ -3199,6 +3224,7 @@ def test_concurrent_versioned_object_incremental_sync_rgw_down():
31993224 finally :
32003225 start_2nd_rgw (zonegroup )
32013226
3227+ @attr ('fails_with_rgw' )
32023228@attr ('rgw_down' )
32033229def test_suspended_delete_marker_full_sync_rgw_down ():
32043230 zonegroup = realm .master_zonegroup ()
@@ -3210,6 +3236,7 @@ def test_suspended_delete_marker_full_sync_rgw_down():
32103236 finally :
32113237 start_2nd_rgw (zonegroup )
32123238
3239+ @attr ('fails_with_rgw' )
32133240@attr ('rgw_down' )
32143241def test_bucket_acl_rgw_down ():
32153242 zonegroup = realm .master_zonegroup ()
@@ -3221,6 +3248,7 @@ def test_bucket_acl_rgw_down():
32213248 finally :
32223249 start_2nd_rgw (zonegroup )
32233250
3251+ @attr ('fails_with_rgw' )
32243252@attr ('rgw_down' )
32253253def test_bucket_sync_enable_right_after_disable_rgw_down ():
32263254 zonegroup = realm .master_zonegroup ()
@@ -3232,6 +3260,7 @@ def test_bucket_sync_enable_right_after_disable_rgw_down():
32323260 finally :
32333261 start_2nd_rgw (zonegroup )
32343262
3263+ @attr ('fails_with_rgw' )
32353264@attr ('rgw_down' )
32363265def test_multipart_object_sync_rgw_down ():
32373266 zonegroup = realm .master_zonegroup ()
@@ -3243,6 +3272,7 @@ def test_multipart_object_sync_rgw_down():
32433272 finally :
32443273 start_2nd_rgw (zonegroup )
32453274
3275+ @attr ('fails_with_rgw' )
32463276@attr ('rgw_down' )
32473277def test_bucket_sync_run_basic_incremental_rgw_down ():
32483278 zonegroup = realm .master_zonegroup ()
@@ -3254,6 +3284,7 @@ def test_bucket_sync_run_basic_incremental_rgw_down():
32543284 finally :
32553285 start_2nd_rgw (zonegroup )
32563286
3287+ @attr ('fails_with_rgw' )
32573288@attr ('rgw_down' )
32583289def test_role_sync_rgw_down ():
32593290 zonegroup = realm .master_zonegroup ()
@@ -3265,6 +3296,7 @@ def test_role_sync_rgw_down():
32653296 finally :
32663297 start_2nd_rgw (zonegroup )
32673298
3299+ @attr ('fails_with_rgw' )
32683300@attr ('rgw_down' )
32693301def test_bucket_full_sync_after_data_sync_init_rgw_down ():
32703302 zonegroup = realm .master_zonegroup ()
@@ -3276,6 +3308,7 @@ def test_bucket_full_sync_after_data_sync_init_rgw_down():
32763308 finally :
32773309 start_2nd_rgw (zonegroup )
32783310
3311+ @attr ('fails_with_rgw' )
32793312@attr ('rgw_down' )
32803313def test_sync_policy_config_zonegroup_rgw_down ():
32813314 zonegroup = realm .master_zonegroup ()
@@ -3287,6 +3320,7 @@ def test_sync_policy_config_zonegroup_rgw_down():
32873320 finally :
32883321 start_2nd_rgw (zonegroup )
32893322
3323+ @attr ('fails_with_rgw' )
32903324@attr ('rgw_down' )
32913325def test_sync_flow_symmetrical_zonegroup_all_rgw_down ():
32923326 zonegroup = realm .master_zonegroup ()
0 commit comments