Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

blead fails several tests on Haiku-OS #12802

Open
p5pRT opened this issue Feb 20, 2013 · 7 comments
Open

blead fails several tests on Haiku-OS #12802

p5pRT opened this issue Feb 20, 2013 · 7 comments

Comments

@p5pRT
Copy link

p5pRT commented Feb 20, 2013

Migrated from rt.perl.org#116873 (status was 'open')

Searchable as RT116873$

@p5pRT
Copy link
Author

p5pRT commented Feb 20, 2013

From @tonycoz

Created by @tonycoz

Several tests fail on a default build of perl on Haiku-OS.
 
Test Summary Report
-------------------
run/exit.t (Wstat​: 0 Tests​: 17 Failed​: 6)
  Failed tests​: 7-9, 14-16
op/require_errors.t (Wstat​: 0 Tests​: 11 Failed​: 2)
  Failed tests​: 10-11
op/sigsystem.t (Wstat​: 0 Tests​: 4 Failed​: 2)
  Failed tests​: 3-4
../cpan/File-Path/t/Path.t (Wstat​: 768 Tests​: 55 Failed​: 0)
  Non-zero exit status​: 3
  Parse errors​: Bad plan. You planned 129 tests but ran 55.
../cpan/Socket/t/socketpair.t (Wstat​: 5888 Tests​: 45 Failed​: 23)
  Failed tests​: 22-35, 37-45
  Non-zero exit status​: 23
../cpan/Time-Piece/t/02core.t (Wstat​: 512 Tests​: 95 Failed​: 2)
  Failed tests​: 38-39
  Non-zero exit status​: 2
../dist/ExtUtils-Command/t/eu_command.t (Wstat​: 3840 Tests​: 22 Failed​: 0)
  Non-zero exit status​: 15
  Parse errors​: Bad plan. You planned 40 tests but ran 22.
../dist/Net-Ping/t/450_service.t (Wstat​: 256 Tests​: 26 Failed​: 1)
  Failed test​: 26
  Non-zero exit status​: 1
../ext/POSIX/t/wrappers.t (Wstat​: 512 Tests​: 89 Failed​: 2)
  Failed tests​: 87-88
  Non-zero exit status​: 2
../lib/File/stat.t (Wstat​: 1536 Tests​: 5008 Failed​: 6)
  Failed tests​: 444, 1529, 2180, 2614, 3265, 4567
  Non-zero exit status​: 6
Files=2377, Tests=607386, 3823 wallclock secs (167.49 usr 59.16 sys + 2036.65 cusr 1424.38 csys = 3687.69 CPU)
Result​: FAIL

~/dev/perl/git/perl/t> LIBRARY_PATH=`pwd`/..​:$LIBRARY_PATH ./perl harness -v run/exit.t
run/exit.t ..
1..17
ok 1 - Normal exit
ok 2 - Normal exit $?
ok 3 - Normal exit ${^CHILD_ERROR_NATIVE}
ok 4 - Non-zero exit
ok 5 - Non-zero exit $?
ok 6 - Non-zero exit ${^CHILD_ERROR_NATIVE}
not ok 7 - WIFEXITED
not ok 8 - WIFSIGNALED
not ok 9 - WEXITSTATUS
# Failed test 7 - WIFEXITED at run/exit.t line 67
# Failed test 8 - WIFSIGNALED at run/exit.t line 68
# Failed test 9 - WEXITSTATUS at run/exit.t line 69
# got "0"
# expected "42"
ok 10 - Term by signal
ok 11 - No core dump
ok 12 - Term by signal $?
ok 13 - Term by signal ${^CHILD_ERROR_NATIVE}
not ok 14 - WIFEXITED
not ok 15 - WIFSIGNALED
not ok 16 - WTERMSIG
# Failed test 14 - WIFEXITED at run/exit.t line 88
# Failed test 15 - WIFSIGNALED at run/exit.t line 89
# Failed test 16 - WTERMSIG at run/exit.t line 90
# got "0"
# expected "15"
ok 17 - Changing $? in END block
Failed 6/17 subtests

Test Summary Report
-------------------
run/exit.t (Wstat​: 0 Tests​: 17 Failed​: 6)
  Failed tests​: 7-9, 14-16
Files=1, Tests=17, 0 wallclock secs ( 0.03 usr 0.01 sys + 0.15 cusr 0.12 csys = 0.31 CPU)
Result​: FAIL

~/dev/perl/git/perl/t> LIBRARY_PATH=`pwd`/..​:$LIBRARY_PATH ./perl harness -v op/require_errors.t
op/require_errors.t ..
1..11
ok 1 - correct error message for require 'tmp41237B'
ok 2 - correct error message for require ' '
ok 3 - correct error message for require tmp41237B
ok 4
ok 5 - correct error message for require 'tmp41237B.h'
ok 6 - correct error message for require '.h'
ok 7 - correct error message for require 'tmp41237B.ph'
ok 8 - correct error message for require '.ph'
ok 9 - require <> error
not ok 10 - special error message if the file exists but can't be opened
not ok 11 - ...even if we use a full path
# Failed test 10 - special error message if the file exists but can't be opened at op/require_errors.t line 88
# got 'Can't locate tmp41237C.pm in @​INC (you may need to install the tmp41237C module) (@​INC contains​: .) at (eval 11) line 2.
# BEGIN failed--compilation aborted at (eval 11) line 2.
# '
# expected /(?^​:^Can\'t\ locate\ tmp41237C\.pm\​:)/
# Failed test 11 - ...even if we use a full path at op/require_errors.t line 100
# got 'Can't locate /boot/home/dev/perl/git/perl/t/tmp41237C.pm in @​INC (you may need to install the :​:boot​::home​::dev​::perl​::git​::perl​::t​::tmp41237C module) (@​INC contains​: .) at op/require_errors.t line 98.
# '
# expected /(?^​:^Can\'t\ locate\ \/boot\/home\/dev\/perl\/git\/perl\/t\/tmp41237C\.pm\​:)/
Failed 2/11 subtests

