develooper Front page | perl.perl5.porters | Postings from June 2002

[ID 20020626.008] RC2 File::Find tests fail on linux tmpfs

Thread Next
From:
Anthony Heading
Date:
June 26, 2002 07:21
Subject:
[ID 20020626.008] RC2 File::Find tests fail on linux tmpfs
Message ID:
5.8.0_26585_1025100508@begemot.ajrh.net

This is a bug report for perl from anthony@magix.com.sg
generated with the help of perlbug 1.34 running under perl v5.8.0.


-----------------------------------------------------------------
[Please enter your report here]

I'm seeing a test failure on RC2 with a recent linux kernel
(the 2.4.19-pre10 prepatch) when building perl in /tmp on
the tmpfs.

Might be an oddity with my setup, but since release is so close
thought it sensible to submit this report regardless.


After make test:

....
Failed Test               Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
.../lib/File/Find/t/find.t              188    5   2.66%  160 172 186-188
43 tests and 406 subtests skipped.
Failed 1/708 test scripts, 99.86% okay. 5/65092 subtests failed, 99.99% okay.


Rerunning the failed test
/tmp/perl-5.8.0-RC2% ./perl -Ilib lib/File/Find/t/find.t

1..188
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
ok 13
ok 14
ok 15
ok 16
ok 17
# $File::Find::dir => 'fa'
# $_ => '.'
ok 18
# $File::Find::dir => 'fa'
# $_ => 'fa_ord'
ok 19
# $File::Find::dir => 'fa'
# $_ => 'fsl'
ok 20
# $File::Find::dir => 'fa'
# $_ => 'faa'
ok 21
# $File::Find::dir => 'fa/faa'
# $_ => 'faa_ord'
ok 22
# $File::Find::dir => 'fa'
# $_ => 'fab'
ok 23
# $File::Find::dir => 'fa/fab'
# $_ => 'fab_ord'
ok 24
# $File::Find::dir => 'fa/fab'
# $_ => 'faba'
ok 25
ok 26
# check re-entrancy
# $File::Find::dir => 'fa'
# $_ => '.'
ok 27
# $File::Find::dir => 'fa'
# $_ => 'fa_ord'
ok 28
# $File::Find::dir => 'fa'
# $_ => 'fsl'
ok 29
# $File::Find::dir => 'fa'
# $_ => 'faa'
ok 30
# $File::Find::dir => 'fa/faa'
# $_ => 'faa_ord'
ok 31
# $File::Find::dir => 'fa'
# $_ => 'fab'
ok 32
# $File::Find::dir => 'fa/fab'
# $_ => 'fab_ord'
ok 33
# $File::Find::dir => 'fa/fab'
# $_ => 'faba'
ok 34
ok 35
# $File::Find::dir => 'fa'
# $_ => 'fa'
ok 36
# $File::Find::dir => 'fa'
# $_ => 'fa/fa_ord'
ok 37
# $File::Find::dir => 'fa'
# $_ => 'fa/fsl'
ok 38
# $File::Find::dir => 'fa'
# $_ => 'fa/faa'
ok 39
# $File::Find::dir => 'fa/faa'
# $_ => 'fa/faa/faa_ord'
ok 40
# $File::Find::dir => 'fa'
# $_ => 'fa/fab'
ok 41
# $File::Find::dir => 'fa/fab'
# $_ => 'fa/fab/fab_ord'
ok 42
# $File::Find::dir => 'fa/fab'
# $_ => 'fa/fab/faba'
ok 43
# $File::Find::dir => 'fa/fab/faba'
# $_ => 'fa/fab/faba/faba_ord'
ok 44
ok 45
# $File::Find::name => './fa/fa_ord'
ok 46
# $File::Find::name => './fa/fsl'
ok 47
# $File::Find::name => './fa/faa/faa_ord'
ok 48
# $File::Find::name => './fa/faa'
ok 49
# $File::Find::name => './fa/fab/fab_ord'
ok 50
# $File::Find::name => './fa/fab/faba/faba_ord'
ok 51
# $File::Find::name => './fa/fab/faba'
ok 52
# $File::Find::name => './fa/fab'
ok 53
# $File::Find::name => './fa'
ok 54
# $File::Find::name => './fb/fb_ord'
ok 55
# $File::Find::name => './fb/fba/fba_ord'
ok 56
# $File::Find::name => './fb/fba'
ok 57
# $File::Find::name => './fb'
ok 58
# $File::Find::name => '.'
ok 59
ok 60
# $_ => './fa/fa_ord'
ok 61
# $_ => './fa/fsl'
ok 62
# $_ => './fa/faa/faa_ord'
ok 63
# $_ => './fa/faa'
ok 64
# $_ => './fa/fab/fab_ord'
ok 65
# $_ => './fa/fab/faba/faba_ord'
ok 66
# $_ => './fa/fab/faba'
ok 67
# $_ => './fa/fab'
ok 68
# $_ => './fa'
ok 69
# $_ => './fb/fb_ord'
ok 70
# $_ => './fb/fba/fba_ord'
ok 71
# $_ => './fb/fba'
ok 72
# $_ => './fb'
ok 73
# $_ => '.'
ok 74
ok 75
# check preprocess
# --preprocess--
#   $File::Find::dir => '.' 
#   . 
#   .. 
#   fb 
#   fa 
# --end preprocess--
ok 76
# --preprocess--
#   $File::Find::dir => './fa' 
#   . 
#   .. 
#   fab 
#   faa 
#   fa_ord 
#   fsl 
# --end preprocess--
ok 77
# --preprocess--
#   $File::Find::dir => './fa/faa' 
#   . 
#   .. 
#   faa_ord 
# --end preprocess--
ok 78
# --preprocess--
#   $File::Find::dir => './fa/fab' 
#   . 
#   .. 
#   faba 
#   fab_ord 
# --end preprocess--
ok 79
# --preprocess--
#   $File::Find::dir => './fa/fab/faba' 
#   . 
#   .. 
#   faba_ord 
# --end preprocess--
ok 80
# --preprocess--
#   $File::Find::dir => './fb' 
#   . 
#   .. 
#   fba 
#   fb_ord 
# --end preprocess--
ok 81
# --preprocess--
#   $File::Find::dir => './fb/fba' 
#   . 
#   .. 
#   fba_ord 
# --end preprocess--
ok 82
ok 83
# check postprocess
# postprocess: $File::Find::dir => './fa/faa' 
# postprocess: $File::Find::dir => './fa/fab/faba' 
# postprocess: $File::Find::dir => './fa/fab' 
# postprocess: $File::Find::dir => './fa' 
# postprocess: $File::Find::dir => './fb/fba' 
# postprocess: $File::Find::dir => './fb' 
# postprocess: $File::Find::dir => '.' 
ok 84
# --- symbolic link tests --- 
# $File::Find::dir => 'fa/'
# $_ => 'fsl'
ok 85
ok 86
# $File::Find::dir => 'fa'
# $_ => '.'
ok 87
# $File::Find::dir => 'fa'
# $_ => 'fa_ord'
ok 88
# $File::Find::dir => 'fa'
# $_ => 'fsl'
ok 89
# $File::Find::dir => 'fa/fsl'
# $_ => 'fb_ord'
ok 90
# $File::Find::dir => 'fa/fsl'
# $_ => 'fba'
ok 91
# $File::Find::dir => 'fa/fsl/fba'
# $_ => 'fba_ord'
ok 92
# $File::Find::dir => 'fa'
# $_ => 'faa'
ok 93
# $File::Find::dir => 'fa/faa'
# $_ => 'faa_ord'
ok 94
# $File::Find::dir => 'fa'
# $_ => 'fab'
ok 95
# $File::Find::dir => 'fa/fab'
# $_ => 'fab_ord'
ok 96
# $File::Find::dir => 'fa/fab'
# $_ => 'faba'
ok 97
ok 98
# $File::Find::dir => 'fa'
# $_ => 'fa'
ok 99
# $File::Find::dir => 'fa'
# $_ => 'fa/fa_ord'
ok 100
# $File::Find::dir => 'fa'
# $_ => 'fa/fsl'
ok 101
# $File::Find::dir => 'fa/fsl'
# $_ => 'fa/fsl/fb_ord'
ok 102
# $File::Find::dir => 'fa/fsl'
# $_ => 'fa/fsl/fba'
ok 103
# $File::Find::dir => 'fa/fsl/fba'
# $_ => 'fa/fsl/fba/fba_ord'
ok 104
# $File::Find::dir => 'fa'
# $_ => 'fa/faa'
ok 105
# $File::Find::dir => 'fa/faa'
# $_ => 'fa/faa/faa_ord'
ok 106
# $File::Find::dir => 'fa'
# $_ => 'fa/fab'
ok 107
# $File::Find::dir => 'fa/fab'
# $_ => 'fa/fab/fab_ord'
ok 108
# $File::Find::dir => 'fa/fab'
# $_ => 'fa/fab/faba'
ok 109
# $File::Find::dir => 'fa/fab/faba'
# $_ => 'fa/fab/faba/faba_ord'
ok 110
ok 111
# $File::Find::name => 'fa/fa_ord'
ok 112
# $File::Find::name => 'fa/fsl/fb_ord'
ok 113
# $File::Find::name => 'fa/fsl/fba/fba_ord'
ok 114
# $File::Find::name => 'fa/fsl/fba'
ok 115
# $File::Find::name => 'fa/fsl'
ok 116
# $File::Find::name => 'fa/faa/faa_ord'
ok 117
# $File::Find::name => 'fa/faa'
ok 118
# $File::Find::name => 'fa/fab/fab_ord'
ok 119
# $File::Find::name => 'fa/fab/faba/faba_ord'
ok 120
# $File::Find::name => 'fa/fab/faba'
ok 121
# $File::Find::name => 'fa/fab'
ok 122
# $File::Find::name => 'fa'
ok 123
ok 124
# $_ => 'fa/fa_ord'
ok 125
# $_ => 'fa/fsl/fb_ord'
ok 126
# $_ => 'fa/fsl/fba/fba_ord'
ok 127
# $_ => 'fa/fsl/fba'
ok 128
# $_ => 'fa/fsl'
ok 129
# $_ => 'fa/faa/faa_ord'
ok 130
# $_ => 'fa/faa'
ok 131
# $_ => 'fa/fab/fab_ord'
ok 132
# $_ => 'fa/fab/faba/faba_ord'
ok 133
# $_ => 'fa/fab/faba'
ok 134
# $_ => 'fa/fab'
ok 135
# $_ => 'fa'
ok 136
ok 137
# check dangling symbolic links
ok 138
ok 139
ok 140
ok 141
# $_ => '.'
ok 142
# $_ => 'fa_ord'
ok 143
# $_ => 'fsl'
ok 144
# $_ => 'fb_ord'
ok 145
# $_ => 'fba'
ok 146
# $_ => 'fba_ord'
ok 147
# $_ => 'faa'
ok 148
# $_ => 'faa_ord'
ok 149
# $_ => 'fab'
ok 150
# $_ => 'fab_ord'
ok 151
# $_ => 'faba'
ok 152
# $_ => 'faba_ord'
ok 153
ok 154
ok 155
# check recursion
ok 156
# $File::Find::dir => 'fa'
# $_ => 'fa'
# $File::Find::dir => 'fa'
# $_ => 'fa/fa_ord'
# $File::Find::dir => 'fa'
# $_ => 'fa/fsl'
# $File::Find::dir => 'fa/fsl'
# $_ => 'fa/fsl/fb_ord'
# $File::Find::dir => 'fa/fsl'
# $_ => 'fa/fsl/fba'
# $File::Find::dir => 'fa/fsl/fba'
# $_ => 'fa/fsl/fba/fba_ord'
# $File::Find::dir => 'fa'
# $_ => 'fa/faa'
ok 157
# check follow_skip (file)
ok 158
# $File::Find::dir => 'fa'
# $_ => 'fa/fa_ord_sl'
ok 159
# $File::Find::dir => 'fa'
# $_ => 'fa/fa_ord_sl'
not ok 160
# $File::Find::dir => 'fa/fsl'
# $_ => 'fa/fsl/fb_ord'
ok 161
# $File::Find::dir => 'fa/fsl/fba'
# $_ => 'fa/fsl/fba/fba_ord'
ok 162
# $File::Find::dir => 'fa/fsl'
# $_ => 'fa/fsl/fba'
ok 163
# $File::Find::dir => 'fa'
# $_ => 'fa/fsl'
ok 164
# $File::Find::dir => 'fa/faa'
# $_ => 'fa/faa/faa_ord'
ok 165
# $File::Find::dir => 'fa'
# $_ => 'fa/faa'
ok 166
# $File::Find::dir => 'fa/fab'
# $_ => 'fa/fab/fab_ord'
ok 167
# $File::Find::dir => 'fa/fab/faba'
# $_ => 'fa/fab/faba/faba_ord'
ok 168
# $File::Find::dir => 'fa/fab'
# $_ => 'fa/fab/faba'
ok 169
# $File::Find::dir => 'fa'
# $_ => 'fa/fab'
ok 170
# $File::Find::dir => 'fa'
# $_ => 'fa'
ok 171
not ok 172
# check follow_skip (directory)
ok 173
# $File::Find::dir => 'fa'
# $_ => 'fa'
ok 174
# $File::Find::dir => 'fa'
# $_ => 'fa'
ok 175
# $File::Find::dir => 'fa'
# $_ => 'fa'
ok 176
# $File::Find::dir => 'fa'
# $_ => 'fa/fa_ord'
ok 177
# $File::Find::dir => 'fa'
# $_ => 'fa/fsl'
ok 178
# $File::Find::dir => 'fa/fsl'
# $_ => 'fa/fsl/fb_ord'
ok 179
# $File::Find::dir => 'fa/fsl'
# $_ => 'fa/fsl/fba'
ok 180
# $File::Find::dir => 'fa/fsl/fba'
# $_ => 'fa/fsl/fba/fba_ord'
ok 181
# $File::Find::dir => 'fa'
# $_ => 'fa/fab'
ok 182
# $File::Find::dir => 'fa/fab'
# $_ => 'fa/fab/fab_ord'
ok 183
# $File::Find::dir => 'fa/fab'
# $_ => 'fa/fab/faba'
ok 184
# $File::Find::dir => 'fa/fab/faba'
# $_ => 'fa/fab/faba/faba_ord'
ok 185
# $File::Find::dir => 'fa'
# $_ => 'fa/faa_sl'
not ok 186
# $File::Find::dir => 'fa/faa_sl'
# $_ => 'fa/faa_sl/faa_ord'
not ok 187
not ok 188


[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
    category=core
    severity=medium
---
Site configuration information for perl v5.8.0:

Configured by ajrh at Tue Jun 25 00:14:21 JST 2002.

Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
  Platform:
    osname=linux, osvers=2.4.19-pre10, archname=linux
    uname='linux begemot.ajrh.net 2.4.19-pre10 #2 smp tue jun 25 00:06:36 jst 2002 i686 unknown '
    config_args='-D prefix=/opt/perl'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef 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 ='-DDEBUGGING -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-g',
    cppflags='-DDEBUGGING -fno-strict-aliasing'
    ccversion='', gccversion='2.95.4 20011002 (Debian prerelease)', 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 =''
    libpth=/lib /usr/lib
    libs=-lnsl -lgdbm -ldbm -ldb -ldl -lm -lc -lcrypt -lutil
    perllibs=-lnsl -ldl -lm -lc -lcrypt -lutil
    libc=/lib/libc-2.2.5.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.2.5'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fPIC', lddlflags='-shared'

Locally applied patches:
    

---
@INC for perl v5.8.0:
    lib
    /home/ajrh/lib/perl
    /home/work/lib/perl
    /perl
    /linux/perl
    /opt/perl/lib/linux
    /opt/perl/lib
    /opt/perl/site-perl/linux
    /opt/perl/site-perl
    /opt/perl/site-perl
    .

---
Environment for perl v5.8.0:
    HOME=/home/ajrh
    LANG=C
    LANGUAGE (unset)
    LD_LIBRARY_PATH=/home/work/linux/lib
    LOGDIR (unset)
    PATH=.:/home/ajrh/bin:/home/ajrh/bin/scripts:/home/work/scripts:/opt/bin:/usr/local/bin:/usr/bin/X11:/usr/bin:/usr/sbin:/bin:/sbin:/usr/games
    PERLLIB=/home/ajrh/lib/perl:/home/work/lib/perl:/perl:/linux/perl
    PERL_BADLANG (unset)
    SHELL=/bin/zsh


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About