linux-test-project / ltp

Linux Test Project (mailing list: https://lists.linux.it/listinfo/ltp)
https://linux-test-project.readthedocs.io/
GNU General Public License v2.0
2.3k stars 1.01k forks source link

How long does runLTP complete test usually take? #902

Closed Vvooi closed 2 years ago

Vvooi commented 2 years ago

How long does runLTP complete test usually take? I have not finished the test for fourteen hours, and the computer is still very stuck. Do you usually run the arm board test to complete

pevik commented 2 years ago

New tests have 5 min timeout, maybe tests not yet rewritten to new API can run longer. And yes, people test LTP on arm boards as well.

metan-ucw commented 2 years ago

That is really hard to answer as it depends on the particular machine quite a lot.

If you run just runltp it will execute default scenario that runs 32 different groups (runtest files) of tests. Different groups are different in size so the runtime per group does vary a lot as well. And of course if you have a buggy kernel the testrun will crash the machine.

Generally it's better to run the tests in smaller chunks and there are also better options available for executing the tests than the dated runltp script. We do have a prototype for a runltp-ng that is designed to control small board from a different computer and reboot it if it gets stuck. And there are other more sophisticated solutions such as fuego or lava.

pevik commented 2 years ago

Ah, I was talking about timeout for single test, But you probably talk about runtest file.

theken111 commented 2 years ago

i ran all suites, take about more than 8 h, and some cases missing.