Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions tests/e2e_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -2246,15 +2246,13 @@ def run_initial_tcb_version_checks(const_args):


def run_recovery_local_unsealing(
const_args, recovery_f=0, rekey=False, recovery_shares_refresh=False
const_args, suffix, recovery_f=0, rekey=False, recovery_shares_refresh=False
):
LOG.info("Running recovery local unsealing")
args = copy.deepcopy(const_args)
args.nodes = infra.e2e_args.min_nodes(args, f=1)
args.enable_local_sealing = True
args.label += (
f"_unsealing_{recovery_f}_rekey_{rekey}_refresh_{recovery_shares_refresh}"
)
args.label += suffix
Comment thread
eddyashton marked this conversation as resolved.

with infra.network.network(args.nodes, args.binary_dir) as network:
network.start_and_open(args)
Expand Down Expand Up @@ -2935,10 +2933,14 @@ def run_propose_request_vote(const_args):
def run_snp_tests(args):
run_initial_uvm_descriptor_checks(args)
run_initial_tcb_version_checks(args)
run_recovery_local_unsealing(args)
run_recovery_local_unsealing(args, rekey=True)
run_recovery_local_unsealing(args, recovery_shares_refresh=True)
run_recovery_local_unsealing(args, recovery_f=1)
run_recovery_local_unsealing(args, suffix="_unsealing")
run_recovery_local_unsealing(args, rekey=True, suffix="_unsealing_with_rekey")
run_recovery_local_unsealing(
args,
recovery_shares_refresh=True,
suffix="_unsealing_with_recovery_shares_refresh",
)
run_recovery_local_unsealing(args, recovery_f=1, suffix="_unsealing_with_f_equal_1")
run_recovery_unsealing_validate_audit(args)
test_error_message_on_failure_to_read_aci_sec_context(args)
run_self_healing_open(args)
Expand Down