dejagnu
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What does "Execution timeout is: $test_timeout" mean?


From: Jonathan Wakely
Subject: Re: What does "Execution timeout is: $test_timeout" mean?
Date: Wed, 2 Dec 2020 15:57:59 +0000

On 02/12/20 15:54 +0000, Jonathan Wakely wrote:
When I use -v -v -v with dejagnu-1.6.1 and set GCC's tool_timeout=30
and test_timeout=2 I see the output in the attached extract from the
log. The lines beginning with ================ are printed by the test
itself, showing it sleeps for 20 seconds. Despite DejaGnu telling me
the execution timeout is 2, the test passes. Either the execution
timeout is not used, or the timeout is not working.

Oops, I forgot the attachment. Here it is inline:


board is host, host is local
Invoking the compiler as /home/jwakely/src/gcc/build/./gcc/xg++ -shared-libgcc 
-B/home/jwakely/src/gcc/build/./gcc -nostdinc++ 
-L/home/jwakely/src/gcc/build/x86_64-pc-linux-gnu/libstdc++-v3/src 
-L/home/jwakely/src/gcc/build/x86_64-pc-linux-gnu/libstdc++-v3/src/.libs 
-L/home/jwakely/src/gcc/build/x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs 
-B/home/jwakely/gcc/11/x86_64-pc-linux-gnu/bin/ 
-B/home/jwakely/gcc/11/x86_64-pc-linux-gnu/lib/ -isystem 
/home/jwakely/gcc/11/x86_64-pc-linux-gnu/include -isystem 
/home/jwakely/gcc/11/x86_64-pc-linux-gnu/sys-include 
-B/home/jwakely/src/gcc/build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs 
-fmessage-length=0 -fno-show-column -ffunction-sections -fdata-sections -fcf-protection 
-mshstk  -g -O2 -DLOCALEDIR="." -nostdinc++ 
-I/home/jwakely/src/gcc/build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu
 -I/home/jwakely/src/gcc/build/x86_64-pc-linux-gnu/libstdc++-v3/include 
-I/home/jwakely/src/gcc/gcc/libstdc++-v3/libsupc++ 
-I/home/jwakely/src/gcc/gcc/libstdc++-v3/include/backward 
-I/home/jwakely/src/gcc/gcc/libstdc++-v3/testsuite/util 
/home/jwakely/src/gcc/gcc/libstdc++-v3/testsuite/30_threads/this_thread/sleep_forevs.cc   
   -fdiagnostics-plain-output ./libtestc++.a -Wl,--gc-sections 
-L/home/jwakely/src/gcc/build/x86_64-pc-linux-gnu/libstdc++-v3/src/filesystem/.libs  -lm  
-o ./sleep_forevs.exe
Setting timeout to 30
Executing on host: /home/jwakely/src/gcc/build/./gcc/xg++ -shared-libgcc 
-B/home/jwakely/src/gcc/build/./gcc -nostdinc++ 
-L/home/jwakely/src/gcc/build/x86_64-pc-linux-gnu/libstdc++-v3/src 
-L/home/jwakely/src/gcc/build/x86_64-pc-linux-gnu/libstdc++-v3/src/.libs 
-L/home/jwakely/src/gcc/build/x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs 
-B/home/jwakely/gcc/11/x86_64-pc-linux-gnu/bin/ 
-B/home/jwakely/gcc/11/x86_64-pc-linux-gnu/lib/ -isystem 
/home/jwakely/gcc/11/x86_64-pc-linux-gnu/include -isystem 
/home/jwakely/gcc/11/x86_64-pc-linux-gnu/sys-include 
-B/home/jwakely/src/gcc/build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs 
-fmessage-length=0 -fno-show-column -ffunction-sections -fdata-sections -fcf-protection 
-mshstk  -g -O2 -DLOCALEDIR="." -nostdinc++ 
-I/home/jwakely/src/gcc/build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu
 -I/home/jwakely/src/gcc/build/x86_64-pc-linux-gnu/libstdc++-v3/include 
-I/home/jwakely/src/gcc/gcc/libstdc++-v3/libsupc++ 
-I/home/jwakely/src/gcc/gcc/libstdc++-v3/include/backward 
-I/home/jwakely/src/gcc/gcc/libstdc++-v3/testsuite/util 
/home/jwakely/src/gcc/gcc/libstdc++-v3/testsuite/30_threads/this_thread/sleep_forevs.cc   
   -fdiagnostics-plain-output ./libtestc++.a -Wl,--gc-sections 
-L/home/jwakely/src/gcc/build/x86_64-pc-linux-gnu/libstdc++-v3/src/filesystem/.libs  -lm  
-o ./sleep_forevs.exe    (timeout = 30)
calling is_remote host
board_info build name
getting phinkdat name
board_info host name
getting phinkdat name
board is host, host is local
spawn -ignore SIGHUP /home/jwakely/src/gcc/build/./gcc/xg++ -shared-libgcc 
-B/home/jwakely/src/gcc/build/./gcc -nostdinc++ 
-L/home/jwakely/src/gcc/build/x86_64-pc-linux-gnu/libstdc++-v3/src 
-L/home/jwakely/src/gcc/build/x86_64-pc-linux-gnu/libstdc++-v3/src/.libs 
-L/home/jwakely/src/gcc/build/x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs 
-B/home/jwakely/gcc/11/x86_64-pc-linux-gnu/bin/ 
-B/home/jwakely/gcc/11/x86_64-pc-linux-gnu/lib/ -isystem 
/home/jwakely/gcc/11/x86_64-pc-linux-gnu/include -isystem 
/home/jwakely/gcc/11/x86_64-pc-linux-gnu/sys-include 
-B/home/jwakely/src/gcc/build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs 
-fmessage-length=0 -fno-show-column -ffunction-sections -fdata-sections -fcf-protection 
-mshstk -g -O2 -DLOCALEDIR="." -nostdinc++ 
-I/home/jwakely/src/gcc/build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu
 -I/home/jwakely/src/gcc/build/x86_64-pc-linux-gnu/libstdc++-v3/include 
