Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

tar: Hold open input stream as long as possible #527

Merged
merged 2 commits into from
Aug 31, 2023

Conversation

cgwalters
Copy link
Member

container: Add a trace log for when we discard "broken pipe" error

I don't think we're hitting this in coreos/rpm-ostree#4567
but it'd be useful to have a trace message in case.


tar: Hold open input stream as long as possible

I'm hoping this will help us debug coreos/rpm-ostree#4567

[2023-08-30T15:00:16.554Z] Aug 30 15:00:15 qemu0 kola-runext-container-image[1957]: error: Importing: Parsing layer blob sha256:00623c39da63781bdd3fb00fedb36f8b9ec95e42cdb4d389f692457f24c67144: Failed to invoke skopeo proxy method FinishPipe: remote error: write |1: broken pipe

I haven't been able to reproduce it outside of CI yet, but we had
a prior ugly hack for this in
a27dac8

As the comments say - the goal is to hold open the input stream
as long as feasibly possible.


I don't think we're hitting this in coreos/rpm-ostree#4567
but it'd be useful to have a trace message in case.
I'm hoping this will help us debug coreos/rpm-ostree#4567
```
[2023-08-30T15:00:16.554Z] Aug 30 15:00:15 qemu0 kola-runext-container-image[1957]: error: Importing: Parsing layer blob sha256:00623c39da63781bdd3fb00fedb36f8b9ec95e42cdb4d389f692457f24c67144: Failed to invoke skopeo proxy method FinishPipe: remote error: write |1: broken pipe
```

I haven't been able to reproduce it outside of CI yet, but we had
a prior ugly hack for this in
ostreedev@a27dac8

As the comments say - the goal is to hold open the input stream
as long as feasibly possible.
Copy link
Member

@jmarrero jmarrero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants