From Fedora Project Wiki
Description
This test is intended to test ping guest with different packetsize and interval,for each nic in the guest, do the following steps
How to test
- determine the guest ip address: guest_ip
- determine the ping counts: ping_count
- packet_size = [ 0, 1, 48, 64, 512, 1440, 1500, 1505, 4096, 4192, 32767, 65507 ],interval = [ 0.1, 0.01, 0.001, 0.0001 ]
- ping the guest with the following commands:
ping guest_ip -s foreach packet_size -i foreach interval -c ping_count
- ping the guest with the 65508 size:
ping guest_ip -s 65508 -i foreach interval -c ping_count
- flood ping the guest with 10 minutes and then ping the guest to see if could still get zero packet loss:
ping guest_ip -f -s foreach packet_size
Expected Results
- For the first command,determine the packet loss ratio, if the packet loss ratio is not zero, fail the whole testcases
- For the second command,determine the packet loss ratio, if the packet loss ratio is not one hundred, fail the whole testecases
- search panic/oops in the dmesg and /var/log/messages, if found any fail the whole testcases