{"action":"created","issue":{"url":"https://api.github.com/repos/genome/ptero-workflow/issues/94","labels_url":"https://api.github.com/repos/genome/ptero-workflow/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/genome/ptero-workflow/issues/94/comments","events_url":"https://api.github.com/repos/genome/ptero-workflow/issues/94/events","html_url":"https://github.com/genome/ptero-workflow/pull/94","id":56298179,"number":94,"title":"Devserver","user":{"login":"mkiwala","id":108881,"avatar_url":"https://avatars.githubusercontent.com/u/108881?v=3","gravatar_id":"","url":"https://api.github.com/users/mkiwala","html_url":"https://github.com/mkiwala","followers_url":"https://api.github.com/users/mkiwala/followers","following_url":"https://api.github.com/users/mkiwala/following{/other_user}","gists_url":"https://api.github.com/users/mkiwala/gists{/gist_id}","starred_url":"https://api.github.com/users/mkiwala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkiwala/subscriptions","organizations_url":"https://api.github.com/users/mkiwala/orgs","repos_url":"https://api.github.com/users/mkiwala/repos","events_url":"https://api.github.com/users/mkiwala/events{/privacy}","received_events_url":"https://api.github.com/users/mkiwala/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/genome/ptero-workflow/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-02T21:48:07Z","updated_at":"2015-02-07T20:30:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/genome/ptero-workflow/pulls/94","html_url":"https://github.com/genome/ptero-workflow/pull/94","diff_url":"https://github.com/genome/ptero-workflow/pull/94.diff","patch_url":"https://github.com/genome/ptero-workflow/pull/94.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/genome/ptero-workflow/issues/comments/73381576","html_url":"https://github.com/genome/ptero-workflow/pull/94#issuecomment-73381576","issue_url":"https://api.github.com/repos/genome/ptero-workflow/issues/94","id":73381576,"user":{"login":"davidlmorton","id":650482,"avatar_url":"https://avatars.githubusercontent.com/u/650482?v=3","gravatar_id":"","url":"https://api.github.com/users/davidlmorton","html_url":"https://github.com/davidlmorton","followers_url":"https://api.github.com/users/davidlmorton/followers","following_url":"https://api.github.com/users/davidlmorton/following{/other_user}","gists_url":"https://api.github.com/users/davidlmorton/gists{/gist_id}","starred_url":"https://api.github.com/users/davidlmorton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidlmorton/subscriptions","organizations_url":"https://api.github.com/users/davidlmorton/orgs","repos_url":"https://api.github.com/users/davidlmorton/repos","events_url":"https://api.github.com/users/davidlmorton/events{/privacy}","received_events_url":"https://api.github.com/users/davidlmorton/received_events","type":"User","site_admin":false},"created_at":"2015-02-07T20:30:20Z","updated_at":"2015-02-07T20:30:20Z","body":"So we have two problems:\r\n1) run_tests isn't exiting non-zero when a test fails.\r\n2) It takes a long time now to spin up a devserver for the first time, and we don't wait long enough:\r\n\r\n22:38:58 petri.1        | dev-noenv installdeps: -r/home/vagrant/ptero/services/petri/requirements.txt, -r/home/vagrant/ptero/services/petri/test-requiremen\r\nts.txt\r\n22:39:45 petri.1        | dev-noenv develop-inst: /home/vagrant/ptero/services/petri\r\n\r\nThat's nearly a minute.  The time is a lot longer than it used to be because it has to create a new virtualenv from scratch, and it didn't used to.  I see at least two options...\r\n\r\na) we invent some way of knowing that the services are all up before we start.\r\nb) we implement retrying of failed connections (we've talked about it but apparently we haven't done it.)\r\n\r\nI think that (b) is better suited for the real-world so we should probably do that."}}