Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #42106] t/pmc/iterator.t t/src/io.t failed on Linux

1 view
Skip to first unread message

James Keenan via RT

unread,
Mar 26, 2007, 9:38:02 PM3/26/07
to perl6-i...@perl.org
Error in the previous report: t/src/io.t failed during 'make test' (both times I ran it), but
appears to have passed when run with 'prove'. Here's what I saw during 'make test'.

t/src/io.................................Failed to delete temp.file at t/src/io.t line 46.
# Looks like you planned 20 tests but only ran 15.
# Looks like your test died just after 15.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 16-20
Failed 5/20 tests, 75.00% okay

The temp.file that failed to be removed may have been this, which was left in the top-level of
my sandbox after the tests had completed. This file was not removed by 'make realclean'.

[li11-226:parrot] 552 $ less include.tempfile
[li11-226:parrot] 553 $ pwd
/home/jimk/work/parrot
[li11-226:parrot] 554 $ cat include.tempfile

=head1 Foobar

we don't cut out!!!


James Keenan

unread,
Mar 26, 2007, 9:29:40 PM3/26/07
to bugs-bi...@rt.perl.org
# New Ticket Created by James Keenan
# Please include the string: [perl #42106]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=42106 >


---
osname= linux
osvers= 2.6.15
arch= i386-linux-thread-multi
cc= cc
---
Flags:
category=core
severity=medium
ack=no
---
Tonight I experienced failures in two test files while running 'make test' on
Linux. I did a fresh checkout before the first failure, then did 'make
realclean' and 'perl Configure.pl' before re-doing 'make' and 'make test' --
with identical results. The output of 'prove -v t/pmc/iterator.t t/src/io.t'
is below, as is 'myconfig'.

kid51

[li11-226:parrot] 524 $ prove -v t/pmc/iterator.t t/src/io.t
t/pmc/iterator....1..43
ok 1 - new iter
ok 2 - int test
ok 3 - Hash iter 1
ok 4 - Hash iter 1
ok 5 - Hash iter 2
ok 6 - string iteration forward
ok 7 - string iteration backward
ok 8 - string iteration forward get ord
ok 9 - string iteration backward get ord
ok 10 - String iterator in PIR
ok 11 - Index access for Iterator on String
ok 12 - Index access for Iterator on ResizablePMCArray
ok 13 # skip N/Y: length of rest of array
ok 14 - slice syntax
ok 15 - slice creates an iterator
ok 16 - slice iter simple array elements
ok 17 - slice iter simple array elements - repeat
ok 18 - slice iter string
ok 19 - slice iter start range
ok 20 - slice iter end range
ok 21 - slice iter start range, value
ok 22 - slice iter range, value
ok 23 - slice iter range, range
ok 24 - slice iter string range
ok 25 - slice iter string range 2
ok 26 - slice iter string variable range
ok 27 - slice iter hash values
ok 28 - slice iter hash values 2
ok 29 - slice iter range
ok 30 - slice iter range 2
ok 31 - slice iter range - vars
ok 32 - xrange iterator
ok 33 - xrange iterator ..n
ok 34 - slice, get strings from array
ok 35 - iter vtable
ok 36 - string iteration with get_iter
ok 37 - intlist iter vtable
ok 38 - xrange iterator, get_iter
not ok 39 - adding keys during iteration # TODO adding keys during iteration

# Failed (TODO) test (t/pmc/iterator.t at line 1253)
# got: '28_27_26_25_24_23_22_21_20_9_8_7_6_5_4_3_2_1_0_
# '
# expected: '29_28_27_26_25_24_23_22_21_20_9_8_7_6_5_4_3_2_1_0_
# '
ok 40 - by default, iterate from start
ok 41 - iterator can be cloned

# Failed test (t/pmc/iterator.t at line 1333)
# got: ''
# expected: 'ok
# '
# './parrot "/home/jimk/work/parrot/t/pmc/iterator_42.pir"' failed with exit
# code [SIGNAL 11]
not ok 42 - cloned iterator independent of original

# Failed test (t/pmc/iterator.t at line 1366)
# got: ''
# expected: 'ok
# '
# './parrot "/home/jimk/work/parrot/t/pmc/iterator_43.pir"' failed with exit
# code [SIGNAL 11]
# Looks like you failed 2 tests of 43.
not ok 43 - clone of partly-advanced iterator
dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 42-43
Failed 2/43 tests, 95.35% okay (less 1 skipped test: 40 okay,
93.02%)
t/src/io..........1..20
ok 1 - hello world
ok 2 - write
ok 3 - file content
ok 4 - read
ok 5 - append
ok 6 - file content
ok 7 - readline
ok 8 - PIO_parse_open_flags
ok 9 - PIO_open
ok 10 - PIO_read
ok 11 - PIO_read larger file
ok 12 - PIO_read larger chunk when the buffer is not-empty
ok 13 - PIO_tell: read larger chunk when the buffer is
not-empty
ok 14 - PIO_write
ok 15 - PIO_close
ok 16 - PIO_make_offset
ok 17 - PIO_seek
ok 18 - PIO_fdopen
ok 19 - stdio-layer
ok 20 - peek
ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/pmc/iterator.t 2 512 43 2 4.65% 42-43
1 subtest skipped.
Failed 1/2 test scripts, 50.00% okay. 2/63 subtests failed,
96.83% okay.


Summary of my parrot 0.4.10 (r17781) configuration:
configdate='Mon Mar 26 19:50:02 2007'
Platform:
osname=linux, archname=i686-linux
jitcapable=1, jitarchname=i386-linux,
jitosname=LINUX, jitcpuarch=i386
execcapable=1
perl=/usr/local/bin/perl
Compiler:
cc='cc', ccflags=' -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE',
Linker and Libraries:
ld='cc', ldflags=' -L/usr/local/lib',
cc_ldflags='',
libs='-lnsl -ldl -lm -lcrypt -lutil -lpthread -lrt'
Dynamic Linking:
share_ext='.so', ld_share_flags='-shared -L/usr/local/lib -fPIC',
load_ext='.so', ld_load_flags='-shared -L/usr/local/lib -fPIC'
Types:
iv=long, intvalsize=4, intsize=4, opcode_t=long, opcode_t_size=4,
ptrsize=4, ptr_alignment=1 byteorder=1234,
nv=double, numvalsize=8, doublesize=8

---
Summary of my parrot 0.4.10 (r17781) configuration:
configdate='Mon Mar 26 19:50:02 2007'
Platform:
osname=linux, archname=i686-linux
jitcapable=1, jitarchname=i386-linux,
jitosname=LINUX, jitcpuarch=i386
execcapable=1
perl=/usr/local/bin/perl
Compiler:
cc='cc', ccflags=' -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE',
Linker and Libraries:
ld='cc', ldflags=' -L/usr/local/lib',
cc_ldflags='',
libs='-lnsl -ldl -lm -lcrypt -lutil -lpthread -lrt'
Dynamic Linking:
share_ext='.so', ld_share_flags='-shared -L/usr/local/lib -fPIC',
load_ext='.so', ld_load_flags='-shared -L/usr/local/lib -fPIC'
Types:
iv=long, intvalsize=4, intsize=4, opcode_t=long, opcode_t_size=4,
ptrsize=4, ptr_alignment=1 byteorder=1234,
nv=double, numvalsize=8, doublesize=8

---
Environment:
HOME =/home/jimk
LANG (unset)
LANGUAGE (unset)
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH =/usr/local/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/mysql/bin:/home/jimk/bin:/home/jimk/bin/perl
SHELL =/bin/bash

Eric Hanchrow

unread,
Mar 27, 2007, 12:22:32 AM3/27/07
to perl6-i...@perl.org
I think that's my code; I'm looking into it.
--
I'd like to see Rush Limbaugh tell Omar he can't get
married.
--Alex Kotlowitz. You hadda be there

James Keenan via RT

unread,
Mar 27, 2007, 4:55:02 AM3/27/07
to perl6-i...@perl.org
On Mon Mar 26 21:40:39 2007, guest wrote:

> On Mon Mar 26 18:38:00 2007, jk...@verizon.net wrote:
> > Error in the previous report: t/src/io.t failed during 'make test'
> > (both times I ran it), but
>
> Can you clarify: did or did not the iterator test fail? If so, I am
> probably the one to look at it (although it did not repro for me).

Yes. As noted in the OP, tests 42 and 43 failed and one TODO test failed as well.

James Keenan via RT

unread,
Jul 8, 2007, 10:49:12 PM7/8/07
to perl6-i...@perl.org
These tests have been passing for a month. Closing ticket.
0 new messages