Test Summary Report
-------------------
op/require_errors.t (Wstat​: 0 Tests​: 11 Failed​: 2)
  Failed tests​: 10-11
Files=1, Tests=11, 0 wallclock secs ( 0.03 usr 0.01 sys + 0.08 cusr 0.05 csys = 0.17 CPU)
Result​: FAIL

~/dev/perl/git/perl/t> LIBRARY_PATH=`pwd`/..​:$LIBRARY_PATH ./perl harness -v op/sigsystem.t
op/sigsystem.t ..
1..4
ok 1 - system() without reaper succeeded 10 times out of 10
ok 2 - system() with reaper succeeded 10 times out of 10
# Waiting briefly for SIGCHLD...
not ok 3 - Reaped only one process
not ok 4 - Reaped the right process.
# Failed test 3 - Reaped only one process at op/sigsystem.t line 41
Use of uninitialized value in numeric eq (==) at op/sigsystem.t line 42.
# Failed test 4 - Reaped the right process. at op/sigsystem.t line 42
# $VAR1 = [];
Failed 2/4 subtests

Test Summary Report
-------------------
op/sigsystem.t (Wstat​: 0 Tests​: 4 Failed​: 2)
  Failed tests​: 3-4
Files=1, Tests=4, 2 wallclock secs ( 0.02 usr 0.01 sys + 0.55 cusr 0.42 csys = 0.99 CPU)
Result​: FAIL

~/dev/perl/git/perl/t> LIBRARY_PATH=`pwd`/..​:$LIBRARY_PATH ./perl harness -v ../dist/ExtUtils-Command/t/eu_command.t
../dist/ExtUtils-Command/t/eu_command.t ..
1..40
ok 1 - use ExtUtils​::Command;

# Failed test 'testing non-existent file'
# at t/eu_command.t line 50.
ok 2 - concatenation worked
not ok 3 - testing non-existent file
# got​: '0'
# expected​: '1'
ok 4 - testing touch() and test_f()
ok 5 - test_f preserves @​ARGV
ok 6 - created!
ok 7 - checking modify time stamp
ok 8 - newer file created
ok 9 - eqtime
ok 10 - eqtime doesn't clear the file being equalized
ok 11 - change a file to execute-only
ok 12 - change a file to read-only
ok 13 - change a file to write-only
ok 14 - chmod preserves @​ARGV
ok 15 - change a file to read-write
ok 16
cannot stat current working directory for testdir​: Operation not allowed at /boot/home/dev/perl/git/perl/dist/ExtUtils-Command/../../lib/ExtUtils/Command.pm line 134.
ok 17 - change a dir to execute-only
ok 18 - change a dir to read-only
ok 19 - change a dir to write-only
ok 20 - rm_rf can delete a read-only dir
ok 21 - temp directory not there yet
mkdir .​: Operation not allowed at /boot/home/dev/perl/git/perl/dist/ExtUtils-Command/../../lib/ExtUtils/Command.pm line 288.
ok 22 - testing non-existent directory
cannot fetch initial working directory​: Operation not allowed at t/eu_command.t line 282.
cannot fetch initial working directory​: Operation not allowed at t/eu_command.t line 283.
# Looks like you planned 40 tests but ran 22.
# Looks like you failed 1 test of 22 run.
# Looks like your test exited with 15 just after 22.
Dubious, test returned 15 (wstat 3840, 0xf00)
Failed 19/40 subtests

Test Summary Report
-------------------
../dist/ExtUtils-Command/t/eu_command.t (Wstat​: 3840 Tests​: 22 Failed​: 1)
  Failed test​: 3
  Non-zero exit status​: 15
  Parse errors​: Bad plan. You planned 40 tests but ran 22.
Files=1, Tests=22, 2 wallclock secs ( 0.02 usr 0.01 sys + 0.22 cusr 0.07 csys = 0.32 CPU)
Result​: FAIL

~/dev/perl/git/perl/t> LIBRARY_PATH=`pwd`/..​:$LIBRARY_PATH ./perl harness -v ../dist/Net-Ping/t/450_service.t
../dist/Net-Ping/t/450_service.t ..
1..26
ok 1 - use Net​::Ping;
ok 2 - Start a TCP listen server on ephemeral port isa IO​::Socket​::INET
ok 3 - Start a second TCP listen server on ephemeral port isa IO​::Socket​::INET
ok 4
ok 5
ok 6 - Make sure the servers are listening on different ports
ok 7 - new() worked isa Net​::Ping
ok 8 - first port is reachable
ok 9 - second port is reachable
ok 10 - first service is on
ok 11 - second service is off
ok 12 - new() worked isa Net​::Ping
ok 13 - send SYN to first port
ok 14 - IP should be reachable
ok 15 - No more sockets
ok 16 - new() worked isa Net​::Ping
ok 17 - send SYN to second port
ok 18 - IP should be reachable
ok 19 - No more sockets
ok 20 - new() worked isa Net​::Ping
ok 21 - send SYN to first port
ok 22 - IP should be reachable
ok 23 - No more sockets
ok 24 - new() worked isa Net​::Ping
ok 25 - send SYN to second port

# Failed test 'No sockets should have service on'
# at t/450_service.t line 166.
# got​: '127.0.0.1'
# expected​: undef
# Looks like you failed 1 test of 26.
not ok 26 - No sockets should have service on
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/26 subtests

Test Summary Report
-------------------
../dist/Net-Ping/t/450_service.t (Wstat​: 256 Tests​: 26 Failed​: 1)
  Failed test​: 26
  Non-zero exit status​: 1
