[EMAIL PROTECTED] wrote:
Author: dpfister
Date: Tue Oct  7 05:43:55 2008
New Revision: 702459

URL: http://svn.apache.org/viewvc?rev=702459&view=rev
Log:
JCR-1789 - Provide access to cluster records
- introduce classes that provide structured access to record contents
- add tests that verify correct serialization/deserialization
- change base class of ClusterException to Exception
- remove obsolete (Item|Node|Property)Operation classes
...

I think something is fishy with the change; I'm getting on 2 out of 2 machines (XPSP3) test failures (full log attached):


java.io.IOException: Unable to delete file: target\repository_for_test\revision.log at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1390) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1044) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:977) at org.apache.jackrabbit.core.journal.FileJournalTest.tearDown(FileJournalTest.java:67) at junit.framework.TestCase.runBare(TestCase.java:130) 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 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:585) at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127) at org.apache.maven.surefire.Surefire.run(Surefire.java:177) 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:585) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)

BR, Julian
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite errors="1" skipped="0" tests="1" time="0.375" failures="0" name="org.apache.jackrabbit.core.journal.TestAll">
  <properties>
    <property value="Java(TM) 2 Runtime Environment, Standard Edition" name="java.runtime.name"/>
    <property value="C:\usr\local\jdk15\jre\bin" name="sun.boot.library.path"/>
    <property value="1.5.0_12-b04" name="java.vm.version"/>
    <property value="Sun Microsystems Inc." name="java.vm.vendor"/>
    <property value="http://java.sun.com/"; name="java.vendor.url"/>
    <property value=";" name="path.separator"/>
    <property value="Java HotSpot(TM) Client VM" name="java.vm.name"/>
    <property value="sun.io" name="file.encoding.pkg"/>
    <property value="DE" name="user.country"/>
    <property value="SUN_STANDARD" name="sun.java.launcher"/>
    <property value="Service Pack 3" name="sun.os.patch.level"/>
    <property value="Java Virtual Machine Specification" name="java.vm.specification.name"/>
    <property value="C:\projects\apache\jackrabbit\jackrabbit-core" name="user.dir"/>
    <property value="1.5.0_12-b04" name="java.runtime.version"/>
    <property value="sun.awt.Win32GraphicsEnvironment" name="java.awt.graphicsenv"/>
    <property value="C:\projects\apache\jackrabbit\jackrabbit-core" name="basedir"/>
    <property value="C:\usr\local\jdk15\jre\lib\endorsed" name="java.endorsed.dirs"/>
    <property value="x86" name="os.arch"/>
    <property value="C:\DOKUME~1\jre\LOKALE~1\Temp\" name="java.io.tmpdir"/>
    <property value="test" name="derby.system.durability"/>
    <property value="
