---Problem Description---
tcpdump01 failed on qs22 while running ltpall

Contact Information = [EMAIL PROTECTED]

---uname output---
Linux qs22-3.ltc.austin.ibm.com 2.6.18-86.el5 #1 SMP Tue Mar 18 18:25:26
EDT
2008 ppc64 ppc64 ppc64 GNU/Linux

Machine Type = Cell BE

---Steps to Reproduce---
* Compile latest LTP on a QS22 blade compiled with compiler

* Run the LTPAll testcase ( runltp -p -l ltpall.log  -o ltpall.output -N -C
ltpall.failcmdfile )

* The logfile shows the tcpdump01 testcase fail

Manual  execution of the testcase give the following output

[EMAIL PROTECTED] netpan-2864]# tcpdump01
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
20 packets captured
67 packets received by filter
0 packets dropped by kernel
tcpdump01    0  INFO  :  : doing
/root/ltp-full-20080331/testcases/bin/tcpdump01.
tcpdump01    1  FAIL  :  Test Failed: qs22-3 was not listed in network
traffic


------- Additional Comment #2 From Anoop V. Chakkalakkal 2008-04-04 07:54
EDT [reply] -------
This turned out to be a test case problem, where it fails to identify the
correct backbone network interface to use for the test. But there is an
option
already provided for the interface to be specified while invoking the test.

Here, eth1 is the backbone interface and hence if the test is invoked like
'IFNAME=eth1 ./tcpdump01' it will pass.

I will upload a patch to automate this. But it relies on DNS lookup and
requires
the IP to be configured accordingly. Moving to LTC-Test & adding Subrata to
discuss whether the patch needs to be applied.

------- Additional Comment #3 From Anoop V. Chakkalakkal 2008-04-04 07:59
EDT [reply] -------
ltp-20080331-tcpdump-patch
Sijo, Please test and provide the results, Thanks!

------- Additional Comment #5 From Sijo George 2008-04-10 07:05 EDT [reply]
-------
Hello Anoop:
  I have tested this patch. The tcpdump01 seems to be working fine and the
testcase is now marked PASS while running.

(See attached file: tcpdump.patch)

Regards,
- Anoop Vijayan

LTC Internal Support
IBM Software Labs
Bangalore, India
Tel (Off):   +91-80-41776848
Tel (Cell): +91-9341715409
Mail: [EMAIL PROTECTED]

Attachment: tcpdump.patch
Description: Binary data

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to