Regression: serious test breakage in after rev. 6076, on Windows
----------------------------------------------------------------
Key: JRUBY-2212
URL: http://jira.codehaus.org/browse/JRUBY-2212
Project: JRuby
Issue Type: Bug
Environment: JRuby 1.1RC2, rev 6076
Reporter: Vladimir Sizikov
Assignee: Thomas E Enebo
The revision 6076: "Fixes for a[b] ||= c and a[b] &&= c being much slower than
interpreted and MRI. " introduced serious breakage in unit tests on Windows:
{noformat}
run-junit-compiled:
[echo] compile=JIT, jit.threshold=0, jit.max=-1, objectspace=true
threadpool=false reflection=false versi
on=ruby1_8
[junit] Testsuite: org.jruby.test.MainTestSuite
[junit] Tests run: 245, Failures: 0, Errors: 0, Time elapsed: 14.716 sec
[junit] java.io.IOException: The filename, directory name, or volume label
syntax is incorrect
[junit] at java.io.WinNTFileSystem.canonicalize0(Native Method)
[junit] at
java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:396)
[junit] at java.io.File.getCanonicalPath(File.java:559)
[junit] at org.jruby.util.JRubyFile.getCanonicalPath(JRubyFile.java:90)
[junit] at
org.jruby.util.JavaNameMangler.mangleFilenameForClasspath(JavaNameMangler.java:38)
[junit] at
org.jruby.util.JavaNameMangler.mangleFilenameForClasspath(JavaNameMangler.java:28)
[junit] at
org.jruby.compiler.JITCompiler$JITClassGenerator.<init>(JITCompiler.java:121)
[junit] at org.jruby.compiler.JITCompiler.runJIT(JITCompiler.java:69)
[junit] at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:135)
[junit] at
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:78)
[junit] at
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:147)
[junit] at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:307)
[junit] at
ruby.jit.ruby.D_3a_.work.jruby_minus_dev.jruby.test.testEval.result11491149_12010789.__file
__(D:/work/jruby-dev/jruby/./test/testEval.rb:55)
[junit] at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:144)
[junit] at
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:66)
[junit] at
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:102)
[junit] at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:243)
[junit] at
org.jruby.evaluator.ASTInterpreter.callNode(ASTInterpreter.java:657)
[junit] at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:308)
[junit] at
org.jruby.evaluator.ASTInterpreter.setupArgs(ASTInterpreter.java:2155)
[junit] at
org.jruby.evaluator.ASTInterpreter.fCallNode(ASTInterpreter.java:1095)
[junit] at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:354)
[junit] at
org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:631)
[junit] at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:302)
[junit] at
org.jruby.evaluator.ASTInterpreter.rootNode(ASTInterpreter.java:1615)
[junit] at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:458)
[junit] at
org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:168)
[junit] at org.jruby.Ruby.loadFile(Ruby.java:1810)
[junit] at
org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:58)
[junit] at org.jruby.runtime.load.LoadService.load(LoadService.java:211)
[junit] at org.jruby.RubyKernel.load(RubyKernel.java:691)
[junit] at org.jruby.RubyKernelInvoker$load_method_1_1.call(Unknown
Source)
[junit] at
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:78)
[junit] at
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:147)
[junit] at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:307)
[junit] at
ruby.jit.ruby.D_3a_.work.jruby_minus_dev.jruby.test.minirunit.test_load1698458_12010789.__r
escue_1(D:/work/jruby-dev/jruby/./test/minirunit.rb:99)
[junit] at
ruby.jit.ruby.D_3a_.work.jruby_minus_dev.jruby.test.minirunit.test_load1698458_12010789.__f
ile__(D:/work/jruby-dev/jruby/./test/minirunit.rb:97)
[junit] at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:144)
[junit] at
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:78)
[junit] at
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:147)
[junit] at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:307)
[junit] at
ruby.D_3a_.work.jruby_minus_dev.jruby.test.testEval_dot_rb_generated_test_dot_rb.__file__(t
est\testEval.rb_generated_test.rb:3)
[junit] at
ruby.D_3a_.work.jruby_minus_dev.jruby.test.testEval_dot_rb_generated_test_dot_rb.load(test\
testEval.rb_generated_test.rb)
[junit] at org.jruby.Ruby.runScript(Ruby.java:491)
[junit] at org.jruby.Ruby.runNormally(Ruby.java:411)
[junit] at org.jruby.Ruby.executeScript(Ruby.java:249)
[junit] at
org.jruby.test.ScriptTestSuite$ScriptTest.runTest(ScriptTestSuite.java:132)
[junit] at junit.framework.TestCase.runBare(TestCase.java:127)
[junit] at junit.framework.TestResult$1.protect(TestResult.java:106)
[junit] at junit.framework.TestResult.runProtected(TestResult.java:124)
[junit] at junit.framework.TestResult.run(TestResult.java:109)
[junit] at junit.framework.TestCase.run(TestCase.java:118)
[junit] at junit.framework.TestSuite.runTest(TestSuite.java:208)
[junit] at junit.framework.TestSuite.run(TestSuite.java:203)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:67
2)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:546)
[junit] could not compile:<anon class>.result because of:
"java.io.IOException: The filename, directory na
me, or volume label syntax is incorrect"
[junit] java.io.IOException: The filename, directory name, or volume label
syntax is incorrect
[junit] at java.io.WinNTFileSystem.canonicalize0(Native Method)
[junit] at
java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:396)
[junit] at java.io.File.getCanonicalPath(File.java:559)
[junit] at org.jruby.util.JRubyFile.getCanonicalPath(JRubyFile.java:90)
[junit] at
org.jruby.util.JavaNameMangler.mangleFilenameForClasspath(JavaNameMangler.java:38)
[junit] at
org.jruby.util.JavaNameMangler.mangleFilenameForClasspath(JavaNameMangler.java:28)
[junit] at
org.jruby.compiler.JITCompiler$JITClassGenerator.<init>(JITCompiler.java:121)
[junit] at org.jruby.compiler.JITCompiler.runJIT(JITCompiler.java:69)
[junit] at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:135)
[junit] at
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:78)
[junit] at
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:147)
[junit] at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:307)
[junit] at
ruby.jit.ruby.D_3a_.work.jruby_minus_dev.jruby.test.testEval.result11491149_12010789.__file
__(D:/work/jruby-dev/jruby/./test/testEval.rb:55)
[junit] at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:144)
[junit] at
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:66)
[junit] at
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:102)
[junit] at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:243)
[junit] at
org.jruby.evaluator.ASTInterpreter.callNode(ASTInterpreter.java:657)
[junit] at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:308)
[junit] at
org.jruby.evaluator.ASTInterpreter.setupArgs(ASTInterpreter.java:2155)
[junit] at
org.jruby.evaluator.ASTInterpreter.fCallNode(ASTInterpreter.java:1095)
[junit] at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:354)
[junit] at
org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:631)
[junit] at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:302)
[junit] at
org.jruby.evaluator.ASTInterpreter.rootNode(ASTInterpreter.java:1615)
[junit] at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:458)
[junit] at
org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:168)
[junit] at org.jruby.Ruby.loadFile(Ruby.java:1810)
[junit] at
org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:58)
[junit] at org.jruby.runtime.load.LoadService.load(LoadService.java:211)
[junit] at org.jruby.RubyKernel.load(RubyKernel.java:691)
[junit] at org.jruby.RubyKernelInvoker$load_method_1_1.call(Unknown
Source)
[junit] at
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:78)
[junit] at
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:147)
[junit] at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:307)
[junit] at
ruby.jit.ruby.D_3a_.work.jruby_minus_dev.jruby.test.minirunit.test_load1698458_12010789.__r
escue_1(D:/work/jruby-dev/jruby/./test/minirunit.rb:99)
[junit] at
ruby.jit.ruby.D_3a_.work.jruby_minus_dev.jruby.test.minirunit.test_load1698458_12010789.__f
ile__(D:/work/jruby-dev/jruby/./test/minirunit.rb:97)
[junit] at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:144)
[junit] at
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:78)
[junit] at
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:147)
[junit] at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:307)
[junit] at
ruby.D_3a_.work.jruby_minus_dev.jruby.test.testEval_dot_rb_generated_test_dot_rb.__file__(t
est\testEval.rb_generated_test.rb:3)
[junit] at
ruby.D_3a_.work.jruby_minus_dev.jruby.test.testEval_dot_rb_generated_test_dot_rb.load(test\
testEval.rb_generated_test.rb)
[junit] at org.jruby.Ruby.runScript(Ruby.java:491)
[junit] at org.jruby.Ruby.runNormally(Ruby.java:411)
[junit] at org.jruby.Ruby.executeScript(Ruby.java:249)
[junit] at
org.jruby.test.ScriptTestSuite$ScriptTest.runTest(ScriptTestSuite.java:132)
[junit] at junit.framework.TestCase.runBare(TestCase.java:127)
[junit] at junit.framework.TestResult$1.protect(TestResult.java:106)
[junit] at junit.framework.TestResult.runProtected(TestResult.java:124)
[junit] at junit.framework.TestResult.run(TestResult.java:109)
[junit] at junit.framework.TestCase.run(TestCase.java:118)
[junit] at junit.framework.TestSuite.runTest(TestSuite.java:208)
[junit] at junit.framework.TestSuite.run(TestSuite.java:203)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:67
2)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:546)
[junit] could not compile:<anon class>.result because of:
"java.io.IOException: The filename, directory na
me, or volume label syntax is incorrect"
BUILD FAILED
D:\work\jruby-dev\jruby\build.xml:397: The following error occurred while
executing this line:
D:\work\jruby-dev\jruby\build.xml:476: The following error occurred while
executing this line:
D:\work\jruby-dev\jruby\build.xml:434: Could not delete temporary properties
file.
{noformat}
I double checked that rev 6075 is good, and the breakage is indeed due to 6076.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email