Bug 1058728 - FTBFS: perl-HTTP-Daemon-SSL-1.04-13.fc21: tests fail
Summary: FTBFS: perl-HTTP-Daemon-SSL-1.04-13.fc21: tests fail
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-HTTP-Daemon-SSL
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL: http://koji.fedoraproject.org/koji/ta...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-28 12:45 UTC by Petr Pisar
Modified: 2014-05-14 08:52 UTC (History)
2 users (show)

Fixed In Version: perl-HTTP-Daemon-SSL-1.04-14.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-05-14 08:52:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
CPAN 88998 0 None None None Never

Description Petr Pisar 2014-01-28 12:45:16 UTC
perl-HTTP-Daemon-SSL-1.04-13.fc21 fails to build in F21 because tests fail:

Provádění(%check): /bin/sh -e /var/tmp/rpm-tmp.xggGnP
+ umask 022
+ cd /builddir/build/BUILD
+ cd HTTP-Daemon-SSL-1.04
+ 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/loadmodule.t .. ok
Can't call method "get_request" on an undefined value at t/testmodule.t line 91.
t/testmodule.t .. 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 4/9 subtests 
Test Summary Report
-------------------
t/testmodule.t (Wstat: 65280 Tests: 7 Failed: 2)
  Failed tests:  4, 7
  Non-zero exit status: 255
  Parse errors: Tests out of sequence.  Found (4) but expected (6)
                Bad plan.  You planned 9 tests but ran 7.
Files=2, Tests=10,  1 wallclock secs ( 0.03 usr  0.00 sys +  0.17 cusr  0.02 csys =  0.22 CPU)
Result: FAIL

Comment 1 Petr Pisar 2014-05-14 07:15:02 UTC
The problem is that F21 openssl cannot use the pregenerated 512-bit RSA key for signing digest which is to large with modern openssl. The server complains:

140107221378928:error:04075070:rsa routines:RSA_sign:digest too big for rsa key:rsa_sign.c:127:
140107221378928:error:1409B006:SSL routines:SSL3_SEND_SERVER_KEY_EXCHANGE:EVP lib:s3_srvr.c:1982:

Proper solution is to generated the keys and certificates at test time with OpenSSL default settings.

Comment 2 Steve Traylen 2014-05-14 07:37:26 UTC
Thanks I missed this.


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