Skip Menu |
 

This queue is for tickets about the Test-Class CPAN distribution.

Report information
The Basics
Id: 90699
Status: resolved
Priority: 0/
Queue: Test-Class

People
Owner: Nobody in particular
Requestors: jkeenan [...] cpan.org
Cc: wolfsage [...] gmail.com
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



CC: WolfSage [...] gmail.com
Subject: Test-Class-0.40: multiple failures during 'make test'
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-16461-1385175692-1378.0-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 8052
Download (untitled) / with headers
text/plain 7.8k
cpan[2]> test Test::Class Running test for module 'Test::Class' Running make for R/RJ/RJBS/Test-Class-0.40.tar.gz Has already been unwrapped into directory /home/jimk/.cpan/build/Test-Class-0.40-XjQTXs Has already been made Running make test PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-load.t .................... 1/1 # Testing Test::Class::Load 0.40, Perl 5.018001, /usr/local/bin/perl t/00-load.t .................... ok t/20-load-classes.t ............ ok t/21-load-subclassed.t ......... ok t/_new.t ....................... ok t/bad-autoloads.t .............. skipped: need Contextual::Return t/bailout.t .................... ok t/builder.t .................... ok t/compile.t .................... ok t/current_method.t ............. ok t/diag_on_failure.t ............ ok t/die-in-setup.t ............... ok t/die_before_plan.t ............ ok t/expected_tests.t ............. ok t/fail1.t ...................... ok t/fail2.t ...................... 1/2 # Failed test 'fail2' # at t/fail2.t line 38. # STDOUT is: # not ok 1 - undef isa 'Object' # not ok 2 - cannot create Objects # # not: # (?^:not ok 1 - (?:The thing|undef) isa '?Object'?\n) # not ok 2 - cannot create Objects # # as expected # STDERR is: # # Failed test 'undef isa 'Object'' # # at t/fail2.t line 18. # # (in Object::Test->_test_new) # # undef isn't defined # # Failed test 'cannot create Objects' # # at t/fail2.t line 18. # # (in Object::Test->_test_new) # # not: # /#\s+Failed\ test.*?\n?.*?at\ t\/fail2\.t line 18.*\n?/ # # (in Object::Test->_test_new) # (?^:#\s+(?:The thing|undef) isn't defined\n) # /#\s+Failed\ test.*?\n?.*?at\ t\/fail2\.t line 18.*\n?/ # # (in Object::Test->_test_new) # # as expected t/fail2.t ...................... Failed 1/2 subtests t/fail3.t ...................... ok t/filter.t ..................... ok t/filter_bad_filter.t .......... ok t/filter_fixtures.t ............ ok t/filter_fixtures_only.t ....... ok t/filter_multiple.t ............ ok t/header.t ..................... ok t/late_header.t ................ ok t/methodinfo.t ................. ok t/named_test.t ................. ok t/num_method_tests.t ........... ok t/num_tests.t .................. ok t/override.t ................... ok t/rt15870.t .................... ok t/rt17264.t .................... ok t/run_all_tests.t .............. ok t/runtests.t ................... ok t/runtests_die.t ............... 1/1 # Failed test 'early die handled' # at t/runtests_die.t line 34. # STDOUT is: # not ok 1 - undef isa 'Object' # not ok 2 - test_object died (could not create object) # # not: # (?^:not ok 1 - (?:The thing|undef) isa '?Object'?\n) # not ok 2 - test_object died (could not create object) # # as expected # STDERR is: # # Failed test 'undef isa 'Object'' # # at t/runtests_die.t line 15. # # (in Foo->test_object) # # undef isn't defined # # Failed test 'test_object died (could not create object)' # # at t/runtests_die.t line 33. # # (in Foo->test_object) # # not: # /#\s+Failed\ test.*?\n?.*?at\ t\/runtests_die\.t line 15.*\n?/ # # (in Foo->test_object) # (?^:# (?:The thing|undef) isn't defined\n) # /#\s+Failed\ test.*?\n?.*?at\ t\/runtests_die\.t line 33.*\n?/ # # (in Foo->test_object) # # as expected t/runtests_die.t ............... Failed 1/1 subtests t/runtests_extra.t ............. ok t/runtests_noplan.t ............ ok t/runtests_of.t ................ ok t/runtests_result.t ............ ok t/runtests_return.t ............ 1/2 # Failed test 'early return handled (fail)' # at t/runtests_return.t line 42. # STDERR is: # # Failed test '(Bar::darwin_only returned before plan complete)' # # at /home/jimk/.cpan/build/Test-Class-0.40-XjQTXs/blib/lib/Test/Class.pm line 392. # # (in Bar->darwin_only) # # Failed test '(Bar::darwin_only returned before plan complete)' # # at /home/jimk/.cpan/build/Test-Class-0.40-XjQTXs/blib/lib/Test/Class.pm line 392. # # (in Bar->darwin_only) # # not: # (?^s:.*in Bar->darwin_only.*) # # as expected t/runtests_return.t ............ Failed 1/2 subtests t/runtests_trailing.t .......... ok t/runtests_with_wrong_class.t .. ok t/show_plan_in_shutdown.t ...... ok t/skip1.t ...................... ok t/skip2.t ...................... ok t/skip_class_reason.t .......... ok t/skip_empty_classes.t ......... 1/5 # # Bar::Test->the_test t/skip_empty_classes.t ......... ok t/spaces.t ..................... ok t/startup.t .................... ok t/startup_that_dies.t .......... ok t/test_classes.t ............... ok t/test_deep.t .................. ok t/test_method.t ................ ok t/test_verbose.t ............... ok t/Tests.t ...................... ok t/todo.t ....................... # Test::More: 0.99 t/todo.t ....................... ok Test Summary Report ------------------- t/fail2.t (Wstat: 0 Tests: 2 Failed: 1) Failed test: 1 t/runtests_die.t (Wstat: 0 Tests: 1 Failed: 1) Failed test: 1 t/runtests_return.t (Wstat: 0 Tests: 2 Failed: 1) Failed test: 2 Files=54, Tests=184, 3 wallclock secs ( 0.10 usr 0.07 sys + 2.26 cusr 0.29 csys = 2.72 CPU) Result: FAIL Failed 3/54 test programs. 3/184 subtests failed. make: *** [test_dynamic] Error 255 RJBS/Test-Class-0.40.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports RJBS/Test-Class-0.40.tar.gz Failed during this command: RJBS/Test-Class-0.40.tar.gz : make_test NO ######### $ perl -V Summary of my perl5 (revision 5 version 18 subversion 1) configuration: Platform: osname=linux, osvers=2.6.18.8-linode22, archname=i686-linux uname='linux li11-226 2.6.18.8-linode22 #1 smp tue nov 10 16:12:12 utc 2009 i686 gnulinux ' config_args='-des' hint=recommended, useposix=true, d_sigaction=define useithreads=undef, usemultiplicity=undef useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=undef, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2', cppflags='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include' ccversion='', gccversion='4.3.2', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='cc', ldflags =' -fstack-protector -L/usr/local/lib' libpth=/usr/local/lib /lib/../lib /usr/lib/../lib /lib /usr/lib /usr/lib64 libs=-lnsl -lgdbm -ldl -lm -lcrypt -lutil -lc -lgdbm_compat perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc libc=/lib/libc-2.7.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='2.7' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_MALLOC_WRAP PERL_PRESERVE_IVUV PERL_SAWAMPERSAND USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF Built under linux Compiled at Aug 17 2013 19:40:43 @INC: /usr/local/lib/perl5/site_perl/5.18.1/i686-linux /usr/local/lib/perl5/site_perl/5.18.1 /usr/local/lib/perl5/5.18.1/i686-linux /usr/local/lib/perl5/5.18.1 .
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-16461-1385175692-1378.0-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <rt-4.0.18-16461-1385175692-1378.0-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-16436-1385176648-1141.90699-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 325
Download (untitled) / with headers
text/plain 325b
I imagine this is because of https://rt.cpan.org/Public/Bug/Display.html?id=89655. Test::Simple 0.99 is broken, but things before and after that should be fine. So, do we list a higher prereq for Test::Simple, or an incompatibility between Test::Class and this particular version of Test::Simple? -- Matthew Horsfall (alh)
From wolfsage [...] gmail.com Fri Nov 22 23: 09:48 2013
MIME-Version: 1.0
X-Spam-Status: No, score=-6.334 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_HI=-5, SPF_SOFTFAIL=0.665] autolearn=ham
In-Reply-To: <rt-4.0.18-16436-1385176648-1168.90699-6-0 [...] rt.cpan.org>
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-90699 [...] rt.cpan.org> <rt-4.0.18-16461-1385175692-1378.90699-6-0 [...] rt.cpan.org> <rt-4.0.18-16436-1385176648-1168.90699-6-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Received: by 10.112.138.1 with SMTP id qm1mr11640043lbb.1.1385179777729; Fri, 22 Nov 2013 20:09:37 -0800 (PST)
Message-ID: <CAJ0K8bjQqd7ye48kv68b=iBqzFagPvrBKw_vMdnWj45yREBhWA [...] mail.gmail.com>
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -6.334
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id D7B1F2408D9 for <cpan-bug+Test-Class [...] hipster.bestpractical.com>; Fri, 22 Nov 2013 23:09:47 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ds9ZTwToYm0b for <cpan-bug+Test-Class [...] hipster.bestpractical.com>; Fri, 22 Nov 2013 23:09:46 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 382792407DA for <bug-Test-Class [...] rt.cpan.org>; Fri, 22 Nov 2013 23:09:45 -0500 (EST)
Received: (qmail 32364 invoked by alias); 23 Nov 2013 04:09:45 -0000
Received: from mail-la0-f47.google.com (HELO mail-la0-f47.google.com) (209.85.215.47) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Fri, 22 Nov 2013 20:09:42 -0800
Received: by mail-la0-f47.google.com with SMTP id ep20so1476189lab.34 for <bug-Test-Class [...] rt.cpan.org>; Fri, 22 Nov 2013 20:09:37 -0800 (PST)
Received: by 10.112.6.69 with HTTP; Fri, 22 Nov 2013 20:09:37 -0800 (PST)
Delivered-To: cpan-bug+Test-Class [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #90699] Test-Class-0.40: multiple failures during 'make test'
Return-Path: <wolfsage [...] gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=RNOH4AEVjPQBVo0JBsh5pSVuJ/pM4DKnPREhMxDx2Nw=; b=kOBr+k+faebrI+K5Wxc+Ez+rzLOdWAGMwBMjq+nvP7x6F1c7oBpEEe/hOtdPwC2TEg Ftag3++upjbxrIZOqTby3dk1xpmHxFME57t0aDS2WCcTB3n0er2/y0MKiji5ncGPGlOS D9RJKheRt5UZvaVfXzXz/7ndAE0qkmfCUOQNgUzxcOeg+kpTPYjp6JRSO0X+DrMCSuNU 15N+RhT3rTnSmQLmVW1+4J5aHs3gmPekHA09vXP505/DubIJ5aLr/g8+VKrpip3ITsox 0/xPeueNxAqh5oWH3yu7m67dwcejm8zTASQ0wZ/Lt6VDsxfhbfzLkKqpSLM7uq91lIaB JYWA==
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: cpan-bug+Test-Class [...] hipster.bestpractical.com
X-RT-Mail-Extension: test-class
Date: Fri, 22 Nov 2013 23:09:37 -0500
X-Spam-Level:
To: bug-Test-Class [...] rt.cpan.org
From: "Matthew Horsfall (alh)" <wolfsage [...] gmail.com>
RT-Message-ID: <rt-4.0.18-17565-1385179788-436.90699-0-0 [...] rt.cpan.org>
Content-Length: 888
Download (untitled) / with headers
text/plain 888b
On Fri, Nov 22, 2013 at 10:17 PM, Matthew Horsfall via RT <bug-Test-Class@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=90699 > > > I imagine this is because of https://rt.cpan.org/Public/Bug/Display.html?id=89655. > > Test::Simple 0.99 is broken, but things before and after that should be fine. > > So, do we list a higher prereq for Test::Simple, or an incompatibility between Test::Class and this particular version of Test::Simple? > > -- Matthew Horsfall (alh)
Two commits sitting at https://github.com/wolfsage/test-class/tree/t_fix_test_simple_99 *should* take care of it. The first bumps perl version to 5.8.1 so Test::Builder is guaranteed to be around, and dynamically decides if we need a different Test::Builder than what's installed. The second adds configure_requires for Test::Builder but may not be needed. Cheers, -- Matthew Horsfall (alh)
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-16461-1385175692-1378.0-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <rt-4.0.18-16461-1385175692-1378.0-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-3437-1385822369-1615.90699-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 62
Thanks! I've applied the first commit and released. -- rjbs


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.