Uploaded image for project: 'integration-test'
  1. integration-test
  2. INTTEST-131

unable to terminate netconf session due to process ID is truncated to 4 digits

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • None
    • None

    Description

      In Netconf MDSAL test suites, the aborting simulation test will try to terminate sshpass process to simulate the abort netconf session.

      the current method in robot test to obtain the process ID of sshpass is 

      ${pid}=    SSHLibrary.Execute_Command    ps -A | grep sshpass | cut -b 1-6

      It works if process ID is 4 digit or less, but failed to terminate sshpass if process ID is 5 digit

      $ ps -A | grep sshpass
        13090 pts/2    00:00:00 sshpass
      $ ps -A | grep sshpass | cut -b 1-6
        1309

      Attachments

        # Subject Branch Project Status CR V

        Activity

          People

            hsiaand Andrew Hsia
            hsiaand Andrew Hsia
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: