Closed Bug 901017 Opened 11 years ago Closed 11 years ago

Intermittent jsdownloads\test\unit\test_DownloadLegacy.js | resource://gre/modules/commonjs/sdk/core/promise.js | Unexpected exception Win error 32 during operation remove (The process cannot access the file because it is being used by another process)

Categories

(Toolkit :: Downloads API, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: RyanVM, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: intermittent-failure)

https://tbpl.mozilla.org/php/getParsedLog.php?id=26074674&tree=Mozilla-Central WINNT 6.2 mozilla-central pgo test xpcshell on 2013-08-02 06:46:07 PDT for push 76a944fa6b25 slave: t-w864-ix-127 07:06:25 INFO - TEST-INFO | C:\slave\test\build\tests\xpcshell\tests\toolkit\components\jsdownloads\test\unit\test_DownloadLegacy.js | running test ... 07:06:28 WARNING - TEST-UNEXPECTED-FAIL | C:\slave\test\build\tests\xpcshell\tests\toolkit\components\jsdownloads\test\unit\test_DownloadLegacy.js | test failed (with xpcshell return code: 0), see following log: 07:06:28 INFO - >>>>>>> 07:06:28 INFO - TEST-INFO | (xpcshell/head.js) | test MAIN run_test pending (1) 07:06:28 INFO - TEST-INFO | (xpcshell/head.js) | test run_next_test 0 pending (2) 07:06:28 INFO - TEST-INFO | (xpcshell/head.js) | test MAIN run_test finished (2) 07:06:28 INFO - TEST-INFO | (xpcshell/head.js) | running event loop 07:06:28 INFO - TEST-INFO | C:/slave/test/build/tests/xpcshell/tests/toolkit/components/jsdownloads/test/unit/test_DownloadLegacy.js | Starting test_common_initialize 07:06:28 INFO - TEST-INFO | (xpcshell/head.js) | test test_common_initialize pending (2) 07:06:28 INFO - TEST-INFO | (xpcshell/head.js) | test run_next_test 1 pending (3) 07:06:28 INFO - TEST-INFO | (xpcshell/head.js) | test test_common_initialize finished (3) 07:06:28 INFO - TEST-INFO | (xpcshell/head.js) | test run_next_test 0 finished (2) 07:06:28 INFO - TEST-INFO | C:/slave/test/build/tests/xpcshell/tests/toolkit/components/jsdownloads/test/unit/test_DownloadLegacy.js | Starting test_basic 07:06:28 INFO - TEST-INFO | (xpcshell/head.js) | test test_basic pending (2) 07:06:28 INFO - TEST-PASS | C:/slave/test/build/tests/xpcshell/tests/toolkit/components/jsdownloads/test/unit/head.js | [getTempFile : 133] false == false 07:06:28 INFO - TEST-PASS | C:/slave/test/build/tests/xpcshell/tests/toolkit/components/jsdownloads/test/unit/test_DownloadLegacy.js -> file:///C:/slave/test/build/tests/xpcshell/tests/toolkit/components/jsdownloads/test/unit/common_test_Download.js | [test_basic : 195] "http://localhost:55237/source.txt" == "http://localhost:55237/source.txt" 07:06:28 INFO - TEST-PASS | C:/slave/test/build/tests/xpcshell/tests/toolkit/components/jsdownloads/test/unit/test_DownloadLegacy.js -> file:///C:/slave/test/build/tests/xpcshell/tests/toolkit/components/jsdownloads/test/unit/common_test_Download.js | [test_basic : 196] "c:\users\cltbld~1.t-w\appdata\local\temp\tmp7xzdmr\test-download-950224.txt" == "c:\users\cltbld~1.t-w\appdata\local\temp\tmp7xzdmr\test-download-950224.txt" 07:06:28 INFO - TEST-INFO | (xpcshell/head.js) | test run_next_test 1 finished (2) 07:06:28 INFO - TEST-PASS | C:/slave/test/build/tests/xpcshell/tests/toolkit/components/jsdownloads/test/unit/test_DownloadLegacy.js -> file:///C:/slave/test/build/tests/xpcshell/tests/toolkit/components/jsdownloads/test/unit/common_test_Download.js | [test_basic : 202] true == true 07:06:28 INFO - TEST-PASS | C:/slave/test/build/tests/xpcshell/tests/toolkit/components/jsdownloads/test/unit/head.js | [promiseVerifyContents/</< : 399] true == true 07:06:28 INFO - TEST-PASS | C:/slave/test/build/tests/xpcshell/tests/toolkit/components/jsdownloads/test/unit/head.js | [promiseVerifyContents/</< : 403] "This test string is downloaded." == "This test string is downloaded." 07:06:28 INFO - TEST-INFO | (xpcshell/head.js) | test run_next_test 2 pending (2) 07:06:28 INFO - TEST-INFO | (xpcshell/head.js) | test test_basic finished (2) blah blah blah... 07:06:28 INFO - TEST-INFO | C:/slave/test/build/tests/xpcshell/tests/toolkit/components/jsdownloads/test/unit/head.js | "Interruptible request started." 07:06:28 INFO - TEST-PASS | C:/slave/test/build/tests/xpcshell/tests/toolkit/components/jsdownloads/test/unit/head.js | [getTempFile : 133] false == false 07:06:28 INFO - TEST-PASS | C:/slave/test/build/tests/xpcshell/tests/toolkit/components/jsdownloads/test/unit/test_DownloadLegacy.js -> file:///C:/slave/test/build/tests/xpcshell/tests/toolkit/components/jsdownloads/test/unit/common_test_Download.js | [test_cancel_midway_restart_tryToKeepPartialData : 637] true == true 07:06:28 INFO - TEST-PASS | C:/slave/test/build/tests/xpcshell/tests/toolkit/components/jsdownloads/test/unit/test_DownloadLegacy.js -> file:///C:/slave/test/build/tests/xpcshell/tests/toolkit/components/jsdownloads/test/unit/common_test_Download.js | [test_cancel_midway_restart_tryToKeepPartialData : 638] true == true 07:06:28 INFO - TEST-PASS | C:/slave/test/build/tests/xpcshell/tests/toolkit/components/jsdownloads/test/unit/test_DownloadLegacy.js -> file:///C:/slave/test/build/tests/xpcshell/tests/toolkit/components/jsdownloads/test/unit/common_test_Download.js | [test_cancel_midway_restart_tryToKeepPartialData : 641] false == false 07:06:28 INFO - TEST-PASS | C:/slave/test/build/tests/xpcshell/tests/toolkit/components/jsdownloads/test/unit/head.js | [promiseVerifyContents/</< : 399] true == true 07:06:28 INFO - TEST-PASS | C:/slave/test/build/tests/xpcshell/tests/toolkit/components/jsdownloads/test/unit/head.js | [promiseVerifyContents/</< : 403] "This test string is downloaded." == "This test string is downloaded." 07:06:28 INFO - TEST-PASS | C:/slave/test/build/tests/xpcshell/tests/toolkit/components/jsdownloads/test/unit/test_DownloadLegacy.js -> file:///C:/slave/test/build/tests/xpcshell/tests/toolkit/components/jsdownloads/test/unit/common_test_Download.js | [test_cancel_midway_restart_tryToKeepPartialData : 645] 0 == 0 07:06:28 INFO - TEST-INFO | C:/slave/test/build/tests/xpcshell/tests/toolkit/components/jsdownloads/test/unit/head.js | "Interruptible responses are now allowed to continue." 07:06:28 INFO - TEST-INFO | C:/slave/test/build/tests/xpcshell/tests/toolkit/components/jsdownloads/test/unit/head.js | "Interruptible request finished." 07:06:28 INFO - TEST-INFO | C:/slave/test/build/tests/xpcshell/tests/toolkit/components/jsdownloads/test/unit/head.js | "Interruptible request started." 07:06:28 INFO - TEST-INFO | C:/slave/test/build/tests/xpcshell/tests/toolkit/components/jsdownloads/test/unit/head.js | "Interruptible request finished." 07:06:28 INFO - TEST-PASS | C:/slave/test/build/tests/xpcshell/tests/toolkit/components/jsdownloads/test/unit/test_DownloadLegacy.js -> file:///C:/slave/test/build/tests/xpcshell/tests/toolkit/components/jsdownloads/test/unit/common_test_Download.js | [test_cancel_midway_restart_tryToKeepPartialData : 652] "31" == 31 07:06:28 INFO - TEST-PASS | C:/slave/test/build/tests/xpcshell/tests/toolkit/components/jsdownloads/test/unit/head.js | [promiseVerifyContents/</< : 399] true == true 07:06:28 WARNING - TEST-UNEXPECTED-FAIL | C:/slave/test/build/tests/xpcshell/tests/toolkit/components/jsdownloads/test/unit/head.js | "This test string is downloaded." == "This test string is downloaded.This test string is downloaded." - See following stack: 07:06:28 INFO - JS frame :: C:/slave/test/build/tests/xpcshell/tests/toolkit/components/jsdownloads/test/unit/head.js :: promiseVerifyContents/</< :: line 403 07:06:28 INFO - JS frame :: resource://gre/modules/NetUtil.jsm :: NetUtil_asyncOpen/<.onStopRequest :: line 137 07:06:28 INFO - native frame :: <unknown filename> :: <TOP_LEVEL> :: line 0 07:06:28 INFO - TEST-INFO | (xpcshell/head.js) | exiting test 07:06:28 INFO - !!! error running onStopped callback: TypeError: callback is not a function 07:06:28 INFO - <<<<<<<
Blocks: jsdownloads
This is another example of a several unrelated issues that are all lumped into one bug because they occur on the same test. The original report looks like bug 865364 which is now fixed. Then, there are some reports that are actually fixed by the rounding fix from bug 908240 (checked in on Sept 10). Now, the remaining reports, as early as August 6 are the following error: 04:27:55 WARNING - TEST-UNEXPECTED-FAIL | resource://gre/modules/commonjs/sdk/core/promise.js | Unexpected exception Win error 32 during operation remove (The process cannot access the file because it is being used by another process. This error is within the test test_finalize_tryToKeepPartialData, which has a timeout which was removed along with some related fixes by bug 899102 (checked in September 17) I'm going to change this bug to be about that specific error. Hopefully, bug 899102 has fixed it. There was one report (comment 26) with the error: TEST-UNEXPECTED-FAIL | resource://gre/modules/commonjs/sdk/core/promise.js | Unexpected exception NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIWebBrowserPersist.savePrivacyAwareURI We should file a separate bug if we see this error again.
Summary: Intermittent jsdownloads\test\unit\test_DownloadLegacy.js | test failed (with xpcshell return code: 0) | "This test string is downloaded." == "This test string is downloaded.This test string is downloaded." → Intermittent jsdownloads\test\unit\test_DownloadLegacy.js | resource://gre/modules/commonjs/sdk/core/promise.js | Unexpected exception Win error 32 during operation remove (The process cannot access the file because it is being used by another process)
I'm going to mark this fixed. Please file a separate bug if other failures occur in this test.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Changing to WFM so it doesn't show up on my needs-uplift queries.
Resolution: FIXED → WORKSFORME
You need to log in before you can comment on or make changes to this bug.