Bug#921024: apache2: DEP8 failure with 2.4.38-1: allowmethods.t
Le 05/02/2019 à 00:14, Stefan Fritsch a écrit :
> On Thursday, 31 January 2019 19:16:06 CET Andreas Hasenack wrote:
>> Package: apache2
>> Version: 2.4.38-1
>> Severity: normal
>> Dear Maintainer,
>> The updated 2.4.38-1 package for apache2 triggered a DEP8 test failure:
>> >From https://ci.debian.net/data/autopkgtest/unstable/amd64/a/
>> # Failed test 10 in t/modules/allowmethods.t at line 44 fail #10
>> t/modules/allowmethods.t ............
>> Failed 1/10 subtests
>> The logs are sparse, to say the best, but this wasn't failing with
>> 2.4.37-1. Unfortunately I'm not familiar with this test suite and
>> cannot pinpoint which config apache2 was using at that time, nor which
>> request failed exactly.
>> I was merging 2.4.38-1 into Ubuntu, and hit the same failure there.
> At the top of debian/tests/run-test-suite , there is:
> # set to "-v t/modules/ext_filter.t ..." to run only a few test, but verbose
> Changing that should give a bit more verbosity.
> Also, the test frame work comes from a separate repository  and may need to
> be updated for new upstream releases. It's simply dumped into debian/perl-
> framework in the debian package. On the other hand, the diff between our
> version and the current upstream version does not look like having to do
> anything with allowmethods.
> Another idea is that maybe our perl libs behave differently with redirects. By
> changing /reset to /reset/ in t/modules/allowmethods.t one could avoid the
> redirect done by mod_directory.
> I don't have time right now to try any of these. Maybe in the next few days.
> If somebody else has time, go ahead.
>  https://svn.apache.org/repos/asf/httpd/test/framework/trunk
I didn't succeed to get the same autopkgtest results here using
autopkgtest LXC. Do you know how to reproduce debci environment ?
I updated also test framework environment (not yet pushed).