Files=1, Tests=26, 1 wallclock secs ( 0.02 usr 0.01 sys + 0.23 cusr 0.08 csys = 0.35 CPU)
Result​: FAIL

~/dev/perl/git/perl/t> LIBRARY_PATH=`pwd`/..​:$LIBRARY_PATH ./perl harness -v ../ext/POSIX/t/wrappers.t
../ext/POSIX/t/wrappers.t ..
ok 1 - abs
ok 2 - abs
...
ok 84 - gets
ok 85 - getppid

# Failed test 'child exited cleanly'
# at t/wrappers.t line 219.
ok 86 - wait
not ok 87 - child exited cleanly
# got​: '0'
# expected​: '1'

# Failed test 'child exited with 1 (the retun value of its close call)'
# at t/wrappers.t line 220.
# got​: '0'
# expected​: '1'
# Looks like you failed 2 tests of 89.
not ok 88 - child exited with 1 (the retun value of its close call)
ok 89 - umask
1..89
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/89 subtests
  (less 2 skipped subtests​: 85 okay)

Test Summary Report
-------------------
../ext/POSIX/t/wrappers.t (Wstat​: 512 Tests​: 89 Failed​: 2)
  Failed tests​: 87-88
  Non-zero exit status​: 2
Files=1, Tests=89, 1 wallclock secs ( 0.04 usr 0.01 sys + 0.30 cusr 0.09 csys = 0.45 CPU)
Result​: FAIL

~/dev/perl/git/perl/t> LIBRARY_PATH=`pwd`/..​:$LIBRARY_PATH ./perl harness -v ../lib/File/stat.t
(extracted from piping through less, so stderr out of order.)

# Failed test 'correct overload for -A for file with mode=0100'
# at ../lib/File/stat.t line 90.
# got​: '0'
# expected​: '-1.15740740740741e-05'

# Failed test 'correct overload for -A for file with mode=0004'
# at ../lib/File/stat.t line 90.
# got​: '-1.15740740740741e-05'
# expected​: '-2.31481481481481e-05'

# Failed test 'correct overload for -A for dir with mode=0400'
# at ../lib/File/stat.t line 90.
# got​: '-2.31481481481481e-05'
# expected​: '-3.47222222222222e-05'

# Failed test 'correct overload for -A for dir with mode=0002'
# at ../lib/File/stat.t line 90.
# got​: '-3.47222222222222e-05'
# expected​: '-4.62962962962963e-05'
cannot stat current working directory for /boot/common/cache/tmp/OGg87AkPGd​: Operation not allowed at ../lib/File/Temp.pm line 919.
# Looks like you failed 4 tests of 5008.
...
ok 4969 - Overload succeeds for -g under use filetest 'access' for ./perl
ok 4970 - no warnings about VMS ACLs for -g under use filetest 'access' for ./penot ok 878 - correct overload for -A for file with mode=0100
ok 879 - no warnings about VMS ACLs for -A for file with mode=0100
ok 880 - should be no warning for -A for file with mode=0100
...
ok 1744 - no other warnings seen for -C under use filetest 'access' for file wit
h mode=0004
ok 1745 - Overload succeeds for -A for file with mode=0004
not ok 1746 - correct overload for -A for file with mode=0004
ok 1747 - no warnings about VMS ACLs for -A for file with mode=0004
ok 1748 - should be no warning for -A for file with mode=0004
...
ok 2829 - no other warnings seen for -C under use filetest 'access' for dir with mode=0400
ok 2830 - Overload succeeds for -A for dir with mode=0400
not ok 2831 - correct overload for -A for dir with mode=0400
ok 2832 - no warnings about VMS ACLs for -A for dir with mode=0400
ok 2833 - should be no warning for -A for dir with mode=0400
...
ok 4348 - no other warnings seen for -C under use filetest 'access' for dir with
mode=0002
ok 4349 - Overload succeeds for -A for dir with mode=0002
not ok 4350 - correct overload for -A for dir with mode=0002
ok 4351 - no warnings about VMS ACLs for -A for dir with mode=0002
ok 4352 - should be no warning for -A for dir with mode=0002
...
ok 5008 - check -p detects a pipe
1..5008
Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/5008 subtests

Test Summary Report
-------------------
../lib/File/stat.t (Wstat​: 1024 Tests​: 5008 Failed​: 4)
  Failed tests​: 878, 1746, 2831, 4350
  Non-zero exit status​: 4
Files=1, Tests=5008, 113 wallclock secs ( 1.22 usr 0.20 sys + 2.63 cusr 0.49 csys = 4.54 CPU)
Result​: FAIL

Perl Info

Flags:
    category=core
    severity=low

Site configuration information for perl 5.17.9:

Configured by user at Wed Feb 20 13:26:15 AEDT 2013.

Summary of my perl5 (revision 5 version 17 subversion 9) configuration:
  Commit id: c7bac10acd8724f859ddcb81408cfdbeee046f8f
  Platform:
    osname=haiku, osvers=1, archname=BePC-haiku
    uname='haiku shredder 1 hrevr1alpha4-44702 nov 14 2012 bepc haiku '
    config_args='-des -Dprefix=/boot/home/perl/v5.17.8-209-gc7bac10 -Dusedevel'
    hint=recommended, useposix=true, d_sigaction=define
    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='gcc', ccflags ='-fno-strict-aliasing -pipe',
    optimize='-O',
    cppflags='-fno-strict-aliasing -pipe'
    ccversion='', gccversion='2.95.3-haiku-121101', 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='gcc', ldflags =''
    libpth=/boot/home/config/lib /boot/common/lib /system/lib
    libs=-lnetwork
    perllibs=-lnetwork
    libc=/system/lib/libroot.so, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-fpic', lddlflags='-shared'

Locally applied patches:
    


