Re: [PATCH 13/18] KVM test: Add a subtest of changing MAC address

pradeep
2010-09-30T08:21:32Z

On Mon, 27 Sep 2010 18:43:59 -0400
Lucas Meneghel Rodrigues <lmr@redhat.com> wrote:

> From: Amos Kong <akong@redhat.com>
>
> Test steps:
>
> 1. Get a new mac from pool, and the old mac addr of guest.
> 2. Execute the mac_change.sh in guest.
> 3. Relogin to guest and query the interfaces info by `ifconfig`
>
> Changes from v3:

After successful mac address change, why are we trying to kill the
guest?

Please find the below logs..

3:26:13 DEBUG| 'kill_vm' specified; killing VM...
03:26:13 DEBUG| Destroying VM with PID 7420...
03:26:13 DEBUG| Trying to shutdown VM with shell command...
03:26:13 DEBUG| Trying to login with command 'ssh -o
UserKnownHostsFile=/dev/null -o PreferredAuthentications=password -p 22
root@10.168.0.7' 03:26:13 DEBUG| Got 'Are you sure...'; sending 'yes'
03:26:14 DEBUG| Got password prompt; sending '123456' 03:26:15 DEBUG|
Got shell prompt -- logged in 03:26:15 DEBUG| Shutdown command sent;
waiting for VM to go down... 03:26:16 DEBUG| (address cache) Adding
cache entry: 9a:18:2d:12:78:aa ---> 10.168.0.8 03:26:16 DEBUG| (address
cache) Adding cache entry: 9a:18:2d:12:78:aa ---> 10.168.0.8 03:26:33
DEBUG| (address cache) Adding cache entry: 02:18:0a:cc:7c:8c --->
10.168.0.6 03:26:33 DEBUG| (address cache) Adding cache entry:
02:18:0a:cc:7c:8c ---> 10.168.0.6 03:26:38 DEBUG| (qemu) (Process
terminated with status 0) 03:26:39 DEBUG| VM is down, freeing mac
address. 03:26:39 DEBUG| Freeing MAC addr for NIC
20100929-231813-f5uA:0: 9a:18:2d:12:74:20 03:26:39 DEBUG| Terminating
screendump thread...