Uploaded image for project: 'ONOS'
  1. ONOS
  2. ONOS-1946

TestON does not shutdown cleanly if cleanup is called from a thread

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.3.0
    • Component/s: None
    • Labels:

      Description

      The issue is that if we have several threads running and one calls cleanup, then the others will have an exception and cleanup as well. If for instance you are running 5 threads, this can trigger cleanup to be called 5 times, which may cause cleanup to be called again in some cases resulting in a loop until the python recursion limit is hit.

      We need to take account for this and make sure TestON exits cleanly no matter where/how cleanup is called.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            jhall Jon Hall
            Reporter:
            jhall Jon Hall
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: