You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Myrna van Lunteren (JIRA)" <ji...@apache.org> on 2013/06/25 23:53:20 UTC

[jira] [Resolved] (DERBY-5600) ) testReplication_Local_1_Indexing(org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun_Local_1Indexing)junit.framework.AssertionFailedError: Failover did not succeed at org.apache.derbyTesting.junit.BaseTestCase.fail(BaseTestCase.

     [ https://issues.apache.org/jira/browse/DERBY-5600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Myrna van Lunteren resolved DERBY-5600.
---------------------------------------

    Resolution: Cannot Reproduce

I have checked past test results and this test has not failed since December 2012, when we moved the vmware images these tests run on to a faster server...
                
> ) testReplication_Local_1_Indexing(org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun_Local_1Indexing)junit.framework.AssertionFailedError: Failover did not succeed 	at org.apache.derbyTesting.junit.BaseTestCase.fail(BaseTestCase.
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-5600
>                 URL: https://issues.apache.org/jira/browse/DERBY-5600
>             Project: Derby
>          Issue Type: Bug
>          Components: Network Server, Replication
>    Affects Versions: 10.8.3.0
>         Environment: Linux vmware 
>            Reporter: Kathey Marsden
>              Labels: derby_triage10_9
>
> Saw this on Feb 1 run 10.8.2.3.129442 Linux vmware
> testReplication_Local_1_Indexing(org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun_Local_1Indexing)junit.framework.AssertionFailedError: Failover did not succeed
> 	at org.apache.derbyTesting.junit.BaseTestCase.fail(BaseTestCase.java:813)
> 	at org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun.connectPing(ReplicationRun.java:359)
> 	at org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun_Local_1Indexing.testReplication_Local_1_Indexing(ReplicationRun_Local_1Indexing.java:102)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
> 	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java(Compiled Code))
> 	at org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun.runBare(ReplicationRun.java:222)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java(Inlined Compiled Code))
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java(Inlined Compiled Code))
> 	at junit.extensions.TestSetup.run(TestSetup.java(Compiled Code))
> Caused by: java.sql.SQLException: DERBY SQL error: SQLCODE: -1, SQLSTATE: 08004, SQLERRMC: Connection refused to database '/local1/cloudtst/dev/src/NightlyBuildResults.2012-02-01/ibm142_suites.All/db_slave/wombat' because it is in replication slave mode.
> 	at org.apache.derby.client.am.SQLExceptionFactory.getSQLException(Unknown Source)
> 	at org.apache.derby.client.am.SqlException.getSQLException(Unknown Source)
> 	at org.apache.derby.jdbc.ClientDriver.connect(Unknown Source)
> 	at java.sql.DriverManager.getConnection(DriverManager.java(Compiled Code))
> 	at java.sql.DriverManager.getConnection(DriverManager.java(Compiled Code))
> 	at org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun.connectPing(ReplicationRun.java:338)
> 	... 31 more
> Caused by: org.apache.derby.client.am.SqlException: DERBY SQL error: SQLCODE: -1, SQLSTATE: 08004, SQLERRMC: Connection refused to database '/local1/cloudtst/dev/src/NightlyBuildResults.2012-02-01/ibm142_suites.All/db_slave/wombat' because it is in replication slave mode.
> 	at org.apache.derby.client.am.Connection.completeSqlca(Unknown Source)
> 	at org.apache.derby.client.net.NetConnectionReply.parseRdbAccessFailed(Unknown Source)
> 	at org.apache.derby.client.net.NetConnectionReply.parseAccessRdbError(Unknown Source)
> 	at org.apache.derby.client.net.NetConnectionReply.parseACCRDBreply(Unknown Source)
> 	at org.apache.derby.client.net.NetConnectionReply.readAccessDatabase(Unknown Source)
> 	at org.apache.derby.client.net.NetConnection.readSecurityCheckAndAccessRdb(Unknown Source)
> 	at org.apache.derby.client.net.NetConnection.flowSecurityCheckAndAccessRdb(Unknown Source)
> 	at org.apache.derby.client.net.NetConnection.flowUSRIDONLconnect(Unknown Source)
> 	at org.apache.derby.client.net.NetConnection.flowConnect(Unknown Source)
> 	at org.apache.derby.client.net.NetConnection.<init>(Unknown Source)
> 	at org.apache.derby.client.net.Cl

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira