Bug #20049
closedRetry various integration tests before failing
Description
Thanks to #15894 we can retry some tests. Some of the failures I'm seeing I'm having a hard time to reproduce, like "Capybara::Poltergeist::StatusFailError: Request to 'http://127.0.0.1:41550/compute_profiles/980190962-1-Small' failed to reach server, check DNS and/or server status - Timed out with no open resource requests...". I think it's not a bad idea to let these test run 3 times and only count them as failed if they fail 3 times.
The tests in question are:
ComputeProfileJSTest.test_0001_edit compute attribute page - Capybara::Poltergeist::StatusFailError: Request to 'http://127.0.0.1:41550/compute_profiles/980190962-1-Small' failed to reach server, check DNS and/or server status - Timed out with no open resource requests...
ComputeResourceJSIntegrationTest.test_0002_add new compute attributes two pane - Capybara::Poltergeist::StatusFailError: Request to 'http://127.0.0.1:33103/compute_resources/928692541-amazon123' failed to reach server, check DNS and/or server status - Timed out with no open resource requests...
UserIntegrationTest.test_0002_edit page - Capybara::ElementNotFound: Unable to find field "user_login"...
DashboardIntegrationTest.test_0005_dashboard link hosts that had pending changes - Capybara::ExpectationNotMet: expected "/dashboard" to equal "/hosts"...
AboutIntegrationTest.test_0002_about page proxies should have version
Updated by The Foreman Bot over 7 years ago
- Status changed from New to Ready For Testing
- Assignee set to Daniel Lobato Garcia
- Pull request https://github.com/theforeman/foreman/pull/4605 added
Updated by Daniel Lobato Garcia over 7 years ago
- Translation missing: en.field_release set to 266
Marking as 1.15.2 as I'd want to avoid failures on the test_1.15 branch.
Updated by Anonymous over 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 0132933af131f85d1f4c1574fc42c446ac3b686b.
Updated by Daniel Lobato Garcia over 7 years ago
Other breakages found:
SubnetJSIntegrationTest.test_0001_create new page
Capybara::Poltergeist::TimeoutError: Timed out waiting for response to {"id":"733683ce-32ee-4278-a08c-5cc922942636","name":"visit","args":["http://127.0.0.1:36190/subnets/new",60]}. It's possible that this happened because something took a very long time (for example a page load was slow).
Also:
AuditJSTest.test_0001_show audit with diff
HostJSTest::create new host page.test_0003_saves correct values for inherited fields without hostgroup
HostsControllerTest.test_0076_select multiple action with not exists host_ids should redirect to hosts page
ComputeResourceJSIntegrationTest.test_0002_add new compute attributes two pane
StatisticIntegrationTest.test_0001_statistics page
Updated by The Foreman Bot over 7 years ago
- Pull request https://github.com/theforeman/foreman/pull/4615 added
Updated by The Foreman Bot almost 7 years ago
- Pull request https://github.com/theforeman/foreman/pull/5219 added