You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by Andrew McIntyre <mc...@gmail.com> on 2006/04/22 08:57:40 UTC

Re: Questions about sanity test

On 3/7/06, Myrna van Lunteren <m....@gmail.com> wrote:
> On 3/7/06, Vemund Ostgaard <Ve...@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.

andrew