Hi,
Autotest.client throws the following error while importing git
from autotest_lib.server import git
ImportError: No module named server
12:51:25 INFO | START ltp ltp timestamp=1282202485
localtime=Aug 19 12:51:25
12:51:25 ERROR| child process failed
12:51:25 INFO | ERROR ltp ltp
timestamp=1282202485 localtime=Aug 19 12:51:25 Unhandled str:
Unhandled ImportError: No module named server
Traceback (most recent call last):
File "/home/divya/autotest-client-0.12.0/bin/parallel.py", line
18, in fork_start
l()
File "/home/divya/autotest-client-0.12.0/bin/job.py", line 473,
in<lambda>
l = lambda : test.runtest(self, url, tag, args, dargs)
File "/home/divya/autotest-client-0.12.0/bin/test.py", line 96, in
runtest
job.sysinfo.log_after_each_iteration)
File "/home/divya/autotest-client-0.12.0/common_lib/test.py", line
642, in runtest
local_namespace, global_namespace)
File "<string>", line 1, in<module>
File "/home/divya/autotest-client-0.12.0/tests/ltp/ltp.py", line 4,
in<module>
from autotest_lib.server import git
ImportError: No module named server
None
12:51:25 INFO | END ERROR ltp ltp timestamp=1282202485
localtime=Aug 19 12:51:25
12:51:25 INFO | END GOOD ---- ---- timestamp=1282202485
localtime=Aug 19 12:51:25
Pls let me know from which module to import git.
We are planning to import git from the server module for the following reason.
Need to extract the ltp source repo using git.
"from autotest_lib.server import git"
LTP_GIT_REPO = 'git://ltp.git.sourceforge.net/gitroot/ltp/ltp.git'
LTP_GIT_WEB_REPO = ''
ltprepo = git.GitRepo(self.srcdir, LTP_GIT_REPO, LTP_GIT_WEB_REPO)
ltprepo.get()
Is there any other module on the client end to support the above statements.
pls suggest.
Thanks
Divya
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest