This queue is for tickets about the Algorithm-Evolutionary CPAN distribution.

Report information
The Basics
Id:
65189
Status:
resolved
Worked:
1.5 hours (90 minutes)
Users:
JMERELO: 1.5 hours (90 minutes)
Priority:
Low/Low

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

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
(no value)



Subject: some test failures
$ /usr/bin/perl Makefile.PL INSTALLDIRS=vendor Checking if your kit is complete... Looks good Writing Makefile for Algorithm::Evolutionary $ make [...] $ make test PERL_DL_NONLAZY=1 /usr/bin/perl5.12.2 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t # Testing Algorithm::Evolutionary 0.73, Perl 5.012002, /usr/bin/perl5.12.2 t/00-load.t ................ ok t/0001-wheel.t ............. ok t/0100-bitvector.t ......... ok t/0101-string.t ............ ok t/0102-any.t ............... ok t/0200-run-cga.t ........... ok t/0200-run-cga_nn.t ........ ok t/0200-run-ga.t ............ ok t/0300-ppeaks.t ............ ok t/0301-wppeaks.t ........... ok t/0302-knapsack.t .......... ok t/0303-onemax.t ............ ok t/0304-royalroad.t ......... ok t/0304-trap.t .............. ok t/0305-ecc.t ............... ok t/0306-any.t ............... ok t/0307-zdt1.t .............. ok t/0333-mmdp.t .............. ok t/0400-noveltym.t .......... ok t/0401-genebx.t ............ ok # Failed test 'Testing bitflip' # at t/0402-bitflip.t line 26. # got: '001000001110010111101101101001101000' # expected: anything else # Failed test 'Testing bitflip again' # at t/0402-bitflip.t line 27. # got: '001010001110010111101101101001101000' # expected: anything else # Failed test '5 bitflips' # at t/0402-bitflip.t line 30. # got: '0' # expected: '5' # Looks like you failed 3 tests of 5. t/0402-bitflip.t ........... Dubious, test returned 3 (wstat 768, 0x300) Failed 3/5 subtests t/0403-uxover.t ............ ok t/0404-quadxover.t ......... ok t/0404-string-mutation.t ... ok # Failed test 'Results OK' # at t/0444-stored.t line 35. # got: '' # expected: '1' # Looks like you failed 1 test of 2. t/0444-stored.t ............ Dubious, test returned 1 (wstat 256, 0x100) Failed 1/2 subtests t/0500-generation-skel.t ... ok t/0500-replace.t ........... ok t/0501-convergence-term.t .. ok t/0501-eval-general.t ...... ok t/0502-pop_printer.t ....... ok t/0503-eval-mo.t ........... ok t/0600-ez-moga.t ........... ok t/0601-cga-gif-output.t .... ok t/0603-eda.t ............... ok t/DeltaTerm.t .............. ok t/experiment.t ............. ok # Test 16 got: "" (t/general.t at line 101) # Expected: "1" # t/general.t line 101 is: ok( $bs->{_str} ne $bf->apply($bs)->{_str}, 1); t/general.t ................ Failed 1/49 subtests (less 3 skipped subtests: 45 okay) t/GenerationalTerm.t ....... ok t/individuals.t ............ ok t/NoChangeTerm.t ........... ok t/ops.t .................... ok t/pod-coverage.t ........... skipped: Test::Pod::Coverage 1.08 required for testing POD coverage t/pod.t .................... ok t/run.t .................... ok t/validate.t ............... ok Test Summary Report ------------------- t/0402-bitflip.t (Wstat: 768 Tests: 5 Failed: 3) Failed tests: 3-5 Non-zero exit status: 3 t/0444-stored.t (Wstat: 256 Tests: 2 Failed: 1) Failed test: 2 Non-zero exit status: 1 t/general.t (Wstat: 0 Tests: 49 Failed: 1) Failed test: 16 Files=45, Tests=1402, 7 wallclock secs ( 0.23 usr 0.10 sys + 5.96 cusr 0.54 csys = 6.83 CPU) Result: FAIL Failed 3/45 test programs. 5/1402 subtests failed. make: *** [test_dynamic] Error 255
Thanks for the report, but the version you're downloading is a bit old; can you please check if you have the same problem with the latest version? Cheers JJ
On Thu Jan 27 11:11:21 2011, JMERELO wrote:
Show quoted text
> Thanks for the report, but the version you're downloading is a bit old; > can you please check if you have the same problem with the latest
version? with 0.75 make test PERL_DL_NONLAZY=1 /usr/bin/perl5.12.2 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t # Testing Algorithm::Evolutionary 0.75, Perl 5.012002, /usr/bin/perl5.12.2 t/00-load.t ................ ok t/0001-wheel.t ............. ok t/0002-utils.t ............. ok t/0100-bitvector.t ......... ok t/0101-string.t ............ ok t/0102-any.t ............... ok t/0200-run-cga.t ........... ok t/0200-run-cga_nn.t ........ ok t/0200-run-ga.t ............ ok t/0300-ppeaks.t ............ ok t/0301-wppeaks.t ........... ok t/0302-knapsack.t .......... ok t/0303-onemax.t ............ ok t/0304-royalroad.t ......... ok t/0304-trap.t .............. ok t/0305-ecc.t ............... ok t/0306-any.t ............... ok t/0307-rastrigin.t ......... ok t/0307-zdt1.t .............. ok t/0333-mmdp.t .............. ok t/0400-noveltym.t .......... ok t/0401-genebx.t ............ ok # Failed test 'Testing bitflip' # at t/0402-bitflip.t line 26. # got: '011100001100010101000011001100011101' # expected: anything else # Failed test 'Testing bitflip again' # at t/0402-bitflip.t line 27. # got: '011100001100010101000001001100011101' # expected: anything else # Failed test '5 bitflips' # at t/0402-bitflip.t line 30. # got: '0' # expected: '5' # Looks like you failed 3 tests of 5. t/0402-bitflip.t ........... Dubious, test returned 3 (wstat 768, 0x300) Failed 3/5 subtests t/0403-uxover.t ............ ok t/0404-quadxover.t ......... ok t/0404-string-mutation.t ... ok t/0406-quadxover-diff.t .... ok # Failed test 'Results OK' # at t/0444-stored.t line 35. # got: '' # expected: '1' # Looks like you failed 1 test of 2. t/0444-stored.t ............ Dubious, test returned 1 (wstat 256, 0x100) Failed 1/2 subtests t/0500-generation-skel.t ... ok t/0500-replace.t ........... ok t/0501-convergence-term.t .. ok t/0501-eval-general.t ...... ok t/0502-pop_printer.t ....... ok t/0503-eval-mo.t ........... ok t/0600-ez-moga.t ........... ok t/0601-cga-gif-output.t .... ok t/0603-eda.t ............... ok # Failed test 'DABECACAEDACCAEBACEAECDDBABBAEFD differs from DABECACAEDACCAEBACEAECDDBABBAEFD' # at t/0700-combined.t line 34. # got: 'DABECACAEDACCAEBACEAECDDBABBAEFD' # expected: anything else # Failed test 'DFEABBABDDCEAECABEACCADEACACEBAD differs from DFEABBABDDCEAECABEACCADEACACEBAD' # at t/0700-combined.t line 34. # got: 'DFEABBABDDCEAECABEACCADEACACEBAD' # expected: anything else # Failed test 'DABECACAEDACCAEBACEAECDDBABBAEFD differs from DABECACAEDACCAEBACEAECDDBABBAEFD' # at t/0700-combined.t line 34. # got: 'DABECACAEDACCAEBACEAECDDBABBAEFD' # expected: anything else # Failed test 'DFEABBABDDCEAECABEACCADEACACEBAD differs from DFEABBABDDCEAECABEACCADEACACEBAD' # at t/0700-combined.t line 34. # got: 'DFEABBABDDCEAECABEACCADEACACEBAD' # expected: anything else # Failed test 'DABECACAEDACCAEBACEAECDDBABBAEFD differs from DABECACAEDACCAEBACEAECDDBABBAEFD' # at t/0700-combined.t line 34. # got: 'DABECACAEDACCAEBACEAECDDBABBAEFD' # expected: anything else # Failed test 'DFEABBABDDCEAECABEACCADEACACEBAD differs from DFEABBABDDCEAECABEACCADEACACEBAD' # at t/0700-combined.t line 34. # got: 'DFEABBABDDCEAECABEACCADEACACEBAD' # expected: anything else # Failed test 'DABECACAEDACCAEBACEAECDDBABBAEFD differs from DABECACAEDACCAEBACEAECDDBABBAEFD' # at t/0700-combined.t line 34. # got: 'DABECACAEDACCAEBACEAECDDBABBAEFD' # expected: anything else # Failed test 'DFEABBABDDCEAECABEACCADEACACEBAD differs from DFEABBABDDCEAECABEACCADEACACEBAD' # at t/0700-combined.t line 34. # got: 'DFEABBABDDCEAECABEACCADEACACEBAD' # expected: anything else # Failed test 'DABECACAEDACCAEBACEAECDDBABBAEFD differs from DABECACAEDACCAEBACEAECDDBABBAEFD' # at t/0700-combined.t line 34. # got: 'DABECACAEDACCAEBACEAECDDBABBAEFD' # expected: anything else # Failed test 'DFEABBABDDCEAECABEACCADEACACEBAD differs from DFEABBABDDCEAECABEACCADEACACEBAD' # at t/0700-combined.t line 34. # got: 'DFEABBABDDCEAECABEACCADEACACEBAD' # expected: anything else # Failed test 'DABECACAEDACCAEBACEAECDDBABBAEFD differs from DABECACAEDACCAEBACEAECDDBABBAEFD' # at t/0700-combined.t line 34. # got: 'DABECACAEDACCAEBACEAECDDBABBAEFD' # expected: anything else # Failed test 'DFEABBABDDCEAECABEACCADEACACEBAD differs from DFEABBABDDCEAECABEACCADEACACEBAD' # at t/0700-combined.t line 34. # got: 'DFEABBABDDCEAECABEACCADEACACEBAD' # expected: anything else # Failed test 'DABECACAEDACCAEBACEAECDDBABBAEFD differs from DABECACAEDACCAEBACEAECDDBABBAEFD' # at t/0700-combined.t line 34. # got: 'DABECACAEDACCAEBACEAECDDBABBAEFD' # expected: anything else # Failed test 'DFEABBABDDCEAECABEACCADEACACEBAD differs from DFEABBABDDCEAECABEACCADEACACEBAD' # at t/0700-combined.t line 34. # got: 'DFEABBABDDCEAECABEACCADEACACEBAD' # expected: anything else # Failed test 'DABECACAEDACCAEBACEAECDDBABBAEFD differs from DABECACAEDACCAEBACEAECDDBABBAEFD' # at t/0700-combined.t line 34. # got: 'DABECACAEDACCAEBACEAECDDBABBAEFD' # expected: anything else # Failed test 'DFEABBABDDCEAECABEACCADEACACEBAD differs from DFEABBABDDCEAECABEACCADEACACEBAD' # at t/0700-combined.t line 34. # got: 'DFEABBABDDCEAECABEACCADEACACEBAD' # expected: anything else # Failed test 'DABECACAEDACCAEBACEAECDDBABBAEFD differs from DABECACAEDACCAEBACEAECDDBABBAEFD' # at t/0700-combined.t line 34. # got: 'DABECACAEDACCAEBACEAECDDBABBAEFD' # expected: anything else # Failed test 'DFEABBABDDCEAECABEACCADEACACEBAD differs from DFEABBABDDCEAECABEACCADEACACEBAD' # at t/0700-combined.t line 34. # got: 'DFEABBABDDCEAECABEACCADEACACEBAD' # expected: anything else # Failed test 'DABECACAEDACCAEBACEAECDDBABBAEFD differs from DABECACAEDACCAEBACEAECDDBABBAEFD' # at t/0700-combined.t line 34. # got: 'DABECACAEDACCAEBACEAECDDBABBAEFD' # expected: anything else # Failed test 'DFEABBABDDCEAECABEACCADEACACEBAD differs from DFEABBABDDCEAECABEACCADEACACEBAD' # at t/0700-combined.t line 34. # got: 'DFEABBABDDCEAECABEACCADEACACEBAD' # expected: anything else # Failed test 'DABECACAEDACCAEBACEAECDDBABBAEFD differs from DABECACAEDACCAEBACEAECDDBABBAEFD' # at t/0700-combined.t line 34. # got: 'DABECACAEDACCAEBACEAECDDBABBAEFD' # expected: anything else # Failed test 'DFEABBABDDCEAECABEACCADEACACEBAD differs from DFEABBABDDCEAECABEACCADEACACEBAD' # at t/0700-combined.t line 34. # got: 'DFEABBABDDCEAECABEACCADEACACEBAD' # expected: anything else # Failed test 'DABECACAEDACCAEBACEAECDDBABBAEFD differs from DABECACAEDACCAEBACEAECDDBABBAEFD' # at t/0700-combined.t line 34. # got: 'DABECACAEDACCAEBACEAECDDBABBAEFD' # expected: anything else # Failed test 'DFEABBABDDCEAECABEACCADEACACEBAD differs from DFEABBABDDCEAECABEACCADEACACEBAD' # at t/0700-combined.t line 34. # got: 'DFEABBABDDCEAECABEACCADEACACEBAD' # expected: anything else # Failed test 'DABECACAEDACCAEBACEAECDDBABBAEFD differs from DABECACAEDACCAEBACEAECDDBABBAEFD' # at t/0700-combined.t line 34. # got: 'DABECACAEDACCAEBACEAECDDBABBAEFD' # expected: anything else # Failed test 'DFEABBABDDCEAECABEACCADEACACEBAD differs from DFEABBABDDCEAECABEACCADEACACEBAD' # at t/0700-combined.t line 34. # got: 'DFEABBABDDCEAECABEACCADEACACEBAD' # expected: anything else # Failed test 'DABECACAEDACCAEBACEAECDDBABBAEFD differs from DABECACAEDACCAEBACEAECDDBABBAEFD' # at t/0700-combined.t line 34. # got: 'DABECACAEDACCAEBACEAECDDBABBAEFD' # expected: anything else # Failed test 'DFEABBABDDCEAECABEACCADEACACEBAD differs from DFEABBABDDCEAECABEACCADEACACEBAD' # at t/0700-combined.t line 34. # got: 'DFEABBABDDCEAECABEACCADEACACEBAD' # expected: anything else # Failed test 'DABECACAEDACCAEBACEAECDDBABBAEFD differs from DABECACAEDACCAEBACEAECDDBABBAEFD' # at t/0700-combined.t line 34. # got: 'DABECACAEDACCAEBACEAECDDBABBAEFD' # expected: anything else # Failed test 'DFEABBABDDCEAECABEACCADEACACEBAD differs from DFEABBABDDCEAECABEACCADEACACEBAD' # at t/0700-combined.t line 34. # got: 'DFEABBABDDCEAECABEACCADEACACEBAD' # expected: anything else # Failed test 'DABECACAEDACCAEBACEAECDDBABBAEFD differs from DABECACAEDACCAEBACEAECDDBABBAEFD' # at t/0700-combined.t line 34. # got: 'DABECACAEDACCAEBACEAECDDBABBAEFD' # expected: anything else # Failed test 'DFEABBABDDCEAECABEACCADEACACEBAD differs from DFEABBABDDCEAECABEACCADEACACEBAD' # at t/0700-combined.t line 34. # got: 'DFEABBABDDCEAECABEACCADEACACEBAD' # expected: anything else # Failed test 'DABECACAEDACCAEBACEAECDDBABBAEFD differs from DABECACAEDACCAEBACEAECDDBABBAEFD' # at t/0700-combined.t line 34. # got: 'DABECACAEDACCAEBACEAECDDBABBAEFD' # expected: anything else # Failed test 'DFEABBABDDCEAECABEACCADEACACEBAD differs from DFEABBABDDCEAECABEACCADEACACEBAD' # at t/0700-combined.t line 34. # got: 'DFEABBABDDCEAECABEACCADEACACEBAD' # expected: anything else # Failed test 'DABECACAEDACCAEBACEAECDDBABBAEFD differs from DABECACAEDACCAEBACEAECDDBABBAEFD' # at t/0700-combined.t line 34. # got: 'DABECACAEDACCAEBACEAECDDBABBAEFD' # expected: anything else # Failed test 'DFEABBABDDCEAECABEACCADEACACEBAD differs from DFEABBABDDCEAECABEACCADEACACEBAD' # at t/0700-combined.t line 34. # got: 'DFEABBABDDCEAECABEACCADEACACEBAD' # expected: anything else # Failed test 'DABECACAEDACCAEBACEAECDDBABBAEFD differs from DABECACAEDACCAEBACEAECDDBABBAEFD' # at t/0700-combined.t line 34. # got: 'DABECACAEDACCAEBACEAECDDBABBAEFD' # expected: anything else # Failed test 'DFEABBABDDCEAECABEACCADEACACEBAD differs from DFEABBABDDCEAECABEACCADEACACEBAD' # at t/0700-combined.t line 34. # got: 'DFEABBABDDCEAECABEACCADEACACEBAD' # expected: anything else # Failed test 'DABECACAEDACCAEBACEAECDDBABBAEFD differs from DABECACAEDACCAEBACEAECDDBABBAEFD' # at t/0700-combined.t line 34. # got: 'DABECACAEDACCAEBACEAECDDBABBAEFD' # expected: anything else # Failed test 'DFEABBABDDCEAECABEACCADEACACEBAD differs from DFEABBABDDCEAECABEACCADEACACEBAD' # at t/0700-combined.t line 34. # got: 'DFEABBABDDCEAECABEACCADEACACEBAD' # expected: anything else # Failed test 'DABECACAEDACCAEBACEAECDDBABBAEFD differs from DABECACAEDACCAEBACEAECDDBABBAEFD' # at t/0700-combined.t line 34. # got: 'DABECACAEDACCAEBACEAECDDBABBAEFD' # expected: anything else # Failed test 'DFEABBABDDCEAECABEACCADEACACEBAD differs from DFEABBABDDCEAECABEACCADEACACEBAD' # at t/0700-combined.t line 34. # got: 'DFEABBABDDCEAECABEACCADEACACEBAD' # expected: anything else # Failed test 'DABECACAEDACCAEBACEAECDDBABBAEFD differs from DABECACAEDACCAEBACEAECDDBABBAEFD' # at t/0700-combined.t line 34. # got: 'DABECACAEDACCAEBACEAECDDBABBAEFD' # expected: anything else # Failed test 'DFEABBABDDCEAECABEACCADEACACEBAD differs from DFEABBABDDCEAECABEACCADEACACEBAD' # at t/0700-combined.t line 34. # got: 'DFEABBABDDCEAECABEACCADEACACEBAD' # expected: anything else # Failed test 'DABECACAEDACCAEBACEAECDDBABBAEFD differs from DABECACAEDACCAEBACEAECDDBABBAEFD' # at t/0700-combined.t line 34. # got: 'DABECACAEDACCAEBACEAECDDBABBAEFD' # expected: anything else # Failed test 'DFEABBABDDCEAECABEACCADEACACEBAD differs from DFEABBABDDCEAECABEACCADEACACEBAD' # at t/0700-combined.t line 34. # got: 'DFEABBABDDCEAECABEACCADEACACEBAD' # expected: anything else # Failed test 'DABECACAEDACCAEBACEAECDDBABBAEFD differs from DABECACAEDACCAEBACEAECDDBABBAEFD' # at t/0700-combined.t line 34. # got: 'DABECACAEDACCAEBACEAECDDBABBAEFD' # expected: anything else # Failed test 'DFEABBABDDCEAECABEACCADEACACEBAD differs from DFEABBABDDCEAECABEACCADEACACEBAD' # at t/0700-combined.t line 34. # got: 'DFEABBABDDCEAECABEACCADEACACEBAD' # expected: anything else # Looks like you failed 48 tests of 102. t/0700-combined.t .......... Dubious, test returned 48 (wstat 12288, 0x3000) Failed 48/102 subtests t/DeltaTerm.t .............. ok t/experiment.t ............. ok t/general.t ................ ok t/GenerationalTerm.t ....... ok t/individuals.t ............ ok t/NoChangeTerm.t ........... ok t/ops.t .................... ok t/pod-coverage.t ........... skipped: Test::Pod::Coverage 1.08 required for testing POD coverage t/pod.t .................... ok t/run.t .................... ok t/validate.t ............... ok Test Summary Report ------------------- t/0402-bitflip.t (Wstat: 768 Tests: 5 Failed: 3) Failed tests: 3-5 Non-zero exit status: 3 t/0444-stored.t (Wstat: 256 Tests: 2 Failed: 1) Failed test: 2 Non-zero exit status: 1 t/0700-combined.t (Wstat: 12288 Tests: 102 Failed: 48) Failed tests: 4, 6, 8-10, 14, 17-18, 20-21, 26, 29-30 33-35, 37, 39, 41, 43, 48, 52-53, 55-57 62-72, 77, 79, 83, 87, 90-92, 96-97, 99 102 Non-zero exit status: 48 Files=49, Tests=2045, 7 wallclock secs ( 0.35 usr 0.08 sys + 6.06 cusr 0.81 csys = 7.30 CPU) Result: FAIL Failed 3/49 test programs. 52/2045 subtests failed. make: *** [test_dynamic] Error 255
Thanks for the report. I'll try to reproduce it and fix it if possible. The only difference between your environment and mine is the Perl version (5.10.1 for me, in Ubuntu). Cheers JJ
Solver in just-released 0.76 by changing Clone::Fast to Clone. Thanks for the reports. JJ


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

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