[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#921024: apache2: DEP8 failure with 2.4.38-1: allowmethods.t



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:
> 
> https://ci.debian.net/packages/a/apache2/unstable/amd64/
> 
> >From https://ci.debian.net/data/autopkgtest/unstable/amd64/a/
apache2/1808954/log.gz:
> ...
> # 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
TESTS=""

Changing that should give a bit more verbosity.

Also, the test frame work comes from a separate repository [1] 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.

Cheers,
Stefan

[1]  https://svn.apache.org/repos/asf/httpd/test/framework/trunk


Reply to: