generic-poky/bitbake/lib/bb
Richard Purdie dee77eca39 bitbake: server/process.py: Change timeout error handling
In normal usage, we never hit the timeout issue. If we do, it becomes obvious
that the current error handling is not good enough. The request may have made it
to the server and the answer will get queued. This means the next command may get
the return value from the previous command with suitably puzzling results.

Without rewriting large sections of code, its not possible to avoid this problem.
It is better to increase the timeout to several seconds giving the server a chance
to respond and if it does timeout, hard exit since recovery is not possible with the
code base today.

I'd be happy to see the structure of this code improved but this quick fix at least
stops corrupted builds from happening which has to be a good thing.

(Bitbake rev: 410c11dd10736873f2dc587fbe9119c38831e693)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-11-21 09:22:22 +00:00
..
fetch2 bitbake: fetch2: raise an exception if user specifies protocol=git with http:// 2012-10-03 17:30:17 +01:00
parse bitbake: parse/cache/cooker: Preserve order in the file inclusion list 2012-11-20 15:31:56 +00:00
pysh make exception handling syntax consistent 2011-06-15 11:13:13 +01:00
server bitbake: server/process.py: Change timeout error handling 2012-11-21 09:22:22 +00:00
tests bitbake: tests/utils: Add test for explode_dep_versions2 2012-10-02 11:40:54 +01:00
ui bitbake: knotty: Colorize knotty interactive console output 2012-11-20 15:31:57 +00:00
COW.py Apply some 2to3 refactorings 2010-07-02 15:41:37 +01:00
__init__.py bitbake: Update version to 1.16.0 2012-10-02 11:40:56 +01:00
build.py bitbake: build/siggen: Add support for stamp 'clean' masks 2012-09-20 11:48:38 +01:00
cache.py bitbake: parse/cache/cooker: Preserve order in the file inclusion list 2012-11-20 15:31:56 +00:00
cache_extra.py bitbake: Add description into the cache and clean up cache duplication 2012-02-02 16:55:28 +00:00
checksum.py bitbake: implement checksums for local files in SRC_URI 2012-05-23 11:35:04 +01:00
codeparser.py bitbake: refactor out codeparser cache into a separate class 2012-05-23 11:33:18 +01:00
command.py bitbake: command: add error to return of runCommand 2012-11-01 11:46:22 +00:00
compat.py bitbake: compat, event: use OrderedDict from py2.7 for the event handlers 2012-09-20 10:29:33 +01:00
cooker.py bitbake: parse/cache/cooker: Preserve order in the file inclusion list 2012-11-20 15:31:56 +00:00
daemonize.py Apply some 2to3 transforms that don't cause issues in 2.6 2010-07-02 15:41:33 +01:00
data.py bitbake: lib/bb/data.py: improve output for expansion errors 2012-09-27 16:45:28 +01:00
data_smart.py bitbake: lib/bb/data.py: improve output for expansion errors 2012-09-27 16:45:28 +01:00
event.py bitbake: event/hob: Add a button for network tests in the proxy settings 2012-10-24 21:13:06 +01:00
exceptions.py bitbake/exceptions: Handle reports from the field of exception code failures 2012-05-25 11:15:12 +01:00
methodpool.py bitbake: methodpool: Clean up the parsed module list handling to be slightly less insane 2012-08-23 09:22:44 +01:00
monitordisk.py bitbake: monitordisk: fire event DISKFULL when terminate build 2012-08-02 15:28:39 +01:00
msg.py bitbake: knotty: Colorize knotty interactive console output 2012-11-20 15:31:57 +00:00
namedtuple_with_abc.py bb.namedtuple_with_abc: add useful util from activestate 2011-06-08 20:38:23 +01:00
persist_data.py persist_data: survive if sqlite3 couldn't enable the shared cache 2012-02-22 20:25:29 +00:00
process.py bitbake: process: Improve _logged_communicate buffering 2012-06-25 14:57:16 +01:00
providers.py bitbake: providers.py: Fix PREFERRED_VERSION containing epochs 2012-10-03 13:33:26 +01:00
runqueue.py bitbake: runqueue: Allow partial setscene task coverage 2012-11-20 15:31:56 +00:00
shell.py Introduce new param caches_array into Cache impl. 2011-06-07 22:39:52 +01:00
siggen.py bitbake: build/siggen: Add support for stamp 'clean' masks 2012-09-20 11:48:38 +01:00
taskdata.py bitbake: taskdata: Don't add dependencies on tasks that don't exist 2012-08-30 17:44:07 -07:00
tinfoil.py bitbake: tinfoil: Add file inadvertently not committed 2012-09-10 21:50:41 +01:00
utils.py bitbake: utils: Add explode_dep_versions2 to replace explode_dep_versions 2012-10-02 11:40:54 +01:00