diff --git a/robot/resources/lib/neofs.py b/robot/resources/lib/neofs.py index 134508c..722ae27 100644 --- a/robot/resources/lib/neofs.py +++ b/robot/resources/lib/neofs.py @@ -287,10 +287,15 @@ def verify_split_chain(private_key: str, cid: str, oid: str): # Recursive chain validation up to the first object final_verif_data = _verify_child_link(private_key, cid, oid, header_last_parsed, final_verif_data) break + logger.info(f"Found Split Object with header:\n\t{parsed_header_virtual}") + logger.info("Continue to search Last Split Object") - except: - if marker_last_obj == 0: - raise Exception("Latest object has not been found.") + except RuntimeError as e: + logger.info(f"Failed while collectiong Split Objects: {e}") + continue + + if marker_last_obj == 0: + raise Exception("Last object has not been found") # Get Linking object logger.info("Compare Split objects result information with Linking object.") @@ -333,9 +338,14 @@ def verify_split_chain(private_key: str, cid: str, oid: str): f"is not equal to expected ({final_verif_data['Split ID']})") break - except: - if marker_link_obj == 0: - raise Exception("Linked object has not been found.") + logger.info(f"Found Linking Object with header:\n\t{parsed_header_virtual}") + logger.info("Continue to search Linking Object") + except RuntimeError as e: + logger.info(f"Failed while collecting Split Object: {e}") + continue + + if marker_link_obj == 0: + raise Exception("Linked object has not been found") logger.info("Compare Split objects result information with Virtual object.") @@ -820,7 +830,7 @@ def get_object(private_key: str, cid: str, oid: str, bearer_token: str, file_path = f"{ASSETS_DIR}/{write_object}" - logger.info("Going to put the object") + logger.info("Going to get the object") if not endpoint: endpoint = random.sample(_get_storage_nodes(), 1)[0] diff --git a/robot/testsuites/integration/acl/acl_extended_actions_other.robot b/robot/testsuites/integration/acl/acl_extended_actions_other.robot index ec8ce15..1b6351e 100644 --- a/robot/testsuites/integration/acl/acl_extended_actions_other.robot +++ b/robot/testsuites/integration/acl/acl_extended_actions_other.robot @@ -1,14 +1,15 @@ *** Settings *** Variables ../../../variables/common.py -Library Collections -Library ../${RESOURCES}/neofs.py -Library ../${RESOURCES}/payment_neogo.py +Library Collections +Library neofs.py +Library payment_neogo.py +Library acl.py Resource common_steps_acl_extended.robot Resource ../${RESOURCES}/payment_operations.robot Resource ../${RESOURCES}/setup_teardown.robot -Resource ../../../variables/eacl_tables.robot +Resource ../../../variables/eacl_tables.robot *** Test cases *** Extended ACL Operations diff --git a/robot/testsuites/integration/acl/acl_extended_actions_system.robot b/robot/testsuites/integration/acl/acl_extended_actions_system.robot index 24fd155..fe5e88b 100644 --- a/robot/testsuites/integration/acl/acl_extended_actions_system.robot +++ b/robot/testsuites/integration/acl/acl_extended_actions_system.robot @@ -1,9 +1,10 @@ *** Settings *** Variables ../../../variables/common.py -Library Collections -Library ../${RESOURCES}/neofs.py -Library ../${RESOURCES}/payment_neogo.py +Library Collections +Library neofs.py +Library payment_neogo.py +Library acl.py Resource common_steps_acl_extended.robot Resource ../${RESOURCES}/payment_operations.robot diff --git a/robot/testsuites/integration/acl/acl_extended_actions_user.robot b/robot/testsuites/integration/acl/acl_extended_actions_user.robot index aed4827..e5f7df7 100644 --- a/robot/testsuites/integration/acl/acl_extended_actions_user.robot +++ b/robot/testsuites/integration/acl/acl_extended_actions_user.robot @@ -1,8 +1,9 @@ *** Settings *** Variables ../../../variables/common.py -Library Collections -Library ../${RESOURCES}/neofs.py -Library ../${RESOURCES}/payment_neogo.py +Library Collections +Library neofs.py +Library payment_neogo.py +Library acl.py Resource common_steps_acl_extended.robot Resource ../${RESOURCES}/payment_operations.robot diff --git a/robot/testsuites/integration/acl/acl_extended_compound.robot b/robot/testsuites/integration/acl/acl_extended_compound.robot index 6700841..e2086cb 100644 --- a/robot/testsuites/integration/acl/acl_extended_compound.robot +++ b/robot/testsuites/integration/acl/acl_extended_compound.robot @@ -1,8 +1,9 @@ *** Settings *** Variables ../../../variables/common.py -Library Collections -Library ../${RESOURCES}/neofs.py -Library ../${RESOURCES}/payment_neogo.py +Library Collections +Library neofs.py +Library payment_neogo.py +Library acl.py Resource common_steps_acl_extended.robot Resource ../${RESOURCES}/payment_operations.robot