Build error with the latest version

6 views
Skip to first unread message

Jean-Charles Meyrignac

unread,
Sep 10, 2007, 4:57:02 AM9/10/07
to selenium-develope...@googlegroups.com
I got revision 338, and its build doesn't work.

In the output, I get:

WARN - Invalid length: Content-Length=1262 written=1264 for http://localhost:4444/jsunit/acceptor

Results :

Failed tests:
testUnit(org.openqa.selenium.ide.UnitTests)

Tests run: 1, Failures: 1, Errors: 0, Skipped: 0


There seems to be an error while running the tests, but it's too fast and I cannot see where the error lies.
Note: I'm using Vista + Firefox 2.0.6 French, and the build from last week worked.

Shinya Kasatani

unread,
Sep 10, 2007, 5:16:49 AM9/10/07
to selenium-develope...@googlegroups.com
Thanks for the report. I've made the unit tests run in the build
process last week.
Can you show me the content of this file?

target/surefire-reports/org.openqa.selenium.ide.UnitTests.txt

The test passes in my computer (Mac OS X 10.4, Firefox 2.0.0.6 Japanese).

> ---------------------------------------------------------------------
> To unsubscribe, e-mail: selenium-ide-d...@openqa.org
> For additional commands, e-mail: selenium-i...@openqa.org
>
>

-
--------------------------------------------------------------------
To unsubscribe, e-mail: selenium-ide-d...@openqa.org
For additional commands, e-mail: selenium-i...@openqa.org


Jean-Charles Meyrignac

unread,
Sep 10, 2007, 8:41:53 AM9/10/07
to selenium-develope...@googlegroups.com
> {quote:title=shinya wrote:}
> Thanks for the report. I've made the unit tests run in the build
> process last week.
> Can you show me the content of this file?
>
> target/surefire-reports/org.openqa.selenium.ide.UnitTests.txt
>
Sure, here it is:

-
------------------------------------------------------------------------------
Test set: org.openqa.selenium.ide.UnitTests
-
------------------------------------------------------------------------------
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 6.582 sec <<< FAILURE!
testUnit(org.openqa.selenium.ide.UnitTests) Time elapsed: 6.565 sec <<< FAILURE!
junit.framework.AssertionFailedError: Some tests failed!
chrome://selenium-ide/content/tests/unit/testSuite-tests.html:testGetFile|0|E|Error message is:
"[Exception... "Component returned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsILocalFile.appendRelativePath]" nsresult: "0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH)" location: "JS frame :: chrome://selenium-ide/content/testSuite.js :: anonymous :: line 153" data: no]"
chrome://selenium-ide/content/tests/unit/testSuite-tests.html:testSave|0.001|E|Error message is:
"[Exception... "Component returned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIFile.parent]" nsresult: "0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH)" location: "JS frame :: chrome://selenium-ide/content/file-utils.js :: anonymous :: line 91" data: no]"

at junit.framework.Assert.fail(Assert.java:47)
at org.openqa.selenium.ide.UnitTests.testUnit(UnitTests.java:82)
at org.openqa.selenium.ide.UnitTests.testUnit(UnitTests.java:82)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)

Jean-Charles Meyrignac

unread,
Sep 12, 2007, 5:23:29 AM9/12/07
to selenium-develope...@googlegroups.com
> {quote:title=shinya wrote:}
> Thanks, it was a Windows-specific bug. It should be fixed now.
>
The build works now, thanks !!!

Shinya Kasatani

unread,
Sep 12, 2007, 5:07:02 AM9/12/07
to selenium-develope...@googlegroups.com
Thanks, it was a Windows-specific bug. It should be fixed now.
Reply all
Reply to author
Forward
0 new messages