@INC for perl 5.17.9:
    lib
    /boot/home/perl/v5.17.8-209-gc7bac10/lib/site_perl/5.17.9/BePC-haiku
    /boot/home/perl/v5.17.8-209-gc7bac10/lib/site_perl/5.17.9
    /boot/home/perl/v5.17.8-209-gc7bac10/lib/5.17.9/BePC-haiku
    /boot/home/perl/v5.17.8-209-gc7bac10/lib/5.17.9
    .


Environment for perl 5.17.9:
    HOME=/boot/home
    LANG (unset)
    LANGUAGE (unset)
    LC_COLLATE=en.UTF-8
    LC_CTYPE=en.UTF-8
    LC_MESSAGES=en.UTF-8
    LC_MONETARY=en_US.UTF-8
    LC_NUMERIC=en_US.UTF-8
    LC_TIME=en_US.UTF-8
    LD_LIBRARY_PATH (unset)
    LIBRARY_PATH=/boot/home/dev/perl/git/perl:%A/lib:/boot/home/config/lib:/boot/common/lib:/boot/system/lib
    LOGDIR (unset)
    PATH=.:/boot/home/config/bin:/boot/common/bin:/bin:/boot/apps:/boot/preferences:/boot/system/apps:/boot/system/preferences:/boot/develop/tools/gnupro/bin
    PERL_BADLANG (unset)
    SHELL=/bin/bash

@p5pRT
Copy link
Author

p5pRT commented Mar 1, 2013

From @jkeenan

On Tue Feb 19 20​:37​:59 2013, tonyc wrote​:

This is a bug report for perl from tony@​develop-help.com,
generated with the help of perlbug 1.39 running under perl 5.17.9.

-----------------------------------------------------------------
[Please describe your issue here]

Several tests fail on a default build of perl on Haiku-OS.

Test Summary Report
-------------------
run/exit.t
(Wstat​: 0 Tests​: 17 Failed​: 6)
Failed tests​: 7-9, 14-16
op/require_errors.t
(Wstat​: 0 Tests​: 11 Failed​: 2)
Failed tests​: 10-11
op/sigsystem.t
(Wstat​: 0 Tests​: 4 Failed​: 2)
Failed tests​: 3-4
../cpan/File-Path/t/Path.t
(Wstat​: 768 Tests​: 55 Failed​: 0)
Non-zero exit status​: 3
Parse errors​: Bad plan. You planned 129 tests but ran 55.
../cpan/Socket/t/socketpair.t
(Wstat​: 5888 Tests​: 45 Failed​: 23)
Failed tests​: 22-35, 37-45
Non-zero exit status​: 23
../cpan/Time-Piece/t/02core.t
(Wstat​: 512 Tests​: 95 Failed​: 2)
Failed tests​: 38-39
Non-zero exit status​: 2
../dist/ExtUtils-Command/t/eu_command.t
(Wstat​: 3840 Tests​: 22 Failed​: 0)
Non-zero exit status​: 15
Parse errors​: Bad plan. You planned 40 tests but ran 22.
../dist/Net-Ping/t/450_service.t
(Wstat​: 256 Tests​: 26 Failed​: 1)
Failed test​: 26
Non-zero exit status​: 1
../ext/POSIX/t/wrappers.t
(Wstat​: 512 Tests​: 89 Failed​: 2)
Failed tests​: 87-88
Non-zero exit status​: 2
../lib/File/stat.t
(Wstat​: 1536 Tests​: 5008 Failed​: 6)
Failed tests​: 444, 1529, 2180, 2614, 3265, 4567
Non-zero exit status​: 6
Files=2377, Tests=607386, 3823 wallclock secs (167.49 usr 59.16 sys +
2036.65 cusr 1424.38 csys = 3687.69 CPU)
Result​: FAIL

~/dev/perl/git/perl/t> LIBRARY_PATH=`pwd`/..​:$LIBRARY_PATH ./perl
harness -v run/exit.t
run/exit.t ..

Is Haiku an OS we support, or plan to support?

If it is, what is our plan to support it?

If not, should test failures when building Perl on it be a concern of P5P?

Thank you very much.
Jim Keenan

@p5pRT
Copy link
Author

p5pRT commented Mar 1, 2013

The RT System itself - Status changed from 'new' to 'open'

@p5pRT
Copy link
Author

p5pRT commented Mar 1, 2013

From @tonycoz

On Thu, Feb 28, 2013 at 06​:40​:41PM -0800, James E Keenan via RT wrote​:

Is Haiku an OS we support, or plan to support?

If it is, what is our plan to support it?

If not, should test failures when building Perl on it be a concern of P5P?

http​://perl5.git.perl.org/perl.git/blob/HEAD​:/README.haiku

http​://perl5.git.perl.org/perl.git/blob/HEAD​:/pod/perlport.pod#l810

http​://perl5.git.perl.org/perl.git/blob/HEAD​:/pod/perlport.pod#l2112

Seems to be.

Tony

@p5pRT
Copy link
Author

p5pRT commented Jul 13, 2013

From @jkeenan

On Tue Feb 19 20​:37​:59 2013, tonyc wrote​:

This is a bug report for perl from tony@​develop-help.com,
generated with the help of perlbug 1.39 running under perl 5.17.9.

-----------------------------------------------------------------
[Please describe your issue here]

Several tests fail on a default build of perl on Haiku-OS.

Test Summary Report
-------------------
run/exit.t
(Wstat​: 0 Tests​: 17 Failed​: 6)
Failed tests​: 7-9, 14-16
op/require_errors.t
(Wstat​: 0 Tests​: 11 Failed​: 2)
Failed tests​: 10-11
op/sigsystem.t
(Wstat​: 0 Tests​: 4 Failed​: 2)
Failed tests​: 3-4
../cpan/File-Path/t/Path.t
(Wstat​: 768 Tests​: 55 Failed​: 0)
Non-zero exit status​: 3
Parse errors​: Bad plan. You planned 129 tests but ran 55.
../cpan/Socket/t/socketpair.t
(Wstat​: 5888 Tests​: 45 Failed​: 23)
Failed tests​: 22-35, 37-45
Non-zero exit status​: 23
../cpan/Time-Piece/t/02core.t
(Wstat​: 512 Tests​: 95 Failed​: 2)
Failed tests​: 38-39
Non-zero exit status​: 2
../dist/ExtUtils-Command/t/eu_command.t
(Wstat​: 3840 Tests​: 22 Failed​: 0)
Non-zero exit status​: 15
Parse errors​: Bad plan. You planned 40 tests but ran 22.
../dist/Net-Ping/t/450_service.t
(Wstat​: 256 Tests​: 26 Failed​: 1)
Failed test​: 26
Non-zero exit status​: 1
../ext/POSIX/t/wrappers.t
(Wstat​: 512 Tests​: 89 Failed​: 2)
Failed tests​: 87-88
Non-zero exit status​: 2
../lib/File/stat.t
(Wstat​: 1536 Tests​: 5008 Failed​: 6)
Failed tests​: 444, 1529, 2180, 2614, 3265, 4567
Non-zero exit status​: 6
Files=2377, Tests=607386, 3823 wallclock secs (167.49 usr 59.16 sys +
2036.65 cusr 1424.38 csys = 3687.69 CPU)
Result​: FAIL

~/dev/perl/git/perl/t> LIBRARY_PATH=`pwd`/..​:$LIBRARY_PATH ./perl
harness -v run/exit.t
run/exit.t ..
1..17
ok 1 - Normal exit
ok 2 - Normal exit $?
ok 3 - Normal exit ${^CHILD_ERROR_NATIVE}
ok 4 - Non-zero exit
ok 5 - Non-zero exit $?
ok 6 - Non-zero exit ${^CHILD_ERROR_NATIVE}
not ok 7 - WIFEXITED
not ok 8 - WIFSIGNALED
not ok 9 - WEXITSTATUS
# Failed test 7 - WIFEXITED at run/exit.t line 67
# Failed test 8 - WIFSIGNALED at run/exit.t line 68
# Failed test 9 - WEXITSTATUS at run/exit.t line 69
# got "0"
# expected "42"
ok 10 - Term by signal
ok 11 - No core dump
ok 12 - Term by signal $?
ok 13 - Term by signal ${^CHILD_ERROR_NATIVE}
not ok 14 - WIFEXITED
not ok 15 - WIFSIGNALED
not ok 16 - WTERMSIG
# Failed test 14 - WIFEXITED at run/exit.t line 88
# Failed test 15 - WIFSIGNALED at run/exit.t line 89
# Failed test 16 - WTERMSIG at run/exit.t line 90
# got "0"
# expected "15"
ok 17 - Changing $? in END block
Failed 6/17 subtests

Test Summary Report
-------------------
run/exit.t (Wstat​: 0 Tests​: 17 Failed​: 6)
Failed tests​: 7-9, 14-16
Files=1, Tests=17, 0 wallclock secs ( 0.03 usr 0.01 sys + 0.15 cusr
0.12 csys = 0.31 CPU)
Result​: FAIL

~/dev/perl/git/perl/t> LIBRARY_PATH=`pwd`/..​:$LIBRARY_PATH ./perl
harness -v op/require_errors.t
op/require_errors.t ..
1..11
ok 1 - correct error message for require 'tmp41237B'
ok 2 - correct error message for require ' '
ok 3 - correct error message for require tmp41237B
ok 4
ok 5 - correct error message for require 'tmp41237B.h'
ok 6 - correct error message for require '.h'
ok 7 - correct error message for require 'tmp41237B.ph'
ok 8 - correct error message for require '.ph'
ok 9 - require <> error
not ok 10 - special error message if the file exists but can't be
opened
not ok 11 - ...even if we use a full path
# Failed test 10 - special error message if the file exists but can't
be opened at op/require_errors.t line 88
# got 'Can't locate tmp41237C.pm in @​INC (you may need to install
the tmp41237C module) (@​INC contains​: .) at (eval 11) line 2.
# BEGIN failed--compilation aborted at (eval 11) line 2.
# '
# expected /(?^​:^Can\'t\ locate\ tmp41237C\.pm\​:)/
# Failed test 11 - ...even if we use a full path at
op/require_errors.t line 100
# got 'Can't locate /boot/home/dev/perl/git/perl/t/tmp41237C.pm
in @​INC (you may need to install the
:​:boot​::home​::dev​::perl​::git​::perl​::t​::tmp41237C module) (@​INC
contains​: .) at op/require_errors.t line 98.
# '
# expected /(?^​:^Can\'t\ locate\
\/boot\/home\/dev\/perl\/git\/perl\/t\/tmp41237C\.pm\​:)/
Failed 2/11 subtests

Test Summary Report
-------------------
op/require_errors.t (Wstat​: 0 Tests​: 11 Failed​: 2)
Failed tests​: 10-11
Files=1, Tests=11, 0 wallclock secs ( 0.03 usr 0.01 sys + 0.08 cusr
0.05 csys = 0.17 CPU)
Result​: FAIL

~/dev/perl/git/perl/t> LIBRARY_PATH=`pwd`/..​:$LIBRARY_PATH ./perl
harness -v op/sigsystem.t
op/sigsystem.t ..
1..4
ok 1 - system() without reaper succeeded 10 times out of 10
ok 2 - system() with reaper succeeded 10 times out of 10
# Waiting briefly for SIGCHLD...
not ok 3 - Reaped only one process
not ok 4 - Reaped the right process.
# Failed test 3 - Reaped only one process at op/sigsystem.t line 41
Use of uninitialized value in numeric eq (==) at op/sigsystem.t line
42.
# Failed test 4 - Reaped the right process. at op/sigsystem.t line 42
# $VAR1 = [];
Failed 2/4 subtests

