Bug 731611 - udp test is missing in network.py
udp test is missing in network.py
Status: CLOSED ERRATA
Product: Red Hat Hardware Certification Program
Classification: Red Hat
Component: Test Suite (tests) (Show other bugs)
1.3
All Linux
medium Severity medium
: ---
: ---
Assigned To: Greg Nichols
Guangze Bai
: Regression
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2011-08-17 23:06 EDT by Caspar Zhang
Modified: 2015-02-08 16:37 EST (History)
5 users (show)

See Also:
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 10:44:18 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)
network test patch adding lmbench udp latency test back in. (611 bytes, patch)
2011-09-29 11:01 EDT, Greg Nichols
no flags Details | Diff

  None (edit)
Description Caspar Zhang 2011-08-17 23:06:42 EDT
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 11:01:00 EDT
Created attachment 525588 [details]
network test patch adding lmbench udp latency test back in.
Comment 4 Caspar Zhang 2011-10-21 10:10:53 EDT
    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 10:44:18 EST
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 13:32:49 EST
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

Note You need to log in before you can comment on or make changes to this bug.