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

cachepropagate test errors in 5.18.0 RC #12969

Closed
p5pRT opened this issue May 14, 2013 · 6 comments
Closed

cachepropagate test errors in 5.18.0 RC #12969

p5pRT opened this issue May 14, 2013 · 6 comments

Comments

@p5pRT
Copy link

p5pRT commented May 14, 2013

Migrated from rt.perl.org#117999 (status was 'resolved')

Searchable as RT117999$

@p5pRT
Copy link
Author

p5pRT commented May 14, 2013

From @dmcbride

Created by @dmcbride

Trying to compile 5.18 RC1 and RC3 on AIX 7, I get two failures during
test​:

$ ./perl harness -v ../dist/IO/t/cachepropagate-udp.t ../dist/IO/t/cachepropagate-unix.t

# Failed test 'type match'
# at t/cachepropagate-udp.t line 37.
# got​: '0�t���W���$q>��G��ym��J52��5Ha��bD��!�L
# �֎Rp��S��
QNQ�����U� �A0��e����@​�
# expected​: '2'
# Looks like you failed 1 test of 7.
../dist/IO/t/cachepropagate-udp.t ...
1..7
ok 1 - socket created
ok 2 - protocol defined
ok 3 - domain defined
ok 4 - type defined
ok 5 - domain match
ok 6 # skip no Socket​::SO_PROTOCOL
not ok 7 - type match
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/7 subtests
  (less 1 skipped subtest​: 5 okay)
../dist/IO/t/cachepropagate-unix.t ..
1..15
ok 1 - stream socket created
ok 2 - protocol defined
ok 3 - domain defined
ok 4 - type defined
ok 5 - spawned a child
ok 6 - domain match
ok 7 # skip no Socket​::SO_PROTOCOL

# Failed test 'type match'
# at t/cachepropagate-unix.t line 97.
# got​: 'r��������
  �Ƅ�Ed$I@​<^� ▒>� Pj;�;�^},�� �▒��
# Rp����"r��Z�������}/���9�y�#��� L-'
# expected​: '2'
ok 8 - type match
ok 9 - datagram socket created
# Looks like you failed 1 test of 15.
ok 10 - protocol defined
ok 11 - domain defined
ok 12 - type defined
ok 13 - domain match
ok 14 # skip no Socket​::SO_PROTOCOL
not ok 15 - type match
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/15 subtests
  (less 2 skipped subtests​: 12 okay)

Test Summary Report
-------------------
../dist/IO/t/cachepropagate-udp.t (Wstat​: 256 Tests​: 7 Failed​: 1)
  Failed test​: 7
  Non-zero exit status​: 1
../dist/IO/t/cachepropagate-unix.t (Wstat​: 256 Tests​: 15 Failed​: 1)
  Failed test​: 15
  Non-zero exit status​: 1
Files=2, Tests=22, 1 wallclock secs ( 0.01 usr 0.00 sys + 0.09 cusr 0.01 csys = 0.11 CPU)
Result​: FAIL

I even tried commit d8736f0 as per rjbs'
suggestion in IRC, same issue.

Perl 5.16.3 has compiled fine here, though these tests didn't exist in that
level.

Perl Info

Flags:
    category=core
    severity=low

Site configuration information for perl 5.18.0:

Configured by dmcbride at Tue May 14 15:09:07 EDT 2013.

Summary of my perl5 (revision 5 version 18 subversion 0) configuration:
   
  Platform:
    osname=aix, osvers=7.1.0.0, archname=aix-thread-multi-64all
    uname='aix hotelisasp02 1 7 00c6ceb64c00 '
    config_args='-desr -Duse64bitall -Duselongdoubles -Dusethreads -Duserelocatableinc -Dman1direxp= -Dman3direxp -Dcf_email=root@localhost -Dprefix=/opt/myperl/5.18.10-RC3 -Dusedevel'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc -q64', ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias -qlanglvl=extc99 -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q64 -DUSE_64_BIT_ALL -q64',
    optimize='-O',
    cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias -qlanglvl=extc99 -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT'
    ccversion='11.1.0.3', gccversion='', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=87654321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
    ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='ld', ldflags ='-brtl -bdynamic -b64'
    libpth=/lib /usr/lib /usr/ccs/lib
    libs=-lbind -lnsl -ldbm -ldl -lld -lm -lcrypt -lpthreads -lc
    perllibs=-lbind -lnsl -ldl -lld -lm -lcrypt -lpthreads -lc
    libc=, so=a, useshrplib=false, libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags='  -bE:.../../lib/5.18.0/aix-thread-multi-64all/CORE/perl.exp'
    cccdlflags=' ', lddlflags='-b64 -bhalt:4 -G -bI:$(PERL_INC)/perl.exp -bE:$(BASEEXT).exp -bnoentry -lpthreads -lc -lm'

