Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-437

test/runtime failures with latest HOWL logger

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-M2
    • 1.0-M3
    • transaction manager
    • None
    • java version "1.4.2_06"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
      Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)
      fedora core 2 and red hat 9

    Description

      I get build-time unit test failures with the latest version of ~/.maven/repository/howl/jars/howl-logger-0.1.7-SNAPSHOT.jar. If I copy howl-logger-0.1.7.jar over howl-logger-0.1.7-SNAPSHOT.jar then things work fine.

      build output is:

      test:test:
      [junit] Running org.apache.geronimo.transaction.log.HOWLLogTest
      [junit] Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 0.225 sec
      [junit] [ERROR] TEST org.apache.geronimo.transaction.log.HOWLLogTest FAILED
      [junit] Running org.apache.geronimo.transaction.context.TransactionContextManagerTest
      [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.21 sec
      [junit] Running org.apache.geronimo.transaction.manager.ProtocolTest
      [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.084 sec
      [junit] Running org.apache.geronimo.transaction.manager.XidImporterTest
      [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.052 sec
      [junit] Running org.apache.geronimo.transaction.manager.MockLogRecoveryTest
      [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.142 sec
      [junit] Running org.apache.geronimo.transaction.manager.HOWLLogRecoveryTest
      [junit] Tests run: 5, Failures: 0, Errors: 5, Time elapsed: 0.153 sec
      [junit] [ERROR] TEST org.apache.geronimo.transaction.manager.HOWLLogRecoveryTest FAILED
      [junit] Running org.apache.geronimo.transaction.manager.RecoveryTest
      [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.046 sec
      [junit] Running org.apache.geronimo.transaction.TransactionManagerProxyTest
      [junit] Tests run: 13, Failures: 0, Errors: 0, Time elapsed: 0.052 sec

      the contents of TEST-org.apache.geronimo.transaction.log.HOWLLogTest.txt are:

      Testcase: testTransactionLog(org.apache.geronimo.transaction.log.HOWLLogTest): Caused an ERROR
      org.objectweb.howl.log.InvalidLogKeyException: The initial mark [0] requested for replay was not found in the log.
      org.objectweb.howl.log.LogClosedException: org.objectweb.howl.log.InvalidLogKeyException: The initial mark [0] requested for replay was not found in the log.
      at org.objectweb.howl.log.xa.XALogger.open(XALogger.java:858)
      at org.apache.geronimo.transaction.log.HOWLLog.doStart(HOWLLog.java:217)
      at org.apache.geronimo.transaction.log.HOWLLogTest.createTransactionLog(HOWLLogTest.java:67)
      at org.apache.geronimo.transaction.log.AbstractLogTest.testTransactionLog(AbstractLogTest.java:92)
      at org.apache.geronimo.transaction.log.AbstractLogTest.testTransactionLog(AbstractLogTest.java:70)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:232)
      at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
      at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
      at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
      at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88)
      at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
      at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
      at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
      at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
      at com.werken.werkz.Goal.fire(Goal.java:639)
      at com.werken.werkz.Goal.attain(Goal.java:575)
      at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
      at com.werken.werkz.Goal.attain(Goal.java:573)
      at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
      at com.werken.werkz.Goal.attain(Goal.java:573)
      at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
      at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttainGoalTag.java:127)
      at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
      at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
      at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
      at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
      at com.werken.werkz.Goal.fire(Goal.java:639)
      at com.werken.werkz.Goal.attain(Goal.java:575)
      at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
      at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:634)
      at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266)
      at org.apache.maven.cli.App.doMain(App.java:486)
      at org.apache.maven.cli.App.main(App.java:1215)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at com.werken.forehead.Forehead.run(Forehead.java:551)
      at com.werken.forehead.Forehead.main(Forehead.java:581)
      Caused by: org.objectweb.howl.log.InvalidLogKeyException: The initial mark [0] requested for replay was not found in the log.
      at org.objectweb.howl.log.LogBufferManager.replay(LogBufferManager.java:683)
      at org.objectweb.howl.log.Logger.replay(Logger.java:384)
      at org.objectweb.howl.log.xa.XALogger.open(XALogger.java:856)
      ... 59 more

      Attachments

        Issue Links

          Activity

            People

              djencks David Jencks
              toby Tobias Schlitt
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: