@@ -1919,9 +1919,10 @@ def test_account_metadata_sync():
19191919 check_oidc_providers_eq (source_conn , target_conn )
19201920
19211921
1922- # TODO: move sync policy and endpoint tests into separate test file
1923- # fix data sync init tests
1924- '''
1922+ # TODO: disable failing tests temporarily
1923+ # until they are fixed
1924+
1925+ @attr ('fails_with_rgw' )
19251926def test_bucket_reshard_index_log_trim ():
19261927 zonegroup = realm .master_zonegroup ()
19271928 zonegroup_conns = ZonegroupConns (zonegroup )
@@ -2006,6 +2007,7 @@ def make_test_bucket():
20062007 test_bilog = bilog_list (zone .zone , test_bucket .name )
20072008 assert (len (test_bilog ) > 0 )
20082009
2010+ @attr ('fails_with_rgw' )
20092011@attr ('bucket_reshard' )
20102012def test_bucket_sync_run_basic_incremental ():
20112013 """
@@ -2071,6 +2073,7 @@ def trash_bucket(zone, bucket_name):
20712073 cmd += ['--bucket' , bucket_name ]
20722074 zone .cluster .admin (cmd )
20732075
2076+ @attr ('fails_with_rgw' )
20742077@attr ('bucket_reshard' )
20752078def test_zap_init_bucket_sync_run ():
20762079 """
@@ -2223,6 +2226,7 @@ def test_bucket_full_sync_after_data_sync_init():
22232226 zonegroup_bucket_checkpoint (zonegroup_conns , bucket .name )
22242227 zonegroup_data_checkpoint (zonegroup_conns )
22252228
2229+ @attr ('fails_with_rgw' )
22262230@attr ('data_sync_init' )
22272231@attr ('bucket_reshard' )
22282232def test_resharded_bucket_full_sync_after_data_sync_init ():
@@ -2263,6 +2267,7 @@ def test_resharded_bucket_full_sync_after_data_sync_init():
22632267 zonegroup_bucket_checkpoint (zonegroup_conns , bucket .name )
22642268 zonegroup_data_checkpoint (zonegroup_conns )
22652269
2270+ @attr ('fails_with_rgw' )
22662271@attr ('data_sync_init' )
22672272def test_bucket_incremental_sync_after_data_sync_init ():
22682273 zonegroup = realm .master_zonegroup ()
@@ -2300,6 +2305,7 @@ def test_bucket_incremental_sync_after_data_sync_init():
23002305 zonegroup_bucket_checkpoint (zonegroup_conns , bucket .name )
23012306 zonegroup_data_checkpoint (zonegroup_conns )
23022307
2308+ @attr ('fails_with_rgw' )
23032309@attr ('data_sync_init' )
23042310@attr ('bucket_reshard' )
23052311def test_resharded_bucket_incremental_sync_latest_after_data_sync_init ():
@@ -2348,6 +2354,7 @@ def test_resharded_bucket_incremental_sync_latest_after_data_sync_init():
23482354 zonegroup_bucket_checkpoint (zonegroup_conns , bucket .name )
23492355 zonegroup_data_checkpoint (zonegroup_conns )
23502356
2357+ @attr ('fails_with_rgw' )
23512358@attr ('data_sync_init' )
23522359@attr ('bucket_reshard' )
23532360def test_resharded_bucket_incremental_sync_oldest_after_data_sync_init ():
@@ -2509,6 +2516,7 @@ def remove_sync_group_pipe(cluster, group, pipe_id, bucket = None, args = None):
25092516 assert False , 'failed to remove sync group pipe groupid=%s, pipe_id=%s, src_zones=%s, dest_zones=%s, bucket=%s' % (group , pipe_id , src_zones , dest_zones , bucket )
25102517 return json .loads (result_json )
25112518
2519+ @attr ('fails_with_rgw' )
25122520@attr ('sync_policy' )
25132521def test_sync_policy_config_zonegroup ():
25142522 """
@@ -2580,6 +2588,7 @@ def test_sync_policy_config_zonegroup():
25802588
25812589 return
25822590
2591+ @attr ('fails_with_rgw' )
25832592@attr ('sync_policy' )
25842593def test_sync_flow_symmetrical_zonegroup_all ():
25852594 """
@@ -2637,6 +2646,7 @@ def test_sync_flow_symmetrical_zonegroup_all():
26372646 remove_sync_policy_group (c1 , "sync-group" )
26382647 return
26392648
2649+ @attr ('fails_with_rgw' )
26402650@attr ('sync_policy' )
26412651def test_sync_flow_symmetrical_zonegroup_select ():
26422652 """
@@ -2705,6 +2715,7 @@ def test_sync_flow_symmetrical_zonegroup_select():
27052715 remove_sync_policy_group (c1 , "sync-group" )
27062716 return
27072717
2718+ @attr ('fails_with_rgw' )
27082719@attr ('sync_policy' )
27092720def test_sync_flow_directional_zonegroup_select ():
27102721 """
@@ -2822,6 +2833,7 @@ def test_sync_flow_directional_zonegroup_select():
28222833 remove_sync_policy_group (c1 , "sync-group" )
28232834 return
28242835
2836+ @attr ('fails_with_rgw' )
28252837@attr ('sync_policy' )
28262838def test_sync_single_bucket ():
28272839 """
@@ -2934,6 +2946,7 @@ def test_sync_single_bucket():
29342946 remove_sync_policy_group (c1 , "sync-group" )
29352947 return
29362948
2949+ @attr ('fails_with_rgw' )
29372950@attr ('sync_policy' )
29382951def test_sync_different_buckets ():
29392952 """
@@ -3083,6 +3096,7 @@ def test_sync_different_buckets():
30833096 remove_sync_policy_group (c1 , "sync-group" )
30843097 return
30853098
3099+ @attr ('fails_with_rgw' )
30863100@attr ('sync_policy' )
30873101def test_sync_multiple_buckets_to_single ():
30883102 """
@@ -3204,6 +3218,7 @@ def test_sync_multiple_buckets_to_single():
32043218 remove_sync_policy_group (c1 , "sync-group" )
32053219 return
32063220
3221+ @attr ('fails_with_rgw' )
32073222@attr ('sync_policy' )
32083223def test_sync_single_bucket_to_multiple ():
32093224 """
@@ -3332,6 +3347,7 @@ def start_2nd_rgw(zonegroup):
33323347 z .gateways [1 ].start ()
33333348 log .info ('gateway started zone=%s gateway=%s' , z .name , z .gateways [1 ].endpoint ())
33343349
3350+ @attr ('fails_with_rgw' )
33353351@attr ('rgw_down' )
33363352def test_bucket_create_rgw_down ():
33373353 zonegroup = realm .master_zonegroup ()
@@ -3349,6 +3365,7 @@ def test_bucket_create_rgw_down():
33493365 finally :
33503366 start_2nd_rgw (zonegroup )
33513367
3368+ @attr ('fails_with_rgw' )
33523369@attr ('rgw_down' )
33533370def test_bucket_remove_rgw_down ():
33543371 zonegroup = realm .master_zonegroup ()
@@ -3374,6 +3391,7 @@ def test_bucket_remove_rgw_down():
33743391 finally :
33753392 start_2nd_rgw (zonegroup )
33763393
3394+ @attr ('fails_with_rgw' )
33773395@attr ('rgw_down' )
33783396def test_object_sync_rgw_down ():
33793397 zonegroup = realm .master_zonegroup ()
@@ -3385,6 +3403,7 @@ def test_object_sync_rgw_down():
33853403 finally :
33863404 start_2nd_rgw (zonegroup )
33873405
3406+ @attr ('fails_with_rgw' )
33883407@attr ('rgw_down' )
33893408def test_object_delete_rgw_down ():
33903409 zonegroup = realm .master_zonegroup ()
@@ -3396,6 +3415,7 @@ def test_object_delete_rgw_down():
33963415 finally :
33973416 start_2nd_rgw (zonegroup )
33983417
3418+ @attr ('fails_with_rgw' )
33993419@attr ('rgw_down' )
34003420def test_concurrent_versioned_object_incremental_sync_rgw_down ():
34013421 zonegroup = realm .master_zonegroup ()
@@ -3407,6 +3427,7 @@ def test_concurrent_versioned_object_incremental_sync_rgw_down():
34073427 finally :
34083428 start_2nd_rgw (zonegroup )
34093429
3430+ @attr ('fails_with_rgw' )
34103431@attr ('rgw_down' )
34113432def test_suspended_delete_marker_full_sync_rgw_down ():
34123433 zonegroup = realm .master_zonegroup ()
@@ -3418,6 +3439,7 @@ def test_suspended_delete_marker_full_sync_rgw_down():
34183439 finally :
34193440 start_2nd_rgw (zonegroup )
34203441
3442+ @attr ('fails_with_rgw' )
34213443@attr ('rgw_down' )
34223444def test_bucket_acl_rgw_down ():
34233445 zonegroup = realm .master_zonegroup ()
@@ -3429,6 +3451,7 @@ def test_bucket_acl_rgw_down():
34293451 finally :
34303452 start_2nd_rgw (zonegroup )
34313453
3454+ @attr ('fails_with_rgw' )
34323455@attr ('rgw_down' )
34333456def test_bucket_sync_enable_right_after_disable_rgw_down ():
34343457 zonegroup = realm .master_zonegroup ()
@@ -3440,6 +3463,7 @@ def test_bucket_sync_enable_right_after_disable_rgw_down():
34403463 finally :
34413464 start_2nd_rgw (zonegroup )
34423465
3466+ @attr ('fails_with_rgw' )
34433467@attr ('rgw_down' )
34443468def test_multipart_object_sync_rgw_down ():
34453469 zonegroup = realm .master_zonegroup ()
@@ -3451,6 +3475,7 @@ def test_multipart_object_sync_rgw_down():
34513475 finally :
34523476 start_2nd_rgw (zonegroup )
34533477
3478+ @attr ('fails_with_rgw' )
34543479@attr ('rgw_down' )
34553480def test_bucket_sync_run_basic_incremental_rgw_down ():
34563481 zonegroup = realm .master_zonegroup ()
@@ -3462,6 +3487,7 @@ def test_bucket_sync_run_basic_incremental_rgw_down():
34623487 finally :
34633488 start_2nd_rgw (zonegroup )
34643489
3490+ @attr ('fails_with_rgw' )
34653491@attr ('rgw_down' )
34663492def test_role_sync_rgw_down ():
34673493 zonegroup = realm .master_zonegroup ()
@@ -3473,6 +3499,7 @@ def test_role_sync_rgw_down():
34733499 finally :
34743500 start_2nd_rgw (zonegroup )
34753501
3502+ @attr ('fails_with_rgw' )
34763503@attr ('rgw_down' )
34773504def test_bucket_full_sync_after_data_sync_init_rgw_down ():
34783505 zonegroup = realm .master_zonegroup ()
@@ -3484,6 +3511,7 @@ def test_bucket_full_sync_after_data_sync_init_rgw_down():
34843511 finally :
34853512 start_2nd_rgw (zonegroup )
34863513
3514+ @attr ('fails_with_rgw' )
34873515@attr ('rgw_down' )
34883516def test_sync_policy_config_zonegroup_rgw_down ():
34893517 zonegroup = realm .master_zonegroup ()
@@ -3495,6 +3523,7 @@ def test_sync_policy_config_zonegroup_rgw_down():
34953523 finally :
34963524 start_2nd_rgw (zonegroup )
34973525
3526+ @attr ('fails_with_rgw' )
34983527@attr ('rgw_down' )
34993528def test_sync_flow_symmetrical_zonegroup_all_rgw_down ():
35003529 zonegroup = realm .master_zonegroup ()
@@ -3505,5 +3534,5 @@ def test_sync_flow_symmetrical_zonegroup_all_rgw_down():
35053534 test_sync_flow_symmetrical_zonegroup_all ()
35063535 finally :
35073536 start_2nd_rgw (zonegroup )
3508- '''
3537+
35093538
0 commit comments