Re: 'CVS-Unknown' buildfarm failures? - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: 'CVS-Unknown' buildfarm failures?
Date
Msg-id 44804B56.7010801@dunslane.net
Whole thread Raw
In response to Re: 'CVS-Unknown' buildfarm failures?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: 'CVS-Unknown' buildfarm failures?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> "Andrew Dunstan" <andrew@dunslane.net> writes:
>   
>> I strongly suspect that snake is hitting the "file/directory doesn't
>> disappear immediately when you unlink/rmdir" problem on Windows that we have
>> had to code around inside Postgres. It looks like cvs is trying to prune an
>> empty directory but isn't fast enough.
>>     
>
> Maybe "sleep 2" or so between "make distclean" and "cvs update" in the
> script would help?
>
>     
>   

buildfarm never does make distclean. It operates on a copy which it 
removes at the end of the run.

What's happening here is that cvs actually creates the directory and 
then later prunes it when it finds it is empty. Run strace on "cvs 
update" and then look for pg-config, or examine src/bin/CVS/Entries.Log 
and you should see what's going on. So we'd have to put the sleep inside 
cvs ...


cheers

andrew




pgsql-hackers by date:

Previous
From: Stefan Kaltenbrunner
Date:
Subject: Re: COPY (query) TO file
Next
From: Tom Lane
Date:
Subject: Re: 'CVS-Unknown' buildfarm failures?