{"action":"created","issue":{"url":"https://api.github.com/repos/python-trio/trio/issues/349","repository_url":"https://api.github.com/repos/python-trio/trio","labels_url":"https://api.github.com/repos/python-trio/trio/issues/349/labels{/name}","comments_url":"https://api.github.com/repos/python-trio/trio/issues/349/comments","events_url":"https://api.github.com/repos/python-trio/trio/issues/349/events","html_url":"https://github.com/python-trio/trio/pull/349","id":273285258,"number":349,"title":"Make measure_backlog more robust against weird errors","user":{"login":"njsmith","id":609896,"avatar_url":"https://avatars0.githubusercontent.com/u/609896?v=4","gravatar_id":"","url":"https://api.github.com/users/njsmith","html_url":"https://github.com/njsmith","followers_url":"https://api.github.com/users/njsmith/followers","following_url":"https://api.github.com/users/njsmith/following{/other_user}","gists_url":"https://api.github.com/users/njsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/njsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/njsmith/subscriptions","organizations_url":"https://api.github.com/users/njsmith/orgs","repos_url":"https://api.github.com/users/njsmith/repos","events_url":"https://api.github.com/users/njsmith/events{/privacy}","received_events_url":"https://api.github.com/users/njsmith/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-11-13T01:21:41Z","updated_at":"2017-11-13T04:43:48Z","closed_at":null,"author_association":"OWNER","pull_request":{"url":"https://api.github.com/repos/python-trio/trio/pulls/349","html_url":"https://github.com/python-trio/trio/pull/349","diff_url":"https://github.com/python-trio/trio/pull/349.diff","patch_url":"https://github.com/python-trio/trio/pull/349.patch"},"body":"@nmalaguti is reporting that on a particular VPS they have access to,\nsometimes, the test_open_tcp_listeners_backlog test is blowing up with\nEMFILE and breaking other tests. It seems to involve the kernel\nswitching to using syn cookies, and then suddenly infinitely many\nconnection attempts can appear to succeed.\n\nA real fix would be to make the test robust against syncookies, but\nI'm not yet sure how to do that. In the mean time this at least should\nmake the test more robustly clean up after itself, so that this causes\na well-defined failure without shrapnel flying out to hit other tests."},"comment":{"url":"https://api.github.com/repos/python-trio/trio/issues/comments/343811195","html_url":"https://github.com/python-trio/trio/pull/349#issuecomment-343811195","issue_url":"https://api.github.com/repos/python-trio/trio/issues/349","id":343811195,"user":{"login":"njsmith","id":609896,"avatar_url":"https://avatars0.githubusercontent.com/u/609896?v=4","gravatar_id":"","url":"https://api.github.com/users/njsmith","html_url":"https://github.com/njsmith","followers_url":"https://api.github.com/users/njsmith/followers","following_url":"https://api.github.com/users/njsmith/following{/other_user}","gists_url":"https://api.github.com/users/njsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/njsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/njsmith/subscriptions","organizations_url":"https://api.github.com/users/njsmith/orgs","repos_url":"https://api.github.com/users/njsmith/repos","events_url":"https://api.github.com/users/njsmith/events{/privacy}","received_events_url":"https://api.github.com/users/njsmith/received_events","type":"User","site_admin":false},"created_at":"2017-11-13T04:43:48Z","updated_at":"2017-11-13T04:43:48Z","author_association":"OWNER","body":"Okay, since I can't think of any way to run this test once syn cookies come into play, I've updated it further to put an upper bound on how many connection attempts are made, and if we hit that we consider the test to have passed. (But, sneakily, we don't cover all the lines this way, so hopefully we'll get some warning if we ever end up in a situation where *all* our test runners are giving up and effectively skipping the test.)\r\n\r\n@nmalaguti What do you think?"}}
{"actor":{"display_login":"njsmith"}}