Builds fail when many logs stream to stdout at once

Bug #1987112 reported by Dan Ryan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lpci
Triaged
Low
Unassigned

Bug Description

I have recently encountered build failures when building packages using lpcraft which write many logs to stdout during a short time interval which trigger the following error:

error: [Errno 11] write could not complete without blocking
2022-08-19 14:07:24.335 :: Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>
2022-08-19 14:07:24.335 :: BlockingIOError: [Errno 11] write could not complete without blocking
2022-08-19 14:07:24.335 :: ldItalic

Log is here:

https://i619063024.restricted.launchpadlibrarian.net/619063024/buildlog_ci_jupyter-notebook_cd65fdd36c4fa1f328abbf32c8934447debbf598_BUILDING.txt.gz

Note that this build succeeds if I pipe stdout to devnull

A relevant detail may be that this build invokes npm to build documentation which logs quite heavily to stdout.

Dan Ryan (techalchemy)
description: updated
Guruprasad (lgp171188)
affects: launchpad → lpcraft
Changed in lpcraft:
importance: Undecided → Low
status: New → Triaged
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.