QA:Testcase Virtualization Netperf Stress

From FedoraProject

Jump to: navigation, search

Description

This test is intended to do stress testing with netperf


How to test

  1. boot the virtual machine
  2. determine the test time for stress t seconds
  3. determine the ip address of the guest: ip_guest
  4. determine the ip address of the host: ip_host
  5. install netperf2 in both guest and host
  6. run netperf server in guest
    ./netserver
  7. run netperf client in the host to test TCP
    ./netperf -H ip_guest -l t
  8. wait until the netperf to finish
  9. run netperf client in host to test UDP
    ./netperf -H ip_guest -l t -t UDP_STREAM
  10. wait until the netperf to finish
  11. run netperf server in the host
    ./netserver
  12. run the netperf client in the guest
    ./netperf -H ip_host -l t
  13. wait until the netperf to finish
  14. run netperf client in host to test UDP
    ./netperf -H ip_host -l t -t UDP_STREAM
  15. wait until the netperf to finish
  16. ping the guest in host, the packet loss should be zero
    ping -c 10 ip_guest

Expected Results

  1. search dmesg in guest and see if there have calltrace