File tree Expand file tree Collapse file tree 6 files changed +24
-2
lines changed Expand file tree Collapse file tree 6 files changed +24
-2
lines changed Original file line number Diff line number Diff line change @@ -745,6 +745,18 @@ Power Cycle On
745745 END
746746 IF '${DEFAULT_POWER_STATE_AFTER_FAIL } ' == 'Powered Off' Rte Power On
747747
748+ IF '${CHECK_POWER_LED_SUPPORT } ' == '${TRUE } '
749+ FOR ${i } IN RANGE 5
750+ ${out } = Rte Check Power Led
751+ IF '${out } ' == 'high' RETURN
752+ Sleep 1s
753+ END
754+ IF '${out } ' != 'high'
755+ FAIL Power LED didn't light up! Setup needs manual verification,
756+ ... or Power State After Power Failure is set incorrectly.
757+ END
758+ END
759+
748760OBMC Power Cycle On
749761 [Documentation] Clears obmc-console-client buffer and perform full power
750762 ... cycle with Chassis and Host State Control
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ ${INTERNAL_PROGRAMMER_CHIPNAME}= "Opaque flash chip"
2929${FLASHING_METHOD } = external
3030${SNIPEIT } = yes
3131${SEABIOS_BOOT_DEVICE } = ${EMPTY }
32+ ${CHECK_POWER_LED_SUPPORT } = ${FALSE }
3233
3334# See: https://github.com/Dasharo/dasharo-issues/issues/614
3435${LAPTOP_EC_SERIAL_WORKAROUND } = ${FALSE }
Original file line number Diff line number Diff line change @@ -6,7 +6,9 @@ Resource ../../keys.robot
66*** Variables ***
77${INITIAL_DUT_CONNECTION_METHOD } = Telnet
88${DUT_CONNECTION_METHOD } = ${INITIAL_DUT_CONNECTION_METHOD }
9- ${PAYLOAD } = tianocore
9+ ${BIOS_LIB } = seabios
10+ ${FW_STRING } = F10
11+ ${SEABIOS_BOOT_DEVICE } = 4
1012${RTE_S2_N_PORT } = 13541
1113${FLASH_SIZE } = ${8 *1024*1024 }
1214${FLASH_LENGTH } = ${TBD }
@@ -102,3 +104,8 @@ ${USB_TYPE-A_DEVICES_DETECTION_SUPPORT}= ${TRUE}
102104
103105# Test module: trenchboot
104106${TRENCHBOOT_SUPPORT } = ${TRUE }
107+ ${CHECK_POWER_LED_SUPPORT } = ${TRUE }
108+
109+ *** Keywords ***
110+ Power On
111+ Power On Default
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ ${CPU}= ${TBD}
2020${POWER_CTRL } = RteCtrl
2121${FLASH_VERIFY_METHOD } = tianocore-shell
2222${FLASH_VERIFY_OPTION } = UEFI Shell
23+ ${CHECK_POWER_LED_SUPPORT } = ${TRUE }
2324
2425${DMIDECODE_SERIAL_NUMBER } = N/A
2526${DMIDECODE_MANUFACTURER } = Protectli
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ ${TESTS_IN_WINDOWS_SUPPORT}= ${FALSE}
3333
3434# Regression test flags
3535${CUSTOM_BOOT_MENU_KEY_SUPPORT } = ${TRUE }
36+ ${CHECK_POWER_LED_SUPPORT } = ${TRUE }
3637
3738
3839*** Keywords ***
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ MarkupSafe==2.1.5
2222mdurl == 0.1.2
2323nodeenv == 1.8.0
2424oauth2client == 4.1.3
25- osfv @ git+https://github.com/Dasharo/osfv-scripts.git@36a030eb006391c3761c25d6972036a5a34fb73b #subdirectory=osfv_cli
25+ osfv @ git+https://github.com/Dasharo/osfv-scripts.git@solve-pwon #subdirectory=osfv_cli
2626paramiko == 3.4.0
2727pathspec == 0.9.0
2828pexpect == 4.9.0
You can’t perform that action at this time.
0 commit comments