Skip to content

Commit 58161fd

Browse files
committed
cpu-fan-speed-measure.robot: Ubuntu boot added to test cases & KW.
This is a fix for following issue: without Boot System Or From Connected Disk KW Suite Setup timed out on Login To Linux, despite correct Ubuntu boot & working serial terminal. Explicit OS boot is common practice in Ubuntu-specefic tests. Signed-off-by: Mateusz Maciejewski <[email protected]>
1 parent fcc1987 commit 58161fd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

dasharo-compatibility/cpu-fan-speed-measure.robot

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ FAN001.201 CPU fan speed measure
3030
... current speed.
3131
Skip If not ${TESTS_IN_UBUNTU_SUPPORT} FAN001.201 not supported
3232
Power On
33+
Boot System Or From Connected Disk ${ENV_ID_UBUNTU}
3334
Login To Linux
3435
${output}= Execute Linux Command
3536
... sensors | grep "CPU 0:" | awk 'NR==1 {print $3}'
@@ -40,6 +41,7 @@ FAN002.201 All available fans are running
4041
[Documentation] Check if all available fans are running
4142
Skip If not ${TESTS_IN_UBUNTU_SUPPORT} FAN002.201 not supported
4243
Power On
44+
Boot System Or From Connected Disk ${ENV_ID_UBUNTU}
4345
Login To Linux
4446
Switch To Root User
4547
Stress Test
@@ -58,6 +60,7 @@ FAN003.201 Fans are turning off during suspend mode with ME Enabled
5860
Skip If not ${TESTS_IN_UBUNTU_SUPPORT} FAN003.201 not supported
5961
Power On
6062
Set UEFI Option MeMode Enabled
63+
Boot System Or From Connected Disk ${ENV_ID_UBUNTU}
6164
Login To Linux
6265
Switch To Root User
6366
Log To Console \nFan test started, please check fan state manually
@@ -70,6 +73,7 @@ FAN004.201 Fans are turning off during suspend mode with ME Soft disabled
7073
Skip If not ${TESTS_IN_UBUNTU_SUPPORT} FAN004.201 not supported
7174
Power On
7275
Set UEFI Option MeMode Disabled (Soft)
76+
Boot System Or From Connected Disk ${ENV_ID_UBUNTU}
7377
Login To Linux
7478
Switch To Root User
7579
Log To Console \nFan test started, please check fan state manually
@@ -82,6 +86,7 @@ FAN005.201 Fans are turning off during suspend mode with ME HAP disabled
8286
Skip If not ${TESTS_IN_UBUNTU_SUPPORT} FAN005.201 not supported
8387
Power On
8488
Set UEFI Option MeMode Disabled (HAP)
89+
Boot System Or From Connected Disk ${ENV_ID_UBUNTU}
8590
Login To Linux
8691
Switch To Root User
8792
Log To Console \nFan test started, please check fan state manually
@@ -95,6 +100,7 @@ FAN006.201 GPU fan speed measure
95100
Skip If not ${TESTS_IN_UBUNTU_SUPPORT} FAN006.201 not supported
96101
Skip If not ${NVIDIA_GRAPHICS_CARD_SUPPORT} FAN006.201 not supported
97102
Power On
103+
Boot System Or From Connected Disk ${ENV_ID_UBUNTU}
98104
Login To Linux
99105
${output}= Execute Linux Command
100106
... sensors | grep "GPU 0:" | awk 'NR==1 {print $3}'
@@ -108,6 +114,7 @@ Prepare CPU Fan Speed Measure Suite
108114
Prepare Test Suite
109115
Skip If not ${FAN_SPEED_MEASURE_SUPPORT} Fan speed measure tests not supported
110116
Power On
117+
Boot System Or From Connected Disk ${ENV_ID_UBUNTU}
111118
Login To Linux
112119
Switch To Root User
113120
Detect Or Install FWTS

0 commit comments

Comments
 (0)