diff --git a/CHANGELOG.md b/CHANGELOG.md index 88149a2..24b1aee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## [1.0.4] - 2020-05-22 +- Added check in one time boot test to verify 'Continuous' is allowed for configuring the boot object +- Enhanced error reporting in one time boot test to make better use of exception handling for reporting test errors + ## [1.0.3] - 2020-05-14 - Increased minimum version of redfish_utilities to 1.0.6 - Added a new check in the power/thermal test to verify sensors do not have bogus readings diff --git a/one_time_boot/one_time_boot_check.py b/one_time_boot/one_time_boot_check.py index 9604159..196b0a1 100644 --- a/one_time_boot/one_time_boot_check.py +++ b/one_time_boot/one_time_boot_check.py @@ -124,7 +124,7 @@ raise ValueError( "{} did not reset back to 'Disabled'".format( system ) ) except Exception as err: print( "ERROR: {} failed to boot from {}!".format( system, test_path ) ) - results.update_test_results( "Boot Verify", 1, "{}".format( err) ) + results.update_test_results( "Boot Verify", 1, "{}".format( err ) ) except Exception as err: print( "ERROR: Failed to set {} to boot from {}!".format( system, test_path ) ) results.update_test_results( "Boot Set", 1, "Failed to set {} to boot from {} ({})".format( system, test_path, err ) ) @@ -132,7 +132,7 @@ # Cleanup (should be clean already if everything passed) try: - redfish_utilities.set_system_boot( redfish_obj, system_id = system, ov_target = "None", ov_enabled = "Disabled") + redfish_utilities.set_system_boot( redfish_obj, system_id = system, ov_target = "None", ov_enabled = "Disabled" ) except: pass