Test Summary Report
-------------------
op/sigsystem.t (Wstat​: 0 Tests​: 4 Failed​: 2)
Failed tests​: 3-4
Files=1, Tests=4, 2 wallclock secs ( 0.02 usr 0.01 sys + 0.55 cusr
0.42 csys = 0.99 CPU)
Result​: FAIL

~/dev/perl/git/perl/t> LIBRARY_PATH=`pwd`/..​:$LIBRARY_PATH ./perl
harness -v ../dist/ExtUtils-Command/t/eu_command.t
../dist/ExtUtils-Command/t/eu_command.t ..
1..40
ok 1 - use ExtUtils​::Command;

# Failed test 'testing non-existent file'
# at t/eu_command.t line 50.
ok 2 - concatenation worked
not ok 3 - testing non-existent file
# got​: '0'
# expected​: '1'
ok 4 - testing touch() and test_f()
ok 5 - test_f preserves @​ARGV
ok 6 - created!
ok 7 - checking modify time stamp
ok 8 - newer file created
ok 9 - eqtime
ok 10 - eqtime doesn't clear the file being equalized
ok 11 - change a file to execute-only
ok 12 - change a file to read-only
ok 13 - change a file to write-only
ok 14 - chmod preserves @​ARGV
ok 15 - change a file to read-write
ok 16
cannot stat current working directory for testdir​: Operation not
allowed at /boot/home/dev/perl/git/perl/dist/ExtUtils-
Command/../../lib/ExtUtils/Command.pm line 134.
ok 17 - change a dir to execute-only
ok 18 - change a dir to read-only
ok 19 - change a dir to write-only
ok 20 - rm_rf can delete a read-only dir
ok 21 - temp directory not there yet
mkdir .​: Operation not allowed at
/boot/home/dev/perl/git/perl/dist/ExtUtils-
Command/../../lib/ExtUtils/Command.pm line 288.
ok 22 - testing non-existent directory
cannot fetch initial working directory​: Operation not allowed at
t/eu_command.t line 282.
cannot fetch initial working directory​: Operation not allowed at
t/eu_command.t line 283.
# Looks like you planned 40 tests but ran 22.
# Looks like you failed 1 test of 22 run.
# Looks like your test exited with 15 just after 22.
Dubious, test returned 15 (wstat 3840, 0xf00)
Failed 19/40 subtests

Test Summary Report
-------------------
../dist/ExtUtils-Command/t/eu_command.t (Wstat​: 3840 Tests​: 22 Failed​:
1)
Failed test​: 3
Non-zero exit status​: 15
Parse errors​: Bad plan. You planned 40 tests but ran 22.
Files=1, Tests=22, 2 wallclock secs ( 0.02 usr 0.01 sys + 0.22 cusr
0.07 csys = 0.32 CPU)
Result​: FAIL

~/dev/perl/git/perl/t> LIBRARY_PATH=`pwd`/..​:$LIBRARY_PATH ./perl
harness -v ../dist/Net-Ping/t/450_service.t
../dist/Net-Ping/t/450_service.t ..
1..26
ok 1 - use Net​::Ping;
ok 2 - Start a TCP listen server on ephemeral port isa
IO​::Socket​::INET
ok 3 - Start a second TCP listen server on ephemeral port isa
IO​::Socket​::INET
ok 4
ok 5
ok 6 - Make sure the servers are listening on different ports
ok 7 - new() worked isa Net​::Ping
ok 8 - first port is reachable
ok 9 - second port is reachable
ok 10 - first service is on
ok 11 - second service is off
ok 12 - new() worked isa Net​::Ping
ok 13 - send SYN to first port
ok 14 - IP should be reachable
ok 15 - No more sockets
ok 16 - new() worked isa Net​::Ping
ok 17 - send SYN to second port
ok 18 - IP should be reachable
ok 19 - No more sockets
ok 20 - new() worked isa Net​::Ping
ok 21 - send SYN to first port
ok 22 - IP should be reachable
ok 23 - No more sockets
ok 24 - new() worked isa Net​::Ping
ok 25 - send SYN to second port

# Failed test 'No sockets should have service on'
# at t/450_service.t line 166.
# got​: '127.0.0.1'
# expected​: undef
# Looks like you failed 1 test of 26.
not ok 26 - No sockets should have service on
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/26 subtests

Test Summary Report
-------------------
../dist/Net-Ping/t/450_service.t (Wstat​: 256 Tests​: 26 Failed​: 1)
Failed test​: 26
Non-zero exit status​: 1
Files=1, Tests=26, 1 wallclock secs ( 0.02 usr 0.01 sys + 0.23 cusr
0.08 csys = 0.35 CPU)
Result​: FAIL

~/dev/perl/git/perl/t> LIBRARY_PATH=`pwd`/..​:$LIBRARY_PATH ./perl
harness -v ../ext/POSIX/t/wrappers.t
../ext/POSIX/t/wrappers.t ..
ok 1 - abs
ok 2 - abs
...
ok 84 - gets
ok 85 - getppid

# Failed test 'child exited cleanly'
# at t/wrappers.t line 219.
ok 86 - wait
not ok 87 - child exited cleanly
# got​: '0'
# expected​: '1'

# Failed test 'child exited with 1 (the retun value of its close
call)'
# at t/wrappers.t line 220.
# got​: '0'
# expected​: '1'
# Looks like you failed 2 tests of 89.
not ok 88 - child exited with 1 (the retun value of its close call)
ok 89 - umask
1..89
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/89 subtests
(less 2 skipped subtests​: 85 okay)

