Closed
Bug 1169729
Opened 9 years ago
Closed 9 years ago
Unable to simply determine the cause of the Windows debug xpcshell 'INFO Failed to remove directory' for the temp directories
Categories
(Testing :: XPCShell Harness, defect)
Testing
XPCShell Harness
Tracking
(firefox41 fixed)
RESOLVED
FIXED
mozilla41
Tracking | Status | |
---|---|---|
firefox41 | --- | fixed |
People
(Reporter: robert.strong.bugs, Assigned: robert.strong.bugs)
Details
Attachments
(1 file, 1 obsolete file)
2.20 KB,
patch
|
robert.strong.bugs
:
review+
|
Details | Diff | Splinter Review |
There are a lot of "INFO Failed to remove directory:..." messages for Windows debug build xpcshell test runs and it should be possible to determine whether it is the profile or the plugins directory. In runxpcshelltests.py the calls to mkdtemp for the profile and the plugins directories should include something like mkdtemp(prefix='profile-') for the profile directory and mkdtemp(prefix='plugins-') for the plugins directory. This simple change should make it possible to see how often the directory removal fails for each type of directory (in my local testing it is always the plugins directory). From there it can be determined if tests would finish faster if they weren't given a plugins directory when they don't need one which could make tests complete faster for Windows debug.
Assignee | ||
Comment 1•9 years ago
|
||
Attachment #8613061 -
Flags: review?(ted)
Assignee | ||
Comment 2•9 years ago
|
||
Might be a good thing to add prefixes to all of the mkdtemp calls. Perhaps something like xpc-plugins, xpc-profile, and xpc-other so they are sorted in the tmp dir for easy removal when breaking out of tests.
Updated•9 years ago
|
Assignee: nobody → robert.strong.bugs
Comment 3•9 years ago
|
||
Comment on attachment 8613061 [details] [diff] [review] simple patch to make it clear that the failed dir removal is for the plugins dir Review of attachment 8613061 [details] [diff] [review]: ----------------------------------------------------------------- Good thinking!
Attachment #8613061 -
Flags: review?(ted) → review+
Comment 4•9 years ago
|
||
(In reply to Robert Strong [:rstrong] (use needinfo to contact me) from comment #2) > Might be a good thing to add prefixes to all of the mkdtemp calls. > > Perhaps something like xpc-plugins, xpc-profile, and xpc-other so they are > sorted in the tmp dir for easy removal when breaking out of tests. Yeah that seems totally reasonable. r=me to add that.
Assignee | ||
Comment 5•9 years ago
|
||
Attachment #8613061 -
Attachment is obsolete: true
Attachment #8613651 -
Flags: review+
Comment 7•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/fabf2c87d714
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox41:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
You need to log in
before you can comment on or make changes to this bug.
Description
•