[PATCH 0/7] tests/functional: Split aspeed tests

Cédric Le Goater posted 7 patches 4 months ago
tests/avocado/boot_linux_console.py          |  26 --
tests/functional/aspeed.py                   |  56 +++
tests/functional/meson.build                 |  14 +-
tests/functional/test_arm_aspeed.py          | 351 -------------------
tests/functional/test_arm_aspeed_ast1030.py  |  81 +++++
tests/functional/test_arm_aspeed_ast2500.py  |  59 ++++
tests/functional/test_arm_aspeed_ast2600.py  | 143 ++++++++
tests/functional/test_arm_aspeed_palmetto.py |  24 ++
tests/functional/test_arm_aspeed_rainier.py  |  64 ++++
tests/functional/test_arm_aspeed_romulus.py  |  24 ++
10 files changed, 463 insertions(+), 379 deletions(-)
create mode 100644 tests/functional/aspeed.py
delete mode 100755 tests/functional/test_arm_aspeed.py
create mode 100644 tests/functional/test_arm_aspeed_ast1030.py
create mode 100644 tests/functional/test_arm_aspeed_ast2500.py
create mode 100644 tests/functional/test_arm_aspeed_ast2600.py
create mode 100644 tests/functional/test_arm_aspeed_palmetto.py
create mode 100644 tests/functional/test_arm_aspeed_rainier.py
create mode 100644 tests/functional/test_arm_aspeed_romulus.py
[PATCH 0/7] tests/functional: Split aspeed tests
Posted by Cédric Le Goater 4 months ago
Hello,

All functional tests of aspeed machine are run from a single test
file. Splitting the tests will improve parallelism and allow us to
set different timeouts.

The timeout values were chosen from a (single cpu) run on a raspberry
pi4 :

  func-arm-arm_aspeed_ast1030       2.52s
  func-arm-arm_aspeed_palmetto     50.54s
  func-arm-arm_aspeed_romulus      61.81s
  func-arm-arm_aspeed_rainier     127.23s
  func-arm-arm_aspeed_ast2500     378.60s
  func-arm-arm_aspeed_ast2600     559.13s

Thanks,

C.

Cédric Le Goater (7):
  tests/functional: Introduce a specific test for ast1030 SoC
  tests/functional: Introduce a specific test for palmetto-bmc machine
  tests/functional: Introduce a specific test for romulus-bmc machine
  tests/functional: Introduce a specific test for ast2500 SoC
  tests/functional: Introduce a specific test for ast2600 SoC
  tests/functional: Introduce a specific test for rainier-bmc machine
  tests/functional: Move debian boot test from avocado

 tests/avocado/boot_linux_console.py          |  26 --
 tests/functional/aspeed.py                   |  56 +++
 tests/functional/meson.build                 |  14 +-
 tests/functional/test_arm_aspeed.py          | 351 -------------------
 tests/functional/test_arm_aspeed_ast1030.py  |  81 +++++
 tests/functional/test_arm_aspeed_ast2500.py  |  59 ++++
 tests/functional/test_arm_aspeed_ast2600.py  | 143 ++++++++
 tests/functional/test_arm_aspeed_palmetto.py |  24 ++
 tests/functional/test_arm_aspeed_rainier.py  |  64 ++++
 tests/functional/test_arm_aspeed_romulus.py  |  24 ++
 10 files changed, 463 insertions(+), 379 deletions(-)
 create mode 100644 tests/functional/aspeed.py
 delete mode 100755 tests/functional/test_arm_aspeed.py
 create mode 100644 tests/functional/test_arm_aspeed_ast1030.py
 create mode 100644 tests/functional/test_arm_aspeed_ast2500.py
 create mode 100644 tests/functional/test_arm_aspeed_ast2600.py
 create mode 100644 tests/functional/test_arm_aspeed_palmetto.py
 create mode 100644 tests/functional/test_arm_aspeed_rainier.py
 create mode 100644 tests/functional/test_arm_aspeed_romulus.py

-- 
2.47.0


Re: [PATCH 0/7] tests/functional: Split aspeed tests
Posted by Cédric Le Goater 4 months ago
On 12/6/24 14:11, Cédric Le Goater wrote:
> Hello,
> 
> All functional tests of aspeed machine are run from a single test
> file. Splitting the tests will improve parallelism and allow us to
> set different timeouts.
> 
> The timeout values were chosen from a (single cpu) run on a raspberry
> pi4 :
> 
>    func-arm-arm_aspeed_ast1030       2.52s
>    func-arm-arm_aspeed_palmetto     50.54s
>    func-arm-arm_aspeed_romulus      61.81s
>    func-arm-arm_aspeed_rainier     127.23s
>    func-arm-arm_aspeed_ast2500     378.60s
>    func-arm-arm_aspeed_ast2600     559.13s
> 
> Thanks,
> 
> C.
> 
> Cédric Le Goater (7):
>    tests/functional: Introduce a specific test for ast1030 SoC
>    tests/functional: Introduce a specific test for palmetto-bmc machine
>    tests/functional: Introduce a specific test for romulus-bmc machine
>    tests/functional: Introduce a specific test for ast2500 SoC
>    tests/functional: Introduce a specific test for ast2600 SoC
>    tests/functional: Introduce a specific test for rainier-bmc machine
>    tests/functional: Move debian boot test from avocado
> >   tests/avocado/boot_linux_console.py          |  26 --
>   tests/functional/aspeed.py                   |  56 +++
>   tests/functional/meson.build                 |  14 +-
>   tests/functional/test_arm_aspeed.py          | 351 -------------------
>   tests/functional/test_arm_aspeed_ast1030.py  |  81 +++++
>   tests/functional/test_arm_aspeed_ast2500.py  |  59 ++++
>   tests/functional/test_arm_aspeed_ast2600.py  | 143 ++++++++
>   tests/functional/test_arm_aspeed_palmetto.py |  24 ++
>   tests/functional/test_arm_aspeed_rainier.py  |  64 ++++
>   tests/functional/test_arm_aspeed_romulus.py  |  24 ++
>   10 files changed, 463 insertions(+), 379 deletions(-)
>   create mode 100644 tests/functional/aspeed.py
>   delete mode 100755 tests/functional/test_arm_aspeed.py
>   create mode 100644 tests/functional/test_arm_aspeed_ast1030.py
>   create mode 100644 tests/functional/test_arm_aspeed_ast2500.py
>   create mode 100644 tests/functional/test_arm_aspeed_ast2600.py
>   create mode 100644 tests/functional/test_arm_aspeed_palmetto.py
>   create mode 100644 tests/functional/test_arm_aspeed_rainier.py
>   create mode 100644 tests/functional/test_arm_aspeed_romulus.py



Applied to aspeed-next.

Thanks,

C.