Обсуждение: [buildfarm-members] git failures

Поиск
Список
Период
Сортировка

[buildfarm-members] git failures

От
Andrew Dunstan
Дата:
Recently a number of git failures have been seen like this:


    *** Please tell me who you are.

    Run

       git config --global user.email "you@example.com"
       git config --global user.name "Your Name"

    to set your account's default identity.
    Omit --global to set the identity only in this repository.

    fatal: empty ident  <pgbuildfarm@ajivana.pg.osuosl.org
    > not allowed

Notably on Debian/Ubuntu machines. I assume they have had some sort of
recent git update.

Why it should care if you're not committing anything is beyond me. It
seems quite pointless. However, It seems like the account you're running
the buildfarm animal as needs a name and email address set to avoid this
issue.

This applies particularly to members spurfowl, ibex and termite. Please
fix them urgently so the failures email list doesn't get spammed.

cheers

andrew

--

Andrew Dunstan                https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



Re: [buildfarm-members] git failures

От
Tom Lane
Дата:
Andrew Dunstan <andrew.dunstan@2ndquadrant.com> writes:
> Recently a number of git failures have been seen like this:
>     *** Please tell me who you are.
> Notably on Debian/Ubuntu machines. I assume they have had some sort of
> recent git update.

No, I do not think it's the fault of the buildfarm machines.  The problem
is that Magnus got rid of a bad commit into the 9.2 branch via "git reset"
not "git revert", cf

https://www.postgresql.org/message-id/CABUevEzrD-BYtQOQ22navkoWquOC5TcqPcBS_iQ2cYqaK9_39g%40mail.gmail.com

and these three machines seem to have been quick enough to see the
intermediate state and get confused by it.  I'm not very sure why "git
pull" isn't enough to recover, but it evidently isn't.

            regards, tom lane


Re: git failures

От
Tom Lane
Дата:
Andrew Dunstan <andrew.dunstan@2ndquadrant.com> writes:
> Recently a number of git failures have been seen like this:
>     *** Please tell me who you are.
> Notably on Debian/Ubuntu machines. I assume they have had some sort of
> recent git update.

No, I do not think it's the fault of the buildfarm machines.  The problem
is that Magnus got rid of a bad commit into the 9.2 branch via "git reset"
not "git revert", cf

https://www.postgresql.org/message-id/CABUevEzrD-BYtQOQ22navkoWquOC5TcqPcBS_iQ2cYqaK9_39g%40mail.gmail.com

and these three machines seem to have been quick enough to see the
intermediate state and get confused by it.  I'm not very sure why "git
pull" isn't enough to recover, but it evidently isn't.

            regards, tom lane


Re: [buildfarm-members] git failures

От
Stephen Frost
Дата:
Andrew, Tom,

Out of the office currently but will address as soon as I'm able to.

Thanks!

Stephen

On Tue, Jan 3, 2017 at 17:21 Tom Lane <tgl@sss.pgh.pa.us> wrote:
Andrew Dunstan <andrew.dunstan@2ndquadrant.com> writes:

> Recently a number of git failures have been seen like this:

>     *** Please tell me who you are.

> Notably on Debian/Ubuntu machines. I assume they have had some sort of

> recent git update.



No, I do not think it's the fault of the buildfarm machines.  The problem

is that Magnus got rid of a bad commit into the 9.2 branch via "git reset"

not "git revert", cf



https://www.postgresql.org/message-id/CABUevEzrD-BYtQOQ22navkoWquOC5TcqPcBS_iQ2cYqaK9_39g%40mail.gmail.com



and these three machines seem to have been quick enough to see the

intermediate state and get confused by it.  I'm not very sure why "git

pull" isn't enough to recover, but it evidently isn't.



                        regards, tom lane



Re: git failures

От
Stephen Frost
Дата:
Andrew, Tom,

Out of the office currently but will address as soon as I'm able to.

Thanks!

Stephen

On Tue, Jan 3, 2017 at 17:21 Tom Lane <tgl@sss.pgh.pa.us> wrote:
Andrew Dunstan <andrew.dunstan@2ndquadrant.com> writes:

> Recently a number of git failures have been seen like this:

>     *** Please tell me who you are.

> Notably on Debian/Ubuntu machines. I assume they have had some sort of

> recent git update.



No, I do not think it's the fault of the buildfarm machines.  The problem

is that Magnus got rid of a bad commit into the 9.2 branch via "git reset"

not "git revert", cf



https://www.postgresql.org/message-id/CABUevEzrD-BYtQOQ22navkoWquOC5TcqPcBS_iQ2cYqaK9_39g%40mail.gmail.com



