Bug 731611

Summary: udp test is missing in network.py
Product: [Retired] Red Hat Hardware Certification Program Reporter: Caspar Zhang <czhang>
Component: Test Suite (tests)Assignee: Greg Nichols <gnichols>
Status: CLOSED ERRATA QA Contact: Guangze Bai <gbai>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.3CC: gbai, qcai, rlandry, ykun, yshao
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
A regression was introduced since v7 1.1 that udp test was missing in v7 network test, this issue has been fixed in v7 1.4, now udp test will be executed when running v7 network test.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-08 15:44:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
network test patch adding lmbench udp latency test back in. none

Description Caspar Zhang 2011-08-18 03:06:42 UTC
Description of problem:

This issue was found in code review. I found dupTest() was not executed since 1.1. Is this intended, or an accident?

The issue was caused by SVN commit R411:

+    def run(self):
+
+        if not self.runSubTest(self.prepareForRun, "Setup", "prepare for network testing"):
+            return FAILED
+
+        if not self.runSubTest(self.configureInterfaces, "Interface Configuration"):
+            return FAILED
+
+        if not self.runSubTest(self.printInfo, "Info"):
             return FAILED
-
-        self.printInfo()

         # start testing
-        returnValue = self.tcpTest()
-        if returnValue == PASSED:
-            returnValue = self.udpTest()
-        if returnValue == PASSED:
-            returnValue = self.nfsTest()
-        if  returnValue== PASSED:
-            returnValue = self.icmpTest()
-
+        success = True
+        if not self.runSubTest(self.tcpTest, "TCP", "tcp latency and bandwidth test via lmbench"):
+            success = False
+        if not self.runSubTest(self.nfsTest, "NFS", "NFS file transfer test"):
+            success = False
+        if not self.runSubTest(self.icmpTest, "ICMP"):
+            success = False


Version-Release number of selected component (if applicable):
1.4 R16

Comment 1 Greg Nichols 2011-09-29 15:01:00 UTC
Created attachment 525588 [details]
network test patch adding lmbench udp latency test back in.

Comment 4 Caspar Zhang 2011-10-21 14:10:53 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
A regression was introduced since v7 1.1 that udp test was missing in v7 network test, this issue has been fixed in v7 1.4, now udp test will be executed when running v7 network test.

Comment 6 errata-xmlrpc 2011-11-08 15:44:18 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2011-1436.html

Comment 7 errata-xmlrpc 2011-11-08 18:32:49 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2011-1436.html