Bug 145570

Summary: NETWORK test failed (run without using iSPEC)
Product: [Retired] Red Hat Ready Certification Tests Reporter: Garry Wong <garry.wong>
Component: rhr2-testsAssignee: Rob Landry <rlandry>
Status: CLOSED ERRATA QA Contact: Rob Landry <rlandry>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: richardl
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-05-11 16:39:32 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:
Bug Depends On:    
Bug Blocks: 143442    
Attachments:
Description Flags
This is output log for two nics none

Description Garry Wong 2005-01-19 20:05:25 UTC
Description of problem:
System: HP ML570G3 
RAM: 2GB
OS: RHEL4 AS, IA32, RC (kernel 2.6.9-5)

Test Kit: rhr2-rhel4-1.0-10.noarch.rpm
Running the test kit seperately.  Not using iSpec.


Problem: After the NETWORK test automatically ran and completed, 
press return to continue, the message FAIL on the NETWORK and OK on 
INFO test.  

Note: However the test returned OK on test kit version rhr2-rhel4-0.9-
16.rc1a.noarch.rpm

QUESTION: CAN NETWORK TEST PASS WITHOUT USING iSPEC ? IF SO, HOW ? 

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

Test Kit: rhr2-rhel4-1.0-10.noarch.rpm
Running the test kit seperately.  Not using iSpec.
 

 

How reproducible:

Always

Steps to Reproduce:
 
1.Install RHEL 4 AS RC (kernel 2.6.9-5)
2.Install the above mentioned test kit
3. Do ssh between SUT and Server so SUT and Server can communicate 
without required login password. (Same steps we done on RHEL3 test 
kit).
4.Launch the test kit, run pembroke, then hardware detect, then 
select NETWORK test to run. After the test completed the run in auto 
mode, it FAILs after press return to continue 

Actual results:

Here is output log:

