Skip to content

Image builds fail on transient HTTP errors between image builder client and Server #498

@eabatalov

Description

@eabatalov

Example log snippet:

Unpacking libxcb-xfixes0:amd64 (1.15-1ubuntu2) ...
Selecting previously unselected package libxshmfence1:amd64.
Preparing to unpack .../24-libxshmfence1_1.3-1build5_amd64.deb ...
Unpacking libxshmfence1:amd64 (1.3-1build5) ...
Selecting previously unselected package mesa-libgallium:amd64.
Preparing to unpack .../25-mesa-libgallium_25.0.7-0ubuntu0.24.04.2_amd64.deb ...
Unpacking mesa-libgallium:amd64 (25.0.7-0ubuntu0.24.04.2) ...
peer closed connection without sending complete message body (incomplete chunked read)
Aborted!

"Aborted!" line from GH action log is printed by click.Abort raised here:
https://github.com/tensorlakeai/tensorlake/blob/12bab377bccd9c01205ab66ac8c699678d71434e/src/tensorlake/builder/client_v2.py#L236C60-L236C71
See https://click.palletsprojects.com/en/stable/exceptions/#id1
"peer closed connection without sending complete message body (incomplete chunked read)"
is Python httpx Exception, see example here: https://github.com/tensorlakeai/indexify/issues/1043
So it's clear that this error is coming from SDK image builder client.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions