BlockingIOError: [Errno 11] write could not complete without blocking

Bug #1401886 reported by Zygmunt Krynicki
6
This bug affects 1 person
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.canonical.certification::udev_attachment, <stderr:00001>) Traceback (most recent call last):
  File "/tmp/nest-mz3t_nki.c18db61924f60c5a4f09dc8cd722329143c99a7f9a6cff4c3f6f90fc685b0df2/xml_sanitize", line 46, in <module>
    raise(err)
  File "/tmp/nest-mz3t_nki.c18db61924f60c5a4f09dc8cd722329143c99a7f9a6cff4c3f6f90fc685b0df2/xml_sanitize", line 43, in <module>
    sys.exit(main())
  File "/tmp/nest-mz3t_nki.c18db61924f60c5a4f09dc8cd722329143c99a7f9a6cff4c3f6f90fc685b0df2/xml_sanitize", line 39, in main
    print(text)
BlockingIOError: [Errno 11] write could not complete without blocking

This bug can be reproduced with: plainbox dev script 2013.com.canonical.certification::udev_attachment

Related branches

Zygmunt Krynicki (zyga)
description: updated
Zygmunt Krynicki (zyga)
Changed in plainbox:
status: In Progress → Fix Committed
Changed in plainbox:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.