Uploaded image for project: 'csit'
  1. csit
  2. CSIT-176

Interactive SSH console deadlock due to improper handling of channel communication.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • csit-161030
    • None

      SSH interactive session can be blocked in deadlock situation if there is some issue with executing command in VAT# console. There can be situation where vpp_api_test could send malformed output or exit/crash. In such situation receiving data from channel.recv and/or channel.recv_stderr must be done properly in order to prevent stall. One of possible solution is to combine stdout/stderr on channel to read from one source. Also proper detection of exit_status of remote console has to be implemented.

            pmikus Peter Mikus
            pmikus Peter Mikus
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 2 weeks
                2w
                Remaining:
                Remaining Estimate - 2 weeks
                2w
                Logged:
                Time Spent - Not Specified
                Not Specified