You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@subversion.apache.org by bu...@apache.org on 2021/04/26 18:51:05 UTC

buildbot failure in on svn-backport-conflicts-1.10.x

The Buildbot has detected a new failure on builder svn-backport-conflicts-1.10.x while building . Full details are available at:
    https://ci.apache.org/builders/svn-backport-conflicts-1.10.x/builds/25515

Buildbot URL: https://ci.apache.org/

Buildslave for this Build: bb_slave8_ubuntu

Build Reason: The Nightly scheduler named 'subversion-1.10.x-backport-conflicts' triggered this build
Build Source Stamp: [branch subversion/branches/1.10.x] HEAD
Blamelist: 

BUILD FAILED: failed Conflicts

Sincerely,
 -The Buildbot




Fwd: buildbot failure in on svn-backport-conflicts-1.10.x

Posted by Nathan Hartman <ha...@gmail.com>.
Hi folks,

Has something changed on bb_slave8_ubuntu with respect to Perl packages,
specifically the libterm-readkey-perl package?

Asking because:

On Mon, Apr 26, 2021 at 2:51 PM <bu...@apache.org> wrote:
>
> The Buildbot has detected a new failure on builder
svn-backport-conflicts-1.10.x while building . Full details are available
at:
>
https://ci.apache.org/builders/svn-backport-conflicts-1.10.x/builds/25515
>
> Buildbot URL: https://ci.apache.org/
>
> Buildslave for this Build: bb_slave8_ubuntu
>
> Build Reason: The Nightly scheduler named
'subversion-1.10.x-backport-conflicts' triggered this build
> Build Source Stamp: [branch subversion/branches/1.10.x] HEAD
> Blamelist:
>
> BUILD FAILED: failed Conflicts

The error is:
Can't locate Term/ReadKey.pm in @INC (you may need to install the
Term::ReadKey module) (@INC contains: /etc/perl
/usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1
/usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5
/usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26
/usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at ./.svn/
backport.pl line 38.

BEGIN failed--compilation aborted at ./.svn/backport.pl line 38.

Line 38 is:

use Term::ReadKey qw/ReadMode ReadKey/;

dev@subversion.a.o discussion:
https://lists.apache.org/thread.html/r22260f883d4b6d90deb39919d0f47ac2ad75ea6d98d39029513c4f13%40%3Cnotifications.subversion.apache.org%3E

Thanks,
Nathan

Re: buildbot failure in on svn-backport-conflicts-1.10.x

Posted by Daniel Shahaf <d....@daniel.shahaf.name>.
Nathan Hartman wrote on Mon, 03 May 2021 15:06 +00:00:
> On Sat, May 1, 2021 at 11:25 AM Daniel Shahaf <d....@daniel.shahaf.name> wrote:
> > Besides installing the package, we have two other fixes we could try:
> >
> > - Patch backport.pl to not «use» Term::ReadKey in headless runs.  (The
> >   module is used to implement interactive functionality.)
> >
> > - Have buildbot use tools/dist/detect-conflicting-backports.py instead
> >   of backport.pl.  (See tools/dist/README.backport)
> 
> Thanks for suggesting these alternate possibilities. If we can't get
> the package installed, one of these may be necessary. (The first seems
> to be the more expedient of the two, though the second might be better
> in the long run.)

Actually, I'd recommend the second.  backport.py's implementation is
much cleaner, and more developers speak Python than Perl.  The Python
script is covered by backport_tests.py (grep for «run_conflicter»), and
when I last checked, it passed them.

However, whoever does the legwork calls the shots.

Cheers,

Daniel

P.S.  Incidentally, it so happens that we're coming up on the 10 years
anniversary of backport.pl.  (First commit was on 2011-05-21; cron
job was installed 2012-02-03, when manual merge runs were stable.)

Re: buildbot failure in on svn-backport-conflicts-1.10.x

Posted by Nathan Hartman <ha...@gmail.com>.
On Sat, May 1, 2021 at 11:25 AM Daniel Shahaf <d....@daniel.shahaf.name>
wrote:
>
> Nathan Hartman wrote on Thu, 29 Apr 2021 16:18 +00:00:
> > On Thu, Apr 29, 2021 at 9:03 AM Daniel Shahaf <d....@daniel.shahaf.name>
wrote:
> > > The module is provided by the libterm-readkey-perl package.  IIRC,
> > > that's not part of the default Perl installation.
> >
> > Thanks. I emailed builds@.

There hasn't been any response to my message to builds@. Rather than
ping it, I think it might be better to ask Infra to check into the
missing package... I'll do that now.


> Besides installing the package, we have two other fixes we could try:
>
> - Patch backport.pl to not «use» Term::ReadKey in headless runs.  (The
>   module is used to implement interactive functionality.)
>
> - Have buildbot use tools/dist/detect-conflicting-backports.py instead
>   of backport.pl.  (See tools/dist/README.backport)

Thanks for suggesting these alternate possibilities. If we can't get
the package installed, one of these may be necessary. (The first seems
to be the more expedient of the two, though the second might be better
in the long run.)

Cheers,
Nathan

Re: buildbot failure in on svn-backport-conflicts-1.10.x

Posted by Daniel Shahaf <d....@daniel.shahaf.name>.
Nathan Hartman wrote on Thu, 29 Apr 2021 16:18 +00:00:
> On Thu, Apr 29, 2021 at 9:03 AM Daniel Shahaf <d....@daniel.shahaf.name> wrote:
> > The module is provided by the libterm-readkey-perl package.  IIRC,
> > that's not part of the default Perl installation.
> 
> Thanks. I emailed builds@.

Besides installing the package, we have two other fixes we could try:

- Patch backport.pl to not «use» Term::ReadKey in headless runs.  (The
  module is used to implement interactive functionality.)

- Have buildbot use tools/dist/detect-conflicting-backports.py instead
  of backport.pl.  (See tools/dist/README.backport)

Re: buildbot failure in on svn-backport-conflicts-1.10.x

Posted by Nathan Hartman <ha...@gmail.com>.
On Thu, Apr 29, 2021 at 9:03 AM Daniel Shahaf <d....@daniel.shahaf.name> wrote:
>
> Nathan Hartman wrote on Wed, Apr 28, 2021 at 13:23:54 -0400:
> > I don't understand what happened here. Was bb_slave8_ubuntu recently
> > upgraded resulting in a suddenly missing perl module?
>
> builds@ or users@infra would know.

I thought that might be the case. Wanted to check here first.

> The module is provided by the libterm-readkey-perl package.  IIRC,
> that's not part of the default Perl installation.

Thanks. I emailed builds@.

Nathan

Re: buildbot failure in on svn-backport-conflicts-1.10.x

Posted by Daniel Shahaf <d....@daniel.shahaf.name>.
Nathan Hartman wrote on Wed, Apr 28, 2021 at 13:23:54 -0400:
> I don't understand what happened here. Was bb_slave8_ubuntu recently
> upgraded resulting in a suddenly missing perl module?

builds@ or users@infra would know.

The module is provided by the libterm-readkey-perl package.  IIRC,
that's not part of the default Perl installation.

Cheers,

Daniel


> The failure:
> 
> Can't locate Term/ReadKey.pm in @INC (you may need to install the
> Term::ReadKey module) (@INC contains: /etc/perl
> /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1
> /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5
> /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26
> /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at ./.svn/
> backport.pl line 38.
> BEGIN failed--compilation aborted at ./.svn/backport.pl line 38.
> 
> Line 38 is, no surprise:
> 
> use Term::ReadKey qw/ReadMode ReadKey/;
> 
> Thanks,
> Nathan

Re: buildbot failure in on svn-backport-conflicts-1.10.x

Posted by Nathan Hartman <ha...@gmail.com>.
On Mon, Apr 26, 2021 at 2:51 PM <bu...@apache.org> wrote:
>
> The Buildbot has detected a new failure on builder
svn-backport-conflicts-1.10.x while building . Full details are available
at:
>
https://ci.apache.org/builders/svn-backport-conflicts-1.10.x/builds/25515
>
> Buildbot URL: https://ci.apache.org/
>
> Buildslave for this Build: bb_slave8_ubuntu
>
> Build Reason: The Nightly scheduler named
'subversion-1.10.x-backport-conflicts' triggered this build
> Build Source Stamp: [branch subversion/branches/1.10.x] HEAD
> Blamelist:
>
> BUILD FAILED: failed Conflicts


I've been meaning to look into this for the past few days.

I don't understand what happened here. Was bb_slave8_ubuntu recently
upgraded resulting in a suddenly missing perl module?

The failure:

Can't locate Term/ReadKey.pm in @INC (you may need to install the
Term::ReadKey module) (@INC contains: /etc/perl
/usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1
/usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5
/usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26
/usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at ./.svn/
backport.pl line 38.
BEGIN failed--compilation aborted at ./.svn/backport.pl line 38.

Line 38 is, no surprise:

use Term::ReadKey qw/ReadMode ReadKey/;

Thanks,
Nathan