Re: [Autotest] [PATCH 07/18] KVM test: Add a subtest jumbo

pradeep
2010-09-24T08:16:16Z

On Tue, 14 Sep 2010 19:25:32 -0300
Lucas Meneghel Rodrigues <lmr@redhat.com> wrote:

> + session.close()
> + logging.info("Removing the temporary ARP entry")
> + utils.run("arp -d %s -i %s" % (ip, ifname))
>

Hi Lucas

Tried different combinations for this jumbo test case. it dint work for
me. I guess there is a problem while trying to remove ARP entry.
ARP entry can be removed from cache using ip and network
interface (for ex: eth0)

arp -d <ip> -i eth0

Error which i got:

23:06:14 DEBUG| Running 'arp -d 192.168.122.104 -i rtl8139_0_5900'
23:06:14 ERROR| Test failed: CmdError: Command <arp -d 192.168.122.104
-i rtl8139_0_5900> failed, rc=255, Command returned non-zero exit status
* Command:
arp -d 192.168.122.104 -i rtl8139_0_5900
Exit status: 255
Duration: 0.00138521194458

stderr:
SIOCDARP(pub): No such file or directory

When i try manually this one works for me.

Gues ip: 192.168.122.104

try "arp -i 192.168.122.1 -i eth0"

--Thanks
Pradeep