{"action":"created","issue":{"url":"https://api.github.com/repos/blaze/distributed/issues/56","labels_url":"https://api.github.com/repos/blaze/distributed/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/blaze/distributed/issues/56/comments","events_url":"https://api.github.com/repos/blaze/distributed/issues/56/events","html_url":"https://github.com/blaze/distributed/pull/56","id":122622528,"number":56,"title":"Mac","user":{"login":"mrocklin","id":306380,"avatar_url":"https://avatars.githubusercontent.com/u/306380?v=3","gravatar_id":"","url":"https://api.github.com/users/mrocklin","html_url":"https://github.com/mrocklin","followers_url":"https://api.github.com/users/mrocklin/followers","following_url":"https://api.github.com/users/mrocklin/following{/other_user}","gists_url":"https://api.github.com/users/mrocklin/gists{/gist_id}","starred_url":"https://api.github.com/users/mrocklin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrocklin/subscriptions","organizations_url":"https://api.github.com/users/mrocklin/orgs","repos_url":"https://api.github.com/users/mrocklin/repos","events_url":"https://api.github.com/users/mrocklin/events{/privacy}","received_events_url":"https://api.github.com/users/mrocklin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-16T22:56:00Z","updated_at":"2015-12-17T21:35:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/blaze/distributed/pulls/56","html_url":"https://github.com/blaze/distributed/pull/56","diff_url":"https://github.com/blaze/distributed/pull/56.diff","patch_url":"https://github.com/blaze/distributed/pull/56.patch"},"body":"OK, so it turns out that on linux `127.0.0.*` points to localhost.  E.g.\r\n\r\n```\r\nmrocklin@notebook:~$ ping 127.0.0.123\r\nPING 127.0.0.123 (127.0.0.123) 56(84) bytes of data.\r\n64 bytes from 127.0.0.123: icmp_seq=1 ttl=64 time=0.047 ms\r\n64 bytes from 127.0.0.123: icmp_seq=2 ttl=64 time=0.048 ms\r\n```\r\n\r\nWe use this a lot in tests, because it allows us to simulate multiple different hosts.\r\n\r\nTurns out that by default Mac only respects `127.0.0.1` which was what was causing tests to hang very low down.\r\n\r\nThis PR adds timeouts on connection, a bit of logging, and also turns off the tests that really depend on the `127.0.0.*` behavior on non-linux platforms.\r\n\r\nThings aren't perfect yet, but they're a heck of a lot closer.\r\n\r\ncc @broxtronix "},"comment":{"url":"https://api.github.com/repos/blaze/distributed/issues/comments/165588719","html_url":"https://github.com/blaze/distributed/pull/56#issuecomment-165588719","issue_url":"https://api.github.com/repos/blaze/distributed/issues/56","id":165588719,"user":{"login":"mrocklin","id":306380,"avatar_url":"https://avatars.githubusercontent.com/u/306380?v=3","gravatar_id":"","url":"https://api.github.com/users/mrocklin","html_url":"https://github.com/mrocklin","followers_url":"https://api.github.com/users/mrocklin/followers","following_url":"https://api.github.com/users/mrocklin/following{/other_user}","gists_url":"https://api.github.com/users/mrocklin/gists{/gist_id}","starred_url":"https://api.github.com/users/mrocklin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrocklin/subscriptions","organizations_url":"https://api.github.com/users/mrocklin/orgs","repos_url":"https://api.github.com/users/mrocklin/repos","events_url":"https://api.github.com/users/mrocklin/events{/privacy}","received_events_url":"https://api.github.com/users/mrocklin/received_events","type":"User","site_admin":false},"created_at":"2015-12-17T21:35:19Z","updated_at":"2015-12-17T21:35:19Z","body":"Merging."}}