Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DFDL-1718

Intermittent failure of test_ovc_w_runtime_escape_char

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.0.0
    • 2.0.0
    • General
    • None

      Every now and the running 'sbt test' will cause a failure of test_ovc_w_runtime_escape_char with error:

      failed: edu.illinois.ncsa.daffodil.tdml.TDMLException: Schema Definition Error: No element corresponding to step {http://example.com}xi found,
      build	15-Feb-2017 12:02:00	[error] but elements with the same local name were found ({}xi).
      build	15-Feb-2017 12:02:00	[error] Perhaps a prefix is incorrect or missing on the step name?
      build	15-Feb-2017 12:02:00	[error] Schema context: ex:e6 Location line 313 column 6 in file:/tmp/ovc4227268284078118301.dfdl.xsd, took 0.708 sec
      build	15-Feb-2017 12:02:00	[error]     at edu.illinois.ncsa.daffodil.tdml.UnparserTestCase$$anonfun$runProcessor$7.apply(TDMLRunner.scala:876)
      build	15-Feb-2017 12:02:00	[error]     at edu.illinois.ncsa.daffodil.tdml.UnparserTestCase$$anonfun$runProcessor$7.apply(TDMLRunner.scala:876)
      build	15-Feb-2017 12:02:00	[error]     at scala.util.Either$LeftProjection.foreach(Either.scala:302)
      build	15-Feb-2017 12:02:00	[error]     at edu.illinois.ncsa.daffodil.tdml.UnparserTestCase.runProcessor(TDMLRunner.scala:876)
      build	15-Feb-2017 12:02:00	[error]     at edu.illinois.ncsa.daffodil.tdml.TestCase.run(TDMLRunner.scala:611)
      build	15-Feb-2017 12:02:00	[error]     at edu.illinois.ncsa.daffodil.tdml.DFDLTestSuite.runOneTestWithDataVolumes(TDMLRunner.scala:332)
      build	15-Feb-2017 12:02:00	[error]     at edu.illinois.ncsa.daffodil.tdml.DFDLTestSuite.runOneTest(TDMLRunner.scala:320)
      build	15-Feb-2017 12:02:00	[error]     at edu.illinois.ncsa.daffodil.tdml.Runner.runOneTest(RunnerFactory.scala:122)
      build	15-Feb-2017 12:02:00	[error]     at edu.illinois.ncsa.daffodil.section17.calc_value_properties.TestOutputValueCalc.test_ovc_w_runtime_escape_char(TestOutputValueCalc.scala:78)
      build	15-Feb-2017 12:02:00	[error]     ...
      build	15-Feb-2017 12:02:00	[error] Caused by: Schema Definition Error: No element corresponding to step {http://example.com}xi found,
      build	15-Feb-2017 12:02:00	[error] but elements with the same local name were found ({}xi).
      build	15-Feb-2017 12:02:00	[error] Perhaps a prefix is incorrect or missing on the step name?
      build	15-Feb-2017 12:02:00	[error] Schema context: ex:e6 Location line 313 column 6 in file:/tmp/ovc4227268284078118301.dfdl.xsd

      Appears to have to do with compiling a schema and namespaces.Maybe some non-thread-safe code?

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

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 3 minutes
                  3m