Re: 'CVS-Unknown' buildfarm failures?

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: 'CVS-Unknown' buildfarm failures?
Дата
Msg-id 44804B56.7010801@dunslane.net
обсуждение исходный текст
Ответ на Re: 'CVS-Unknown' buildfarm failures?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: 'CVS-Unknown' buildfarm failures?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Stefan Kaltenbrunner
Дата:
Сообщение: Re: COPY (query) TO file
Следующее
От: Tom Lane
Дата:
Сообщение: Re: 'CVS-Unknown' buildfarm failures?