{"action":"created","issue":{"url":"https://api.github.com/repos/travis-ci/travis-ci/issues/5555","labels_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/5555/labels{/name}","comments_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/5555/comments","events_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/5555/events","html_url":"https://github.com/travis-ci/travis-ci/issues/5555","id":130564142,"number":5555,"title":"python unittest / nosetests stalls after tests succeed","user":{"login":"parente","id":153745,"avatar_url":"https://avatars.githubusercontent.com/u/153745?v=3","gravatar_id":"","url":"https://api.github.com/users/parente","html_url":"https://github.com/parente","followers_url":"https://api.github.com/users/parente/followers","following_url":"https://api.github.com/users/parente/following{/other_user}","gists_url":"https://api.github.com/users/parente/gists{/gist_id}","starred_url":"https://api.github.com/users/parente/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parente/subscriptions","organizations_url":"https://api.github.com/users/parente/orgs","repos_url":"https://api.github.com/users/parente/repos","events_url":"https://api.github.com/users/parente/events{/privacy}","received_events_url":"https://api.github.com/users/parente/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-02T03:45:51Z","updated_at":"2016-02-02T04:29:20Z","closed_at":null,"body":"I (and some others) are having a problem running the stock python unittest module (or nosetests) in Python 3.4 and 3.5. After the test runner prints that all tests have passed, the build stalls. I've confirmed that the script does not move onto the next step or even continue with another command on the same step (e.g., `python -m unittest discover && echo 'DONE'`). \r\n\r\nHere's a few logs of the problem from jupyter-incubator/kernel_gateway and jupyter/notebook.\r\n\r\n* https://api.travis-ci.org/jobs/106384918/log.txt?deansi=true\r\n* https://s3.amazonaws.com/archive.travis-ci.org/jobs/105621460/log.txt\r\n* https://s3.amazonaws.com/archive.travis-ci.org/jobs/106174482/log.txt\r\n\r\nThe problem never appears to happen against Python 2.7 or 3.3, only against 3.4 and 3.5. And I'm never able to reproduce the problem locally.\r\n\r\nThe symptoms look a lot like those from #3336, but there's no HTTPPretty in any of the failure cases that I've seen."},"comment":{"url":"https://api.github.com/repos/travis-ci/travis-ci/issues/comments/178367152","html_url":"https://github.com/travis-ci/travis-ci/issues/5555#issuecomment-178367152","issue_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/5555","id":178367152,"user":{"login":"parente","id":153745,"avatar_url":"https://avatars.githubusercontent.com/u/153745?v=3","gravatar_id":"","url":"https://api.github.com/users/parente","html_url":"https://github.com/parente","followers_url":"https://api.github.com/users/parente/followers","following_url":"https://api.github.com/users/parente/following{/other_user}","gists_url":"https://api.github.com/users/parente/gists{/gist_id}","starred_url":"https://api.github.com/users/parente/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parente/subscriptions","organizations_url":"https://api.github.com/users/parente/orgs","repos_url":"https://api.github.com/users/parente/repos","events_url":"https://api.github.com/users/parente/events{/privacy}","received_events_url":"https://api.github.com/users/parente/received_events","type":"User","site_admin":false},"created_at":"2016-02-02T04:29:20Z","updated_at":"2016-02-02T04:29:20Z","body":"And for what it's worth, I cannot reproduce the problem in a local `quay.io/travisci/travis-python` container in which I run bash followed by all the commands from https://github.com/jupyter-incubator/kernel_gateway/blob/master/.travis.yml"}}