" name="line.separator"/>
    <property value="Sun Microsystems Inc." name="java.vm.specification.vendor"/>
    <property value="" name="user.variant"/>
    <property value="Windows XP" name="os.name"/>
    <property value="org.apache.jackrabbit.core.xml.DocumentViewTest#testMultiValue
                org.apache.jackrabbit.value.BinaryValueTest#testBinaryValueEquals
                org.apache.jackrabbit.core.ShareableNodeTest#testSharedNodePath" name="known.issues"/>
    <property value="true" name="derby.storage.fileSyncTransactionLog"/>
    <property value="C:\usr\local\apache-maven-2.0.8/bin/m2.conf" name="classworlds.conf"/>
    <property value="Cp1252" name="sun.jnu.encoding"/>
    <property value="testvalue" name="cluster.id"/>
    <property value="C:\usr\local\jdk15\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\usr\local\bin;C:\bin;C:\bin;C:\usr\X11R6\bin;C:\usr\local\maven\Maven 1.1\bin;C:\programme\imagemagick-6.3.4-q16;C:\Programme\Antenna\XSLFormatterV41;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programme\PixVue.Com\PixVue\bin;C:\PROGRA~1\ATT\Graphviz\bin;C:\Programme\Microsoft SQL Server\80\Tools\BINN;C:\Programme\SlikSvn\bin\;C:\Programme\Graphviz\Bin;C:\Programme\QuickTime\QTSystem\;C:\Programme\Microsoft Network Monitor 3\;C:\Programme\TortoiseSVN\bin;C:\lib\lapack;.\" name="java.library.path"/>
    <property value="C:\projects\apache\jackrabbit\jackrabbit-core\target\test-classes;C:\projects\apache\jackrabbit\jackrabbit-core\target\classes;C:\Dokumente und Einstellungen\jre\.m2\repository\concurrent\concurrent\1.3.4\concurrent-1.3.4.jar;C:\Dokumente und Einstellungen\jre\.m2\repository\commons-collections\commons-collections\3.1\commons-collections-3.1.jar;C:\Dokumente und Einstellungen\jre\.m2\repository\commons-io\commons-io\1.4\commons-io-1.4.jar;C:\Dokumente und Einstellungen\jre\.m2\repository\javax\jcr\jcr\1.0\jcr-1.0.jar;C:\Dokumente und Einstellungen\jre\.m2\repository\org\apache\jackrabbit\jackrabbit-api\1.5-SNAPSHOT\jackrabbit-api-1.5-SNAPSHOT.jar;C:\Dokumente und Einstellungen\jre\.m2\repository\org\apache\jackrabbit\jackrabbit-jcr-commons\1.5-SNAPSHOT\jackrabbit-jcr-commons-1.5-SNAPSHOT.jar;C:\projects\apache\jackrabbit\jackrabbit-spi-commons\target\jackrabbit-spi-commons-1.5-SNAPSHOT.jar;C:\projects\apache\jackrabbit\jackrabbit-spi\target\jackrabbit-spi-1.5-SNAPSHOT.jar;C:\Dokumente und Einstellungen\jre\.m2\repository\org\slf4j\slf4j-api\1.5.3\slf4j-api-1.5.3.jar;C:\projects\apache\jackrabbit\jackrabbit-text-extractors\target\jackrabbit-text-extractors-1.5-SNAPSHOT.jar;C:\Dokumente und Einstellungen\jre\.m2\repository\org\apache\poi\poi\3.0.2-FINAL\poi-3.0.2-FINAL.jar;C:\Dokumente und Einstellungen\jre\.m2\repository\commons-logging\commons-logging\1.1\commons-logging-1.1.jar;C:\Dokumente und Einstellungen\jre\.m2\repository\log4j\log4j\1.2.14\log4j-1.2.14.jar;C:\Dokumente und Einstellungen\jre\.m2\repository\org\apache\poi\poi-scratchpad\3.0.2-FINAL\poi-scratchpad-3.0.2-FINAL.jar;C:\Dokumente und Einstellungen\jre\.m2\repository\pdfbox\pdfbox\0.7.3\pdfbox-0.7.3.jar;C:\Dokumente und Einstellungen\jre\.m2\repository\org\fontbox\fontbox\0.1.0\fontbox-0.1.0.jar;C:\Dokumente und Einstellungen\jre\.m2\repository\org\jempbox\jempbox\0.2.0\jempbox-0.2.0.jar;C:\Dokumente und Einstellungen\jre\.m2\repository\net\sourceforge\nekohtml\nekohtml\1.9.7\nekohtml-1.9.7.jar;C:\Dokumente und Einstellungen\jre\.m2\repository\xerces\xercesImpl\2.8.1\xercesImpl-2.8.1.jar;C:\Dokumente und Einstellungen\jre\.m2\repository\xml-apis\xml-apis\1.3.03\xml-apis-1.3.03.jar;C:\Dokumente und Einstellungen\jre\.m2\repository\org\apache\lucene\lucene-core\2.3.2\lucene-core-2.3.2.jar;C:\Dokumente und Einstellungen\jre\.m2\repository\org\apache\derby\derby\10.2.1.6\derby-10.2.1.6.jar;C:\Dokumente und Einstellungen\jre\.m2\repository\junit\junit\3.8.1\junit-3.8.1.jar;C:\projects\apache\jackrabbit\jackrabbit-jcr-tests\target\jackrabbit-jcr-tests-1.5-SNAPSHOT.jar;C:\projects\apache\jackrabbit\jackrabbit-jcr-benchmark\target\jackrabbit-jcr-benchmark-1.5-SNAPSHOT.jar;C:\Dokumente und Einstellungen\jre\.m2\repository\org\slf4j\slf4j-log4j12\1.5.3\slf4j-log4j12-1.5.3.jar;C:\Dokumente und Einstellungen\jre\.m2\repository\org\apache\geronimo\specs\geronimo-jta_1.0.1B_spec\1.0.1\geronimo-jta_1.0.1B_spec-1.0.1.jar;" name="surefire.test.class.path"/>
    <property value="Java Platform API Specification" name="java.specification.name"/>
    <property value="49.0" name="java.class.version"/>
    <property value="HotSpot Client Compiler" name="sun.management.compiler"/>
    <property value="5.1" name="os.version"/>
    <property value="C:\Dokumente und Einstellungen\jre" name="user.home"/>
    <property value="Europe/Berlin" name="user.timezone"/>
    <property value="11" name="cluster.syncDelay"/>
    <property value="sun.awt.windows.WPrinterJob" name="java.awt.printerjob"/>
    <property value="org.apache.jackrabbit.core.util.RepositoryLock:C:\projects\apache\jackrabbit\jackrabbit-core\target\repository" name="org.apache.jackrabbit.core.util.RepositoryLock:C:\projects\apache\jackrabbit\jackrabbit-core\target\repository"/>
    <property value="1.5" name="java.specification.version"/>
    <property value="Cp1252" name="file.encoding"/>
    <property value="jre" name="user.name"/>
    <property value="C:\usr\local\apache-maven-2.0.8/boot/classworlds-1.1.jar" name="java.class.path"/>
    <property value="1.0" name="java.vm.specification.version"/>
    <property value="32" name="sun.arch.data.model"/>
    <property value="C:\usr\local\jdk15\jre" name="java.home"/>
    <property value="Sun Microsystems Inc." name="java.specification.vendor"/>
    <property value="de" name="user.language"/>
    <property value="sun.awt.windows.WToolkit" name="awt.toolkit"/>
    <property value="mixed mode" name="java.vm.info"/>
    <property value="1.5.0_12" name="java.version"/>
    <property value="C:\usr\local\jdk15\jre\lib\ext" name="java.ext.dirs"/>
    <property value="C:\usr\local\jdk15\jre\lib\rt.jar;C:\usr\local\jdk15\jre\lib\i18n.jar;C:\usr\local\jdk15\jre\lib\sunrsasign.jar;C:\usr\local\jdk15\jre\lib\jsse.jar;C:\usr\local\jdk15\jre\lib\jce.jar;C:\usr\local\jdk15\jre\lib\charsets.jar;C:\usr\local\jdk15\jre\classes" name="sun.boot.class.path"/>
    <property value="Sun Microsystems Inc." name="java.vendor"/>
    <property value="C:\usr\local\apache-maven-2.0.8" name="maven.home"/>
    <property value="src/test/repository/jaas.config" name="java.security.auth.login.config"/>
    <property value="C:\Dokumente und Einstellungen\jre\.m2\repository" name="localRepository"/>
    <property value="\" name="file.separator"/>
    <property value="target/derby.log" name="derby.stream.error.file"/>
    <property value="http://java.sun.com/cgi-bin/bugreport.cgi"; name="java.vendor.url.bug"/>
    <property value="little" name="sun.cpu.endian"/>
    <property value="UnicodeLittle" name="sun.io.unicode.encoding"/>
    <property value="windows" name="sun.desktop"/>
    <property value="pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86" name="sun.cpu.isalist"/>
  </properties>
  <testcase classname="org.apache.jackrabbit.core.journal.FileJournalTest" time="0.36" name="testRevisionIsOptional">
    <error type="java.io.IOException" message="Unable to delete file: target\repository_for_test\revision.log">java.io.IOException: Unable to delete file: target\repository_for_test\revision.log
	at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1390)
	at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1044)
	at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:977)
	at org.apache.jackrabbit.core.journal.FileJournalTest.tearDown(FileJournalTest.java:67)
	at junit.framework.TestCase.runBare(TestCase.java:130)
	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 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:585)
	at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
	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:585)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
</error>
  </testcase>
</testsuite>

Reply via email to