* On 2012-07-06 00:12:43 +0800, lei yang (yanglei.f...@gmail.com) wrote: > Hi list, > > some of my tests met below issue,seems a python2.7 issue, > > File "/autotest/client/virt/kvm_vm.py", line 2133, in migrate > self.send_fd(fd_src, mig_fd_name) > File "/autotest/client/shared/error.py", line 138, in new_fn > return fn(*args, **kwargs) > File "/autotest/client/virt/kvm_vm.py", line 2046, in send_fd > self.monitor.cmd("getfd %s" % (fd_name), fd=fd) > File "/autotest/client/virt/kvm_monitor.py", line 324, in cmd > self._passfd = virt_passfd_setup.import_passfd() > File "/autotest/client/virt/virt_passfd_setup.py", line 41, in > import_passfd > passfd_setup() > File "/autotest/client/virt/virt_passfd_setup.py", line 28, in > passfd_setup > objects = c.compile(SOURCES, include_dirs=[PYTHON_HEADERS], > extra_postargs=['-fPIC']) > File "/usr/lib64/python2.7/distutils/ccompiler.py", line 624, in compile > self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts) > File "/usr/lib64/python2.7/distutils/unixccompiler.py", line 180, > in _compile > raise CompileError, msg > CompileError: command 'cc' failed with exit status 1 > > you can reproduce it with "migrate.with_blkdebug.fd" test cases > how could I handle this, any workaround? Hi, Lei, Could you paste the whole error log file here?
I doubt you don't have python devel package installed on host. If you're using fedora, you can install python-devel package to resolve this problem. > > Lei > _______________________________________________ > Autotest mailing list > Autotest@test.kernel.org > http://test.kernel.org/cgi-bin/mailman/listinfo/autotest _______________________________________________ Autotest mailing list Autotest@test.kernel.org http://test.kernel.org/cgi-bin/mailman/listinfo/autotest