-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[intermittent]: podman run -a stdin&stderr: read unixpacket: connection reset by peer #3302
Comments
Must be a race condition. |
Still present in podman-1.4.2-1.fc29 and fc30. There's another failure which I think must be related. Instead of
At this point it hangs - AFAICT forever.
"container not running" even though a few seconds ago
This one happens less frequently -- one in ten times, maybe -- but is still worth someone looking at, pretty please? |
The exec thing will hopefully not be a problem after the wide-reaching refactor by @haircommander lands. Which will be by end of week. We're going to force it in if we need to. For the rest... I'm going to bet it has something to do with the lack of a terminal. Terminal-less attach is poorly tested and rarely used. |
Excellent - thank you. |
Well the refactor has happened thanks @haircommander , @edsantiago could you confirm it works so we can close this issue. |
I still see it - albeit only after tens of iterations - with podman 1.4.4-4.fc30 (rpm) and master @ b5618d9 (hand-built). Do I need a new conmon? |
@haircommander Could answer @edsantiago question? |
the first issue as posted is not helped with a new conmon, and I also have observed a failure with:
I did not observe a hang like you did, however |
Issue still present in podman-1.5.0-2.fc30.x86_64 with, presumably, new conmon and everything. |
I get the same error consistently when running
And while it is open
It works fine when you run a command without pipe. Is this the same issue? Can somebody reproduce this? I was wondering if something is wrong on my end (Fedora 30 with podman both from master or official, rootless) EDIT: This seems to be a regression. On another machine it worked fine with f29 and podman 1.1.2, but as soon as I dnf update to podman 1.5.1 the error appears. |
But I get the same error
|
@mheon @haircommander PTAL |
I don't know if its addressable (might even be desired) because sometimes the command inside the container is actually succeeding, just with nothing on stdin. But thought I might mention that when this happens, the exit code is 0. Was very confusing to track down in an automated workflow. |
ping, still seeing this in podman-1.6.0-2.fc30 |
This can be worked around by downgrading the package to 1.4.4, it seems:
|
Unlikely: I filed against 1.4.0, and the problem has never been fixed. I suspect if you try enough times, you'll run into it again. After all, it's an intermittent problem. |
I think it was run only prior to 1.5 when it expanded to exec
…On Wed, Sep 25, 2019, 18:39 Ed Santiago ***@***.***> wrote:
This can be worked around by downgrading the package to 1.4.4,
Unlikely: I filed against 1.4.0, and the problem has never been fixed. I
suspect if you try enough times, you'll run into it again. After all, it's
an intermittent problem.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3302>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AB3AOCAXEOZANSEKDJTLJ2TQLPSAJANCNFSM4HXCO4LA>
.
|
Both @haircommander and I are looking at this one. We're pretty sure it has something to do with the attach socket - it seems like it's being closed prematurely, potentially on Conmon's side? |
Debugging further: We're getting an EOF on the container STDERR fd in Conmon, but I'm not sure if it's actually the container - the only things I see being copied there are Conmon debug logs? |
@mheon I think that EOF comes from the piped input. If you do the same command but with no pipe |
@haircommander I think that Conmon might not be handling |
there's an option |
This issue had no activity for 30 days. In the absence of activity or the "do-not-close" label, the issue will be automatically closed within 7 days. |
@haircommander Did your merge fix this issue? |
I'm not sure this issue is fixed yet |
Still present in podman-1.6.2-2.fc30 and in master @ efc7f15 |
Would be nice to get this fixed in the next couple of months, because it prevents affected users from upgrading to fedora 31, as I believe there haven't been any compiled and tested releases of pre-1.5 versions of podman for fedora 31. |
This is a combination that I can find no realistic use for, but even so I think merits attention because it might present itself in other more real-world situations:
Reproduces maybe one in five attempts; the rest of the time it succeeds. It also fails with
echo ls /
andecho ls /sdf
, but does not (seem to) fail with</dev/null
(redirection, not pipe).--log-level=debug
adds nothing of value AFAICT—both pass and fail look identical to my eye—but I will provide on request.podman-1.4.0-2.fc29 and fc30; but I think I've seen it before, just never taken time to pursue it. I can look in logs if necessary.
The text was updated successfully, but these errors were encountered: