libcgi-application-plugin-authentication-perl package/0.24+~cs0.5-1 vs libcgi-pm-perl/ 4.66-1

Bug #2071369 reported by Chris Peterson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libcgi-application-plugin-authentication-perl (Debian)
Fix Released
Unknown
libcgi-application-plugin-authentication-perl (Ubuntu)
Fix Released
Undecided
Unassigned
libcgi-pm-perl (Ubuntu)
New
Undecided
Unassigned

Bug Description

Autopkgtest results: https://objectstorage.prodstack5.canonical.com/swift/v1/AUTH_0f9aae918d5b4744bf7b827671c86842/autopkgtest-oracular/oracular/amd64/libc/libcgi-application-plugin-authentication-perl/20240627_124201_3ea3d@/log.gz

The primary error appears to be:

52s ok 1 - taint checking is on
152s # Subtest: empty
152s 1..14
152s ok 1 - login failure
152s ok 2 - username not set
152s ok 3 - An object of class 'CGI::Application::Plugin::Authentication::Display::Basic' isa 'CGI::Application::Plugin::Authentication::Display'
152s ok 4 - An object of class 'CGI::Application::Plugin::Authentication::Display::Basic' isa 'CGI::Application::Plugin::Authentication::Display::Basic'
152s ok 5 - title
152s not ok 6 - login box
152s
152s # Failed test 'login box'
152s # at /usr/share/perl5/Test/Regression.pm line 92.
152s # +---+------------------------------------------------------------------------+-----------------------------------------------------------------------+
152s # | Ln|Got |Expected |
152s # +---+------------------------------------------------------------------------+-----------------------------------------------------------------------+
152s # | 28| </div> | </div> |
152s # | 29| </div> | </div> |
152s # | 30| </div> | </div> |
152s # * 31| <input type="hidden" name="destination" value="http://localhost/" /> | <input type="hidden" name="destination" value="http://localhost" /> *
152s # | 32| <input type="hidden" name="rm" value="one" /> | <input type="hidden" name="rm" value="one" /> |
152s # | 33|</form> |</form> |
152s # | 34|' |' |
152s # +---+------------------------------------------------------------------------+-----------------------------------------------------------------------+
152s ok 7 - logout_form
152s ok 8 - is_authenticated
152s ok 9 - username
152s ok 10 - last_login
152s ok 11 - last_access
152s ok 12 - is_login_timeout
152s ok 13 - login_attempts
152s ok 14 - not authenticated
152s # Looks like you failed 1 test of 14.

Related branches

Revision history for this message
Chris Peterson (cpete) wrote :

libcgi-application-plugin-authentication's autopkgtests have regressed due to the latest version of libcgi-pm-perl (4.66) changing behavior with trailing slashes in URLs [1]. After re-running the tests with this change, it appears this this is the only instance of this regression. Please see the linked MP for the proposed patch.

PPA w/ successful build: https://launchpad.net/~cpete/+archive/ubuntu/libcgi-application-plugin-authentication-perl/+packages

Passing autopkgtest results: https://autopkgtest.ubuntu.com/results/autopkgtest-oracular-cpete-libcgi-application-plugin-authentication-perl/oracular/amd64/libc/libcgi-application-plugin-authentication-perl/20240627_223102_a542e@/log.gz

[1] https://github.com/leejo/CGI.pm/commit/a5485b5f3b2b1cc85761b6781ff6660b4f377498

Changed in libcgi-application-plugin-authentication-perl (Ubuntu):
status: In Progress → New
assignee: Chris Peterson (cpete) → nobody
Revision history for this message
Brian Murray (brian-murray) wrote :

I uploaded this today.

 $ dput libcgi-application-plugin-authentication-perl_0.24+\~cs0.5-1ubuntu1_source.changes
Trying to upload package to ubuntu
Checking signature on .changes
gpg: /tmp/pkgs/oracular/libcgi-application-plugin-authentication-perl_0.24+~cs0.5-1ubuntu1_source.changes: Valid signature from 1E918B66765B3E31
Checking signature on .dsc
gpg: /tmp/pkgs/oracular/libcgi-application-plugin-authentication-perl_0.24+~cs0.5-1ubuntu1.dsc: Valid signature from 1E918B66765B3E31
Uploading to ubuntu (via ftp to upload.ubuntu.com):
  Uploading libcgi-application-plugin-authentication-perl_0.24+~cs0.5-1ubuntu1.dsc: done.
  Uploading libcgi-application-plugin-authentication-perl_0.24+~cs0.5-1ubuntu1.debian.tar.xz: done.
  Uploading libcgi-application-plugin-authentication-perl_0.24+~cs0.5-1ubuntu1_source.buildinfo: done.
  Uploading libcgi-application-plugin-authentication-perl_0.24+~cs0.5-1ubuntu1_source.changes: done.
Successfully uploaded packages.

Changed in libcgi-application-plugin-authentication-perl (Debian):
status: Unknown → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libcgi-application-plugin-authentication-perl - 0.24+~cs0.5-1ubuntu1

---------------
libcgi-application-plugin-authentication-perl (0.24+~cs0.5-1ubuntu1) oracular; urgency=medium

  * login-box-basic.patch: Update tests for CGI.pm >= 4.66 (LP: #2071369).

 -- Chris Peterson <email address hidden> Thu, 27 Jun 2024 16:02:26 -0700

Changed in libcgi-application-plugin-authentication-perl (Ubuntu):
status: New → Fix Released
Changed in libcgi-application-plugin-authentication-perl (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.