Skip Menu |

This queue is for tickets about the Perl-RT2Github CPAN distribution.

Report information
The Basics
Id: 130835
Status: open
Priority: 0/
Queue: Perl-RT2Github

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in:
  • 0.01
  • 0.03
Fixed in: (no value)



Subject: t/new.t may fail
On some of my smoker systems I see the following failure: ... # Failed test 'Got expected github URL' # at t/new.t line 27. # got: undef # expected: 'https://github.com/perl/perl5/issues/14836' # Failed test 'Got expected github URLs' # at t/new.t line 48. # Structures begin differing at: # $got->{125740} = undef # $expected->{125740} = 'https://github.com/perl/perl5/issues/14836' # Failed test 'Got one expected github URL and one not found' # at t/new.t line 59. # Structures begin differing at: # $got->{125740} = undef # $expected->{125740} = 'https://github.com/perl/perl5/issues/14836' # Failed test 'Got expected github ID for RT 125740' # at t/new.t line 78. # got: undef # expected: '14836' # Failed test 'Got expected github ID for RT' # at t/new.t line 99. # Structures begin differing at: # $got->{133776} = undef # $expected->{133776} = '16815' # Failed test 'Got expected github ID for valid RT and one undef for invalid' # at t/new.t line 111. # Structures begin differing at: # $got->{125740} = undef # $expected->{125740} = '14836' # Looks like you failed 6 tests of 22. t/new.t .. Dubious, test returned 6 (wstat 1536, 0x600) Failed 6/22 subtests ... Just a guess: maybe on these systems the module required for doing https requests (IO::Socket::SSL?) is missing and needs to be declared as a prerequisite?
Subject: Re: [rt.cpan.org #130835] t/new.t may fail
Date: Thu, 31 Oct 2019 07:19:13 -0400
To: bug-Perl-RT2Github [...] rt.cpan.org
From: James E Keenan <jkeenan [...] pobox.com>
On 10/29/19 2:45 AM, Slaven_Rezic via RT wrote: Show quoted text
> Tue Oct 29 02:45:25 2019: Request 130835 was acted upon. > Transaction: Ticket created by SREZIC > Queue: Perl-RT2Github > Subject: t/new.t may fail > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: SREZIC@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=130835 > > > > On some of my smoker systems I see the following failure: > > ... > # Failed test 'Got expected github URL' > # at t/new.t line 27. > # got: undef > # expected: 'https://github.com/perl/perl5/issues/14836' > > # Failed test 'Got expected github URLs' > # at t/new.t line 48. > # Structures begin differing at: > # $got->{125740} = undef > # $expected->{125740} = 'https://github.com/perl/perl5/issues/14836' > > # Failed test 'Got one expected github URL and one not found' > # at t/new.t line 59. > # Structures begin differing at: > # $got->{125740} = undef > # $expected->{125740} = 'https://github.com/perl/perl5/issues/14836' > > # Failed test 'Got expected github ID for RT 125740' > # at t/new.t line 78. > # got: undef > # expected: '14836' > > # Failed test 'Got expected github ID for RT' > # at t/new.t line 99. > # Structures begin differing at: > # $got->{133776} = undef > # $expected->{133776} = '16815' > > # Failed test 'Got expected github ID for valid RT and one undef for invalid' > # at t/new.t line 111. > # Structures begin differing at: > # $got->{125740} = undef > # $expected->{125740} = '14836' > # Looks like you failed 6 tests of 22. > t/new.t .. > Dubious, test returned 6 (wstat 1536, 0x600) > Failed 6/22 subtests > ... > > Just a guess: maybe on these systems the module required for doing https requests (IO::Socket::SSL?) is missing and needs to be declared as a prerequisite? >
Slaven, thanks for the report. What I think is actually happening is that Github throttles API requests, i.e., that if a certain number of requests are received from the same source in a certain duration, a threshold is reached and no further requests are honored. This explanation would be consistent with the fact that, when I run a commit through Travis, the first 5 or 6 Perl configurations PASS and most of the rest fail. It would also be consistent with the fact that on certain CPANtesters that test a module against many perl versions simultaneously, I'm getting a massive number of massive fails. When I saw this error show up on one of *your* reports -- that's when I knew I was in trouble. ;-) I'm going to look into this further today. Thank you very much. Jim Keenan
On Thu Oct 31 07:19:32 2019, jkeenan@pobox.com wrote: Show quoted text
> On 10/29/19 2:45 AM, Slaven_Rezic via RT wrote:
> > Tue Oct 29 02:45:25 2019: Request 130835 was acted upon. > > Transaction: Ticket created by SREZIC > > Queue: Perl-RT2Github > > Subject: t/new.t may fail > > Broken in: (no value) > > Severity: (no value) > > Owner: Nobody > > Requestors: SREZIC@cpan.org > > Status: new > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=130835 > > > > > > > On some of my smoker systems I see the following failure: > > > > ... > > # Failed test 'Got expected github URL' > > # at t/new.t line 27. > > # got: undef > > # expected: 'https://github.com/perl/perl5/issues/14836' > > > > # Failed test 'Got expected github URLs' > > # at t/new.t line 48. > > # Structures begin differing at: > > # $got->{125740} = undef > > # $expected->{125740} = > > 'https://github.com/perl/perl5/issues/14836' > > > > # Failed test 'Got one expected github URL and one not found' > > # at t/new.t line 59. > > # Structures begin differing at: > > # $got->{125740} = undef > > # $expected->{125740} = > > 'https://github.com/perl/perl5/issues/14836' > > > > # Failed test 'Got expected github ID for RT 125740' > > # at t/new.t line 78. > > # got: undef > > # expected: '14836' > > > > # Failed test 'Got expected github ID for RT' > > # at t/new.t line 99. > > # Structures begin differing at: > > # $got->{133776} = undef > > # $expected->{133776} = '16815' > > > > # Failed test 'Got expected github ID for valid RT and one undef > > for invalid' > > # at t/new.t line 111. > > # Structures begin differing at: > > # $got->{125740} = undef > > # $expected->{125740} = '14836' > > # Looks like you failed 6 tests of 22. > > t/new.t .. > > Dubious, test returned 6 (wstat 1536, 0x600) > > Failed 6/22 subtests > > ... > > > > Just a guess: maybe on these systems the module required for doing > > https requests (IO::Socket::SSL?) is missing and needs to be declared > > as a prerequisite? > >
> > Slaven, thanks for the report. What I think is actually happening is > that Github throttles API requests, i.e., that if a certain number of > requests are received from the same source in a certain duration, a > threshold is reached and no further requests are honored.
This module doesn't talk to GitHub though. Show quoted text
> > This explanation would be consistent with the fact that, when I run a > commit through Travis, the first 5 or 6 Perl configurations PASS and > most of the rest fail. It would also be consistent with the fact that > on certain CPANtesters that test a module against many perl versions > simultaneously, I'm getting a massive number of massive fails. > > When I saw this error show up on one of *your* reports -- that's when > I > knew I was in trouble. ;-) > > I'm going to look into this further today. > > Thank you very much. > Jim Keenan