{"action":"created","issue":{"url":"https://api.github.com/repos/bccp/nbodykit/issues/189","repository_url":"https://api.github.com/repos/bccp/nbodykit","labels_url":"https://api.github.com/repos/bccp/nbodykit/issues/189/labels{/name}","comments_url":"https://api.github.com/repos/bccp/nbodykit/issues/189/comments","events_url":"https://api.github.com/repos/bccp/nbodykit/issues/189/events","html_url":"https://github.com/bccp/nbodykit/issues/189","id":159511650,"number":189,"title":"Error message of failed tests are hard to parse.","user":{"login":"rainwoodman","id":138060,"avatar_url":"https://avatars.githubusercontent.com/u/138060?v=3","gravatar_id":"","url":"https://api.github.com/users/rainwoodman","html_url":"https://github.com/rainwoodman","followers_url":"https://api.github.com/users/rainwoodman/followers","following_url":"https://api.github.com/users/rainwoodman/following{/other_user}","gists_url":"https://api.github.com/users/rainwoodman/gists{/gist_id}","starred_url":"https://api.github.com/users/rainwoodman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rainwoodman/subscriptions","organizations_url":"https://api.github.com/users/rainwoodman/orgs","repos_url":"https://api.github.com/users/rainwoodman/repos","events_url":"https://api.github.com/users/rainwoodman/events{/privacy}","received_events_url":"https://api.github.com/users/rainwoodman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"nickhand","id":2262496,"avatar_url":"https://avatars.githubusercontent.com/u/2262496?v=3","gravatar_id":"","url":"https://api.github.com/users/nickhand","html_url":"https://github.com/nickhand","followers_url":"https://api.github.com/users/nickhand/followers","following_url":"https://api.github.com/users/nickhand/following{/other_user}","gists_url":"https://api.github.com/users/nickhand/gists{/gist_id}","starred_url":"https://api.github.com/users/nickhand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickhand/subscriptions","organizations_url":"https://api.github.com/users/nickhand/orgs","repos_url":"https://api.github.com/users/nickhand/repos","events_url":"https://api.github.com/users/nickhand/events{/privacy}","received_events_url":"https://api.github.com/users/nickhand/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2016-06-09T21:23:58Z","updated_at":"2016-06-10T01:39:45Z","closed_at":null,"body":"It is hard to see what command the pipeline has ran, making it hard to reproduce the failed test case or debug.\r\n\r\n```\r\n[yfeng1@waterfall nbodykit]$ py.test -x nbodykit \r\n======================================================================================= test session starts =======================================================================================\r\nplatform linux2 -- Python 2.7.11 -- py-1.4.30 -- pytest-2.7.3\r\nrootdir: /home/yfeng1/source/nbodykit, inifile: setup.cfg\r\nplugins: pipeline, cov\r\ncollected 93 items \r\n\r\nnbodykit/test/test_batch.py .F\r\n\r\n============================================================================================ FAILURES =============================================================================================\r\n____________________________________________________________________________________ TestStdin.test_exit_code _____________________________________________________________________________________\r\n\r\nself = <nbodykit.test.test_batch.TestStdin testMethod=test_exit_code>\r\n\r\n    def test_exit_code(self):\r\n>       asserts.test_exit_code(self)\r\n\r\n/home/yfeng1/source/nbodykit/nbodykit/test/test_batch.py:35: \r\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\r\n\r\nself = <nbodykit.test.test_batch.TestStdin testMethod=test_exit_code>\r\n\r\n    def test_exit_code(self):\r\n        \"\"\"\r\n        Assert that the exit code is equal to 0\r\n        \"\"\"\r\n>       assert self.run_fixture.exit_code == 0\r\nE       AssertionError: assert 127 == 0\r\nE        +  where 127 = RunClass1(run_id=RunClass1_78d72c5f-e0f8-4531-82d9-cb2b99f6b83c, ...).exit_code\r\nE        +    where RunClass1(run_id=RunClass1_78d72c5f-e0f8-4531-82d9-cb2b99f6b83c, ...) = <nbodykit.test.test_batch.TestStdin testMethod=test_exit_code>.run_fixture\r\n\r\n/home/yfeng1/source/nbodykit/nbodykit/test/asserts.py:25: AssertionError\r\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\r\n=============================================================================== 1 failed, 1 passed in 0.91 seconds ================================================================================\r\n```"},"comment":{"url":"https://api.github.com/repos/bccp/nbodykit/issues/comments/225073676","html_url":"https://github.com/bccp/nbodykit/issues/189#issuecomment-225073676","issue_url":"https://api.github.com/repos/bccp/nbodykit/issues/189","id":225073676,"user":{"login":"nickhand","id":2262496,"avatar_url":"https://avatars.githubusercontent.com/u/2262496?v=3","gravatar_id":"","url":"https://api.github.com/users/nickhand","html_url":"https://github.com/nickhand","followers_url":"https://api.github.com/users/nickhand/followers","following_url":"https://api.github.com/users/nickhand/following{/other_user}","gists_url":"https://api.github.com/users/nickhand/gists{/gist_id}","starred_url":"https://api.github.com/users/nickhand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickhand/subscriptions","organizations_url":"https://api.github.com/users/nickhand/orgs","repos_url":"https://api.github.com/users/nickhand/repos","events_url":"https://api.github.com/users/nickhand/events{/privacy}","received_events_url":"https://api.github.com/users/nickhand/received_events","type":"User","site_admin":false},"created_at":"2016-06-10T01:39:45Z","updated_at":"2016-06-10T01:39:45Z","body":"The logging output gets sent to stderr. py.test does have a feature where it captures stdout during the tests  (I'm not sure about stderr) and will automatically output it for failed tests. I think it is controlled by some command line arguments -- I'll see if I can get it to automatically do what we want here\r\n\r\nFeel free to add it to either the master or develop branch -- I would probably say develop but I don't think it really matters. "}}
{"actor":{"display_login":"nickhand"}}