On 2011年11月11日 01:15, Lucas Meneghel Rodrigues wrote:
> On 11/10/2011 05:15 AM, Wenyi Gao wrote:
>> The host_file got by os.tmpfile() is not available for "ssh -o
>> UserKnownHostsFile " on ubuntu 11.10 and will have the error "Failed to
>> add the host to the list of known hosts (/dev/fd/11)", so the patch just
>> replace it with tempfile.mkstemp()'.
>>
>
> Ok, patches applied:
>
> https://github.com/autotest/autotest/commit/fd9834180c883543ffaf7ceb048fd915938c6276
>  
>
> https://github.com/autotest/autotest/commit/7c14c545d56de34f0b108a532488595b292ac0c7
>  
>
>
> 3 things:
>
> 1) Your patches came up malformed, which most likely means you did not 
> send them through git send-email, please read
>
> https://github.com/autotest/autotest/wiki/GitWorkflow
>
> to properly configure git the next time you sent patches.
>
> 2) You might want to try using paramiko rather than ssh_raw on your 
> config file. Paramiko uses a py library rather than using external ssh 
> processes, and it's a matter of changing the param on 
> global_config.ini and make sure you ran utils/build_exernals.py.
>
> 3) In case you want to keep using raw_ssh but want some speed boost, 
> change
>
> enable_master_ssh: True
>
> On global_config.ini, this tends to speed up things quite a bit on 
> sufficiently recent distros.
>
> Thanks,
>
> Lucas
>

Lucas, thank you for your kindly suggestion.

_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to