Closed Bug 889860 Opened 11 years ago Closed 11 years ago

Intermittent test_0200_app_launch_apply_update.js | Test timed out | test failed (with xpcshell return code: 1)

Categories

(Toolkit :: Application Update, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla25
Tracking Status
firefox22 --- wontfix
firefox23 --- fixed
firefox24 --- fixed
firefox25 --- fixed

People

(Reporter: RyanVM, Assigned: robert.strong.bugs)

Details

(Keywords: intermittent-failure)

Attachments

(1 file, 2 obsolete files)

https://tbpl.mozilla.org/php/getParsedLog.php?id=24878399&tree=Mozilla-Inbound

Windows XP 32-bit mozilla-inbound opt test xpcshell on 2013-07-03 02:52:01 PDT for push 9939c3648650
slave: t-xp32-ix-017

03:13:40     INFO -  TEST-INFO | C:\slave\test\build\tests\xpcshell\tests\toolkit\mozapps\update\test\unit\test_0200_app_launch_apply_update.js | running test ...
03:18:40  WARNING -  TEST-UNEXPECTED-FAIL | C:\slave\test\build\tests\xpcshell\tests\toolkit\mozapps\update\test\unit\test_0200_app_launch_apply_update.js | Test timed out
03:18:40     INFO -  Can't trigger Breakpad, just killing process
03:18:40  WARNING -  TEST-UNEXPECTED-FAIL | C:\slave\test\build\tests\xpcshell\tests\toolkit\mozapps\update\test\unit\test_0200_app_launch_apply_update.js | test failed (with xpcshell return code: 1), see following log:
03:18:40     INFO -  >>>>>>>
03:18:40     INFO -  TEST-INFO | (xpcshell/head.js) | test MAIN run_test pending (1)
03:18:40     INFO -  TEST-INFO | (xpcshell/head.js) | test pending (2)
03:18:40     INFO -  TEST-INFO | C:/slave/test/build/tests/xpcshell/tests/toolkit/mozapps/update/test/unit/test_0200_app_launch_apply_update.js | [run_test : 84] update test directory path: C:\slave\test\build\application\firefox\update_test
03:18:40     INFO -  TEST-INFO | C:/slave/test/build/tests/xpcshell/tests/toolkit/mozapps/update/test/unit/test_0200_app_launch_apply_update.js | [run_test : 123] launching C:\WINDOWS\System32\cmd.exe /D /Q /C C:\slave\test\build\application\firefox\0200_aus_test_app.exe -no-remote -process-updates 1> C:\slave\test\build\tests\xpcshell\tests\toolkit\mozapps\update\test\unit\0200_app_console_log 2>&1
03:18:40     INFO -  TEST-INFO | C:/slave/test/build/tests/xpcshell/tests/toolkit/mozapps/update/test/unit/head_update.js | [setEnvironment : 3210] setting the XRE_NO_WINDOWS_CRASH_DIALOG environment variable to 1... previously it didn't exist
03:18:40     INFO -  TEST-INFO | C:/slave/test/build/tests/xpcshell/tests/toolkit/mozapps/update/test/unit/head_update.js | [setEnvironment : 3257] removing the XPCOM_MEM_LEAK_LOG environment variable... previous value c:\docume~1\cltbld~1.t-x\locals~1\temp\tmpcli0co\runxpcshelltests_leaks.log
03:18:40     INFO -  TEST-INFO | C:/slave/test/build/tests/xpcshell/tests/toolkit/mozapps/update/test/unit/head_update.js | [setEnvironment : 3264] setting the XPCOM_DEBUG_BREAK environment variable to warn... previous value stack-and-abort
03:18:40     INFO -  TEST-INFO | C:/slave/test/build/tests/xpcshell/tests/toolkit/mozapps/update/test/unit/head_update.js | [setEnvironment : 3294] setting MOZ_NO_SERVICE_FALLBACK environment variable to 1
03:18:40     INFO -  TEST-INFO | C:/slave/test/build/tests/xpcshell/tests/toolkit/mozapps/update/test/unit/head_update.js | [resetEnvironment : 3314] setting the XPCOM_MEM_LEAK_LOG environment variable back to c:\docume~1\cltbld~1.t-x\locals~1\temp\tmpcli0co\runxpcshelltests_leaks.log
03:18:40     INFO -  TEST-INFO | C:/slave/test/build/tests/xpcshell/tests/toolkit/mozapps/update/test/unit/head_update.js | [resetEnvironment : 3320] setting the XPCOM_DEBUG_BREAK environment variable back to stack-and-abort
03:18:40     INFO -  TEST-INFO | C:/slave/test/build/tests/xpcshell/tests/toolkit/mozapps/update/test/unit/head_update.js | [resetEnvironment : 3354] removing the XRE_NO_WINDOWS_CRASH_DIALOG environment variable
03:18:40     INFO -  TEST-INFO | C:/slave/test/build/tests/xpcshell/tests/toolkit/mozapps/update/test/unit/head_update.js | [resetEnvironment : 3376] removing MOZ_NO_SERVICE_FALLBACK environment variable
03:18:40     INFO -  TEST-INFO | (xpcshell/head.js) | test MAIN run_test finished (2)
03:18:40     INFO -  TEST-INFO | (xpcshell/head.js) | running event loop
03:18:40     INFO -  TEST-INFO | C:/slave/test/build/tests/xpcshell/tests/toolkit/mozapps/update/test/unit/head_update.js | [PO_observe : 3133] topic process-finished, process exitValue 0
03:18:40     INFO -  TEST-INFO | C:/slave/test/build/tests/xpcshell/tests/toolkit/mozapps/update/test/unit/test_0200_app_launch_apply_update.js | [checkUpdateFinished : 261] contents of C:\Documents and Settings\cltbld.T-XP32-IX-017\Local Settings\Application Data\Mozilla\Firefox\firefox\updates\0\update.log:
03:18:40     INFO -  TEST-PASS | C:/slave/test/build/tests/xpcshell/tests/toolkit/mozapps/update/test/unit/test_0200_app_launch_apply_update.js | [checkUpdateFinished : 267] "succeeded" == "succeeded"
03:18:40     INFO -  *** AUS:SVC Creating UpdateService
03:18:40     INFO -  *** AUS:SVC gCanCheckForUpdates - able to check for updates
03:18:40     INFO -  *** AUS:SVC gCanApplyUpdates - testing write access C:\Documents and Settings\cltbld.T-XP32-IX-017\Local Settings\Application Data\Mozilla\Firefox\firefox\update.test
03:18:40     INFO -  *** AUS:SVC gCanApplyUpdates - windowsVersion = 5.1
03:18:40     INFO -  *** AUS:SVC gCanApplyUpdates - testing write access C:\slave\test\build\application\firefox\update.test
03:18:40     INFO -  *** AUS:SVC gCanApplyUpdates - able to apply updates
03:18:40     INFO -  *** AUS:SVC readStatusFile - status: succeeded, path: C:\Documents and Settings\cltbld.T-XP32-IX-017\Local Settings\Application Data\Mozilla\Firefox\firefox\updates\0\update.status
03:18:40     INFO -  *** AUS:SVC readStatusFile - status: succeeded, path: C:\Documents and Settings\cltbld.T-XP32-IX-017\Local Settings\Application Data\Mozilla\Firefox\firefox\updates\0\update.status
03:18:40     INFO -  *** AUS:SVC UpdateManager:_loadXMLFileIntoArray: XML file does not exist
03:18:40     INFO -  *** AUS:SVC cleanUpUpdatesDir - failed to move file C:\Documents and Settings\cltbld.T-XP32-IX-017\Local Settings\Application Data\Mozilla\Firefox\firefox\updates\0\update.log to C:\Documents and Settings\cltbld.T-XP32-IX-017\Local Settings\Application Data\Mozilla\Firefox\firefox\updates and rename it to last-update.log
03:18:40     INFO -  *** AUS:SVC cleanUpUpdatesDir - failed to remove file C:\Documents and Settings\cltbld.T-XP32-IX-017\Local Settings\Application Data\Mozilla\Firefox\firefox\updates\0\update.log
03:18:40     INFO -  *** AUS:SVC cleanUpUpdatesDir - failed to remove file C:\Documents and Settings\cltbld.T-XP32-IX-017\Local Settings\Application Data\Mozilla\Firefox\firefox\updates\0\updater.exe
03:18:40     INFO -  TEST-PASS | C:/slave/test/build/tests/xpcshell/tests/toolkit/mozapps/update/test/unit/test_0200_app_launch_apply_update.js | [checkUpdateFinished : 272] "succeeded" == "succeeded"
03:18:40     INFO -  TEST-PASS | C:/slave/test/build/tests/xpcshell/tests/toolkit/mozapps/update/test/unit/test_0200_app_launch_apply_update.js | [checkUpdateFinished : 278] false == false
03:18:40     INFO -  TEST-PASS | C:/slave/test/build/tests/xpcshell/tests/toolkit/mozapps/update/test/unit/test_0200_app_launch_apply_update.js | [checkUpdateFinished : 282] true == true
03:18:40     INFO -  TEST-PASS | C:/slave/test/build/tests/xpcshell/tests/toolkit/mozapps/update/test/unit/test_0200_app_launch_apply_update.js | [checkUpdateFinished : 283] "UpdateTestAddFile
03:18:40     INFO -  " == "UpdateTestAddFile
03:18:40     INFO -  "
03:18:40     INFO -  TEST-PASS | C:/slave/test/build/tests/xpcshell/tests/toolkit/mozapps/update/test/unit/test_0200_app_launch_apply_update.js | [checkUpdateFinished : 287] true == true
03:18:40     INFO -  TEST-PASS | C:/slave/test/build/tests/xpcshell/tests/toolkit/mozapps/update/test/unit/test_0200_app_launch_apply_update.js | [checkUpdateFinished : 288] "update_test/UpdateTestRemoveFile
03:18:40     INFO -  " == "update_test/UpdateTestRemoveFile
03:18:40     INFO -  "
03:18:40     INFO -  <<<<<<<
Assignee: nobody → robert.bugzilla
Status: NEW → ASSIGNED
Attached patch patch rev1 (obsolete) — Splinter Review
I suspect this won't fix this though it shouldn't hurt and I tried to reproduce with this patch numerous times without success so it might.
https://tbpl.mozilla.org/?tree=Try&rev=51b5f8398388
Attachment #771506 - Flags: review?(netzen)
Comment on attachment 771506 [details] [diff] [review]
patch rev1

Review of attachment 771506 [details] [diff] [review]:
-----------------------------------------------------------------

::: toolkit/mozapps/update/test/unit/test_0200_app_launch_apply_update.js
@@ +256,5 @@
>  
> +  try {
> +    // Check that the last-update.log is not locked before proceeding.
> +    log.moveTo(updatesDir, FILE_LAST_LOG);
> +    log.moveTo(updatesDir, FILE_UPDATE_LOG);

You may want to catch these separately for more specific logging.  I suspect the first one would always be the one to fail though so I'm fine with leaving it as is.
Attachment #771506 - Flags: review?(netzen) → review+
Attached patch patch rev2 - comments addressed (obsolete) — Splinter Review
Attachment #771506 - Attachment is obsolete: true
Attachment #771674 - Flags: review+
Pushed to mozilla-inbound
https://hg.mozilla.org/integration/mozilla-inbound/rev/cf80d2e4411c
Target Milestone: --- → mozilla25
https://hg.mozilla.org/mozilla-central/rev/cf80d2e4411c
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: