Last modified: 2013-11-19 14:22:44 UTC
WIP: I am seeing a number of failures in the Selenium tests when running for Chrome. The failures seem to be caused by many calls to ResourceLoader, many repeated, many seemingly unnecessary, and some of these calls fail. Other calls to other unexpected sources are also evident, this is just a single example. Each failed test shows a different set of calls to load.php. Here is one example: A normal load of UW on beta commons has 2 calls for two jquery things, one for the spinner and one for ULS. See screen shot. But a failed automated test shows multiple repeated calls for jquery.ui.button. See screen shot. https://saucelabs.com/jobs/8fd3f6a483db46da9c4cfbbdcf7d2449 A reference to jquery.ui.button is found only one place in all of the UploadWizard source code, line 473 of UploadWizardHooks.php. It seem to be a dependency for ext.uploadWizard.campaign What causes UploadWizard to make multiple calls for a jquery feature jquery.ui.button that it would not normally need? Under what circumstances would this happen to a normal user? When UW makes these multiple calls, it seems that what is returned from some of those calls is corrupt, possibly truncated, since the errors tend to be 'Uncaught SyntaxError: Unexpected token ILLEGAL' and similar. I think VisualEditor has a similar problem, possibly indicated in https://bugzilla.wikimedia.org/show_bug.cgi?id=55801 (see screen shot there)
Created attachment 13658 [details] normal operation
Created attachment 13659 [details] too many calls to load.php
no longer happening as of about Nov 15