Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 663272 - dev-perl/Test-Inline-2.213.0 fails tests under parallel testing
Summary: dev-perl/Test-Inline-2.213.0 fails tests under parallel testing
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:
 
Reported: 2018-08-10 05:37 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2019-10-16 03:51 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) (RETIRED) gentoo-dev 2018-08-10 05:37:04 UTC
Occurs due to multiple tests hitting the same paths under a race condition.

Install Deps:

Calculating dependencies  .... done!
[ebuild  N     ] dev-perl/Test-Inline-2.213.0-r1  USE="{-test}" 0 KiB
[ebuild  N     ]  dev-perl/Pod-Tests-1.190.0-r1  0 KiB
[ebuild  N     ]  dev-perl/Config-Tiny-2.230.0  USE="{-test}" 0 KiB
[ebuild  N     ]  dev-perl/Params-Util-1.70.0  USE="{-test}" 0 KiB
[ebuild  N     ]  dev-perl/File-Find-Rule-0.340.0  USE="{-test}" 0 KiB
[ebuild  N     ]   dev-perl/Number-Compare-0.30.0-r1  0 KiB
[ebuild  N     ]   dev-perl/Text-Glob-0.90.0-r1  0 KiB
[ebuild  N     ]  dev-perl/File-Remove-1.570.0  USE="{-test}" 0 KiB
[ebuild  N    #]   virtual/perl-File-Path-2.150.0  0 KiB
[ebuild  N     ]  dev-perl/File-Slurp-9999.190.0-r1  0 KiB
[ebuild  N     ]  dev-perl/File-chmod-0.420.0  USE="{-test}" 0 KiB
[ebuild  N     ]  dev-perl/File-Flat-1.40.0-r1  0 KiB
[ebuild  N     ]   dev-perl/prefork-1.40.0-r2  0 KiB
[ebuild  N     ]   dev-perl/File-Copy-Recursive-0.380.0-r1  0 KiB
[ebuild  N     ]   dev-perl/Class-Autouse-2.10.0-r2  0 KiB
[ebuild  N     ]   dev-perl/Test-ClassAPI-1.60.0-r2  0 KiB
[ebuild  N     ]    dev-perl/Class-Inspector-1.320.0  USE="{-test}" 0 KiB
[ebuild  N     ]  dev-perl/Algorithm-Dependency-1.110.0-r2  USE="{-test}" 0 KiB

Test Deps:

[nomerge       ] dev-perl/Test-Inline-2.213.0-r1  USE="{-test}"
[ebuild  N     ]  dev-perl/Test-Script-1.100.0  0 KiB
[ebuild  N     ]   dev-perl/Probe-Perl-0.30.0  USE="{-test}" 0 KiB
[ebuild  N     ]   dev-perl/IPC-Run3-0.48.0  USE="{-test}" 0 KiB
[ebuild  N    #]    virtual/perl-Time-HiRes-1.975.900  0 KiB

Output:

>>> Test phase: dev-perl/Test-Inline-2.213.0-r1
 * Test::Harness Jobs=3
make -j3 test TEST_VERBOSE=0
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
t/01_compile.t .......... ok
t/02_main.t ............. ok
t/03_bad_dependency.t ... ok
t/04_file_handler.t ..... ok
t/05_check_count.t ...... ok
===(     143;0   5/23  2/9 )============================================$UMASK being true is deprecated it will be false by default in the future. This change is being made because this not the behavior of the unix command `chmod`. This warning can be disabled by putting explicitly setting $File::chmod::UMASK to false (0) to act like system chmod, or any non 2 true value see Github issue #5  at /var/tmp/portage/dev-perl/Test-Inline-2.213.0-r1/work/Test-Inline-2.213/blib/lib/Test/Inline/IO/File.pm line 186.
$UMASK being true is deprecated it will be false by default in the future. This change is being made because this not the behavior of the unix command `chmod`. This warning can be disabled by putting explicitly setting $File::chmod::UMASK to false (0) to act like system chmod, or any non 2 true value see Github issue #5  at /var/tmp/portage/dev-perl/Test-Inline-2.213.0-r1/work/Test-Inline-2.213/blib/lib/Test/Inline/IO/File.pm line 186.
$UMASK being true is deprecated it will be false by default in the future. This change is being made because this not the behavior of the unix command `chmod`. This warning can be disabled by putting explicitly setting $File::chmod::UMASK to false (0) to act like system chmod, or any non 2 true value see Github issue #5  at /var/tmp/portage/dev-perl/Test-Inline-2.213.0-r1/work/Test-Inline-2.213/blib/lib/Test/Inline/IO/File.pm line 186.
$UMASK being true is deprecated it will be false by default in the future. This change is being made because this not the behavior of the unix command `chmod`. This warning can be disabled by putting explicitly setting $File::chmod::UMASK to false (0) to act like system chmod, or any non 2 true value see Github issue #5  at /var/tmp/portage/dev-perl/Test-Inline-2.213.0-r1/work/Test-Inline-2.213/blib/lib/Test/Inline/IO/File.pm line 186.

#   Failed test 'Found test_three.t'
#   at t/06_multifile.t line 62.

#   Failed test 'Found test_four.t'
#   at t/06_multifile.t line 67.

#   Failed test 'Found test_four.t'
#   at t/06_multifile.t line 68.

#   Failed test 'Found manifest file'
#   at t/06_multifile.t line 73.

#   Failed test 'Found manifest file'
#   at t/06_multifile.t line 74.
$UMASK being true is deprecated it will be false by default in the future. This change is being made because this not the behavior of the unix command `chmod`. This warning can be disabled by putting explicitly setting $File::chmod::UMASK to false (0) to act like system chmod, or any non 2 true value see Github issue #5  at /var/tmp/portage/dev-perl/Test-Inline-2.213.0-r1/work/Test-Inline-2.213/blib/lib/Test/Inline/IO/File.pm line 186.
$UMASK being true is deprecated it will be false by default in the future. This change is being made because this not the behavior of the unix command `chmod`. This warning can be disabled by putting explicitly setting $File::chmod::UMASK to false (0) to act like system chmod, or any non 2 true value see Github issue #5  at /var/tmp/portage/dev-perl/Test-Inline-2.213.0-r1/work/Test-Inline-2.213/blib/lib/Test/Inline/IO/File.pm line 186.
$UMASK being true is deprecated it will be false by default in the future. This change is being made because this not the behavior of the unix command `chmod`. This warning can be disabled by putting explicitly setting $File::chmod::UMASK to false (0) to act like system chmod, or any non 2 true value see Github issue #5  at /var/tmp/portage/dev-perl/Test-Inline-2.213.0-r1/work/Test-Inline-2.213/blib/lib/Test/Inline/IO/File.pm line 186.
$UMASK being true is deprecated it will be false by default in the future. This change is being made because this not the behavior of the unix command `chmod`. This warning can be disabled by putting explicitly setting $File::chmod::UMASK to false (0) to act like system chmod, or any non 2 true value see Github issue #5  at /var/tmp/portage/dev-perl/Test-Inline-2.213.0-r1/work/Test-Inline-2.213/blib/lib/Test/Inline/IO/File.pm line 186.
t/07_add_directory.t .... ok
===(     167;0  22/23  0/? )============================================# Looks like you failed 5 tests of 23.
t/06_multifile.t ........ Dubious, test returned 5 (wstat 1280, 0x500)
Failed 5/23 subtests
t/09_regression.t ....... ok
t/10_legacy_extract.t ... ok
t/08_add_all.t .......... ok
t/11_legacy_script.t .... ok
t/13_api.t .............. ok
t/12_content_handler.t .. ok

Test Summary Report
-------------------
t/06_multifile.t      (Wstat: 1280 Tests: 23 Failed: 5)
  Failed tests:  14, 16-17, 19-20
  Non-zero exit status: 5
Files=13, Tests=329,  2 wallclock secs ( 0.09 usr  0.01 sys +  1.93 cusr  0.23 csys =  2.26 CPU)
Result: FAIL
Comment 1 Larry the Git Cow gentoo-dev 2019-07-17 09:23:41 UTC
The bug has been referenced in the following commit(s):

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

commit fbcdaf5340cb7ecfeb81b00c2eb37b4627ddeb1d
Author:     Kent Fredric <kentnl@gentoo.org>
AuthorDate: 2019-07-17 09:23:08 +0000
Commit:     Kent Fredric <kentnl@gentoo.org>
CommitDate: 2019-07-17 09:23:33 +0000

    dev-perl/Test-Inline: Disable parallel tests re bug #663272
    
    Bug: https://bugs.gentoo.org/663272
    Package-Manager: Portage-2.3.66, Repoman-2.3.16
    Signed-off-by: Kent Fredric <kentnl@gentoo.org>

 dev-perl/Test-Inline/Test-Inline-2.213.0-r2.ebuild | 43 ++++++++++++++++++++++
 1 file changed, 43 insertions(+)
Comment 2 Larry the Git Cow gentoo-dev 2019-10-16 03:51:59 UTC
The bug has been closed via the following commit(s):

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

commit 8794fca4ef5900c7488fef0461e73069d670fff7
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2019-10-15 12:52:17 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2019-10-16 03:51:33 +0000

    dev-perl/Test-Inline: 2.213.0-r2 stable for all, bug 663272
    
    Closes: https://bugs.gentoo.org/663272
    Package-Manager: Portage-2.3.76, Repoman-2.3.17
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 dev-perl/Test-Inline/Test-Inline-2.213.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)