Bug 2109851 - perl-POE-Component-Server-SimpleHTTP-2.28-12.fc37 FTBFS: tests fail: I had a problem posting to event TOP of session 1 for DIR handler '^/$'. As reported by Kernel: 'No such file or directory', perhaps the session name is spelled incorrectly for this hand
Summary: perl-POE-Component-Server-SimpleHTTP-2.28-12.fc37 FTBFS: tests fail: I had a ...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-POE-Component-Server-SimpleHTTP
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: F37FTBFS
TreeView+ depends on / blocked
 
Reported: 2022-07-22 10:20 UTC by Petr Pisar
Modified: 2022-07-22 12:54 UTC (History)
2 users (show)

Fixed In Version: perl-POE-Component-Server-SimpleHTTP-2.28-14.fc37
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-07-22 12:54:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github bingos poe-component-server-simplehttp pull 5 0 None open post fails if it returns false; check that, not $! 2022-07-22 11:50:12 UTC

Description Petr Pisar 2022-07-22 10:20:52 UTC
perl-POE-Component-Server-SimpleHTTP-2.28-12.fc37 fails to build in Fedora 37 because tests fail like this:

+ make test
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-compile.t ........... ok
# GET http://pocosimpletest.com:37417/ HTTP/1.1
# Host: 127.0.0.1:37417
# 
Did not get DONE/CLOSE event for Wheel ID 3 from IP 127.0.0.1 at /builddir/build/BUILD/POE-Component-Server-SimpleHTTP-2.28/blib/lib/POE/Component/Server/SimpleHTTP.pm line 226.
I had a problem posting to event TOP of session 1 for DIR handler '^/$'. As reported by Kernel: 'No such file or directory', perhaps the session name is spelled incorrectly for this handler? at /usr/share/perl5/vendor_perl/POE/Session.pm line 483.
# Looks like your test exited with 22 before it could output anything.
t/02_simple.t ............ 
Dubious, test returned 22 (wstat 5632, 0x1600)
Failed 2/2 subtests 
# starting httpd6
# httpd6 started
# Port is 33393
# webc_connected
# GET http://pocosimpletest.com:33393/ HTTP/1.1
# Host: ::1:33393
# 
Did not get DONE/CLOSE event for Wheel ID 3 from IP ::1 at /builddir/build/BUILD/POE-Component-Server-SimpleHTTP-2.28/blib/lib/POE/Component/Server/SimpleHTTP.pm line 226.
I had a problem posting to event TOP of session 1 for DIR handler '^/$'. As reported by Kernel: 'No such file or directory', perhaps the session name is spelled incorrectly for this handler? at /usr/share/perl5/vendor_perl/POE/Session.pm line 483.
# Looks like your test exited with 22 before it could output anything.
t/02_simple_ipv6.t ....... 
Dubious, test returned 22 (wstat 5632, 0x1600)
Failed 2/2 subtests 
[...]
Test Summary Report
-------------------
t/02_simple.t          (Wstat: 5632 (exited 22) Tests: 0 Failed: 0)
  Non-zero exit status: 22
  Parse errors: Bad plan.  You planned 2 tests but ran 0.
t/02_simple_ipv6.t     (Wstat: 5632 (exited 22) Tests: 0 Failed: 0)
  Non-zero exit status: 22
  Parse errors: Bad plan.  You planned 2 tests but ran 0.
t/03_bad_request.t     (Wstat: 5632 (exited 22) Tests: 0 Failed: 0)
  Non-zero exit status: 22
  Parse errors: Bad plan.  You planned 2 tests but ran 0.
t/04_run_close.t       (Wstat: 5632 (exited 22) Tests: 0 Failed: 0)
  Non-zero exit status: 22
  Parse errors: Bad plan.  You planned 16 tests but ran 0.
t/04_run_keepalive.t   (Wstat: 5632 (exited 22) Tests: 1 Failed: 0)
  Non-zero exit status: 22
  Parse errors: Bad plan.  You planned 14 tests but ran 1.
t/05_post.t            (Wstat: 5632 (exited 22) Tests: 0 Failed: 0)
  Non-zero exit status: 22
  Parse errors: Bad plan.  You planned 4 tests but ran 0.
t/06_stream.t          (Wstat: 5632 (exited 22) Tests: 0 Failed: 0)
  Non-zero exit status: 22
  Parse errors: Bad plan.  You planned 6 tests but ran 0.
Files=11, Tests=8,  5 wallclock secs ( 0.03 usr  0.02 sys +  4.62 cusr  0.39 csys =  5.06 CPU)
Result: FAIL
Failed 7/11 test programs. 0/8 subtests failed.

A difference between passing and failing build root is at <https://koschei.fedoraproject.org/build/13210767>

Comment 1 Petr Pisar 2022-07-22 10:57:21 UTC
This is triggered by upgrading perl-URI from 5.10-3.fc37 to 5.11-1.fc37.

Comment 2 Petr Pisar 2022-07-22 11:09:28 UTC
URI bisected to:

commit f4183117b1b19fc66918a2ea0b8db0527884870e (HEAD, refs/bisect/bad)
Author: Perlbotics <perlbotix>
Date:   Tue Jun 7 11:18:57 2022 +0200

    uri-test: use local implementation (./lib) while authoring module
    
    bugfix #99: Square brackets in path element not escaped.
    
    Hopefully fixes issue#99 w/o breaking new stuff.
    
    https://github.com/libwww-perl/URI/issues/99

Comment 3 Petr Pisar 2022-07-22 11:50:13 UTC
This seems to be a wrong error check in POE::Component::Server::SimpleHTTP.


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