{"action":"created","issue":{"url":"https://api.github.com/repos/weaveworks/weave/issues/798","labels_url":"https://api.github.com/repos/weaveworks/weave/issues/798/labels{/name}","comments_url":"https://api.github.com/repos/weaveworks/weave/issues/798/comments","events_url":"https://api.github.com/repos/weaveworks/weave/issues/798/events","html_url":"https://github.com/weaveworks/weave/issues/798","id":82426762,"number":798,"title":"[dns] failure in TestZoneRefresh","user":{"login":"rade","id":109109,"avatar_url":"https://avatars.githubusercontent.com/u/109109?v=3","gravatar_id":"","url":"https://api.github.com/users/rade","html_url":"https://github.com/rade","followers_url":"https://api.github.com/users/rade/followers","following_url":"https://api.github.com/users/rade/following{/other_user}","gists_url":"https://api.github.com/users/rade/gists{/gist_id}","starred_url":"https://api.github.com/users/rade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rade/subscriptions","organizations_url":"https://api.github.com/users/rade/orgs","repos_url":"https://api.github.com/users/rade/repos","events_url":"https://api.github.com/users/rade/events{/privacy}","received_events_url":"https://api.github.com/users/rade/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/weaveworks/weave/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"inercia","id":1841612,"avatar_url":"https://avatars.githubusercontent.com/u/1841612?v=3","gravatar_id":"","url":"https://api.github.com/users/inercia","html_url":"https://github.com/inercia","followers_url":"https://api.github.com/users/inercia/followers","following_url":"https://api.github.com/users/inercia/following{/other_user}","gists_url":"https://api.github.com/users/inercia/gists{/gist_id}","starred_url":"https://api.github.com/users/inercia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inercia/subscriptions","organizations_url":"https://api.github.com/users/inercia/orgs","repos_url":"https://api.github.com/users/inercia/repos","events_url":"https://api.github.com/users/inercia/events{/privacy}","received_events_url":"https://api.github.com/users/inercia/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/weaveworks/weave/milestones/5","html_url":"https://github.com/weaveworks/weave/milestones/next","labels_url":"https://api.github.com/repos/weaveworks/weave/milestones/5/labels","id":1133594,"number":5,"title":"next","description":"next release","creator":{"login":"rade","id":109109,"avatar_url":"https://avatars.githubusercontent.com/u/109109?v=3","gravatar_id":"","url":"https://api.github.com/users/rade","html_url":"https://github.com/rade","followers_url":"https://api.github.com/users/rade/followers","following_url":"https://api.github.com/users/rade/following{/other_user}","gists_url":"https://api.github.com/users/rade/gists{/gist_id}","starred_url":"https://api.github.com/users/rade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rade/subscriptions","organizations_url":"https://api.github.com/users/rade/orgs","repos_url":"https://api.github.com/users/rade/repos","events_url":"https://api.github.com/users/rade/events{/privacy}","received_events_url":"https://api.github.com/users/rade/received_events","type":"User","site_admin":false},"open_issues":48,"closed_issues":40,"state":"open","created_at":"2015-05-26T11:54:10Z","updated_at":"2015-06-02T07:57:40Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2015-05-29T13:24:59Z","updated_at":"2015-06-02T10:27:59Z","closed_at":null,"body":"Have seen this once while running `go test -tags netgo ./nameserver/` in #792.\r\n\r\n````\r\nINFO: 2015/05/29 14:07:16.794274 TestZoneRefresh starting\r\nINFO: 2015/05/29 14:07:16.794400 [zonedb] Using mDNS on all interfaces\r\nINFO: 2015/05/29 14:07:16.794405 [zonedb] Starting 4 background name updaters\r\nINFO: 2015/05/29 14:07:16.794409 [zonedb] Using mDNS on all interfaces\r\nINFO: 2015/05/29 14:07:16.794411 [zonedb] Starting 4 background name updaters\r\n--- FAIL: TestZoneRefresh (0.10s)\r\n\tzone_lookup_test.go:55: Db #1 after the lookup:\r\n\t\tweave:remote: , \r\n\t\tsomeident: mysql.weave.local.[10.2.8.4]\r\n\tzone_lookup_test.go:81: Db #1 after the second lookup:\r\n\t\tsomeident: mysql.weave.local.[10.2.8.4]\r\n\t\tweave:remote: mysql.weave.local.[10.2.8.5]/TTL:30, mysql.weave.local.[10.2.8.6]/TTL:30\r\n\tutil.go:134: Expected lookup result length 4 but got 1\r\n\t\tgoroutine 280 [running]:\r\n\t\tgithub.com/weaveworks/weave/testing.stackTrace(0xc2081d5800, 0x0, 0x0)\r\n\t\t\t/home/matthias/go/src/github.com/weaveworks/weave/testing/util.go:143 +0x88\r\n\t\tgithub.com/weaveworks/weave/testing.StackTrace(0x0, 0x0)\r\n\t\t\t/home/matthias/go/src/github.com/weaveworks/weave/testing/util.go:138 +0x35\r\n\t\tgithub.com/weaveworks/weave/testing.Fatalf(0xc208134ab0, 0x8748b0, 0x19, 0xc2081d3d20, 0x3, 0x3)\r\n\t\t\t/home/matthias/go/src/github.com/weaveworks/weave/testing/util.go:134 +0x27\r\n\t\tgithub.com/weaveworks/weave/testing.AssertEqualInt(0xc208134ab0, 0x1, 0x4, 0x869d30, 0x14)\r\n\t\t\t/home/matthias/go/src/github.com/weaveworks/weave/testing/util.go:51 +0x1b3\r\n\t\tgithub.com/weaveworks/weave/nameserver.TestZoneRefresh(0xc208134ab0)\r\n\t\t\t/home/matthias/go/src/github.com/weaveworks/weave/nameserver/zone_lookup_test.go:108 +0x1cb8\r\n\t\ttesting.tRunner(0xc208134ab0, 0xa0ecb0)\r\n\t\t\t/usr/local/go/src/testing/testing.go:447 +0xbf\r\n\t\tcreated by testing.RunTests\r\n\t\t\t/usr/local/go/src/testing/testing.go:555 +0xa8b\r\nINFO: 2015/05/29 14:07:16.896150 [zonedb] Using mDNS on all interfaces\r\nWARNING: 2015/05/29 14:07:16.896396 [zonedb] Remote info will not be garbage collected\r\nINFO: 2015/05/29 14:07:16.896665 [zonedb] Removing everything for ident 'deadbeef'\r\nINFO: 2015/05/29 14:07:16.896684 [zonedb] Removing everything for ident 'cowjuice'\r\nINFO: 2015/05/29 14:07:16.897116 [zonedb] Using mDNS on all interfaces\r\nWARNING: 2015/05/29 14:07:16.897266 [zonedb] Remote info will not be garbage collected\r\nINFO: 2015/05/29 14:07:16.897294 [zonedb] Removing everything for ident 'foobar'\r\nFAIL\r\n````\r\n\r\nI am tentatively putting this into 0.11.1. If it turns out that the issue is with post-0.11 code, or just with the test code, then we should move it to 'next'."},"comment":{"url":"https://api.github.com/repos/weaveworks/weave/issues/comments/107910880","html_url":"https://github.com/weaveworks/weave/issues/798#issuecomment-107910880","issue_url":"https://api.github.com/repos/weaveworks/weave/issues/798","id":107910880,"user":{"login":"inercia","id":1841612,"avatar_url":"https://avatars.githubusercontent.com/u/1841612?v=3","gravatar_id":"","url":"https://api.github.com/users/inercia","html_url":"https://github.com/inercia","followers_url":"https://api.github.com/users/inercia/followers","following_url":"https://api.github.com/users/inercia/following{/other_user}","gists_url":"https://api.github.com/users/inercia/gists{/gist_id}","starred_url":"https://api.github.com/users/inercia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inercia/subscriptions","organizations_url":"https://api.github.com/users/inercia/orgs","repos_url":"https://api.github.com/users/inercia/repos","events_url":"https://api.github.com/users/inercia/events{/privacy}","received_events_url":"https://api.github.com/users/inercia/received_events","type":"User","site_admin":false},"created_at":"2015-06-02T10:27:59Z","updated_at":"2015-06-02T10:27:59Z","body":"@rade With channel size, the program blocks. From [Go's spec](https://golang.org/ref/spec), _\"If the capacity is zero or absent, the channel is unbuffered and communication succeeds only when both a sender and receiver are ready\"_"}}