remote builder ssh multiplexing is busted #304
Labels
No labels
Area/build-packaging
Area/evaluator
Area/flakes
Area/language
Area/profiles
Area/releng
Area/remote-builds
Area/repl
Area/store
bug
Cross Compilation
devx
docs
Downstream Dependents
E/easy
E/hard
E/help wanted
E/reproducible
E/requires rearchitecture
imported
Needs Langver
OS/Linux
OS/macOS
performance
regression
release-blocker
RFD
stability
Status
blocked
Status
invalid
Status
postponed
Status
wontfix
testing
ux
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lix-project/lix#304
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe the bug
remote builders using
ssh-ng://
deadlock during connect when multiplexing is turned on.ssh://
has an explicit override to disable multiplexing in the remote builder core so it isn't affected. there also seems to be no way outside of patching the sources to enable multiplexing, so we can conclude thatssh.cc
multiplexing is completely broken.Steps To Reproduce
ssh-ng
protocolAdditional context
not using ssh multiplexing means that each remote build that gets triggered redoes the ssh setup phase, which takes somewhere between 200 and 500ms in addition to network delays. since these connection attempts are done serially from a single thread rather than in parallel this may account for the entirety of remote build scheduling being an absolute slog