Locally applied patches:
    RC3


@INC for perl 5.18.0:
    ../lib
    ./../lib/site_perl/5.18.0/aix-thread-multi-64all
    ./../lib/site_perl/5.18.0
    ./../lib/5.18.0/aix-thread-multi-64all
    ./../lib/5.18.0
    .


Environment for perl 5.18.0:
    HOME=/home/dmcbride
    LANG=en_US
    LANGUAGE (unset)
    LC__FASTMSG=true
    LD_LIBRARY_PATH (unset)
    LIBPATH=/home/dmcbride/tmp/perl-5.18.0-RC3
    LOGDIR (unset)
    PATH=/usr/local/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/dmcbride/bin:/usr/bin/X11:/sbin:.:/home/isasbld/tools/jdk6.0_sr7/bin:/@sys/nosupp/bin
    PERL_BADLANG (unset)
    SHELL=/@sys/nosupp/bin/bash

@p5pRT
Copy link
Author

p5pRT commented May 15, 2013

From @dmcbride

Further notes​: looks like this is being skipped already on AIX 6 due to one of
the other skip reasons.

TonyC posted http​://paste.scsys.co.uk/248134 in IRC with a patch that
"resolves" the issue (by skipping it). I'm wondering if the skip order should
be changed so that AIX 6 and earlier get a more reasonable skip message ("not
implemented" or something).

So this can get a clean test on AIX7. However, the underlying issue, whether
perl or AIX (I'm leaning toward AIX) still probably should be resolved. I'll
have to try to put together a pure C example of this behaviour and see if I
can get it to fail, thus eliminating perl, or not. And, if I can, then to
pass it over to AIX to see if there's a resolution (APAR) or not.

Thanks,

@p5pRT
Copy link
Author

p5pRT commented May 20, 2013

From @jkeenan

On Tue May 14 19​:47​:21 2013, dmcbride@​cpan.org wrote​:

Further notes​: looks like this is being skipped already on AIX 6 due
to one of
the other skip reasons.

TonyC posted http​://paste.scsys.co.uk/248134 in IRC with a patch that
"resolves" the issue (by skipping it). I'm wondering if the skip
order should
be changed so that AIX 6 and earlier get a more reasonable skip
message ("not
implemented" or something).

So this can get a clean test on AIX7. However, the underlying issue,
whether
perl or AIX (I'm leaning toward AIX) still probably should be
resolved. I'll
have to try to put together a pure C example of this behaviour and see
if I
can get it to fail, thus eliminating perl, or not. And, if I can,
then to
pass it over to AIX to see if there's a resolution (APAR) or not.

Thanks,

It looks like Tony's patch made it into Perl 5.18.0. I will add this
ticket to the list of Socket-related issues.

@p5pRT
Copy link
Author

p5pRT commented May 20, 2013

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

@p5pRT
Copy link
Author

p5pRT commented Jun 25, 2013

From @tonycoz

On Mon May 20 16​:10​:38 2013, jkeenan wrote​:

It looks like Tony's patch made it into Perl 5.18.0. I will add this
ticket to the list of Socket-related issues.

This is fixed (with a skip for the mis-behaving platform), so I'm
closing it.

Tony

@p5pRT
Copy link
Author

p5pRT commented Jun 25, 2013

@tonycoz - Status changed from 'open' to 'resolved'

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

1 participant