I seem to have profiles misconfigured (somehow), but that's not the point of this report. A test should fail, not terminate the entire test file, and the recommended way to acheive this is encapsulating tests that /could/ invoke "die" in an exception handler, such as Test::Fatal's `exception { }`. Here is what is happening for me without instrumentation: PERL_DL_NONLAZY=1 /usr/bin/perl5.16.3 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t make --jobs=2 --load-average=1.0 test TEST_VERBOSE=0 t/00_PortageXS.t ... ok t/01_Core.t ........ Dubious, test returned 255 (wstat 65280, 0xff00) Failed 15/32 subtests # Looks like you planned 32 tests but ran 17. t/02_UI_Spinner.t .. ok t/03_System.t ...... ok t/04_Useflags.t .... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 1/4 subtests # Looks like you planned 4 tests but ran 3. t/05_Console.t ..... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 1/2 subtests Test Summary Report ------------------- t/01_Core.t (Wstat: 65280 Tests: 17 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 32 tests but ran 17. t/04_Useflags.t (Wstat: 65280 Tests: 3 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 4 tests but ran 3. t/05_Console.t (Wstat: 65280 Tests: 1 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 2 tests but ran 1. ^^^ this is an indicator of bad tests. Tests should fail, but not terminate the whole test. Setting `TEST_VERBOSE=1` in my `ENV` does help to understand what's going on a little more. t/01_Core.t ........ 1..32 ok 1 - check if PortageXS->new() works ok 2 - getPortdir: /usr/portage ok 3 - getFileContents of /etc/portage/make.conf ok 4 - searchInstalledPackage - dev-lang/perl: dev-lang/perl-5.16.3 ok 5 - getParamFromFile /etc/portage/make.conf - CFLAGS: -march=native -mtune=native -O2 -pipe ok 6 - getUseSettingsOfInstalledPackage - dev-lang/perl-5.16.3: berkdb -build -debug -doc gdbm ithreads ok 7 - getAvailableEbuilds - dev-lang/perl: perl-5.12.4.ebuild perl-5.16.3.ebuild perl-5.10.1.ebuild perl-5.12.5.ebuild perl-5.16.0.ebuild perl-5.16.1.ebuild perl-5.12.4-r1.ebuild perl-5.8.8-r$ .ebuild perl-5.12.4-r2.ebuild perl-5.12.3-r1.ebuild perl-5.14.1.ebuild perl-5.14.1-r1.ebuild perl-5.16.2.ebuild perl-5.14.2.ebuild perl-5.16.2-r1.ebuild ok 8 - getPortageXScategorylist - perl: dev-perl perl-core perl-gcpan ok 9 - getAvailableArches: alpha amd64 amd64-fbsd arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc sparc-fbsd x86 x86-fbsd \# Prefix keywords ppc-aix x86-freebsd x64-freebsd sparc64-freebsd hp$ a-hpux ia64-hpux x86-interix amd64-linux arm-linux ia64-linux ppc64-linux x86-linux ppc-macos x86-macos x64-macos m68k-mint x86-netbsd ppc-openbsd x86-openbsd x64-openbsd sparc-solaris sparc64$ solaris x64-solaris x86-solaris x86-winnt x86-cygwin ok 10 - getPackagesFromCategory - dev-perl: 1165 packages found ok 11 - fileBelongsToPackage - /etc/gentoo-release: sys-apps/baselayout-2.2 ok 12 - fileBelongsToPackage bogus test ok 13 - getFilesOfInstalledPackage: 2783 files for dev-lang/perl found ok 14 - getEbuildVersion test 1 ok 15 - getEbuildVersion test 2 ok 16 - getEbuildVersion test 3 ok 17 - getEbuildVersion test 4 * Profile not set! Dubious, test returned 255 (wstat 65280, 0xff00) Failed 15/32 subtests # Looks like you planned 32 tests but ran 17. t/04_Useflags.t .... 1..4 ok 1 - getUsedesc('perl','/usr/portage'): Adds optional support/bindings for the Perl language ok 2 - getUsedescs('perl','/usr/portage'): Adds optional support/bindings for the Perl language ok 3 - sortUseflags returned expected order: bar baz foo -bam * Profile not set! Dubious, test returned 255 (wstat 65280, 0xff00) Failed 1/4 subtests t/05_Console.t ..... 1..2 # Looks like you planned 4 tests but ran 3. ok 1 - check if PortageXS->new() works * Profile not set! Dubious, test returned 255 (wstat 65280, 0xff00) Failed 1/2 subtests No `emerge --info` attached, because that data proves mostly useless for perl herd problems.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5678f9452dff2c54da4a50cad1ff81ce097fddf commit b5678f9452dff2c54da4a50cad1ff81ce097fddf Author: Jakov Smolic <jakov.smolic@sartura.hr> AuthorDate: 2021-06-06 17:21:57 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2021-06-06 17:21:57 +0000 dev-perl/PortageXS: Remove last-rited pkg Closes: https://github.com/gentoo/gentoo/pull/21103 Closes: https://bugs.gentoo.org/264680 Closes: https://bugs.gentoo.org/289524 Closes: https://bugs.gentoo.org/332611 Closes: https://bugs.gentoo.org/473394 Closes: https://bugs.gentoo.org/613114 Closes: https://bugs.gentoo.org/625536 Closes: https://bugs.gentoo.org/671244 Closes: https://bugs.gentoo.org/688238 Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: David Seifert <soap@gentoo.org> dev-perl/PortageXS/Manifest | 2 - dev-perl/PortageXS/PortageXS-0.02.10-r4.ebuild | 54 ------ dev-perl/PortageXS/PortageXS-0.2.10-r5.ebuild | 60 ------- dev-perl/PortageXS/PortageXS-0.2.12-r1.ebuild | 63 ------- .../files/0.02.12/PortageXS-0.02.12-prefix.patch | 198 --------------------- .../files/PortageXS-0.02.10-portage_path_fix.patch | 86 --------- .../PortageXS/files/PortageXS-0.02.10-prefix.patch | 137 -------------- dev-perl/PortageXS/metadata.xml | 17 -- profiles/package.mask | 11 -- 9 files changed, 628 deletions(-)