Skip Menu |

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

Report information
The Basics
Id: 22820
Status: resolved
Priority: 0/
Queue: Test-Memory-Cycle

People
Owner: Nobody in particular
Requestors: tony [...] tmtm.com
Cc:
AdminCc:

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



Subject: Fails lots of tests
Date: Sun, 05 Nov 2006 12:48:31 +0000
To: bug-test-memory-cycle [...] rt.cpan.org
From: Tony Bowden <tony [...] tmtm.com>
I get lots of test failures when trying to install Test::Memory::Cycle. Let me know if you want any deeper probing into any of these. Tony
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-load..........# Testing Test::Memory::Cycle 1.04 under Perl 5.008008 and Test::More 0.62 ok t/cycle-exists..... # Failed test 'Testing for lack of cycles in hash reference' # in t/cycle-exists.t at line 17. # STDERR is: # # Failed test 'A hash reference has no cycles' # # in t/cycle-exists.t at line 16. # # not: # # Failed test (t/cycle-exists.t at line 16) # # as expected # Failed test 'Testing for lack of cycles in array reference' # in t/cycle-exists.t at line 25. # STDERR is: # # Failed test 'An array reference has no cycles' # # in t/cycle-exists.t at line 24. # # not: # # Failed test (t/cycle-exists.t at line 24) # # as expected # Failed test 'Testing for lack of cycles in scalar reference' # in t/cycle-exists.t at line 34. # STDERR is: # # Failed test 'A scalar reference has no cycles' # # in t/cycle-exists.t at line 33. # # not: # # Failed test (t/cycle-exists.t at line 33) # # as expected # Failed test 'Testing for lack of cycles in blessed reference' # in t/cycle-exists.t at line 42. # STDERR is: # # Failed test 'A blessed reference has no cycles' # # in t/cycle-exists.t at line 41. # # not: # # Failed test (t/cycle-exists.t at line 41) # # as expected FAILED tests 2-5 Failed 4/5 tests, 20.00% okay t/family-array..... # Failed test 'Array family testing' # in t/family-array.t at line 56. # STDERR is: # # Failed test 'The Array Family' # # in t/family-array.t at line 55. # # Cycle #1 # # %A->{parents} => @B # # @B->[0] => %C # # %C->{children} => @D # # @D->[0] => %A # # Cycle #2 # # %A->{parents} => @B # # @B->[0] => %C # # %C->{grandchildren} => @E # # @E->[0] => %F # # %F->{parents} => @G # # @G->[0] => %A # # not: # # Failed test (t/family-array.t at line 55) # # Cycle #1 # # %A->{parents} => @B # # @B->[0] => %C # # %C->{children} => @D # # @D->[0] => %A # # Cycle #2 # # %A->{parents} => @B # # @B->[0] => %C # # %C->{grandchildren} => @E # # @E->[0] => %F # # %F->{parents} => @G # # @G->[0] => %A # # as expected # Failed test 'Array family (weakened) testing (weakened cycles showing)' # in t/family-array.t at line 84. # STDERR is: # # Failed test 'The Array Family (weakened)' # # in t/family-array.t at line 83. # # Cycle #1 # # %A->{parents} => @B # # @B->[0] => %C # # %C->{children} => @D # # w->@D->[0] => %A # # Cycle #2 # # %A->{parents} => @B # # @B->[0] => %C # # %C->{grandchildren} => @E # # @E->[0] => %F # # %F->{parents} => @G # # w->@G->[0] => %A # # not: # # Failed test (t/family-array.t at line 83) # # Cycle #1 # # %A->{parents} => @B # # @B->[0] => %C # # %C->{children} => @D # # w->@D->[0] => %A # # Cycle #2 # # %A->{parents} => @B # # @B->[0] => %C # # %C->{grandchildren} => @E # # @E->[0] => %F # # %F->{parents} => @G # # w->@G->[0] => %A # # as expected # Failed test 'Array family (weakened) testing for cycles (no cycles)' # in t/family-array.t at line 89. # STDERR is: # # Failed test 'The Array Family (weakened) has Cycles' # # in t/family-array.t at line 88. # # not: # # Failed test (t/family-array.t at line 88) # # as expected FAILED tests 2, 5-6 Failed 3/7 tests, 57.14% okay t/family-hash...... # Failed test 'Small family testing' # in t/family-hash.t at line 31. # STDERR is: # # Failed test 'Small family' # # in t/family-hash.t at line 30. # # Cycle #1 # # %A->{mother} => %B # # %B->{son} => %A # # not: # # Failed test (t/family-hash.t at line 30) # # Cycle #1 # # %A->{mother} => %B # # %B->{son} => %A # # as expected # Failed test 'Small family (weakened) testing for cycles (weakened cycles found)' # in t/family-hash.t at line 49. # STDERR is: # # Failed test 'Small family (weakened)' # # in t/family-hash.t at line 48. # # Cycle #1 # # %A->{mother} => %B # # w->%B->{son} => %A # # not: # # Failed test (t/family-hash.t at line 48) # # Cycle #1 # # %A->{mother} => %B # # w->%B->{son} => %A # # as expected # Failed test 'Small family (weakened) testing for cycles (no cycles)' # in t/family-hash.t at line 54. # STDERR is: # # Failed test 'Small family (weakened) has Cycles' # # in t/family-hash.t at line 53. # # not: # # Failed test (t/family-hash.t at line 53) # # as expected FAILED tests 2, 5-6 Failed 3/7 tests, 57.14% okay t/family-object.... # Failed test 'Object family testing' # in t/family-object.t at line 38. # STDERR is: # # Failed test 'Object family' # # in t/family-object.t at line 37. # # Cycle #1 # # Getopt::Long::Parser A->{dose} => @B # # @B->[0] => Getopt::Long::Parser C # # Getopt::Long::Parser C->{dem} => %D # # %D->{dis} => Getopt::Long::Parser A # # Cycle #2 # # Getopt::Long::Parser A->{dose} => @B # # @B->[1] => Getopt::Long::Parser C # # Getopt::Long::Parser C->{dem} => %D # # %D->{dis} => Getopt::Long::Parser A # # Cycle #3 # # Getopt::Long::Parser A->{dose} => @B # # @B->[2] => Getopt::Long::Parser C # # Getopt::Long::Parser C->{dem} => %D # # %D->{dis} => Getopt::Long::Parser A # # not: # # Failed test (t/family-object.t at line 37) # # Cycle #1 # # Getopt::Long::Parser A->{dose} => @B # # @B->[0] => Getopt::Long::Parser C # # Getopt::Long::Parser C->{dem} => %D # # %D->{dis} => Getopt::Long::Parser A # # Cycle #2 # # Getopt::Long::Parser A->{dose} => @B # # @B->[1] => Getopt::Long::Parser C # # Getopt::Long::Parser C->{dem} => %D # # %D->{dis} => Getopt::Long::Parser A # # Cycle #3 # # Getopt::Long::Parser A->{dose} => @B # # @B->[2] => Getopt::Long::Parser C # # Getopt::Long::Parser C->{dem} => %D # # %D->{dis} => Getopt::Long::Parser A # # as expected FAILED test 2 Failed 1/3 tests, 66.67% okay t/family-scalar.... # Failed test 'Simple loopback' # in t/family-scalar.t at line 23. # STDERR is: # # Failed test 'Scalar Family' # # in t/family-scalar.t at line 22. # # Cycle #1 # # $A => $A # # not: # # Failed test (t/family-scalar.t at line 22) # # Cycle #1 # # $A => $A # # as expected # Failed test 'Simple loopback to myself' # in t/family-scalar.t at line 38. # STDERR is: # # Failed test in t/family-scalar.t at line 37. # # Cycle #1 # # $A => $B # # $B => $A # # not: # # Failed test (t/family-scalar.t at line 37) # # Cycle #1 # # $A => $B # # $B => $A # # as expected # Failed test 'Flip-flopped the A/B' # in t/family-scalar.t at line 51. # STDERR is: # # Failed test in t/family-scalar.t at line 50. # # Cycle #1 # # $B => $A # # $A => $B # # not: # # Failed test (t/family-scalar.t at line 50) # # Cycle #1 # # $B => $A # # $A => $B # # as expected # Failed test 'Sybil and her sisters' # in t/family-scalar.t at line 69. # STDERR is: # # Failed test in t/family-scalar.t at line 68. # # Cycle #1 # # @C->[1] => $D # # $D => @C # # Cycle #2 # # @C->[2] => $B # # $B => $A # # $A => $B # # Cycle #3 # # @C->[3] => $D # # $D => @C # # not: # # Failed test (t/family-scalar.t at line 68) # # Cycle #1 # # @C->[1] => $D # # $D => @C # # Cycle #2 # # @C->[2] => $B # # $B => $A # # $A => $B # # Cycle #3 # # @C->[3] => $D # # $D => @C # # as expected # Failed test 'Sybil and her sisters (weakened) (weakened cycles found)' # in t/family-scalar.t at line 96. # STDERR is: # # Failed test in t/family-scalar.t at line 95. # # Cycle #1 # # w->@C->[1] => $D # # $D => @C # # Cycle #2 # # w->@C->[2] => $B # # $B => $A # # $A => $B # # Cycle #3 # # w->@C->[3] => $D # # $D => @C # # not: # # Failed test (t/family-scalar.t at line 95) # # Cycle #1 # # w->@C->[1] => $D # # $D => @C # # Cycle #2 # # w->@C->[2] => $B # # $B => $A # # $A => $B # # Cycle #3 # # w->@C->[3] => $D # # $D => @C # # as expected # Failed test 'Sybil and her sisters (weakened) have cycles (no cycles found)' # in t/family-scalar.t at line 101. # STDERR is: # # Failed test in t/family-scalar.t at line 100. # # not: # # Failed test (t/family-scalar.t at line 100) # # as expected FAILED tests 2, 4, 6-7, 10-11 Failed 6/12 tests, 50.00% okay t/good.............ok t/pod-coverage.....ok t/pod..............ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------------------------------------------------ t/cycle-exists.t 5 4 80.00% 2-5 t/family-array.t 7 3 42.86% 2 5-6 t/family-hash.t 7 3 42.86% 2 5-6 t/family-object.t 3 1 33.33% 2 t/family-scalar.t 12 6 50.00% 2 4 6-7 10-11 Failed 5/9 test scripts, 44.44% okay. 17/39 subtests failed, 56.41% okay. make: *** [test_dynamic] Error 255
Subject: [rt.cpan.org #22820] try an updated Test::More
Date: Thu, 17 Apr 2014 01:05:24 +0000
To: bug-Test-Memory-Cycle [...] rt.cpan.org
From: Eric Wong <normalperson [...] yhbt.net>
Tests pass just fine with Test::More 0.98 as distributed with Perl on my Debian stable (7.0) system. I would like this issue resolved since https://rt.cpan.org/Public/Bug/Display.html?id=22817 (Mail::Thread memory cycle affects me) Thanks.
I'm closing this as the original problem was 10 years old. If 1.06 still fails, please create a new ticket.