← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1464651] [NEW] Integration tests test_image_create_delete

 

Public bug reported:

I've tried to run integration test using latest devstack atm.

Tests test_image_create_delete and test_sahara_image_registry
 fails with following error:

Traceback (most recent call last):
  File "/home/svasheka/scale/horizon/openstack_dashboard/test/integration_tests/tests/test_image_create_delete.py", line 29, in test_image_create_delete
    images_page.create_image(self.IMAGE_NAME)
  File "/home/svasheka/scale/horizon/openstack_dashboard/test/integration_tests/pages/project/compute/imagespage.py", line 88, in create_image
    self.create_image_form.format.value = image_format
  File "/home/svasheka/scale/horizon/openstack_dashboard/test/integration_tests/regions/forms.py", line 204, in value
    self.element.select_by_value(value)
  File "/home/svasheka/scale/horizon/.venv/local/lib/python2.7/site-packages/selenium/webdriver/support/select.py", line 86, in select_by_value
    raise NoSuchElementException("Cannot locate option with value: %s" % value)
selenium.common.exceptions.NoSuchElementException: Message: Cannot locate option with value: qcow2

Reason is that image creation form is differ from the one described in
the pageobject .

** Affects: horizon
     Importance: Undecided
         Status: New


** Tags: integration-tests

** Tags added: integration-tests

** Description changed:

- Test fails with following error:
+ I've tried to run integration test using latest devstack atm.
+ 
+ Test test_image_create_delete fails with following error:
  
  Traceback (most recent call last):
-   File "/home/svasheka/scale/horizon/openstack_dashboard/test/integration_tests/tests/test_image_create_delete.py", line 29, in test_image_create_delete
-     images_page.create_image(self.IMAGE_NAME)
-   File "/home/svasheka/scale/horizon/openstack_dashboard/test/integration_tests/pages/project/compute/imagespage.py", line 88, in create_image
-     self.create_image_form.format.value = image_format
-   File "/home/svasheka/scale/horizon/openstack_dashboard/test/integration_tests/regions/forms.py", line 204, in value
-     self.element.select_by_value(value)
-   File "/home/svasheka/scale/horizon/.venv/local/lib/python2.7/site-packages/selenium/webdriver/support/select.py", line 86, in select_by_value
-     raise NoSuchElementException("Cannot locate option with value: %s" % value)
+   File "/home/svasheka/scale/horizon/openstack_dashboard/test/integration_tests/tests/test_image_create_delete.py", line 29, in test_image_create_delete
+     images_page.create_image(self.IMAGE_NAME)
+   File "/home/svasheka/scale/horizon/openstack_dashboard/test/integration_tests/pages/project/compute/imagespage.py", line 88, in create_image
+     self.create_image_form.format.value = image_format
+   File "/home/svasheka/scale/horizon/openstack_dashboard/test/integration_tests/regions/forms.py", line 204, in value
+     self.element.select_by_value(value)
+   File "/home/svasheka/scale/horizon/.venv/local/lib/python2.7/site-packages/selenium/webdriver/support/select.py", line 86, in select_by_value
+     raise NoSuchElementException("Cannot locate option with value: %s" % value)
  selenium.common.exceptions.NoSuchElementException: Message: Cannot locate option with value: qcow2
  
- 
- Reason is that image creation form is differ from the one described in the pageobject .
+ Reason is that image creation form is differ from the one described in
+ the pageobject .

** Description changed:

  I've tried to run integration test using latest devstack atm.
  
- Test test_image_create_delete fails with following error:
+ Tests test_image_create_delete and test_sahara_image_registry
+  fails with following error:
  
  Traceback (most recent call last):
    File "/home/svasheka/scale/horizon/openstack_dashboard/test/integration_tests/tests/test_image_create_delete.py", line 29, in test_image_create_delete
      images_page.create_image(self.IMAGE_NAME)
    File "/home/svasheka/scale/horizon/openstack_dashboard/test/integration_tests/pages/project/compute/imagespage.py", line 88, in create_image
      self.create_image_form.format.value = image_format
    File "/home/svasheka/scale/horizon/openstack_dashboard/test/integration_tests/regions/forms.py", line 204, in value
      self.element.select_by_value(value)
    File "/home/svasheka/scale/horizon/.venv/local/lib/python2.7/site-packages/selenium/webdriver/support/select.py", line 86, in select_by_value
      raise NoSuchElementException("Cannot locate option with value: %s" % value)
  selenium.common.exceptions.NoSuchElementException: Message: Cannot locate option with value: qcow2
  
  Reason is that image creation form is differ from the one described in
  the pageobject .

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

Title:
  Integration tests test_image_create_delete

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  I've tried to run integration test using latest devstack atm.

  Tests test_image_create_delete and test_sahara_image_registry
   fails with following error:

  Traceback (most recent call last):
    File "/home/svasheka/scale/horizon/openstack_dashboard/test/integration_tests/tests/test_image_create_delete.py", line 29, in test_image_create_delete
      images_page.create_image(self.IMAGE_NAME)
    File "/home/svasheka/scale/horizon/openstack_dashboard/test/integration_tests/pages/project/compute/imagespage.py", line 88, in create_image
      self.create_image_form.format.value = image_format
    File "/home/svasheka/scale/horizon/openstack_dashboard/test/integration_tests/regions/forms.py", line 204, in value
      self.element.select_by_value(value)
    File "/home/svasheka/scale/horizon/.venv/local/lib/python2.7/site-packages/selenium/webdriver/support/select.py", line 86, in select_by_value
      raise NoSuchElementException("Cannot locate option with value: %s" % value)
  selenium.common.exceptions.NoSuchElementException: Message: Cannot locate option with value: qcow2

  Reason is that image creation form is differ from the one described in
  the pageobject .

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


Follow ups

References