Test Summary Report
-------------------
../ext/POSIX/t/wrappers.t (Wstat​: 512 Tests​: 89 Failed​: 2)
Failed tests​: 87-88
Non-zero exit status​: 2
Files=1, Tests=89, 1 wallclock secs ( 0.04 usr 0.01 sys + 0.30 cusr
0.09 csys = 0.45 CPU)
Result​: FAIL

~/dev/perl/git/perl/t> LIBRARY_PATH=`pwd`/..​:$LIBRARY_PATH ./perl
harness -v ../lib/File/stat.t
(extracted from piping through less, so stderr out of order.)

# Failed test 'correct overload for -A for file with mode=0100'
# at ../lib/File/stat.t line 90.
# got​: '0'
# expected​: '-1.15740740740741e-05'

# Failed test 'correct overload for -A for file with mode=0004'
# at ../lib/File/stat.t line 90.
# got​: '-1.15740740740741e-05'
# expected​: '-2.31481481481481e-05'

# Failed test 'correct overload for -A for dir with mode=0400'
# at ../lib/File/stat.t line 90.
# got​: '-2.31481481481481e-05'
# expected​: '-3.47222222222222e-05'

# Failed test 'correct overload for -A for dir with mode=0002'
# at ../lib/File/stat.t line 90.
# got​: '-3.47222222222222e-05'
# expected​: '-4.62962962962963e-05'
cannot stat current working directory for
/boot/common/cache/tmp/OGg87AkPGd​: Operation not allowed at
../lib/File/Temp.pm line 919.
# Looks like you failed 4 tests of 5008.
...
ok 4969 - Overload succeeds for -g under use filetest 'access' for
./perl
ok 4970 - no warnings about VMS ACLs for -g under use filetest
'access' for ./penot ok 878 - correct overload for -A for file with
mode=0100
ok 879 - no warnings about VMS ACLs for -A for file with mode=0100
ok 880 - should be no warning for -A for file with mode=0100
...
ok 1744 - no other warnings seen for -C under use filetest 'access'
for file wit
h mode=0004
ok 1745 - Overload succeeds for -A for file with mode=0004
not ok 1746 - correct overload for -A for file with mode=0004
ok 1747 - no warnings about VMS ACLs for -A for file with mode=0004
ok 1748 - should be no warning for -A for file with mode=0004
...
ok 2829 - no other warnings seen for -C under use filetest 'access'
for dir with mode=0400
ok 2830 - Overload succeeds for -A for dir with mode=0400
not ok 2831 - correct overload for -A for dir with mode=0400
ok 2832 - no warnings about VMS ACLs for -A for dir with mode=0400
ok 2833 - should be no warning for -A for dir with mode=0400
...
ok 4348 - no other warnings seen for -C under use filetest 'access'
for dir with
mode=0002
ok 4349 - Overload succeeds for -A for dir with mode=0002
not ok 4350 - correct overload for -A for dir with mode=0002
ok 4351 - no warnings about VMS ACLs for -A for dir with mode=0002
ok 4352 - should be no warning for -A for dir with mode=0002
...
ok 5008 - check -p detects a pipe
1..5008
Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/5008 subtests

Test Summary Report
-------------------
../lib/File/stat.t (Wstat​: 1024 Tests​: 5008 Failed​: 4)
Failed tests​: 878, 1746, 2831, 4350
Non-zero exit status​: 4
Files=1, Tests=5008, 113 wallclock secs ( 1.22 usr 0.20 sys + 2.63
cusr 0.49 csys = 4.54 CPU)
Result​: FAIL

Tony, are we still getting all these failures with Perl 5.18?

Do we have any idea if there is a common cause for some or all of them,
e.g., some feature of Haiku we haven't accounted for or encountered before?

Thank you very much.
Jim Keenan

@p5pRT
Copy link
Author

p5pRT commented Jul 15, 2013

From @tonycoz

On Fri Jul 12 18​:06​:33 2013, jkeenan wrote​:

Tony, are we still getting all these failures with Perl 5.18?

Do we have any idea if there is a common cause for some or all of them,
e.g., some feature of Haiku we haven't accounted for or encountered
before?

If anything, it's a little worse (blead v5.19.1-444-gfc827b9)​:

Test Summary Report


run/exit.t (Wstat​:
0 Tests​: 17 Failed​: 6)
  Failed tests​: 7-9, 14-16
op/require_errors.t (Wstat​:
0 Tests​: 11 Failed​: 2)
  Failed tests​: 10-11
op/sigsystem.t (Wstat​:
0 Tests​: 4 Failed​: 2)
  Failed tests​: 3-4
../cpan/File-Path/t/Path.t (Wstat​:
768 Tests​: 55 Failed​: 0)
  Non-zero exit status​: 3
  Parse errors​: Bad plan. You planned 129 tests but ran 55.
../cpan/Socket/t/socketpair.t (Wstat​:
5888 Tests​: 45 Failed​: 23)
  Failed tests​: 22-35, 37-45
  Non-zero exit status​: 23
../cpan/Time-Piece/t/02core.t (Wstat​:
512 Tests​: 95 Failed​: 2)
  Failed tests​: 38-39
  Non-zero exit status​: 2
../dist/ExtUtils-Command/t/eu_command.t (Wstat​:
3840 Tests​: 22 Failed​: 0)
  Non-zero exit status​: 15
  Parse errors​: Bad plan. You planned 40 tests but ran 22.
../dist/Net-Ping/t/450_service.t (Wstat​:
256 Tests​: 26 Failed​: 1)
  Failed test​: 26
  Non-zero exit status​: 1
../ext/POSIX/t/wrappers.t (Wstat​:
512 Tests​: 89 Failed​: 2)
  Failed tests​: 87-88
  Non-zero exit status​: 2
