On Sun, Aug 1, 2010 at 11:23 PM, Gurudas Pai <[email protected]> wrote:
> Hi,
> tcore.sh test fails , this looks more like testcase issue rather than os
> issue.
>
>
> Running tests.......
> @ <<<test_start>>>
> @ tag=tcore stime=1280375961
> @ cmdline="tcore.sh"
> @ contacts=""
> @ analysis=exit
> @ <<<test_output>>>
> @ incrementing stop
> @ Test Tcore patch
> @ /tmp/ltp-IdAZW16626/tmp.JZuvu16728
> @ Test whether we can generate the needed core file
> @ PASS
> @ /tmp/ltp-IdAZW16626/tmp.JZuvu16728
> @ Test whether the core support bt,fpu and threads commands
> @ spawn gdb ./tcore ./corefile
> @ .
> @ info register
> @ .
> @ GNU gdb (GDB) Red Hat Enterprise Linux (7.0.1-23.el5)
> @ Copyright (C) 2009 Free Software Foundation, Inc.
> @ License GPLv3+: GNU GPL version 3 or later
> <http://gnu.org/licenses/gpl.html>This is free software: you are free to
> change and redistribute it.
> @ There is NO WARRANTY, to the extent permitted by law. Type "show copying"
> @ and "show warranty" for details.
> @ This GDB was configured as "x86_64-redhat-linux-gnu".
> @ For bug reporting instructions, please see:
> @ <http://www.gnu.org/software/gdb/bugs/>...
> @ ./tcore: No such file or directory.
> @ [New Thread 16736]
> @ [New Thread 16732]
> @ Core was generated by `/opt/ltp/testcases/bin//tcore'.
> @ Program terminated with signal 11, Segmentation fault.
> @ #0 0x000000000040129d in ?? ()
> @ (gdb)
> @ (gdb) info register
> @ rax 0xc 12
> @ rbx 0x1e08 7688
> @ rcx 0x41ae8ee0 1101958880
> @ rdx 0xc 12
> @ rsi 0x402b39 4205369
> @ rdi 0x41ae8ee0 1101958880
> @ rbp 0x415c 0x415c
> @ rsp 0x41ae90e0 0x41ae90e0
> @ r8 0x0 0
> @ r9 0x41ae8658 1101956696
> @ r10 0x0 0
> @ r11 0x0 0
> @ r12 0x41ae9100 1101959424
> @ r13 0x41ae90f0 1101959408
> @ r14 0x41aea000 1101963264
> @ r15 0x1000 4096
> @ rip 0x40129d 0x40129d
> @ eflags 0x10206 [ PF IF RF ]
> @ cs 0x33 51
> @ ss 0x2b 43
> @ ds 0x0 0
> @ es 0x0 0
> @ fs 0x63 99
> @ gs 0x0 0
> @ fctrl 0x37f 895
> @ fstat 0x20 32
> @ ftag 0xffff 65535
> @ fiseg 0x0 0
> @ fioff 0x40128b 4199051
> @ foseg 0x0 0
> @ fooff 0x41ae90e0 1101959392
> @ fop 0x33c 828
> @ mxcsr 0x1f80 [ IM DM ZM OM UM PM ]
> @ (gdb)
> @ rax 0xc 12
> @ rbx 0x1e08 7688
> @ rcx 0x41ae8ee0 1101958880
> @ rdx 0xc 12
> @ rsi 0x402b39 4205369
> @ rdi 0x41ae8ee0 1101958880
> @ rbp 0x415c 0x415c
> @ rsp 0x41ae90e0 0x41ae90e0
> @ r8 0x0 0
> @ r9 0x41ae8658 1101956696
> @ r10 0x0 0
> @ r11 0x0 0
> @ r12 0x41ae9100 1101959424
> @ r13 0x41ae90f0 1101959408
> @ r14 0x41aea000 1101963264
> @ r15 0x1000 4096
> @ rip 0x40129d 0x40129d
> @ eflags 0x10206 [ PF IF RF ]
> @ cs 0x33 51
> @ ss 0x2b 43
> @ ds 0x0 0
> @ es 0x0 0
> @ fs 0x63 99
> @ gs 0x0 0
> @ fctrl 0x37f 895
> @ fstat 0x20 32
> @ ftag 0xffff 65535
> @ fiseg 0x0 0
> @ fioff 0x40128b 4199051
> @ foseg 0x0 0
> @ fooff 0x41ae90e0 1101959392
> @ fop 0x33c 828
> @ mxcsr 0x1f80 [ IM DM ZM OM UM PM ]
> @ (gdb) invalid command name "fail"
> @ while executing
> @ "fail "fail to check the xmm value(timeout)""
> @ invoked from within
> @ "expect -nobrace -re {xmm5[ ]+{f = .*}+[ ]+{f = .*}} {
> @ set buf $expect_out(0,string)
> @ } timeout {
> @ fail "fail to check the xmm value(..."
> @ invoked from within
> @ "expect {
> @ -re "xmm$num\[\t \]+\{f \= .*\}+\[\t \]+\{f \= .*\}" {
> @ set buf $expect_out(0,string)
> @ }
> @ timeout {
> @ fail "fail to check t..."
> @ (procedure "check_fpu" line 7)
> @ invoked from within
> @ "check_fpu 5"
> @ (file "/opt/ltp/testcases/bin//tcore.exp" line 137)
> @ <<<execution_status>>>
> @ initiation_status="ok"
> @ duration=18 termination_type=exited termination_id=3 corefile=no
> @ cutime=8 cstime=634
> @ <<<test_end>>>
> @ INFO: ltp-pan reported some tests FAIL
> @ LTP Version: LTP-20100630
>
>
>
> dmesg:
> tcore[16737]: segfault at 0 ip 000000000040129d sp 0000000041ae90e0
> error 6
Try this:
index 1b68291..7f1dc9f 100644
--- a/testcases/misc/tcore_patch_test_suites/tcore.exp
+++ b/testcases/misc/tcore_patch_test_suites/tcore.exp
@@ -43,7 +43,7 @@ proc check_threads {} {
set buf $expect_out(0,string)
}
timeout {
- fail "timeout while run info threads"
+ puts stderr "timeout while run info threads"
return 1
}
}
@@ -111,7 +111,7 @@ proc check_fpu {num} {
set buf $expect_out(0,string)
}
timeout {
- fail "fail to check the xmm value(timeout)"
+ puts stderr "fail to check the xmm value(timeout)"
return 1
}
}
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list