{"action":"closed","issue":{"url":"https://api.github.com/repos/pstavirs/ostinato/issues/178","repository_url":"https://api.github.com/repos/pstavirs/ostinato","labels_url":"https://api.github.com/repos/pstavirs/ostinato/issues/178/labels{/name}","comments_url":"https://api.github.com/repos/pstavirs/ostinato/issues/178/comments","events_url":"https://api.github.com/repos/pstavirs/ostinato/issues/178/events","html_url":"https://github.com/pstavirs/ostinato/issues/178","id":151230870,"number":178,"title":"debugging calls to `modifyStream` that take too long","user":{"login":"little-dude","id":6646324,"avatar_url":"https://avatars.githubusercontent.com/u/6646324?v=3","gravatar_id":"","url":"https://api.github.com/users/little-dude","html_url":"https://github.com/little-dude","followers_url":"https://api.github.com/users/little-dude/followers","following_url":"https://api.github.com/users/little-dude/following{/other_user}","gists_url":"https://api.github.com/users/little-dude/gists{/gist_id}","starred_url":"https://api.github.com/users/little-dude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/little-dude/subscriptions","organizations_url":"https://api.github.com/users/little-dude/orgs","repos_url":"https://api.github.com/users/little-dude/repos","events_url":"https://api.github.com/users/little-dude/events{/privacy}","received_events_url":"https://api.github.com/users/little-dude/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-26T20:26:25Z","updated_at":"2016-04-28T00:01:32Z","closed_at":"2016-04-28T00:01:32Z","body":"Hi,\r\n\r\nI'm writing a library that hides all the protocol buffer stuff, and that has auto-generated documentation: https://github.com/little-dude/simple-ostinato/\r\n\r\nIt's still work in progress and not yet available on pypi, but I'm running into a weird issue, that I don't know how to debug. On travis, the tests take about ~5 minutes to run whereas they take less than 10 seconds locally (tried on Alpine Linux and Archlinux). See this run for instance: https://travis-ci.org/little-dude/simple-ostinato/builds/125923860\r\n\r\nI appears that some calls to `modifyStream` take between 45 and 50 seconds. Here are the logs:\r\n\r\n```\r\nmodifying stream. Time elapsed: 0\r\n[127.0.0.1:57849] Server(on_clientSock_dataAvail): successfully received/parsed msg <----\r\n[127.0.0.1:57849] method = 7\r\n[127.0.0.1:57849] req = \r\n[127.0.0.1:57849] port_id {\r\n[127.0.0.1:57849]   id: 3\r\n[127.0.0.1:57849] }\r\n[127.0.0.1:57849] stream {\r\n[127.0.0.1:57849]   stream_id {\r\n[127.0.0.1:57849]     id: 0\r\n[127.0.0.1:57849]   }\r\n[127.0.0.1:57849]   core {\r\n[127.0.0.1:57849]   }\r\n[127.0.0.1:57849]   control {\r\n[127.0.0.1:57849]   }\r\n[127.0.0.1:57849]   protocol {\r\n[127.0.0.1:57849]     protocol_id {\r\n[127.0.0.1:57849]       id: 100\r\n[127.0.0.1:57849]     }\r\n[127.0.0.1:57849]     [OstProto.mac] {\r\n[127.0.0.1:57849]       dst_mac: 0\r\n[127.0.0.1:57849]       dst_mac_mode: e_mm_fixed\r\n[127.0.0.1:57849]       dst_mac_count: 16\r\n[127.0.0.1:57849]       dst_mac_step: 1\r\n[127.0.0.1:57849]       src_mac: 0\r\n[127.0.0.1:57849]       src_mac_mode: e_mm_fixed\r\n[127.0.0.1:57849]       src_mac_count: 16\r\n[127.0.0.1:57849]       src_mac_step: 1\r\n[127.0.0.1:57849]     }\r\n[127.0.0.1:57849]   }\r\n[127.0.0.1:57849] }\r\n[127.0.0.1:57849] ---->\r\n[127.0.0.1:57849] In virtual void MyService::modifyStream(google::protobuf::RpcController*, const OstProto::StreamConfigList*, OstProto::Ack*, google::protobuf::Closure*)\r\n[127.0.0.1:57849] In updatePacketListInterleaved\r\n[127.0.0.1:57849] minGap   = 18446744073709551615\r\n[127.0.0.1:57849] duration = 1000000000\r\n\r\n# this is where drone seems to stay stuck\r\n\r\n[127.0.0.1:57849] loop Delay = 1/0\r\n[127.0.0.1:57849] Server(sendRpcReply): sending 8 bytes to client <----\r\n[127.0.0.1:57849] 0002000700000000\r\n[127.0.0.1:57849] method = 7\r\n[127.0.0.1:57849] req = \r\n[127.0.0.1:57849] ---->\r\ndone modifying stream. Time elapsed: -44\r\n```\r\n\r\nDo you have any pointer for further debugging? Unfortunately, since I cannot reproduce locally I cannot debug with pdb, or use a custom build for drone..."}}