Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 883385c774f47ed954757f1ddb37ff5f1a6915d3ab5ffcbc5d31e785652ddd92
Ticket: bbaf69c3dd4a2f645fab2a1affa9753158b79063
http-4.15* test failures
User & Date: dgp on 2023-09-15 17:29:14
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-plain"
  4. comment changed to:
    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.
    
  5. foundin changed to: "trunk"
  6. is_private changed to: "0"
  7. login: "dgp"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "8e2300e85be5dd1445b9666eb9429055951e33be"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "dgp"
  14. subsystem changed to: "29. http Package"
  15. title changed to: "http-4.15* test failures"
  16. type changed to: "Bug"