WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
100864
[NRWT] Xvfb driver is leaking application cache files
https://bugs.webkit.org/show_bug.cgi?id=100864
Summary
[NRWT] Xvfb driver is leaking application cache files
Thiago Marcos P. Santos
Reported
2012-10-31 08:48:46 PDT
By setting XDG_CACHE_HOME to self._port.results_directory() will make the worker reuse the cache of some previous and potentially taint the results. It should be set to the work's temporary directory instead, which is removed after the run. Currently the Application Cache is the only to respect this environment variable on WebKit2 because there is no API to override the path like it is usually done on DRT and WTR.
Attachments
Patch
(2.56 KB, patch)
2012-10-31 09:11 PDT
,
Thiago Marcos P. Santos
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Thiago Marcos P. Santos
Comment 1
2012-10-31 09:11:38 PDT
Created
attachment 171671
[details]
Patch
WebKit Review Bot
Comment 2
2012-10-31 11:29:04 PDT
Comment on
attachment 171671
[details]
Patch Clearing flags on attachment: 171671 Committed
r133050
: <
http://trac.webkit.org/changeset/133050
>
WebKit Review Bot
Comment 3
2012-10-31 11:29:08 PDT
All reviewed patches have been landed. Closing bug.
Stephen White
Comment 4
2012-11-02 13:50:35 PDT
This change seems to be causing failures in the chromium port's webkitpy-test; e.g., see
http://build.webkit.org/builders/Chromium%20Win%20Release%20%28Tests%29/builds/31058/steps/webkitpy-test/logs/stdio
"Seems" because it's the only xvfb-related change in the first failing run:
http://build.webkit.org/builders/Chromium%20Win%20Release%20%28Tests%29/builds/31058
Thiago Marcos P. Santos
Comment 5
2012-11-02 14:27:54 PDT
(In reply to
comment #4
)
> This change seems to be causing failures in the chromium port's webkitpy-test; e.g., see > >
http://build.webkit.org/builders/Chromium%20Win%20Release%20%28Tests%29/builds/31058/steps/webkitpy-test/logs/stdio
> > "Seems" because it's the only xvfb-related change in the first failing run: > >
http://build.webkit.org/builders/Chromium%20Win%20Release%20%28Tests%29/builds/31058
Hmmm, weird. The patch just changes a environment variable path. Is the Windows bot really suppose to start the Xvfb server?
Adam Barth
Comment 6
2012-11-02 14:29:45 PDT
> Is the Windows bot really suppose to start the Xvfb server?
It looks like something isn't properly mocking out the file system.
Adam Barth
Comment 7
2012-11-02 14:30:34 PDT
It's also possible we should skip this test on Windows.
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