Page MenuHomePhabricator

Chrome only, intermittent, no repro: first page sometimes fails to load
Closed, InvalidPublic

Description

spinner still there after 15 seconds

Seen intermittently in Chrome only in automated tests. No consistent reproduction strategy or likely circumstances cause it.

After logging in, on some occasions the first page of UW never appears, the test just sees a spinner forever.

Since the test loads UploadWizard very quickly after login completes, this may be a race condition of some sort.

Firefox seems immune.


Version: unspecified
Severity: normal

Attached:

chrome_spins_first_page.png (381×892 px, 75 KB)

Details

Reference
bz56279

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:15 AM
bzimport set Reference to bz56279.
bzimport added a subscriber: Unknown Object (MLST).

I analyzed the pattern of errors for the last 5 failed test runs. UploadWizard in the automated tests has a problem roughly 50% of the time, as you can see at https://wmf.ci.cloudbees.com/job/browsertests-commons.wikimedia.beta.wmflabs.org-linux-chrome/

Each of the failed tests incurred errors during the run. While I do not know that these errors are in fact the cause of the bug where the first page does not showing up, I suspect it may be. Below is the build number, date, and the errors found during the run of the last five failed tests:

421 Oct 30
network log: [304 Not Modified] GET http://commons.wikimedia.beta.wmflabs.org/w/index.php?title=MediaWiki:CollapsibleTemplates.js&action=raw&ctype=text/javascript
view data

javascript error: Uncaught SyntaxError: Unexpected end of input

javascript error: Uncaught SyntaxError: Unexpected token ILLEGAL

419 Oct 29

network log: Sending: GET http://commons.wikimedia.beta.wmflabs.org/w/index.php?action=raw&ctype=text/css&title=MediaWiki:CollapsibleTemplates.css

javascript error: Uncaught SyntaxError: Unexpected token ILLEGAL

417 Oct 28
network log: [200 OK] GET http://bits.beta.wmflabs.org/commons.wikimedia.beta.wmflabs.org/load.php?debug=false&lang=en&modules=ext.centralNotice.bannerController%7Cext.centralauth.centralautologin.clearcookie%7Cext.uls.i18n%2Cime%2Cinit%2Cinterface%2Clanguagenames%2Cpreferences%2Cwebfonts%7Cext.uls.webfonts.repository%7Cjquery.client%2Ccookie%2CdelayedBind%2Ci18n%2CjStorage%2Cjson%2CmwExtension%2Ctipsy%2Culs%2Cwebfonts%7Cjquery.uls.data%2Cgrid%7Cmediawiki.Uri%2Capi%2Cnotify%2Cuser%2Cutil%7Cmediawiki.legacy.ajax%2Cwikibits%7Cmediawiki.libs.pluralruleparser%7Cmediawiki.page.startup%7Cskins.vector.js%7Cwikibase.client.init&skin=vector&version=20131028T152930Z&*
view data

javascript error: Uncaught SyntaxError: Unexpected end of input

416 Oct 28
network log: [304 Not Modified] GET http://commons.wikimedia.beta.wmflabs.org/w/index.php?title=MediaWiki:CollapsibleTemplates.js&action=raw&ctype=text/javascript
view data

javascript error: Uncaught SyntaxError: Unexpected token ILLEGAL

javascript error: Uncaught SyntaxError: Unexpected token ILLEGAL

javascript error: Uncaught SyntaxError: Unexpected end of input

413 Oct 26

network log: [200 OK] GET http://bits.beta.wmflabs.org/commons.wikimedia.beta.wmflabs.org/load.php?debug=false&lang=en&modules=ext.centralNotice.bannerController%7Cext.centralauth.centralautologin.clearcookie%7Cext.uls.i18n%2Cime%2Cinit%2Cinterface%2Clanguagenames%2Cpreferences%2Cwebfonts%7Cext.uls.webfonts.repository%7Cjquery.client%2Ccookie%2CdelayedBind%2Ci18n%2CjStorage%2Cjson%2CmwExtension%2Ctipsy%2Culs%2Cwebfonts%7Cjquery.uls.data%2Cgrid%7Cmediawiki.Uri%2Capi%2Cnotify%2Cuser%2Cutil%7Cmediawiki.legacy.ajax%2Cwikibits%7Cmediawiki.libs.pluralruleparser%7Cmediawiki.page.startup%7Cskins.vector.js%7Cwikibase.client.init&skin=vector&version=20131026T061711Z&*
view data

javascript error: Uncaught SyntaxError: Unexpected end of input

this is a config problem in beta labs

Gilles raised the priority of this task from Medium to Unbreak Now!.Dec 4 2014, 10:25 AM
Gilles moved this task from Untriaged to Done on the Multimedia board.
Gilles lowered the priority of this task from Unbreak Now! to Medium.Dec 4 2014, 11:20 AM