Bug 1190032 - perl-Catalyst-Engine-PSGI-0.13-11.fc22 FTBFS: tests fail: Caught exception in engine "You requested a stash, but one does not exist. at /usr/share/perl5/vendor_perl/Catalyst.pm line 517."
Summary: perl-Catalyst-Engine-PSGI-0.13-11.fc22 FTBFS: tests fail: Caught exception in...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Catalyst-Engine-PSGI
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Orphan Owner
QA Contact: Fedora Extras Quality Assurance
URL: http://koji.fedoraproject.org/koji/ta...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-06 06:57 UTC by Petr Pisar
Modified: 2015-04-08 07:20 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-04-08 07:20:37 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2015-02-06 06:57:52 UTC
perl-Catalyst-Engine-PSGI-0.13-11.fc22 fails to build in F22 because tests fail:

t/00_compile.t ... ok
[debug] Debug messages enabled
[debug] Statistics enabled
Cannot determine desired terminal width, using default of 80 columns
[debug] Loaded PSGI Middleware:
.----------------------------------------------------------------------------.
| Catalyst::Middleware::Stash                                                |
| Plack::Middleware::HTTPExceptions                                          |
| Plack::Middleware::RemoveRedundantBody  0.04                               |
| Plack::Middleware::FixMissingBodyInRedirect  0.12                          |
| Plack::Middleware::ContentLength                                           |
| Plack::Middleware::MethodOverride  0.11                                    |
| Plack::Middleware::Head                                                    |
'----------------------------------------------------------------------------'
[debug] Loaded Request Data Handlers:
.----------------------------------------------------------------------------.
| application/x-www-form-urlencoded                                          |
| application/json                                                           |
'----------------------------------------------------------------------------'
[debug] Loaded dispatcher "Catalyst::Dispatcher"
[debug] Loaded engine "Catalyst::Engine"
[debug] Found home "/builddir/build/BUILD/Catalyst-Engine-PSGI-0.13/t/Hello"
[debug] Loaded components:
.-----------------------------------------------------------------+----------.
| Class                                                           | Type     |
+-----------------------------------------------------------------+----------+
| Hello::Controller::Metalic                                      | instance |
| Hello::Controller::Root                                         | instance |
'-----------------------------------------------------------------+----------'
[debug] Loaded Private actions:
.----------------------+--------------------------------------+--------------.
| Private              | Class                                | Method       |
+----------------------+--------------------------------------+--------------+
| /welcome             | Hello::Controller::Root              | welcome      |
| /default             | Hello::Controller::Root              | default      |
| /index               | Hello::Controller::Root              | index        |
| /headers             | Hello::Controller::Root              | headers      |
| /end                 | Hello::Controller::Root              | end          |
'----------------------+--------------------------------------+--------------'
[debug] Loaded Path actions:
.-------------------------------------+--------------------------------------.
| Path                                | Private                              |
+-------------------------------------+--------------------------------------+
| /                                   | /index                               |
| /...                                | /default                             |
| /headers/...                        | /headers                             |
| /welcome/...                        | /welcome                             |
'-------------------------------------+--------------------------------------'
[info] Hello powered by Catalyst 5.90082
You are running Catalyst::Engine::PSGI, which is considered a legacy engine for
this version of Catalyst.  We will continue running and use your existing psgi
file, but it is recommended to perform the trivial upgrade process, which will
leave you with less code and a forward path.
Please review Catalyst::Upgrading
Subroutine Catalyst::Request::env redefined at /builddir/build/BUILD/Catalyst-Engine-PSGI-0.13/blib/lib/Catalyst/Engine/PSGI.pm line 13.
env as a writer is deprecated, you probably need to upgrade Catalyst::Engine::PSGI at /usr/share/perl5/vendor_perl/Catalyst/Engine.pm line 28.
Use of uninitialized value in string eq at /usr/share/perl5/vendor_perl/Catalyst/Request.pm line 364.
[error] Caught exception in engine "You requested a stash, but one does not exist. at /usr/share/perl5/vendor_perl/Catalyst.pm line 517."
#   Failed test at t/hello.t line 18.
#                   'Bad request'
#     doesn't match '(?^:Welcome)'
Use of uninitialized value in string eq at /usr/share/perl5/vendor_perl/Catalyst/Request.pm line 364.
[error] Caught exception in engine "You requested a stash, but one does not exist. at /usr/share/perl5/vendor_perl/Catalyst.pm line 517."
#   Failed test at t/hello.t line 22.
#                   'Bad request'
#     doesn't match '(?^:Hello foo)'
Use of uninitialized value in string eq at /usr/share/perl5/vendor_perl/Catalyst/Request.pm line 364.
[error] Caught exception in engine "You requested a stash, but one does not exist. at /usr/share/perl5/vendor_perl/Catalyst.pm line 517."
#   Failed test at t/hello.t line 25.
#                   'Bad request'
#     doesn't match '(?^:Hello bar)'
Use of uninitialized value in string eq at /usr/share/perl5/vendor_perl/Catalyst/Request.pm line 364.
[error] Caught exception in engine "You requested a stash, but one does not exist. at /usr/share/perl5/vendor_perl/Catalyst.pm line 517."
#   Failed test at t/hello.t line 31.
#          got: 'Bad request'
#     expected: 'blah'   
#   Failed test at t/hello.t line 32.
#                   undef
#     doesn't match '(?^:^bar\s+baz$)'
# Looks like you failed 5 tests of 7.
t/hello.t ........
Dubious, test returned 5 (wstat 1280, 0x500)
Failed 5/7 subtests
[...]
Test Summary Report
-------------------
t/hello.t      (Wstat: 1280 Tests: 7 Failed: 5)
  Failed tests:  1, 3-4, 6-7
  Non-zero exit status: 5
t/hello_mount.t (Wstat: 1024 Tests: 6 Failed: 4)
  Failed tests:  1, 3-5
  Non-zero exit status: 4
Files=3, Tests=14,  3 wallclock secs ( 0.03 usr  0.01 sys +  2.12 cusr  0.17 csys =  2.33 CPU)
Result: FAIL

Difference between working and failing build root is:

        perl-Catalyst-Runtime 	5.90019-6.fc22 	> 	5.90077-1.fc22
	perl-Plack-Middleware-RemoveRedundantBody 		> 	0.05-1.fc22
	perl-Plack-Middleware-FixMissingBodyInRedirect 		> 	0.12-1.fc22
	perl-Plack-Middleware-MethodOverride 		> 	0.10-2.fc22
	perl-Catalyst-Runtime-scripts 	5.90019-6.fc22 	> 	5.90077-1.fc22
	kernel-headers 	3.18.0-0.rc7.git2.1.... 	> 	3.18.0-0.rc7.git3.1....

However I don't have build log from build root difference so the there could have been a different bug.

Comment 1 Jaroslav Reznik 2015-03-03 16:50:29 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 2 Fedora Admin XMLRPC Client 2015-04-08 07:12:42 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 3 Jitka Plesnikova 2015-04-08 07:20:37 UTC
perl-Catalyst-Engine-PSGI was retired because Catalyst::Runtime uses Plack instead of Catalyst::Engine::PSGI now

More info:
http://search.cpan.org/~jjnapiork/Catalyst-Runtime-5.90085/lib/Catalyst/Upgrading.pod#Upgrading_the_PSGI_Engine


Note You need to log in before you can comment on or make changes to this bug.