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

recent push is causing many tests to fail in SBT when run in Windows from a folder that has a space (My Documents)

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocking Blocking
    • s10
    • s10
    • None
    • None
    • Windows 7

      notice many instances of FileNotFoundException:

      when run from a sub-directory of My Documents however the fail doesn't prevail when run frm a different directory structure such as C:\users\aseyler\dfdl\

      (here are the first few errors from daffodil-core)

      [info] Loading project definition from C:\Users\aseyler\My Documents\my-dfdl\dfdl\project
      [info] Set current project to daffodil (in build file:/C:/Users/aseyler/My%20Documents/my-dfdl/dfdl/)
      [info] TresysTests3:
      Bytes processed: 1
      Characters processed: 0
      [info] - test_testOne
      Bytes processed: 2
      Characters processed: 0
      [info] - test_testMany
      Bytes processed: 1
      Characters processed: 0
      [info] - test_testNone
      [info] - test_AB006 *** FAILED ***
      [info] java.lang.Exception: Schema Definition Error: java.io.FileNotFoundException: C:\Users\aseyler\My%20Documents\my-dfdl\dfdl\daffodil-core\target\scala-2.9.2\test-classes\test-suite\tresys-contributed\AB.dfdl.xsd (The system cannot find the path specified) Schema context: file:/C:/Users/aseyler/My%2520Documents/my-dfdl/dfdl/daffodil-core/target/scala-2.9.2/test-classes/test-suite/tresys-contributed/AB.dfdl.xsd. Location in file:/C:/Users/aseyler/My%20Documents/my-dfdl/dfdl/daffodil-core/target/scala-2.9.2/test-classes/test-suite/tresys-contributed/AB.dfdl.xsd.
      [info] at edu.illinois.ncsa.daffodil.tdml.ParserTestCase.runParseExpectSuccess(TDMLRunner.scala:512)
      [info] at edu.illinois.ncsa.daffodil.tdml.ParserTestCase.runProcessor(TDMLRunner.scala:411)
      [info] at edu.illinois.ncsa.daffodil.tdml.TestCase.run(TDMLRunner.scala:360)
      [info] at edu.illinois.ncsa.daffodil.tdml.DFDLTestSuite.runOneTestWithDataVolumes(TDMLRunner.scala:223)
      [info] at edu.illinois.ncsa.daffodil.tdml.DFDLTestSuite.runOneTest(TDMLRunner.scala:214)
      [info] at edu.illinois.ncsa.daffodil.TresysTests3.test_AB006(TresysTests3.scala:60)
      [info] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [info] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      [info] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [info] at java.lang.reflect.Method.invoke(Method.java:601)
      [info] ...
      [info] - test_AF000 *** FAILED ***
      [info] java.lang.Exception: Schema Definition Error: java.io.FileNotFoundException: C:\Users\aseyler\My%20Documents\my-dfdl\dfdl\daffodil-core\target\scala-2.9.2\test-classes\test-suite\tresys-contributed\AF.dfdl.xsd (The system cannot find the path specified) Schema context: file:/C:/Users/aseyler/My%2520Documents/my-dfdl/dfdl/daffodil-core/target/scala-2.9.2/test-classes/test-suite/tresys-contributed/AF.dfdl.xsd. Location in file:/C:/Users/aseyler/My%20Documents/my-dfdl/dfdl/daffodil-core/target/scala-2.9.2/test-classes/test-suite/tresys-contributed/AF.dfdl.xsd.
      [info] at edu.illinois.ncsa.daffodil.tdml.ParserTestCase.runParseExpectSuccess(TDMLRunner.scala:512)
      [info] at edu.illinois.ncsa.daffodil.tdml.ParserTestCase.runProcessor(TDMLRunner.scala:411)
      [info] at edu.illinois.ncsa.daffodil.tdml.TestCase.run(TDMLRunner.scala:360)
      [info] at edu.illinois.ncsa.daffodil.tdml.DFDLTestSuite.runOneTestWithDataVolumes(TDMLRunner.scala:223)
      [info] at edu.illinois.ncsa.daffodil.tdml.DFDLTestSuite.runOneTest(TDMLRunner.scala:214)
      [info] at edu.illinois.ncsa.daffodil.TresysTests3.test_AF000(TresysTests3.scala:64)
      [info] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [info] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      [info] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [info] at java.lang.reflect.Method.invoke(Method.java:601)
      [info] ...
      [info] - test_AF001 *** FAILED ***
      [info] java.lang.Exception: Schema Definition Error: java.io.FileNotFoundException: C:\Users\aseyler\My%20Documents\my-dfdl\dfdl\daffodil-core\target\scala-2.9.2\test-classes\test-suite\tresys-contributed\AF.dfdl.xsd (The system cannot find the path specified) Schema context: file:/C:/Users/aseyler/My%2520Documents/my-dfdl/dfdl/daffodil-core/target/scala-2.9.2/test-classes/test-suite/tresys-contributed/AF.dfdl.xsd. Location in file:/C:/Users/aseyler/My%20Documents/my-dfdl/dfdl/daffodil-core/target/scala-2.9.2/test-classes/test-suite/tresys-contributed/AF.dfdl.xsd.
      [info] at edu.illinois.ncsa.daffodil.tdml.ParserTestCase.runParseExpectSuccess(TDMLRunner.scala:512)
      [info] at edu.illinois.ncsa.daffodil.tdml.ParserTestCase.runProcessor(TDMLRunner.scala:411)
      [info] at edu.illinois.ncsa.daffodil.tdml.TestCase.run(TDMLRunner.scala:360)
      [info] at edu.illinois.ncsa.daffodil.tdml.DFDLTestSuite.runOneTestWithDataVolumes(TDMLRunner.scala:223)
      [info] at edu.illinois.ncsa.daffodil.tdml.DFDLTestSuite.runOneTest(TDMLRunner.scala:214)
      [info] at edu.illinois.ncsa.daffodil.TresysTests3.test_AF001(TresysTests3.scala:65)
      [info] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [info] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      [info] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [info] at java.lang.reflect.Method.invoke(Method.java:601)
      [info] ...
      [info] - test_AF002 *** FAILED ***
      [info] java.lang.Exception: Schema Definition Error: java.io.FileNotFoundException: C:\Users\aseyler\My%20Documents\my-dfdl\dfdl\daffodil-core\target\scala-2.9.2\test-classes\test-suite\tresys-contributed\AF.dfdl.xsd (The system cannot find the path specified) Schema context: file:/C:/Users/aseyler/My%2520Documents/my-dfdl/dfdl/daffodil-core/target/scala-2.9.2/test-classes/test-suite/tresys-contributed/AF.dfdl.xsd. Location in file:/C:/Users/aseyler/My%20Documents/my-dfdl/dfdl/daffodil-core/target/scala-2.9.2/test-classes/test-suite/tresys-contributed/AF.dfdl.xsd.
      [info] at edu.illinois.ncsa.daffodil.tdml.ParserTestCase.runParseExpectSuccess(TDMLRunner.scala:512)
      [info] at edu.illinois.ncsa.daffodil.tdml.ParserTestCase.runProcessor(TDMLRunner.scala:411)
      [info] at edu.illinois.ncsa.daffodil.tdml.TestCase.run(TDMLRunner.scala:360)
      [info] at edu.illinois.ncsa.daffodil.tdml.DFDLTestSuite.runOneTestWithDataVolumes(TDMLRunner.scala:223)
      [info] at edu.illinois.ncsa.daffodil.tdml.DFDLTestSuite.runOneTest(TDMLRunner.scala:214)
      [info] at edu.illinois.ncsa.daffodil.TresysTests3.test_AF002(TresysTests3.scala:66)
      [info] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [info] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      [info] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [info] at java.lang.reflect.Method.invoke(Method.java:601)

      [error] Failed: : Total 331, Failed 40, Errors 0, Passed 291, Skipped 0
      [error] Failed tests:
      [error] edu.illinois.ncsa.daffodil.MainTests
      [error] edu.illinois.ncsa.daffodil.TresysTests3
      [error] edu.illinois.ncsa.daffodil.IBMTestsThatPass
      [error] edu.illinois.ncsa.daffodil.tdml.TestTDMLRunner
      [error] edu.illinois.ncsa.daffodil.TresysTests
      java.lang.RuntimeException: Tests unsuccessful
      at scala.sys.package$.error(package.scala:27)
      at scala.Predef$.error(Predef.scala:123)
      at sbt.Tests$.showResults(Tests.scala:192)
      at sbt.Defaults$$anonfun$testTasks$6.apply(Defaults.scala:296)
      at sbt.Defaults$$anonfun$testTasks$6.apply(Defaults.scala:294)
      at sbt.Scoped$$anonfun$hf4$1.apply(Structure.scala:580)
      at sbt.Scoped$$anonfun$hf4$1.apply(Structure.scala:580)
      at scala.Function1$$anonfun$compose$1.apply(Function1.scala:49)
      at sbt.Scoped$Reduced$$anonfun$combine$1$$anonfun$apply$12.apply(Structure.scala:311)
      at sbt.Scoped$Reduced$$anonfun$combine$1$$anonfun$apply$12.apply(Structure.scala:311)
      at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:41)
      at sbt.std.Transform$$anon$5.work(System.scala:71)
      at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:232)
      at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:232)
      at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
      at sbt.Execute.work(Execute.scala:238)
      at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:232)
      at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:232)
      at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:160)
      at sbt.CompletionService$$anon$2.call(CompletionService.scala:30)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:722)
      [error] (daffodil-core/test:test) Tests unsuccessful
      [error] Total time: 26 s, completed May 1, 2013 5:04:34 PM

              aseyler Andrew Seyler
              aseyler Andrew Seyler
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: