Actions
Bug #9614
closedIntegration tests fail randomly with Capybara::Poltergeist::TimeoutError
Description
Integration tests on Jenkins sometimes fail randomly due to timeouts.
Sample backtrace:
Error Message Timed out waiting for response to {"name":"visit","args":["http://127.0.0.1:42441/"]}. It's possible that this happened because something took a very long time (for example a page load was slow). If so, setting the Poltergeist :timeout option to a higher value will help (see the docs for details). If increasing the timeout does not help, this is probably a bug in Poltergeist - please report it to the issue tracker. Stacktrace Timed out waiting for response to {"name":"visit","args":["http://127.0.0.1:42441/"]}. It's possible that this happened because something took a very long time (for example a page load was slow). If so, setting the Poltergeist :timeout option to a higher value will help (see the docs for details). If increasing the timeout does not help, this is probably a bug in Poltergeist - please report it to the issue tracker. (Capybara::Poltergeist::TimeoutError) /usr/local/rvm/gems/ruby-1.9.3-p392@test_develop_pr_core-0/gems/poltergeist-1.6.0/lib/capybara/poltergeist/web_socket_server.rb:87:in `rescue in send' /usr/local/rvm/gems/ruby-1.9.3-p392@test_develop_pr_core-0/gems/poltergeist-1.6.0/lib/capybara/poltergeist/web_socket_server.rb:83:in `send' /usr/local/rvm/gems/ruby-1.9.3-p392@test_develop_pr_core-0/gems/poltergeist-1.6.0/lib/capybara/poltergeist/server.rb:33:in `send' /usr/local/rvm/gems/ruby-1.9.3-p392@test_develop_pr_core-0/gems/poltergeist-1.6.0/lib/capybara/poltergeist/browser.rb:316:in `command' /usr/local/rvm/gems/ruby-1.9.3-p392@test_develop_pr_core-0/gems/poltergeist-1.6.0/lib/capybara/poltergeist/browser.rb:31:in `visit' /usr/local/rvm/gems/ruby-1.9.3-p392@test_develop_pr_core-0/gems/poltergeist-1.6.0/lib/capybara/poltergeist/driver.rb:95:in `visit' /usr/local/rvm/gems/ruby-1.9.3-p392@test_develop_pr_core-0/gems/capybara-2.4.4/lib/capybara/session.rb:227:in `visit' /usr/local/rvm/gems/ruby-1.9.3-p392@test_develop_pr_core-0/gems/capybara-2.4.4/lib/capybara/dsl.rb:51:in `block (2 levels) in <module:DSL>' /var/lib/workspace/workspace/test_develop_pr_core@3/database/postgresql/ruby/1.9.3/test/test_helper.rb:335:in `login_admin' /var/lib/workspace/workspace/test_develop_pr_core@3/database/postgresql/ruby/1.9.3/test/integration/host_test.rb:6:in `setup' /usr/local/rvm/gems/ruby-1.9.3-p392@test_develop_pr_core-0/gems/minitest-4.7.5/lib/minitest/unit.rb:1256:in `run' /usr/local/rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /usr/local/rvm/gems/ruby-1.9.3-p392@test_develop_pr_core-0/gems/activesupport-3.2.21/lib/active_support/testing/setup_and_teardown.rb:36:in `block in run' /usr/local/rvm/gems/ruby-1.9.3-p392@test_develop_pr_core-0/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:480:in `_run__1011129836102181739__setup__67552782220991199__callbacks' /usr/local/rvm/gems/ruby-1.9.3-p392@test_develop_pr_core-0/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:405:in `__run_callback' /usr/local/rvm/gems/ruby-1.9.3-p392@test_develop_pr_core-0/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:385:in `_run_setup_callbacks' /usr/local/rvm/gems/ruby-1.9.3-p392@test_develop_pr_core-0/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:81:in `run_callbacks' /usr/local/rvm/gems/ruby-1.9.3-p392@test_develop_pr_core-0/gems/activesupport-3.2.21/lib/active_support/testing/setup_and_teardown.rb:35:in `run' /usr/local/rvm/gems/ruby-1.9.3-p392@test_develop_pr_core-0/gems/ci_reporter-1.9.3/lib/ci/reporter/minitest.rb:177:in `run_test' /usr/local/rvm/gems/ruby-1.9.3-p392@test_develop_pr_core-0/gems/ci_reporter-1.9.3/lib/ci/reporter/minitest.rb:102:in `_run_test' /usr/local/rvm/gems/ruby-1.9.3-p392@test_develop_pr_core-0/gems/ci_reporter-1.9.3/lib/ci/reporter/minitest.rb:93:in `block in _run_suite' /usr/local/rvm/gems/ruby-1.9.3-p392@test_develop_pr_core-0/gems/ci_reporter-1.9.3/lib/ci/reporter/minitest.rb:92:in `each' /usr/local/rvm/gems/ruby-1.9.3-p392@test_develop_pr_core-0/gems/ci_reporter-1.9.3/lib/ci/reporter/minitest.rb:92:in `_run_suite' /usr/local/rvm/gems/ruby-1.9.3-p392@test_develop_pr_core-0/gems/ci_reporter-1.9.3/lib/ci/reporter/minitest.rb:83:in `block in _run_suites' /usr/local/rvm/gems/ruby-1.9.3-p392@test_develop_pr_core-0/gems/ci_reporter-1.9.3/lib/ci/reporter/minitest.rb:83:in `map' /usr/local/rvm/gems/ruby-1.9.3-p392@test_develop_pr_core-0/gems/ci_reporter-1.9.3/lib/ci/reporter/minitest.rb:83:in `_run_suites' /usr/local/rvm/gems/ruby-1.9.3-p392@test_develop_pr_core-0/gems/ci_reporter-1.9.3/lib/ci/reporter/minitest.rb:75:in `_run_anything' /usr/local/rvm/gems/ruby-1.9.3-p392@test_develop_pr_core-0/gems/minitest-4.7.5/lib/minitest/unit.rb:1085:in `run_tests' /usr/local/rvm/gems/ruby-1.9.3-p392@test_develop_pr_core-0/gems/minitest-4.7.5/lib/minitest/unit.rb:1072:in `block in _run' /usr/local/rvm/gems/ruby-1.9.3-p392@test_develop_pr_core-0/gems/minitest-4.7.5/lib/minitest/unit.rb:1071:in `each' /usr/local/rvm/gems/ruby-1.9.3-p392@test_develop_pr_core-0/gems/minitest-4.7.5/lib/minitest/unit.rb:1071:in `_run' /usr/local/rvm/gems/ruby-1.9.3-p392@test_develop_pr_core-0/gems/minitest-4.7.5/lib/minitest/unit.rb:1059:in `run' /usr/local/rvm/gems/ruby-1.9.3-p392@test_develop_pr_core-0/gems/minitest-4.7.5/lib/minitest/unit.rb:795:in `block in autorun' Standard Output Standard Error WARN: tilt autoloading 'coffee_script' in a non thread-safe way; explicit require 'coffee_script' suggested.
Updated by Tomer Brisker almost 9 years ago
- Status changed from Assigned to Closed
Seems like this bug has been fixed and I haven't hit it in a while, closing.
Please reopen if you hit it again.
Actions