yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #11250
[Bug 1289270] [NEW] run_tests requires selenium no matter if the flag --with-selenium is used
Public bug reported:
When building horizon i-3 within a clean environment, no network connectivity, i.e. a build system):
+ ./run_tests.sh -N -P
Running Horizon application tests
SS.............................S..........................................................................
----------------------------------------------------------------------
Ran 106 tests in 81.812s
OK (SKIP=3)
nosetests --verbosity 1 horizon --nocapture --nologcapture --exclude-dir=horizon/conf/ --exclude-dir=horizon/test/customization --cover-package=horizon --cover-inclusive --all-modules
Creating test database for alias 'default'...
Destroying test database for alias 'default'...
Running openstack_dashboard tests
................................................................................................................................................SS...................SS.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................SSS...............................................................................................................................................................................EE....................S.......
======================================================================
ERROR: Failure: ImportError (No module named selenium)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/nose/loader.py", line 413, in loadTestsFromName
addr.filename, addr.module)
File "/usr/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/builddir/build/BUILD/horizon-2014.1.b3/openstack_dashboard/test/integration_tests/helpers.py", line 17, in <module>
import selenium
ImportError: No module named selenium
======================================================================
ERROR: Failure: ImportError (No module named selenium.webdriver.common.keys)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/nose/loader.py", line 413, in loadTestsFromName
addr.filename, addr.module)
File "/usr/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/builddir/build/BUILD/horizon-2014.1.b3/openstack_dashboard/test/integration_tests/tests/test_login.py", line 15, in <module>
import selenium.webdriver.common.keys as keys
ImportError: No module named selenium.webdriver.common.keys
nosetests --verbosity 1 openstack_dashboard --nocapture --nologcapture --cover-package=openstack_dashboard --cover-inclusive --all-modules
Creating test database for alias 'default'...
Destroying test database for alias 'default'...
----------------------------------------------------------------------
Ran 860 tests in 213.722s
FAILED (SKIP=8, errors=2)
Tests failed.
error: Bad exit status from /var/tmp/rpm-tmp.lhS6LB (%check)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.lhS6LB (%check)
Child return code was: 1
EXCEPTION: Command failed. See logs for output.
** 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/1289270
Title:
run_tests requires selenium no matter if the flag --with-selenium is
used
Status in OpenStack Dashboard (Horizon):
New
Bug description:
When building horizon i-3 within a clean environment, no network connectivity, i.e. a build system):
+ ./run_tests.sh -N -P
Running Horizon application tests
SS.............................S..........................................................................
----------------------------------------------------------------------
Ran 106 tests in 81.812s
OK (SKIP=3)
nosetests --verbosity 1 horizon --nocapture --nologcapture --exclude-dir=horizon/conf/ --exclude-dir=horizon/test/customization --cover-package=horizon --cover-inclusive --all-modules
Creating test database for alias 'default'...
Destroying test database for alias 'default'...
Running openstack_dashboard tests
................................................................................................................................................SS...................SS.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................SSS...............................................................................................................................................................................EE....................S.......
======================================================================
ERROR: Failure: ImportError (No module named selenium)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/nose/loader.py", line 413, in loadTestsFromName
addr.filename, addr.module)
File "/usr/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/builddir/build/BUILD/horizon-2014.1.b3/openstack_dashboard/test/integration_tests/helpers.py", line 17, in <module>
import selenium
ImportError: No module named selenium
======================================================================
ERROR: Failure: ImportError (No module named selenium.webdriver.common.keys)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/nose/loader.py", line 413, in loadTestsFromName
addr.filename, addr.module)
File "/usr/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/builddir/build/BUILD/horizon-2014.1.b3/openstack_dashboard/test/integration_tests/tests/test_login.py", line 15, in <module>
import selenium.webdriver.common.keys as keys
ImportError: No module named selenium.webdriver.common.keys
nosetests --verbosity 1 openstack_dashboard --nocapture --nologcapture --cover-package=openstack_dashboard --cover-inclusive --all-modules
Creating test database for alias 'default'...
Destroying test database for alias 'default'...
----------------------------------------------------------------------
Ran 860 tests in 213.722s
FAILED (SKIP=8, errors=2)
Tests failed.
error: Bad exit status from /var/tmp/rpm-tmp.lhS6LB (%check)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.lhS6LB (%check)
Child return code was: 1
EXCEPTION: Command failed. See logs for output.
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1289270/+subscriptions
Follow ups
References