db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Knut Anders Hatlen <knut.hat...@oracle.com>
Subject Re: [Java DB - testing] Error nightly trunk (rev 1443109)
Date Thu, 07 Feb 2013 15:16:21 GMT
Myrna van Lunteren <m.v.lunteren@gmail.com> writes:

> On Thu, Feb 7, 2013 at 12:02 AM,  <rick.hillegas@oracle.com> wrote:
>> Java DB testing and reporting infrastructure.
>>
>> Error nightly trunk (rev 1443109)
>>
>> 1 errors.
>>
>> Test report:  http://download.java.net/javadesktop/derby/javadb-5572073-report/
>
> I wonder how to read the report - at the top it shows 1 error, but I
> don't actually see that test fail. Is there more to the report or is
> there a Jenkins issue here?

Hi Myrna,

The stack traces are a little tricky to find if you don't know where to
look.

If I click on the link above, I see a line that says:

16717 	org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun_Local_StateTest_part1_2.testReplication_Local_StateTest_part1_2
	17.969 s

That's the test case that failed.

If I click anywhere on that line, it expands and shows the stack trace:

java.sql.SQLException: DERBY SQL error: ERRORCODE: 0, SQLSTATE: XJ001, SQLERRMC: org.apache.derby.shared.common.sanity.AssertFailureASSERT
FAILED connection is closedXJ001.U
	at org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(SQLExceptionFactory40.java:108)
	at org.apache.derby.client.am.SqlException.getSQLException(SqlException.java:364)
	at org.apache.derby.jdbc.ClientDriver.connect(ClientDriver.java:173)
	at java.sql.DriverManager.getConnection(DriverManager.java:582)
	at java.sql.DriverManager.getConnection(DriverManager.java:207)
	at org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun_Local_StateTest_part1_2._testPostStartedMasterAndSlave_StopMaster(ReplicationRun_Local_StateTest_part1_2.java:226)
	at org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun_Local_StateTest_part1_2.testReplication_Local_StateTest_part1_2(ReplicationRun_Local_StateTest_part1_2.java:137)
	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:117)
	at org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun.runBare(ReplicationRun.java:247)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
	at junit.extensions.TestSetup.run(TestSetup.java:25)
Caused by: org.apache.derby.client.am.SqlException: DERBY SQL error: ERRORCODE: 0, SQLSTATE:
XJ001, SQLERRMC: org.apache.derby.shared.common.sanity.AssertFailureASSERT FAILED connection
is closedXJ001.U
	at org.apache.derby.client.am.Connection.completeSqlca(Connection.java:2156)
	at org.apache.derby.client.net.NetConnectionReply.parseRdbAccessFailed(NetConnectionReply.java:497)
	at org.apache.derby.client.net.NetConnectionReply.parseAccessRdbError(NetConnectionReply.java:390)
	at org.apache.derby.client.net.NetConnectionReply.parseACCRDBreply(NetConnectionReply.java:253)
	at org.apache.derby.client.net.NetConnectionReply.readAccessDatabase(NetConnectionReply.java:80)
	at org.apache.derby.client.net.NetConnection.readSecurityCheckAndAccessRdb(NetConnection.java:829)
	at org.apache.derby.client.net.NetConnection.flowSecurityCheckAndAccessRdb(NetConnection.java:765)
	at org.apache.derby.client.net.NetConnection.flowUSRIDONLconnect(NetConnection.java:606)
	at org.apache.derby.client.net.NetConnection.flowConnect(NetConnection.java:413)
	at org.apache.derby.client.net.NetConnection.<init>(NetConnection.java:223)
	at org.apache.derby.client.net.NetConnection40.<init>(NetConnection40.java:74)
	at org.apache.derby.client.net.ClientJDBCObjectFactoryImpl40.newNetConnection(ClientJDBCObjectFactoryImpl40.java:259)
	at org.apache.derby.jdbc.ClientDriver.connect(ClientDriver.java:164)

Hope this helps.

-- 
Knut Anders

Mime
View raw message