Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 28880 invoked from network); 16 Jun 2009 19:19:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Jun 2009 19:19:22 -0000 Received: (qmail 28287 invoked by uid 500); 16 Jun 2009 19:19:33 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 28245 invoked by uid 500); 16 Jun 2009 19:19:33 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 28237 invoked by uid 99); 16 Jun 2009 19:19:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Jun 2009 19:19:33 +0000 X-ASF-Spam-Status: No, hits=-1998.8 required=10.0 tests=ALL_TRUSTED,FS_REPLICA X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Jun 2009 19:19:29 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 55D0B234C044 for ; Tue, 16 Jun 2009 12:19:07 -0700 (PDT) Message-ID: <218346395.1245179947337.JavaMail.jira@brutus> Date: Tue, 16 Jun 2009 12:19:07 -0700 (PDT) From: "Lily Wei (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-4277) ReplicationRun_Local and ReplicationRun_Local_StateTest_part1 failed after testing fix of 4268 In-Reply-To: <2103982709.1245174067327.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-4277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lily Wei updated DERBY-4277: ---------------------------- Description: When testing the fix for bug 4268, ReplicationRun_Local and ReplicationRun_Local_StateTest_part1 failed. This is after revision: 785298. $ cat error-stacktrace.out [Error/failure logged at Tue Jun 16 22:15:46 PDT 2009] junit.framework.ComparisonFailure: Unexpected SQL state. expected:<...20> but wa s:<...07> at junit.framework.Assert.assertEquals(Assert.java:81) at org.apache.derbyTesting.junit.BaseJDBCTestCase.assertSQLState(BaseJDB CTestCase.java:762) at org.apache.derbyTesting.junit.BaseJDBCTestCase.assertSQLState(BaseJDB CTestCase.java:811) at org.apache.derbyTesting.functionTests.tests.replicationTests.Replicat ionRun.failOver_direct(ReplicationRun.java:1381) at org.apache.derbyTesting.functionTests.tests.replicationTests.Replicat ionRun.failOver(ReplicationRun.java:1302) at org.apache.derbyTesting.functionTests.tests.replicationTests.Replicat ionRun_Local.testReplication_Local_existingTestsAsReplLoad(ReplicationRun_Local. java:148) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java: 106) 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.extensions.TestDecorator.basicRun(TestDecorator.java:22) at junit.extensions.TestSetup$1.protect(TestSetup.java:19) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.extensions.TestSetup.run(TestSetup.java:23) 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 junit.textui.TestRunner.start(TestRunner.java:172) at junit.textui.TestRunner.main(TestRunner.java:138) Caused by: java.sql.SQLException: DERBY SQL error: SQLCODE: -1, SQLSTATE: XRE07, SQLERRMC: Could not perform operation because the database is not in replicatio n master mode. at org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(SQLE xceptionFactory40.java:96) at org.apache.derby.client.am.SqlException.getSQLException(SqlException. java:358) at org.apache.derby.jdbc.ClientDriver.connect(ClientDriver.java:149) at java.sql.DriverManager.getConnection(Unknown Source) at java.sql.DriverManager.getConnection(Unknown Source) at org.apache.derbyTesting.functionTests.tests.replicationTests.Replicat ionRun.failOver_direct(ReplicationRun.java:1368) ... 28 more Caused by: org.apache.derby.client.am.SqlException: DERBY SQL error: SQLCODE: -1 , SQLSTATE: XRE07, SQLERRMC: Could not perform operation because the database is not in replication master mode. at org.apache.derby.client.am.Connection.completeSqlca(Connection.java:2 075) at org.apache.derby.client.net.NetConnectionReply.parseRdbAccessFailed(N etConnectionReply.java:540) at org.apache.derby.client.net.NetConnectionReply.parseAccessRdbError(Ne tConnectionReply.java:433) at org.apache.derby.client.net.NetConnectionReply.parseACCRDBreply(NetCo nnectionReply.java:297) at org.apache.derby.client.net.NetConnectionReply.readAccessDatabase(Net ConnectionReply.java:121) at org.apache.derby.client.net.NetConnection.readSecurityCheckAndAccessR db(NetConnection.java:835) at org.apache.derby.client.net.NetConnection.flowSecurityCheckAndAccessR db(NetConnection.java:759) at org.apache.derby.client.net.NetConnection.flowUSRIDONLconnect(NetConn ection.java:592) at org.apache.derby.client.net.NetConnection.flowConnect(NetConnection.j ava:399) at org.apache.derby.client.net.NetConnection.(NetConnection.java:2 19) at org.apache.derby.client.net.NetConnection40.(NetConnection40.ja va:77) at org.apache.derby.client.net.ClientJDBCObjectFactoryImpl40.newNetConne ction(ClientJDBCObjectFactoryImpl40.java:269) at org.apache.derby.jdbc.ClientDriver.connect(ClientDriver.java:140) ... 31 more =====Trace for ReplicationRun_Local_StateTest_part1=========== [Error/failure logged at Tue Jun 16 22:19:28 PDT 2009] junit.framework.ComparisonFailure: Unexpected SQL state. expected:<...20> but wa s:<...07> at junit.framework.Assert.assertEquals(Assert.java:81) at org.apache.derbyTesting.junit.BaseJDBCTestCase.assertSQLState(BaseJDB CTestCase.java:762) at org.apache.derbyTesting.junit.BaseJDBCTestCase.assertSQLState(BaseJDB CTestCase.java:811) at org.apache.derbyTesting.functionTests.tests.replicationTests.Replicat ionRun.failOver_direct(ReplicationRun.java:1381) at org.apache.derbyTesting.functionTests.tests.replicationTests.Replicat ionRun.failOver(ReplicationRun.java:1302) at org.apache.derbyTesting.functionTests.tests.replicationTests.Replicat ionRun_Local_StateTest_part1.testReplication_Local_StateTest_part1(ReplicationRu n_Local_StateTest_part1.java:160) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java: 106) 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.extensions.TestDecorator.basicRun(TestDecorator.java:22) at junit.extensions.TestSetup$1.protect(TestSetup.java:19) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.extensions.TestSetup.run(TestSetup.java:23) 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 junit.textui.TestRunner.start(TestRunner.java:172) at junit.textui.TestRunner.main(TestRunner.java:138) Caused by: java.sql.SQLException: DERBY SQL error: SQLCODE: -1, SQLSTATE: XRE07, SQLERRMC: Could not perform operation because the database is not in replicatio n master mode. at org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(SQLE xceptionFactory40.java:96) at org.apache.derby.client.am.SqlException.getSQLException(SqlException. java:358) at org.apache.derby.jdbc.ClientDriver.connect(ClientDriver.java:149) at java.sql.DriverManager.getConnection(Unknown Source) at java.sql.DriverManager.getConnection(Unknown Source) at org.apache.derbyTesting.functionTests.tests.replicationTests.Replicat ionRun.failOver_direct(ReplicationRun.java:1368) ... 28 more Caused by: org.apache.derby.client.am.SqlException: DERBY SQL error: SQLCODE: -1 , SQLSTATE: XRE07, SQLERRMC: Could not perform operation because the database is not in replication master mode. at org.apache.derby.client.am.Connection.completeSqlca(Connection.java:2 075) at org.apache.derby.client.net.NetConnectionReply.parseRdbAccessFailed(N etConnectionReply.java:540) at org.apache.derby.client.net.NetConnectionReply.parseAccessRdbError(Ne tConnectionReply.java:433) at org.apache.derby.client.net.NetConnectionReply.parseACCRDBreply(NetCo nnectionReply.java:297) at org.apache.derby.client.net.NetConnectionReply.readAccessDatabase(Net ConnectionReply.java:121) at org.apache.derby.client.net.NetConnection.readSecurityCheckAndAccessR db(NetConnection.java:835) at org.apache.derby.client.net.NetConnection.flowSecurityCheckAndAccessR db(NetConnection.java:759) at org.apache.derby.client.net.NetConnection.flowUSRIDONLconnect(NetConn ection.java:592) at org.apache.derby.client.net.NetConnection.flowConnect(NetConnection.j ava:399) at org.apache.derby.client.net.NetConnection.(NetConnection.java:2 19) at org.apache.derby.client.net.NetConnection40.(NetConnection40.ja va:77) at org.apache.derby.client.net.ClientJDBCObjectFactoryImpl40.newNetConne ction(ClientJDBCObjectFactoryImpl40.java:269) at org.apache.derby.jdbc.ClientDriver.connect(ClientDriver.java:140) ... 31 more was:When testing the fix for bug 4268, ReplicationRun_Local and ReplicationRun_Local_StateTest_part1 failed. This is after revision: 785298. Affects Version/s: (was: 10.5.1.1) 10.6.0.0 > ReplicationRun_Local and ReplicationRun_Local_StateTest_part1 failed after testing fix of 4268 > ---------------------------------------------------------------------------------------------- > > Key: DERBY-4277 > URL: https://issues.apache.org/jira/browse/DERBY-4277 > Project: Derby > Issue Type: Bug > Components: Replication > Affects Versions: 10.6.0.0 > Reporter: Lily Wei > Priority: Minor > Attachments: derby-log.zipx, error-stacktrace-ReplicationRun_Local.out, error-stacktrace-ReplicationRun_Local_StateTest_part1.out > > > When testing the fix for bug 4268, ReplicationRun_Local and ReplicationRun_Local_StateTest_part1 failed. This is after revision: 785298. > $ cat error-stacktrace.out > [Error/failure logged at Tue Jun 16 22:15:46 PDT 2009] > junit.framework.ComparisonFailure: Unexpected SQL state. expected:<...20> but wa > s:<...07> > at junit.framework.Assert.assertEquals(Assert.java:81) > at org.apache.derbyTesting.junit.BaseJDBCTestCase.assertSQLState(BaseJDB > CTestCase.java:762) > at org.apache.derbyTesting.junit.BaseJDBCTestCase.assertSQLState(BaseJDB > CTestCase.java:811) > at org.apache.derbyTesting.functionTests.tests.replicationTests.Replicat > ionRun.failOver_direct(ReplicationRun.java:1381) > at org.apache.derbyTesting.functionTests.tests.replicationTests.Replicat > ionRun.failOver(ReplicationRun.java:1302) > at org.apache.derbyTesting.functionTests.tests.replicationTests.Replicat > ionRun_Local.testReplication_Local_existingTestsAsReplLoad(ReplicationRun_Local. > java:148) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > at java.lang.reflect.Method.invoke(Unknown Source) > at junit.framework.TestCase.runTest(TestCase.java:154) > at junit.framework.TestCase.runBare(TestCase.java:127) > at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java: > 106) > 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.extensions.TestDecorator.basicRun(TestDecorator.java:22) > at junit.extensions.TestSetup$1.protect(TestSetup.java:19) > at junit.framework.TestResult.runProtected(TestResult.java:124) > at junit.extensions.TestSetup.run(TestSetup.java:23) > 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 junit.textui.TestRunner.start(TestRunner.java:172) > at junit.textui.TestRunner.main(TestRunner.java:138) > Caused by: java.sql.SQLException: DERBY SQL error: SQLCODE: -1, SQLSTATE: XRE07, > SQLERRMC: Could not perform operation because the database is not in replicatio > n master mode. > at org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(SQLE > xceptionFactory40.java:96) > at org.apache.derby.client.am.SqlException.getSQLException(SqlException. > java:358) > at org.apache.derby.jdbc.ClientDriver.connect(ClientDriver.java:149) > at java.sql.DriverManager.getConnection(Unknown Source) > at java.sql.DriverManager.getConnection(Unknown Source) > at org.apache.derbyTesting.functionTests.tests.replicationTests.Replicat > ionRun.failOver_direct(ReplicationRun.java:1368) > ... 28 more > Caused by: org.apache.derby.client.am.SqlException: DERBY SQL error: SQLCODE: -1 > , SQLSTATE: XRE07, SQLERRMC: Could not perform operation because the database is > not in replication master mode. > at org.apache.derby.client.am.Connection.completeSqlca(Connection.java:2 > 075) > at org.apache.derby.client.net.NetConnectionReply.parseRdbAccessFailed(N > etConnectionReply.java:540) > at org.apache.derby.client.net.NetConnectionReply.parseAccessRdbError(Ne > tConnectionReply.java:433) > at org.apache.derby.client.net.NetConnectionReply.parseACCRDBreply(NetCo > nnectionReply.java:297) > at org.apache.derby.client.net.NetConnectionReply.readAccessDatabase(Net > ConnectionReply.java:121) > at org.apache.derby.client.net.NetConnection.readSecurityCheckAndAccessR > db(NetConnection.java:835) > at org.apache.derby.client.net.NetConnection.flowSecurityCheckAndAccessR > db(NetConnection.java:759) > at org.apache.derby.client.net.NetConnection.flowUSRIDONLconnect(NetConn > ection.java:592) > at org.apache.derby.client.net.NetConnection.flowConnect(NetConnection.j > ava:399) > at org.apache.derby.client.net.NetConnection.(NetConnection.java:2 > 19) > at org.apache.derby.client.net.NetConnection40.(NetConnection40.ja > va:77) > at org.apache.derby.client.net.ClientJDBCObjectFactoryImpl40.newNetConne > ction(ClientJDBCObjectFactoryImpl40.java:269) > at org.apache.derby.jdbc.ClientDriver.connect(ClientDriver.java:140) > ... 31 more > =====Trace for ReplicationRun_Local_StateTest_part1=========== > [Error/failure logged at Tue Jun 16 22:19:28 PDT 2009] > junit.framework.ComparisonFailure: Unexpected SQL state. expected:<...20> but wa > s:<...07> > at junit.framework.Assert.assertEquals(Assert.java:81) > at org.apache.derbyTesting.junit.BaseJDBCTestCase.assertSQLState(BaseJDB > CTestCase.java:762) > at org.apache.derbyTesting.junit.BaseJDBCTestCase.assertSQLState(BaseJDB > CTestCase.java:811) > at org.apache.derbyTesting.functionTests.tests.replicationTests.Replicat > ionRun.failOver_direct(ReplicationRun.java:1381) > at org.apache.derbyTesting.functionTests.tests.replicationTests.Replicat > ionRun.failOver(ReplicationRun.java:1302) > at org.apache.derbyTesting.functionTests.tests.replicationTests.Replicat > ionRun_Local_StateTest_part1.testReplication_Local_StateTest_part1(ReplicationRu > n_Local_StateTest_part1.java:160) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > at java.lang.reflect.Method.invoke(Unknown Source) > at junit.framework.TestCase.runTest(TestCase.java:154) > at junit.framework.TestCase.runBare(TestCase.java:127) > at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java: > 106) > 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.extensions.TestDecorator.basicRun(TestDecorator.java:22) > at junit.extensions.TestSetup$1.protect(TestSetup.java:19) > at junit.framework.TestResult.runProtected(TestResult.java:124) > at junit.extensions.TestSetup.run(TestSetup.java:23) > 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 junit.textui.TestRunner.start(TestRunner.java:172) > at junit.textui.TestRunner.main(TestRunner.java:138) > Caused by: java.sql.SQLException: DERBY SQL error: SQLCODE: -1, SQLSTATE: XRE07, > SQLERRMC: Could not perform operation because the database is not in replicatio > n master mode. > at org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(SQLE > xceptionFactory40.java:96) > at org.apache.derby.client.am.SqlException.getSQLException(SqlException. > java:358) > at org.apache.derby.jdbc.ClientDriver.connect(ClientDriver.java:149) > at java.sql.DriverManager.getConnection(Unknown Source) > at java.sql.DriverManager.getConnection(Unknown Source) > at org.apache.derbyTesting.functionTests.tests.replicationTests.Replicat > ionRun.failOver_direct(ReplicationRun.java:1368) > ... 28 more > Caused by: org.apache.derby.client.am.SqlException: DERBY SQL error: SQLCODE: -1 > , SQLSTATE: XRE07, SQLERRMC: Could not perform operation because the database is > not in replication master mode. > at org.apache.derby.client.am.Connection.completeSqlca(Connection.java:2 > 075) > at org.apache.derby.client.net.NetConnectionReply.parseRdbAccessFailed(N > etConnectionReply.java:540) > at org.apache.derby.client.net.NetConnectionReply.parseAccessRdbError(Ne > tConnectionReply.java:433) > at org.apache.derby.client.net.NetConnectionReply.parseACCRDBreply(NetCo > nnectionReply.java:297) > at org.apache.derby.client.net.NetConnectionReply.readAccessDatabase(Net > ConnectionReply.java:121) > at org.apache.derby.client.net.NetConnection.readSecurityCheckAndAccessR > db(NetConnection.java:835) > at org.apache.derby.client.net.NetConnection.flowSecurityCheckAndAccessR > db(NetConnection.java:759) > at org.apache.derby.client.net.NetConnection.flowUSRIDONLconnect(NetConn > ection.java:592) > at org.apache.derby.client.net.NetConnection.flowConnect(NetConnection.j > ava:399) > at org.apache.derby.client.net.NetConnection.(NetConnection.java:2 > 19) > at org.apache.derby.client.net.NetConnection40.(NetConnection40.ja > va:77) > at org.apache.derby.client.net.ClientJDBCObjectFactoryImpl40.newNetConne > ction(ClientJDBCObjectFactoryImpl40.java:269) > at org.apache.derby.jdbc.ClientDriver.connect(ClientDriver.java:140) > ... 31 more -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.