Bug#1142800: sqitch: test failures with newer versions of libtest-mockmodule-perl

Niko Tyni ntyni at debian.org
Sun Jul 26 09:54:20 BST 2026


Source: sqitch
Version: 1.6.1-1
Severity: serious
Tags: ftbfs patch fixed-upstream
Forwarded: https://github.com/sqitchers/sqitch/issues/921

This package fails to build on current sid.

  Can't call method "ident" without a package or object reference at t/engine.t line 2501.
  # Looks like your test exited with 255 just after 531.

  Test Summary Report
  -------------------
  t/engine.t        (Wstat: 65280 (exited 255) Tests: 531 Failed: 0)
    Non-zero exit status: 255
    Parse errors: Bad plan.  You planned 802 tests but ran 531.
  Files=52, Tests=7625, 34 wallclock secs ( 0.65 usr  0.10 sys + 23.99 cusr  4.06 csys = 28.80 CPU)
  Result: FAIL

This seems to have regressed with newer versions of
libtest-mockmodule-perl.  I checked that the autopkgtest suite passes
with libtest-mockmodule-perl_0.180.0-1 from testing.

There's a simple fix around

  https://github.com/sqitchers/sqitch/pull/922/files#diff-6554d96b51ddfb2df26dbf8a4e20d7b3dca529295bfbd657b1a12be4ab484dd1

that moves the unmock() call a bit further in the test. So this
looks like a test-only issue that doesn't warrant a Breaks on the
libtest-mockmodule-perl side.

-- 
Niko Tyni	ntyni at debian.org



More information about the pkg-perl-maintainers mailing list