Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e2773806ba659c924714865896f2e1103eb62514
Ticket: 3428753fffffffffffffffffffffffffffffffff
http test suite failing
User & Date: lvirden on 2011-10-26 12:49:30
Changes

  1. assignee changed to: "patthoyts"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    platform: sparc solaris 10, using Sun C compiler, and tcl cvs head.
    configued with: 
    ./configure --prefix=/projects/sprs_lwv/tcl86 --enable-shared --enable-symbols --enable-stubs --enable-threads
    
    during the test, the following http test suite failures were encountered
    ==== http-3.8 http::geturl FAILED
    ==== Contents of test case:
    
        set token [http::geturl $url -query Name=Value&Foo=Bar -timeout 2000]
        http::data $token
    
    ---- Result was:
    
    ---- Result should have been (exact matching):
    <html><head><title>HTTP/1.0 TEST</title></head><body>
    <h1>Hello, World!</h1>
    <h2>POST /a/b/c</h2>
    <h2>Query</h2>
    <dl>
    <dt>Name<dd>Value
    <dt>Foo<dd>Bar
    </dl>
    </body></html>
    ==== http-3.8 FAILED
    
    ==== http-3.25 http::meta FAILED
    ==== Contents of test case:
    
        set token [http::geturl $url -timeout 2000]
        array set m [http::meta $token]
        lsort [array names m]
    
    ---- Result was:
    
    ---- Result should have been (exact matching):
    Content-Length Content-Type Date
    ==== http-3.25 FAILED
    
    http11.test
    
    ==== http11-1.0 normal request for document FAILED
    ==== Contents of test case:
    
        set tok [http::geturl http://localhost:$httpd_port/testdoc.html -timeout 10000]
        http::wait $tok
        list [http::status $tok] [http::code $tok] [check_crc $tok] [meta $tok connection]
    
    ---- Result was:
    timeout {} {crc32 mismatch:  ne 0} {}
    ---- Result should have been (exact matching):
    ok {HTTP/1.1 200 OK} ok close
    ==== http11-1.0 FAILED
    
    ==== http11-1.1 normal,gzip,non-chunked FAILED
    ==== Contents of test case:
    
        set tok [http::geturl http://localhost:$httpd_port/testdoc.html?close=1  -timeout 10000 -headers {accept-encoding gzip}]
        http::wait $tok
        list [http::status $tok] [http::code $tok] [check_crc $tok]  [meta $tok content-encoding] [meta $tok transfer-encoding]
    
    ---- Result was:
    timeout {} {crc32 mismatch:  ne 0} {} {}
    ---- Result should have been (exact matching):
    ok {HTTP/1.1 200 OK} ok gzip {}
    ==== http11-1.1 FAILED
    
    ==== http11-1.2 normal,deflated,non-chunked FAILED
    ==== Contents of test case:
    
        set tok [http::geturl http://localhost:$httpd_port/testdoc.html?close=1  -timeout 10000 -headers {accept-encoding deflate}]
        http::wait $tok
        list [http::status $tok] [http::code $tok] [check_crc $tok]  [meta $tok content-encoding] [meta $tok transfer-encoding]
    
    ---- Result was:
    timeout {} {crc32 mismatch:  ne 0} {} {}
    ---- Result should have been (exact matching):
    ok {HTTP/1.1 200 OK} ok deflate {}
    ==== http11-1.2 FAILED
    
    ==== http11-1.3 normal,compressed,non-chunked FAILED
    ==== Contents of test case:
    
        set tok [http::geturl http://localhost:$httpd_port/testdoc.html?close=1  -timeout 10000 -headers {accept-encoding compress}]
        http::wait $tok
        list [http::status $tok] [http::code $tok] [check_crc $tok]  [meta $tok content-encoding] [meta $tok transfer-encoding]
    
    ---- Result was:
    timeout {} {crc32 mismatch:  ne 0} {} {}
    ---- Result should have been (exact matching):
    ok {HTTP/1.1 200 OK} ok compress {}
    ==== http11-1.3 FAILED
    
    ==== http11-1.4 normal,identity,non-chunked FAILED
    ==== Contents of test case:
    
        set tok [http::geturl http://localhost:$httpd_port/testdoc.html?close=1  -timeout 10000 -headers {accept-encoding identity}]
        http::wait $tok
        list [http::status $tok] [http::code $tok] [check_crc $tok]  [meta $tok content-encoding] [meta $tok transfer-encoding]
    
    ---- Result was:
    timeout {} {crc32 mismatch:  ne 0} {} {}
    ---- Result should have been (exact matching):
    ok {HTTP/1.1 200 OK} ok {} {}
    ==== http11-1.4 FAILED
    
    ==== http11-1.5 normal request for document, unsupported coding FAILED
    ==== Contents of test case:
    
        set tok [http::geturl http://localhost:$httpd_port/testdoc.html  -timeout 10000 -headers {accept-encoding unsupported}]
        http::wait $tok
        list [http::status $tok] [http::code $tok] [check_crc $tok]  [meta $tok content-encoding]
    
    ---- Result was:
    timeout {} {crc32 mismatch:  ne 0} {}
    ---- Result should have been (exact matching):
    ok {HTTP/1.1 200 OK} ok {}
    ==== http11-1.5 FAILED
    
    ==== http11-1.6 normal, specify 1.1 FAILED
    ==== Contents of test case:
    
        set tok [http::geturl http://localhost:$httpd_port/testdoc.html  -protocol 1.1 -timeout 10000]
        http::wait $tok
        list [http::status $tok] [http::code $tok] [check_crc $tok]  [meta $tok connection] [meta $tok transfer-encoding]
    
    ---- Result was:
    timeout {} {crc32 mismatch:  ne 0} {} {}
    ---- Result should have been (exact matching):
    ok {HTTP/1.1 200 OK} ok close chunked
    ==== http11-1.6 FAILED
    
    ==== http11-1.7 normal, 1.1 and keepalive FAILED
    ==== Contents of test case:
    
        set tok [http::geturl http://localhost:$httpd_port/testdoc.html  -protocol 1.1 -keepalive 1 -timeout 10000]
        http::wait $tok
        list [http::status $tok] [http::code $tok] [check_crc $tok]  [meta $tok connection] [meta $tok transfer-encoding]
    
    ---- Result was:
    timeout {} {crc32 mismatch:  ne 0} {} {}
    ---- Result should have been (exact matching):
    ok {HTTP/1.1 200 OK} ok {} chunked
    ==== http11-1.7 FAILED
    
    ==== http11-1.8 normal, 1.1 and keepalive, server close FAILED
    ==== Contents of test case:
    
        set tok [http::geturl http://localhost:$httpd_port/testdoc.html?close=1  -protocol 1.1 -keepalive 1 -timeout 10000]
        http::wait $tok
        list [http::status $tok] [http::code $tok] [check_crc $tok]  [meta $tok connection] [meta $tok transfer-encoding]
    
    ---- Result was:
    timeout {} {crc32 mismatch:  ne 0} {} {}
    ---- Result should have been (exact matching):
    ok {HTTP/1.1 200 OK} ok close {}
    ==== http11-1.8 FAILED
    
    ==== http11-1.9 normal,gzip,chunked FAILED
    ==== Contents of test case:
    
        set tok [http::geturl http://localhost:$httpd_port/testdoc.html  -timeout 10000 -headers {accept-encoding gzip}]
        http::wait $tok
        list [http::status $tok] [http::code $tok] [check_crc $tok]  [meta $tok content-encoding] [meta $tok transfer-encoding]
    
    ---- Result was:
    timeout {} {crc32 mismatch:  ne 0} {} {}
    ---- Result should have been (exact matching):
    ok {HTTP/1.1 200 OK} ok gzip chunked
    ==== http11-1.9 FAILED
    
    ==== http11-1.12 normal,identity,chunked FAILED
    ==== Contents of test case:
    
        set tok [http::geturl http://localhost:$httpd_port/testdoc.html  -timeout 10000 -headers {accept-encoding identity}]
        http::wait $tok
        list [http::status $tok] [http::code $tok] [check_crc $tok]  [meta $tok content-encoding] [meta $tok transfer-encoding]
    
    ---- Result was:
    timeout {} {crc32 mismatch:  ne 0} {} {}
    ---- Result should have been (exact matching):
    ok {HTTP/1.1 200 OK} ok {} chunked
    ==== http11-1.12 FAILED
    
    ==== http11-2.0 -channel FAILED
    ==== Contents of test case:
    
        set tok [http::geturl http://localhost:$httpd_port/testdoc.html  -timeout 5000 -channel $chan]
        http::wait $tok
        seek $chan 0
        set data [read $chan]
        list [http::status $tok] [http::code $tok] [check_crc $tok $data] [meta $tok connection] [meta $tok transfer-encoding]
    
    ---- Result was:
    timeout {} {crc32 mismatch:  ne 0} {} {}
    ---- Result should have been (exact matching):
    ok {HTTP/1.1 200 OK} ok close chunked
    ==== http11-2.0 FAILED
    
    ==== http11-2.1 -channel, encoding gzip FAILED
    ==== Contents of test case:
    
        set tok [http::geturl http://localhost:$httpd_port/testdoc.html  -timeout 5000 -channel $chan -headers {accept-encoding gzip}]
        http::wait $tok
        seek $chan 0
        set data [read $chan]
        list [http::status $tok] [http::code $tok] [check_crc $tok $data] [meta $tok connection] [meta $tok content-encoding] [meta $tok transfer-encoding]
    
    ---- Result was:
    timeout {} {crc32 mismatch:  ne 0} {} {} {}
    ---- Result should have been (exact matching):
    ok {HTTP/1.1 200 OK} ok close gzip chunked
    ==== http11-2.1 FAILED
    
    ==== http11-2.2 -channel, encoding deflate FAILED
    ==== Contents of test case:
    
        set tok [http::geturl http://localhost:$httpd_port/testdoc.html  -timeout 5000 -channel $chan -headers {accept-encoding deflate}]
        http::wait $tok
        seek $chan 0
        set data [read $chan]
        list [http::status $tok] [http::code $tok] [check_crc $tok $data] [meta $tok connection] [meta $tok content-encoding] [meta $tok transfer-encoding]
    
    ---- Result was:
    timeout {} {crc32 mismatch:  ne 0} {} {} {}
    ---- Result should have been (exact matching):
    ok {HTTP/1.1 200 OK} ok close deflate chunked
    ==== http11-2.2 FAILED
    
    ==== http11-2.3 -channel,encoding compress FAILED
    ==== Contents of test case:
    
        set tok [http::geturl http://localhost:$httpd_port/testdoc.html  -timeout 5000 -channel $chan  -headers {accept-encoding compress}]
        http::wait $tok
        seek $chan 0
        set data [read $chan]
        list [http::status $tok] [http::code $tok] [check_crc $tok $data] [meta $tok connection] [meta $tok content-encoding] [meta $tok transfer-encoding]
    
    ---- Result was:
    timeout {} {crc32 mismatch:  ne 0} {} {} {}
    ---- Result should have been (exact matching):
    ok {HTTP/1.1 200 OK} ok close compress chunked
    ==== http11-2.3 FAILED
    
    ==== http11-2.4 -channel,encoding identity FAILED
    ==== Contents of test case:
    
        set tok [http::geturl http://localhost:$httpd_port/testdoc.html  -timeout 5000 -channel $chan  -headers {accept-encoding identity}]
        http::wait $tok
        seek $chan 0
        set data [read $chan]
        list [http::status $tok] [http::code $tok] [check_crc $tok $data] [meta $tok connection] [meta $tok content-encoding] [meta $tok transfer-encoding]
    
    ---- Result was:
    timeout {} {crc32 mismatch:  ne 0} {} {} {}
    ---- Result should have been (exact matching):
    ok {HTTP/1.1 200 OK} ok close {} chunked
    ==== http11-2.4 FAILED
    
    ==== http11-2.5 -channel,encoding unsupported FAILED
    ==== Contents of test case:
    
        set tok [http::geturl http://localhost:$httpd_port/testdoc.html  -timeout 5000 -channel $chan  -headers {accept-encoding unsupported}]
        http::wait $tok
        seek $chan 0
        set data [read $chan]
        list [http::status $tok] [http::code $tok] [check_crc $tok $data] [meta $tok connection] [meta $tok content-encoding] [meta $tok transfer-encoding]
    
    ---- Result was:
    timeout {} {crc32 mismatch:  ne 0} {} {} {}
    ---- Result should have been (exact matching):
    ok {HTTP/1.1 200 OK} ok close {} chunked
    ==== http11-2.5 FAILED
    
    ==== http11-2.6 -channel,encoding gzip,non-chunked FAILED
    ==== Contents of test case:
    
        set tok [http::geturl http://localhost:$httpd_port/testdoc.html?close=1  -timeout 5000 -channel $chan -headers {accept-encoding gzip}]
        http::wait $tok
        seek $chan 0
        set data [read $chan]
        list [http::status $tok] [http::code $tok] [check_crc $tok $data] [meta $tok connection] [meta $tok content-encoding] [meta $tok transfer-encoding] [expr {[file size testdoc.html]-[file size testfile.tmp]}]
    
    ---- Result was:
    timeout {} {crc32 mismatch:  ne 0} {} {} {} 130037
    ---- Result should have been (exact matching):
    ok {HTTP/1.1 200 OK} ok close gzip {} 0
    ==== http11-2.6 FAILED
    
    ==== http11-2.7 -channel,encoding deflate,non-chunked FAILED
    ==== Contents of test case:
    
        set tok [http::geturl http://localhost:$httpd_port/testdoc.html?close=1  -timeout 5000 -channel $chan -headers {accept-encoding deflate}]
        http::wait $tok
        seek $chan 0
        set data [read $chan]
        list [http::status $tok] [http::code $tok] [check_crc $tok $data] [meta $tok connection] [meta $tok content-encoding] [meta $tok transfer-encoding] [expr {[file size testdoc.html]-[file size testfile.tmp]}]
    
    ---- Result was:
    timeout {} {crc32 mismatch:  ne 0} {} {} {} 130037
    ---- Result should have been (exact matching):
    ok {HTTP/1.1 200 OK} ok close deflate {} 0
    ==== http11-2.7 FAILED
    
    ==== http11-2.8 -channel,encoding compress,non-chunked FAILED
    ==== Contents of test case:
    
        set tok [http::geturl http://localhost:$httpd_port/testdoc.html?close=1  -timeout 5000 -channel $chan -headers {accept-encoding compress}]
        http::wait $tok
        seek $chan 0
        set data [read $chan]
        list [http::status $tok] [http::code $tok] [check_crc $tok $data] [meta $tok connection] [meta $tok content-encoding] [meta $tok transfer-encoding] [expr {[file size testdoc.html]-[file size testfile.tmp]}]
    
    ---- Result was:
    timeout {} {crc32 mismatch:  ne 0} {} {} {} 130037
    ---- Result should have been (exact matching):
    ok {HTTP/1.1 200 OK} ok close compress {} 0
    ==== http11-2.8 FAILED
    
    ==== http11-2.9 -channel,encoding identity,non-chunked FAILED
    ==== Contents of test case:
    
        set tok [http::geturl http://localhost:$httpd_port/testdoc.html?close=1  -timeout 5000 -channel $chan -headers {accept-encoding identity}]
        http::wait $tok
        seek $chan 0
        set data [read $chan]
        list [http::status $tok] [http::code $tok] [check_crc $tok $data] [meta $tok connection] [meta $tok content-encoding] [meta $tok transfer-encoding] [expr {[file size testdoc.html]-[file size testfile.tmp]}]
    
    ---- Result was:
    timeout {} {crc32 mismatch:  ne 0} {} {} {} 130037
    ---- Result should have been (exact matching):
    ok {HTTP/1.1 200 OK} ok close {} {} 0
    ==== http11-2.9 FAILED
    
    ==== http11-2.10 -channel,deflate,keepalive FAILED
    ==== Contents of test case:
    
        set tok [http::geturl http://localhost:$httpd_port/testdoc.html  -timeout 5000 -channel $chan -keepalive 1]
        http::wait $tok
        seek $chan 0
        set data [read $chan]
        list [http::status $tok] [http::code $tok] [check_crc $tok $data] [meta $tok connection] [meta $tok content-encoding] [meta $tok transfer-encoding] [expr {[file size testdoc.html]-[file size testfile.tmp]}]
    
    ---- Result was:
    timeout {} {crc32 mismatch:  ne 0} {} {} {} 130037
    ---- Result should have been (exact matching):
    ok {HTTP/1.1 200 OK} ok {} deflate chunked 0
    ==== http11-2.10 FAILED
    
    ==== http11-2.11 -channel,identity,keepalive FAILED
    ==== Contents of test case:
    
        set tok [http::geturl http://localhost:$httpd_port/testdoc.html  -headers {accept-encoding identity}  -timeout 5000 -channel $chan -keepalive 1]
        http::wait $tok
        seek $chan 0
        set data [read $chan]
        list [http::status $tok] [http::code $tok] [check_crc $tok $data] [meta $tok connection] [meta $tok content-encoding] [meta $tok transfer-encoding]
    
    ---- Result was:
    timeout {} {crc32 mismatch:  ne 0} {} {} {}
    ---- Result should have been (exact matching):
    ok {HTTP/1.1 200 OK} ok {} {} chunked
    ==== http11-2.11 FAILED
    
    ==== http11-3.0 -handler,close,identity FAILED
    ==== Contents of test case:
    
        set tok [http::geturl http://localhost:$httpd_port/testdoc.html?close=1  -timeout 10000 -handler [namespace code [list handler testdata]]]
        http::wait $tok
        list [http::status $tok] [http::code $tok] [check_crc $tok $testdata] [meta $tok connection] [meta $tok content-encoding]  [meta $tok transfer-encoding]  [expr {[file size testdoc.html]-[string length $testdata]}]
    
    ---- Result was:
    timeout {} {crc32 mismatch:  ne 0} {} {} {} 130037
    ---- Result should have been (exact matching):
    ok {HTTP/1.0 200 OK} ok close {} {} 0
    ==== http11-3.0 FAILED
    
    
    ==== http11-3.1 -handler,protocol1.0 FAILED
    ==== Contents of test case:
    
        set tok [http::geturl http://localhost:$httpd_port/testdoc.html?close=1  -timeout 10000 -protocol 1.0  -handler [namespace code [list handler testdata]]]
        http::wait $tok
        list [http::status $tok] [http::code $tok] [check_crc $tok $testdata] [meta $tok connection] [meta $tok content-encoding]  [meta $tok transfer-encoding]  [expr {[file size testdoc.html]-[string length $testdata]}]
    
    ---- Result was:
    timeout {} {crc32 mismatch:  ne 0} {} {} {} 130037
    ---- Result should have been (exact matching):
    ok {HTTP/1.0 200 OK} ok close {} {} 0
    ==== http11-3.1 FAILED
    
    ==== http11-3.3 -handler,keepalive,chunked FAILED
    ==== Contents of test case:
    
        set tok [http::geturl http://localhost:$httpd_port/testdoc.html  -timeout 10000 -keepalive 1 -binary 1 -handler [namespace code [list handler testdata]]]
        http::wait $tok
        list [http::status $tok] [http::code $tok] [check_crc $tok $testdata] [meta $tok connection] [meta $tok content-encoding]  [meta $tok transfer-encoding]  [expr {[file size testdoc.html]-[string length $testdata]}]
    
    ---- Result was:
    timeout {} {crc32 mismatch:  ne 0} {} {} {} 130037
    ---- Result should have been (exact matching):
    ok {HTTP/1.0 200 OK} ok close {} {} 0
    ==== http11-3.3 FAILED
    
    ==== http11-4.0 normal post request FAILED
    ==== Contents of test case:
    
        set query [http::formatQuery q 1 z 2]
        set tok [http::geturl http://localhost:$httpd_port/testdoc.html  -query $query -timeout 10000]
        http::wait $tok
        list status [http::status $tok] code [http::code $tok] crc [check_crc $tok] connection [meta $tok connection] query-length [meta $tok x-query-length]
    
    ---- Result was:
    status timeout code {} crc {crc32 mismatch:  ne 0} connection {} query-length {}
    ---- Result should have been (exact matching):
    status ok code {HTTP/1.1 200 OK} crc ok connection close query-length 7
    ==== http11-4.0 FAILED
    
    ==== http11-4.1 normal post request, check query length FAILED
    ==== Contents of test case:
    
        set query [http::formatQuery q 1 z 2]
        set tok [http::geturl http://localhost:$httpd_port/testdoc.html  -headers [list x-check-query yes]  -query $query -timeout 10000]
        http::wait $tok
        list status [http::status $tok] code [http::code $tok] crc [check_crc $tok] connection [meta $tok connection] query-length [meta $tok x-query-length]
    
    ---- Result was:
    status timeout code {} crc {crc32 mismatch:  ne 0} connection {} query-length {}
    ---- Result should have been (exact matching):
    status ok code {HTTP/1.1 200 OK} crc ok connection close query-length 7
    ==== http11-4.1 FAILED
    
    ==== http11-4.2 normal post request, check long query length FAILED
    ==== Contents of test case:
    
        set query [string repeat a 24576]
        set tok [http::geturl http://localhost:$httpd_port/testdoc.html -headers [list x-check-query yes] -query $query -timeout 10000]
        http::wait $tok
        list status [http::status $tok] code [http::code $tok] crc [check_crc $tok] connection [meta $tok connection] query-length [meta $tok x-query-length]
    
    ---- Result was:
    status timeout code {} crc {crc32 mismatch:  ne 0} connection {} query-length {}
    ---- Result should have been (exact matching):
    status ok code {HTTP/1.1 200 OK} crc ok connection close query-length 24576
    ==== http11-4.2 FAILED
    
    ==== http11-4.3 normal post request, check channel query length FAILED
    ==== Contents of test case:
    
        set tok [http::geturl http://localhost:$httpd_port/testdoc.html -headers [list x-check-query yes] -querychannel $chan -timeout 10000]
        http::wait $tok
        list status [http::status $tok] code [http::code $tok] crc [check_crc $tok] connection [meta $tok connection] query-length [meta $tok x-query-length]
    
    ---- Result was:
    status timeout code {} crc {crc32 mismatch:  ne 0} connection {} query-length {}
    ---- Result should have been (exact matching):
    status ok code {HTTP/1.1 200 OK} crc ok connection close query-length 122880
    ==== http11-4.3 FAILED
    
    
    
  4. foundin changed to: "obsolete: 8.6b2"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "lvirden"
  10. subsystem changed to: "29. http Package"
  11. title changed to: "http test suite failing"
  12. type changed to: "Bug"