[Lldb-commits] [lldb] [lldb] Split test to avoid timeout (PR #129614)
David Peixotto via lldb-commits
lldb-commits at lists.llvm.org
Wed Mar 5 10:38:01 PST 2025
dmpots wrote:
> How many others are close to the limit that you've found, just this one?
I was only seeing the one timeout in the runs so I had not thought to measure. It's a good idea though. Based on the timings it looks like maybe `TestGdbRemoteFork.py` is worth splitting as well? That one seems to have about 30 tests in it.
`llvm-lit -sv lldb/test --time-test`
```
Slowest Tests:
--------------------------------------------------------------------------
574.78s: lldb-api :: tools/lldb-server/TestGdbRemoteFork.py
405.43s: lldb-api :: tools/lldb-server/TestLldbGdbServer2.py
401.09s: lldb-api :: api/multithreaded/TestMultithreaded.py
392.13s: lldb-api :: tools/lldb-server/TestLldbGdbServer.py
356.85s: lldb-api :: functionalities/completion/TestCompletion.py
302.01s: lldb-api :: tools/lldb-server/TestNonStop.py
296.05s: lldb-api :: functionalities/data-formatter/data-formatter-stl/libcxx-simulators/string/TestDataFormatterLibcxxStringSimulator.py
277.37s: lldb-api :: tools/lldb-server/TestGdbRemoteForkNonStop.py
268.45s: lldb-api :: functionalities/process_save_core_minidump/TestProcessSaveCoreMinidump.py
242.04s: lldb-api :: commands/register/register/register_command/TestRegisters.py
240.33s: lldb-api :: functionalities/single-thread-step/TestSingleThreadStepTimeout.py
237.83s: lldb-api :: commands/statistics/basic/TestStats.py
184.74s: lldb-api :: functionalities/thread/state/TestThreadStates.py
183.73s: lldb-api :: commands/settings/TestSettings.py
178.80s: lldb-api :: tools/lldb-server/vCont-threads/TestSignal.py
175.06s: lldb-api :: tools/lldb-server/TestGdbRemote_vCont.py
158.33s: lldb-api :: functionalities/data-formatter/data-formatter-stl/generic/set/TestDataFormatterGenericSet.py
157.08s: lldb-api :: commands/process/attach/TestProcessAttach.py
156.07s: lldb-api :: tools/lldb-server/TestGdbRemoteLaunch.py
155.51s: lldb-api :: tools/lldb-dap/variables/TestDAP_variables.py
Tests Times:
--------------------------------------------------------------------------
[ Range ] :: [ Percentage ] :: [ Count ]
--------------------------------------------------------------------------
[550s,600s) :: [ ] :: [ 1/2134]
[500s,550s) :: [ ] :: [ 0/2134]
[450s,500s) :: [ ] :: [ 0/2134]
[400s,450s) :: [ ] :: [ 3/2134]
[350s,400s) :: [ ] :: [ 1/2134]
[300s,350s) :: [ ] :: [ 2/2134]
[250s,300s) :: [ ] :: [ 4/2134]
[200s,250s) :: [ ] :: [ 1/2134]
[150s,200s) :: [ ] :: [ 11/2134]
[100s,150s) :: [ ] :: [ 35/2134]
[ 50s,100s) :: [ ] :: [ 52/2134]
[ 0s, 50s) :: [************************************* ] :: [2024/2134]
--------------------------------------------------------------------------
```
https://github.com/llvm/llvm-project/pull/129614
More information about the lldb-commits
mailing list