Trunk build fails on Win32 IBM JVM 1.4.2 SR6 at ScriptTestSuite -- TestFile.rb
------------------------------------------------------------------------------

                 Key: JRUBY-1083
                 URL: http://jira.codehaus.org/browse/JRUBY-1083
             Project: JRuby
          Issue Type: Bug
         Environment: Windows XP, IBM JDK 1.4.2 SR6 (WebSphere Application 
Server 5.1.1)
            Reporter: Darrin Wortlehock
            Assignee: Thomas E Enebo


C:\apps\jruby-trunk>java -version
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
Classic VM (build 1.4.2, J2RE 1.4.2 IBM Windows 32 build cn142ifx-20061121 
(ifix 112270: SR6 + 111682 + 111872 + 110979) (JIT enabled: jitc))

C:\apps\jruby-trunk>ant test
Buildfile: build.xml

...
...

run-junit-compiled:
    [junit] Testsuite: org.jruby.test.MainTestSuite
    [junit] Tests run: 234, Failures: 0, Errors: 0, Time elapsed: 18.136 sec

    [junit] Testsuite: org.jruby.test.ScriptTestSuite
    [junit] Tests run: 35, Failures: 1, Errors: 0, Time elapsed: 12.027 sec

    [junit] Testcase: testFile.rb(org.jruby.test.ScriptTestSuite$ScriptTest):   
FAILED
    [junit] test\testFile.rb failed, complete failure list follows:
    [junit] EXCEPTION raised Test File 14 --
    [junit]     Exception: java.lang.IllegalArgumentException: Neither current 
working directory (/foo/bar) nor pathname (../../bin)
 led to an absolute path
    [junit]     JRubyFile.java:51:in `org.jruby.util.JRubyFile.create'
    [junit]     RubyFile.java:680:in `org.jruby.RubyFile.expand_path'
    [junit]     null:-1:in `org.jruby.RubyFileInvokerSexpand_pathxx1.call'
    [junit]     FastInvocationCallback.java:-3:in 
`org.jruby.runtime.callback.FastInvocationCallback.execute'
    [junit]     SimpleCallbackMethod.java:-3:in 
`org.jruby.internal.runtime.methods.SimpleCallbackMethod.call'
    [junit]     EvaluationState.java:-3:in 
`org.jruby.evaluator.EvaluationState.callNode'
    [junit]     EvaluationState.java:-3:in 
`org.jruby.evaluator.EvaluationState.evalInternal'
    [junit]     EvaluationState.java:-3:in 
`org.jruby.evaluator.EvaluationState.setupArgs'
    [junit]     EvaluationState.java:-3:in 
`org.jruby.evaluator.EvaluationState.fCallNode'
    [junit]     EvaluationState.java:-3:in 
`org.jruby.evaluator.EvaluationState.evalInternal'
    [junit]     EvaluationState.java:-4:in 
`org.jruby.evaluator.EvaluationState.blockNode'
    [junit]     EvaluationState.java:-3:in 
`org.jruby.evaluator.EvaluationState.evalInternal'
    [junit]     EvaluationState.java:1609:in 
`org.jruby.evaluator.EvaluationState.rootNode'
    [junit]     EvaluationState.java:-3:in 
`org.jruby.evaluator.EvaluationState.evalInternal'
    [junit]     EvaluationState.java:-3:in 
`org.jruby.evaluator.EvaluationState.eval'
    [junit]     Ruby.java:1185:in `org.jruby.Ruby.loadScript'
    [junit]     ExternalScript.java:53:in 
`org.jruby.runtime.load.ExternalScript.load'
    [junit]     LoadService.java:214:in 
`org.jruby.runtime.load.LoadService.load'
    [junit]     RubyKernel.java:723:in `org.jruby.RubyKernel.load'
    [junit]     null:-1:in `org.jruby.RubyKernelInvokerSloadxx1.call'
    [junit]     InvocationCallback.java:-3:in 
`org.jruby.runtime.callback.InvocationCallback.execute'
    [junit]     FullFunctionCallbackMethod.java:-3:in 
`org.jruby.internal.runtime.methods.FullFunctionCallbackMethod.internalCall'
    [junit]     DynamicMethod.java:-3:in 
`org.jruby.internal.runtime.methods.DynamicMethod.call'
    [junit]     EvaluationState.java:-3:in 
`org.jruby.evaluator.EvaluationState.fCallNode'
    [junit]     EvaluationState.java:-3:in 
