Artifacts Associated With Ticket 7c9b3f3832805e2b
Ticket change [2afc1697cb] (rid 261370) by dgp on 2026-11-10 16:40:31:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
After the latest sync, 9.0 and trunk branches are failing in new ways: http.test Running httpd in thread tid0x7f741aec6640 Running httpd in thread tid0x7f741a6c5640 ==== Test with ThreadLevel 0 ==== ==== http-4.19.0 keepalive socket closed by the server before reuse (bug [05b158ed56]) FAILED ==== Contents of test case: set result {} for {set i 0} {$i < 3} {incr i} { set token [http::geturl $srvurl -keepalive 1 -timeout 5000] lappend result [http::status $token] [http::data $token] http::cleanup $token } set result ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: can't read "socketWrState(127.0.0.1:32881)": no such element in array while executing "http::geturl $srvurl -keepalive 1 -timeout 5000" ("uplevel" body line 4) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== http-4.19.0 FAILED Running httpd in thread tid0x7f7419e6a640 ==== Test with ThreadLevel 1 ==== ==== http-4.19.1 keepalive socket closed by the server before reuse (bug [05b158ed56]) FAILED ==== Contents of test case: set result {} for {set i 0} {$i < 3} {incr i} { set token [http::geturl $srvurl -keepalive 1 -timeout 5000] lappend result [http::status $token] [http::data $token] http::cleanup $token } set result ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: can't read "socketWrState(127.0.0.1:45383)": no such element in array while executing "http::geturl $srvurl -keepalive 1 -timeout 5000" ("uplevel" body line 4) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== http-4.19.1 FAILED Running httpd in thread tid0x7f7419e6a640 ==== Test with ThreadLevel 2 ==== ==== http-4.19.2 keepalive socket closed by the server before reuse (bug [05b158ed56]) FAILED ==== Contents of test case: set result {} for {set i 0} {$i < 3} {incr i} { set token [http::geturl $srvurl -keepalive 1 -timeout 5000] lappend result [http::status $token] [http::data $token] http::cleanup $token } set result ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: can't read "socketWrState(127.0.0.1:35681)": no such element in array while executing "http::geturl $srvurl -keepalive 1 -timeout 5000" ("uplevel" body line 4) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== http-4.19.2 FAILED http11.test ==== Test with ThreadLevel 0 ==== ==== http11-5.1.0 reuse persistent socket after server restart, bug 3764f4e81f FAILED ==== Contents of test case: set h [restart_httpd $port] set tok [http::geturl http://localhost:$port/testdoc.html -keepalive 1 -channel $chan -timeout 5000] lappend res [http::status $tok] http::cleanup $tok # No event loop between the restart and the next request. foreach i {1 2 3} { set h [restart_httpd $port $h] set tok [http::geturl http://localhost:$port/testdoc.html -keepalive 1 -timeout 5000] lappend res [http::status $tok] [check_crc $tok] http::cleanup $tok } set res ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: can't read "socketWrState(localhost:33203)": no such element in array while executing "http::geturl http://localhost:$port/testdoc.html -keepalive 1 -timeout 5000" ("foreach" body line 3) invoked from within "foreach i {1 2 3} { set h [restart_httpd $port $h] set tok [http::geturl http://localhost:$port/testdoc.html -keepalive 1 -timeout 5000] lappend r..." ("uplevel" body line 7) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== http11-5.1.0 FAILED ==== Test with ThreadLevel 1 ==== ==== http11-5.1.1 reuse persistent socket after server restart, bug 3764f4e81f FAILED ==== Contents of test case: set h [restart_httpd $port] set tok [http::geturl http://localhost:$port/testdoc.html -keepalive 1 -channel $chan -timeout 5000] lappend res [http::status $tok] http::cleanup $tok # No event loop between the restart and the next request. foreach i {1 2 3} { set h [restart_httpd $port $h] set tok [http::geturl http://localhost:$port/testdoc.html -keepalive 1 -timeout 5000] lappend res [http::status $tok] [check_crc $tok] http::cleanup $tok } set res ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: can't read "socketWrState(localhost:40139)": no such element in array while executing "http::geturl http://localhost:$port/testdoc.html -keepalive 1 -timeout 5000" ("foreach" body line 3) invoked from within "foreach i {1 2 3} { set h [restart_httpd $port $h] set tok [http::geturl http://localhost:$port/testdoc.html -keepalive 1 -timeout 5000] lappend r..." ("uplevel" body line 7) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== http11-5.1.1 FAILED ==== Test with ThreadLevel 2 ==== ==== http11-5.1.2 reuse persistent socket after server restart, bug 3764f4e81f FAILED ==== Contents of test case: set h [restart_httpd $port] set tok [http::geturl http://localhost:$port/testdoc.html -keepalive 1 -channel $chan -timeout 5000] lappend res [http::status $tok] http::cleanup $tok # No event loop between the restart and the next request. foreach i {1 2 3} { set h [restart_httpd $port $h] set tok [http::geturl http://localhost:$port/testdoc.html -keepalive 1 -timeout 5000] lappend res [http::status $tok] [check_crc $tok] http::cleanup $tok } set res ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: can't read "socketWrState(localhost:37779)": no such element in array while executing "http::geturl http://localhost:$port/testdoc.html -keepalive 1 -timeout 5000" ("foreach" body line 3) invoked from within "foreach i {1 2 3} { set h [restart_httpd $port $h] set tok [http::geturl http://localhost:$port/testdoc.html -keepalive 1 -timeout 5000] lappend r..." ("uplevel" body line 7) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== http11-5.1.2 FAILED - foundin initialized to: "9.0+"
- is_private initialized to: "0"
- login: "dgp"
- priority initialized to: "5 Medium"
- private_contact initialized to: "8e2300e85be5dd1445b9666eb9429055951e33be"
- resolution initialized to: "None"
- severity initialized to: "Important"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "29. http Package"
- title initialized to: "New http test failures"
- type initialized to: "Bug"
Ticket change [d2e10eaf2a] (rid 261377) by serhiy.storchaka on 2026-11-10 16:58:17:
- icomment:
This is a stale library zip, see [1555016064]: an incremental build does not rebuild libtcl9.x.y.zip when only files in library/ change, so the new tests ran against the old http.tcl. Reproduced exactly that way; after deleting the zip and running make again, http.test and http11.test pass. Workaround: delete the zip file in the build directory (or make clean). Proposed fix in branch [/timeline?r=zip-depends-on-library|zip-depends-on-library].
- login: "serhiy.storchaka"
- mimetype: "text/x-fossil-wiki"
- icomment:
Ticket change [ef7e897003] (rid 261380) by dgp on 2026-11-10 17:33:20:
- closedate changed to: "2461355.2314895601"
- closer changed to: "dgp"
- icomment:
I could swear this was after a `make distclean` but trying again I cannot reproduce. Please alert me if these are http package changes that should cause a new version number.
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Closed"
Ticket change [9d24d285cb] (rid 261381) by jan.nijtmans on 2026-11-10 17:55:10:
- closedate changed to: "2461355.2466510534"
- closer changed to: "jan.nijtmans"
- icomment:
There is no need for a version bump, since this was recently done already, and never released
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"