Uploaded image for project: 'JDO'
  1. JDO
  2. JDO-767

JDO TCK lifecycle tests fail

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • JDO 3.1
    • JDO 3.2
    • tck
    • None

    Description

      cat dsid-lifecycle-tck.txt
      10:14:11,507 (main) INFO [org.apache.jdo.tck] - Exception during setUp or runtest:
      junit.framework.AssertionFailedError:
      Assertion A5.6.2-6 (NontransactionalWriteDatastoreRollback) failed: after datastore rollback
      expected: 100
      actual: 999

      at junit.framework.Assert.fail(Assert.java:47)
      at org.apache.jdo.tck.JDO_Test.failOnError(JDO_Test.java:1245)
      at org.apache.jdo.tck.lifecycle.NontransactionalWriteDatastoreRollback.testDatastoreRollback(NontransactionalWriteDatastoreRollback.java:87)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:497)
      at junit.framework.TestCase.runTest(TestCase.java:154)
      at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:284)
      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 junit.textui.TestRunner.doRun(TestRunner.java:116)
      at org.apache.jdo.tck.util.BatchTestRunner.doRun(BatchTestRunner.java:108)
      at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:148)
      at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:123)
      10:14:11,527 (main) INFO [org.apache.jdo.tck] - Exception during setUp or runtest:
      junit.framework.AssertionFailedError:
      Assertion A5.6.2-4 (NontransactionalWriteDatastoreCommitConflict) failed: after datastore commit with conflict
      expected: 999
      actual: 555

      at junit.framework.Assert.fail(Assert.java:47)
      at org.apache.jdo.tck.JDO_Test.failOnError(JDO_Test.java:1245)
      at org.apache.jdo.tck.lifecycle.NontransactionalWriteDatastoreCommitConflict.testDatastoreCommitConflict(NontransactionalWriteDatastoreCommitConflict.java:90)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:497)
      at junit.framework.TestCase.runTest(TestCase.java:154)
      at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:284)
      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 junit.textui.TestRunner.doRun(TestRunner.java:116)
      at org.apache.jdo.tck.util.BatchTestRunner.doRun(BatchTestRunner.java:108)
      at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:148)
      at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:123)
      10:14:11,532 (main) INFO [org.apache.jdo.tck] - Exception during setUp or runtest:
      junit.framework.AssertionFailedError:
      Assertion A5.6.2-10 (NontransactionalWriteOptimisticRollback) failed: after optimistic rollback
      expected: 100
      actual: 999

      at junit.framework.Assert.fail(Assert.java:47)
      at org.apache.jdo.tck.JDO_Test.failOnError(JDO_Test.java:1245)
      at org.apache.jdo.tck.lifecycle.NontransactionalWriteOptimisticRollback.testOptimisticRollback(NontransactionalWriteOptimisticRollback.java:87)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:497)
      at junit.framework.TestCase.runTest(TestCase.java:154)
      at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:284)
      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 junit.textui.TestRunner.doRun(TestRunner.java:116)
      at org.apache.jdo.tck.util.BatchTestRunner.doRun(BatchTestRunner.java:108)
      at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:148)
      at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:123)
      10:14:11,541 (main) INFO [org.apache.jdo.tck] - Exception during setUp or runtest:
      junit.framework.AssertionFailedError:
      Assertion A5.6.2-8 (NontransactionalWriteOptimisticCommitConflict) failed: after optimistic commit with conflicttransaction succeeded but should not succeed.

      at junit.framework.Assert.fail(Assert.java:47)
      at org.apache.jdo.tck.JDO_Test.failOnError(JDO_Test.java:1245)
      at org.apache.jdo.tck.lifecycle.NontransactionalWriteOptimisticCommitConflict.testOptimisticCommitConflict(NontransactionalWriteOptimisticCommitConflict.java:92)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:497)
      at junit.framework.TestCase.runTest(TestCase.java:154)
      at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:284)
      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 junit.textui.TestRunner.doRun(TestRunner.java:116)
      at org.apache.jdo.tck.util.BatchTestRunner.doRun(BatchTestRunner.java:108)
      at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:148)
      at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:123)
      10:14:12,617 (main) INFO [org.apache.jdo.tck] - Exception during setUp or runtest:
      junit.framework.AssertionFailedError:
      Assertions A5.9-1 through A5.9-190 (StateTransitions) failed:
      StateTransitions: no transaction; current state persistent-nontransactional
      write field outside tx transitioned instance to invalid state hollow; expected state persistent-nontransactional-dirty

      at junit.framework.Assert.fail(Assert.java:47)
      at org.apache.jdo.tck.JDO_Test.failOnError(JDO_Test.java:1245)
      at org.apache.jdo.tck.lifecycle.StateTransitions.test(StateTransitions.java:414)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:497)
      at junit.framework.TestCase.runTest(TestCase.java:154)
      at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:284)
      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 junit.textui.TestRunner.doRun(TestRunner.java:116)
      at org.apache.jdo.tck.util.BatchTestRunner.doRun(BatchTestRunner.java:108)
      at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:148)
      at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:123)

      Attachments

        Issue Links

          Activity

            People

              tilmann Tilmann Zäschke
              clr Craig L Russell
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: