Page MenuHomePhabricator

Investigate "No data received" errors from VE Chrome tests running via SauceLabs
Closed, InvalidPublic

Description

Author: jhall

Description:
When it is feeling uncooperative, SauceLabs will report test results like this from a Chrome/Linux test of some or other aspect of Visual Editor:

https://wmf.ci.cloudbees.com/view/r-ve/job/VisualEditor-en.wikipedia.beta.wmflabs.org-linux-chrome/222/testReport/(root)/VisualEditor%20general%20text%20markup%20features/VisualEditor_general_markup__outline_example_____Underline____u_This_is_a_new_line__u____/

The browser response at the time of the failure was this helpful message:

https://saucelabs.com/jobs/58b6d51fe48b4eaf845939c1f3d6de20/0005screenshot.png

The Selenium log captured by SauceLabs reports:

[22.414][FINE]: Command received (/session/7a6fd70f2bc2c63555f62ec29cc9d507/element) with params {

"using": "xpath",
"value": ".//span[contains(concat(' ', @class, ' '), ' oo-ui-iconedElement-icon oo-ui-icon-text-style ')]"

}

[22.414][FINER]: Waiting for all views to stop loading...
[22.414][FINER]: Done waiting for all views to stop loading
[22.447][FINER]: Waiting for all views to stop loading...
[22.447][FINER]: Done waiting for all views to stop loading
[22.447][WARNING]: Command finished (/session/7a6fd70f2bc2c63555f62ec29cc9d507/element) with response {

"sessionId": "7a6fd70f2bc2c63555f62ec29cc9d507",
"status": 7,
"value": {
   "message": "The element could not be found"
}

}

…while the Sauce Log records several HTTP 500 conditions similar to this (I will attach the complete Sauce Log to this bug):

{
    "HTTPStatus": 500, 
    "between_commands": 0.0773019790649414, 
    "duration": 0.036900997161865234, 
    "in_video_timeline": 19.80928897857666, 
    "method": "POST", 
    "path": "element", 
    "request": {
        "using": "xpath", 
        "value": ".//span[contains(concat(' ', @class, ' '), ' oo-ui-iconedElement-icon oo-ui-icon-text-style ')]"
    }, 
    "result": {
        "message": "The element could not be found"
    }, 
    "screenshot": null, 
    "statusCode": 7
},

Need to investigate and figure out what is going on here...


Version: unspecified
Severity: normal

Details

Reference
bz58756

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:40 AM
bzimport set Reference to bz58756.

jhall wrote:

Complete Sauce Log

Attached:

Change 103058 had a related patch set uploaded by Jhall:
[Browser test] Add session teardowns steps

https://gerrit.wikimedia.org/r/103058

Change 103058 abandoned by Jhall:
[Browser test] WIP Add session teardown steps

Reason:
Abandoning this change after a pairing session with Chris McMahon, since we settled on change #103566 as a better solution for the root problem.

https://gerrit.wikimedia.org/r/103058

jhall wrote:

Changing bug status since task in still WIP.