../lib/Benchmark.t (Wstat​:
256 Tests​: 197 Failed​: 1)
  Failed test​: 7
  Non-zero exit status​: 1
../lib/File/stat.t (Wstat​:
1024 Tests​: 5008 Failed​: 4)
  Failed tests​: 1963, 2831, 3482, 4567
  Non-zero exit status​: 4
../lib/locale.t (Wstat​:
0 Tests​: 461 Failed​: 1)
  Failed test​: 229
Files=2326, Tests=678102, 2066 wallclock secs (156.25 usr 56.86 sys +
1127.80 cusr 650.30 csys = 1991.20 CPU)
Result​: FAIL
make​: *** [test_harness] Error 44

I suspect it's more a case of bugs (or limitations) in Haiku rather than in
perl itself.

Tony

@p5pRT
Copy link
Author

p5pRT commented Oct 29, 2014

From @tonycoz

On Sun Jul 14 17​:57​:49 2013, tonyc wrote​:

On Fri Jul 12 18​:06​:33 2013, jkeenan wrote​:

Tony, are we still getting all these failures with Perl 5.18?

Do we have any idea if there is a common cause for some or all of them,
e.g., some feature of Haiku we haven't accounted for or encountered
before?

If anything, it's a little worse (blead v5.19.1-444-gfc827b9)​:

Test Summary Report
-------------------
..

And as of v5.21.5-130-gec9e47e​:

Test Summary Report


run/exit.t (Wstat​: 0 Tests​: 17 Failed​: 6)
  Failed tests​: 7-9, 14-16
run/locale.t (Wstat​: 0 Tests​: 37 Failed​: 2)
  Failed tests​: 30, 32
op/require_errors.t (Wstat​: 0 Tests​: 17 Failed​: 2)
  Failed tests​: 10-11
op/sigsystem.t (Wstat​: 0 Tests​: 4 Failed​: 2)
  Failed tests​: 3-4
../cpan/ExtUtils-Command/t/eu_command.t (Wstat​: 3840 Tests​: 22 Failed​: 0)
  Non-zero exit status​: 15
  Parse errors​: Bad plan. You planned 40 tests but ran 22.
../cpan/File-Path/t/Path.t (Wstat​: 768 Tests​: 55 Failed​: 0)
  Non-zero exit status​: 3
  Parse errors​: Bad plan. You planned 129 tests but ran 55.
../cpan/IO-Socket-IP/t/01local-client-v4.t (Wstat​: 512 Tests​: 24 Failed​: 2)
  Failed tests​: 19, 21
  Non-zero exit status​: 2
../cpan/IO-Socket-IP/t/02local-server-v4.t (Wstat​: 512 Tests​: 30 Failed​: 2)
  Failed tests​: 26-27
  Non-zero exit status​: 2
../cpan/IO-Socket-IP/t/03local-cross-v4.t (Wstat​: 21 Tests​: 10 Failed​: 1)
  Failed test​: 7
  Non-zero wait status​: 21
  Parse errors​: No plan found in TAP output
../cpan/IO-Socket-IP/t/04local-client-v6.t (Wstat​: 256 Tests​: 23 Failed​: 1)
  Failed test​: 19
  Non-zero exit status​: 1
../cpan/IO-Socket-IP/t/05local-server-v6.t (Wstat​: 512 Tests​: 29 Failed​: 2)
  Failed tests​: 26-27
  Non-zero exit status​: 2
../cpan/IO-Socket-IP/t/06local-cross-v6.t (Wstat​: 21 Tests​: 10 Failed​: 1)
  Failed test​: 7
  Non-zero wait status​: 21
  Parse errors​: No plan found in TAP output
../cpan/IO-Socket-IP/t/11sockopts.t (Wstat​: 768 Tests​: 3 Failed​: 3)
  Failed tests​: 1-3
  Non-zero exit status​: 3
../cpan/IO-Socket-IP/t/16v6only.t (Wstat​: 11008 Tests​: 0 Failed​: 0)
  Non-zero exit status​: 43
  Parse errors​: No plan found in TAP output
../cpan/IO-Socket-IP/t/18fdopen.t (Wstat​: 256 Tests​: 2 Failed​: 1)
  Failed test​: 1
  Non-zero exit status​: 1
../cpan/Socket/t/socketpair.t (Wstat​: 5888 Tests​: 45 Failed​: 23)
  Failed tests​: 22-35, 37-45
  Non-zero exit status​: 23
../cpan/Time-HiRes/t/stat.t (Wstat​: 3072 Tests​: 43 Failed​: 12)
  Failed tests​: 6-7, 13-14, 20-21, 27-28, 34-35, 41-42
  Non-zero exit status​: 12
../cpan/Time-Piece/t/02core.t (Wstat​: 512 Tests​: 95 Failed​: 2)
  Failed tests​: 36-37
  Non-zero exit status​: 2
../dist/Net-Ping/t/450_service.t (Wstat​: 256 Tests​: 26 Failed​: 1)
  Failed test​: 26
  Non-zero exit status​: 1
../ext/POSIX/t/wrappers.t (Wstat​: 512 Tests​: 89 Failed​: 2)
  Failed tests​: 87-88
  Non-zero exit status​: 2
../lib/File/stat.t (Wstat​: 1024 Tests​: 5008 Failed​: 4)
  Failed tests​: 1095, 1963, 3699, 4567
  Non-zero exit status​: 4
../lib/locale.t (Wstat​: 0 Tests​: 660 Failed​: 1)
  Failed test​: 428
Files=2395, Tests=701468, 3806 wallclock secs (149.23 usr 57.24 sys + 1224.09 cusr 616.85 csys = 2047.40 CPU)
Result​: FAIL
make​: *** [test_harness] Error 70

(I was looking at perlport.)

Some of the IO-Socket-IP tests blocked.

Tony

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants