Skip to content
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

Prevent Paramiko deadlock when test sends more than 2MB to stdout #779

Merged
merged 1 commit into from
Oct 21, 2024

Commits on Oct 16, 2024

  1. Prevent Paramiko deadlock when test sends more than 2MB to stdout

    The paramiko library has a known problem where checking the exit
    status can cause a deadlock if the command has written a lot of
    output to the stdout (or stderr) channel:
    
    https://docs.paramiko.org/en/stable/api/channel.html#paramiko.channel.Channel.recv_exit_status
    
    We can work around this, for the stdout case, by reading the
    data before checking the exit status.
    jburgess777 committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    6a652b9 View commit details
    Browse the repository at this point in the history