Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2026-10-22
17:19 • Ticket [e8004edfe5] tip 458 test failures status still Closed with 3 other c... artifact: c4bbfb3470 user: serhiy.storchaka
2026-10-21
08:46 • Closed ticket [e8004edfe5]. artifact: 1b131ae967 user: serhiy.storchaka
2017-01-02
18:48 • Ticket [e8004edfe5]: 4 changes artifact: d3b6bf65b8 user: anonymous
2016-12-12
19:07 • Ticket [e8004edfe5]: 3 changes artifact: 5f1d87b029 user: dgp
19:07 • Ticket [e8004edfe5]: 3 changes artifact: 351af06c2c user: dgp
19:06 • Ticket [e8004edfe5]: 3 changes artifact: 620935f471 user: dgp
19:05 • Ticket [e8004edfe5]: 3 changes artifact: 2b2e5901ac user: dgp
19:04 • Ticket [e8004edfe5]: 3 changes artifact: 5ee341c2b2 user: dgp
19:03 • New ticket [e8004edfe5]. artifact: c4f4592a6e user: dgp

tip 458 test failures

Closed / Fixede8004edfe5490a1439e6abfa429581fdd1c5c51dCreated 10 years agoUpdated 42 days ago
Descriptionplain2016-12-12 19:03:36
The branch might not be fully ready for testing yet,
but FWIW the test suite on Centos Linux 7 yields:

aaa_exit.test


==== exit-1.1 normal, quick exit FAILED
==== Contents of test case:

     set f [open "|[interpreter] << \"exec [interpreter] << {set ::env(TCL_FINALIZE_ON_EXIT) 0;exit}\"" r]
     set aft [after 1000 {set done "Quick exit hangs !!!"}]
     fileevent $f readable {after cancel $aft;set done OK}
     vwait done
     if {$done != "OK"} {
        fconfigure $f -blocking 0
        close $f
     } else {
        if {[catch {close $f} err]} {
            set done "Quick exit misbehaves: $err"
        }
     }
     set done

---- Result was:
Quick exit hangs !!!
---- Result should have been (exact matching):
OK
==== exit-1.1 FAILED



==== exit-1.2 full-finalized exit FAILED
==== Contents of test case:

     set f [open "|[interpreter] << \"exec [interpreter] << {set ::env(TCL_FINALIZE_ON_EXIT) 1;exit}\"" r]
     set aft [after 1000 {set done "Full-finalized exit hangs !!!"}]
     fileevent $f readable {after cancel $aft;set done OK}
     vwait done
     if {$done != "OK"} {
        fconfigure $f -blocking 0
        close $f
     } else {
        if {[catch {close $f} err]} {
            set done "Full-finalized exit misbehaves: $err"
        }
     }
     set done

---- Result was:
Full-finalized exit hangs !!!
---- Result should have been (exact matching):
OK
==== exit-1.2 FAILED

...

basic.test
Test file error: epoll_ctl: Operation not permitted

...

then it appears to hang in chan.test
dgpplain2016-12-12 19:04:28
Drilling down some detail:

basic.test
---- basic-26.1 start
Test file error: epoll_ctl: Operation not permitted
dgpplain2016-12-12 19:05:23
chan.test
---- chan-16.9 start
<HANGS>
dgpplain2016-12-12 19:06:49
==== event-1.1 Tcl_CreateFileHandler, reading FAILED
==== Contents of test case:

    testfilehandler create 0 readable off
    testfilehandler clear 0
    testfilehandler oneevent
    lappend result [testfilehandler counts 0]
    testfilehandler fillpartial 0
    testfilehandler oneevent
    lappend result [testfilehandler counts 0]
    testfilehandler oneevent
    lappend result [testfilehandler counts 0]

---- Result was:
{0 0} {1 0} {1 0}
---- Result should have been (exact matching):
{0 0} {1 0} {2 0}
==== event-1.1 FAILED
dgpplain2016-12-12 19:07:12
---- event-5.3 start
<HANGS>
dgpplain2016-12-12 19:07:32
I'll stop there; hope that's enough to get started.
anonymous (claiming to be vxp)plain2017-01-02 18:48:41
FYI: those have all been fixed a while ago, see *.log in the top-level directory of the `tip458' branch in <https://github.com/lalbornoz/tcl/tree/tip458> for test results and the mailing list thread (TIP #458: Add Support for epoll() and kqueue() in the Notifier.) - vxp
serhiy.storchakawiki2026-10-21 08:46:00

TIP 458 was merged in [858569fb04] (2017) after these branch problems were fixed. With the epoll notifier on current main, aaa_exit.test, basic.test, chan.test and event.test all pass. Closing.

serhiy.storchaka Ticket [e8004edfe5]: 3 changes [History diff]2026-10-22 17:19:28
Log in (anonymous is fine) to add a comment.