-I/home/jwakely/src/gcc/gcc/libstdc++-v3/libsupc++ 
-I/home/jwakely/src/gcc/gcc/libstdc++-v3/include/backward 
-I/home/jwakely/src/gcc/gcc/libstdc++-v3/testsuite/util 
/home/jwakely/src/gcc/gcc/libstdc++-v3/testsuite/30_threads/this_thread/sleep_forevs.cc 
-fdiagnostics-plain-output ./libtestc++.a -Wl,--gc-sections 
-L/home/jwakely/src/gcc/build/x86_64-pc-linux-gnu/libstdc++-v3/src/filesystem/.libs -lm 
-o ./sleep_forevs.exe
pid is 3592671 -3592671
pid is -1
waitres is 3592671 exp7 0 0
output is  status 0
calling is_remote host
board_info build name
getting phinkdat name
board_info host name
getting phinkdat name
board is host, host is local
Checking pattern "sparc-*-sunos*" with x86_64-pc-linux-gnu
Checking pattern "alpha*-*-*" with x86_64-pc-linux-gnu
Checking pattern "hppa*-*-hpux*" with x86_64-pc-linux-gnu
Checking pattern "sparc-*-sunos*" with x86_64-pc-linux-gnu
Checking pattern "alpha*-*-*" with x86_64-pc-linux-gnu
Checking pattern "hppa*-*-hpux*" with x86_64-pc-linux-gnu
board_info target name
getting unix name
calling is_remote target
board_info build name
getting phinkdat name
board_info host name
getting phinkdat name
calling is_remote unix
board_info build name
getting phinkdat name
board_info host name
getting phinkdat name
board is unix, not remote
board_info target exists is_simulator
board_info unix exists name
board_info unix name
getting unix name
board_info unix exists name
board_info unix exists protocol
board_info unix protocol
getting unix protocol
call_remote  load unix ./sleep_forevs.exe {} {}
board_info unix file_transfer
getting unix file_transfer
board_info unix connect
getting unix connect
call_remote calling unix_load
loading to unix
calling is_remote unix
board_info build name
getting phinkdat name
board_info host name
getting phinkdat name
board is unix, not remote
Setting LD_LIBRARY_PATH to 
:/home/jwakely/src/gcc/build/gcc:/home/jwakely/src/gcc/build/x86_64-pc-linux-gnu/./libstdc++-v3/../libatomic/.libs:/home/jwakely/src/gcc/build/x86_64-pc-linux-gnu/./libstdc++-v3/../libgomp/.libs:/home/jwakely/src/gcc/build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/jwakely/src/gcc/build/gcc/32::/home/jwakely/src/gcc/build/gcc:/home/jwakely/src/gcc/build/x86_64-pc-linux-gnu/./libstdc++-v3/../libatomic/.libs:/home/jwakely/src/gcc/build/x86_64-pc-linux-gnu/./libstdc++-v3/../libgomp/.libs:/home/jwakely/src/gcc/build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/jwakely/src/gcc/build/gcc/32
Execution timeout is: 2
calling is_remote unix
board_info build name
getting phinkdat name
board_info host name
getting phinkdat name
board is unix, not remote
remote_spawn is local
board_info unix exists name
board_info unix name
getting unix name
spawning command ./sleep_forevs.exe
spawn [open ...]
setting board_info(unix,fileid) to exp11
board_info unix exists name
board_info unix name
getting unix name
board_info unix exists name
board_info unix exists protocol
board_info unix protocol
getting unix protocol
call_remote  wait unix 2
board_info unix file_transfer
getting unix file_transfer
board_info unix connect
getting unix connect
call_remote calling standard_wait
board_info target exists gcc,timeout
board_info target exists gcc,timeout
board_info unix fileid
getting unix fileid
================ before sleep: Wed Dec  2 15:40:10 2020
================ after sleep: Wed Dec  2 15:40:30 2020
board_info unix exists fileid_origid
board_info unix fileid
getting unix fileid
board_info unix fileid_origid
getting unix fileid_origid
exp11 file7
board_info unix exists name
board_info unix name
getting unix name
board_info unix exists name
board_info unix exists protocol
board_info unix protocol
getting unix protocol
call_remote  close unix
board_info unix connect
getting unix connect
call_remote calling standard_close
board_info unix exists fileid
board_info unix file_transfer
getting unix file_transfer
board_info unix name
getting unix name
Executed ./sleep_forevs.exe, status 0
================ before sleep: Wed Dec  2 15:40:10 2020
================ after sleep: Wed Dec  2 15:40:30 2020

Exec succeeded.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]