)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":7715,"name":"Hirofumi Ichihara","email":"ichihara.hirofumi@gmail.com","username":"Hirofumi-Ichihara"},"change_message_id":"768e117a36eda27052926ad12c7e9ac4ab8d0379","unresolved":false,"context_lines":[{"line_number":12,"context_line":"this issue as we can\u0027t distinguish to which test of connectivity data"},{"line_number":13,"context_line":"belong."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"This patch makes unique data string per test_connection() and"},{"line_number":16,"context_line":"also makes establish_connection() to create an ASSURED entry in"},{"line_number":17,"context_line":"conntrack table. Finally, in last test after firewall filter was"},{"line_number":18,"context_line":"removed, connection is re-established in order to avoid troubles with"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"ba15a1d1_72f8587d","line":15,"updated":"2015-09-12 17:01:30.000000000","message":"nit: test_connection() -\u003e test_connectivity()","commit_id":"2f9251ba66b9b4242f485f9ce749aebfa27bd367"},{"author":{"_account_id":2874,"name":"yong sheng gong","email":"gong.yongsheng@99cloud.net","username":"gongysh"},"change_message_id":"6ba386ce5fb0abf15a72cf3ab38441285a1a60a7","unresolved":false,"context_lines":[{"line_number":12,"context_line":"this issue as we can\u0027t distinguish to which test of connectivity data"},{"line_number":13,"context_line":"belong."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"This patch makes unique data string per test_connection() and"},{"line_number":16,"context_line":"also makes establish_connection() to create an ASSURED entry in"},{"line_number":17,"context_line":"conntrack table. Finally, in last test after firewall filter was"},{"line_number":18,"context_line":"removed, connection is re-established in order to avoid troubles with"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"ba15a1d1_ea6c690a","line":15,"in_reply_to":"ba15a1d1_72f8587d","updated":"2015-09-14 04:08:50.000000000","message":"good catch","commit_id":"2f9251ba66b9b4242f485f9ce749aebfa27bd367"},{"author":{"_account_id":8655,"name":"Jakub Libosvar","email":"libosvar@redhat.com","username":"jlibosva"},"change_message_id":"e8814406d658db2a376a5fd1d2e7482447de427d","unresolved":false,"context_lines":[{"line_number":12,"context_line":"this issue as we can\u0027t distinguish to which test of connectivity data"},{"line_number":13,"context_line":"belong."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"This patch makes unique data string per test_connection() and"},{"line_number":16,"context_line":"also makes establish_connection() to create an ASSURED entry in"},{"line_number":17,"context_line":"conntrack table. Finally, in last test after firewall filter was"},{"line_number":18,"context_line":"removed, connection is re-established in order to avoid troubles with"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"ba15a1d1_7e7497fc","line":15,"in_reply_to":"ba15a1d1_ea6c690a","updated":"2015-09-14 07:55:28.000000000","message":"Done","commit_id":"2f9251ba66b9b4242f485f9ce749aebfa27bd367"}],"neutron/tests/common/net_helpers.py":[{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"e00bc02878ffe34aba86d0fce7e67562de65e605","unresolved":false,"context_lines":[{"line_number":312,"context_line":"            # Create an entry in conntrack table for UDP packets"},{"line_number":313,"context_line":"            self.client_process.writeline(self.TESTING_STRING)"},{"line_number":314,"context_line":""},{"line_number":315,"context_line":"    def test_connectivity(self, respawn\u003dFalse, force_respawn\u003dFalse):"},{"line_number":316,"context_line":"        stop_required \u003d force_respawn or ("},{"line_number":317,"context_line":"            respawn and self._client_process and"},{"line_number":318,"context_line":"            self._client_process.poll() is not None)"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa1b9901_fc0c2544","line":315,"updated":"2015-08-17 23:33:06.000000000","message":"no need to define a new argument:\n\n  stop_required \u003d self.protocol \u003d\u003d UDP or (...)","commit_id":"b590b6a570ba3f60905925e1b24a2dc5c7416186"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"0fe5ab1d27bc237f5b422a4d771e1575ea3128d7","unresolved":false,"context_lines":[{"line_number":312,"context_line":"            # Create an entry in conntrack table for UDP packets"},{"line_number":313,"context_line":"            self.client_process.writeline(self.TESTING_STRING)"},{"line_number":314,"context_line":""},{"line_number":315,"context_line":"    def test_connectivity(self, respawn\u003dFalse, force_respawn\u003dFalse):"},{"line_number":316,"context_line":"        stop_required \u003d force_respawn or ("},{"line_number":317,"context_line":"            respawn and self._client_process and"},{"line_number":318,"context_line":"            self._client_process.poll() is not None)"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa1b9901_767d621b","line":315,"in_reply_to":"fa1b9901_4d8a2bc1","updated":"2015-08-18 19:16:40.000000000","message":"According to your commit message[1],  there is no reason to support both cases and requires NetcatTester users to choose between them (marun would say YAGNI!)\n\n\n[1] \"UDP protocol is stateless and testing connectivity on open connection is\tthe same as testing new connectivity\"","commit_id":"b590b6a570ba3f60905925e1b24a2dc5c7416186"},{"author":{"_account_id":2874,"name":"yong sheng gong","email":"gong.yongsheng@99cloud.net","username":"gongysh"},"change_message_id":"a3d15cc86eb1eef605e3d2f5f034e0ec3b16647a","unresolved":false,"context_lines":[{"line_number":312,"context_line":"            # Create an entry in conntrack table for UDP packets"},{"line_number":313,"context_line":"            self.client_process.writeline(self.TESTING_STRING)"},{"line_number":314,"context_line":""},{"line_number":315,"context_line":"    def test_connectivity(self, respawn\u003dFalse, force_respawn\u003dFalse):"},{"line_number":316,"context_line":"        stop_required \u003d force_respawn or ("},{"line_number":317,"context_line":"            respawn and self._client_process and"},{"line_number":318,"context_line":"            self._client_process.poll() is not None)"}],"source_content_type":"text/x-python","patch_set":1,"id":"da20952f_04520913","line":315,"in_reply_to":"fa1b9901_767d621b","updated":"2015-09-08 03:51:36.000000000","message":"I think this: if not UDP,  respawn definetely, otherwise respect respawn argument","commit_id":"b590b6a570ba3f60905925e1b24a2dc5c7416186"},{"author":{"_account_id":8655,"name":"Jakub Libosvar","email":"libosvar@redhat.com","username":"jlibosva"},"change_message_id":"a64971701c9251858d51789c92d7c3a7f29e1983","unresolved":false,"context_lines":[{"line_number":312,"context_line":"            # Create an entry in conntrack table for UDP packets"},{"line_number":313,"context_line":"            self.client_process.writeline(self.TESTING_STRING)"},{"line_number":314,"context_line":""},{"line_number":315,"context_line":"    def test_connectivity(self, respawn\u003dFalse, force_respawn\u003dFalse):"},{"line_number":316,"context_line":"        stop_required \u003d force_respawn or ("},{"line_number":317,"context_line":"            respawn and self._client_process and"},{"line_number":318,"context_line":"            self._client_process.poll() is not None)"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa1b9901_4d8a2bc1","line":315,"in_reply_to":"fa1b9901_fc0c2544","updated":"2015-08-18 09:02:01.000000000","message":"What if you don\u0027t want to get respawned for UDP protocol?","commit_id":"b590b6a570ba3f60905925e1b24a2dc5c7416186"},{"author":{"_account_id":7715,"name":"Hirofumi Ichihara","email":"ichihara.hirofumi@gmail.com","username":"Hirofumi-Ichihara"},"change_message_id":"768e117a36eda27052926ad12c7e9ac4ab8d0379","unresolved":false,"context_lines":[{"line_number":331,"context_line":"            self.server_process.writeline(data)"},{"line_number":332,"context_line":"            self.client_process.read_stdout(READ_TIMEOUT).strip()"},{"line_number":333,"context_line":"            self.client_process.writeline(data)"},{"line_number":334,"context_line":"            self.server_process.read_stdout(READ_TIMEOUT).strip()"},{"line_number":335,"context_line":""},{"line_number":336,"context_line":"    def test_connectivity(self, respawn\u003dFalse):"},{"line_number":337,"context_line":"        testing_string \u003d uuidutils.generate_uuid()"}],"source_content_type":"text/x-python","patch_set":4,"id":"ba15a1d1_32f2e09b","line":334,"updated":"2015-09-12 17:01:30.000000000","message":"Why 3 times?","commit_id":"2f9251ba66b9b4242f485f9ce749aebfa27bd367"},{"author":{"_account_id":8655,"name":"Jakub Libosvar","email":"libosvar@redhat.com","username":"jlibosva"},"change_message_id":"e8814406d658db2a376a5fd1d2e7482447de427d","unresolved":false,"context_lines":[{"line_number":331,"context_line":"            self.server_process.writeline(data)"},{"line_number":332,"context_line":"            self.client_process.read_stdout(READ_TIMEOUT).strip()"},{"line_number":333,"context_line":"            self.client_process.writeline(data)"},{"line_number":334,"context_line":"            self.server_process.read_stdout(READ_TIMEOUT).strip()"},{"line_number":335,"context_line":""},{"line_number":336,"context_line":"    def test_connectivity(self, respawn\u003dFalse):"},{"line_number":337,"context_line":"        testing_string \u003d uuidutils.generate_uuid()"}],"source_content_type":"text/x-python","patch_set":4,"id":"ba15a1d1_9e264b15","line":334,"in_reply_to":"ba15a1d1_32f2e09b","updated":"2015-09-14 07:55:28.000000000","message":"To get ASSURED state in conntrack","commit_id":"2f9251ba66b9b4242f485f9ce749aebfa27bd367"},{"author":{"_account_id":8655,"name":"Jakub Libosvar","email":"libosvar@redhat.com","username":"jlibosva"},"change_message_id":"e59a10668e0e0bdce4ad37375be38fe29379c2c3","unresolved":false,"context_lines":[{"line_number":331,"context_line":"            self.server_process.writeline(data)"},{"line_number":332,"context_line":"            self.client_process.read_stdout(READ_TIMEOUT).strip()"},{"line_number":333,"context_line":"            self.client_process.writeline(data)"},{"line_number":334,"context_line":"            self.server_process.read_stdout(READ_TIMEOUT).strip()"},{"line_number":335,"context_line":""},{"line_number":336,"context_line":"    def test_connectivity(self, respawn\u003dFalse):"},{"line_number":337,"context_line":"        testing_string \u003d uuidutils.generate_uuid()"}],"source_content_type":"text/x-python","patch_set":4,"id":"ba15a1d1_fd897fcb","line":334,"in_reply_to":"ba15a1d1_3a413d0c","updated":"2015-09-14 14:18:45.000000000","message":"I thought that too! According [1] it should be like you described. My experience on Fedora was different though - After sending first UDP packet client-\u003eserver (L329) I saw [UNREPLIED] in conntrack table. \n\nAfter read and reply from server side UNREPLIED disappeared but ASSURED was not present yet. ASSURED appeared after yet another client-\u003eserver communication (L333). And that explains why tcp-handshake-like flow ...\n\nI don\u0027t think it causes any harm to have additional client-\u003eserver communication here given that it\u0027s used for testing purposes only.\n\n[1] http://www.iptables.info/en/connection-state.html#UDPCONNECTIONS","commit_id":"2f9251ba66b9b4242f485f9ce749aebfa27bd367"},{"author":{"_account_id":7715,"name":"Hirofumi Ichihara","email":"ichihara.hirofumi@gmail.com","username":"Hirofumi-Ichihara"},"change_message_id":"aac7988d293242d91689ebe45e76d76721e25ea9","unresolved":false,"context_lines":[{"line_number":331,"context_line":"            self.server_process.writeline(data)"},{"line_number":332,"context_line":"            self.client_process.read_stdout(READ_TIMEOUT).strip()"},{"line_number":333,"context_line":"            self.client_process.writeline(data)"},{"line_number":334,"context_line":"            self.server_process.read_stdout(READ_TIMEOUT).strip()"},{"line_number":335,"context_line":""},{"line_number":336,"context_line":"    def test_connectivity(self, respawn\u003dFalse):"},{"line_number":337,"context_line":"        testing_string \u003d uuidutils.generate_uuid()"}],"source_content_type":"text/x-python","patch_set":4,"id":"ba15a1d1_ff2421b0","line":334,"in_reply_to":"ba15a1d1_9e264b15","updated":"2015-09-14 09:09:36.000000000","message":"I\u0027m not sure. Can you show a reason why can we get ASSURED state by 3 times? That is, you mean \"2 times\" is not good and \"4 times\" is unnecessary.","commit_id":"2f9251ba66b9b4242f485f9ce749aebfa27bd367"},{"author":{"_account_id":7715,"name":"Hirofumi Ichihara","email":"ichihara.hirofumi@gmail.com","username":"Hirofumi-Ichihara"},"change_message_id":"f2cd3b1e0ff5729ab6d63de0ae49578bb96b0efc","unresolved":false,"context_lines":[{"line_number":331,"context_line":"            self.server_process.writeline(data)"},{"line_number":332,"context_line":"            self.client_process.read_stdout(READ_TIMEOUT).strip()"},{"line_number":333,"context_line":"            self.client_process.writeline(data)"},{"line_number":334,"context_line":"            self.server_process.read_stdout(READ_TIMEOUT).strip()"},{"line_number":335,"context_line":""},{"line_number":336,"context_line":"    def test_connectivity(self, respawn\u003dFalse):"},{"line_number":337,"context_line":"        testing_string \u003d uuidutils.generate_uuid()"}],"source_content_type":"text/x-python","patch_set":4,"id":"ba15a1d1_3a413d0c","line":334,"in_reply_to":"ba15a1d1_9fa3a59e","updated":"2015-09-14 13:49:58.000000000","message":"Don\u0027t worry. I\u0027m not sure rule which conntrack table is created ;) My understanding is that ASSURED entry is created as two-way traffic flows, that is from client to server and from server to client. However, this adds a case which it\u0027s from client to server. Is it my misunderstanding?","commit_id":"2f9251ba66b9b4242f485f9ce749aebfa27bd367"},{"author":{"_account_id":7715,"name":"Hirofumi Ichihara","email":"ichihara.hirofumi@gmail.com","username":"Hirofumi-Ichihara"},"change_message_id":"02ea1dd18a6dd1e099367caa9565a0e4100f0e9a","unresolved":false,"context_lines":[{"line_number":331,"context_line":"            self.server_process.writeline(data)"},{"line_number":332,"context_line":"            self.client_process.read_stdout(READ_TIMEOUT).strip()"},{"line_number":333,"context_line":"            self.client_process.writeline(data)"},{"line_number":334,"context_line":"            self.server_process.read_stdout(READ_TIMEOUT).strip()"},{"line_number":335,"context_line":""},{"line_number":336,"context_line":"    def test_connectivity(self, respawn\u003dFalse):"},{"line_number":337,"context_line":"        testing_string \u003d uuidutils.generate_uuid()"}],"source_content_type":"text/x-python","patch_set":4,"id":"ba15a1d1_b05eb7e7","line":334,"in_reply_to":"ba15a1d1_fd897fcb","updated":"2015-09-14 23:08:51.000000000","message":"I got it and I agree it doesn\u0027t cause any harm. However, can you add comment so that reviewer and developer understand about it easily?","commit_id":"2f9251ba66b9b4242f485f9ce749aebfa27bd367"},{"author":{"_account_id":8655,"name":"Jakub Libosvar","email":"libosvar@redhat.com","username":"jlibosva"},"change_message_id":"e85dbfca076581830d78683f36b5c50ac2985886","unresolved":false,"context_lines":[{"line_number":331,"context_line":"            self.server_process.writeline(data)"},{"line_number":332,"context_line":"            self.client_process.read_stdout(READ_TIMEOUT).strip()"},{"line_number":333,"context_line":"            self.client_process.writeline(data)"},{"line_number":334,"context_line":"            self.server_process.read_stdout(READ_TIMEOUT).strip()"},{"line_number":335,"context_line":""},{"line_number":336,"context_line":"    def test_connectivity(self, respawn\u003dFalse):"},{"line_number":337,"context_line":"        testing_string \u003d uuidutils.generate_uuid()"}],"source_content_type":"text/x-python","patch_set":4,"id":"ba15a1d1_9fa3a59e","line":334,"in_reply_to":"ba15a1d1_ff2421b0","updated":"2015-09-14 09:23:58.000000000","message":"Maybe I miss something, can you please explain what you suggest to do in order to achieve ASSURED state?","commit_id":"2f9251ba66b9b4242f485f9ce749aebfa27bd367"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"28abdfda0025c260341f1939bfa662fc09735174","unresolved":false,"context_lines":[{"line_number":326,"context_line":"        if self.protocol \u003d\u003d self.UDP:"},{"line_number":327,"context_line":"            # Create an ASSURED entry in conntrack table for UDP packets"},{"line_number":328,"context_line":"            data \u003d \u0027foo\u0027"},{"line_number":329,"context_line":"            self.client_process.writeline(data)"},{"line_number":330,"context_line":"            self.server_process.read_stdout(READ_TIMEOUT).strip()"},{"line_number":331,"context_line":"            self.server_process.writeline(data)"},{"line_number":332,"context_line":"            self.client_process.read_stdout(READ_TIMEOUT).strip()"}],"source_content_type":"text/x-python","patch_set":6,"id":"ba15a1d1_7b3b25ec","line":329,"updated":"2015-09-14 22:25:17.000000000","message":"Why do we need the ASSURED entry in conntrack table? because it\u0027s required by iptables tests or because it\u0027s always required. Said differently: do we need to ensure such property in NetcatTester or iptables functional tests?\n\nThoughts?","commit_id":"959a1c73aecf8630052c3f13f38ffda16c27b5de"},{"author":{"_account_id":8655,"name":"Jakub Libosvar","email":"libosvar@redhat.com","username":"jlibosva"},"change_message_id":"f51689643f55bc74cda56bb4a32667843858dd26","unresolved":false,"context_lines":[{"line_number":326,"context_line":"        if self.protocol \u003d\u003d self.UDP:"},{"line_number":327,"context_line":"            # Create an ASSURED entry in conntrack table for UDP packets"},{"line_number":328,"context_line":"            data \u003d \u0027foo\u0027"},{"line_number":329,"context_line":"            self.client_process.writeline(data)"},{"line_number":330,"context_line":"            self.server_process.read_stdout(READ_TIMEOUT).strip()"},{"line_number":331,"context_line":"            self.server_process.writeline(data)"},{"line_number":332,"context_line":"            self.client_process.read_stdout(READ_TIMEOUT).strip()"}],"source_content_type":"text/x-python","patch_set":6,"id":"ba15a1d1_a71c31c2","line":329,"in_reply_to":"ba15a1d1_7b3b25ec","updated":"2015-09-15 09:14:07.000000000","message":"My thought is that it should be a capability of tester to establish connection. The test case itself should test that firewall can handle/cut established connections, way how connection is established is irrelevant to test itself.\n\nWhat bothers me more is L295. Should we establish connection automagically or rather explicitly where it\u0027s needed. I would almost incline to explicitly calling establish_connection(). Though it\u0027s outside of this patch ... but the discussion is worth to have.","commit_id":"959a1c73aecf8630052c3f13f38ffda16c27b5de"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"28abdfda0025c260341f1939bfa662fc09735174","unresolved":false,"context_lines":[{"line_number":328,"context_line":"            data \u003d \u0027foo\u0027"},{"line_number":329,"context_line":"            self.client_process.writeline(data)"},{"line_number":330,"context_line":"            self.server_process.read_stdout(READ_TIMEOUT).strip()"},{"line_number":331,"context_line":"            self.server_process.writeline(data)"},{"line_number":332,"context_line":"            self.client_process.read_stdout(READ_TIMEOUT).strip()"},{"line_number":333,"context_line":"            self.client_process.writeline(data)"},{"line_number":334,"context_line":"            self.server_process.read_stdout(READ_TIMEOUT).strip()"}],"source_content_type":"text/x-python","patch_set":6,"id":"ba15a1d1_bb31bd0d","line":331,"updated":"2015-09-14 22:25:17.000000000","message":"Why do we perform 3 write/read? Because we assume that after the 3 write/read the ASSURED entry is added in conntrack table?","commit_id":"959a1c73aecf8630052c3f13f38ffda16c27b5de"},{"author":{"_account_id":8655,"name":"Jakub Libosvar","email":"libosvar@redhat.com","username":"jlibosva"},"change_message_id":"f51689643f55bc74cda56bb4a32667843858dd26","unresolved":false,"context_lines":[{"line_number":328,"context_line":"            data \u003d \u0027foo\u0027"},{"line_number":329,"context_line":"            self.client_process.writeline(data)"},{"line_number":330,"context_line":"            self.server_process.read_stdout(READ_TIMEOUT).strip()"},{"line_number":331,"context_line":"            self.server_process.writeline(data)"},{"line_number":332,"context_line":"            self.client_process.read_stdout(READ_TIMEOUT).strip()"},{"line_number":333,"context_line":"            self.client_process.writeline(data)"},{"line_number":334,"context_line":"            self.server_process.read_stdout(READ_TIMEOUT).strip()"}],"source_content_type":"text/x-python","patch_set":6,"id":"ba15a1d1_c796054c","line":331,"in_reply_to":"ba15a1d1_bb31bd0d","updated":"2015-09-15 09:14:07.000000000","message":"Please look at comments at PS4, I\u0027ll need to add comment at this point as it\u0027s confusing. I\u0027m not sure whether documentation for conntrack contain a bug.","commit_id":"959a1c73aecf8630052c3f13f38ffda16c27b5de"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"28abdfda0025c260341f1939bfa662fc09735174","unresolved":false,"context_lines":[{"line_number":334,"context_line":"            self.server_process.read_stdout(READ_TIMEOUT).strip()"},{"line_number":335,"context_line":""},{"line_number":336,"context_line":"    def test_connectivity(self, respawn\u003dFalse):"},{"line_number":337,"context_line":"        testing_string \u003d uuidutils.generate_uuid()"},{"line_number":338,"context_line":"        if respawn:"},{"line_number":339,"context_line":"            self.stop_processes()"},{"line_number":340,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"ba15a1d1_9b171951","line":337,"updated":"2015-09-14 22:25:17.000000000","message":"this is clearly an improvement","commit_id":"959a1c73aecf8630052c3f13f38ffda16c27b5de"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"b20f4349beb3b6014115aada1ccba980323fef11","unresolved":false,"context_lines":[{"line_number":331,"context_line":"            # 3rd transmission creates ASSURED"},{"line_number":332,"context_line":"            data \u003d \u0027foo\u0027"},{"line_number":333,"context_line":"            self.client_process.writeline(data)"},{"line_number":334,"context_line":"            self.server_process.read_stdout(READ_TIMEOUT).strip()"},{"line_number":335,"context_line":"            self.server_process.writeline(data)"},{"line_number":336,"context_line":"            self.client_process.read_stdout(READ_TIMEOUT).strip()"},{"line_number":337,"context_line":"            self.client_process.writeline(data)"}],"source_content_type":"text/x-python","patch_set":7,"id":"ba15a1d1_63ec9e8f","line":334,"updated":"2015-09-16 06:10:27.000000000","message":"any reason to strip()?","commit_id":"fe8997c72c76a5de571e382b290dfbb27f267642"},{"author":{"_account_id":8655,"name":"Jakub Libosvar","email":"libosvar@redhat.com","username":"jlibosva"},"change_message_id":"84d6cab4c15ba70b1feb6d42712b99b3926ab2f6","unresolved":false,"context_lines":[{"line_number":331,"context_line":"            # 3rd transmission creates ASSURED"},{"line_number":332,"context_line":"            data \u003d \u0027foo\u0027"},{"line_number":333,"context_line":"            self.client_process.writeline(data)"},{"line_number":334,"context_line":"            self.server_process.read_stdout(READ_TIMEOUT).strip()"},{"line_number":335,"context_line":"            self.server_process.writeline(data)"},{"line_number":336,"context_line":"            self.client_process.read_stdout(READ_TIMEOUT).strip()"},{"line_number":337,"context_line":"            self.client_process.writeline(data)"}],"source_content_type":"text/x-python","patch_set":7,"id":"ba15a1d1_38133068","line":334,"in_reply_to":"ba15a1d1_63ec9e8f","updated":"2015-09-16 07:32:32.000000000","message":"No, it was dumb copy\u0026paste. Thanks!","commit_id":"fe8997c72c76a5de571e382b290dfbb27f267642"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"91b0a3feb188518401217a3f5132b194db633824","unresolved":false,"context_lines":[{"line_number":325,"context_line":"            address\u003dself.address)"},{"line_number":326,"context_line":"        if self.protocol \u003d\u003d self.UDP:"},{"line_number":327,"context_line":"            # Create an ASSURED entry in conntrack table for UDP packets,"},{"line_number":328,"context_line":"            # that requires 3-way communcation"},{"line_number":329,"context_line":"            # 1st transmission creates UNREPLIED"},{"line_number":330,"context_line":"            # 2nd transmission removes UNREPLIED"},{"line_number":331,"context_line":"            # 3rd transmission creates ASSURED"}],"source_content_type":"text/x-python","patch_set":8,"id":"ba15a1d1_9a1b4c1b","line":328,"updated":"2015-09-16 10:01:16.000000000","message":"communication","commit_id":"78aed58edbe6eb8a71339c7add491fe9de9a0546"}],"neutron/tests/functional/agent/linux/test_iptables.py":[{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"e00bc02878ffe34aba86d0fce7e67562de65e605","unresolved":false,"context_lines":[{"line_number":81,"context_line":"    def _test_with_nc(self, fw_manager, direction, port, protocol):"},{"line_number":82,"context_line":"        # Given that UDP is sort of stateless protocol, we don\u0027t need to keep"},{"line_number":83,"context_line":"        # nc running and we can afford to spawn a new nc instances."},{"line_number":84,"context_line":"        require_nc_respawn \u003d protocol \u003d\u003d net_helpers.NetcatTester.UDP"},{"line_number":85,"context_line":"        netcat \u003d net_helpers.NetcatTester("},{"line_number":86,"context_line":"            self.client.namespace, self.server.namespace,"},{"line_number":87,"context_line":"            self.server.ip, self.port, protocol)"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa1b9901_dc55a11d","line":84,"updated":"2015-08-17 23:33:06.000000000","message":"Why doing such check in test_iptables when it affect all uses of NetcatTester with udp protocol?","commit_id":"b590b6a570ba3f60905925e1b24a2dc5c7416186"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"8b76f955d4f9ce91a6542e898a9712754301c892","unresolved":false,"context_lines":[{"line_number":81,"context_line":"    def _test_with_nc(self, fw_manager, direction, port, protocol):"},{"line_number":82,"context_line":"        # Given that UDP is sort of stateless protocol, we don\u0027t need to keep"},{"line_number":83,"context_line":"        # nc running and we can afford to spawn a new nc instances."},{"line_number":84,"context_line":"        require_nc_respawn \u003d protocol \u003d\u003d net_helpers.NetcatTester.UDP"},{"line_number":85,"context_line":"        netcat \u003d net_helpers.NetcatTester("},{"line_number":86,"context_line":"            self.client.namespace, self.server.namespace,"},{"line_number":87,"context_line":"            self.server.ip, self.port, protocol)"}],"source_content_type":"text/x-python","patch_set":1,"id":"da20952f_4c946d43","line":84,"in_reply_to":"da20952f_2014e39d","updated":"2015-09-09 09:32:20.000000000","message":"Is it possible that it simply takes time for the rules to be applied and we end up failing the test just because we end up attempting the connection before iptables tells us to piss off?","commit_id":"b590b6a570ba3f60905925e1b24a2dc5c7416186"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"6e42f55804836067fe4f61e0f5127a92533207db","unresolved":false,"context_lines":[{"line_number":81,"context_line":"    def _test_with_nc(self, fw_manager, direction, port, protocol):"},{"line_number":82,"context_line":"        # Given that UDP is sort of stateless protocol, we don\u0027t need to keep"},{"line_number":83,"context_line":"        # nc running and we can afford to spawn a new nc instances."},{"line_number":84,"context_line":"        require_nc_respawn \u003d protocol \u003d\u003d net_helpers.NetcatTester.UDP"},{"line_number":85,"context_line":"        netcat \u003d net_helpers.NetcatTester("},{"line_number":86,"context_line":"            self.client.namespace, self.server.namespace,"},{"line_number":87,"context_line":"            self.server.ip, self.port, protocol)"}],"source_content_type":"text/x-python","patch_set":1,"id":"da20952f_8cea80ab","line":84,"in_reply_to":"da20952f_3895b387","updated":"2015-09-09 11:17:34.000000000","message":"interesting...ok.","commit_id":"b590b6a570ba3f60905925e1b24a2dc5c7416186"},{"author":{"_account_id":8655,"name":"Jakub Libosvar","email":"libosvar@redhat.com","username":"jlibosva"},"change_message_id":"c87579c6402eeaa19f86c03c5ecf6bc4aa37be90","unresolved":false,"context_lines":[{"line_number":81,"context_line":"    def _test_with_nc(self, fw_manager, direction, port, protocol):"},{"line_number":82,"context_line":"        # Given that UDP is sort of stateless protocol, we don\u0027t need to keep"},{"line_number":83,"context_line":"        # nc running and we can afford to spawn a new nc instances."},{"line_number":84,"context_line":"        require_nc_respawn \u003d protocol \u003d\u003d net_helpers.NetcatTester.UDP"},{"line_number":85,"context_line":"        netcat \u003d net_helpers.NetcatTester("},{"line_number":86,"context_line":"            self.client.namespace, self.server.namespace,"},{"line_number":87,"context_line":"            self.server.ip, self.port, protocol)"}],"source_content_type":"text/x-python","patch_set":1,"id":"da20952f_3895b387","line":84,"in_reply_to":"da20952f_4c946d43","updated":"2015-09-09 10:41:35.000000000","message":"@Armando: No, I don\u0027t think that\u0027s possible. We wait for exit code of iptables-restore. Also locally I see iptables rule is in place when I hit the issue. Likely either conntrack bypasses iptables if the connection is ASSURED or we read from socket remnant bits and given that we don\u0027t have unique testing string per test_connection(), we can\u0027t say whether it\u0027s remnant or data that were sent by peer.","commit_id":"b590b6a570ba3f60905925e1b24a2dc5c7416186"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"f973e227a42c810b67845b2fbc3b271353f95be1","unresolved":false,"context_lines":[{"line_number":81,"context_line":"    def _test_with_nc(self, fw_manager, direction, port, protocol):"},{"line_number":82,"context_line":"        # Given that UDP is sort of stateless protocol, we don\u0027t need to keep"},{"line_number":83,"context_line":"        # nc running and we can afford to spawn a new nc instances."},{"line_number":84,"context_line":"        require_nc_respawn \u003d protocol \u003d\u003d net_helpers.NetcatTester.UDP"},{"line_number":85,"context_line":"        netcat \u003d net_helpers.NetcatTester("},{"line_number":86,"context_line":"            self.client.namespace, self.server.namespace,"},{"line_number":87,"context_line":"            self.server.ip, self.port, protocol)"}],"source_content_type":"text/x-python","patch_set":1,"id":"da20952f_2014e39d","line":84,"in_reply_to":"fa1b9901_371292b5","updated":"2015-09-07 16:48:26.000000000","message":"How about collecting more data first? Specifically, we may be interested in process_input that we pass into execute() for iptables-restore.\n\nI don\u0027t think it should be exposed to users though. We may want to have a test-only fixture that enables such logging for the iptables manager, and use it in the test class.","commit_id":"b590b6a570ba3f60905925e1b24a2dc5c7416186"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"0fe5ab1d27bc237f5b422a4d771e1575ea3128d7","unresolved":false,"context_lines":[{"line_number":81,"context_line":"    def _test_with_nc(self, fw_manager, direction, port, protocol):"},{"line_number":82,"context_line":"        # Given that UDP is sort of stateless protocol, we don\u0027t need to keep"},{"line_number":83,"context_line":"        # nc running and we can afford to spawn a new nc instances."},{"line_number":84,"context_line":"        require_nc_respawn \u003d protocol \u003d\u003d net_helpers.NetcatTester.UDP"},{"line_number":85,"context_line":"        netcat \u003d net_helpers.NetcatTester("},{"line_number":86,"context_line":"            self.client.namespace, self.server.namespace,"},{"line_number":87,"context_line":"            self.server.ip, self.port, protocol)"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa1b9901_d6b30ee8","line":84,"in_reply_to":"fa1b9901_4d78ebc4","updated":"2015-08-18 19:16:40.000000000","message":"perhaps commit message should be updated to explain why the change solves the associated bug?","commit_id":"b590b6a570ba3f60905925e1b24a2dc5c7416186"},{"author":{"_account_id":8655,"name":"Jakub Libosvar","email":"libosvar@redhat.com","username":"jlibosva"},"change_message_id":"2490accdb6c08569df212e51af6becebd2d7dae1","unresolved":false,"context_lines":[{"line_number":81,"context_line":"    def _test_with_nc(self, fw_manager, direction, port, protocol):"},{"line_number":82,"context_line":"        # Given that UDP is sort of stateless protocol, we don\u0027t need to keep"},{"line_number":83,"context_line":"        # nc running and we can afford to spawn a new nc instances."},{"line_number":84,"context_line":"        require_nc_respawn \u003d protocol \u003d\u003d net_helpers.NetcatTester.UDP"},{"line_number":85,"context_line":"        netcat \u003d net_helpers.NetcatTester("},{"line_number":86,"context_line":"            self.client.namespace, self.server.namespace,"},{"line_number":87,"context_line":"            self.server.ip, self.port, protocol)"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa1b9901_371292b5","line":84,"in_reply_to":"fa1b9901_d65d4e7a","updated":"2015-08-25 09:17:32.000000000","message":"Well, that\u0027s the problem. I don\u0027t have any consensus of what\u0027s going on here. I\u0027m only assuming it\u0027s due to iptables_manager slowness. That\u0027s why I sent this patch and rechecked several times as I\u0027m not able to hit the issue on my environment. I was just looking for something to decrease rate failure of the gate.","commit_id":"b590b6a570ba3f60905925e1b24a2dc5c7416186"},{"author":{"_account_id":8873,"name":"Assaf Muller","email":"amuller@redhat.com","username":"amuller"},"change_message_id":"32a90218b649507c4dc2f772056ad455e926b0d1","unresolved":false,"context_lines":[{"line_number":81,"context_line":"    def _test_with_nc(self, fw_manager, direction, port, protocol):"},{"line_number":82,"context_line":"        # Given that UDP is sort of stateless protocol, we don\u0027t need to keep"},{"line_number":83,"context_line":"        # nc running and we can afford to spawn a new nc instances."},{"line_number":84,"context_line":"        require_nc_respawn \u003d protocol \u003d\u003d net_helpers.NetcatTester.UDP"},{"line_number":85,"context_line":"        netcat \u003d net_helpers.NetcatTester("},{"line_number":86,"context_line":"            self.client.namespace, self.server.namespace,"},{"line_number":87,"context_line":"            self.server.ip, self.port, protocol)"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa1b9901_d65d4e7a","line":84,"in_reply_to":"fa1b9901_d6b30ee8","updated":"2015-08-18 19:23:25.000000000","message":"+1\n\nCan you explain root cause analysis?","commit_id":"b590b6a570ba3f60905925e1b24a2dc5c7416186"},{"author":{"_account_id":8655,"name":"Jakub Libosvar","email":"libosvar@redhat.com","username":"jlibosva"},"change_message_id":"a64971701c9251858d51789c92d7c3a7f29e1983","unresolved":false,"context_lines":[{"line_number":81,"context_line":"    def _test_with_nc(self, fw_manager, direction, port, protocol):"},{"line_number":82,"context_line":"        # Given that UDP is sort of stateless protocol, we don\u0027t need to keep"},{"line_number":83,"context_line":"        # nc running and we can afford to spawn a new nc instances."},{"line_number":84,"context_line":"        require_nc_respawn \u003d protocol \u003d\u003d net_helpers.NetcatTester.UDP"},{"line_number":85,"context_line":"        netcat \u003d net_helpers.NetcatTester("},{"line_number":86,"context_line":"            self.client.namespace, self.server.namespace,"},{"line_number":87,"context_line":"            self.server.ip, self.port, protocol)"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa1b9901_4d78ebc4","line":84,"in_reply_to":"fa1b9901_dc55a11d","updated":"2015-08-18 09:02:01.000000000","message":"It doesn\u0027t, the culprit is in IptablesManager, not in NetcatTester. The correct thing to the will be to rewrite IptablesManger - which I tried and I still have some initiative in me to do so. But the test was non-deterministic failing and this (hopefully) fixes it.","commit_id":"b590b6a570ba3f60905925e1b24a2dc5c7416186"},{"author":{"_account_id":7715,"name":"Hirofumi Ichihara","email":"ichihara.hirofumi@gmail.com","username":"Hirofumi-Ichihara"},"change_message_id":"768e117a36eda27052926ad12c7e9ac4ab8d0379","unresolved":false,"context_lines":[{"line_number":88,"context_line":"        self.assertTrue(netcat.test_connectivity(),"},{"line_number":89,"context_line":"                        \u0027Failed connectivity check before applying a filter \u0027"},{"line_number":90,"context_line":"                        \u0027with %s\u0027 % filter_params)"},{"line_number":91,"context_line":"        #REVISIT(jlibosva): Make sure we have ASSURED conntrack entry for given"},{"line_number":92,"context_line":"        #                   connection"},{"line_number":93,"context_line":"        self.filter_add_rule("},{"line_number":94,"context_line":"            fw_manager, self.server.ip, direction, protocol, port)"}],"source_content_type":"text/x-python","patch_set":4,"id":"ba15a1d1_f22a28e7","line":91,"updated":"2015-09-12 17:01:30.000000000","message":"nit: Need a space\n\n #REVISIT(jlibosva) -\u003e # REVISIT(jlibosva)","commit_id":"2f9251ba66b9b4242f485f9ce749aebfa27bd367"},{"author":{"_account_id":8655,"name":"Jakub Libosvar","email":"libosvar@redhat.com","username":"jlibosva"},"change_message_id":"e8814406d658db2a376a5fd1d2e7482447de427d","unresolved":false,"context_lines":[{"line_number":88,"context_line":"        self.assertTrue(netcat.test_connectivity(),"},{"line_number":89,"context_line":"                        \u0027Failed connectivity check before applying a filter \u0027"},{"line_number":90,"context_line":"                        \u0027with %s\u0027 % filter_params)"},{"line_number":91,"context_line":"        #REVISIT(jlibosva): Make sure we have ASSURED conntrack entry for given"},{"line_number":92,"context_line":"        #                   connection"},{"line_number":93,"context_line":"        self.filter_add_rule("},{"line_number":94,"context_line":"            fw_manager, self.server.ip, direction, protocol, port)"}],"source_content_type":"text/x-python","patch_set":4,"id":"ba15a1d1_be6a2f19","line":91,"in_reply_to":"ba15a1d1_f22a28e7","updated":"2015-09-14 07:55:28.000000000","message":"Done","commit_id":"2f9251ba66b9b4242f485f9ce749aebfa27bd367"},{"author":{"_account_id":7715,"name":"Hirofumi Ichihara","email":"ichihara.hirofumi@gmail.com","username":"Hirofumi-Ichihara"},"change_message_id":"65a95d20858e442944966008fa710a0dfacda6b3","unresolved":false,"context_lines":[{"line_number":88,"context_line":"        self.assertTrue(netcat.test_connectivity(),"},{"line_number":89,"context_line":"                        \u0027Failed connectivity check before applying a filter \u0027"},{"line_number":90,"context_line":"                        \u0027with %s\u0027 % filter_params)"},{"line_number":91,"context_line":"        # REVISIT(jlibosva): Make sure we have ASSURED conntrack entry for given"},{"line_number":92,"context_line":"        #                    connection"},{"line_number":93,"context_line":"        self.filter_add_rule("},{"line_number":94,"context_line":"            fw_manager, self.server.ip, direction, protocol, port)"}],"source_content_type":"text/x-python","patch_set":5,"id":"ba15a1d1_c422b4b9","line":91,"updated":"2015-09-14 09:06:55.000000000","message":"pep8 failure says that this line too long ;)","commit_id":"fa235df62407007535f8b2edac3331820004148a"},{"author":{"_account_id":8655,"name":"Jakub Libosvar","email":"libosvar@redhat.com","username":"jlibosva"},"change_message_id":"92089e3149dde5d0e8af306b6679fca514c3ddb6","unresolved":false,"context_lines":[{"line_number":88,"context_line":"        self.assertTrue(netcat.test_connectivity(),"},{"line_number":89,"context_line":"                        \u0027Failed connectivity check before applying a filter \u0027"},{"line_number":90,"context_line":"                        \u0027with %s\u0027 % filter_params)"},{"line_number":91,"context_line":"        # REVISIT(jlibosva): Make sure we have ASSURED conntrack entry for given"},{"line_number":92,"context_line":"        #                    connection"},{"line_number":93,"context_line":"        self.filter_add_rule("},{"line_number":94,"context_line":"            fw_manager, self.server.ip, direction, protocol, port)"}],"source_content_type":"text/x-python","patch_set":5,"id":"ba15a1d1_bf9309a3","line":91,"in_reply_to":"ba15a1d1_c422b4b9","updated":"2015-09-14 09:13:30.000000000","message":"Ouch, this is awkward :) I should turn on back my git pep8 hook to pre-push. Thanks","commit_id":"fa235df62407007535f8b2edac3331820004148a"}]}
