Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DAFFODIL-2704

sbt tests are intermittenly hanging

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 3.4.0
    • None
    • None

    Description

      Starting at commit c81b213b02ac414a39290787cf2eea14d83fdc26, running {sbt daffodil-io/test} multiple times will eventually cause it to hang.

      It's not clear to me the cause, but I've confirmed that the hang happens somewhere in the SimpleNamedServiceLoader loadClass function. Seems likely that it's getting stuck in the while loop and can't break out for some reason.

      I don't think the above commit caused the issue, but it did a new call to SimpleNamedServiceLoader, and it loads a lot more classes than the usual use of this class. We're probably using service loaders incorrectly in this function somehow.

      Attachments

        1. image-2022-06-15-08-34-12-731.png
          25 kB
          Steve Lawrence
        2. image-2022-06-15-08-36-21-352.png
          100 kB
          Steve Lawrence

        Activity

          People

            slawrence Steve Lawrence
            slawrence Steve Lawrence
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: