← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1470645] [NEW] test_flavor_create is failing

 

Public bug reported:

It seems that the test:

gate-horizon-dsvm-integration:
  TestFlavor/test_flavor_create

is failing frequently, on a timeout issue (see below).

I verified that the function works manually, so the test is somehow
failing incorrectly, either due to a short timeout, or some other
mechanism.  Any great ideas on how to fix this?

a) short timeout: prolong timeout
b) bad mechanism: fix mechanism
c) unknown: skip test so people can get jobs through

2015-07-01 20:05:35.582 | 2015-07-01 20:05:35.434 | Traceback (most recent call last):
2015-07-01 20:05:35.582 | 2015-07-01 20:05:35.435 |   File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/tests/test_flavors.py", line 31, in test_flavor_create
2015-07-01 20:05:35.583 | 2015-07-01 20:05:35.436 |     swap_disk=0)
2015-07-01 20:05:35.583 | 2015-07-01 20:05:35.437 |   File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/pages/admin/system/flavorspage.py", line 75, in create_flavor
2015-07-01 20:05:35.583 | 2015-07-01 20:05:35.439 |     self._wait_till_spinner_disappears()
2015-07-01 20:05:35.583 | 2015-07-01 20:05:35.440 |   File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/pages/basepage.py", line 70, in _wait_till_spinner_disappears
2015-07-01 20:05:35.584 | 2015-07-01 20:05:35.442 |     self._wait_till_element_disappears(spinner)
2015-07-01 20:05:35.584 | 2015-07-01 20:05:35.443 |   File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/basewebobject.py", line 96, in _wait_till_element_disappears
2015-07-01 20:05:35.584 | 2015-07-01 20:05:35.444 |     timeout)
2015-07-01 20:05:35.584 | 2015-07-01 20:05:35.445 |   File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/basewebobject.py", line 84, in _wait_until
2015-07-01 20:05:35.585 | 2015-07-01 20:05:35.447 |     predicate)
2015-07-01 20:05:35.585 | 2015-07-01 20:05:35.448 |   File "/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/support/wait.py", line 78, in until
2015-07-01 20:05:35.585 | 2015-07-01 20:05:35.449 |     raise TimeoutException(message, screen, stacktrace)
2015-07-01 20:05:35.585 | 2015-07-01 20:05:35.451 | selenium.common.exceptions.TimeoutException: Message:

** Affects: horizon
     Importance: Undecided
         Status: New

** Description changed:

  It seems that the test:
  
- TestFlavor/test_flavor_create
+ gate-horizon-dsvm-integration:
+   TestFlavor/test_flavor_create
  
  is failing frequently, on a timeout issue (see below).
  
  I verified that the function works manually, so the test is somehow
  failing incorrectly, either due to a short timeout, or some other
  mechanism.  Any great ideas on how to fix this?
  
  a) short timeout: prolong timeout
  b) bad mechanism: fix mechanism
  c) unknown: skip test so people can get jobs through
  
  2015-07-01 20:05:35.582 | 2015-07-01 20:05:35.434 | Traceback (most recent call last):
  2015-07-01 20:05:35.582 | 2015-07-01 20:05:35.435 |   File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/tests/test_flavors.py", line 31, in test_flavor_create
  2015-07-01 20:05:35.583 | 2015-07-01 20:05:35.436 |     swap_disk=0)
  2015-07-01 20:05:35.583 | 2015-07-01 20:05:35.437 |   File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/pages/admin/system/flavorspage.py", line 75, in create_flavor
  2015-07-01 20:05:35.583 | 2015-07-01 20:05:35.439 |     self._wait_till_spinner_disappears()
  2015-07-01 20:05:35.583 | 2015-07-01 20:05:35.440 |   File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/pages/basepage.py", line 70, in _wait_till_spinner_disappears
  2015-07-01 20:05:35.584 | 2015-07-01 20:05:35.442 |     self._wait_till_element_disappears(spinner)
  2015-07-01 20:05:35.584 | 2015-07-01 20:05:35.443 |   File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/basewebobject.py", line 96, in _wait_till_element_disappears
  2015-07-01 20:05:35.584 | 2015-07-01 20:05:35.444 |     timeout)
  2015-07-01 20:05:35.584 | 2015-07-01 20:05:35.445 |   File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/basewebobject.py", line 84, in _wait_until
  2015-07-01 20:05:35.585 | 2015-07-01 20:05:35.447 |     predicate)
  2015-07-01 20:05:35.585 | 2015-07-01 20:05:35.448 |   File "/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/support/wait.py", line 78, in until
  2015-07-01 20:05:35.585 | 2015-07-01 20:05:35.449 |     raise TimeoutException(message, screen, stacktrace)
  2015-07-01 20:05:35.585 | 2015-07-01 20:05:35.451 | selenium.common.exceptions.TimeoutException: Message:

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1470645

Title:
  test_flavor_create is failing

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  It seems that the test:

  gate-horizon-dsvm-integration:
    TestFlavor/test_flavor_create

  is failing frequently, on a timeout issue (see below).

  I verified that the function works manually, so the test is somehow
  failing incorrectly, either due to a short timeout, or some other
  mechanism.  Any great ideas on how to fix this?

  a) short timeout: prolong timeout
  b) bad mechanism: fix mechanism
  c) unknown: skip test so people can get jobs through

  2015-07-01 20:05:35.582 | 2015-07-01 20:05:35.434 | Traceback (most recent call last):
  2015-07-01 20:05:35.582 | 2015-07-01 20:05:35.435 |   File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/tests/test_flavors.py", line 31, in test_flavor_create
  2015-07-01 20:05:35.583 | 2015-07-01 20:05:35.436 |     swap_disk=0)
  2015-07-01 20:05:35.583 | 2015-07-01 20:05:35.437 |   File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/pages/admin/system/flavorspage.py", line 75, in create_flavor
  2015-07-01 20:05:35.583 | 2015-07-01 20:05:35.439 |     self._wait_till_spinner_disappears()
  2015-07-01 20:05:35.583 | 2015-07-01 20:05:35.440 |   File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/pages/basepage.py", line 70, in _wait_till_spinner_disappears
  2015-07-01 20:05:35.584 | 2015-07-01 20:05:35.442 |     self._wait_till_element_disappears(spinner)
  2015-07-01 20:05:35.584 | 2015-07-01 20:05:35.443 |   File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/basewebobject.py", line 96, in _wait_till_element_disappears
  2015-07-01 20:05:35.584 | 2015-07-01 20:05:35.444 |     timeout)
  2015-07-01 20:05:35.584 | 2015-07-01 20:05:35.445 |   File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/basewebobject.py", line 84, in _wait_until
  2015-07-01 20:05:35.585 | 2015-07-01 20:05:35.447 |     predicate)
  2015-07-01 20:05:35.585 | 2015-07-01 20:05:35.448 |   File "/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/support/wait.py", line 78, in until
  2015-07-01 20:05:35.585 | 2015-07-01 20:05:35.449 |     raise TimeoutException(message, screen, stacktrace)
  2015-07-01 20:05:35.585 | 2015-07-01 20:05:35.451 | selenium.common.exceptions.TimeoutException: Message:

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1470645/+subscriptions


Follow ups

References