Hi Lucas:
I'm still making kvm autotest on power machine. finally, I find a
architecture related bug. the problem is the tap interface can't up while
the autotest running. I find the ioctl ifreq struct is packed in wrong size
when up the tap. The problem will only show in a big-endian architecture
like power.(and no problem appears in x86). now the autotest is running on
power. I will send a patch to the mailing list when I have a well-configed
git.
Thanks
Best Regards
Lucas Meneghel Rodrigues <look...@gmail.com> wrote on 2012-03-13 21:32:37:
> From: Lucas Meneghel Rodrigues <look...@gmail.com>
> To: Sheng SL Liu/China/Contr/IBM@IBMCN
> Cc: Autotest@test.kernel.org
> Date: 2012-03-13 21:27
> Subject: Re: [Autotest] Autotest unattended install could not
> succeed at the post install stage
>
> On Tue, Mar 13, 2012 at 12:53 AM, Sheng SL Liu <liush...@cn.ibm.com>
wrote:
> > Hi:
> > I run kvm autotest on a power machine. But it doesn't work, I even
can't
> > successfully run the unattended install test. The install test is
running
> > but it blocks at the end of installation until timeout.
> > I explorer the code and find such in unattended_install.py:
> >
> > while (time.time() - start_time) < install_timeout:
> > ...
> > if params.get("wait_no_ack", "no") == "no":
> > client = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
> > try:
> > client.connect((vm.get_address(), port))
> > if client.recv(1024) == "done":
> > break
> > except (socket.error, virt_vm.VMAddressError):
> > pass
>
> We have recently changed the unattended install code to use the serial
> console rather than the network to deliver the ACK on linux guests.
> So, what about try to pull the new code, update the config files and
> try again? Certainly I could help you with debugging the problem, but
> seems unproductive considering that we have already moved away from
> that approach.
>
> Cheers,
>
> Lucas
>
> --
> Lucas
>
_______________________________________________
Autotest mailing list
Autotest@test.kernel.org
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest