mbox series

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

Message ID 20241206131132.520911-1-clg@redhat.com
Headers show
Series tests/functional: Split aspeed tests | expand

Message

Cédric Le Goater Dec. 6, 2024, 1:11 p.m. UTC
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

Comments

Cédric Le Goater Dec. 9, 2024, 1:43 p.m. UTC | #1
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.