Closed Bug 1294196 Opened 9 years ago Closed 9 years ago

Intermittent toolkit/mozapps/update/tests/unit_base_updater/marSuccessPartial.js | xpcshell return code: 0

Categories

(Toolkit :: Application Update, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure)

From the logs The parallel run failed 10:36:30 INFO - TEST-FAIL | toolkit/mozapps/update/tests/unit_base_updater/marAppInUseStageFailureComplete_win.js | took 287813ms 10:36:31 INFO - toolkit/mozapps/update/tests/unit_base_updater/marAppInUseStageFailureComplete_win.js failed or timed out, will retry. 10:36:36 INFO - TEST-TIMEOUT | toolkit/mozapps/update/tests/unit_base_updater/marSuccessPartial.js | took 300000ms 10:36:36 INFO - Can't trigger Breakpad, just killing process 10:36:36 INFO - Failed to kill process 3272. 10:36:36 INFO - xpcshell return code: None Then the file was in use when it tried to run sequentially 11:06:43 INFO - TEST-START | toolkit/mozapps/update/tests/unit_base_updater/marSuccessPartial.js 11:06:44 WARNING - TEST-UNEXPECTED-FAIL | toolkit/mozapps/update/tests/unit_base_updater/marSuccessPartial.js | xpcshell return code: 0 11:06:44 INFO - TEST-INFO took 1031ms 11:06:44 INFO - >>>>>>> 11:06:44 INFO - PROCESS | 6368 | Couldn't convert chrome URL: chrome://branding/locale/brand.properties 11:06:44 INFO - PROCESS | 6368 | Couldn't convert chrome URL: chrome://branding/locale/brand.properties 11:06:44 INFO - PROCESS | 6368 | [6368] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80520012: file c:/builds/moz2_slave/m-in-w32-d-0000000000000000000/build/src/netwerk/base/nsIOService.cpp, line 787 11:06:44 INFO - PROCESS | 6368 | [6368] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80520012: file c:\\builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\netwerk\\base\\nsNetUtilInlines.h, line 180 11:06:44 INFO - PROCESS | 6368 | [6368] WARNING: Couldn't get the user appdata directory. Crash events may not be produced.: file c:/builds/moz2_slave/m-in-w32-d-0000000000000000000/build/src/toolkit/crashreporter/nsExceptionHandler.cpp, line 2723 11:06:44 INFO - (xpcshell/head.js) | test MAIN run_test pending (1) 11:06:44 INFO - TEST-PASS | toolkit/mozapps/update/tests/unit_base_updater/marSuccessPartial.js | setupTestCommon - [setupTestCommon : 779] gTestID should be 'undefined' (setupTestCommon should only be called once) - "undefined" === "undefined" 11:06:44 INFO - (xpcshell/head.js) | test pending (2) 11:06:44 INFO - "11:06:43:869 | TEST-INFO | ../data/xpcshellUtilsAUS.js -> file:///C:/slave/test/build/tests/xpcshell/tests/toolkit/mozapps/update/tests/data/shared.js | [removeDirRecursive : 522] non-fatal error removing directory. Exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIFile.remove]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: ../data/xpcshellUtilsAUS.js -> file:///C:/slave/test/build/tests/xpcshell/tests/toolkit/mozapps/update/tests/data/shared.js :: removeDirRecursive :: line 519" data: no]" 11:06:44 INFO - "11:06:43:870 | TEST-INFO | ../data/xpcshellUtilsAUS.js -> file:///C:/slave/test/build/tests/xpcshell/tests/toolkit/mozapps/update/tests/data/shared.js | [removeDirRecursive : 522] non-fatal error removing directory. Exception: [Exception... "Component returned failure code: 0x8052000e (NS_ERROR_FILE_IS_LOCKED) [nsIFile.remove]" nsresult: "0x8052000e (NS_ERROR_FILE_IS_LOCKED)" location: "JS frame :: ../data/xpcshellUtilsAUS.js -> file:///C:/slave/test/build/tests/xpcshell/tests/toolkit/mozapps/update/tests/data/shared.js :: removeDirRecursive :: line 519" data: no]" 11:06:44 INFO - "11:06:43:872 | TEST-INFO | ../data/xpcshellUtilsAUS.js -> file:///C:/slave/test/build/tests/xpcshell/tests/toolkit/mozapps/update/tests/data/shared.js | [removeDirRecursive : 537] error removing file. Exception: [Exception... "Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIFile.remove]" nsresult: "0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)" location: "JS frame :: ../data/xpcshellUtilsAUS.js -> file:///C:/slave/test/build/tests/xpcshell/tests/toolkit/mozapps/update/tests/data/shared.js :: removeDirRecursive :: line 535" data: no]" 11:06:44 INFO - "11:06:43:872 | TEST-INFO | ../data/xpcshellUtilsAUS.js | [setupTestCommon : 849] non-fatal error removing directory. Path: C:\\slave\\test\\build\\tests\\xpcshell\\tests\\toolkit\\mozapps\\update\\tests\\unit_base_updater\\marSuccessPartial, Exception: [Exception... "Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIFile.remove]" nsresult: "0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)" location: "JS frame :: ../data/xpcshellUtilsAUS.js -> file:///C:/slave/test/build/tests/xpcshell/tests/toolkit/mozapps/update/tests/data/shared.js :: removeDirRecursive :: line 535" data: no]" 11:06:44 INFO - NS_ERROR_FILE_IS_LOCKED: Component returned failure code: 0x8052000e (NS_ERROR_FILE_IS_LOCKED) [nsIFile.copyToFollowingLinks] 11:06:44 INFO - setupUpdaterTest@../data/xpcshellUtilsAUS.js:2782:3 11:06:44 INFO - run_test@C:/slave/test/build/tests/xpcshell/tests/toolkit/mozapps/update/tests/unit_base_updater/marSuccessPartial.js:21:3 11:06:44 INFO - _execute_test@C:\slave\test\build\tests\xpcshell\head.js:534:7 11:06:44 INFO - @-e:1:1 11:06:44 INFO - "11:06:43:952 | TEST-INFO | ../data/xpcshellUtilsAUS.js -> file:///C:/slave/test/build/tests/xpcshell/tests/toolkit/mozapps/update/tests/data/shared.js | [removeDirRecursive : 522] non-fatal error removing directory. Exception: [Exception... "Component returned failure code: 0x8052000e (NS_ERROR_FILE_IS_LOCKED) [nsIFile.remove]" nsresult: "0x8052000e (NS_ERROR_FILE_IS_LOCKED)" location: "JS frame :: ../data/xpcshellUtilsAUS.js -> file:///C:/slave/test/build/tests/xpcshell/tests/toolkit/mozapps/update/tests/data/shared.js :: removeDirRecursive :: line 519" data: no]" 11:06:44 INFO - "11:06:43:953 | TEST-INFO | ../data/xpcshellUtilsAUS.js -> file:///C:/slave/test/build/tests/xpcshell/tests/toolkit/mozapps/update/tests/data/shared.js | [removeDirRecursive : 522] non-fatal error removing directory. Exception: [Exception... "Component returned failure code: 0x8052000e (NS_ERROR_FILE_IS_LOCKED) [nsIFile.remove]" nsresult: "0x8052000e (NS_ERROR_FILE_IS_LOCKED)" location: "JS frame :: ../data/xpcshellUtilsAUS.js -> file:///C:/slave/test/build/tests/xpcshell/tests/toolkit/mozapps/update/tests/data/shared.js :: removeDirRecursive :: line 519" data: no]" 11:06:44 INFO - "11:06:43:955 | TEST-INFO | ../data/xpcshellUtilsAUS.js -> file:///C:/slave/test/build/tests/xpcshell/tests/toolkit/mozapps/update/tests/data/shared.js | [removeDirRecursive : 537] error removing file. Exception: [Exception... "Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIFile.remove]" nsresult: "0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)" location: "JS frame :: ../data/xpcshellUtilsAUS.js -> file:///C:/slave/test/build/tests/xpcshell/tests/toolkit/mozapps/update/tests/data/shared.js :: removeDirRecursive :: line 535" data: no]" 11:06:44 INFO - "11:06:43:956 | TEST-INFO | ../data/xpcshellUtilsAUS.js | [cleanupTestCommon : 993] non-fatal error removing directory. Path: C:\\slave\\test\\build\\tests\\xpcshell\\tests\\toolkit\\mozapps\\update\\tests\\unit_base_updater\\marSuccessPartial, Exception: [Exception... "Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIFile.remove]" nsresult: "0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)" location: "JS frame :: ../data/xpcshellUtilsAUS.js -> file:///C:/slave/test/build/tests/xpcshell/tests/toolkit/mozapps/update/tests/data/shared.js :: removeDirRecursive :: line 535" data: no]" 11:06:44 INFO - PROCESS | 6368 | [6368] WARNING: Could not get the program name for a cubeb stream.: 'NS_SUCCEEDED(rv)', file c:/builds/moz2_slave/m-in-w32-d-0000000000000000000/build/src/dom/media/CubebUtils.cpp, line 153 11:06:44 INFO - PROCESS | 6368 | [6368] WARNING: OOPDeinit() without successful OOPInit(): file c:/builds/moz2_slave/m-in-w32-d-0000000000000000000/build/src/toolkit/crashreporter/nsExceptionHandler.cpp, line 3395 11:06:44 INFO - PROCESS | 6368 | [6368] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file c:/builds/moz2_slave/m-in-w32-d-0000000000000000000/build/src/xpcom/base/nsTraceRefcnt.cpp, line 171 11:06:44 INFO - PROCESS | 6368 | [6368] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file c:/builds/moz2_slave/m-in-w32-d-0000000000000000000/build/src/xpcom/base/nsTraceRefcnt.cpp, line 171 11:06:44 INFO - PROCESS | 6368 | nsStringStats 11:06:44 INFO - PROCESS | 6368 | => mAllocCount: 5690 11:06:44 INFO - PROCESS | 6368 | => mReallocCount: 424 11:06:44 INFO - PROCESS | 6368 | => mFreeCount: 5690 11:06:44 INFO - PROCESS | 6368 | => mShareCount: 5442 11:06:44 INFO - PROCESS | 6368 | => mAdoptCount: 242 11:06:44 INFO - PROCESS | 6368 | => mAdoptFreeCount: 242 11:06:44 INFO - PROCESS | 6368 | => Process ID: 6368, Thread ID: 2552 I considered using a different directory when the parallel run fails and might very well do that to get around these failures where the app fails to run or exit properly.
Note: there were 184 retried tests in that run!
Checked a successful test run and there were 134 retried tests!
Bug 1287176 will make it so the parallel tests use a separate directory when they are retried which should get rid of the NS_ERROR_FILE_ACCESS_DENIED error which doesn't provide any insight as to why the test actually fails. A different error should be reported if it still fails along with a new bug filed.
Depends on: 1287176
If this intermittent is still happening it should show up with a new error per comment #4. It won't be possible to associate it with the error this bug was filed with so resolving -> wfm.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.