View Ticket
Not logged in
2024-08-25
05:21
Merge [26e42a0eeb5ea82a]: Fix http issues [8c3de50] and [bbaf69c]. check-in: 0ee44bb31d user: pooryorick tags: unchained, INCOMPATIBLE_LICENSE
05:03
Merge [415cf45c118f8d96]: When http.tcl uses Thread, require Thread 2.8.9- to avoid failure of r/w o... check-in: 6722451fe3 user: pooryorick tags: unchained, INCOMPATIBLE_LICENSE
2023-12-13
11:20 Closed ticket [bbaf69c3dd]: http-4.15* test failures plus 7 other changes artifact: cfbbb2ca26 user: oehhar
2023-12-03
13:25
Fix for ticket [bbaf69c3dd] (test http-4.15.*). Do not rely on tk TLD. Increase timeout to 30s. M... check-in: 64459649ff user: kjnash tags: bugs-http-8c3de50-bbaf69c
2023-09-15
17:29 New ticket [bbaf69c3dd] http-4.15* test failures. artifact: 883385c774 user: dgp

Ticket UUID: bbaf69c3dd4a2f645fab2a1affa9753158b79063
Title: http-4.15* test failures
Type: Bug Version: trunk
Submitter: dgp Created on: 2023-09-15 17:29:14
Subsystem: 29. http Package Assigned To: nobody
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2023-12-13 11:20:16
Resolution: Fixed Closed By: oehhar
    Closed on: 2023-12-13 11:20:16
Description:
New test failures on the trunk...

http.test
Running httpd in thread tid0x7f37456fb700
Running httpd in thread tid0x7f3744efa700
==== Test with ThreadLevel 0 ====
Running httpd in thread tid0x7f3744efa700
==== Test with ThreadLevel 1 ====


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

    # This test may fail if you use a proxy server. That is to be
    # expected and is not a problem with Tcl.
    # With http::config -threadlevel 1 or 2, the script enters the event loop
    # during the DNS lookup, and has the opportunity to time out.
    # Increase -timeout from 3000 to 10000 to prevent this.
    set token [http::geturl //not_a_host.tcl.tk -timeout 10000 -command \#]
    http::wait $token
    set result "[http::status $token] -- [lindex [http::error $token] 0]"
    # error codes vary among platforms.

---- Result was:
timeout -- 
---- Result should have been (glob matching):
error -- couldn't open socket*
==== http-4.15.1 FAILED

Running httpd in thread tid0x7f3744efa700
==== Test with ThreadLevel 2 ====


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

    # This test may fail if you use a proxy server. That is to be
    # expected and is not a problem with Tcl.
    # With http::config -threadlevel 1 or 2, the script enters the event loop
    # during the DNS lookup, and has the opportunity to time out.
    # Increase -timeout from 3000 to 10000 to prevent this.
    set token [http::geturl //not_a_host.tcl.tk -timeout 10000 -command \#]
    http::wait $token
    set result "[http::status $token] -- [lindex [http::error $token] 0]"
    # error codes vary among platforms.

---- Result was:
timeout -- 
---- Result should have been (glob matching):
error -- couldn't open socket*
==== http-4.15.2 FAILED


The comments suggest these test failures might be a false alarm, but
if that's the case we should construct a better way to deal with that.
We really want a `make test` to be a useful tool for everyone, and we
really want zero failing tests to be the expected result.

On the other hand, if the new failures indicate a real problem, we 
should fix it.
User Comments: oehhar added on 2023-12-13 11:20:16:

Fixed by Keith, thanks !

Here is the commit to core-8-branch: [7759882996].

Thank you all, Harald