Re: [PATCH 16/18] KVM test: Improve vlan subtest

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 27 Sep 2010 18:44:02 -0400
Lucas Meneghel Rodrigues <lmr@xxxxxxxxxx> wrote:

> From: Amos Kong <akong@xxxxxxxxxx>
> 
> This is an enhancement of existed vlan test. Rename the vlan_tag.py
> to vlan.py, it is more reasonable.
> . Setup arp from "/proc/sys/net/ipv4/conf/all/arp_ignore"
> . Multiple vlans exist simultaneously
> . Test ping between same and different vlans
> . Test by TCP data transfer, floop ping between same vlan
> . Maximal plumb/unplumb vlans
> 

> +
> +    vm.append(kvm_test_utils.get_living_vm(env,
> params.get("main_vm")))
> +    vm.append(kvm_test_utils.get_living_vm(env, "vm2"))
> +
> +    def add_vlan(session, id, iface="eth0"):
> +        if session.get_command_status("vconfig add %s %s" % (iface,
> id)) != 0:
> +            raise error.TestError("Fail to add %s.%s" % (iface, id))
HI Lucas

I got below error with my guests. 

With (2.6.32-71 kernel) guest

21:17:23 DEBUG| Sending command: vconfig add eth0 1
21:17:23 DEBUG| Command failed; status: 3, output: ERROR: trying to add
VLAN #1 to IF -:eth0:-  error: No such device


 21:17:25 ERROR| Test failed: TestError: Fail to add eth0.1




> -        subnet = 192.168.123
> -        vlans = "10 20"
> +        subnet = "192.168"

My guest has got DHCP ip as 10.168*.


With RHEL 5.5 guest


02:30:39 DEBUG| PING 192.168.1.2 (192.168.1.2) from 192.168.1.1 eth0.1:
56(84) bytes of data. 02:30:42 DEBUG| From 192.168.1.1 icmp_seq=1
Destination Host Unreachable 02:30:42 DEBUG| From 192.168.1.1
icmp_seq=2 Destination Host Unreachable


02:30:45 INFO | rem eth0.5
02:30:45 ERROR| Test failed: TestFail: eth0.1 ping 192.168.1.2
unexpected 02:30:45 DEBUG| Postprocessing VM 'vm1'...


--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux