# New Ticket Created by publiustemp-perl6compil...@yahoo.com # Please include the string: [perl #62568] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=62568 >
I've been trying to update Test.pm but I'm getting bitten by intermittent failures in I/O tests when I run "make spectest". These usually happen in t/spec/S16-filehandles/io_in_for_loops.t and t/spec/S16-filehandles/io_in_while_loops.t. They *always* pass when I run: make t/spec/S16-filehandles/io_in_for_loops.t make t/spec/S16-filehandles/io_in_while_loops.t I sometimes have to run "make spectest" several times before I can reproduce this failure. A typical failure result in the "make spectest" output stream looks like this: Unable to open filehandle current instr.: 'open' pc 2138282 ((unknown file):-1) called from Sub 'open' pc 2138211 ((unknown file):-1) called from Sub 'open' pc 19434 (src/builtins/io.pir:78) called from Sub '_block269' pc 2656 (EVAL_17:874) called from Sub '_block14' pc 243 (EVAL_17:95) called from Sub '!UNIT_START' pc 17928 (src/builtins/guts.pir:321) called from Sub 'parrot;PCT;HLLCompiler;eval' pc 950 (src/PCT/HLLCompiler.pir:527) called from Sub 'parrot;PCT;HLLCompiler;evalfiles' pc 1275 (src/PCT/HLLCompiler.pir:688) called from Sub 'parrot;PCT;HLLCompiler;command_line' pc 1456 (src/PCT/HLLCompiler.pir:778) called from Sub 'parrot;Perl6;Compiler;main' pc 21806 (perl6.pir:158) t/spec/S16-filehandles/io_in_for_loops.rakudo .................. Dubious, test returned 1 (wstat 256, 0x100) Failed 13/49 subtests (less 12 skipped subtests: 24 okay) With the following test summary report: Test Summary Report ------------------- t/spec/S16-filehandles/io_in_for_loops.rakudo (Wstat: 256 Tests: 36 Failed: 0) Non-zero exit status: 1 Parse errors: Bad plan. You planned 49 tests but ran 36. Files=293, Tests=8182, 380 wallclock secs ( 2.23 usr 1.10 sys + 663.92 cusr 25.23 csys = 692.48 CPU) Revision: 35858 uname -a Darwin curtis-poes-computer-3.local 9.6.0 Darwin Kernel Version 9.6.0: Mon Nov 24 17:37:00 PST 2008; root:xnu-1228.9.59~1/RELEASE_I386 i386 These failures have been happening for at least a week (if memory serves correctly) and may have existed before this, but I wasn't doing heavy testing back then and thus don't know when this started. Cheers, Ovid -- Buy the book - http://www.oreilly.com/catalog/perlhks/ Tech blog - http://use.perl.org/~Ovid/journal/ Twitter - http://twitter.com/OvidPerl Official Perl 6 Wiki - http://www.perlfoundation.org/perl6