Skip to content
Tcl Source Code History Of Ticket dee3d66bc7
Login

History Of Ticket dee3d66bc7

Artifacts Associated With Ticket dee3d66bc7

  1. Ticket change [e295bb3933] (rid 144995) by gahr on 2016-02-26 12:26:00:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/html"
    4. comment initialized to:
      This ticket is to track work on reviewing the socket.test constraints that assume that localhost is 127.0.0.1. Scope is to allow a larger set of tests to be run inside FreeBSD jails, where
      
      <pre>
          % set fd [socket -server {} -myaddr 127.0.0.1 0]
          % chan configure $fd -sockname 0
          192.168.1.3 dev.ptrcrt.ch 26776
      </pre>
      
    5. is_private initialized to: "0"
    6. login: "gahr"
    7. priority initialized to: "5 Medium"
    8. private_contact initialized to: "438e59f1f1c891b29d2528ed82d1e629cecc6336"
    9. resolution initialized to: "None"
    10. severity initialized to: "Minor"
    11. status initialized to: "Open"
    12. submitter initialized to: "gahr"
    13. subsystem initialized to: "27. Channel Types"
    14. title initialized to:
      relax socket.test constraints on localhost == 127.0.0.1
      
    15. type initialized to: "Patch"
  2. Ticket change [361f6eb4cf] (rid 144998) by gahr on 2016-02-26 12:30:04:

    1. icomment:
      Work is ongoing in branch <a href="http://core.tcl.tk/tcl/timeline?r=gahr-ticket-dee3d66bc7">gahr-ticket-dee3d66bc7</a>.
      
    2. login: "gahr"
    3. mimetype: "text/html"
    4. username: "[email protected]"
  3. Ticket change [aff304dcce] (rid 144999) by gahr on 2016-02-26 12:38:32:

    1. icomment:
      Failing tests I'm tracking down are basically variations on this one:
      
      <pre>
      ==== socket_inet-2.3 tcp connection with client interface specified FAILED
      ==== Contents of test case:
      
          # $x == "ready" at this point
          set sock [socket -myaddr $localhost $localhost $listen]
          puts $sock hello
          flush $sock
          lappend x [gets $f]
          close $sock
          return $x
      
      ---- Result was:
      ready {hello 192.168.1.3}
      ---- Result should have been (exact matching):
      ready {hello 127.0.0.1}
      ==== socket_inet-2.3 FAILED
      </pre>
      
    2. login: "gahr"
    3. mimetype: "text/html"
  4. Ticket change [b24d76d6b3] (rid 145001) by gahr on 2016-02-26 13:09:25:

    1. icomment:
      Before
      
      <pre>
      socket.test: Total   101     Passed  68      Skipped 24      Failed  9
      </pre>
      
      Current
      
      <pre>
      socket.test: Total   101     Passed  83      Skipped 18      Failed  0
      </pre>
      
    2. login: "gahr"
    3. mimetype: "text/html"
  5. Ticket change [fce0ae3e74] (rid 145002) by gahr on 2016-02-26 14:14:43:

    1. icomment:
      As non-root:
      
      <pre>
      socket.test:    Total   101     Passed  87      Skipped 14      Failed  0
      Number of tests skipped for each constraint:
              1       nonPortable
              12      supported_inet6
              1       win
      </pre>
      
    2. login: "gahr"
    3. mimetype: "text/plain"
  6. Ticket change [344262d3a8] (rid 145003) by gahr on 2016-02-26 14:21:14:

    1. assignee changed to: "oehhar"
    2. icomment:
      Harald, I would like to merge this. What do you think?
      I'll tackle the inet6 issues separately.
      
      Thanks!
      
    3. login: "gahr"
    4. mimetype: "text/plain"
  7. Ticket change [6fd7fda120] (rid 145011) by oehhar on 2016-02-26 16:58:46:

    1. icomment:
      Dear Pietro,
      
      I don't know how my name gets in as 'assignee'.
      I am sorry, I can not say anything to this ticket expect that it sounds reasonable (as any ticket from your hand).
      
      I have sometimes made some tests on CentOS but mainly for Rivet..
      
      Maybee Reinhard Max may comment on it?
      
      Sorry,
      Harald Oehlmann
      
    2. login: "oehhar"
    3. mimetype: "text/plain"
    4. username: "oehhar"
  8. Ticket change [783a0509b1] (rid 145012) by gahr on 2016-02-26 18:49:15:

    1. assignee changed to: "anonymous"
    2. icomment:
      Harald, I am sorry I picked up the wrong person to look at this. I did so by looking at the most recent committer to the socket.test file. Unfortunately I still miss a less heuristic approach :)
      Thanks for the hint, I'll get in touch with Rwinhard.
      
    3. login: "gahr"
    4. mimetype: "text/plain"
  9. Ticket change [1ef2b2d3c1] (rid 145014) by gahr on 2016-02-27 09:54:34:

    1. assignee changed to: "max"
    2. login: "gahr"
    3. mimetype: "text/plain"
  10. Ticket change [4e2e0d8a13] (rid 145015) by max on 2016-02-27 11:06:07:

    1. icomment:
      Is this behaviour of bind() in FreeBSD documented somewhere?
      
      It looks to me like a POSIX violation, if bind() succeeds, but uses a totally different address than requested.
      
      Although the Tcl testsuite is meant to find bugs in the Tcl implementation rather than in the underlaying OS, relaxing the tests to accept all kinds of weird platform behaviours might hide actual Tcl bugs on other platforms.
      
    2. login: "max"
    3. mimetype: "text/plain"