Bug#865893: libtest-simple-perl: crashes the libapache2-authcookie-perl test suite

Niko Tyni ntyni at debian.org
Sun Jun 25 16:18:38 UTC 2017


Package: libtest-simple-perl
Version: 1.302075-1
Severity: important
Tags: fixed-upstream
Forwarded: https://github.com/Test-More/test-more/issues/757
User: debian-perl at lists.debian.org
Usertags: perl-5.26-transition
Control: clone -1 -2
Control: reassign -2 perl 5.26.0-1

The libapache2-authcookie-perl test suite has started to fail with new
versions of Test-Simple, including the one in this package and the one
shipped with Perl 5.26.

  Can't call method "ctx" on an undefined value at /usr/share/perl5/Test/Builder.pm line 228.
  A context appears to have been destroyed without first calling release().
  Based on $@ it does not look like an exception was thrown (this is not always
  a reliable test)
  [...]
  Here are the context creation details, just in case a tool forgot to call
  release():
    File: t/real.t
    Line: 35
    Tool: Test::More::subtest
  [...]
  Test Summary Report
  -------------------
  t/real.t             (Wstat: 65280 Tests: 1 Failed: 0)
    Non-zero exit status: 255

Full build logs:

 sid with libtest-simple-perl (>= 1.302075-1) in b-deps:
  http://perl.debian.net/rebuild-logs/experimental/libapache2-authcookie-perl_3.26-1/libapache2-authcookie-perl_3.26-1_amd64-2017-06-25T16%3A03%3A49Z.build

 Perl 5.26:
  http://perl.debian.net/rebuild-logs/perl-5.26-throwaway/libapache2-authcookie-perl_3.26-1/libapache2-authcookie-perl_3.26-1_amd64-2017-06-25T15:40:13Z.build

This should be fixed upstream by
  https://github.com/Test-More/test-more/commit/68775db7eef1a7e30dc03abf8feabcf3e32301d4

with the Changes entry

  1.302076  2017-02-01 19:38:42-08:00 America/Los_Angeles (TRIAL RELEASE)
    - Fix crash when TB->reset used inside subtest

I'm cloning a separate bug for src:perl (assuming the control magic works)
as I think we'll want to backport this fix to the 5.26.0 package.
-- 
Niko Tyni   ntyni at debian.org



More information about the pkg-perl-maintainers mailing list