This queue is for tickets about the Dist-Zilla-Plugin-TravisCI CPAN distribution.

Report information
The Basics
Id:
118930
Status:
resolved
Priority:
Low/Low

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

BugTracker
Severity:
(no value)
Broken in:
0.010
Fixed in:
(no value)



CC: preaction@cpan.org
Subject: Test suite started to fail
My smoker systems report the following failure: ... PERL_DL_NONLAZY=1 "/usr/perl5.20.1Dp/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t Can't call method "travis_yml" on an undefined value at /home/cpansand/.cpan/build/2016112318/Dist-Zilla-Plugin-TravisCI-0.010-YPhbVY/blib/lib/Dist/Zilla/Plugin/TravisCI.pm line 179. t/apt_package.t ........ Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run t/author-pod-syntax.t .. skipped: these tests are for testing by the author # Failed test 'Build OK' # at t/basics.t line 29. # Can't call method "travis_yml" on an undefined value at /home/cpansand/.cpan/build/2016112318/Dist-Zilla-Plugin-TravisCI-0.010-YPhbVY/blib/lib/Dist/Zilla/Plugin/TravisCI.pm line 179. # Failed test 'Build OK' # at t/basics.t line 50. # Can't call method "travis_yml" on an undefined value at /home/cpansand/.cpan/build/2016112318/Dist-Zilla-Plugin-TravisCI-0.010-YPhbVY/blib/lib/Dist/Zilla/Plugin/TravisCI.pm line 179. # Looks like you failed 2 tests of 8. t/basics.t ............. Dubious, test returned 2 (wstat 512, 0x200) Failed 2/8 subtests (less 6 skipped subtests: 0 okay) t/compile.t ............ ok t/release-beam.t ....... skipped: these tests are for release candidate testing # Failed test 'Build OK' # at t/subclass.t line 38. # Can't call method "travis_yml" on an undefined value at /home/cpansand/.cpan/build/2016112318/Dist-Zilla-Plugin-TravisCI-0.010-YPhbVY/blib/lib/Dist/Zilla/Plugin/TravisCI.pm line 179. # Failed test '.travis.yml added' # at t/subclass.t line 44. Error open (<:raw:encoding(UTF-8)) on '/home/cpansand/.cpan/build/2016112318/Dist-Zilla-Plugin-TravisCI-0.010-YPhbVY/tmp/WunNZgPppx/source/.travis.yml': Datei oder Verzeichnis nicht gefunden at t/subclass.t line 46. # Tests were run but no plan was declared and done_testing() was not seen. # Looks like your test exited with 2 just after 2. t/subclass.t ........... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/2 subtests ... Statistical analysis suggests that the problem is caused by newer Beam::Emitter and/or Beam::Event versions (negative theta means "bad"): **************************************************************** Regression 'mod:Beam::Emitter' **************************************************************** Name Theta StdErr T-stat [0='const'] 1.0000 0.0000 28993491374629388.00 [1='eq_1.000'] -0.0000 0.0000 -6.21 [2='eq_1.001'] -0.0000 0.0000 -2.74 [3='eq_1.002'] 0.0000 0.0000 0.00 [4='eq_1.004'] -1.0000 0.0000 -17754814932406816.00 [5='eq_1.005'] -1.0000 0.0000 -25486701715655960.00 R^2= 1.000, N= 108, K= 6 **************************************************************** **************************************************************** Regression 'mod:Beam::Event' **************************************************************** Name Theta StdErr T-stat [0='const'] 1.0000 0.0000 28993491374629388.00 [1='eq_1.000'] -0.0000 0.0000 -6.21 [2='eq_1.001'] -0.0000 0.0000 -2.74 [3='eq_1.002'] 0.0000 0.0000 0.00 [4='eq_1.004'] -1.0000 0.0000 -17754814932406816.00 [5='eq_1.005'] -1.0000 0.0000 -25486701715655960.00 R^2= 1.000, N= 108, K= 6 ****************************************************************
CC: preaction@cpan.org
Subject: Re: [rt.cpan.org #118930] Test suite started to fail
Date: Wed, 23 Nov 2016 14:27:39 -0600
To: bug-Dist-Zilla-Plugin-TravisCI@rt.cpan.org
From: Doug Bell <doug@preaction.me>
It looks like it's a regression in Beam::Emitter caused by this line:


If there's no listener for a particular event, it returns nothing, not the event object. This is incorrect and is a bug in Beam::Emitter. I've opened a ticket https://github.com/preaction/Beam-Emitter/issues/24 and will fix it and release v1.006 over the weekend.

Thanks for the report and the analysis!


Show quoted text
On Nov 23, 2016, at 2:05 PM, Slaven_Rezic via RT <bug-Dist-Zilla-Plugin-TravisCI@rt.cpan.org> wrote:

<URL: https://rt.cpan.org/Ticket/Display.html?id=118930 >

My smoker systems report the following failure:

...
PERL_DL_NONLAZY=1 "/usr/perl5.20.1Dp/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
Can't call method "travis_yml" on an undefined value at /home/cpansand/.cpan/build/2016112318/Dist-Zilla-Plugin-TravisCI-0.010-YPhbVY/blib/lib/Dist/Zilla/Plugin/TravisCI.pm line 179.
t/apt_package.t ........
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
t/author-pod-syntax.t .. skipped: these tests are for testing by the author

#   Failed test 'Build OK'
#   at t/basics.t line 29.
# Can't call method "travis_yml" on an undefined value at /home/cpansand/.cpan/build/2016112318/Dist-Zilla-Plugin-TravisCI-0.010-YPhbVY/blib/lib/Dist/Zilla/Plugin/TravisCI.pm line 179.

#   Failed test 'Build OK'
#   at t/basics.t line 50.
# Can't call method "travis_yml" on an undefined value at /home/cpansand/.cpan/build/2016112318/Dist-Zilla-Plugin-TravisCI-0.010-YPhbVY/blib/lib/Dist/Zilla/Plugin/TravisCI.pm line 179.
# Looks like you failed 2 tests of 8.
t/basics.t .............
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/8 subtests
(less 6 skipped subtests: 0 okay)
t/compile.t ............ ok
t/release-beam.t ....... skipped: these tests are for release candidate testing

#   Failed test 'Build OK'
#   at t/subclass.t line 38.
# Can't call method "travis_yml" on an undefined value at /home/cpansand/.cpan/build/2016112318/Dist-Zilla-Plugin-TravisCI-0.010-YPhbVY/blib/lib/Dist/Zilla/Plugin/TravisCI.pm line 179.

#   Failed test '.travis.yml added'
#   at t/subclass.t line 44.
Error open (<:raw:encoding(UTF-8)) on '/home/cpansand/.cpan/build/2016112318/Dist-Zilla-Plugin-TravisCI-0.010-YPhbVY/tmp/WunNZgPppx/source/.travis.yml': Datei oder Verzeichnis nicht gefunden at t/subclass.t line 46.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 2 just after 2.
t/subclass.t ...........
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2 subtests
...


Statistical analysis suggests that the problem is caused by newer Beam::Emitter and/or Beam::Event versions (negative theta means "bad"):

****************************************************************
Regression 'mod:Beam::Emitter'
****************************************************************
Name                  Theta      StdErr T-stat
[0='const']          1.0000      0.0000 28993491374629388.00
[1='eq_1.000']     -0.0000      0.0000  -6.21
[2='eq_1.001']     -0.0000      0.0000  -2.74
[3='eq_1.002']      0.0000      0.0000   0.00
[4='eq_1.004']     -1.0000      0.0000 -17754814932406816.00
[5='eq_1.005']     -1.0000      0.0000 -25486701715655960.00

R^2= 1.000, N= 108, K= 6
****************************************************************

****************************************************************
Regression 'mod:Beam::Event'
****************************************************************
Name                  Theta      StdErr T-stat
[0='const']          1.0000      0.0000 28993491374629388.00
[1='eq_1.000']     -0.0000      0.0000  -6.21
[2='eq_1.001']     -0.0000      0.0000  -2.74
[3='eq_1.002']      0.0000      0.0000   0.00
[4='eq_1.004']     -1.0000      0.0000 -17754814932406816.00
[5='eq_1.005']     -1.0000      0.0000 -25486701715655960.00

R^2= 1.000, N= 108, K= 6
****************************************************************


Subject: Re: [rt.cpan.org #118930] Test suite started to fail
Date: Thu, 24 Nov 2016 00:36:41 -0600
To: bug-Dist-Zilla-Plugin-TravisCI@rt.cpan.org
From: Doug Bell <doug@preaction.me>
This is now fixed in Beam::Emitter v1.006 https://metacpan.org/release/PREACTION/Beam-Emitter-1.006. This ticket can be closed.


Show quoted text
On Nov 23, 2016, at 2:27 PM, Doug Bell via RT <bug-Dist-Zilla-Plugin-TravisCI@rt.cpan.org> wrote:

<URL: https://rt.cpan.org/Ticket/Display.html?id=118930 >

It looks like it's a regression in Beam::Emitter caused by this line:

https://metacpan.org/source/PREACTION/Beam-Emitter-1.005/lib/Beam/Emitter.pm#L169 <https://metacpan.org/source/PREACTION/Beam-Emitter-1.005/lib/Beam/Emitter.pm#L169>

If there's no listener for a particular event, it returns nothing, not the event object. This is incorrect and is a bug in Beam::Emitter. I've opened a ticket https://github.com/preaction/Beam-Emitter/issues/24 <https://github.com/preaction/Beam-Emitter/issues/24> and will fix it and release v1.006 over the weekend.

Thanks for the report and the analysis!


On Nov 23, 2016, at 2:05 PM, Slaven_Rezic via RT <bug-Dist-Zilla-Plugin-TravisCI@rt.cpan.org> wrote:

<URL: https://rt.cpan.org/Ticket/Display.html?id=118930 >

My smoker systems report the following failure:

...
PERL_DL_NONLAZY=1 "/usr/perl5.20.1Dp/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
Can't call method "travis_yml" on an undefined value at /home/cpansand/.cpan/build/2016112318/Dist-Zilla-Plugin-TravisCI-0.010-YPhbVY/blib/lib/Dist/Zilla/Plugin/TravisCI.pm line 179.
t/apt_package.t ........
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
t/author-pod-syntax.t .. skipped: these tests are for testing by the author

#   Failed test 'Build OK'
#   at t/basics.t line 29.
# Can't call method "travis_yml" on an undefined value at /home/cpansand/.cpan/build/2016112318/Dist-Zilla-Plugin-TravisCI-0.010-YPhbVY/blib/lib/Dist/Zilla/Plugin/TravisCI.pm line 179.

#   Failed test 'Build OK'
#   at t/basics.t line 50.
# Can't call method "travis_yml" on an undefined value at /home/cpansand/.cpan/build/2016112318/Dist-Zilla-Plugin-TravisCI-0.010-YPhbVY/blib/lib/Dist/Zilla/Plugin/TravisCI.pm line 179.
# Looks like you failed 2 tests of 8.
t/basics.t .............
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/8 subtests
(less 6 skipped subtests: 0 okay)
t/compile.t ............ ok
t/release-beam.t ....... skipped: these tests are for release candidate testing

#   Failed test 'Build OK'
#   at t/subclass.t line 38.
# Can't call method "travis_yml" on an undefined value at /home/cpansand/.cpan/build/2016112318/Dist-Zilla-Plugin-TravisCI-0.010-YPhbVY/blib/lib/Dist/Zilla/Plugin/TravisCI.pm line 179.

#   Failed test '.travis.yml added'
#   at t/subclass.t line 44.
Error open (<:raw:encoding(UTF-8)) on '/home/cpansand/.cpan/build/2016112318/Dist-Zilla-Plugin-TravisCI-0.010-YPhbVY/tmp/WunNZgPppx/source/.travis.yml': Datei oder Verzeichnis nicht gefunden at t/subclass.t line 46.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 2 just after 2.
t/subclass.t ...........
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2 subtests
...


Statistical analysis suggests that the problem is caused by newer Beam::Emitter and/or Beam::Event versions (negative theta means "bad"):

****************************************************************
Regression 'mod:Beam::Emitter'
****************************************************************
Name                  Theta      StdErr T-stat
[0='const']          1.0000      0.0000 28993491374629388.00
[1='eq_1.000']     -0.0000      0.0000  -6.21
[2='eq_1.001']     -0.0000      0.0000  -2.74
[3='eq_1.002']      0.0000      0.0000   0.00
[4='eq_1.004']     -1.0000      0.0000 -17754814932406816.00
[5='eq_1.005']     -1.0000      0.0000 -25486701715655960.00

R^2= 1.000, N= 108, K= 6
****************************************************************

****************************************************************
Regression 'mod:Beam::Event'
****************************************************************
Name                  Theta      StdErr T-stat
[0='const']          1.0000      0.0000 28993491374629388.00
[1='eq_1.000']     -0.0000      0.0000  -6.21
[2='eq_1.001']     -0.0000      0.0000  -2.74
[3='eq_1.002']      0.0000      0.0000   0.00
[4='eq_1.004']     -1.0000      0.0000 -17754814932406816.00
[5='eq_1.005']     -1.0000      0.0000 -25486701715655960.00

R^2= 1.000, N= 108, K= 6
****************************************************************




Thanks. Free free to re-open if there's anything else we should do for Travis-CI :)



-- 
- CPAN kentnl@cpan.org
- Gentoo Perl Maintainer kentnl@gentoo.org ( perl@gentoo.org )
 



This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.