[
https://issues.apache.org/jira/browse/DERBY-6756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Myrna van Lunteren updated DERBY-6756:
--------------------------------------
Attachment: jarcontents_at1629721.out
jarcontents_at1602332.out
Attaching the output of a script doing jar -tvf for a build of the 10.10 branch
at revision 1629721 (from June 13) and sync-ed up to what was current about 15
minutes ago (revision 1629721).
The only new file that I see in two places is StringUtil (from revision 1629283
for DERBY-5618) - it's now in derbyclient.jar as well as derby.jar.
Could that be the cause?
> intermittent test failure with 10.10 in
> tests.compatibility.VersionedNetworkServerTestSetup and
> ClientCompatibilityRunControl
> -----------------------------------------------------------------------------------------------------------------------------
>
> Key: DERBY-6756
> URL: https://issues.apache.org/jira/browse/DERBY-6756
> Project: Derby
> Issue Type: Bug
> Components: Test
> Affects Versions: 10.10.2.1
> Reporter: Myrna van Lunteren
> Attachments: jarcontents_at1602332.out, jarcontents_at1629721.out
>
>
> After the workaround of DERBY-6739, it seems there is now an intermittent
> test failure happening wih the 10.10 compatibility suite.
> See:
> http://download.java.net/javadesktop/derby/request_5597173
> which shows failures with Linux_ia32_jdk6, Linux_jdk8-compact2, and
> Solaris_amd64_jdk6, but no others. However on this run:
> http://download.java.net/javadesktop/derby/request_5597153
> shows failures with Linux_amd64_jdk7, Solaris_amd64_jdk6 and
> Solaris_amd64_jdk7.
> I did not see this failure with the IBM test runs, but those run on fewer
> platforms.
> There's typically 2 failures, and one error.
> The error has no information.
> Not every failure has the 2nd failure.
> In each case where we have the 2nd failure, it's with the combination client
> 10.10.2.1 <> server 10.9.1.0)
> The stack trace for the two failures is (from:
> http://download.java.net/javadesktop/derby/request_5597153/javadb-task-3946133.html,
> Solaris_amd64_jdk7):
> 1)
> org.apache.derbyTesting.functionTests.tests.compatibility.VersionedNetworkServerTestSetup.unknown
>
> junit.framework.AssertionFailedError: server failed to come up:Spawned
> NetworkServerControl exitCode=1
> STDERR:
> Exception in thread "main" java.lang.ExceptionInInitializerError
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:190)
> at
> org.apache.derby.impl.drda.NetworkServerControlImpl.startNetworkServer(NetworkServerControlImpl.java:1031)
> at
> org.apache.derby.impl.drda.NetworkServerControlImpl.blockingStart(NetworkServerControlImpl.java:731)
> at
> org.apache.derby.impl.drda.NetworkServerControlImpl.executeWork(NetworkServerControlImpl.java:2279)
> at
> org.apache.derby.drda.NetworkServerControl.main(NetworkServerControl.java:351)
> Caused by: java.lang.SecurityException: sealing violation: package
> org.apache.derby.iapi.util is sealed
> at java.net.URLClassLoader.getAndVerifyPackage(URLClassLoader.java:388)
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:417)
> at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
> at java.lang.Class.getDeclaredMethods0(Native Method)
> at java.lang.Class.privateGetDeclaredMethods(Class.java:2570)
> at java.lang.Class.getMethod0(Class.java:2813)
> at java.lang.Class.getMethod0(Class.java:2822)
> at java.lang.Class.getMethod(Class.java:1663)
> at
> org.apache.derby.impl.services.monitor.BaseMonitor.getImplementations(BaseMonitor.java:1177)
> at
> org.apache.derby.impl.services.monitor.BaseMonitor.getDefaultImplementations(BaseMonitor.java:1239)
> at
> org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(BaseMonitor.java:295)
> at
> org.apache.derby.impl.services.monitor.FileMonitor.<init>(FileMonitor.java:58)
> at
> org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Monitor.java:285)
> at org.apache.derby.iapi.jdbc.JDBCBoot.boot(JDBCBoot.java:67)
> at org.apache.derby.jdbc.EmbeddedDriver.boot(EmbeddedDriver.java:196)
> at org.apache.derby.jdbc.EmbeddedDriver.<clinit>(EmbeddedDriver.java:92)
> at
> org.apache.derbyTesting.functionTests.tests.compatibility.VersionedNetworkServerTestSetup.setUp(VersionedNetworkServerTestSetup.java:109)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:20)
> at junit.extensions.TestSetup.run(TestSetup.java:25)
> at
> org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> 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)
> 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)
> ---------------
> 2)
> org.apache.derbyTesting.functionTests.tests.compatibility.ClientCompatibilityRunControl.combination(client
> 10.10.2.1 <> server 10.9.1.0)
> junit.framework.AssertionFailedError: client VM failed: :Spawned
> combination(client 10.10.2.1 <> server 10.9.1.0) exitCode=1
> STDOUT:
> E
> Time: 0.18
> There was 1 error:
> 1) JDBCDriverTest suitejava.sql.SQLException: DERBY SQL error: ERRORCODE: 0,
> SQLSTATE: XJ040, SQLERRMC: Failed to start database 'wombat' with class
> loader sun.misc.Launcher$AppClassLoader@67f797, see the next exception for
> details.::SQLSTATE: XSLANDatabase at
> /localhome/tendril4.2/work/run/27875377/junit/wombat has an incompatible
> format with the current version of the software. The database was created by
> or upgraded by version 10.10.
> at
> org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(SQLExceptionFactory40.java:112)
> at
> org.apache.derby.client.am.SqlException.getSQLException(SqlException.java:364)
> at org.apache.derby.jdbc.ClientDriver.connect(ClientDriver.java:176)
> at java.sql.DriverManager.getConnection(DriverManager.java:571)
> at java.sql.DriverManager.getConnection(DriverManager.java:187)
> at
> org.apache.derbyTesting.junit.DriverManagerConnector.openConnection(DriverManagerConnector.java:100)
> at
> org.apache.derbyTesting.junit.DriverManagerConnector.openConnection(DriverManagerConnector.java:67)
> at
> org.apache.derbyTesting.junit.DriverManagerConnector.openConnection(DriverManagerConnector.java:43)
> at
> org.apache.derbyTesting.junit.TestConfiguration.openDefaultConnection(TestConfiguration.java:1718)
> at
> org.apache.derbyTesting.junit.BaseJDBCTestSetup.getConnection(BaseJDBCTestSetup.java:72)
> at
> org.apache.derbyTesting.functionTests.tests.compatibility.JDBCDriverTest$1.setUp(JDBCDriverTest.java:1360)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:20)
> at junit.extensions.TestSetup.run(TestSetup.java:25)
> at
> org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> 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: XJ040, SQLERRMC: Failed to start database 'wombat'
> with class loader sun.misc.Launcher$AppClassLoader@67f797, see the next
> exception for details.::SQLSTATE: XSLANDatabase at
> /localhome/tendril4.2/work/run/27875377/junit/wombat has an incompatible
> format with the current version of the software. The database was created by
> or upgraded by version 10.10.
> at
> org.apache.derby.client.am.Connection.completeSqlca(Connection.java:2184)
> 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:849)
> at
> org.apache.derby.client.net.NetConnection.flowSecurityCheckAndAccessRdb(NetConnection.java:785)
> at
> org.apache.derby.client.net.NetConnection.flowUSRIDPWDconnect(NetConnection.java:614)
> at
> org.apache.derby.client.net.NetConnection.flowConnect(NetConnection.java:409)
> 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:168)
> FAILURES!!!
> Tests run: 0, Failures: 0, Errors: 1
> at
> org.apache.derbyTesting.functionTests.tests.compatibility.ClientCompatibilityRunControl.testClient(ClientCompatibilityRunControl.java:112)
> at
> org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:119)
> at
> org.apache.derbyTesting.junit.BaseJDBCTestCase.runBareOverridable(BaseJDBCTestCase.java:442)
> at
> org.apache.derbyTesting.junit.BaseJDBCTestCase.runBare(BaseJDBCTestCase.java:459)
> 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)
> at
> org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> 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)
> 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)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)