Public bug reported:

If you ever encounter traceback like this in the results of gate-
horizon-dsvm-integration job

2016-04-09 19:32:21.451 | 2016-04-09 19:32:21.432 | Traceback (most recent call 
last):
2016-04-09 19:32:21.453 | 2016-04-09 19:32:21.433 |   File 
"/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/tests/test_instances.py",
 line 197, in test_filter_instances
2016-04-09 19:32:21.455 | 2016-04-09 19:32:21.435 |     
self.assertTrue(instances_page.is_instance_active(instance_list[0]))
2016-04-09 19:32:21.456 | 2016-04-09 19:32:21.437 |   File 
"/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/pages/project/compute/instancespage.py",
 line 115, in is_instance_active
2016-04-09 19:32:21.458 | 2016-04-09 19:32:21.438 |     lambda: 
row.cells[self.INSTANCES_TABLE_STATUS_COLUMN], 'Active')
2016-04-09 19:32:21.460 | 2016-04-09 19:32:21.440 |   File 
"/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/regions/tables.py",
 line 158, in is_cell_status
2016-04-09 19:32:21.462 | 2016-04-09 19:32:21.443 |     
self._wait_till_text_present_in_element(cell_getter, status)
2016-04-09 19:32:21.464 | 2016-04-09 19:32:21.444 |   File 
"/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/basewebobject.py",
 line 110, in _wait_till_text_present_in_element
2016-04-09 19:32:21.466 | 2016-04-09 19:32:21.446 |     
self._wait_until(predicate, timeout)
2016-04-09 19:32:21.468 | 2016-04-09 19:32:21.448 |   File 
"/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/basewebobject.py",
 line 94, in _wait_until
2016-04-09 19:32:21.469 | 2016-04-09 19:32:21.449 |     predicate)
2016-04-09 19:32:21.471 | 2016-04-09 19:32:21.451 |   File 
"/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/support/wait.py",
 line 71, in until
2016-04-09 19:32:21.472 | 2016-04-09 19:32:21.453 |     value = 
method(self._driver)
2016-04-09 19:32:21.474 | 2016-04-09 19:32:21.454 |   File 
"/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/basewebobject.py",
 line 107, in predicate
2016-04-09 19:32:21.476 | 2016-04-09 19:32:21.456 |     elt = element() if 
hasattr(element, '__call__') else element
2016-04-09 19:32:21.478 | 2016-04-09 19:32:21.458 |   File 
"/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/pages/project/compute/instancespage.py",
 line 115, in <lambda>
2016-04-09 19:32:21.479 | 2016-04-09 19:32:21.460 |     lambda: 
row.cells[self.INSTANCES_TABLE_STATUS_COLUMN], 'Active')
2016-04-09 19:32:21.481 | 2016-04-09 19:32:21.462 | AttributeError: 'NoneType' 
object has no attribute 'cells'

It most likely means that an instance row was tested for the presence of
a specific status even before this row had appeared. This (slow Nova
response) could happen, but it shouldn't cause tests to fail.

** Affects: horizon
     Importance: Medium
         Status: New

** Changed in: horizon
   Importance: Undecided => Medium

** Changed in: horizon
    Milestone: None => newton-1

-- 
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/1568387

Title:
  Integration tests fail due to slow creation of an instance

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  If you ever encounter traceback like this in the results of gate-
  horizon-dsvm-integration job

  2016-04-09 19:32:21.451 | 2016-04-09 19:32:21.432 | Traceback (most recent 
call last):
  2016-04-09 19:32:21.453 | 2016-04-09 19:32:21.433 |   File 
"/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/tests/test_instances.py",
 line 197, in test_filter_instances
  2016-04-09 19:32:21.455 | 2016-04-09 19:32:21.435 |     
self.assertTrue(instances_page.is_instance_active(instance_list[0]))
  2016-04-09 19:32:21.456 | 2016-04-09 19:32:21.437 |   File 
"/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/pages/project/compute/instancespage.py",
 line 115, in is_instance_active
  2016-04-09 19:32:21.458 | 2016-04-09 19:32:21.438 |     lambda: 
row.cells[self.INSTANCES_TABLE_STATUS_COLUMN], 'Active')
  2016-04-09 19:32:21.460 | 2016-04-09 19:32:21.440 |   File 
"/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/regions/tables.py",
 line 158, in is_cell_status
  2016-04-09 19:32:21.462 | 2016-04-09 19:32:21.443 |     
self._wait_till_text_present_in_element(cell_getter, status)
  2016-04-09 19:32:21.464 | 2016-04-09 19:32:21.444 |   File 
"/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/basewebobject.py",
 line 110, in _wait_till_text_present_in_element
  2016-04-09 19:32:21.466 | 2016-04-09 19:32:21.446 |     
self._wait_until(predicate, timeout)
  2016-04-09 19:32:21.468 | 2016-04-09 19:32:21.448 |   File 
"/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/basewebobject.py",
 line 94, in _wait_until
  2016-04-09 19:32:21.469 | 2016-04-09 19:32:21.449 |     predicate)
  2016-04-09 19:32:21.471 | 2016-04-09 19:32:21.451 |   File 
"/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/support/wait.py",
 line 71, in until
  2016-04-09 19:32:21.472 | 2016-04-09 19:32:21.453 |     value = 
method(self._driver)
  2016-04-09 19:32:21.474 | 2016-04-09 19:32:21.454 |   File 
"/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/basewebobject.py",
 line 107, in predicate
  2016-04-09 19:32:21.476 | 2016-04-09 19:32:21.456 |     elt = element() if 
hasattr(element, '__call__') else element
  2016-04-09 19:32:21.478 | 2016-04-09 19:32:21.458 |   File 
"/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/pages/project/compute/instancespage.py",
 line 115, in <lambda>
  2016-04-09 19:32:21.479 | 2016-04-09 19:32:21.460 |     lambda: 
row.cells[self.INSTANCES_TABLE_STATUS_COLUMN], 'Active')
  2016-04-09 19:32:21.481 | 2016-04-09 19:32:21.462 | AttributeError: 
'NoneType' object has no attribute 'cells'

  It most likely means that an instance row was tested for the presence
  of a specific status even before this row had appeared. This (slow
  Nova response) could happen, but it shouldn't cause tests to fail.

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to