Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Email-Sender CPAN distribution.

Report information
The Basics
Id: 54642
Status: resolved
Priority: 0/
Queue: Email-Sender

People
Owner: Nobody in particular
Requestors: danieltwc [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in:
  • 0.100450
  • 0.100460
Fixed in: (no value)



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.
Subject: Re: [rt.cpan.org #54642] Fails smtp-via-mock.t tests
Date: Mon, 15 Feb 2010 21:18:07 -0500
To: Daniel Westermann-Clark via RT <bug-Email-Sender [...] rt.cpan.org>
From: Ricardo Signes <rjbs [...] cpan.org>
* Daniel Westermann-Clark via RT <bug-Email-Sender@rt.cpan.org> [2010-02-15T20:59:24] Show quoted text
> 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.
That means it's getting a segfault. I can't reproduce this problem, and have no other reports of it. What happens if you unpack the dist and run: prove -lv t/smtp-via-mock.t ? -- rjbs
RT-Send-CC: rjbs [...] cpan.org
On Mon Feb 15 21:19:09 2010, RJBS wrote: Show quoted text
> What happens if you unpack the dist and run: > > prove -lv t/smtp-via-mock.t > > ?
Same thing. It sometimes includes an additional error: [10:32:38 dwc@websvc-test02 ~/Email-Sender-0.100460]$ prove -lv t/smtp- via-mock.t t/smtp-via-mock.t .. 1..94 Attempt to free unreferenced scalar: SV 0x8b0650 at /h/dwc/perl5/UFL- Workflow/lib/perl5/Throwable/Error.pm line 24. Failed 94/94 subtests 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=1, Tests=0, 1 wallclock secs ( 0.02 usr 0.00 sys + 0.46 cusr 0.03 csys = 0.51 CPU) Result: FAIL This is with Moose 0.98, by the way.
It's 3 years later. I still can't reproduce this. Both Throwable and Sender have been substantially changed to use different guts. I'm closing this as "almost certainly fixed" but please do report back if it isn't, and I'll try harder and sooner. -- rjbs