[Bug 2047961] [NEW] build time tests fail with libcgi-pm-perl >=4.58

Launchpad Bug Tracker 2047961 at bugs.launchpad.net
Wed Jan 3 18:10:47 UTC 2024


You have been subscribed to a public bug by Chris Peterson (cpete):

Certain build test outputs are failing to match the expected output.

An example from build log:

696s t/80_devpopup.t ..................... 
696s 1..4
696s ok 1 - taint checking is on
696s # Subtest: front page
696s     1..2
696s     ok 1 - frontpage
696s     ok 2 - not authenticated
696s ok 2 - front page
696s # Subtest: interception
696s     1..2
696s     ok 1 - login
696s     ok 2 - not authenticated
696s ok 3 - interception
696s # Subtest: successful login
696s     1..4
696s     not ok 1 - success
696s 
696s     #   Failed test 'success'
696s     #   at /usr/share/perl5/Test/Regression.pm line 92.
696s     # +---+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------+
696s     # | Ln|Got                                                                                                                                                                                                                            |Expected                                       |
696s     # +---+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------+
696s     # *  1|'Set-Cookie: CAPAUTH_DATA=bGFzdF9hY2Nlc3M9MTcwMzQ1Nzg3MABjPXZWZnEreUdSNFQ3NVZ4ZWFOWXNFQjJoTjJ2OABsb2dpbl9hdHRlbXB0cz0wAHVzZXJuYW1lPXVzZXIxAGxhc3RfbG9naW49MTcwMzQ1Nzg3MA%3D%3D; path=/; expires=Mon, 23 Dec 2024 22:44:30 GMT  |'Set-Cookie: CAPAUTH_DATA=; path=/; expires=;  *
696s     # |  2|Date                                                                                                                                                                                                                           |Date                                           |
696s     # |  3|Content-Type: text/html; charset=ISO-8859-1                                                                                                                                                                                    |Content-Type: text/html; charset=ISO-8859-1    |
696s     # |  4|                                                                                                                                                                                                                               |                                               |
696s     # +---+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------+


This is because the cookies expires date format changed in libcgpi-pm-
perl in version 4.58, which the test normally strips out but is now
using the incorrect regex.

** Affects: libcgi-application-plugin-authentication-perl (Ubuntu)
     Importance: Undecided
     Assignee: Chris Peterson (cpete)
         Status: In Progress

** Affects: libcgi-application-plugin-authentication-perl (Debian)
     Importance: Unknown
         Status: Unknown


** Tags: update-excuse
-- 
build time tests fail with libcgi-pm-perl >=4.58
https://bugs.launchpad.net/bugs/2047961
You received this bug notification because you are a member of Ubuntu Sponsors, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list