This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics
Id:
31292
Status:
open
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
ELLIOTJS [...] cpan.org
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
1.9205
Fixed in:
(no value)



Subject: Failure in t/30shell.t, CPAN 1.9205, perl 5.6.1, Solaris 10.
"make test" output ------------------ PERL_DL_NONLAZY=1 /usr/local/bin/perl_asg "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00signature.........ok t/01loadme............ok t/02nox...............ok t/03pkgs..............ok t/10version...........ok t/11mirroredby........ok t/12cpan..............ok t/30shell.............# Looks like you planned 238 tests but only ran 6. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 232/238 subtests t/31sessions..........Using /GAAL/shanell/perl-5.8/GAEPM-CPAN/CPAN-1.9205/blib Using /GAAL/shanell/perl-5.8/GAEPM-CPAN/CPAN-1.9205/blib The following failure is intentional in order to trigger the corresponding action of the installer program on distros with failing tests Failed 1/1 test programs. 1/2 subtests failed. The following failure is intentional in order to trigger the corresponding action of the installer program on distros with failing tests Failed 1/1 test programs. 1/2 subtests failed. Using /GAAL/shanell/perl-5.8/GAEPM-CPAN/CPAN-1.9205/blib The following failure is intentional in order to trigger the corresponding action of the installer program on distros with failing tests Failed 1/1 test programs. 1/2 subtests failed. Using /GAAL/shanell/perl-5.8/GAEPM-CPAN/CPAN-1.9205/blib Using /GAAL/shanell/perl-5.8/GAEPM-CPAN/CPAN-1.9205/blib Warning: prerequisite CPAN::Test::Dummy::Perl5::Make::CircDepeThree 0 not found. Warning: prerequisite CPAN::Test::Dummy::Perl5::Make::CircDepeTwo 0 not found. Warning: prerequisite CPAN::Test::Dummy::Perl5::Make::CircDepeOne 0 not found. ok t/41distribution......ok t/50pod...............ok t/51pod...............ok t/52podcover..........ok t/60credentials.......ok Test Summary Report ------------------- t/30shell.t (Wstat: 65280 Tests: 6 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 238 tests but ran 6. Files=14, Tests=247, 77 wallclock secs ( 0.12 usr 0.06 sys + 13.55 cusr 5.62 csys = 19.35 CPU) Result: FAIL Failed 1/14 test programs. 0/247 subtests failed. make: *** [test_dynamic] Error 11 "perl -Iblib/lib t/30shell.t" output ------------------------------------ 1..238 ok 1 - histsize is 100 before testing ok 2 - Another dummy test ok 3 - RUN_EXPECT[1]$^X[/usr/local/bin/perl_asg] ok 4 - /usr/local/bin/perl_asg -I/GAAL/shanell/perl-5.8/GAEPM-CPAN/CPAN-1.9205/t - Mblib -MCPAN::MyConfig -MCPAN -e @CPAN::Defaultsites = (); shell ok 5 - could at least spawn a process and $! is[Illegal seek] ok 6 - empty test %h=() # PRESSING RETURN # EXPECT: (?s:ReadLine support (enabled|suppressed|available).*?cpan[^>]*>) # EOF on i[1]prog[] # expected[(?s:ReadLine support (enabled|suppressed|available).*?cpan[^>]*>)] # got[] # # Looks like you planned 238 tests but only ran 6. Module versions ---------------- $Expect::VERSION = 1.20 $File::Spec::VERSION = 3.17 $File::Temp::VERSION = 0.16 $Scalar::Util::VERSION = 1.19 $Test::Harness::VERSION = 3.04 $Test::More::VERSION = 0.62 perl binary ----------- Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration: Platform: osname=solaris, osvers=2.8, archname=sun4-solaris uname='sunos sfs00i-0001 5.8 generic_108528-05 sun4u sparc sunw,ultra-1 ' config_args='' hint=previous, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef Compiler: cc='gcc', ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE - D_FILE_OFFSET_BITS=64', optimize='-O2', cppflags='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE - D_FILE_OFFSET_BITS=64' ccversion='', gccversion='2.95.3 20010315 (release)', gccosandvers='solaris2.8' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, usemymalloc=y, prototype=define Linker and Libraries: ld='gcc', ldflags =' -L/usr/local/lib ' libpth=/usr/local/lib /usr/lib /usr/ccs/lib libs=-lsocket -lnsl -ldl -lm -lc perllibs=-lsocket -lnsl -ldl -lm -lc libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.a Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -R /usr/local/perl/5.6.1/lib/5.6.1/sun4-solaris/CORE' cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: USE_LARGE_FILES Built under solaris Compiled at Aug 8 2001 11:38:22 %ENV: PERL5LIB="/home/shanell/install/perllib:/home/shanell/install/perllib/GAEPM" PERLTIDY="/home/shanell/.perltidyrc" PERL_INSTRUMENTATION="" @INC: /home/shanell/install/perllib/sun4-solaris /home/shanell/install/perllib /home/shanell/install/perllib/GAEPM /usr/local/perl/5.6.1/lib/5.6.1/sun4-solaris /usr/local/perl/5.6.1/lib/5.6.1 /usr/local/perl/5.6.1/lib/site_perl/5.6.1/sun4-solaris /usr/local/perl/5.6.1/lib/site_perl/5.6.1 /usr/local/perl/5.6.1/lib/site_perl . "uname -a" ---------- SunOS rdcuxsrv183 5.10 Generic_118833-24 sun4u sparc SUNW,Sun-Fire-V890 Solaris
Subject: Re: [rt.cpan.org #31292] Failure in t/30shell.t, CPAN 1.9205, perl 5.6.1, Solaris 10.
Date: Sat, 08 Dec 2007 02:31:29 +0100
To: bug-CPAN@rt.cpan.org
From: andreas.koenig.7os6VVqR@franz.ak.mind.de (Andreas J. Koenig)
Show quoted text
>>>>> On Fri, 07 Dec 2007 17:46:32 -0500, "ELLIOTJS via RT" <bug-CPAN@rt.cpan.org> said:
Could it be that this machine is very slow? Maybe edit line 223 of the test? - my $default_timeout = 120; + my $default_timeout = 600; Otherwise I have no idea. Last time I tried to get hands on a Solaris box I couldn't find a place where you get a test account. -- andreas
From: ELLIOTJS@cpan.org
On Fri Dec 07 20:32:05 2007, andreas.koenig.7os6VVqR@franz.ak.mind.de wrote:
Show quoted text
> Could it be that this machine is very slow? Maybe edit line 223 of the > test? > > - my $default_timeout = 120; > + my $default_timeout = 600; > > Otherwise I have no idea. Last time I tried to get hands on a Solaris > box I couldn't find a place where you get a test account.
Tried that. No joy. Entire t/30shell.t takes 3 wallclock seconds/1.25 cpu seconds to run. This failure was introduced in 1.9203. 1.9202 works fine.
From: ELLIOTJS@cpan.org
On Mon Dec 10 09:46:10 2007, ELLIOTJS wrote:
Show quoted text
> This failure was introduced in 1.9203. 1.9202 works fine.
Correction: 1.92 fails. 1.9102 works.
From: ELLIOTJS@cpan.org
Crud. I now believe that the problem does not lie with CPAN, but one of the modules it depends upon.
From: ELLIOTJS@cpan.org
I'm stumped. As far as I can tell, we haven't upgraded any of the referenced modules for months before this test started failing. Attached are the output of traces of the following commands: perl -Iblib/lib -d:Trace t/30shell.t and CPAN_RUN_SHELL_TEST_WITHOUT_EXPECT=1 perl -Iblib/lib -d:Trace t/30shell.t Without Expect, the run gets further, but still dies, after test 94.

Message body not shown because it is not plain text.

Message body not shown because it is not plain text.

Still fails on Solaris, several versions of Perl: http://bbbike.radzeit.de/~slaven/cpantestersmatrix.cgi?dist=CPAN+1.9301 All failing reports are from same tester and all share same warning (by looking at several passing reports they do not have this warning). t/30shell...........warning: TIOCSCTTY failed, slave might not be set as controlling terminal: Inappropriate ioctl for device at /export/home/cpant2/perl5/lib/site_perl/5.8.8/i86pc-solaris-64int/IO/Pty.pm line 120. # Looks like you planned 239 tests but ran 6. dubious -- Alexandr Ciornii, http://chorny.net


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.