WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
295468
[WPE][run-benchmark] The temporary directory used as homedir is not always cleaned
https://bugs.webkit.org/show_bug.cgi?id=295468
Summary
[WPE][run-benchmark] The temporary directory used as homedir is not always cl...
Carlos Alberto Lopez Perez
Reported
2025-07-04 11:01:35 PDT
The RPi4 bots that are runinng the performance tests are slowly filling the /tmp directory and is an issue because after some weeks they run out of disk space in /tmp (which is a ramdisk) and that causes problems. The leftover directories there are the ones that the browser driver uses for creating a temporal home to isolate the browser profile used for the benchmark from the user one # find /tmp/tmph9tcibxt -type d /tmp/tmph9tcibxt /tmp/tmph9tcibxt/.cache /tmp/tmph9tcibxt/.cache/fontconfig /tmp/tmph9tcibxt/.cache/gstreamer-1.0 /tmp/tmph9tcibxt/.cache/MiniBrowser /tmp/tmph9tcibxt/.cache/MiniBrowser/WebKitCache /tmp/tmph9tcibxt/.cache/MiniBrowser/WebKitCache/Version 17 /tmp/tmph9tcibxt/.cache/MiniBrowser/WebKitCache/Version 17/Blobs /tmp/tmph9tcibxt/.cache/MiniBrowser/WebKitCache/Version 17/Records /tmp/tmph9tcibxt/.cache/MiniBrowser/WebKitCache/Version 17/Records/3ED87E769EF910D7209CCF43EAE3845F7A687C3C /tmp/tmph9tcibxt/.cache/MiniBrowser/WebKitCache/Version 17/Records/3ED87E769EF910D7209CCF43EAE3845F7A687C3C/Resource /tmp/tmph9tcibxt/.cache/MiniBrowser/WebKitCache/Version 17/Records/3ED87E769EF910D7209CCF43EAE3845F7A687C3C/SubResources /tmp/tmph9tcibxt/.cache/MiniBrowser/HSTS /tmp/tmph9tcibxt/.cache/MiniBrowser/CacheStorage /tmp/tmph9tcibxt/.local /tmp/tmph9tcibxt/.local/share /tmp/tmph9tcibxt/.local/share/MiniBrowser /tmp/tmph9tcibxt/.local/share/MiniBrowser/mediakeys /tmp/tmph9tcibxt/.local/share/MiniBrowser/mediakeys/v1 /tmp/tmph9tcibxt/.local/share/MiniBrowser/storage It seems that the problem is that we are cleaning the temporal directory only if the tests finish correctly, but on timeout or exception we fail to do that
Attachments
Add attachment
proposed patch, testcase, etc.
Carlos Alberto Lopez Perez
Comment 1
2025-07-04 11:19:39 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/47614
EWS
Comment 2
2025-07-04 17:49:18 PDT
Committed
297031@main
(80472d9e8572): <
https://commits.webkit.org/297031@main
> Reviewed commits have been landed. Closing PR #47614 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2025-07-04 17:50:15 PDT
<
rdar://problem/155071689
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug