Skip to content
Tcl Source Code View Ticket
Login

View Ticket

http::Event test suite failure

Closed / Invalid534751ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 24 years ago
Descriptionplain2002-03-25 16:53:16
download of latest tcl cvs head snapshot from
activestate ftp site on Mar 25, 2002 during EDT
morning.

Did a make distclean; configure --prefix=/usr/tcl84
--enable-symbols
make all
make test

and the following test fails:


http.test

==== http-4.14 http::Event FAILED
==== Contents of test case:

    set code [catch {
        set token [http::geturl $badurl/?timeout=10
-timeout 10000 -command {#}]
        if {[string length $token] == 0} {
            error "bogus return from http::geturl"
        }
        http::wait $token
        http::status $token
    } err]
    # error code varies among platforms.
    list $code [regexp {(connect failed|couldn't open
socket)} $err]

---- Result was:
0 0
---- Result should have been (exact matching):
1 1
==== http-4.14 FAILED
msoferplain2002-03-26 00:06:14
Logged In: YES 
user_id=148712

I see this failure (on linux) all the time when networked:
it may have something to do with with our transparent proxy
answering?
hobbsplain2002-03-26 02:14:38
Logged In: YES 
user_id=72656

This test does fail on proxies, which should be noted in 
the test comments I suppose.  Do you have a proxy?  The 
reason is proxies always answer, before they can go on to 
find out the url is bad.
lvirdenplain2002-03-26 02:33:40
Logged In: YES 
user_id=15949

as far as I am aware, no proxy involved here.  But then,
we've seen flaky dns resolution to tcl.tk all day - could
that be involved?
lvirdenplain2003-02-04 20:23:34
Logged In: YES 
user_id=15949

this bug no longer appears in my environment with the latest
cvs head.
hobbs Closed ticket [534751ffff]. [History diff]2003-02-05 01:43:35
vincentdarleyplain2003-02-05 20:20:08
Logged In: YES 
user_id=32170

I always see this test failure -- presumably because I 
have a proxy server.  Could this be marked in the test, 
at least?
hobbsplain2003-02-06 01:00:58
Logged In: YES 
user_id=72656

vince - be my guest.  Adding of comments to test suites or 
extra docs does not require any prior approval (assuming they 
are accurate and topical ;)).
Log in (anonymous is fine) to add a comment.