Intermittent test_custom_origin_uninstall_install.xul | Test timed out.

RESOLVED WONTFIX

Status

defect
RESOLVED WONTFIX
5 years ago
Last year

People

(Reporter: cbook, Assigned: myk)

Tracking

({intermittent-failure})

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [test disabled on Windows], )

WINNT 6.2 mozilla-inbound debug test mochitest-other on 2014-08-27 03:18:11 PDT for push d2f60a06625a

slave: t-w864-ix-085

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



35922 INFO TEST-UNEXPECTED-FAIL | chrome://mochitests/content/chrome/toolkit/webapps/tests/test_custom_origin_uninstall_install.xul | Test timed out.
This is happening with extremely high frequency on Windows lately. Fabrice, can you please look into this or suggest someone who might be able to? Otherwise, we'll probably need to disable in short order.
Component: General → Web Apps
Flags: needinfo?(fabrice)
Product: Toolkit → Firefox
This is a desktop runtime issue, so I'll take a look at it.
Assignee: nobody → myk
Flags: needinfo?(fabrice)
The log of a failure doesn't show anything suspicious, nor does a comparison between that log and the log of a successful test run.  And I can't reproduce locally.  So I've added some additional debugging code into this try run to get a better idea of where the failure occurs:

https://treeherder.mozilla.org/#/jobs?repo=try&revision=42566c9462ce
Another try run with more/better logging and a possible fix:

https://treeherder.mozilla.org/#/jobs?repo=try&revision=e5961283424d
After adding a bunch more logging, https://treeherder.mozilla.org/#/jobs?repo=try&revision=954cbb148310 reveals that the second install attempt fails because WinNativeApp can't find a unique name for the Start Menu link:

>21:45:02     INFO -  OS.File.exists(C:\Documents and Settings\cltbld.T-XP32-IX-064\Start Menu\Programs\Custom Origin Test (96).lnk
>21:45:02     INFO -  OS.File.exists(C:\Documents and Settings\cltbld.T-XP32-IX-064\Start Menu\Programs\Custom Origin Test (97).lnk
>21:45:02     INFO -  OS.File.exists(C:\Documents and Settings\cltbld.T-XP32-IX-064\Start Menu\Programs\Custom Origin Test (98).lnk
>21:45:02     INFO -  OS.File.exists(C:\Documents and Settings\cltbld.T-XP32-IX-064\Start Menu\Programs\Custom Origin Test (99).lnk
>21:45:02     INFO -  WinNativeApp.install: Perform the installation in the temp directory error: No available filename for Custom Origin Test in C:\Documents and Settings\cltbld.T-XP32-IX-064\Start Menu\Programs,C:\Documents and Settings\cltbld.T-XP32-IX-064\Desktop

One possibility is that these files aren't being cleaned up from previous installations, causing the test to fail once the machine is reused enough for the test.  But there may be something else going on.

I also see this error, although I don't think it's related:

>21:34:17     INFO -  JavaScript error: http://test2.example.com/chrome/dom/tests/mochitest/webapps/head.js, line 6: TypeError: Cu is undefined