Actions
Bug #9138
closedIntermittent HostTest/NIC integration test failures
Description
test_develop has failed to run integration tests on two of the three runs:
HostTest::create new host page::NIC modal window::editing interfaces.test_0002_ok button updates overview table Failed assertion, no message given. (test_0002_ok button updates overview table) /var/lib/workspace/workspace/test_develop/database/postgresql/ruby/1.9.3/test/integration/host_test.rb:142
and
HostTest::create new host page::NIC modal window::adding interfaces.test_0003_setting primary updates host name Failed assertion, no message given. (test_0003_setting primary updates host name) /var/lib/workspace/workspace/test_develop/database/postgresql/ruby/2.0.0/test/integration/host_test.rb:192 HostTest::create new host page::NIC modal window::editing interfaces.test_0002_ok button updates overview table Failed assertion, no message given. (test_0002_ok button updates overview table) /var/lib/workspace/workspace/test_develop/database/postgresql/ruby/2.0.0/test/integration/host_test.rb:142
Updated by Dominic Cleal almost 10 years ago
- Related to Refactor #7456: Extract primary interface from host added
Updated by Dominic Cleal almost 10 years ago
- Status changed from New to Assigned
- Assignee set to Tomáš Strachota
Updated by The Foreman Bot almost 10 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2115 added
- Pull request deleted (
)
Updated by Dominic Cleal almost 10 years ago
We just had the following failure in a plugin test, seemingly at random
undefined method `find' for nil:NilClass (NoMethodError) /var/lib/workspace/workspace/test_plugin/foreman/test/integration/host_test.rb:230:in `block (4 levels) in <class:HostTest>'
Updated by Dominic Cleal almost 10 years ago
The above comment was the "switch primary" test, also getting a lot of failures on "switch provisioning" below it.
Other common failures:
<3> expected but was <2>. (test_0002_ok button adds new interface) /var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.0.0/test/integration/host_test.rb:163
Firing a click at co-ordinates [848.5, 305] failed. Poltergeist detected another element with CSS selector 'html.no-js body.modal-open div#main div#content.container form#new_host.form-horizontal.well div.tab-content div#network.tab-pane.active fieldset#interfaces div#interfaceModal.modal.fade.in div.modal-dialog div.modal-content div.modal-body fieldset#interface div.clearfix div.form-group span.help-block.help-inline' at this position. It may be overlapping the element you are trying to interact with. If you don't care about overlapping elements, try using node.trigger('click'). (Capybara::Poltergeist::MouseEventFailed) /usr/local/rvm/gems/ruby-2.0.0-p353@test_develop_pr_core-1/gems/poltergeist-1.6.0/lib/capybara/poltergeist/node.rb:23:in `rescue in command' /usr/local/rvm/gems/ruby-2.0.0-p353@test_develop_pr_core-1/gems/poltergeist-1.6.0/lib/capybara/poltergeist/node.rb:17:in `command' /usr/local/rvm/gems/ruby-2.0.0-p353@test_develop_pr_core-1/gems/poltergeist-1.6.0/lib/capybara/poltergeist/node.rb:116:in `click' /usr/local/rvm/gems/ruby-2.0.0-p353@test_develop_pr_core-1/gems/capybara-2.4.4/lib/capybara/node/element.rb:133:in `block in click' /usr/local/rvm/gems/ruby-2.0.0-p353@test_develop_pr_core-1/gems/capybara-2.4.4/lib/capybara/node/base.rb:84:in `synchronize' /usr/local/rvm/gems/ruby-2.0.0-p353@test_develop_pr_core-1/gems/capybara-2.4.4/lib/capybara/node/element.rb:133:in `click' /var/lib/workspace/workspace/test_develop_pr_core@2/database/postgresql/ruby/2.0.0/test/integration/host_test.rb:263:in `block (5 levels) in <class:HostTest>'
Updated by Dominic Cleal over 8 years ago
- Related to Bug #14097: Only run DatabaseCleaner as 'truncation' on JS tests added
Updated by Dominic Cleal over 8 years ago
- Status changed from Ready For Testing to Duplicate
Re-enabled and fixed via #14097 and others.
Updated by Dominic Cleal over 8 years ago
- Related to Bug #15134: Intermittent HostJSTest::NIC modal window::adding interfaces.test_0003_setting primary updates host name failure added
Actions