Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 675164 - dev-perl/DBI fails tests w/ MAKEOPTS=-j99 ( or any value over 79 )
Summary: dev-perl/DBI fails tests w/ MAKEOPTS=-j99 ( or any value over 79 )
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL: https://rt.cpan.org/Ticket/Display.ht...
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: perl-testfailure
  Show dependency tree
 
Reported: 2019-01-11 09:41 UTC by Kent Fredric (IRC: kent\n)
Modified: 2020-09-19 09:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Fredric (IRC: kent\n) gentoo-dev 2019-01-11 09:41:28 UTC
Seems like t/80proxy.t and some other test share resources in some way, leading to t/80proxy.t failing:

===( 1790;4 92/130 91/137 87/? 62/? 69/99 73/242 27... )===DBI connect('hostname=127.0.0.1;port=35677;debug=0;dsn=DBI:ExampleP:','',...) failed: Cannot log in to DBI::ProxyServer: Cannot connect: Connection refused at /usr/lib64/perl5/vendor_perl/5.26.2/RPC/PlClient.pm line 70. at /usr/lib64/perl5/vendor_perl/5.26.2/Net/Daemon/Log.pm line 136. at t/80proxy.t line 121. # failed test 1 at line 121 # failed test 2 at line 126 Use of uninitialized value in concatenation (.) or string at t/80proxy.t line 129. # failed test 3 at line 130 Can't call method "begin_work" on unblessed reference at t/80proxy.t line 150. t/80proxy.t ..................... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 130/136 subtests 


Forcing MAKEOPTS to <70 significantly reduces the incidence of failure, but can't guarantee avoidance of failure due to the inherent nondeterministic nature of parallel testing.

Instead of disabling tests entirely, or disabling parallel testing entirely ( this greatly makes the test suite slower ), I'm probably going to just hack the -j value passed to test harness in the ebuild, until upstream fixes the underlying bug.
Comment 1 Larry the Git Cow gentoo-dev 2019-01-11 10:03:17 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da0ca02d4d009136cf90dacb4c9fa8d07c41df28

commit da0ca02d4d009136cf90dacb4c9fa8d07c41df28
Author:     Kent Fredric <kentnl@gentoo.org>
AuthorDate: 2019-01-11 10:00:22 +0000
Commit:     Kent Fredric <kentnl@gentoo.org>
CommitDate: 2019-01-11 10:03:03 +0000

    dev-perl/DBI: Workaround test failures with -jx w/ x > 70 bug #675164
    
    Bug: https://bugs.gentoo.org/675164
    Package-Manager: Portage-2.3.55, Repoman-2.3.12
    Signed-off-by: Kent Fredric <kentnl@gentoo.org>

 dev-perl/DBI/DBI-1.637.0.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
Comment 2 Kent Fredric (IRC: kent\n) gentoo-dev 2020-09-19 09:46:40 UTC
commit da0ca02d4d009136cf90dacb4c9fa8d07c41df28
Author: Kent Fredric <kentnl@gentoo.org>
Date:   2019-01-11 23:00:22 +1300

    dev-perl/DBI: Workaround test failures with -jx w/ x > 70 bug #675164


commit af84e8ca90c3e93ff5a3ef7c07ea98099171b0cf
Author: Kent Fredric <kentnl@gentoo.org>
Date:   2020-07-09 16:47:19 +1200

    dev-perl/DBI: Bump to version 1.643.0


commit 3c4d23001a888798c23a4333aaf36bbef5121f51
Author: Kent Fredric <kentnl@gentoo.org>
Date:   2020-09-07 21:28:02 +1200

    dev-perl/DBI: Cleanup old 1.637.0 re bug #732636