Closed Bug 913866 Opened 12 years ago Closed 12 years ago

Intermittent test_0161_appInUse_xp_win_complete.js | test failed (with xpcshell return code: 0), see following log:, | exception thrown from do_timeout callback: [Exception... "Component returned failure code: 0x8052000e (NS_ERROR_FILE_IS_LOCKED) [nsIFile

Categories

(Toolkit :: Application Update, defect)

x86
Windows 8
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: philor, Unassigned)

References

Details

(Keywords: intermittent-failure)

Makes me a bit nervous that this is in the "Retrying tests that failed when run in parallel" section, like it's locked because it didn't want to run in parallel, failed and left itself locked so it couldn't run sequentially either. https://tbpl.mozilla.org/php/getParsedLog.php?id=27541025&tree=Mozilla-Inbound WINNT 6.2 mozilla-inbound opt test xpcshell on 2013-09-07 10:10:21 PDT for push 0d651ed131b3 slave: t-w864-ix-119 10:43:13 WARNING - TEST-UNEXPECTED-FAIL | C:\slave\test\build\tests\xpcshell\tests\toolkit\mozapps\update\test\unit\test_0161_appInUse_xp_win_complete.js | test failed (with xpcshell return code: 0), see following log: 10:43:13 INFO - >>>>>>> 10:43:13 INFO - TEST-INFO | (xpcshell/head.js) | test MAIN run_test pending (1) 10:43:13 INFO - TEST-INFO | (xpcshell/head.js) | test pending (2) 10:43:13 INFO - removeDirRecursive: unable to remove file 10:43:13 INFO - path: C:\slave\test\build\tests\xpcshell\tests\toolkit\mozapps\update\test\unit\0161_mar\updater.exe 10:43:13 INFO - Exception: [Exception... "Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIFile.remove]" nsresult: "0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)" location: "JS frame :: C:/slave/test/build/tests/xpcshell/tests/toolkit/mozapps/update/test/unit/head_update.js :: removeDirRecursive :: line 1166" data: no] 10:43:13 INFO - Unable to remove directory 10:43:13 INFO - path: C:\slave\test\build\tests\xpcshell\tests\toolkit\mozapps\update\test\unit\0161_mar 10:43:13 INFO - Exception: [Exception... "Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIFile.remove]" nsresult: "0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)" location: "JS frame :: C:/slave/test/build/tests/xpcshell/tests/toolkit/mozapps/update/test/unit/head_update.js :: removeDirRecursive :: line 1166" data: no] 10:43:13 INFO - 10:42:32:592 | TEST-INFO | C:/slave/test/build/tests/xpcshell/tests/toolkit/mozapps/update/test/unit/head_update.js | [setupUpdaterTest : 2090] testing successful removal of the directory used to apply the mar file 10:43:13 INFO - TEST-PASS | C:/slave/test/build/tests/xpcshell/tests/toolkit/mozapps/update/test/unit/head_update.js | [setupUpdaterTest : 2092] false == false 10:43:13 INFO - TEST-INFO | (xpcshell/head.js) | test MAIN run_test finished (2) 10:43:13 INFO - TEST-INFO | (xpcshell/head.js) | running event loop 10:43:13 WARNING - TEST-UNEXPECTED-FAIL | C:\slave\test\build\tests\xpcshell\head.js | exception thrown from do_timeout callback: [Exception... "Component returned failure code: 0x8052000e (NS_ERROR_FILE_IS_LOCKED) [nsIFile.copyTo]" nsresult: "0x8052000e (NS_ERROR_FILE_IS_LOCKED)" location: "JS frame :: C:/slave/test/build/tests/xpcshell/tests/toolkit/mozapps/update/test/unit/head_update.js :: runUpdate :: line 1530" data: no] - See following stack: 10:43:13 INFO - JS frame :: C:\slave\test\build\tests\xpcshell\head.js :: _Timer.prototype.notify :: line 150 10:43:13 INFO - native frame :: <unknown filename> :: <TOP_LEVEL> :: line 0 10:43:13 INFO - TEST-INFO | (xpcshell/head.js) | exiting test 10:43:13 INFO - removeDirRecursive: unable to remove file 10:43:13 INFO - path: C:\slave\test\build\tests\xpcshell\tests\toolkit\mozapps\update\test\unit\0161_applyToDir\appdir\a\b\callback_app.exe 10:43:13 INFO - Exception: [Exception... "Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIFile.remove]" nsresult: "0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)" location: "JS frame :: C:/slave/test/build/tests/xpcshell/tests/toolkit/mozapps/update/test/unit/head_update.js :: removeDirRecursive :: line 1166" data: no] 10:43:13 INFO - Unable to remove directory 10:43:13 INFO - path: C:\slave\test\build\tests\xpcshell\tests\toolkit\mozapps\update\test\unit\0161_applyToDir 10:43:13 INFO - Exception: [Exception... "Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIFile.remove]" nsresult: "0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)" location: "JS frame :: C:/slave/test/build/tests/xpcshell/tests/toolkit/mozapps/update/test/unit/head_update.js :: removeDirRecursive :: line 1166" data: no] 10:43:13 INFO - removeDirRecursive: unable to remove file 10:43:13 INFO - path: C:\slave\test\build\tests\xpcshell\tests\toolkit\mozapps\update\test\unit\0161_mar\updater.exe 10:43:13 INFO - Exception: [Exception... "Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIFile.remove]" nsresult: "0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)" location: "JS frame :: C:/slave/test/build/tests/xpcshell/tests/toolkit/mozapps/update/test/unit/head_update.js :: removeDirRecursive :: line 1166" data: no] 10:43:13 INFO - Unable to remove directory 10:43:13 INFO - path: C:\slave\test\build\tests\xpcshell\tests\toolkit\mozapps\update\test\unit\0161_mar 10:43:13 INFO - Exception: [Exception... "Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIFile.remove]" nsresult: "0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)" location: "JS frame :: C:/slave/test/build/tests/xpcshell/tests/toolkit/mozapps/update/test/unit/head_update.js :: removeDirRecursive :: line 1166" data: no] 10:43:13 INFO - removeDirRecursive: unable to remove file 10:43:13 INFO - path: C:\slave\test\build\tests\xpcshell\tests\toolkit\mozapps\update\test\unit\0161_applyToDir\appdir\a\b\callback_app.exe 10:43:13 INFO - Exception: [Exception... "Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIFile.remove]" nsresult: "0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)" location: "JS frame :: C:/slave/test/build/tests/xpcshell/tests/toolkit/mozapps/update/test/unit/head_update.js :: removeDirRecursive :: line 1166" data: no] 10:43:13 INFO - Unable to remove directory 10:43:13 INFO - path: C:\slave\test\build\tests\xpcshell\tests\toolkit\mozapps\update\test\unit\0161_applyToDir 10:43:13 INFO - Exception: [Exception... "Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIFile.remove]" nsresult: "0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)" location: "JS frame :: C:/slave/test/build/tests/xpcshell/tests/toolkit/mozapps/update/test/unit/head_update.js :: removeDirRecursive :: line 1166" data: no] 10:43:13 INFO - 10:42:32:994 | TEST-INFO | C:/slave/test/build/tests/xpcshell/tests/toolkit/mozapps/update/test/unit/head_update.js | [cleanUp : 1292] start - general test cleanup 10:43:13 INFO - 10:42:33:011 | TEST-INFO | C:/slave/test/build/tests/xpcshell/tests/toolkit/mozapps/update/test/unit/head_update.js | [cleanUp : 1323] finish - general test cleanup 10:43:13 INFO - <<<<<<<
We set up a new environment when the test is retried. I'll take a look.
Robert, do you think we should mark the appInUse tests as run-sequentially?
Flags: needinfo?(robert.bugzilla)
I doubt that would help and with this only happening once it may have been a one-off for any number of reasons. Having said that, I'm fine with it being sequential and I might be able to add code to protect against this later.
Flags: needinfo?(robert.bugzilla)
Then we could wait a few more days, see if it happens again, and if it does we can annotate the manifest. Thanks!
Blocks: 923599
This hasn't happened for over 3 months and there have been 2 major test rewrites in the interim so resolving WFM. Please file a new bug if something similar happens again. Thanks!
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.