[
https://issues.apache.org/jira/browse/DAFFODIL-2704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dave Thompson closed DAFFODIL-2704.
-----------------------------------
Verified the specified commits (commit
0f5ebcab73bc54394e58597b6e44d36ddfbfd8ee) is included in the latest pull from
the daffodil repository.
Verified changes identified in commit comments were implemented.
Verified all daffodil subproject sbt test suites execute successfully without
hanging. Exicuted each daffodil sub-projects sbt test suite multiple time
without the tests hanging. Executed the daffodil-io sbt test suite 12+ time
without hanging.
> sbt tests are intermittenly hanging
> -----------------------------------
>
> Key: DAFFODIL-2704
> URL: https://issues.apache.org/jira/browse/DAFFODIL-2704
> Project: Daffodil
> Issue Type: Bug
> Reporter: Steve Lawrence
> Assignee: Steve Lawrence
> Priority: Critical
> Fix For: 3.4.0
>
> Attachments: image-2022-06-15-08-34-12-731.png,
> image-2022-06-15-08-36-21-352.png
>
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)