← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1377372] [NEW] Horizon tries to do selenium unit tests

 

Public bug reported:

Horizon tries (again) to run some Selenium unit tests at build time.
Reminder: selenium is non-free, and therefore cannot be used on
distributions. Please make the selenium import optional (with an except
ImportError: to catch it). Below is the Python stack dump when building
Horizon Juno RC1 in Debian:

======================================================================
ERROR: Failure: ImportError (No module named selenium.common)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 414, in loadTestsFromName
    addr.filename, addr.module)
  File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/home/zigo/sources/openstack/juno/horizon/build-area/horizon-2014.2~rc1/horizon/test/webdriver.py", line 24, in <module>
    from selenium.common import exceptions as selenium_exceptions
ImportError: No module named selenium.common

** Affects: horizon
     Importance: Undecided
         Status: New

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

Title:
  Horizon tries to do selenium unit tests

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Horizon tries (again) to run some Selenium unit tests at build time.
  Reminder: selenium is non-free, and therefore cannot be used on
  distributions. Please make the selenium import optional (with an
  except ImportError: to catch it). Below is the Python stack dump when
  building Horizon Juno RC1 in Debian:

  ======================================================================
  ERROR: Failure: ImportError (No module named selenium.common)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 414, in loadTestsFromName
      addr.filename, addr.module)
    File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 47, in importFromPath
      return self.importFromDir(dir_path, fqname)
    File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 94, in importFromDir
      mod = load_module(part_fqname, fh, filename, desc)
    File "/home/zigo/sources/openstack/juno/horizon/build-area/horizon-2014.2~rc1/horizon/test/webdriver.py", line 24, in <module>
      from selenium.common import exceptions as selenium_exceptions
  ImportError: No module named selenium.common

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


Follow ups

References