lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <...@thetaphi.de>
Subject RE: Lucene Jenkins slave out of disk
Date Sat, 23 Apr 2011 22:27:54 GMT
Hi Robert,

On Hudson there is still one very bad test, all others are cleaned up:

[root@lucene /home/hudson/hudson-slave/workspace/Lucene-Solr-tests-only-trunk/checkout/lucene/build/test/4]#
ls -lh
total 1286544
-rw-------  1 hudson  hudson   602M Apr 23 22:00 core.java.9439
-rw-------  1 hudson  hudson   656M Apr 23 22:00 core.java.9440
-rw-r--r--  1 hudson  hudson    10K Apr 23 22:00 hs_err_pid9439.log
-rw-r--r--  1 hudson  hudson    11K Apr 23 22:00 hs_err_pid9440.log
-rw-r--r--  1 hudson  hudson     0B Apr 23 22:00 quiet.ant

This one should be cleaned up or we should disable coredumps... How to do this - for this
test we need no coredumps, maybe we can add a parameter to the ProcessBuilder?

That’s of course your JDK-crasher:

[...]
Stack: [0x00007ffffe4e9000,0x00007ffffe5e9000],  sp=0x00007ffffe5e8160,  free space=3fc0000000000000001k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x71bc61]
j  sun.misc.Unsafe.putAddress(JJ)V+0
v  ~StubRoutines::call_stub
[...]

Uwe

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de

> -----Original Message-----
> From: Robert Muir [mailto:rcmuir@gmail.com]
> Sent: Saturday, April 23, 2011 7:56 PM
> To: dev@lucene.apache.org; simon.willnauer@gmail.com
> Subject: Re: Lucene Jenkins slave out of disk
> 
> On Sat, Apr 23, 2011 at 4:17 AM, Simon Willnauer
> <simon.willnauer@googlemail.com> wrote:
> >> Addition:
> >> I meant such code to be replaced:
> >>
> >> -        indexDir = new File(workDir, "testIndex");
> >> +        indexDir = _TestUtil.getTempDir("testIndex");
> >
> 
> Thanks for merging Simon!
> 
> also, for what its worth, we should at some point review these tests creating
> explicit directories.
> 
> If a test wants to create an index, it can use newDirectory() or
> newFSDirectory(). The latter will only select filesystem-based
> implementations, never RAMDirectory, etc. When you use these methods, a
> unique temporary directory is automatically produced (and of course,
> deleted after the test if it passes).
> 
> Most of these tests probably don't care what the directories actual name is...
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional
> commands, e-mail: dev-help@lucene.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message