Closed Bug 509439 Opened 15 years ago Closed 11 years ago

shutil.rmtree intermittently fails in Windows Talos runs with OSError: [Errno 41] Directory not empty: 'c:\\docume~1\\mozqa\\locals~1\\temp\\tmpxup5oy\\profile\\Cache'

Categories

(Testing :: Talos, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: ddahl, Unassigned)

References

()

Details

(Keywords: intermittent-failure)

NOISE: _x_x_mozilla_cycle_collect,51992
NOISE: __end_cc_report
NOISE: __startTimestamp1249916185102__endTimestamp
NOISE: 
NOISE: __startSecondTimestamp1249916188921__endSecondTimestamp
Traceback (most recent call last):
  File "run_tests.py", line 411, in ?
    test_file(arg)
  File "run_tests.py", line 377, in test_file
    browser_dump, counter_dump = ttest.runTest(browser_config, test)
  File "C:\talos-slave\talos-data\talos\ttest.py", line 288, in runTest
    cleanupProfile(temp_dir, browser_config)
  File "C:\talos-slave\talos-data\talos\ttest.py", line 113, in cleanupProfile
    shutil.rmtree(dir)
  File "C:\Python24\lib\shutil.py", line 163, in rmtree
    rmtree(fullname, ignore_errors, onerror)
  File "C:\Python24\lib\shutil.py", line 163, in rmtree
    rmtree(fullname, ignore_errors, onerror)
  File "C:\Python24\lib\shutil.py", line 172, in rmtree
    onerror(os.rmdir, path, sys.exc_info())
  File "C:\Python24\lib\shutil.py", line 170, in rmtree
    os.rmdir(path)
OSError: [Errno 41] Directory not empty: 'c:\\docume~1\\mozqa\\locals~1\\temp\\tmpxup5oy\\profile\\Cache'
program finished with exit code 1
TinderboxPrint:s: talos-rev2-xp06
https://tbpl.mozilla.org/php/getParsedLog.php?id=12809168&tree=Mozilla-Inbound
Blocks: 438871
Component: General → Talos
OS: Linux → Windows XP
QA Contact: general → talos
Summary: OSError: [Errno 41] Directory not empty: 'c:\\docume~1\\mozqa\\locals~1\\temp\\tmpxup5oy\\profile\\Cache' → shutil.rmtree intermittently fails in Windows Talos runs with OSError: [Errno 41] Directory not empty: 'c:\\docume~1\\mozqa\\locals~1\\temp\\tmpxup5oy\\profile\\Cache'
Whiteboard: [orange]
Depends on: 793855
This is still active:  I saw something very similar just yesterday.
(In reply to Ed Morley [:edmorley UTC+1] from comment #3)
> Would using
> https://github.com/mozilla/mozbase/blob/master/mozfile/mozfile/mozfile.
> py#L92 help?

Likely; filed https://bugzilla.mozilla.org/show_bug.cgi?id=795021
Depends on: 795021
Depends on: 799532
Depends on: 809071
Whiteboard: [orange]
Resolving WFM any keyword:intermittent-failure bug where:
* Changed: (is less than or equal to) -3m
* Whiteboard: (contains none of the strings) random disabled marked fuzzy todo fails failing annotated time-bomb
* Whiteboard: (does not contain the string) leave open

There will inevitably be some false positives; for that (and the bugspam) I apologise, but at least this will clear out the open cruft (and thus reduce risk of mis-starring) on TBPL's annotated summary bug suggestions.

Filter on orangewfm.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
Resolving WFM any keyword:intermittent-failure bug where:
* Changed: (is less than or equal to) -3m
* Whiteboard: (contains none of the strings) random disabled marked fuzzy todo fails failing annotated time-bomb
* Whiteboard: (does not contain the string) leave open

There will inevitably be some false positives; for that (and the bugspam) I apologise, but at least this will clear out the open cruft (and thus reduce risk of mis-starring) on TBPL's annotated summary bug suggestions.

Filter on orangewfm.
You need to log in before you can comment on or make changes to this bug.