netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* TC: selftests: current timeout (45s) is too low
@ 2023-07-12  9:47 Matthieu Baerts
  2023-07-12 13:43 ` Pedro Tammela
  0 siblings, 1 reply; 14+ messages in thread
From: Matthieu Baerts @ 2023-07-12  9:47 UTC (permalink / raw)
  To: Jamal Hadi Salim, Cong Wang, Jiri Pirko; +Cc: netdev, Anders Roxell

Hi Jamal, Cong, Jiri,

When looking for something else [1] in LKFT reports [2], I noticed that
the TC selftest ended with a timeout error:

  not ok 1 selftests: tc-testing: tdc.sh # TIMEOUT 45 seconds

The timeout has been introduced 3 years ago:

  852c8cbf34d3 ("selftests/kselftest/runner.sh: Add 45 second timeout
per test")

Recently, a new option has been introduced to override the value when
executing the code:

  f6a01213e3f8 ("selftests: allow runners to override the timeout")

But I guess it is still better to set a higher default value for TC
tests. This is easy to fix by simply adding "timeout=<seconds>" in a
"settings" file in 'tc-testing' directory, e.g.

  echo timeout=1200 > tools/testing/selftests/tc-testing/settings

I'm sending this email instead of a patch because I don't know which
value makes sense. I guess you know how long the tests can take in a
(very) slow environment and you might want to avoid this timeout error.

I also noticed most of the tests were skipped [2], probably because
something is missing in the test environment? Do not hesitate to contact
the lkft team [3], that's certainly easy to fix and it would increase
the TC test coverage when they are validating all the different kernel
versions :)

Cheers,
Matt

[1] The impact of https://github.com/Linaro/test-definitions/pull/446
[2]
https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230711/testrun/18267241/suite/kselftest-tc-testing/test/tc-testing_tdc_sh/log
[3] lkft@linaro.org
-- 
Tessares | Belgium | Hybrid Access Solutions
www.tessares.net

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2023-07-19 12:13 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-12  9:47 TC: selftests: current timeout (45s) is too low Matthieu Baerts
2023-07-12 13:43 ` Pedro Tammela
2023-07-12 14:02   ` Davide Caratti
2023-07-12 14:45     ` Matthieu Baerts
2023-07-12 14:43   ` Matthieu Baerts
2023-07-12 17:12     ` Pedro Tammela
2023-07-13 13:59       ` Matthieu Baerts
2023-07-13 17:30         ` Pedro Tammela
2023-07-13 19:59           ` Matthieu Baerts
2023-07-13 20:32             ` Pedro Tammela
2023-07-13 21:11               ` Matthieu Baerts
2023-07-19 12:13                 ` Naresh Kamboju
2023-07-14 15:15     ` David Laight
2023-07-17  8:19       ` Matthieu Baerts

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).