BlockingIOError: [Errno 11] write could not complete without blocking
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PlainBox (Toolkit) |
Fix Released
|
Critical
|
Zygmunt Krynicki |
Bug Description
It seems that the new glibc-based runner is setting the remote-side of the communication pipes as non-blocking, which can lead to the following exception when plainbox cannot keep up with reading and parsing:
(job 2013.com.
File "/tmp/nest-
raise(err)
File "/tmp/nest-
sys.
File "/tmp/nest-
print(text)
BlockingIOError: [Errno 11] write could not complete without blocking
This bug can be reproduced with: plainbox dev script 2013.com.
Related branches
- Daniel Manrique (community): Needs Information
- Sylvain Pineau (community): Approve
-
Diff: 121 lines (+73/-3)3 files modifiedplainbox/plainbox/impl/providers/stubbox/manage.py (+2/-1)
plainbox/plainbox/impl/providers/stubbox/units/jobs/stub.pxu (+59/-0)
plainbox/plainbox/vendor/extcmd/glibc.py (+12/-2)
description: | updated |
Changed in plainbox: | |
status: | In Progress → Fix Committed |
Changed in plainbox: | |
status: | Fix Committed → Fix Released |