You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test flake: TestRemoteCacheRegistrySeparateImportExport - connection refused reaching registry #7681
So it makes sense the engine got a connection refused when trying to use it. But doesn't make sense that it just stopped running since it was a service bound to other running services.
Would need the logs of the outer engine to debug more, but don't see the name of engine connected to printed in the cloud logs, is that correct @vito?
Would need the logs of the outer engine to debug more, but don't see the name of engine connected to printed in the cloud logs, is that correct @vito?
Yeah this is a gap, the engine name only shows up in plain output at the moment. Hmm. It might make its way into telemetry already (via resource attributes), but we don't show it in the UI.
Interestingly that trace shows runc is getting a SIGPIPE from... itself? I thought that was showing the registry getting a SIGPIPE while writing to runc, but it's actually 100% runc in that trace. Attaching another that shows the process tree and command name proving it:
@sipsma might be wrong (typing from airport) but I thought that was for a separate test? This one had the registry abruptly exiting, never got to the bottom of it
Activity
sipsma commentedon Jun 17, 2024
The registry service being used by the engines just stopped running in the middle of the test: https://dagger.cloud/dagger/traces/321f2e777c47c9ca7651a28633a08420?span=79134fa449a2f409&logs#79134fa449a2f409:L1802
So it makes sense the engine got a connection refused when trying to use it. But doesn't make sense that it just stopped running since it was a service bound to other running services.
Would need the logs of the outer engine to debug more, but don't see the name of engine connected to printed in the cloud logs, is that correct @vito?
vito commentedon Jun 17, 2024
Yeah this is a gap, the engine name only shows up in plain output at the moment. Hmm. It might make its way into telemetry already (via resource attributes), but we don't show it in the UI.
vito commentedon Jun 19, 2024
Noticed it was pretty easy to repro the registry exiting from a particular test so added some logs to the engine and found this:
(note: there's a non-
!!!log that also shows this:)141 = SIGPIPE 🤔
repro (takes a few runs):
Associated run:
vito commentedon Jun 19, 2024
but why?
strace-happy-registry.log
strace-sigpipe-registry.log
vito commentedon Jun 19, 2024
Managed to strace the
runcprocess:strace-runc-happy.log
strace-runc-sigpipe.log
Strangely we can see that the other end of the pipe does
read()the same data that thewrite()SIGPIPEs on:vito commentedon Jun 19, 2024
Interestingly that trace shows
runcis getting aSIGPIPEfrom... itself? I thought that was showing the registry getting aSIGPIPEwhile writing to runc, but it's actually 100% runc in that trace. Attaching another that shows the process tree and command name proving it:strace-runc-self.log
Trace:
vito commentedon Jun 19, 2024
Stepping away from this for now, here's my horrific scripting for posterity:
sipsma commentedon Jul 1, 2024
This should be fixed by #7696
vito commentedon Jul 1, 2024
@sipsma might be wrong (typing from airport) but I thought that was for a separate test? This one had the registry abruptly exiting, never got to the bottom of it
sipsma commentedon Jul 1, 2024
@vito shit sorry you are right, I was going through my 1000 open tabs too quickly and misread this, re-opening!
sipsma commentedon Oct 10, 2024
I have not seen this one since July I think, so closing for now