Bug 295468
| Summary: | [WPE][run-benchmark] The temporary directory used as homedir is not always cleaned | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Carlos Alberto Lopez Perez <clopez> |
| Component: | New Bugs | Assignee: | Carlos Alberto Lopez Perez <clopez> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | aperez, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Carlos Alberto Lopez Perez
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
Pull request: https://github.com/WebKit/WebKit/pull/47614
EWS
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
<rdar://problem/155071689>