Subject: | Fails smtp-via-mock.t tests |
On a fresh CPAN installation, I cannot get smtp-via-mock.t to pass any
of its tests:
Checking if your kit is complete...
Looks good
Writing Makefile for Email::Sender
[20:49:40 dwc@websvc-test02 ~/Email-Sender-0.100460]$ make test
cp lib/Email/Sender/Util.pm blib/lib/Email/Sender/Util.pm
cp lib/Email/Sender/Transport/Print.pm
blib/lib/Email/Sender/Transport/Print.pm
cp lib/Email/Sender/Success.pm blib/lib/Email/Sender/Success.pm
cp lib/Email/Sender/Transport/Wrapper.pm
blib/lib/Email/Sender/Transport/Wrapper.pm
cp lib/Email/Sender/Manual.pm blib/lib/Email/Sender/Manual.pm
cp lib/Email/Sender/Role/CommonSending.pm
blib/lib/Email/Sender/Role/CommonSending.pm
cp lib/Email/Sender/Failure/Temporary.pm
blib/lib/Email/Sender/Failure/Temporary.pm
cp lib/Email/Sender/Failure/Multi.pm
blib/lib/Email/Sender/Failure/Multi.pm
cp lib/Email/Sender/Transport.pm blib/lib/Email/Sender/Transport.pm
cp lib/Email/Sender/Transport/SMTP/Persistent.pm
blib/lib/Email/Sender/Transport/SMTP/Persistent.pm
cp lib/Email/Sender/Success/Partial.pm
blib/lib/Email/Sender/Success/Partial.pm
cp lib/Email/Sender/Failure/Permanent.pm
blib/lib/Email/Sender/Failure/Permanent.pm
cp lib/Email/Sender/Transport/SMTP.pm
blib/lib/Email/Sender/Transport/SMTP.pm
cp lib/Email/Sender.pm blib/lib/Email/Sender.pm
cp lib/Email/Sender/Manual/QuickStart.pm
blib/lib/Email/Sender/Manual/QuickStart.pm
cp lib/Email/Sender/Transport/Sendmail.pm
blib/lib/Email/Sender/Transport/Sendmail.pm
cp lib/Email/Sender/Transport/Mbox.pm
blib/lib/Email/Sender/Transport/Mbox.pm
cp lib/Email/Sender/Transport/Failable.pm
blib/lib/Email/Sender/Transport/Failable.pm
cp lib/Email/Sender/Failure.pm blib/lib/Email/Sender/Failure.pm
cp lib/Email/Sender/Simple.pm blib/lib/Email/Sender/Simple.pm
cp lib/Email/Sender/Transport/DevNull.pm
blib/lib/Email/Sender/Transport/DevNull.pm
cp lib/Email/Sender/Role/HasMessage.pm
blib/lib/Email/Sender/Role/HasMessage.pm
cp lib/Email/Sender/Transport/Maildir.pm
blib/lib/Email/Sender/Transport/Maildir.pm
cp lib/Email/Sender/Transport/Test.pm
blib/lib/Email/Sender/Transport/Test.pm
PERL_DL_NONLAZY=1 /usr/bin/perl5.8.8 "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-load.t ............... ok
t/a-perl-minver.t ......... skipped: this test only runs during release
t/devnull.t ............... ok
t/fail-multi.t ............ ok
t/fail.t .................. ok
t/maildir.t ............... ok
t/mbox.t .................. ok
t/print.t ................. ok
t/release-pod-coverage.t .. skipped: these tests are for release
candidate testing
t/release-pod-syntax.t .... skipped: these tests are for release
candidate testing
t/sendmail.t .............. ok
t/simple-simple.t ......... ok
t/smtp-via-mock.t ......... Failed 94/94 subtests
t/smtp-via-rig.t .......... skipped: set EMAIL_SENDER_SMTPRIGS to run
these tests
t/test.t .................. ok
t/trans-prep-email.t ...... ok
t/util-env.t .............. ok
t/util-fail.t ............. ok
Test Summary Report
-------------------
t/smtp-via-mock.t (Wstat: 11 Tests: 0 Failed: 0)
Non-zero wait status: 11
Parse errors: Bad plan. You planned 94 tests but ran 0.
Files=18, Tests=115, 8 wallclock secs ( 0.05 usr 0.08 sys + 5.52 cusr
0.75 csys = 6.40 CPU)
Result: FAIL
Failed 1/18 test programs. 0/115 subtests failed.
make: *** [test_dynamic] Error 255
The test seems to die somewhere in $sender->send on line 61. Any
suggestions on how to debug this further?
In case it's relevant:
$ perl -MNet::SMTP\ 999
Net::SMTP version 999 required--this is only version 2.31.
BEGIN failed--compilation aborted.