{"action":"created","issue":{"url":"https://api.github.com/repos/openthread/openthread/issues/269","repository_url":"https://api.github.com/repos/openthread/openthread","labels_url":"https://api.github.com/repos/openthread/openthread/issues/269/labels{/name}","comments_url":"https://api.github.com/repos/openthread/openthread/issues/269/comments","events_url":"https://api.github.com/repos/openthread/openthread/issues/269/events","html_url":"https://github.com/openthread/openthread/issues/269","id":166231580,"number":269,"title":"Time out when adding whitelist","user":{"login":"zlu93311","id":20527074,"avatar_url":"https://avatars.githubusercontent.com/u/20527074?v=3","gravatar_id":"","url":"https://api.github.com/users/zlu93311","html_url":"https://github.com/zlu93311","followers_url":"https://api.github.com/users/zlu93311/followers","following_url":"https://api.github.com/users/zlu93311/following{/other_user}","gists_url":"https://api.github.com/users/zlu93311/gists{/gist_id}","starred_url":"https://api.github.com/users/zlu93311/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zlu93311/subscriptions","organizations_url":"https://api.github.com/users/zlu93311/orgs","repos_url":"https://api.github.com/users/zlu93311/repos","events_url":"https://api.github.com/users/zlu93311/events{/privacy}","received_events_url":"https://api.github.com/users/zlu93311/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openthread/openthread/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"jwhui","id":16142208,"avatar_url":"https://avatars.githubusercontent.com/u/16142208?v=3","gravatar_id":"","url":"https://api.github.com/users/jwhui","html_url":"https://github.com/jwhui","followers_url":"https://api.github.com/users/jwhui/followers","following_url":"https://api.github.com/users/jwhui/following{/other_user}","gists_url":"https://api.github.com/users/jwhui/gists{/gist_id}","starred_url":"https://api.github.com/users/jwhui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwhui/subscriptions","organizations_url":"https://api.github.com/users/jwhui/orgs","repos_url":"https://api.github.com/users/jwhui/repos","events_url":"https://api.github.com/users/jwhui/events{/privacy}","received_events_url":"https://api.github.com/users/jwhui/received_events","type":"User","site_admin":false},"assignees":[{"login":"jwhui","id":16142208,"avatar_url":"https://avatars.githubusercontent.com/u/16142208?v=3","gravatar_id":"","url":"https://api.github.com/users/jwhui","html_url":"https://github.com/jwhui","followers_url":"https://api.github.com/users/jwhui/followers","following_url":"https://api.github.com/users/jwhui/following{/other_user}","gists_url":"https://api.github.com/users/jwhui/gists{/gist_id}","starred_url":"https://api.github.com/users/jwhui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwhui/subscriptions","organizations_url":"https://api.github.com/users/jwhui/orgs","repos_url":"https://api.github.com/users/jwhui/repos","events_url":"https://api.github.com/users/jwhui/events{/privacy}","received_events_url":"https://api.github.com/users/jwhui/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/openthread/openthread/milestones/1","html_url":"https://github.com/openthread/openthread/milestones/0.01.00%20(Initial%20Official%20Release)","labels_url":"https://api.github.com/repos/openthread/openthread/milestones/1/labels","id":1775078,"number":1,"title":"0.01.00 (Initial Official Release)","description":"First official release.","creator":{"login":"darconeous","id":686678,"avatar_url":"https://avatars.githubusercontent.com/u/686678?v=3","gravatar_id":"","url":"https://api.github.com/users/darconeous","html_url":"https://github.com/darconeous","followers_url":"https://api.github.com/users/darconeous/followers","following_url":"https://api.github.com/users/darconeous/following{/other_user}","gists_url":"https://api.github.com/users/darconeous/gists{/gist_id}","starred_url":"https://api.github.com/users/darconeous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darconeous/subscriptions","organizations_url":"https://api.github.com/users/darconeous/orgs","repos_url":"https://api.github.com/users/darconeous/repos","events_url":"https://api.github.com/users/darconeous/events{/privacy}","received_events_url":"https://api.github.com/users/darconeous/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":177,"state":"open","created_at":"2016-05-18T22:19:18Z","updated_at":"2016-07-19T03:07:24Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-07-19T01:55:41Z","updated_at":"2016-07-19T03:08:18Z","closed_at":null,"body":"Tested on Linux with simulator.  The OpenThread Cert tests failed with timeout when nodes add WhiteList.   Python version 3.2.2.\r\n\r\n====================================================\r\nbash-4.2$ python Cert_5_1_02_ChildAddressTimeout.py\r\n./ot-cli 1\r\n1 : whitelist clear\r\n1 : whitelist disable\r\n1 : childtimeout 100\r\n./ot-cli 2\r\n2 : whitelist clear\r\n2 : whitelist disable\r\n2 : childtimeout 100\r\n./ot-cli 3\r\n3 : whitelist clear\r\n3 : whitelist disable\r\n3 : childtimeout 100\r\n./ot-cli 4\r\n4 : whitelist clear\r\n4 : whitelist disable\r\n4 : childtimeout 100\r\n1 : panid 64206\r\n1 : mode rsdn\r\n2 : extaddr\r\n1 : whitelist add b'e2b3540590b0fd87'\r\nE\r\n======================================================================\r\nERROR: test (__main__.Cert_5_1_02_ChildAddressTimeout)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/zigbee_lab/tools/python/lib/python3.3/site-packages/pexpect/__init__.py\", line 1535, in expect_loop\r\n    c = self.read_nonblocking(self.maxread, timeout)\r\n  File \"/zigbee_lab/tools/python/lib/python3.3/site-packages/pexpect/__init__.py\", line 968, in read_nonblocking\r\n    raise TIMEOUT('Timeout exceeded.')\r\npexpect.TIMEOUT: Timeout exceeded.\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"Cert_5_1_02_ChildAddressTimeout.py\", line 49, in setUp\r\n    self.nodes[LEADER].add_whitelist(self.nodes[ROUTER].get_addr64())\r\n  File \"/home/zjlu/work/openthread/tests/scripts/thread-cert/node.py\", line 121, in add_whitelist\r\n    self.pexpect.expect('Done')\r\n  File \"/zigbee_lab/tools/python/lib/python3.3/site-packages/pexpect/__init__.py\", line 1451, in expect\r\n    timeout, searchwindowsize)\r\n  File \"/zigbee_lab/tools/python/lib/python3.3/site-packages/pexpect/__init__.py\", line 1466, in expect_list\r\n    timeout, searchwindowsize)\r\n  File \"/zigbee_lab/tools/python/lib/python3.3/site-packages/pexpect/__init__.py\", line 1568, in expect_loop\r\n    raise TIMEOUT(str(err) + '\\n' + str(self))\r\npexpect.TIMEOUT: Timeout exceeded.\r\n<pexpect.spawn object at 0x2b3ed099bd10>\r\nversion: 3.3\r\ncommand: ./ot-cli\r\nargs: ['./ot-cli', '1']\r\nsearcher: <pexpect.searcher_re object at 0x2b3ed099be50>\r\nbuffer (last 100 chars): b\"\\r\\n> whitelist add b'e2b3540590b0fd87'\\r\\nError 6\\r\\n> \"\r\nbefore (last 100 chars): b\"\\r\\n> whitelist add b'e2b3540590b0fd87'\\r\\nError 6\\r\\n> \"\r\nafter: <class 'pexpect.TIMEOUT'>\r\n====================================================="},"comment":{"url":"https://api.github.com/repos/openthread/openthread/issues/comments/233518527","html_url":"https://github.com/openthread/openthread/issues/269#issuecomment-233518527","issue_url":"https://api.github.com/repos/openthread/openthread/issues/269","id":233518527,"user":{"login":"jwhui","id":16142208,"avatar_url":"https://avatars.githubusercontent.com/u/16142208?v=3","gravatar_id":"","url":"https://api.github.com/users/jwhui","html_url":"https://github.com/jwhui","followers_url":"https://api.github.com/users/jwhui/followers","following_url":"https://api.github.com/users/jwhui/following{/other_user}","gists_url":"https://api.github.com/users/jwhui/gists{/gist_id}","starred_url":"https://api.github.com/users/jwhui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwhui/subscriptions","organizations_url":"https://api.github.com/users/jwhui/orgs","repos_url":"https://api.github.com/users/jwhui/repos","events_url":"https://api.github.com/users/jwhui/events{/privacy}","received_events_url":"https://api.github.com/users/jwhui/received_events","type":"User","site_admin":false},"created_at":"2016-07-19T03:08:18Z","updated_at":"2016-07-19T03:08:18Z","body":"Turns out only minimal changes are needed to support both python2 and python3.  I just submitted #270.  Let me know if this fixes your issue."}}
{"actor":{"display_login":"jwhui"}}