`org.jruby.evaluator.EvaluationState.evalInternal'
    [junit]     EvaluationState.java:-4:in 
`org.jruby.evaluator.EvaluationState.blockNode'
    [junit]     EvaluationState.java:-3:in 
`org.jruby.evaluator.EvaluationState.evalInternal'
    [junit]     EvaluationState.java:1518:in 
`org.jruby.evaluator.EvaluationState.rescueNode'
    [junit]     EvaluationState.java:-3:in 
`org.jruby.evaluator.EvaluationState.evalInternal'
    [junit]     EvaluationState.java:-4:in 
`org.jruby.evaluator.EvaluationState.eval'
    [junit]     DefaultMethod.java:-3:in 
`org.jruby.internal.runtime.methods.DefaultMethod.internalCall'
    [junit]     DynamicMethod.java:-3:in 
`org.jruby.internal.runtime.methods.DynamicMethod.call'
    [junit]     EvaluationState.java:-3:in 
`org.jruby.evaluator.EvaluationState.fCallNode'
    [junit]     EvaluationState.java:-3:in 
`org.jruby.evaluator.EvaluationState.evalInternal'
    [junit]     EvaluationState.java:-4:in 
`org.jruby.evaluator.EvaluationState.blockNode'
    [junit]     EvaluationState.java:-3:in 
`org.jruby.evaluator.EvaluationState.evalInternal'
    [junit]     EvaluationState.java:1609:in 
`org.jruby.evaluator.EvaluationState.rootNode'
    [junit]     EvaluationState.java:-3:in 
`org.jruby.evaluator.EvaluationState.evalInternal'
    [junit]     EvaluationState.java:-3:in 
`org.jruby.evaluator.EvaluationState.eval'
    [junit]     Ruby.java:287:in `org.jruby.Ruby.eval'
    [junit]     Ruby.java:280:in `org.jruby.Ruby.evalScript'
    [junit]     ScriptTestSuite.java:132:in 
`org.jruby.test.ScriptTestSuite$ScriptTest.runTest'
    [junit]     TestCase.java:127:in `junit.framework.TestCase.runBare'
    [junit]     TestResult.java:106:in `junit.framework.TestResult$1.protect'
    [junit]     TestResult.java:124:in `junit.framework.TestResult.runProtected'
    [junit]     TestResult.java:109:in `junit.framework.TestResult.run'
    [junit]     TestCase.java:118:in `junit.framework.TestCase.run'
    [junit]     TestSuite.java:208:in `junit.framework.TestSuite.runTest'
    [junit]     TestSuite.java:203:in `junit.framework.TestSuite.run'
    [junit]     JUnitTestRunner.java:297:in 
`org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run'
    [junit]     JUnitTestRunner.java:672:in 
`org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch'
    [junit]     JUnitTestRunner.java:567:in 
`org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main'
    [junit]     ./test/minirunit.rb:99:in `load'
    [junit]     ./test/minirunit.rb:99:in `test_load'
    [junit]     <script>:3
    [junit] junit.framework.AssertionFailedError: test\testFile.rb failed, 
complete failure list follows:
    [junit] EXCEPTION raised Test File 14 --
    [junit]     Exception: java.lang.IllegalArgumentException: Neither current 
working directory (/foo/bar) nor pathname (../../bin)
 led to an absolute path
    [junit]     JRubyFile.java:51:in `org.jruby.util.JRubyFile.create'
    [junit]     RubyFile.java:680:in `org.jruby.RubyFile.expand_path'
    [junit]     null:-1:in `org.jruby.RubyFileInvokerSexpand_pathxx1.call'
    [junit]     FastInvocationCallback.java:-3:in 
`org.jruby.runtime.callback.FastInvocationCallback.execute'
    [junit]     SimpleCallbackMethod.java:-3:in 
`org.jruby.internal.runtime.methods.SimpleCallbackMethod.call'
    [junit]     EvaluationState.java:-3:in 
`org.jruby.evaluator.EvaluationState.callNode'
    [junit]     EvaluationState.java:-3:in 
`org.jruby.evaluator.EvaluationState.evalInternal'
    [junit]     EvaluationState.java:-3:in 
`org.jruby.evaluator.EvaluationState.setupArgs'
    [junit]     EvaluationState.java:-3:in 
