enterprise-support team mailing list archive
-
enterprise-support team
-
Mailing list archive
-
Message #10864
[Bug 2112429] Re: [questing] [autopkgtest] Apache2 2.4.63-1ubuntu2 fails its own test suite
** Description changed:
Discovered through update_excuses and confirmed locally in an LXD
autopkgtest container (from https://github.com/canonical/ubuntu-
maintainers-handbook/blob/main/PackageTests.md to create it), the
autopkgtests on 2.4.63-1ubuntu2 fail for apache2's test suite.
It fails on debian/perl-framework/t/apache/pr64339.t, test #12 which
makes sure certain content is rendered by xml2enc's backend components.
- I followed every single
+ I followed every single step and reproduced in a pure LXD container with
+ the apache2 binaries in proposed.
+
+ With this in mind, the following is the specific items in the test at
+ fault:
+
+ EXPECTED: response from looking at
+ http://localhost:8529/modules/xml2enc/front/doc.isohtml with a GET call
+ is "<html><body><p>fóó\n</p></body></html>" and is UTF-8 encoded
+
+ ACTUAL: response from looking at
+ http://localhost:8529/modules/xml2enc/front/doc.isohtml with a GET call
+ is "<html><body>fóó\n</body></html>"
+
+ There is a changelog that introduces this test via a pull request:
+ *) mod_xml2enc: Update check to accept any text/ media type
+ or any XML media type per RFC 7303, avoiding
+ corruption of Microsoft OOXML formats. PR 64339.
+ [Joseph Heenan joseph.heenan fintechlabs.io, Joe Orton]
+
+ ... in 2.4.59 in April 2024. At the time the test was written, Apache
+ was using libxml2 and the 2.12 branch.
+
+ After examining the Apache code (modules/filters/mod_xml2enc.c), it
+ calls htmlParser which is part of libxml2.
+
+ Using HTMLParser from python3-lxml (which is libxml2 wrappings for
+ Python), I went through the decoding process of perl-
+ framework/t/htdocs/modules/xml2enc/doc.isohtml which is what is used
+ during the test suite during t/apache/pr64339.t, I was able to determine
+ that libxml2's parser outputs the value observed in teh failing test -
+ namely "<html><body>fóó\n</body></html>" - which indicates this is a
+ libxml2 change.
+
+ I am unsure where the Ubuntu packaging gets its debian/perl-framework
+ for its tests, but as this seems to be a libxml2 change, we can either
+ modify debian/perl-framework/t/apache/pr64339.t to adjust its output, or
+ look for an updated set of Apache2's test suites and perl-framework.
+
+ ---
ProblemType: Bug
DistroRelease: Ubuntu 25.10
Package: apache2 2.4.63-1ubuntu2
ProcVersionSignature: Ubuntu 6.11.0-26.26~24.04.1-generic 6.11.11
Uname: Linux 6.11.0-26-generic x86_64
Apache2ConfdDirListing: False
Apache2Modules:
- AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 10.73.1.36. Set the 'ServerName' directive globally to suppress this message
- httpd (pid 2813) already running
+ AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 10.73.1.36. Set the 'ServerName' directive globally to suppress this message
+ httpd (pid 2813) already running
ApportVersion: 2.32.0-0ubuntu5
Architecture: amd64
CasperMD5CheckResult: unknown
CloudArchitecture: x86_64
CloudBuildName: server
CloudID: lxd
CloudName: lxd
CloudPlatform: lxd
CloudSerial: 20250528
CloudSubPlatform: LXD socket API v. 1.0 (/dev/lxd/sock)
Date: Wed Jun 4 01:37:25 2025
ProcEnviron:
- LANG=C.UTF-8
- PATH=(custom, no user)
- TERM=xterm-256color
+ LANG=C.UTF-8
+ PATH=(custom, no user)
+ TERM=xterm-256color
SourcePackage: apache2
UpgradeStatus: No upgrade log present (probably fresh install)
- error.log:
- [Wed Jun 04 00:55:26.316133 2025] [mpm_event:notice] [pid 2813:tid 2813] AH00489: Apache/2.4.63 (Ubuntu) configured -- resuming normal operations
- [Wed Jun 04 00:55:26.316189 2025] [core:notice] [pid 2813:tid 2813] AH00094: Command line: '/usr/sbin/apache2'
** Attachment removed: "apache2.conf from test suite"
https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/2112429/+attachment/5881917/+files/apache2_test_config
** Summary changed:
- [questing] [autopkgtest] Apache2 2.4.63-1ubuntu2 fails its own test suite
+ [questing] [autopkgtest] Apache2 2.4.63-1ubuntu2 fails d/perl-framework test suites
** Also affects: apache2 (Ubuntu Questing)
Importance: Undecided
Status: New
** Summary changed:
- [questing] [autopkgtest] Apache2 2.4.63-1ubuntu2 fails d/perl-framework test suites
+ [questing] [autopkgtest] Apache2 2.4.63-1ubuntu2 fails d/perl-framework test suites, thus fails autopkgtests
--
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to apache2 in Ubuntu.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/2112429
Title:
[questing] [autopkgtest] Apache2 2.4.63-1ubuntu2 fails d/perl-
framework test suites, thus fails autopkgtests
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/2112429/+subscriptions
References