[ http://issues.apache.org/jira/browse/DERBY-1564?page=all ]

John H. Embretsen updated DERBY-1564:
-------------------------------------

    Attachment: port-wisconsin-from-10.2.0.4-to-10.1_v1.zip
                port-wisconsin-from-10.2.0.4-to-10.1_v1.stat

Attatching patch ('port-wisconsin-from-10.2.0.4-to-10.1_v1.zip') and output 
from 'svn stat -q' ('port-wisconsin-from-10.2.0.4-to-10.1_v1.stat') which 
attempts to port the wisconsin test from 10.2.0.4 (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.

NOTE:

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 10.2.0.4), 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 10.2.0.4 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: 10.2.0.0
>         Environment: Solaris Sparc, Java 5 or 6, DerbyNet or DerbyNetClient 
> framework.
>            Reporter: Andreas Korneliussen
>             Fix For: 10.2.0.0
>
>         Attachments: port-wisconsin-from-10.2.0.4-to-10.1_v1.stat, 
> port-wisconsin-from-10.2.0.4-to-10.1_v1.zip, wisconsin.tar.gz
>
>
> The wisconsin test failed on some Solaris (sparc) platforms during testing of 
> the 10.2.0.4 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 file.
> 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/10.2.0.4-Test-results-p5485739.html 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

        

Reply via email to