and these three machines seem to have been quick enough to see the

intermediate state and get confused by it.  I'm not very sure why "git

pull" isn't enough to recover, but it evidently isn't.



                        regards, tom lane



Re: [buildfarm-members] git failures

От
Andrew Dunstan
Дата:

On 01/03/2017 05:21 PM, Tom Lane wrote:
> Andrew Dunstan <andrew.dunstan@2ndquadrant.com> writes:
>> Recently a number of git failures have been seen like this:
>>      *** Please tell me who you are.
>> Notably on Debian/Ubuntu machines. I assume they have had some sort of
>> recent git update.
> No, I do not think it's the fault of the buildfarm machines.  The problem
> is that Magnus got rid of a bad commit into the 9.2 branch via "git reset"
> not "git revert", cf
>
> https://www.postgresql.org/message-id/CABUevEzrD-BYtQOQ22navkoWquOC5TcqPcBS_iQ2cYqaK9_39g%40mail.gmail.com
>
> and these three machines seem to have been quick enough to see the
> intermediate state and get confused by it.  I'm not very sure why "git
> pull" isn't enough to recover, but it evidently isn't.


Yeah, axolotl just failed :-(

cheers

andrew

--
Andrew Dunstan                https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



Re: git failures

От
Andrew Dunstan
Дата:

On 01/03/2017 05:21 PM, Tom Lane wrote:
> Andrew Dunstan <andrew.dunstan@2ndquadrant.com> writes:
>> Recently a number of git failures have been seen like this:
>>      *** Please tell me who you are.
>> Notably on Debian/Ubuntu machines. I assume they have had some sort of
>> recent git update.
> No, I do not think it's the fault of the buildfarm machines.  The problem
> is that Magnus got rid of a bad commit into the 9.2 branch via "git reset"
> not "git revert", cf
>
> https://www.postgresql.org/message-id/CABUevEzrD-BYtQOQ22navkoWquOC5TcqPcBS_iQ2cYqaK9_39g%40mail.gmail.com
>
> and these three machines seem to have been quick enough to see the
> intermediate state and get confused by it.  I'm not very sure why "git
> pull" isn't enough to recover, but it evidently isn't.


Yeah, axolotl just failed :-(

cheers

andrew

--
Andrew Dunstan                https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



Re: git failures

От
Stephen Frost
Дата:
All,

I'm hopeful that I fixed it....

Thanks!

Stephen

On Tue, Jan 3, 2017 at 19:09 Andrew Dunstan <andrew.dunstan@2ndquadrant.com> wrote:




On 01/03/2017 05:21 PM, Tom Lane wrote:

> Andrew Dunstan <andrew.dunstan@2ndquadrant.com> writes:

>> Recently a number of git failures have been seen like this:

>>      *** Please tell me who you are.

>> Notably on Debian/Ubuntu machines. I assume they have had some sort of

>> recent git update.

> No, I do not think it's the fault of the buildfarm machines.  The problem

> is that Magnus got rid of a bad commit into the 9.2 branch via "git reset"

> not "git revert", cf

>

> https://www.postgresql.org/message-id/CABUevEzrD-BYtQOQ22navkoWquOC5TcqPcBS_iQ2cYqaK9_39g%40mail.gmail.com

>

> and these three machines seem to have been quick enough to see the

> intermediate state and get confused by it.  I'm not very sure why "git

> pull" isn't enough to recover, but it evidently isn't.





Yeah, axolotl just failed :-(



cheers



andrew



--

Andrew Dunstan                https://www.2ndQuadrant.com

PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



Re: [buildfarm-members] git failures

От
Stephen Frost
Дата:
All,

I'm hopeful that I fixed it....

Thanks!

Stephen

On Tue, Jan 3, 2017 at 19:09 Andrew Dunstan <andrew.dunstan@2ndquadrant.com> wrote:




On 01/03/2017 05:21 PM, Tom Lane wrote:

> Andrew Dunstan <andrew.dunstan@2ndquadrant.com> writes:

>> Recently a number of git failures have been seen like this:

>>      *** Please tell me who you are.

>> Notably on Debian/Ubuntu machines. I assume they have had some sort of

>> recent git update.

> No, I do not think it's the fault of the buildfarm machines.  The problem

> is that Magnus got rid of a bad commit into the 9.2 branch via "git reset"

> not "git revert", cf

>

> https://www.postgresql.org/message-id/CABUevEzrD-BYtQOQ22navkoWquOC5TcqPcBS_iQ2cYqaK9_39g%40mail.gmail.com

>

> and these three machines seem to have been quick enough to see the

> intermediate state and get confused by it.  I'm not very sure why "git

> pull" isn't enough to recover, but it evidently isn't.





Yeah, axolotl just failed :-(



cheers



andrew



--

Andrew Dunstan                https://www.2ndQuadrant.com

PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



Re: git failures

От
Tom Lane
Дата:
Stephen Frost <sfrost@snowman.net> writes:
> I'm hopeful that I fixed it....

For the benefit of the other people with this problem ... what did you do?

            regards, tom lane


Re: [buildfarm-members] git failures

От
Tom Lane
Дата:
Stephen Frost <sfrost@snowman.net> writes:
> I'm hopeful that I fixed it....

For the benefit of the other people with this problem ... what did you do?

            regards, tom lane


Re: git failures

От
Stephen Frost
Дата:

On Tue, Jan 3, 2017 at 20:25 Tom Lane <tgl@sss.pgh.pa.us> wrote:
Stephen Frost <sfrost@snowman.net> writes:

> I'm hopeful that I fixed it....



For the benefit of the other people with this problem ... what did you do?

I did a git pull in the REL9_2_STABLE/pgsql directory and accepted the merge commit message. 

I'm not convinced that was really the "right" or "correct" thing to do, but it seemed to allow subsequent git pull's without erroring or asking for any user interaction.

Will look into it more tomorrow. 

Thanks!

Stephen

Re: [buildfarm-members] git failures

От
Stephen Frost
Дата:

On Tue, Jan 3, 2017 at 20:25 Tom Lane <tgl@sss.pgh.pa.us> wrote:
Stephen Frost <sfrost@snowman.net> writes:

> I'm hopeful that I fixed it....



For the benefit of the other people with this problem ... what did you do?

I did a git pull in the REL9_2_STABLE/pgsql directory and accepted the merge commit message. 

I'm not convinced that was really the "right" or "correct" thing to do, but it seemed to allow subsequent git pull's without erroring or asking for any user interaction.

Will look into it more tomorrow. 

Thanks!

Stephen

Re: [buildfarm-members] git failures

От
Andrew Dunstan
Дата:

On 01/03/2017 08:32 PM, Stephen Frost wrote:
>
> On Tue, Jan 3, 2017 at 20:25 Tom Lane <tgl@sss.pgh.pa.us
> <mailto:tgl@sss.pgh.pa.us>> wrote:
>
>     Stephen Frost <sfrost@snowman.net <mailto:sfrost@snowman.net>> writes:
>
>     > I'm hopeful that I fixed it....
>
>
>
>     For the benefit of the other people with this problem ... what did
>     you do?
>
>
> I did a git pull in the REL9_2_STABLE/pgsql directory and accepted the
> merge commit message.
>
> I'm not convinced that was really the "right" or "correct" thing to
> do, but it seemed to allow subsequent git pull's without erroring or
> asking for any user interaction.
>
> Will look into it more tomorrow.
>


That didn't work for me. I removed that directory altogether, and I
expect the next buildfarm run to rebuild it cleanly.

cheers

andrew


--

Andrew Dunstan                https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



Re: git failures

От
Andrew Dunstan
Дата:

On 01/03/2017 08:32 PM, Stephen Frost wrote:
>
> On Tue, Jan 3, 2017 at 20:25 Tom Lane <tgl@sss.pgh.pa.us
> <mailto:tgl@sss.pgh.pa.us>> wrote:
>
>     Stephen Frost <sfrost@snowman.net <mailto:sfrost@snowman.net>> writes:
>
>     > I'm hopeful that I fixed it....
>
>
>
>     For the benefit of the other people with this problem ... what did
>     you do?
>
>
> I did a git pull in the REL9_2_STABLE/pgsql directory and accepted the
> merge commit message.
>
> I'm not convinced that was really the "right" or "correct" thing to
> do, but it seemed to allow subsequent git pull's without erroring or
> asking for any user interaction.
>
> Will look into it more tomorrow.
>


That didn't work for me. I removed that directory altogether, and I
expect the next buildfarm run to rebuild it cleanly.

cheers

andrew


--

Andrew Dunstan                https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



Re: [buildfarm-members] git failures

От
Craig Ringer
Дата:
On 4 January 2017 at 10:15, Andrew Dunstan
<andrew.dunstan@2ndquadrant.com> wrote:
>
>
> On 01/03/2017 08:32 PM, Stephen Frost wrote:
>>
>>
>> On Tue, Jan 3, 2017 at 20:25 Tom Lane <tgl@sss.pgh.pa.us
>> <mailto:tgl@sss.pgh.pa.us>> wrote:
>>
>>     Stephen Frost <sfrost@snowman.net <mailto:sfrost@snowman.net>> writes:
>>
>>     > I'm hopeful that I fixed it....
>>
>>
>>
>>     For the benefit of the other people with this problem ... what did
>>     you do?
>>
>>
>> I did a git pull in the REL9_2_STABLE/pgsql directory and accepted the
>> merge commit message.
>>
>> I'm not convinced that was really the "right" or "correct" thing to do,
>> but it seemed to allow subsequent git pull's without erroring or asking for
>> any user interaction.
>>
>> Will look into it more tomorrow.
>>
>
>
> That didn't work for me. I removed that directory altogether, and I expect
> the next buildfarm run to rebuild it cleanly.

It's definitely not the right thing.

You should remove the clone, or

git reset --hard origin/REL9_2_STABLE

it.



--
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


Re: git failures

От
Craig Ringer
Дата:
On 4 January 2017 at 10:15, Andrew Dunstan
<andrew.dunstan@2ndquadrant.com> wrote:
>
>
> On 01/03/2017 08:32 PM, Stephen Frost wrote:
>>
>>
>> On Tue, Jan 3, 2017 at 20:25 Tom Lane <tgl@sss.pgh.pa.us
>> <mailto:tgl@sss.pgh.pa.us>> wrote:
>>
>>     Stephen Frost <sfrost@snowman.net <mailto:sfrost@snowman.net>> writes:
>>
>>     > I'm hopeful that I fixed it....
>>
>>
>>
>>     For the benefit of the other people with this problem ... what did
>>     you do?
>>
>>
>> I did a git pull in the REL9_2_STABLE/pgsql directory and accepted the
>> merge commit message.
>>
>> I'm not convinced that was really the "right" or "correct" thing to do,
>> but it seemed to allow subsequent git pull's without erroring or asking for
>> any user interaction.
>>
>> Will look into it more tomorrow.
>>
>
>
> That didn't work for me. I removed that directory altogether, and I expect
> the next buildfarm run to rebuild it cleanly.

It's definitely not the right thing.

You should remove the clone, or

git reset --hard origin/REL9_2_STABLE

it.



--
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


Re: [buildfarm-members] git failures

От
Craig Ringer
Дата:
Termite is fixed.

Reset to 83a25a5209d93615e6d5f3eee4ef649853478498

--
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


Re: git failures

От
Craig Ringer
Дата:
Termite is fixed.

Reset to 83a25a5209d93615e6d5f3eee4ef649853478498

--
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


Re: [buildfarm-members] git failures

От
Stephen Frost
Дата:
* Craig Ringer (craig@2ndquadrant.com) wrote:
> On 4 January 2017 at 10:15, Andrew Dunstan
> <andrew.dunstan@2ndquadrant.com> wrote:
> >
> >
> > On 01/03/2017 08:32 PM, Stephen Frost wrote:
> >>
> >>
> >> On Tue, Jan 3, 2017 at 20:25 Tom Lane <tgl@sss.pgh.pa.us
> >> <mailto:tgl@sss.pgh.pa.us>> wrote:
> >>
> >>     Stephen Frost <sfrost@snowman.net <mailto:sfrost@snowman.net>> writes:
> >>
> >>     > I'm hopeful that I fixed it....
> >>
> >>
> >>
> >>     For the benefit of the other people with this problem ... what did
> >>     you do?
> >>
> >>
> >> I did a git pull in the REL9_2_STABLE/pgsql directory and accepted the
> >> merge commit message.
> >>
> >> I'm not convinced that was really the "right" or "correct" thing to do,
> >> but it seemed to allow subsequent git pull's without erroring or asking for
> >> any user interaction.
> >>
> >> Will look into it more tomorrow.
> >>
> >
> >
> > That didn't work for me. I removed that directory altogether, and I expect
> > the next buildfarm run to rebuild it cleanly.
>
> It's definitely not the right thing.
>
> You should remove the clone, or
>
> git reset --hard origin/REL9_2_STABLE
>
> it.

Yeah, seems like that was necessary.  I've done that now and it seems
happier.

Thanks!

Stephen

Вложения

Re: [buildfarm-members] git failures

От
Andrew Dunstan
Дата:

On 01/03/2017 11:55 PM, Craig Ringer wrote:
>>
>>
>> That didn't work for me. I removed that directory altogether, and I expect
>> the next buildfarm run to rebuild it cleanly.
> It's definitely not the right thing.
>
> You should remove the clone, or
>
> git reset --hard origin/REL9_2_STABLE
>




This seems to be the only reliable fix. Even removing the directory
didn't work where it's a linked workdir.

Thanks, Craig!

cheers

andrew

--
Andrew Dunstan                https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services