[Bug 1083418] New: perl-Log-Dispatch-2.41-1.fc21 FTBFS

bugzilla at redhat.com bugzilla at redhat.com
Wed Apr 2 08:23:53 UTC 2014


https://bugzilla.redhat.com/show_bug.cgi?id=1083418

            Bug ID: 1083418
           Summary: perl-Log-Dispatch-2.41-1.fc21 FTBFS
           Product: Fedora
           Version: rawhide
         Component: perl-Log-Dispatch
          Assignee: tcallawa at redhat.com
          Reporter: ppisar at redhat.com
        QA Contact: extras-qa at fedoraproject.org
                CC: perl-devel at lists.fedoraproject.org,
                    rc040203 at freenet.de, tcallawa at redhat.com



perl-Log-Dispatch-2.41-1.fc21 fails to build in F21 due to test plan for
t/01-basic.t:

t/01-basic.t            (Wstat: 0 Tests: 344 Failed: 167)
  Failed tests:  11-177
  Parse errors: Plan (1..177) must be at the beginning or end of the TAP output
                Tests out of sequence.  Found (11) but expected (178)
                Tests out of sequence.  Found (12) but expected (179)
                Tests out of sequence.  Found (13) but expected (180)
                Tests out of sequence.  Found (14) but expected (181)
Displayed the first 5 of 170 TAP syntax errors.

The problem is:

$ LOG_DISPATCH_TEST_EMAIL="root at localhost.localdomain" prove -l -v t/01-basic.t
t/01-basic.t ..
ok 1 - created Log::Dispatch object
ok 2 - First line in log file set to level 'emerg' is 'emerg level 1'
ok 3 - Second line in log file set to level 'emerg' is 'emerg level 2'
ok 4 - First line in log file set to level 'debug' is 'info level 2'
ok 5 - Second line in log file set to level 'debug' is 'emerg level 2'
ok 6 - second LD object used syswrite
ok 7 - First line in log file with a max level of 'crit' is 'critical'
ok 8 - Log::Dispatch::Handle created log file should contain 'handle test\n'
# Sending email with Mail::Send to root at localhost.localdomain.
# If you get it then the test succeeded (PID 3444)
No real MTA found, using 'testfile' at
/usr/share/perl5/vendor_perl/Mail/Mailer.pm line 108.
ok 9 - sent email via MailSend
# Sending email with Mail::Sendmail to root at localhost.localdomain.
# If you get it then the test succeeded (PID 3444)
Error sending mail: connect to localhost failed (Connection refused)
connect to localhost failed
connect to localhost failed (Connection refused) no (more) retries!
ok 10 - sent email via MailSendmail
# Sending email with MIME::Lite to root at localhost.localdomain.
# If you get it then the test succeeded (PID 3444)
ok 11 - sent mail via MIMELite
[...]
ok 177 - code received the expected messages
1..177
ok 11 - sent mail via MIMELite
[...]
ok 177 - code received the expected messages
1..177

Something echoes the output since test 11 twice which break TAP.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=7FN7o2MSWa&a=cc_unsubscribe



More information about the perl-devel mailing list