{"action":"created","issue":{"url":"https://api.github.com/repos/dropbox/llama/issues/24","repository_url":"https://api.github.com/repos/dropbox/llama","labels_url":"https://api.github.com/repos/dropbox/llama/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/dropbox/llama/issues/24/comments","events_url":"https://api.github.com/repos/dropbox/llama/issues/24/events","html_url":"https://github.com/dropbox/llama/issues/24","id":232739110,"number":24,"title":"UDP sender silently ignores exceptions","user":{"login":"dmar42","id":12106450,"avatar_url":"https://avatars7.githubusercontent.com/u/12106450?v=4","gravatar_id":"","url":"https://api.github.com/users/dmar42","html_url":"https://github.com/dmar42","followers_url":"https://api.github.com/users/dmar42/followers","following_url":"https://api.github.com/users/dmar42/following{/other_user}","gists_url":"https://api.github.com/users/dmar42/gists{/gist_id}","starred_url":"https://api.github.com/users/dmar42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmar42/subscriptions","organizations_url":"https://api.github.com/users/dmar42/orgs","repos_url":"https://api.github.com/users/dmar42/repos","events_url":"https://api.github.com/users/dmar42/events{/privacy}","received_events_url":"https://api.github.com/users/dmar42/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-01T01:10:35Z","updated_at":"2017-07-14T18:42:44Z","closed_at":null,"body":"https://github.com/dropbox/llama/blob/29978c5b4678e26582eee92cd3fe81cfa9fa4115/llama/udp.py#L173-L183\r\n\r\nThis block includes no handling for exceptions that may be encountered within the threads.Which can result in a run to complete, but with no results or a number of results that is not equal to the provided `count`.\r\n\r\nEx.\r\n```\r\n$ ./bin/llama_sender --port 5000 --count 2500 127.0.0.1\r\nINFO 2017-05-31 17:57:35,425 [llama_sender]: Arguments:\r\n{'--count': '2500',\r\n '--logfile': None,\r\n '--loglevel': 'info',\r\n '--port': '5000',\r\n '--timeout': '0.2',\r\n '--tos': '0x00',\r\n '<destination>': '127.0.0.1'}\r\nINFO 2017-05-31 17:57:35,526 [udp]: Number of sockets: 2500\r\nUdpStats(sent=1019, lost=0, loss=0.0, rtt_max=18.486083984375, rtt_min=0.1220703125, rtt_avg=1.4096202906495339)\r\n```\r\n\r\nWhen dug deeper, this is actually throwing a great deal of exceptions due to being unable to get a socket. In this case, I'm running on a Mac, so technically not supported, but the issue is definitely valid and can apply to many other situations."},"comment":{"url":"https://api.github.com/repos/dropbox/llama/issues/comments/315436327","html_url":"https://github.com/dropbox/llama/issues/24#issuecomment-315436327","issue_url":"https://api.github.com/repos/dropbox/llama/issues/24","id":315436327,"user":{"login":"dmar42","id":12106450,"avatar_url":"https://avatars7.githubusercontent.com/u/12106450?v=4","gravatar_id":"","url":"https://api.github.com/users/dmar42","html_url":"https://github.com/dmar42","followers_url":"https://api.github.com/users/dmar42/followers","following_url":"https://api.github.com/users/dmar42/following{/other_user}","gists_url":"https://api.github.com/users/dmar42/gists{/gist_id}","starred_url":"https://api.github.com/users/dmar42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmar42/subscriptions","organizations_url":"https://api.github.com/users/dmar42/orgs","repos_url":"https://api.github.com/users/dmar42/repos","events_url":"https://api.github.com/users/dmar42/events{/privacy}","received_events_url":"https://api.github.com/users/dmar42/received_events","type":"User","site_admin":false},"created_at":"2017-07-14T18:42:44Z","updated_at":"2017-07-14T18:42:44Z","body":"This is no longer happening \"silently\" but it's still being handled in ways that obscures the actual problem and can result in misleading data."}}
{"actor":{"display_login":"dmar42"}}