Intrepid has asked for the wisdom of the Perl Monks concerning the following question:

I tried installing Test2::Harness and a couple tests failed. I am not totally understanding the output and if someone knowledgeable could interpret this for me I'd be grateful.



Running make test for EXODIST/Test2-Harness-1.000170.tar.gz
PERL_DL_NONLAZY=1 "/usr/bin/perl.exe" "-Iblib/lib" "-Iblib/arch" test.pl

  FAIL    job 46  +~find_in_updir
  PASS    job 46    + Found file in expected spot
  FAIL    job 46    + Found file in expected spot
  DEBUG   job 46    | t/unit/App/Yath/Util.t line 133
(  DIAG  )  job 46    | +---------+----+-----------------------------------------------------------+
(  DIAG  )  job 46    | | GOT     | OP | CHECK                                                     |
(  DIAG  )  job 46    | +---------+----+-----------------------------------------------------------+
(  DIAG  )  job 46    | | <UNDEF> | =~ | (?^:\/cygdrive\/c\/Users\/somia\/AppData\/Local\/Temp\/ya |
(  DIAG  )  job 46    | |         |    | th\-149000\-j3p7oZ\/tmp\/FJbCQG\/17DQP5yPmV\/thefile$)    |
(  DIAG  )  job 46    | +---------+----+-----------------------------------------------------------+
  PLAN    job 46    | Expected assertions: 2
            job 46    ^
(  DIAG  )  job 46    Failed test 'find_in_updir'
(  DIAG  )  job 46    at t/unit/App/Yath/Util.t line 134.

-------------------------------------------------------------------------------------------

  FAIL    job 57  + /cygdrive/c/Users/somia/AppData/Local/Temp has correct permissions
  DEBUG   job 57    t2/tmp_perms.t line 36

The following jobs failed at least once:
+--------------------+-----------+--------------------+--------------------+
| Job ID             | Times Run | Test File          | Succeeded Eventual |
|                    |           |                    | ly?                |
+--------------------+-----------+--------------------+--------------------+
|                    |           |                    |                    |
| 796D54CF-8067-1014 | 2         | t/unit/App/Yath/Ut | NO                 |
| -B37C-A366FD41E411 |           | il.t               |                    |
|                    |           |                    |                    |
| 7973C25C-8067-1014 | 2         | t2/tmp_perms.t     | NO                 |
| -B37C-A366FD41E411 |           |                    |                    |
+--------------------+-----------+--------------------+--------------------+

The following jobs failed:
+---------------------------------+------------------------+---------------+
| Job ID                          | Test File              | Subtests      |
+---------------------------------+------------------------+---------------+
| 796D54CF-8067-1014-B37C-A366FD4 | t/unit/App/Yath/Util.t | find_in_updir |
| 1E411                           |                        |               |
|                                 |                        |               |
| 7973C25C-8067-1014-B37C-A366FD4 | t2/tmp_perms.t         |               |
| 1E411                           |                        |               |
+---------------------------------+------------------------+---------------+

                                    Yath Result Summary
-------------------------------------------------------------------------------------------
     Fail Count: 2
     File Count: 91
Assertion Count: 1996
      Wall Time: 632.81 seconds
       CPU Time: 1960.39 seconds (usr: 3.67s | sys: 1.70s | cusr: 459.45s | csys: 1495.57s)
      CPU Usage: 309%
    -->  Result: FAILED  <--

yath exited with 256 yath exited with 256
not ok 1 - Passed tests when run by yath (allow fork)
not ok 2 - Passed tests when run by yath (no fork)

-------------------------------------------------------------------------------------------
My Perl and System characteristics:

cygwin_nt-10.0-26200 - 3.7.0
AMD Ryzen 5 4600H with Radeon Graphics (AuthenticAMD 3000MHz) x86_64
Perl (/usr/bin/perl:
This is perl 5, version 40, subversion 3 (v5.40.3) built for x86_64-cygwin-threads-multi

Thanks, all.
    – Soren
Apr 15, 2026 at 18:38 UTC

A just machine to make big decisions
Programmed by fellows (and gals) with compassion and vision
We'll be clean when their work is done
We'll be eternally free yes, and eternally young
Donald Fagen —> I.G.Y.
(Slightly modified for inclusiveness)

  • Comment on Failed 2 tests on CygPerl for Test2::Harness; would a newer perl pass?