Skyrocketing test run times
Alberto Salvia Novella
es20490446e at gmail.com
Wed Feb 4 07:56:53 GMT 2026
Do running the tests themselves need to be leak-sanitized?
I liked to point out that systemd allows to limit the amount of memory for
each process, and that is quite useful for certain desktop components
despite of having been leak-tested.
For example, if in the taskbar there is any application that leaks memory,
it will leak into the Plasma runtime memory. And eventually the process
will freeze the system.
But with a memory limit, the process can be automatically restarted.
On Wed, Feb 4, 2026 at 8:26 AM Vlad Zahorodnii <vlad.zahorodnii at kde.org>
wrote:
> Hello,
>
> Over approximately the past weekend something happened in our CI and now
> it takes quite long time for tests to run. For example, in kwin, we have
> a test that used to run for about 20 seconds, and now it takes about 5
> or so minutes to finish running. Speaking for kwin, there were no
> changes that could increase test run times so dramatically.
>
> January 26th:
>
> Start 61: kwin-testOutputChanges
> 61/158 Test #61: kwin-testOutputChanges
> ............................. Passed 19.36 sec
>
> January 29th:
>
> Start 61: kwin-testOutputChanges
> 61/158 Test #61: kwin-testOutputChanges
> ............................. Passed 43.93 sec
>
> January 30th:
>
> Start 61: kwin-testOutputChanges
> 61/158 Test #61: kwin-testOutputChanges
> ............................. Passed 45.91 sec
>
> Februrary 3rd:
>
> Start 61: kwin-testOutputChanges
> 61/158 Test #61: kwin-testOutputChanges
> ............................. Passed 254.19 sec
>
> FreeBSD appears to be fine.
>
> We suspect that test run times blew up due to enabling LSAN in various
> libraries (kwin itself has no LSAN enabled yet). The issue doesn't
> appear to be specific to only kwin, people reported that they've seen
> similar issues in other projects too. Maybe something else happened to
> CI that sysadmins will be able to clarify.
>
> Either way, the current state of CI is not great. Hypothetically, test
> timeouts can be increased but QSignalSpy's have hardcoded timeouts that
> can be too low for the current CI. And in case of kwin, 5 minutes for a
> test is simply not a workable thing.
>
> Regards,
> Vlad
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20260204/87d3ef22/attachment.htm>
More information about the Plasma-devel
mailing list