db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John H. Embretsen (JIRA)" <derby-...@db.apache.org>
Subject [jira] Updated: (DERBY-1564) wisconsin.java test failed in DerbyNet or DerbyNetClient frameworks, VM for network server got OutOfMemoryError
Date Wed, 16 Aug 2006 14:34:14 GMT
     [ http://issues.apache.org/jira/browse/DERBY-1564?page=all ]

John H. Embretsen updated DERBY-1564:

    Attachment: port-wisconsin-from-

Attatching patch ('port-wisconsin-from-') and output from 'svn stat
-q' ('port-wisconsin-from-') which attempts to port the wisconsin
test from (SVN revision 423199) to the current head of the 10.1 branch. The patch
is zipped because removal of two master files makes it 3.3 MB unzipped.


I had one build problem when applying this patch: 
wisc_setup.sql does not appear in /classes/org/apache/derbyTesting/functionTests/tests/lang/wisc_setup.sql
(and thus not in derbyTesting.jar) automatically by running 'ant all', and I have no idea
why not.

My quick fix was to manually copy wisc_setup.sql from its source location under java/ to its
build location under classes/ before building the jars, but after running 'ant all'.

Summary of changes:

- renames the test from lang/wisconsin.sql to lang/wisconsin.java (DERBY-398)
- adds wisc_setup.sql support file (DERBY-398)
- removes framework-specific master files (for DerbyNet and DerbyNetClient) (DERBY-822)
- runs compress on tables before retreiving runtimestatistics (DERBY-937)
- adds property derby.optimizer.noTimeout=true to wisconsin_derby.properties (DERBY-413/DERBY-937)

I have run the lang/wisconsin.java test with this patch applied to 10.1 using Sun's JVMs 1.4.2
and 1.5.0 in all three frameworks on a Solaris 10 x86 machine and a Solaris 9 sparc machine,
no failures.

However, since the rest of DERBY-822 is not in the 10.1 branch (but changes to seding and
output from this test is included in this patch since it was included in, we might
expect diffs on some platforms (?).
So, the changes related to DERBY-822 may have to be removed, but I'm uploading the patch anyway,
since I don't have time to dive deeper into this right now (not this week, at least), and
I have not seen any diffs so far.

Changes committed to trunk/10.2 after are not included, since then the IJ implementation
would have to change too (DERBY-1609).

Feel free to play with this patch. I may be able to upload a new patch if I get a solution
for the build problem and if someone can confirm that the 822-changes may cause problems.

> wisconsin.java test failed in DerbyNet or DerbyNetClient frameworks, VM for network server
got OutOfMemoryError
> ---------------------------------------------------------------------------------------------------------------
>                 Key: DERBY-1564
>                 URL: http://issues.apache.org/jira/browse/DERBY-1564
>             Project: Derby
>          Issue Type: Bug
>          Components: Network Server, Test, Regression Test Failure
>    Affects Versions:
>         Environment: Solaris Sparc, Java 5 or 6, DerbyNet or DerbyNetClient framework.
>            Reporter: Andreas Korneliussen
>             Fix For:
>         Attachments: port-wisconsin-from-, port-wisconsin-from-,
> The wisconsin test failed on some Solaris (sparc) platforms during testing of the
snapshot, in either the DerbyNet or DerbyNetClient framework. 
> No output in the outfile. On some platforms the DerbyNet.err file has one message:
> Exception in thread "Thread-2" java.lang.OutOfMemoryError: Java heap space
> On some platforms the OutOfMemoryError is also (or instead) reported in the derby.log
> All test machines had 2 CPUs and 2 GB of RAM.
> Here is a list of platforms where it failed:
> Java 6 (Mustang, build 91) :
> --------------------------------------------------
> Solaris 10 (sparc)
> derbyall/derbynetmats/derbynetmats.fail:lang/wisconsin.java
> Solaris 8 (sparcN-2)
> derbyall/derbynetmats/derbynetmats.fail:lang/wisconsin.java
> Solaris 10, local zone (sparc_zone1)
> derbyall/derbynetmats/derbynetmats.fail:lang/wisconsin.java
> Solaris 10, local zone (sparc_zone3)
> derbynetclientmats/derbynetmats/derbynetmats.fail:lang/wisconsin.java
> Solaris 10, global zone (zones)
> derbynetmats/derbynetmats.fail:lang/wisconsin.java
> Java 5 (Sun's HotSpot VM, v1.5.0):
> ---------------------------------------------------------------
> Solaris 9 (sparcN-1) 
> derbyall/derbynetclientmats/derbynetmats.fail:lang/wisconsin.java
> Solaris 8 (sparcN-2)
> derbyall/derbynetmats/derbynetmats.fail:lang/wisconsin.java 
> See http://www.nabble.com/ for details.

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


View raw message