Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-1248

Assert failure in BasePage.shiftUp() when running store/onlineBackupTest4.sql

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.2.1.6
    • 10.2.1.6
    • Store
    • None
    • Sun JVM 1.5.0_04 on Solaris 10 x86. Derby from trunk (revision 396285). Sane build.
    • Regression Test Failure

    Description

      I saw this error when I ran derbyall.

                      • Diff file derbyall/storeall/storemore/onlineBackupTest4.diff
          • Start: onlineBackupTest4 jdk1.5.0_04 storeall:storemore 2006-04-24 11:51:50 ***
            68 del
            < ij(CONNECTION1)> select * from ctest;
            69 del
            < ID |NAME
            70 del
            < --------------------------------------------------------------------------------------------------------------------------------------------
            71 del
            < 1 |derby backup/compress test &
            72 del
            < 2 |derby backup/compress test &
            73 del
            < 300 |derby backup/compress test &
            74 del
            < 509 |derby backup/compress test &
            75 del
            < 510 |derby backup/compress test &
            76 del
            < 511 |derby backup/compress test &
            77 del
            < 512 |derby backup/compress test &
            78 del
            < ij(CONNECTION1)> insert into ctest values(2000, 'restore was successfil') ;
            79 del
            < 1 row inserted/updated/deleted
            80 del
            < ij(CONNECTION1)>
            80 add
            > org.apache.derby.shared.common.sanity.AssertFailure: ASSERT FAILED shiftUp failed, low must be between 0 and recordCount. low = 140, recordCount = 2
            > ERROR XJ040: Failed to start database 'wombat', see the next exception for details.
            > ERROR XJ001: Java exception: 'ASSERT FAILED shiftUp failed, low must be between 0 and recordCount. low = 140, recordCount = 2: org.apache.derby.shared.common.sanity.AssertFailure'.
            > ij> select * from ctest;
            > IJ ERROR: Unable to establish connection
            > ij> insert into ctest values(2000, 'restore was successfil') ;
            > IJ ERROR: Unable to establish connection
            > ij>
            Test Failed.
          • End: onlineBackupTest4 jdk1.5.0_04 storeall:storemore 2006-04-24 11:51:56 ***

      The test usually succeeds, but I managed to reproduce the failure by running this loop in the shell:

      touch onlineBackupTest4.pass
      while [ -f onlineBackupTest4.pass ]; do
      rm onlineBackupTest4.pass
      java org.apache.derbyTesting.functionTests.harness.RunTest store/onlineBackupTest4.sql
      done

      Attachments

        1. test5.zip
          204 kB
          Knut Anders Hatlen
        2. test335.jar
          109 kB
          Sunitha Kambhampati
        3. test2_379.jar
          111 kB
          Sunitha Kambhampati
        4. storemore.zip
          67 kB
          Knut Anders Hatlen
        5. solaris-singlecpu.zip
          62 kB
          Knut Anders Hatlen
        6. solarisfailure.zip
          108 kB
          Knut Anders Hatlen
        7. linuxfailure.zip
          108 kB
          Knut Anders Hatlen
        8. derby_335.log
          143 kB
          Mike Matrigali

        Activity

          People

            mikem Mike Matrigali
            knutanders Knut Anders Hatlen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: