[ http://issues.apache.org/jira/browse/DERBY-1248?page=all ]
Sunitha Kambhampati updated DERBY-1248:
---------------------------------------
Attachment: test335.jar
test2_379.jar
I ran this test on two different machines with the similar hardware , 2cpu
intel xeon 2.8 ghz, 4g ram. Hyperthreadign enabled so seems like a 4cpu.
One machine has windows2000 server and other machine has linux, RHEL AS release
4.
So far, bug only reproduces on the linux machine. Details below:
On linux test machine (RHEL AS release 4. JVM - IBM 1.4.2)
FIRST TIME REPRO: bug in testrun 335.
The attached jar - test335.jar has the entire test directory.
--------------------------------------------------------------------------------
> org.apache.derby.shared.common.sanity.AssertFailure: ASSERT FAILED shiftUp
> failed, low must be between 0 and recordCount. low = 101, recordCount = 2
> at
> org.apache.derby.impl.store.raw.data.BasePage.shiftUp(BasePage.java(Inlined
> Compiled Code))
> at
> org.apache.derby.impl.store.raw.data.StoredPage.storeRecordForInsert(StoredPage.java(Compiled
> Code))
> at
> org.apache.derby.impl.store.raw.data.StoredPage.storeRecord(StoredPage.java(Compiled
> Code))
> 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 = 101, recordCount = 2:
> org.apache.derby.shared.common.sanity.AssertFailure'.
-----------------------------------------------------------------
SECOND TIME REPRO: bug reproduced in testrun 379. test2_379.jar is attached
with the db and logs.
------------------------------------------------------------------------------------------
> org.apache.derby.shared.common.sanity.AssertFailure: ASSERT FAILED shiftUp
> failed, low must be between 0 and recordCount. low = 12, recordCount = 2
> at
> org.apache.derby.impl.store.raw.data.BasePage.shiftUp(BasePage.java(Inlined
> Compiled Code))
> at
> org.apache.derby.impl.store.raw.data.StoredPage.storeRecordForInsert(StoredPage.java(Compiled
> Code))
> at
> org.apache.derby.impl.store.raw.data.StoredPage.storeRecord(StoredPage.java(Compiled
> Code))
> 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 = 12, recordCount = 2:
> org.apache.derby.shared.common.sanity.AssertFailure'.
------------------------------------------------------------------------------------------
WINDOWS MACHINE:
On Windows on a similar hardware as the linux machine, I have not been able to
reproduce the failure so far. The test has run about 2208 times so far. I am
leaving the test running, to see if this bug will reproduce.
> Assert failure in BasePage.shiftUp() when running store/onlineBackupTest4.sql
> -----------------------------------------------------------------------------
>
> Key: DERBY-1248
> URL: http://issues.apache.org/jira/browse/DERBY-1248
> Project: Derby
> Type: Bug
> Components: Store, Regression Test Failure
> Versions: 10.2.0.0
> Environment: Sun JVM 1.5.0_04 on Solaris 10 x86. Derby from trunk (revision
> 396285). Sane build.
> Reporter: Knut Anders Hatlen
> Attachments: linuxfailure.zip, solarisfailure.zip, storemore.zip,
> test2_379.jar, test335.jar
>
> 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
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira