derbyall/storeall/storemore/OnlineBackupTest3 failed, unable to reproduce
-------------------------------------------------------------------------

         Key: DERBY-1418
         URL: http://issues.apache.org/jira/browse/DERBY-1418
     Project: Derby
        Type: Bug

  Components: Regression Test Failure  
    Versions: 10.2.0.0    
 Environment: Generating report for RunSuite derbyall  null null null true 
------------------ Java Information ------------------
Java Version:    1.4.2
Java Vendor:     IBM Corporation
Java home:       c:\cloudtst\jartest\ibm142\jre
Java classpath:  
c:/cloudtst/jartest/classes/derby.jar;c:/cloudtst/jartest/classes/derbyLocale_zh_TW.jar;c:/cloudtst/jartest/classes/derbyLocale_zh_CN.jar;c:/cloudtst/jartest/classes/derbyLocale_pt_BR.jar;c:/cloudtst/jartest/classes/derbyLocale_ko_KR.jar;c:/cloudtst/jartest/classes/derbyLocale_ja_JP.jar;c:/cloudtst/jartest/classes/derbyLocale_it.jar;c:/cloudtst/jartest/classes/derbyLocale_fr.jar;c:/cloudtst/jartest/classes/derbyLocale_es.jar;c:/cloudtst/jartest/classes/derbyLocale_de_DE.jar;c:/cloudtst/jartest/classes/derbytools.jar;c:/cloudtst/jartest/classes/derbynet.jar;c:/cloudtst/jartest/classes/derbyclient.jar;;c:/cloudtst/jartest/classes/derbyrun.jar;c:/cloudtst/jartest/classes/derbyTesting.jar;c:/cloudtst/jartest/classes/maps.jar;c:/cloudtst/jartest/classes/functionTests.jar;c:/cloudtst/jartest/classes/csext.jar;c:/cloudtst/jartest/tools/java/junit.jar;c:/cloudtst/jartest/tools/java/jndi/fscontext.jar;c:/cloudtst/jartest/tools/java/RmiJdbc.jar;c:/cloudtst/jartest/drda/jcc/2.6/db2jcc.jar;c:/cloudtst/jartest/drda/jcc/2.6/db2jcc_license_c.jar
OS name:         Windows XP
OS architecture: x86
OS version:      5.1
Java user name:  cloudtest
Java user home:  C:\Documents and Settings\cloudtest
Java user dir:   C:\cloudtst\jartest\JarResults.2006-06-13\ibm142_derbyall
java.specification.name: Java Platform API Specification
java.specification.version: 1.4
--------- Derby Information --------
JRE - JDBC: J2SE 1.4.2 - JDBC 3.0
[C:\cloudtst\jartest\classes\derby.jar] 10.2.0.4 alpha - (414016)
[C:\cloudtst\jartest\classes\derbytools.jar] 10.2.0.4 alpha - (414016)
[C:\cloudtst\jartest\classes\derbynet.jar] 10.2.0.4 alpha - (414016)
[C:\cloudtst\jartest\classes\derbyclient.jar] 10.2.0.4 alpha - (414016)
[C:\cloudtst\jartest\drda\jcc\2.6\db2jcc.jar] 2.6 - (90)
[C:\cloudtst\jartest\drda\jcc\2.6\db2jcc_license_c.jar] 2.6 - (90)
------------------------------------------------------
----------------- Locale Information -----------------
Current Locale :  [English/United States [en_US]]
Found support for locale: [de_DE]
         version: 10.2.0.4 alpha - (414016)
Found support for locale: [es]
         version: 10.2.0.4 alpha - (414016)
Found support for locale: [fr]
         version: 10.2.0.4 alpha - (414016)
Found support for locale: [it]
         version: 10.2.0.4 alpha - (414016)
Found support for locale: [ja_JP]
         version: 10.2.0.4 alpha - (414016)
Found support for locale: [ko_KR]
         version: 10.2.0.4 alpha - (414016)
Found support for locale: [pt_BR]
         version: 10.2.0.4 alpha - (414016)
Found support for locale: [zh_CN]
         version: 10.2.0.4 alpha - (414016)
Found support for locale: [zh_TW]
         version: 10.2.0.4 alpha - (414016)
------------------------------------------------------

    Reporter: Mike Matrigali
    Priority: Minor
     Fix For: 10.2.0.0


The same test passed on the same machine and the same jvm the next night.  It 
also passed against jdk15 against the
same build on the same machine the night it failed.  Have only seen this error 
once, if anyone else sees this please add the
info to this jira.


Here is the diff:
*** Start: OnlineBackupTest3 jdk1.4.2 storeall:storemore 2006-06-14 05:35:34 ***
29 del
< Backup-4 Completed
30 del
< obtest_customer.jar remove is complete
31 del
< No of rows in table t1: 8
32 del
< No of rows in table customer: 2
33 del
< database shutdown properly
34 del
< Restored From the Backup
35 del
< No of rows in table t1: 7
36 del
< No of rows in table customer: 2
37 del
< ERROR 42X96: The database class path contains an unknown jar file 
'"APP"."MATH_ROUTINES"'.
38 del
< database shutdown properly
39 del
< End Of Remove Jar Test.
40 del
< End Online Backup Test3
40 add
> ERROR XSRS4: Error renaming file (during backup) from 
> extinout\onlinebackuptest3\wombat to extinout\onlinebackuptest3\wombat.OLD.
> ERROR XSRS4: Error renaming file (during backup) from 
> extinout\onlinebackuptest3\wombat to extinout\onlinebackuptest3\wombat.OLD.
>       at sun.reflect.NativeMethodAccException in thread "main" 
> java.lang.Exception: BACKUP FAILED:Error renaming file (during backup) from 
> extinout\onlinebackuptest3\wombat to extinout\onlinebackuptest3\wombat.OLD.
> essorImpl.invoke(NativeMethodAccessorImpl.java:58)
Test Failed.
*** End:   OnlineBackupTest3 jdk1.4.2 storeall:storemore 2006-06-14 05:36:43 ***

Here is the complete derby.log:
----------------------------------------------------------------
2006-06-14 12:35:34.806 GMT:
 Booting Derby version The Apache Software Foundation - Apache Derby - 10.2.0.4 
alpha - (414016): instance c013800d-010b-d28a-1c5b-ffff909f4c1f
on database directory 
C:\cloudtst\jartest\JarResults.2006-06-13\ibm142_derbyall\derbyall\storeall\storemore\OnlineBackupTest3\wombat
  

Database Class Loader started - derby.database.classpath=''
2006-06-14 12:35:47.992 GMT Thread[main,5,main] (XID = 129), (SESSIONID = 2), 
(DATABASE = wombat), (DRDAID = null), Cleanup action starting
2006-06-14 12:35:47.992 GMT Thread[main,5,main] (XID = 129), (SESSIONID = 2), 
(DATABASE = wombat), (DRDAID = null), Failed Statement is: call 
SYSCS_UTIL.SYSCS_BACKUP_DATABASE_NOWAIT('extinout/mybackup')
ERROR XSRSA: Cannot backup the database when unlogged operations are 
uncommitted. Please commit the transactions with backup blocking operations. 
        at 
org.apache.derby.iapi.error.StandardException.newException(StandardException.java:294)
        at org.apache.derby.impl.store.raw.RawStore.backup(RawStore.java:611)
        at 
org.apache.derby.impl.store.access.RAMAccessManager.backup(RAMAccessManager.java:932)
        at org.apache.derby.impl.db.BasicDatabase.backup(BasicDatabase.java:335)
        at 
org.apache.derby.catalog.SystemProcedures.SYSCS_BACKUP_DATABASE_NOWAIT(SystemProcedures.java:801)
        at 
org.apache.derby.exe.ace8d54087x010bxd28ax1c5bxffff909f4c1f0.g0(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
        at java.lang.reflect.Method.invoke(Method.java:391)
        at 
org.apache.derby.impl.services.reflect.ReflectMethod.invoke(ReflectMethod.java:45)
        at 
org.apache.derby.impl.sql.execute.CallStatementResultSet.open(CallStatementResultSet.java:67)
        at 
org.apache.derby.impl.sql.GenericPreparedStatement.execute(GenericPreparedStatement.java:361)
        at 
org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(EmbedStatement.java:1181)
        at 
org.apache.derby.impl.jdbc.EmbedStatement.execute(EmbedStatement.java:584)
        at 
org.apache.derby.impl.jdbc.EmbedStatement.execute(EmbedStatement.java:516)
        at 
org.apache.derbyTesting.functionTests.tests.store.OnlineBackupTest3.installJarTest(OnlineBackupTest3.java:165)
        at 
org.apache.derbyTesting.functionTests.tests.store.OnlineBackupTest3.runTest(OnlineBackupTest3.java:90)
        at 
org.apache.derbyTesting.functionTests.tests.store.OnlineBackupTest3.main(OnlineBackupTest3.java:49)
Cleanup action completed
Database Class Loader started - derby.database.classpath='APP.math_routines'
Database Class Loader started - 
derby.database.classpath='APP.customer_app:APP.math_routines'
Database Class Loader started - 
derby.database.classpath='APP.customer_app:APP.math_routines'
Loaded org.apache.derbyTesting.backupRestore.Customer from database jar 
"APP"."CUSTOMER_APP"

2006-06-14 12:36:16.094 GMT:
Shutting down instance c013800d-010b-d28a-1c5b-ffff909f4c1f
----------------------------------------------------------------
----------------------------------------------------------------
2006-06-14 12:36:24.666 GMT:
 Booting Derby version The Apache Software Foundation - Apache Derby - 10.2.0.4 
alpha - (414016): instance d381409a-010b-d28a-1c5b-ffff909f4c1f
on database directory 
C:\cloudtst\jartest\JarResults.2006-06-13\ibm142_derbyall\derbyall\storeall\storemore\OnlineBackupTest3\wombat
  

Database Class Loader started - derby.database.classpath='APP.math_routines'
Loaded dbytesting.CodeInAJar from database jar "APP"."MATH_ROUTINES"
2006-06-14 12:36:26.630 GMT Thread[main,5,main] (XID = 163), (SESSIONID = 1), 
(DATABASE = wombat), (DRDAID = null), Cleanup action starting
2006-06-14 12:36:26.630 GMT Thread[main,5,main] (XID = 163), (SESSIONID = 1), 
(DATABASE = wombat), (DRDAID = null), Failed Statement is: CALL 
SYSCS_UTIL.SYSCS_SET_DATABASE_PROPERTY( 'derby.database.classpath', 
'APP.customer_app:APP.math_routines') 
ERROR 42X96: The database class path contains an unknown jar file 
'"APP"."CUSTOMER_APP"'.
        at 
org.apache.derby.iapi.error.StandardException.newException(StandardException.java:304)
        at 
org.apache.derby.impl.db.BasicDatabase.validate(BasicDatabase.java:635)
        at 
org.apache.derby.iapi.services.property.PropertyValidation.doValidateApplyAndMap(PropertyValidation.java:60)
        at 
org.apache.derby.impl.store.access.PropertyConglomerate.validateApplyAndMap(PropertyConglomerate.java:385)
        at 
org.apache.derby.impl.store.access.PropertyConglomerate.setProperty(PropertyConglomerate.java:514)
        at 
org.apache.derby.impl.store.access.RAMTransaction.setProperty(RAMTransaction.java:1787)
        at 
org.apache.derby.iapi.db.PropertyInfo.setDatabaseProperty(PropertyInfo.java:128)
        at 
org.apache.derby.catalog.SystemProcedures.SYSCS_SET_DATABASE_PROPERTY(SystemProcedures.java:668)
        at 
org.apache.derby.exe.ac23ce809cx010bxd28ax1c5bxffff909f4c1f3.g0(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
        at java.lang.reflect.Method.invoke(Method.java:391)
        at 
org.apache.derby.impl.services.reflect.ReflectMethod.invoke(ReflectMethod.java:45)
        at 
org.apache.derby.impl.sql.execute.CallStatementResultSet.open(CallStatementResultSet.java:67)
        at 
org.apache.derby.impl.sql.GenericPreparedStatement.execute(GenericPreparedStatement.java:361)
        at 
org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(EmbedStatement.java:1181)
        at 
org.apache.derby.impl.jdbc.EmbedStatement.execute(EmbedStatement.java:584)
        at 
org.apache.derby.impl.jdbc.EmbedStatement.execute(EmbedStatement.java:516)
        at 
org.apache.derbyTesting.functionTests.tests.store.OnlineBackupTest3.installJarTest(OnlineBackupTest3.java:302)
        at 
org.apache.derbyTesting.functionTests.tests.store.OnlineBackupTest3.runTest(OnlineBackupTest3.java:90)
        at 
org.apache.derbyTesting.functionTests.tests.store.OnlineBackupTest3.main(OnlineBackupTest3.java:49)
Cleanup action completed

2006-06-14 12:36:26.895 GMT:
Shutting down instance d381409a-010b-d28a-1c5b-ffff909f4c1f
----------------------------------------------------------------
----------------------------------------------------------------
2006-06-14 12:36:27.019 GMT:
 Booting Derby version The Apache Software Foundation - Apache Derby - 10.2.0.4 
alpha - (414016): instance 846c00a0-010b-d28a-1c5b-ffff909f4c1f
on database directory 
C:\cloudtst\jartest\JarResults.2006-06-13\ibm142_derbyall\derbyall\storeall\storemore\OnlineBackupTest3\wombat
  

Database Class Loader started - derby.database.classpath='APP.math_routines'
Database Class Loader started - derby.database.classpath=''
2006-06-14 12:36:27.690 GMT Thread[main,5,main] (XID = 172), (SESSIONID = 1), 
(DATABASE = wombat), (DRDAID = null), Cleanup action starting
2006-06-14 12:36:27.690 GMT Thread[main,5,main] (XID = 172), (SESSIONID = 1), 
(DATABASE = wombat), (DRDAID = null), Failed Statement is: call 
SYSCS_UTIL.SYSCS_BACKUP_DATABASE_NOWAIT('extinout/mybackup')
ERROR XSRSA: Cannot backup the database when unlogged operations are 
uncommitted. Please commit the transactions with backup blocking operations. 
        at 
org.apache.derby.iapi.error.StandardException.newException(StandardException.java:294)
        at org.apache.derby.impl.store.raw.RawStore.backup(RawStore.java:611)
        at 
org.apache.derby.impl.store.access.RAMAccessManager.backup(RAMAccessManager.java:932)
        at org.apache.derby.impl.db.BasicDatabase.backup(BasicDatabase.java:335)
        at 
org.apache.derby.catalog.SystemProcedures.SYSCS_BACKUP_DATABASE_NOWAIT(SystemProcedures.java:801)
        at 
org.apache.derby.exe.aced8940a7x010bxd28ax1c5bxffff909f4c1f0.g0(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
        at java.lang.reflect.Method.invoke(Method.java:391)
        at 
org.apache.derby.impl.services.reflect.ReflectMethod.invoke(ReflectMethod.java:45)
        at 
org.apache.derby.impl.sql.execute.CallStatementResultSet.open(CallStatementResultSet.java:67)
        at 
org.apache.derby.impl.sql.GenericPreparedStatement.execute(GenericPreparedStatement.java:361)
        at 
org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(EmbedStatement.java:1181)
        at 
org.apache.derby.impl.jdbc.EmbedStatement.execute(EmbedStatement.java:584)
        at 
org.apache.derby.impl.jdbc.EmbedStatement.execute(EmbedStatement.java:516)
        at 
org.apache.derbyTesting.functionTests.tests.store.OnlineBackupTest3.removeJarTest(OnlineBackupTest3.java:356)
        at 
org.apache.derbyTesting.functionTests.tests.store.OnlineBackupTest3.runTest(OnlineBackupTest3.java:94)
        at 
org.apache.derbyTesting.functionTests.tests.store.OnlineBackupTest3.main(OnlineBackupTest3.java:49)
Cleanup action completed
2006-06-14 12:36:43.042 GMT Thread[BACKUP4,5,main] (XID = 190), (SESSIONID = 
3), (DATABASE = wombat), (DRDAID = null), Cleanup action starting
2006-06-14 12:36:43.042 GMT Thread[BACKUP4,5,main] (XID = 190), (SESSIONID = 
3), (DATABASE = wombat), (DRDAID = null), Failed Statement is: CALL 
SYSCS_UTIL.SYSCS_BACKUP_DATABASE(?)
ERROR XSRS4: Error renaming file (during backup) from 
extinout\onlinebackuptest3\wombat to extinout\onlinebackuptest3\wombat.OLD.
        at 
org.apache.derby.iapi.error.StandardException.newException(StandardException.java:315)
        at org.apache.derby.impl.store.raw.RawStore.backup(RawStore.java:718)
        at org.apache.derby.impl.store.raw.RawStore.backup(RawStore.java:616)
        at 
org.apache.derby.impl.store.access.RAMAccessManager.backup(RAMAccessManager.java:932)
        at org.apache.derby.impl.db.BasicDatabase.backup(BasicDatabase.java:335)
        at 
org.apache.derby.catalog.SystemProcedures.SYSCS_BACKUP_DATABASE(SystemProcedures.java:779)
        at 
org.apache.derby.exe.ac070a00b0x010bxd28ax1c5bxffff909f4c1f0.g0(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
        at java.lang.reflect.Method.invoke(Method.java:391)
        at 
org.apache.derby.impl.services.reflect.ReflectMethod.invoke(ReflectMethod.java:45)
        at 
org.apache.derby.impl.sql.execute.CallStatementResultSet.open(CallStatementResultSet.java:67)
        at 
org.apache.derby.impl.sql.GenericPreparedStatement.execute(GenericPreparedStatement.java:361)
        at 
org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(EmbedStatement.java:1181)
        at 
org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(EmbedPreparedStatement.java:1455)
        at 
org.apache.derby.impl.jdbc.EmbedCallableStatement.executeStatement(EmbedCallableStatement.java:109)
        at 
org.apache.derby.impl.jdbc.EmbedPreparedStatement.execute(EmbedPreparedStatement.java:1133)
        at 
org.apache.derbyTesting.functionTests.tests.store.OnlineBackup.performBackup(OnlineBackup.java:89)
        at 
org.apache.derbyTesting.functionTests.tests.store.OnlineBackup.run(OnlineBackup.java:60)
        at java.lang.Thread.run(Thread.java:570)
Cleanup action completed


-- 
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

Reply via email to