Skip to content

Odroid h4 ultra tests #881

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: develop
Choose a base branch
from
Open

Odroid h4 ultra tests #881

wants to merge 8 commits into from

Conversation

miczyg1
Copy link
Contributor

@miczyg1 miczyg1 commented Jun 11, 2025

Introduce to new tests: IBECC and ODROID netcard.

The netcard test is pretty straightforward. It checks the performance of two pairs of the network ports as in regular ETHPERF test.

IBECC simply verifies whether the error in dmesg appears when IBECC is disabled/enabled or not.

I also prepared the ODROID H4 Ultra target (the IPs are temporary, they will get updated when the platform gets installed in the lab).

@miczyg1
Copy link
Contributor Author

miczyg1 commented Jun 11, 2025

@miczyg1
Copy link
Contributor Author

miczyg1 commented Jun 12, 2025

I am struggling a bit with suspend tests. Manually it works, but in tests the output is read in wrong places and the test assume that SSH is used to connect, because after waking up Login To Linux is used. But with telnet we still are in the logged system... This breaks many tests it seems, because fastboot tests assumed similar things...

diff --git a/lib/sleep-lib.robot b/lib/sleep-lib.robot
index 71a200c2..c093116e 100644
--- a/lib/sleep-lib.robot
+++ b/lib/sleep-lib.robot
@@ -93,10 +93,12 @@ Perform Suspend Test Using FWTS
     ...    test by using Firmware Test Suite tool
     [Arguments]    ${test_duration}=40
     ${is_suspend_performed_correctly}=    Set Variable    ${FALSE}
+    Read From Terminal
     Write Into Terminal    fwts s3 -f -r /tmp/suspend_test_log.log
     Sleep    ${test_duration}s
-    Login To Linux
-    Switch To Root User
+    Read From Terminal
+    Write Bare Into Terminal    ${ENTER}
+    Read From Terminal Until Prompt
     ${test_result}=    Execute Linux Command    cat /tmp/suspend_test_log.log
     TRY
         Should Contain    ${test_result}    0 failed

miczyg1 added 7 commits June 12, 2025 12:51
The keywords are generic for network performance testing. They can
be reused by other tests, e.g. incoming ODROID netcard test.

Signed-off-by: Michał Żygowski <[email protected]>
Signed-off-by: Michał Żygowski <[email protected]>
The test assumed that the device is already booted to an OS, which probably
is true for laptops. Add necessary Power On's and initial booting to OS
on the beginning of the test to handle a case where the serial connection
can be used to navigate and select OSes to boot.

TEST=Run the test and PASS it on ODROID H4 Ultra

Signed-off-by: Michał Żygowski <[email protected]>
@miczyg1 miczyg1 force-pushed the odroid_h4_ultra_tests branch from e20dddd to d5dffba Compare June 12, 2025 10:53
Signed-off-by: Michał Żygowski <[email protected]>
@macpijan macpijan closed this Jul 3, 2025
@macpijan macpijan deleted the odroid_h4_ultra_tests branch July 3, 2025 13:46
@macpijan macpijan restored the odroid_h4_ultra_tests branch July 3, 2025 14:25
@macpijan macpijan reopened this Jul 3, 2025
@macpijan
Copy link
Contributor

macpijan commented Jul 3, 2025

I am struggling a bit with suspend tests.

Still struggling here?

Generally, changes look fine. We should:

  • Get rid of WIP commits prior merging
  • make a decision on sleep tests - I am sure some of us have been running these as well, we should discuss how to apporach it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants