Project

General

Profile

Actions

Bug #20049

closed

Retry various integration tests before failing

Added by Daniel Lobato Garcia almost 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Tests
Target version:
Fixed in Releases:
Found in Releases:

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

Actions #1

Updated by The Foreman Bot almost 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
Actions #2

Updated by Daniel Lobato Garcia almost 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.

Actions #3

Updated by Anonymous almost 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #4

Updated by Daniel Lobato Garcia almost 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
Actions #5

Updated by The Foreman Bot almost 7 years ago

  • Pull request https://github.com/theforeman/foreman/pull/4615 added
Actions #6

Updated by Daniel Lobato Garcia almost 7 years ago

  • Category set to Tests
Actions #7

Updated by The Foreman Bot about 6 years ago

  • Pull request https://github.com/theforeman/foreman/pull/5219 added
Actions

Also available in: Atom PDF