Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 480890

Summary: Network test failed with "tcp latency test failed" error (rhel4 x86_64)
Product: [Retired] Red Hat Hardware Certification Program Reporter: Yan Tian <tyan>
Component: Test Suite (tests)Assignee: Greg Nichols <gnichols>
Status: CLOSED NOTABUG QA Contact: Lawrence Lim <llim>
Severity: medium Docs Contact:
Priority: low    
Version: 5.3CC: rlandry, tools-bugs, ykun
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-21 08:59:33 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/output.log
none
/var/hts/results.xml
none
network/output.log none

Description Yan Tian 2009-01-21 06:13:40 UTC
Created attachment 329548 [details]
network/output.log

Description of problem:
Network test failed with following errors:
tcp test:
/bin/sh: lat_tcp: command not found
test cycle 1 of 5
testing latency...
Error: tcp latency test failed
Error: "lat_tcp 10.66.70.105" has output on stderr
Restoring all interfaces...
Network test on device eth0 failed
...finished running ./network.py, exit code=1

Version-Release number of selected component (if applicable):
hts-5.3-14.el4

How reproducible:
always

Steps to Reproduce:
1.start hts server on 10.66.70.105
2.hts run -t network -n 10.66.70.105
3.
  
Actual results:
Network test failed

Expected results:
Network test passed

Additional info:
Attached the network/output.log and /var/hts/result.xml file

Comment 1 Yan Tian 2009-01-21 06:14:41 UTC
Created attachment 329550 [details]
/var/hts/results.xml

Comment 2 YangKun 2009-01-21 06:41:20 UTC
have you installed the lmbench package ?

Comment 3 Yan Tian 2009-01-21 06:45:07 UTC
(In reply to comment #2)
> have you installed the lmbench package ?

Yes.
# rpm -q dt lmbench stress hts
dt-15.14-2.EL4
lmbench-2.0.4-2.EL4
stress-0.18.8-1.3.EL4
hts-5.3-14.el4

Comment 4 YangKun 2009-01-21 07:19:00 UTC
the lmbench package you're using is obsolete, which installs the binaries into "/usr/lib/lmbench/bin/i686-pc-linux-gnu/":

    <15:10:32 kun@yk>$ rpm -qpl lmbench-2.0.4-2.EL5.i386.rpm | grep lat_tcp
    /usr/lib/lmbench/bin/i686-pc-linux-gnu/lat_tcp
    /usr/share/doc/lmbench-2.0.4/doc/lat_tcp.8


we have upgraded lmbench to version 3.0a7 long time ago, which installs the binaries into the standard "/usr/bin/":

    <15:08:12 kun@yk>$ rpm -qpl lmbench-3.0a7-6.EL5.i386.rpm | grep lat_tcp
    /usr/bin/lat_tcp
    /usr/share/doc/lmbench-3.0a7/doc/lat_tcp.8
    /usr/share/doc/lmbench-3.0a7/doc/lat_tcp.tbl


please switch to lmbench-3.0a7 and see if this issue still exists, the latest lmbench package on RHN should be lmbench-3.0a7-6

Thanks
-YK

Comment 5 Yan Tian 2009-01-21 08:10:58 UTC
Created attachment 329565 [details]
network/output.log

Updated lmbench to 3.0a7-6.EL4, then network test failed with "tcp bandwidth test failed" error.

Comment 6 YangKun 2009-01-21 08:25:55 UTC
error is "bw_tcp errors: socket connection: Connection refused"

plesae make sure the firewall is turned off on both machines and the "hts server status" shows all the proper services are running on the network server.

Comment 7 Yan Tian 2009-01-21 08:59:33 UTC
The firewall was turned off on both machines. I updated lmbench to 3.0a7-6.EL4 on hts server machine, then re-run network test passed. Closed this bug.