#5065 http-3.29 fails

obsolete: 8.6b3
closed-fixed
Reinhard Max
9
2012-08-20
2012-07-09
Don Porter
No

==== http-3.29 http::geturl http://\[::1]:8010/ FAILED
==== Contents of test case:

set token [http::geturl $ipv6url -validate 1]
http::code $token

---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
---- errorInfo: couldn't open socket: address family not supported by protocol
while executing
"http::geturl $ipv6url -validate 1"
("uplevel" body line 2)
invoked from within
"uplevel 1 $script"
---- errorCode: NONE
==== http-3.29 FAILED

Discussion

  • Don Porter
    Don Porter
    2012-07-12

    • milestone: 2101542 --> 3071253
     
  • Don Porter
    Don Porter
    2012-07-12

    Is this best handled with a test constraint?

     
  • Don Porter
    Don Porter
    2012-08-06

    • milestone: 3071253 --> obsolete: 8.6b3
     
  • Don Porter
    Don Porter
    2012-08-06

    I see this on a CentOS 5.8 system.

     
  • Twylite
    Twylite
    2012-08-06

    I'm pretty sure I see this on a Windows XP system with no IPv6 stack, but I don't have a suitable test system to confirm that at the moment.

    Should be handled by an "ipv6" constraint, I think?

     
  • Reinhard Max
    Reinhard Max
    2012-08-06

    http-3.29 is meant to test the URL parser's ability to deal with URLs that contain explicit IPv6 addresses in square brackets. That it tries to make a connection to that address is only because the package doesn't allow to test the parser independently. So, a correct solution would IMO be to make the URL parser independently testable.

     
  • Don Porter
    Don Porter
    2012-08-20

    • status: open --> closed-fixed