`org.jruby.evaluator.EvaluationState.fCallNode'
    [junit]     EvaluationState.java:-3:in 
`org.jruby.evaluator.EvaluationState.evalInternal'
    [junit]     EvaluationState.java:-4:in 
`org.jruby.evaluator.EvaluationState.blockNode'
    [junit]     EvaluationState.java:-3:in 
`org.jruby.evaluator.EvaluationState.evalInternal'
    [junit]     EvaluationState.java:1609:in 
`org.jruby.evaluator.EvaluationState.rootNode'
    [junit]     EvaluationState.java:-3:in 
`org.jruby.evaluator.EvaluationState.evalInternal'
    [junit]     EvaluationState.java:-3:in 
`org.jruby.evaluator.EvaluationState.eval'
    [junit]     Ruby.java:1185:in `org.jruby.Ruby.loadScript'
    [junit]     ExternalScript.java:53:in 
`org.jruby.runtime.load.ExternalScript.load'
    [junit]     LoadService.java:214:in 
`org.jruby.runtime.load.LoadService.load'
    [junit]     RubyKernel.java:723:in `org.jruby.RubyKernel.load'
    [junit]     null:-1:in `org.jruby.RubyKernelInvokerSloadxx1.call'
    [junit]     InvocationCallback.java:-3:in 
`org.jruby.runtime.callback.InvocationCallback.execute'
    [junit]     FullFunctionCallbackMethod.java:-3:in 
`org.jruby.internal.runtime.methods.FullFunctionCallbackMethod.internalCall'
    [junit]     DynamicMethod.java:-3:in 
`org.jruby.internal.runtime.methods.DynamicMethod.call'
    [junit]     EvaluationState.java:-3:in 
`org.jruby.evaluator.EvaluationState.fCallNode'
    [junit]     EvaluationState.java:-3:in 
`org.jruby.evaluator.EvaluationState.evalInternal'
    [junit]     EvaluationState.java:-4:in 
`org.jruby.evaluator.EvaluationState.blockNode'
    [junit]     EvaluationState.java:-3:in 
`org.jruby.evaluator.EvaluationState.evalInternal'
    [junit]     EvaluationState.java:1518:in 
`org.jruby.evaluator.EvaluationState.rescueNode'
    [junit]     EvaluationState.java:-3:in 
`org.jruby.evaluator.EvaluationState.evalInternal'
    [junit]     EvaluationState.java:-4:in 
`org.jruby.evaluator.EvaluationState.eval'
    [junit]     DefaultMethod.java:-3:in 
`org.jruby.internal.runtime.methods.DefaultMethod.internalCall'
    [junit]     DynamicMethod.java:-3:in 
`org.jruby.internal.runtime.methods.DynamicMethod.call'
    [junit]     EvaluationState.java:-3:in 
`org.jruby.evaluator.EvaluationState.fCallNode'
    [junit]     EvaluationState.java:-3:in 
`org.jruby.evaluator.EvaluationState.evalInternal'
    [junit]     EvaluationState.java:-4:in 
`org.jruby.evaluator.EvaluationState.blockNode'
    [junit]     EvaluationState.java:-3:in 
`org.jruby.evaluator.EvaluationState.evalInternal'
    [junit]     EvaluationState.java:1609:in 
`org.jruby.evaluator.EvaluationState.rootNode'
    [junit]     EvaluationState.java:-3:in 
`org.jruby.evaluator.EvaluationState.evalInternal'
    [junit]     EvaluationState.java:-3:in 
`org.jruby.evaluator.EvaluationState.eval'
    [junit]     Ruby.java:287:in `org.jruby.Ruby.eval'
    [junit]     Ruby.java:280:in `org.jruby.Ruby.evalScript'
    [junit]     ScriptTestSuite.java:132:in 
`org.jruby.test.ScriptTestSuite$ScriptTest.runTest'
    [junit]     ./test/minirunit.rb:99:in `load'
    [junit]     ./test/minirunit.rb:99:in `test_load'
    [junit]     <script>:3
    [junit]     at 
org.jruby.test.ScriptTestSuite$ScriptTest.runTest(ScriptTestSuite.java:136)

BUILD FAILED
C:\apps\jruby-trunk\build.xml:443: Test org.jruby.test.ScriptTestSuite failed

Total time: 1 minute 19 seconds

-- 
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

Reply via email to