Skip to content

Commit

Permalink
Merge pull request #46 from DMTF/1.0.4-Tagging
Browse files Browse the repository at this point in the history
1.0.4 Versioning
  • Loading branch information
mraineri committed May 22, 2020
2 parents d3a3df9 + 5cc2013 commit ec3016f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions one_time_boot/one_time_boot_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,15 +124,15 @@
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 ) )
results.update_test_results( "Boot Verify", 0, "Boot setting not applied", skipped = True )

# 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

Expand Down

0 comments on commit ec3016f

Please sign in to comment.