Comment 7 for bug 1165999

Revision history for this message
Fu Wei (fu-wei) wrote :

When I test "lp:~fu-wei/lava-dispatcher/modularize-distro-support" (Base on lp:~terceiro/lava-dispatcher/modularize-distro-support revision 584), I have met problem below:

root@master [rc=0]# <LAVA_DISPATCHER>2013-04-12 06:54:20 PM WARNING: [ACTION-E] lava_test_shell is finished with error ('function' object has no attribute 'glob').
Lava failed at action lava_test_shell with error:'function' object has no attribute 'glob'
Traceback (most recent call last):
  File "/srv/lava/.cache<email address hidden>/lava_dispatcher/job.py", line 178, in run
    action.run(**params)
  File "/srv/lava/.cache<email address hidden>/lava_dispatcher/actions/lava_test_shell.py", line 472, in run
    testdefs_by_uuid = self._configure_target(target, testdef_urls, testdef_repos)
  File "/srv/lava/.cache<email address hidden>/lava_dispatcher/actions/lava_test_shell.py", line 552, in _configure_target
    self._copy_runner(d, target)
  File "/srv/lava/.cache<email address hidden>/lava_dispatcher/actions/lava_test_shell.py", line 522, in _copy_runner
    scripts_to_copy = glob.glob(os.path.join(LAVA_TEST_DIR, 'lava-*'))
AttributeError: 'function' object has no attribute 'glob'

Can you help me out ?