RHRUSER=root
SERVER=10.1.1.10
# 10.1.1.10 SSH-1.99-OpenSSH_3.6.1p2
Stopping httpd: [60G[[0;31mFAILED[0;39m]
Shutting down NFS mountd: [60G[[0;31mFAILED[0;39m]
Shutting down NFS daemon: [60G[[0;31mFAILED[0;39m]
Shutting down NFS quotas: [60G[[0;31mFAILED[0;39m]
Shutting down NFS services:  [60G[  [0;32mOK[0;39m  ]
Error, some other host already uses address 10.1.1.32.
eth1: waiting for connection...PING 10.1.1.10 (10.1.1.10) 56(84) 
bytes of data.
64 bytes from 10.1.1.10: icmp_seq=0 ttl=64 time=0.076 ms

--- 10.1.1.10 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.076/0.076/0.076/0.000 ms, pipe 2
Stopping httpd: [60G[[0;31mFAILED[0;39m]
Starting NFS services:  [60G[  [0;32mOK[0;39m  ]
Starting NFS quotas: [60G[  [0;32mOK[0;39m  ]
Starting NFS daemon: [60G[  [0;32mOK[0;39m  ]
Starting NFS mountd: [60G[  [0;32mOK[0;39m  ]
[60G[  [0;32mOK[0;39m  ]
Error, some other host already uses address 10.1.1.31.
eth0: waiting for connection...PING 10.1.1.10 (10.1.1.10) 56(84) 
bytes of data.
64 bytes from 10.1.1.10: icmp_seq=0 ttl=64 time=0.072 ms

--- 10.1.1.10 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.072/0.072/0.072/0.000 ms, pipe 2
+ automated_NETWORK 'eth1(100)' 'eth0(100)'
+ for nic in '$@'
+ parse_interface 'eth1(100)'
echo $1 | sed -e 's/(/ /g' -e 's/)//g'
++ echo 'eth1(100)'
++ sed -e 's/(/ /g' -e 's/)//g'
+ local -a 'line=(eth1 100)'
+ interface=eth1
+ speed=100
+ ifdown eth1
+ rhr_ifup eth1
+ local ifname=eth1
+ local slept=0
+ local delay=15
+ ifup eth1
+ ifconfig eth1
+ grep RUNNING -q
+ '[' 0 -gt 15 ']'
+ slept=0
+ delay=15
+ echo -n 'eth1: waiting for connection...'
eth1: waiting for connection...+ ping -Ac1 10.1.1.10
+ '[' 0 -gt 15 ']'
+ return 0
+ create_testfile 100
+ httptestfile=/var/www/html/httptest.file
+ '[' -f /var/www/html/httptest.file ']'
+ rm -f /var/www/html/httptest.file
expr $1 / 8
++ expr 100 / 8
+ dd if=/dev/zero of=/var/www/html/httptest.file bs=1M count=12
12+0 records in
12+0 records out
ip -4 addr show $interface | 		  awk ' /inet/ { sub("/
[[:digit:]*]"," "); print $2; } '
++ ip -4 addr show eth1
++ awk ' /inet/ { sub("/[[:digit:]*]"," "); print $2; } '
+ local ipaddr=10.1.1.32
+ echo 10.1.1.32
10.1.1.32
+ udp_test
+ echo IPADDR:10.1.1.32
IPADDR:10.1.1.32
+ mkdir -p ./export ./import
+ cp /var/www/html/httptest.file ./export/httptest.file
pwd
++ pwd
+ exportfs -o ro,no_root_squash,sync 10.1.1.10:/tmp/rhr/NETWORK/export
pwd
++ pwd
+ exportfs -o rw,no_root_squash,sync 10.1.1.10:/tmp/rhr/NETWORK/import
pwd
++ pwd
+ ssh -l root -x 10.1.1.10 'mkdir ~/mnt; mount 
10.1.1.32:/tmp/rhr/NETWORK/export ~/mnt; cp ~/mnt/httptest.file 
~/httptest.file; umount ~/mnt;'
pwd
++ pwd
+ ssh -l root -x 10.1.1.10 'mount 10.1.1.32:/tmp/rhr/NETWORK/import 
~/mnt; cp ~/httptest.file ~/mnt;'
+ cd ./export
+ md5sum -c
+ cd ./import
+ md5sum httptest.file
httptest.file: OK
+ tcp_test
+ service httpd start
Starting httpd: [60G[  [0;32mOK[0;39m  ]
+ scp /var/www/html/httptest.file 'root.1.10:~/httptest.file'
+ ssh -l root -x 10.1.1.10 'ab -c 128 -k -n 256 
10.1.1.32/httptest.file'
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.121.2.1 $> 
apache-2.0
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, 
http://www.zeustech.net/
Copyright (c) 1998-2002 The Apache Software Foundation, 
http://www.apache.org/

Benchmarking 10.1.1.32 (be patient)
Completed 100 requests
Completed 200 requests
apr_poll: The timeout specified has expired (70007)
Total of 251 requests completed
11867936548794860122942985921316740487

Expected results:


Additional info:

I used the same steps, why test kit version rhr2-rhel4-0.9-
16.rc1a.noarch.rpm returned OK and test kit rhr2-rhel4-1.0-
10.noarch.rpm returned FAIL.

Comment 1 Richard Li 2005-01-19 21:46:18 UTC
The NETWORK test does not depend on iSpec (none of the RHR tests do). This may
be a problem with ab.

In the current update to RHR2 we are testing we have changed
/usr/share/rhr/tests/network/tcp to:

     "ab -c 30 -k -n 2000 $ipaddr/httptest.file"

Can you try that change and see if it addresses your problem?


Comment 2 Garry Wong 2005-01-20 15:08:32 UTC
Created attachment 110011 [details]
This is output log for two nics

Comment 3 Richard Li 2005-01-20 15:16:36 UTC
Looking at the new output.log, it looks like the test now passes with the ab
change above. Is that correct?

Comment 5 Garry Wong 2005-01-20 16:34:14 UTC
Yes. It passed (returned OK) with the ab change. Will this be fixed in the next 
release ?

 

Comment 6 Richard Li 2005-01-20 16:37:09 UTC
Yes, we are currently testing the full suite in preparation for an update.

Comment 7 Richard Li 2005-05-11 16:39:32 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2005-419.html