Last modified: 2014-06-02 22:03:49 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T63398, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 61398 - Investigate VisualEditor browser test failures for "headings" test run via CloudBees
Investigate VisualEditor browser test failures for "headings" test run via Cl...
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Quality Assurance (Other open bugs)
wmf-deployment
All All
: Unprioritized normal (vote)
: ---
Assigned To: Jeff Hall
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-14 22:51 UTC by Jeff Hall
Modified: 2014-06-02 22:03 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Jeff Hall 2014-02-14 22:51:12 UTC
The VisualEditor headings.feature has begun to fail[1] when run via CloudBees (but not when run locally).  Relevant Selenium log message is (example is for the "Subheading1" scenario, but the pattern is the same for all scenarios in this test):

00:25:21.230 INFO - Executing: [find element: By.xpath: .//a[@title='^3']] at URL: /session/83a0781b-247c-4f0a-88f8-a93cef166a15/element)
00:25:21.247 WARN - Exception thrown
org.openqa.selenium.NoSuchElementException: Unable to locate element: {"method":"xpath","selector":".//a[@title='^3']"}
Command duration or timeout: 13 milliseconds
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: '2.39.0', revision: 'ff23eac', time: '2013-12-16 16:11:15'
System info: host: 'chef', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'i386', os.version: '3.2.0-56-virtual', java.version: '1.6.0_31'
Session ID: 185a49ff-3267-43a3-ad44-3e6881cd0d43
Driver info: org.openqa.selenium.firefox.FirefoxDriver
Capabilities [{platform=LINUX, acceptSslCerts=true, javascriptEnabled=true, browserName=firefox, rotatable=false, locationContextEnabled=true, version=26.0, cssSelectorsEnabled=true, databaseEnabled=true, handlesAlerts=true, browserConnectionEnabled=true, nativeEvents=false, webStorageEnabled=true, applicationCacheEnabled=true, takesScreenshot=true}]

The problem does not repro when the test is run on a MacBook, and the insertion of the following command into the headings_steps.rb file at appropriate points succeeds as expected:

@browser.a(:xpath, ".//a[@title='^3']").should exist

Need to figure out why these test scenarios fail when run via CloudBees, since they seem to be perfectly legitimate test cases.

[1] https://wmf.ci.cloudbees.com/view/r-ve/job/VisualEditor-en.wikipedia.beta.wmflabs.org-linux-firefox/327/testReport/
Comment 1 Gerrit Notification Bot 2014-02-19 00:39:15 UTC
Change 114114 had a related patch set uploaded by Jhall:
[Browser test] Repair broken "header" browser test

https://gerrit.wikimedia.org/r/114114
Comment 2 Gerrit Notification Bot 2014-02-19 00:56:54 UTC
Change 114114 merged by jenkins-bot:
[Browser test] Repair broken "header" browser test

https://gerrit.wikimedia.org/r/114114
Comment 3 Andre Klapper 2014-04-25 06:42:59 UTC
All patches merged - is there more work left to do here (if yes: please reset the bug report status to NEW or ASSIGNED), or can you close this ticket as RESOLVED FIXED?
Comment 4 Željko Filipin 2014-04-25 08:25:26 UTC
Chris, since we are moving away from Cloudbees, do you plan to investigate this or should be close it?

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links