Re: git failures

Lists: Postg토토 사이트SQL : Postg토토
From: Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com>
To: sfrost(at)snowman(dot)net, glyn(dot)astill(at)seetickets(dot)com, craig(at)2ndquadrant(dot)com
Cc: buildfarm-members(at)postgresql(dot)org
Subject: git failures
Date: 2017-01-03 22:16:57
Message-ID: ede85945-5151-3874-dde6-ff35b8dd76f0@2ndQuadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: buildfarm-members


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

*** Please tell me who you are.

Run

git config --global user.email "you(at)example(dot)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(at)ajivana(dot)pg(dot)osuosl(dot)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


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com>
Cc: sfrost(at)snowman(dot)net, glyn(dot)astill(at)seetickets(dot)com, craig(at)2ndquadrant(dot)com, buildfarm-members(at)postgresql(dot)org
Subject: Re: git failures
Date: 2017-01-03 22:21:42
Message-ID: 21316.1483482102@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: buildfarm-members

Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)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

/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


From: Stephen Frost <sfrost(at)snowman(dot)net>
To: Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: buildfarm-members(at)postgresql(dot)org, craig(at)2ndquadrant(dot)com, glyn(dot)astill(at)seetickets(dot)com
Subject: Re: git failures
Date: 2017-01-03 22:46:11
Message-ID: CAOuzzgomWboThBE9Nto7ZzsqMrB6nLyYT-1Aoy5ZgRdhAdBEtw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: Postg와이즈 토토SQL : Postg와이즈

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(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)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
>
>
>
>
> /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
>
>
>
>


From: Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: sfrost(at)snowman(dot)net, glyn(dot)astill(at)seetickets(dot)com, craig(at)2ndquadrant(dot)com, buildfarm-members(at)postgresql(dot)org
Subject: Re: git failures
Date: 2017-01-04 00:08:49
Message-ID: 9f59fc87-2694-f4a3-bd26-66c9d3362e7d@2ndQuadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: buildfarm-members

On 01/03/2017 05:21 PM, Tom Lane wrote:
> Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)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
>
> /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


From: Stephen Frost <sfrost(at)snowman(dot)net>
To: Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: buildfarm-members(at)postgresql(dot)org, craig(at)2ndquadrant(dot)com, glyn(dot)astill(at)seetickets(dot)com
Subject: Re: git failures
Date: 2017-01-04 01:04:58
Message-ID: CAOuzzgqT7LQyn+bUKp_b8p2DGGqYk5TwAH7zWgGOUZXCkVX-PQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: buildfarm-members

All,

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

Thanks!

Stephen

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

>
>
>
>
> On 01/03/2017 05:21 PM, Tom Lane wrote:
>
> > Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)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
>
> >
>
> >
> /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
>
>
>
>


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Stephen Frost <sfrost(at)snowman(dot)net>
Cc: Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com>, buildfarm-members(at)postgresql(dot)org, craig(at)2ndquadrant(dot)com, glyn(dot)astill(at)seetickets(dot)com
Subject: Re: git failures
Date: 2017-01-04 01:24:50
Message-ID: 24537.1483493090@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: buildfarm-members

Stephen Frost <sfrost(at)snowman(dot)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


From: Stephen Frost <sfrost(at)snowman(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com>, buildfarm-members(at)postgresql(dot)org, craig(at)2ndquadrant(dot)com, glyn(dot)astill(at)seetickets(dot)com
Subject: Re: git failures
Date: 2017-01-04 01:32:29
Message-ID: CAOuzzgrxBcMiZLNyB3w61303fTR0ovC-r8Z1dGspGrsrK7kS8g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: Postg범퍼카 토토SQL : Postg범퍼카

On Tue, Jan 3, 2017 at 20:25 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> Stephen Frost <sfrost(at)snowman(dot)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


From: Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com>
To: Stephen Frost <sfrost(at)snowman(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: buildfarm-members(at)postgresql(dot)org, craig(at)2ndquadrant(dot)com, glyn(dot)astill(at)seetickets(dot)com
Subject: Re: git failures
Date: 2017-01-04 02:15:15
Message-ID: c4c175f8-5d2e-9e05-a9e3-e344db55e434@2ndQuadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: buildfarm-members

On 01/03/2017 08:32 PM, Stephen Frost wrote:
>
> On Tue, Jan 3, 2017 at 20:25 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us
> <mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us>> wrote:
>
> Stephen Frost <sfrost(at)snowman(dot)net <mailto:sfrost(at)snowman(dot)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


From: Craig Ringer <craig(at)2ndquadrant(dot)com>
To: Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com>
Cc: Stephen Frost <sfrost(at)snowman(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, buildfarm-members(at)postgresql(dot)org, glyn(dot)astill(at)seetickets(dot)com
Subject: Re: git failures
Date: 2017-01-04 04:55:08
Message-ID: CAMsr+YHcpJ0xqtPf9YpQN+QG1cN-S7BOB7iB-HC7a-9xPmpe6w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: buildfarm-members

On 4 January 2017 at 10:15, Andrew Dunstan
<andrew(dot)dunstan(at)2ndquadrant(dot)com> wrote:
>
>
> On 01/03/2017 08:32 PM, Stephen Frost wrote:
>>
>>
>> On Tue, Jan 3, 2017 at 20:25 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us
>> <mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us>> wrote:
>>
>> Stephen Frost <sfrost(at)snowman(dot)net <mailto:sfrost(at)snowman(dot)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


From: Craig Ringer <craig(at)2ndquadrant(dot)com>
To: Stephen Frost <sfrost(at)snowman(dot)net>
Cc: Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, buildfarm-members(at)postgresql(dot)org, glyn(dot)astill(at)seetickets(dot)com
Subject: Re: git failures
Date: 2017-01-04 05:05:59
Message-ID: CAMsr+YEz=uFQDccrC_7OHuzS27wmPY-mHKpJ86dr_i6v6kxknQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: buildfarm-members

Termite is fixed.

Reset to 83a25a5209d93615e6d5f3eee4ef649853478498

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


From: Stephen Frost <sfrost(at)snowman(dot)net>
To: Craig Ringer <craig(at)2ndquadrant(dot)com>
Cc: Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, buildfarm-members(at)postgresql(dot)org, glyn(dot)astill(at)seetickets(dot)com
Subject: Re: git failures
Date: 2017-01-04 13:26:26
Message-ID: 20170104132626.GG18360@tamriel.snowman.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: buildfarm-members

* Craig Ringer (craig(at)2ndquadrant(dot)com) wrote:
> On 4 January 2017 at 10:15, Andrew Dunstan
> <andrew(dot)dunstan(at)2ndquadrant(dot)com> wrote:
> >
> >
> > On 01/03/2017 08:32 PM, Stephen Frost wrote:
> >>
> >>
> >> On Tue, Jan 3, 2017 at 20:25 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us
> >> <mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us>> wrote:
> >>
> >> Stephen Frost <sfrost(at)snowman(dot)net <mailto:sfrost(at)snowman(dot)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


From: Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com>
To: Craig Ringer <craig(at)2ndquadrant(dot)com>
Cc: Stephen Frost <sfrost(at)snowman(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, buildfarm-members(at)postgresql(dot)org, glyn(dot)astill(at)seetickets(dot)com
Subject: Re: git failures
Date: 2017-01-04 13:43:13
Message-ID: c2fdf6aa-7af6-4442-0c8b-66cfeadec79d@2ndQuadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: Postg토토 사이트SQL : Postg토토

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