lp:~roadmr/checkbox/588539
- Get this branch:
- bzr branch lp:~roadmr/checkbox/588539
Branch merges
- Marc Tardif (community): Approve
-
Diff: 433 lines (+322/-8)6 files modifiedbackend (+2/-0)
checkbox/lib/enum.py (+72/-0)
checkbox/lib/fifo.py (+29/-4)
checkbox/lib/selector.py (+207/-0)
debian/changelog (+4/-1)
plugins/backend_info.py (+8/-3)
Branch information
Recent revisions
- 920. By Daniel Manrique
-
Fix open/read blocking behavior and backend/frontend communications to
avoid hangs and lingering backends. (LP: #588539) - 919. By Daniel Manrique
-
- Frontend will timeout after a certain time without response from the backend.
Added selector and enum modules, to use Selector on the fifo module,
to implement an optional timeout when accessing FIFOs. - 918. By Daniel Manrique
-
Changed file open mode so that FIFO opening always succeeds.
This is to avoid the situation where the backend fails to start and the
frontend blocks forever trying to open (checkbox.lib.fifo. FifoBase) ,
because opening a FIFO on read-only or write-only mode blocks until there's
something writing or reading on the other end. Setting O_NONBLOCK causes
an open for reading to fail with SIGPIPE. This seems to work as per FIFO(7)
at least on Linux.The problem of what to do if the backend doesn't respond (in which case
the frontend also blocks waiting to read) still remains. - 917. By Jeff Lane
-
Applied Marc Tardifs changes to allow for remote submission (send results from a system other than the system under test)
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:checkbox