{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/ptvsd/issues/614","repository_url":"https://api.github.com/repos/Microsoft/ptvsd","labels_url":"https://api.github.com/repos/Microsoft/ptvsd/issues/614/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/ptvsd/issues/614/comments","events_url":"https://api.github.com/repos/Microsoft/ptvsd/issues/614/events","html_url":"https://github.com/Microsoft/ptvsd/issues/614","id":339116458,"node_id":"MDU6SXNzdWUzMzkxMTY0NTg=","number":614,"title":"VSTS CI Mac Tests hangs ","user":{"login":"DonJayamanne","id":1948812,"node_id":"MDQ6VXNlcjE5NDg4MTI=","avatar_url":"https://avatars2.githubusercontent.com/u/1948812?v=4","gravatar_id":"","url":"https://api.github.com/users/DonJayamanne","html_url":"https://github.com/DonJayamanne","followers_url":"https://api.github.com/users/DonJayamanne/followers","following_url":"https://api.github.com/users/DonJayamanne/following{/other_user}","gists_url":"https://api.github.com/users/DonJayamanne/gists{/gist_id}","starred_url":"https://api.github.com/users/DonJayamanne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DonJayamanne/subscriptions","organizations_url":"https://api.github.com/users/DonJayamanne/orgs","repos_url":"https://api.github.com/users/DonJayamanne/repos","events_url":"https://api.github.com/users/DonJayamanne/events{/privacy}","received_events_url":"https://api.github.com/users/DonJayamanne/received_events","type":"User","site_admin":false},"labels":[{"id":772812964,"node_id":"MDU6TGFiZWw3NzI4MTI5NjQ=","url":"https://api.github.com/repos/Microsoft/ptvsd/labels/bug","name":"bug","color":"ee0701","default":true},{"id":965143106,"node_id":"MDU6TGFiZWw5NjUxNDMxMDY=","url":"https://api.github.com/repos/Microsoft/ptvsd/labels/platform:%20Mac","name":"platform: Mac","color":"d93f0b","default":false},{"id":839602060,"node_id":"MDU6TGFiZWw4Mzk2MDIwNjA=","url":"https://api.github.com/repos/Microsoft/ptvsd/labels/priority:P2","name":"priority:P2","color":"006b75","default":false},{"id":875267406,"node_id":"MDU6TGFiZWw4NzUyNjc0MDY=","url":"https://api.github.com/repos/Microsoft/ptvsd/labels/test%20issue","name":"test issue","color":"d6ac15","default":false}],"state":"open","locked":false,"assignee":{"login":"DonJayamanne","id":1948812,"node_id":"MDQ6VXNlcjE5NDg4MTI=","avatar_url":"https://avatars2.githubusercontent.com/u/1948812?v=4","gravatar_id":"","url":"https://api.github.com/users/DonJayamanne","html_url":"https://github.com/DonJayamanne","followers_url":"https://api.github.com/users/DonJayamanne/followers","following_url":"https://api.github.com/users/DonJayamanne/following{/other_user}","gists_url":"https://api.github.com/users/DonJayamanne/gists{/gist_id}","starred_url":"https://api.github.com/users/DonJayamanne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DonJayamanne/subscriptions","organizations_url":"https://api.github.com/users/DonJayamanne/orgs","repos_url":"https://api.github.com/users/DonJayamanne/repos","events_url":"https://api.github.com/users/DonJayamanne/events{/privacy}","received_events_url":"https://api.github.com/users/DonJayamanne/received_events","type":"User","site_admin":false},"assignees":[{"login":"DonJayamanne","id":1948812,"node_id":"MDQ6VXNlcjE5NDg4MTI=","avatar_url":"https://avatars2.githubusercontent.com/u/1948812?v=4","gravatar_id":"","url":"https://api.github.com/users/DonJayamanne","html_url":"https://github.com/DonJayamanne","followers_url":"https://api.github.com/users/DonJayamanne/followers","following_url":"https://api.github.com/users/DonJayamanne/following{/other_user}","gists_url":"https://api.github.com/users/DonJayamanne/gists{/gist_id}","starred_url":"https://api.github.com/users/DonJayamanne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DonJayamanne/subscriptions","organizations_url":"https://api.github.com/users/DonJayamanne/orgs","repos_url":"https://api.github.com/users/DonJayamanne/repos","events_url":"https://api.github.com/users/DonJayamanne/events{/privacy}","received_events_url":"https://api.github.com/users/DonJayamanne/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Microsoft/ptvsd/milestones/12","html_url":"https://github.com/Microsoft/ptvsd/milestone/12","labels_url":"https://api.github.com/repos/Microsoft/ptvsd/milestones/12/labels","id":3460504,"node_id":"MDk6TWlsZXN0b25lMzQ2MDUwNA==","number":12,"title":"July 2018.2","description":"","creator":{"login":"karthiknadig","id":3840081,"node_id":"MDQ6VXNlcjM4NDAwODE=","avatar_url":"https://avatars3.githubusercontent.com/u/3840081?v=4","gravatar_id":"","url":"https://api.github.com/users/karthiknadig","html_url":"https://github.com/karthiknadig","followers_url":"https://api.github.com/users/karthiknadig/followers","following_url":"https://api.github.com/users/karthiknadig/following{/other_user}","gists_url":"https://api.github.com/users/karthiknadig/gists{/gist_id}","starred_url":"https://api.github.com/users/karthiknadig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karthiknadig/subscriptions","organizations_url":"https://api.github.com/users/karthiknadig/orgs","repos_url":"https://api.github.com/users/karthiknadig/repos","events_url":"https://api.github.com/users/karthiknadig/events{/privacy}","received_events_url":"https://api.github.com/users/karthiknadig/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":4,"state":"open","created_at":"2018-06-28T18:10:34Z","updated_at":"2018-07-11T21:35:55Z","due_on":"2018-07-27T07:00:00Z","closed_at":null},"comments":1,"created_at":"2018-07-07T04:35:17Z","updated_at":"2018-07-12T16:40:59Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"The following test hangs:\r\ntest_exception_breakpoints (tests.highlevel.test_live_pydevd.BreakpointTests) ...\r\n\r\nFor some reason the tests running on Mac hang (randomly) at the same place, even though the test is disabled:\r\n\r\n```\r\n2018-07-09T17:07:01.9310680Z   test_attach_exit_during_session (tests.highlevel.test_lifecycle.LifecycleTests) ... SKIP (0.000s)\r\n2018-07-09T17:07:04.0875620Z   test_attach_from_unix_os (tests.highlevel.test_lifecycle.LifecycleTests) ... OK (2.160s)\r\n2018-07-09T17:07:05.9403340Z   test_attach_from_windows_os (tests.highlevel.test_lifecycle.LifecycleTests) ... OK (2.172s)\r\n2018-07-09T17:07:05.9418780Z   test_launch (tests.highlevel.test_lifecycle.LifecycleTests) ... OK (0.024s)\r\n2018-07-09T17:07:06.2616890Z   test_breakpoints_single_file (tests.highlevel.test_live_pydevd.BreakpointTests) ... OK (0.321s)\r\n2018-07-09T17:36:51.8228630Z ##[debug]Re-evaluate condition on job cancellation for step: 'Run Tests'.\r\n2018-07-09T17:36:51.8246340Z ##[debug]Skip Re-evaluate condition on agent shutdown.\r\n2018-07-09T17:36:51.8438370Z   test_exception_breakpoints (tests.highlevel.test_live_pydevd.BreakpointTests) ... \r\n2018-07-09T17:36:52.0201090Z ##[error]The operation was canceled.\r\n2018-07-09T17:36:52.0271590Z ##[debug]System.OperationCanceledException: The operation was canceled.\r\n   at System.Threading.CancellationToken.ThrowOperationCanceledException()\r\n```\r\n\r\nhttps://ptvsd.visualstudio.com/ptvsd/ptvsd%20Team/_build/results?buildId=337&view=logs\r\n\r\n## Notes:\r\n* The test has been disabled, yet it hangs just when attempting to run that test.\r\n* We must add timeouts for these tests, as done in the system tests.\r\n\r\n/cc @ericsnowcurrently @karthiknadig @d3r3kk \r\nThoughts?"},"comment":{"url":"https://api.github.com/repos/Microsoft/ptvsd/issues/comments/404574903","html_url":"https://github.com/Microsoft/ptvsd/issues/614#issuecomment-404574903","issue_url":"https://api.github.com/repos/Microsoft/ptvsd/issues/614","id":404574903,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDU3NDkwMw==","user":{"login":"DonJayamanne","id":1948812,"node_id":"MDQ6VXNlcjE5NDg4MTI=","avatar_url":"https://avatars2.githubusercontent.com/u/1948812?v=4","gravatar_id":"","url":"https://api.github.com/users/DonJayamanne","html_url":"https://github.com/DonJayamanne","followers_url":"https://api.github.com/users/DonJayamanne/followers","following_url":"https://api.github.com/users/DonJayamanne/following{/other_user}","gists_url":"https://api.github.com/users/DonJayamanne/gists{/gist_id}","starred_url":"https://api.github.com/users/DonJayamanne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DonJayamanne/subscriptions","organizations_url":"https://api.github.com/users/DonJayamanne/orgs","repos_url":"https://api.github.com/users/DonJayamanne/repos","events_url":"https://api.github.com/users/DonJayamanne/events{/privacy}","received_events_url":"https://api.github.com/users/DonJayamanne/received_events","type":"User","site_admin":false},"created_at":"2018-07-12T16:40:59Z","updated_at":"2018-07-12T16:40:59Z","author_association":"CONTRIBUTOR","body":"**Here's the stack trace**\r\n* I've modified tests to capture exceptions and print stack trace:\r\n\r\n```\r\n2018-07-12T16:39:44.0527140Z ERROR [10.178s]: test_no_breakpoints (tests.highlevel.test_live_pydevd.BreakpointTests)\r\n2018-07-12T16:39:44.0543980Z ----------------------------------------------------------------------\r\n2018-07-12T16:39:44.0560370Z Traceback (most recent call last):\r\n2018-07-12T16:39:44.0575590Z   File \"/Users/vsts/agent/2.136.1/work/1/s/tests/highlevel/test_live_pydevd.py\", line 187, in launched\r\n2018-07-12T16:39:44.0590620Z     self.fix.binder.wait_until_done()\r\n2018-07-12T16:39:44.0606520Z   File \"/Users/vsts/agent/2.136.1/work/1/s/tests/helpers/pydevd/_binder.py\", line 145, in wait_until_done\r\n2018-07-12T16:39:44.0624230Z     'wait_until_done timed out after {} secs'.format(timeout))\r\n2018-07-12T16:39:44.0640690Z Exception: wait_until_done timed out after 10.0 secs\r\n2018-07-12T16:39:44.0648360Z \r\n2018-07-12T16:39:44.0663260Z During handling of the above exception, another exception occurred:\r\n2018-07-12T16:39:44.0670990Z \r\n2018-07-12T16:39:44.0685710Z Traceback (most recent call last):\r\n2018-07-12T16:39:44.0700640Z   File \"/Users/vsts/agent/2.136.1/work/1/s/tests/highlevel/test_live_pydevd.py\", line 307, in test_no_breakpoints\r\n2018-07-12T16:39:44.0715730Z     received = self.vsc.received\r\n2018-07-12T16:39:44.0731040Z   File \"/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/contextlib.py\", line 88, in __exit__\r\n2018-07-12T16:39:44.0745870Z     next(self.gen)\r\n2018-07-12T16:39:44.0760730Z   File \"/Users/vsts/agent/2.136.1/work/1/s/tests/highlevel/test_live_pydevd.py\", line 199, in launched\r\n2018-07-12T16:39:44.0775760Z     raise Exception(message)\r\n2018-07-12T16:39:44.0790520Z Exception: \r\n2018-07-12T16:39:44.0804940Z     Session Messages:\r\n2018-07-12T16:39:44.0821500Z     -----------------\r\n2018-07-12T16:39:44.0837100Z     \r\n2018-07-12T16:39:44.0844700Z \r\n2018-07-12T16:39:44.0859010Z     Original Error:\r\n2018-07-12T16:39:44.0874890Z     ---------------\r\n2018-07-12T16:39:44.0890600Z     Traceback (most recent call last):\r\n2018-07-12T16:39:44.0906080Z   File \"/Users/vsts/agent/2.136.1/work/1/s/tests/highlevel/test_live_pydevd.py\", line 187, in launched\r\n2018-07-12T16:39:44.0921220Z     self.fix.binder.wait_until_done()\r\n2018-07-12T16:39:44.0936080Z   File \"/Users/vsts/agent/2.136.1/work/1/s/tests/helpers/pydevd/_binder.py\", line 145, in wait_until_done\r\n2018-07-12T16:39:44.0952930Z     'wait_until_done timed out after {} secs'.format(timeout))\r\n2018-07-12T16:39:44.0968980Z Exception: wait_until_done timed out after 10.0 secs\r\n```"}}
{"actor":{"display_login":"DonJayamanne"}}