Skip to content
Tcl Source Code History Of Ticket 3385024fffffffffffffffffffffffffffffffff
Login

History Of Ticket 3385024fffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 3385024fffffffffffffffffffffffffffffffff

  1. Ticket change [99f722b0e0] (rid 110879) by dgp on 2011-08-02 20:02:25:

    1. assignee initialized to: "andreas_kupries"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      Lo priority matter, but if you try to run the test
      suite on a system with no real networking functioning.
      several tests fail and test files error out, notably
      the http*.test, socket.test, unixInit.test and
      zlib.test files.
      
      The error message encountered is:
      "host is unreachable (Name or service not known)"
      
      This might really be a system problem, or it might
      be an environment which the test suite ought to
      tolerate with some constraint usage.
      
      
    4. foundin initialized to: "obsolete: 8.6b2"
    5. is_private initialized to: "0"
    6. priority initialized to: "2"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "dgp"
    10. subsystem initialized to: "27. Channel Types"
    11. title initialized to: "test suite no like socket-less environment"
    12. type initialized to: "Bug"
  2. Ticket change [9efc4f2edf] (rid 96566) by ferrieux on 2011-08-03 05:23:09:

    1. icomment:
      Could is just be the absence of 'localhost' resolution ? (I'm saying this because it appears many times in those files, and I have seen localhost-less machines in real life, despite a fully working loopback interface).
      If that's so, using 127.0.0.1 in its stead could help (easy check if you have access to one of those machines).
      
      
    2. login: "ferrieux"
    3. mimetype: "text/plain"
    4. username: "ferrieux"
  3. Ticket change [6f44171d3f] (rid 100286) by dgp on 2011-08-03 20:35:25:

    1. icomment:
      
      The problem does appear to be resolution
      of the "localhost" name, yes.  I know that
      used to work on this system.  I suspect a
      regressions related to IPv6 support addition.
      
      I suspect this may have common cause
      with 3382419 and 3382431 which appear
      on a system that actually still matters.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  4. Ticket change [0293426fe0] (rid 119675) by dgp on 2011-08-03 21:23:08:

    1. icomment:
      
      I happen to have the Tcl 8.5.0 sources
      on the same system, and they resolve "localhost"
      just fine.
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  5. Ticket change [ebdb8fccab] (rid 103602) by dgp on 2011-08-03 21:23:23:

    1. priority changed to: "5 Medium"
  6. Ticket change [a55e4c56ac] (rid 110365) by ferrieux on 2011-08-03 22:33:37:

    1. icomment:
      Two questions:
      (1) why not just use 127.0.0.1 throughout the test suite ?
      (2) what does your /etc/hosts look like regarding localhost/localhost6 entries ?
      
      
    2. login: "ferrieux"
    3. mimetype: "text/plain"
    4. username: "ferrieux"
  7. Ticket change [4c9a515d02] (rid 126920) by dgp on 2011-08-03 23:17:18:

    1. icomment:
      
      I mostly like to have tests that resemble code.
      I expect many more programmers will naturally
      use "localhost" when they mean that, rather than
      127.0.0.1.
      
      My /etc/hosts file on the test system has the line:
      
      127.0.0.1          localhost.localdomain localhost
      
      Test system is also not connected to any network.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. title changed to: ""localhost" resolution regression"
    5. username: "dgp"
  8. Ticket change [6fb556e51f] (rid 100360) by dgp on 2011-08-04 00:48:37:

    1. icomment:
      
      If I disable the setting of the AI_ADDRCONFIG flag
      in hints.ai_flags, then things work again.  Whatever
      is missing on OpenBSD, NetBSD as reported in the
      comment is also missing in my test system.  Solution
      is apparently some improved autogoo and conditional
      coding directives.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  9. Ticket change [e9bf6b7323] (rid 104862) by dgp on 2011-08-04 00:49:51:

    1. assignee changed to: "rmax"
  10. Ticket change [667b95a9dc] (rid 102720) by dgp on 2011-08-04 00:51:12:

    1. icomment:
      judging by the #if line, things
      are also missing on AIX and HPUX systems.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  11. Ticket change [164a745ecc] (rid 124692) by ferrieux on 2011-08-04 17:13:16:

    1. icomment:
      What OS is your test system ?
      Also, what does the getaddrinfo manpage say regarding the AI_ADDRCONFIG semantics ?
      On linux it says:
      
             If hints.ai_flags includes the AI_ADDRCONFIG flag, then IPv4 addresses are returned in the list pointed to by result only if the local system has at least one IPv4 address configured,  and  IPv6  addresses
             are only returned if the local system has at least one IPv6 address configured.
      
      
      
      
      
    2. login: "ferrieux"
    3. mimetype: "text/plain"
    4. username: "ferrieux"
  12. Ticket change [6fda95c9ab] (rid 100382) by dgp on 2011-08-04 20:07:54:

    1. icomment:
      This is an alpha PC with Red Hat Linux 6.2 (Zoot)
      running on it, dating from around 2000.  The
      foundation is version 2.2.23 of the Linux kernel.
      
      Near as I can tell it has no getaddrinfo man page on it.
      
      Comments in the system header file agree with the
      man page quote you report on what the purpose
      of the AI_ADDRCONFIG flag is.
      
      My aim is not to make this system work; it is retired.
      My aim is to use testing on this system to find and fix
      any weaknesses in Tcl such testing may expose that
      will benefit it on actual systems in use.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  13. Ticket change [bf6319f408] (rid 102245) by rmax on 2011-08-04 20:37:38:

    1. closedate changed to: "2011-08-04T13:37:38"
    2. closer changed to: "rmax"
    3. icomment:
      
      
      allow_comments - 1
      
      I've commented out the use of AI_ADDRINFO for now.
      Let's see if that causes any problems in b3.
      
      
    4. login: "rmax"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "rmax"
  14. Ticket change [37278ac31f] (rid 107228) by dgp on 2011-08-05 03:07:45:

    1. icomment:
      
      Back on my desktop system, the change
      causes problems, at least is the test suite
      is any measure:
      
      ==== socket_any-2.9 socket conflict FAILED
      ==== Contents of test case:
      
          set s [socket -server accept 0]
          file delete $path(script)
          set f [open $path(script) w]
          puts $f [list set ::tcl::unsupported::socketAF $::tcl::unsupported::socketAF]
          puts $f "socket -server accept [lindex [fconfigure $s -sockname] 2]"
          close $f
          set f [open "|[list [interpreter] $path(script)]" r]
          gets $f
          after 100
          close $f
      
      ---- Result was:
      couldn't open socket: address family not supported by protocol
          while executing
      "socket -server accept 56387"
          (file "/local/tmp/dgp/fossil/tcl-only/unix/script" line 2)
      ---- Result should have been (glob matching):
      couldn't open socket: address already in use*
      ==== socket_any-2.9 FAILED
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"