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

  1. determine the guest ip address: guest_ip
  2. determine the ping counts: ping_count
  3. packet_size = [ 0, 1, 48, 64, 512, 1440, 1500, 1505, 4096, 4192, 32767, 65507 ],interval = [ 0.1, 0.01, 0.001, 0.0001 ]
  4. ping the guest with the following commands:
    ping guest_ip -s foreach packet_size -i foreach interval -c ping_count
  5. ping the guest with the 65508 size:
    ping guest_ip -s 65508 -i foreach interval -c ping_count
  6. 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

  1. For the first command,determine the packet loss ratio, if the packet loss ratio is not zero, fail the whole testcases
  2. For the second command,determine the packet loss ratio, if the packet loss ratio is not one hundred, fail the whole testecases
  3. search panic/oops in the dmesg and /var/log/messages, if found any fail the whole testcases