make test failure
Closed / Out of Date219312ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 25 years ago
Descriptionplain2000-10-26 05:10:32
OriginalBugID: 3657 Bug
Version: 8.2.2
SubmitDate: '1999-11-23'
LastModified: '1999-11-24'
Severity: CRIT
Status: UnAssn
Submitter: techsupp
ChangedBy: hobbs
OS: BSD
OSVersion: BSD/OS 4.0.1 patched through M401-021
FixedDate: '2000-10-25'
ClosedDate: '2000-10-25'
Name:
Peeter Pirn
CustomShell:
no patches applied
ReproducibleScript:
BSD/OS 4.0.1 patched up through patch M401-021.
Download tcl8.2.2.tar.gz
cd tcl8.2.2/unix
./configure --prefix=/usr/local/tcl8.2.2 --enable-threads
make (goes OK w/o error)
make test
The following failures/problems occur:
==== event-1.1 Tcl_CreateFileHandler, reading FAILED
==== Contents of test case:
testfilehandler close
testfilehandler create 0 readable off
testfilehandler clear 0
testfilehandler oneevent
set result ""
lappend result [testfilehandler counts 0]
testfilehandler fillpartial 0
testfilehandler oneevent
lappend result [testfilehandler counts 0]
testfilehandler oneevent
lappend result [testfilehandler counts 0]
testfilehandler close
set result
---- Result was:
{1 0} {2 0} {3 0}
---- Result should have been:
{0 0} {1 0} {2 0}
==== event-1.1 FAILED
exec.test
==== exec-1.3 pipelining FAILED
==== Contents of test case:
set a [exec $::tcltest::tcltest echo a b c d | $::tcltest::tcltest cat | $::
tcltest::tcltest wc]
list [scan $a "%d %d %d" b c d] $b $c
==== Test generated error:
error writing "stdout": broken pipe
while executing
"puts -nonewline [read $f]"
("foreach" body line 9)
invoked from within
"foreach name $argv {
if {$name == "-"} {
set f stdin
} elseif {[catch {open $name r} f] != 0} {
puts stderr $f
continue
}
while {[e..."
(file "cat" line 5)
---- Result should have been:
3 1 4
==== exec-1.3 FAILED
==== exec-6.3 redirecting stderr through a pipeline FAILED
==== Contents of test case:
exec $::tcltest::tcltest sh -c "echo foo bar 1>&2" |& $::tcltest::tcltest s
h -c "echo second msg 1>&2 ; cat" |& $::tcltest::tcltest cat
==== Test generated error:
second msg
child killed: alarm clock
while executing
"exec >@stdout 2>@stderr /var/www/home/ppirn/download/tcl/tcl8.2.2/unix/tcltest
echo foo bar >@stderr"
("eval" body line 1)
invoked from within
"eval exec >@stdout 2>@stderr [list [info nameofexecutable]] $newcmd"
("foreach" body line 3)
invoked from within
"foreach arg $cmd {
if {$arg == ";"} {
eval exec >@stdout 2>@stderr [list [info nameofexecutable]] $newcmd
set newcmd {}
continue
}
i..."
(file "sh" line 10)
child process exited abnormally
---- Result should have been:
second msg
foo bar
==== exec-6.3 FAILED
==== exec-9.3 commands returning errors FAILED
==== Contents of test case:
list [catch {exec $::tcltest::tcltest sleep 1 | $::tcltest::tcltest exit 43
| $::tcltest::tcltest sleep 1} msg] $msg
---- Result was:
1 {child killed: alarm clock
child killed: alarm clock
child process exited abnormally}
---- Result should have been:
1 {child process exited abnormally}
==== exec-9.3 FAILED
==== exec-9.4 commands returning errors FAILED
==== Contents of test case:
list [catch {exec $::tcltest::tcltest exit 43 | $::tcltest::tcltest echo "fo
o bar"} msg] $msg
---- Result was:
1 {child killed: alarm clock
child process exited abnormally}
---- Result should have been:
1 {foo bar
child process exited abnormally}
==== exec-9.4 FAILED
==== exec-9.6 commands returning errors FAILED
==== Contents of test case:
list [catch {exec $::tcltest::tcltest sh -c "echo error msg 1>&2"} msg] $msg
---- Result was:
1 {child killed: alarm clock}
---- Result should have been:
1 {error msg}
==== exec-9.6 FAILED
==== exec-9.7 commands returning errors FAILED
==== Contents of test case:
list [catch {exec $::tcltest::tcltest sh -c "echo error msg 1>&2" | $::tclt
est::tcltest sh -c "echo error msg 1>&2"} msg] $msg
---- Result was:
1 child\ killed:\ alarm\ clock\n\ \ \ \ while\ executing\n\"exec\ >@stdout\ 2>@s
tderr\ /var/www/home/ppirn/download/tcl/tcl8.2.2/unix/tcltest\ echo\ error\ msg\
>@stderr\"\n\ \ \ \ (\"eval\"\ body\ line\ 1)\n\ \ \ \ invoked\ from\ within\n\
"eval\ exec\ >@stdout\ 2>@stderr\ \[list\ \[info\ nameofexecutable\]\]\ \$newcmd
\"\n\ \ \ \ (\"foreach\"\ body\ line\ 3)\n\ \ \ \ invoked\ from\ within\n\"forea
ch\ arg\ \$cmd\ \{\n\tif\ \{\$arg\ ==\ \"\;\"\}\ \{\n\t\ \ \ \ eval\ exec\ >@std
out\ 2>@stderr\ \[list\ \[info\ nameofexecutable\]\]\ \$newcmd\n\t\ \ \ \ set\ n
ewcmd\ \{\}\n\t\ \ \ \ continue\n\t\}\n\ti...\"\n\ \ \ \ (file\ \"sh\"\ line\ 10
)\nerror\ msg
---- Result should have been:
1 {error msg
error msg}
==== exec-9.7 FAILED
==== exec-11.2 commands in background FAILED
==== Contents of test case:
list [catch {exec $::tcltest::tcltest echo a &b} msg] $msg
---- Result was:
1 {child killed: alarm clock}
---- Result should have been:
0 {a &b}
==== exec-11.2 FAILED
...
Running http 1.0 tests in slave interp
(test hangs here; test killed by sys admin)
dkfplain2000-12-12 22:30:29
Why on earth are all those SIGALRMs being generated? Are you running with some kind of resource limitation turned on, or is there some kind of bizarre problem with signal control and exec? And can this be reproduced on the latest version of Tcl (which works just fine with Solaris...)
dkf Ticket [219312ffff]: 1 change
[History diff]2001-02-07 22:17:52
dgp Ticket [219312ffff]: 1 change
[History diff]2001-04-05 08:20:12
hobbsplain2002-03-23 06:53:10
Logged In: YES user_id=72656 Some changes have been made for BSD/OS in 8.3.4, so this must be reverified.
Log in (anonymous is fine) to add a comment.