[
https://issues.apache.org/jira/browse/DAFFODIL-1908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16370204#comment-16370204
]
Michael Beckerle commented on DAFFODIL-1908:
--------------------------------------------
By inspection I can see that the extent of the synchronized block in the schema
cache is not large enough. It only covers the clearing of the schema cache, not
compiling and populating it.
> Three daffodil-test sbt tests intermittently fail
> -------------------------------------------------
>
> Key: DAFFODIL-1908
> URL: https://issues.apache.org/jira/browse/DAFFODIL-1908
> Project: Daffodil
> Issue Type: Bug
> Components: Front End, TDML Runner
> Affects Versions: 2.1.0
> Reporter: Dave Thompson
> Priority: Major
> Fix For: 2.2.0
>
>
> Pulled latest updates from incubator-daffodil repository, commit
> 62eea54b75392c3fffcb36060d5bb078dfed3910.
> Thee 3 test are intermittently failing on the test machine.
> The tests passed 7 times and failed 4 (2 fail, 2 pass, 2 fail then 5 pass).
> Did a git clean after 1^st^ 2 fails.
> These tests have not failed on my VM.
> Tests and failure are below.
> [debug] Test
> org.apache.daffodil.section06.namespaces.TestNamespaces.test_multi_encoding_01
> started
> [error] Test
> org.apache.daffodil.section06.namespaces.TestNamespaces.test_multi_encoding_01
> failed: org.apache.daffodil.tdml.TDMLException: Schema Definition Error:
> Error loading schema due to org.xml.sax.SAXParseException; systemId:
> file:/home/dfdl/incubator-daffodil/daffodil-test/target/scala-2.11/test-classes/org/apache/daffodil/section06/namespaces/multi_base_09.dfdl.xsd;
> lineNumber: 1; columnNumber: 1; < expected
> [error] Schema context:
> file:/home/dfdl/incubator-daffodil/daffodil-test/target/scala-2.11/test-classes/org/apache/daffodil/section06/namespaces/multi_base_09.dfdl.xsd
> Location in file:??
> [error] Schema Definition Error: No XML Node could be loaded from
> URISchemaSource(file:/home/dfdl/incubator-daffodil/daffodil-test/target/scala-2.11/test-classes/org/apache/daffodil/section06/namespaces/multi_base_09.dfdl.xsd).
> [error] Schema context:
> file:/home/dfdl/incubator-daffodil/daffodil-test/target/scala-2.11/test-classes/org/apache/daffodil/section06/namespaces/multi_base_09.dfdl.xsd
> Location in file:??, took 0.51 sec
> [error] at
> org.apache.daffodil.tdml.ParserTestCase$$anonfun$runProcessor$2.apply(TDMLRunner.scala:663)
> [error] at
> org.apache.daffodil.tdml.ParserTestCase$$anonfun$runProcessor$2.apply(TDMLRunner.scala:663)
> [error] at scala.util.Either$LeftProjection.foreach(Either.scala:302)
> [error] at
> org.apache.daffodil.tdml.ParserTestCase.runProcessor(TDMLRunner.scala:663)
> [error] at org.apache.daffodil.tdml.TestCase.run(TDMLRunner.scala:612)
> [error] at
> org.apache.daffodil.tdml.DFDLTestSuite.runOneTestWithDataVolumes(TDMLRunner.scala:325)
> [error] at
> org.apache.daffodil.tdml.DFDLTestSuite.runOneTest(TDMLRunner.scala:313)
> [error] at
> org.apache.daffodil.tdml.Runner.runOneTest(RunnerFactory.scala:107)
> [error] at
> org.apache.daffodil.section06.namespaces.TestNamespaces.test_multi_encoding_01(TestNamespaces.scala:150)
> [error] ...
> [error] Caused by: Schema Definition Error: Error loading schema due to
> org.xml.sax.SAXParseException; systemId:
> file:/home/dfdl/incubator-daffodil/daffodil-test/target/scala-2.11/test-classes/org/apache/daffodil/section06/namespaces/multi_base_09.dfdl.xsd;
> lineNumber: 1; columnNumber: 1; < expected
> [error] Schema context:
> file:/home/dfdl/incubator-daffodil/daffodil-test/target/scala-2.11/test-classes/org/apache/daffodil/section06/namespaces/multi_base_09.dfdl.xsd
> Location in file:??
> [debug] Test
> org.apache.daffodil.section06.namespaces.TestNamespaces.test_multi_encoding_01
> finished, took 0.512 sec
>
> Also these tests:
> [debug] Test
> org.apache.daffodil.section06.namespaces.TestNamespaces.test_multi_encoding_02
> started
> [error] Test
> org.apache.daffodil.section06.namespaces.TestNamespaces.test_multi_encoding_02
> failed:
> [debug] Test
> org.apache.daffodil.section06.namespaces.TestNamespaces.test_multi_encoding_03
> started
> [error] Test
> org.apache.daffodil.section06.namespaces.TestNamespaces.test_multi_encoding_03
> failed:
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)