Project

General

Profile

Actions

Bug #3856

closed

[Workbench] Integration tests don't run with Firefox 32/33

Added by Brett Smith over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assigned To:
-
Category:
Workbench
Target version:
-
Story points:
-

Description

This might just be me, and it's almost certainly not our bug per se, but I wanted to start this bug report to keep track of the issue and find resolution.

When I have Firefox 32 installed, I can't run the Workbench integration tests. Each one sits for a very long time, then finally fails with an error. When I ^C the test runner, I get this traceback:

/home/brett/.rvm/gems/ruby-2.1.1/gems/childprocess-0.5.1/lib/childprocess/abstract_process.rb:148:in `sleep': Interrupt
        from /home/brett/.rvm/gems/ruby-2.1.1/gems/childprocess-0.5.1/lib/childprocess/abstract_process.rb:148:in `poll_for_exit'
        from /home/brett/.rvm/gems/ruby-2.1.1/gems/selenium-webdriver-2.40.0/lib/selenium/webdriver/firefox/binary.rb:47:in `wait'
        from /home/brett/.rvm/gems/ruby-2.1.1/gems/selenium-webdriver-2.40.0/lib/selenium/webdriver/firefox/launcher.rb:71:in `start_silent_and_wait'
        from /home/brett/.rvm/gems/ruby-2.1.1/gems/selenium-webdriver-2.40.0/lib/selenium/webdriver/firefox/launcher.rb:35:in `block in launch'
        from /home/brett/.rvm/gems/ruby-2.1.1/gems/selenium-webdriver-2.40.0/lib/selenium/webdriver/firefox/socket_lock.rb:20:in `locked'   
        from /home/brett/.rvm/gems/ruby-2.1.1/gems/selenium-webdriver-2.40.0/lib/selenium/webdriver/firefox/launcher.rb:32:in `launch'
        from /home/brett/.rvm/gems/ruby-2.1.1/gems/selenium-webdriver-2.40.0/lib/selenium/webdriver/firefox/bridge.rb:24:in `initialize'
        from /home/brett/.rvm/gems/ruby-2.1.1/gems/selenium-webdriver-2.40.0/lib/selenium/webdriver/common/driver.rb:31:in `new'
        from /home/brett/.rvm/gems/ruby-2.1.1/gems/selenium-webdriver-2.40.0/lib/selenium/webdriver/common/driver.rb:31:in `for'
        from /home/brett/.rvm/gems/ruby-2.1.1/gems/selenium-webdriver-2.40.0/lib/selenium/webdriver.rb:67:in `for'
        from /home/brett/.rvm/gems/ruby-2.1.1/gems/capybara-2.2.1/lib/capybara/selenium/driver.rb:13:in `browser'
        from /home/brett/.rvm/gems/ruby-2.1.1/gems/capybara-2.2.1/lib/capybara/selenium/driver.rb:88:in `save_screenshot'
        from /home/brett/.rvm/gems/ruby-2.1.1/gems/capybara-2.2.1/lib/capybara/session.rb:386:in `save_screenshot'
        from /home/brett/repos/arvados/apps/workbench/test/integration_helper.rb:61:in `screenshot'
        from /home/brett/repos/arvados/apps/workbench/test/integration_helper.rb:72:in `block in <class:IntegrationTest>'
        from /home/brett/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:438:in `instance_exec'
        from /home/brett/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:438:in `block in make_lambda'
        from /home/brett/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:253:in `call'
        from /home/brett/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:253:in `block in simple'
        from /home/brett/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:252:in `call'
        from /home/brett/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:252:in `block in simple'
        from /home/brett/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:86:in `call'
        from /home/brett/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:86:in `run_callbacks'
        from /home/brett/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.1/lib/active_support/testing/setup_and_teardown.rb:45:in `after_teardown'
        from /home/brett/.rvm/gems/ruby-2.1.1/gems/activerecord-4.1.1/lib/active_record/fixtures.rb:811:in `after_teardown'
        from /home/brett/.rvm/gems/ruby-2.1.1/gems/minitest-5.3.3/lib/minitest/test.rb:111:in `block (4 levels) in run'
        from /home/brett/.rvm/gems/ruby-2.1.1/gems/minitest-5.3.3/lib/minitest/test.rb:204:in `capture_exceptions'
        from /home/brett/.rvm/gems/ruby-2.1.1/gems/minitest-5.3.3/lib/minitest/test.rb:110:in `block (3 levels) in run'
        from /home/brett/.rvm/gems/ruby-2.1.1/gems/minitest-5.3.3/lib/minitest/test.rb:109:in `each'
        from /home/brett/.rvm/gems/ruby-2.1.1/gems/minitest-5.3.3/lib/minitest/test.rb:109:in `block (2 levels) in run'
        from /home/brett/.rvm/gems/ruby-2.1.1/gems/minitest-5.3.3/lib/minitest/test.rb:256:in `time_it'
        from /home/brett/.rvm/gems/ruby-2.1.1/gems/minitest-5.3.3/lib/minitest/test.rb:102:in `block in run'
        from /home/brett/.rvm/gems/ruby-2.1.1/gems/minitest-5.3.3/lib/minitest.rb:317:in `on_signal'
        from /home/brett/.rvm/gems/ruby-2.1.1/gems/minitest-5.3.3/lib/minitest/test.rb:276:in `with_info_handler'
        from /home/brett/.rvm/gems/ruby-2.1.1/gems/minitest-5.3.3/lib/minitest/test.rb:101:in `run'
        from /home/brett/.rvm/gems/ruby-2.1.1/gems/minitest-5.3.3/lib/minitest.rb:759:in `run_one_method'
        from /home/brett/.rvm/gems/ruby-2.1.1/gems/minitest-5.3.3/lib/minitest.rb:293:in `run_one_method'
        from /home/brett/.rvm/gems/ruby-2.1.1/gems/minitest-5.3.3/lib/minitest.rb:287:in `block (2 levels) in run'
        from /home/brett/.rvm/gems/ruby-2.1.1/gems/minitest-5.3.3/lib/minitest.rb:286:in `each'
        from /home/brett/.rvm/gems/ruby-2.1.1/gems/minitest-5.3.3/lib/minitest.rb:286:in `block in run'
        from /home/brett/.rvm/gems/ruby-2.1.1/gems/minitest-5.3.3/lib/minitest.rb:317:in `on_signal'
        from /home/brett/.rvm/gems/ruby-2.1.1/gems/minitest-5.3.3/lib/minitest.rb:306:in `with_info_handler'
        from /home/brett/.rvm/gems/ruby-2.1.1/gems/minitest-5.3.3/lib/minitest.rb:285:in `run'
        from /home/brett/.rvm/gems/ruby-2.1.1/gems/minitest-5.3.3/lib/minitest.rb:149:in `block in __run'
        from /home/brett/.rvm/gems/ruby-2.1.1/gems/minitest-5.3.3/lib/minitest.rb:149:in `map'
        from /home/brett/.rvm/gems/ruby-2.1.1/gems/minitest-5.3.3/lib/minitest.rb:149:in `__run'
        from /home/brett/.rvm/gems/ruby-2.1.1/gems/minitest-5.3.3/lib/minitest.rb:126:in `run'
        from /home/brett/.rvm/gems/ruby-2.1.1/gems/minitest-5.3.3/lib/minitest.rb:55:in `block in autorun'

My process list shows Xvfb and Firefox running at this time. It looks like Firefox 32 is not responding to Selenium. I haven't investigated further to confirm that, or find out why it might be. But the integration tests run again if I just downgrade to Firefox 31.

Actions #1

Updated by Radhika Chippada over 9 years ago

It appears that selenium web driver does not work with Firefox 32.

http://stackoverflow.com/questions/25646639/firefox-webdriver-doesnt-work-with-firefox-32

The most suggested solution on this page is to downgrade Firefox version (which is what you have done).

Actions #2

Updated by Brett Smith over 9 years ago

  • Subject changed from [Workbench] Integration tests don't run with Firefox 32 to [Workbench] Integration tests don't run with Firefox 32+

It looks like this issue remains in Firefox 33.

Actions #3

Updated by Brett Smith over 9 years ago

  • Subject changed from [Workbench] Integration tests don't run with Firefox 32+ to [Workbench] Integration tests don't run with Firefox 32/33
  • Status changed from New to Closed

The tests run fine again in Firefox 34. The solution to this bug is to upgrade to that.

Actions

Also available in: Atom PDF