db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew McIntyre" <mcintyr...@gmail.com>
Subject Re: Questions about sanity test
Date Sat, 22 Apr 2006 06:57:40 GMT
On 3/7/06, Myrna van Lunteren <m.v.lunteren@gmail.com> wrote:
> On 3/7/06, Vemund Ostgaard <Vemund.Ostgaard@sun.com> wrote:
> > Warning: Cleanup failed on baseDir:
> > ~/derby/testruns/DerbyNetClient/supersimple
> >
> > I see that the DerbyNetClient catalog has an empty catalog named
> > supersimple and a supersimple.pass file. One level above there is a
> > derby_tests.policy file.
> >
> > Any idea why it might be that I get this warning, what is it the test
> > failed to clean up?
> I see that message too...it's been there as long as there have been network
> server tests, I think. I never bothered to investigate or try to fix the
> harness to actually remove what it reports it can't... The next time the
> test runs, it will successfully replace any files it created...So whatever
> it can't delete, is harmless. (except for possibly filling up the disk with
> empty directories, policy files and 1 liner .pass files).
> Anyone else have any history on this message?
> If you care, you could log it in JIRA as something that needs to be fixed,
> or at least explained/documented better in the java/testing/README.htm file.

This has been there for a long time, indeed. The test harness is
trying to delete the entire directory mentioned in the "Warning:
cleanup failed" message and attempting to do so (with File.delete())
fails. This could be due to a process still holding on to a file
descriptor for the directory mentioned or something still active in
the directory at that time. It's harmless, but could probably be
resolved if someone really had an itch to figure it out.


View raw message