{"action":"created","issue":{"url":"https://api.github.com/repos/bitcoin/bitcoin/issues/8047","repository_url":"https://api.github.com/repos/bitcoin/bitcoin","labels_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/8047/labels{/name}","comments_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/8047/comments","events_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/8047/events","html_url":"https://github.com/bitcoin/bitcoin/pull/8047","id":154457595,"number":8047,"title":"[qa] test_framework: Set wait-timeout for bitcoind procs","user":{"login":"MarcoFalke","id":6399679,"avatar_url":"https://avatars.githubusercontent.com/u/6399679?v=3","gravatar_id":"","url":"https://api.github.com/users/MarcoFalke","html_url":"https://github.com/MarcoFalke","followers_url":"https://api.github.com/users/MarcoFalke/followers","following_url":"https://api.github.com/users/MarcoFalke/following{/other_user}","gists_url":"https://api.github.com/users/MarcoFalke/gists{/gist_id}","starred_url":"https://api.github.com/users/MarcoFalke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarcoFalke/subscriptions","organizations_url":"https://api.github.com/users/MarcoFalke/orgs","repos_url":"https://api.github.com/users/MarcoFalke/repos","events_url":"https://api.github.com/users/MarcoFalke/events{/privacy}","received_events_url":"https://api.github.com/users/MarcoFalke/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bitcoin/bitcoin/labels/Tests","name":"Tests","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-12T11:14:11Z","updated_at":"2016-05-12T12:11:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bitcoin/bitcoin/pulls/8047","html_url":"https://github.com/bitcoin/bitcoin/pull/8047","diff_url":"https://github.com/bitcoin/bitcoin/pull/8047.diff","patch_url":"https://github.com/bitcoin/bitcoin/pull/8047.patch"},"body":"Since we switched to python3, it is now possible to set a timeout for `Popen.wait()`. 60 seconds should be enough to cleanly exit?"},"comment":{"url":"https://api.github.com/repos/bitcoin/bitcoin/issues/comments/218738709","html_url":"https://github.com/bitcoin/bitcoin/pull/8047#issuecomment-218738709","issue_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/8047","id":218738709,"user":{"login":"MarcoFalke","id":6399679,"avatar_url":"https://avatars.githubusercontent.com/u/6399679?v=3","gravatar_id":"","url":"https://api.github.com/users/MarcoFalke","html_url":"https://github.com/MarcoFalke","followers_url":"https://api.github.com/users/MarcoFalke/followers","following_url":"https://api.github.com/users/MarcoFalke/following{/other_user}","gists_url":"https://api.github.com/users/MarcoFalke/gists{/gist_id}","starred_url":"https://api.github.com/users/MarcoFalke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarcoFalke/subscriptions","organizations_url":"https://api.github.com/users/MarcoFalke/orgs","repos_url":"https://api.github.com/users/MarcoFalke/repos","events_url":"https://api.github.com/users/MarcoFalke/events{/privacy}","received_events_url":"https://api.github.com/users/MarcoFalke/received_events","type":"User","site_admin":false},"created_at":"2016-05-12T12:11:56Z","updated_at":"2016-05-12T12:11:56Z","body":"Depends on how you run the tests:\r\n\r\n* Running them directly will give you:\r\n\r\n```\r\nsubprocess.TimeoutExpired: Command '['bitcoind', '-datadir=/tmp/testh6waqi5c/node0', '-server']' timed out after 60 seconds\r\n$ echo $?\r\n1\r\n```\r\n\r\n* Running them through the wrapper gives:\r\n\r\n```\r\nsubprocess.TimeoutExpired: Command '['/home/marco/workspace/bitcoin/qa/rpc-tests/walletbackup.py', '--srcdir=/home/marco/workspace/bitcoin/src', '--portseed=0']' timed out after 3 seconds\r\n$ echo $?\r\n1\r\n```\r\n\r\n"}}