FAQ
t/30shell often gets stuck at various test number susch as 31, 131 and 152
or at least run out of my patience, but even when it finishes it fails.
As I see it fails on some timeout.

When I first type perl Makefile.PL in the repository I get:

t/CPAN/authors/id/A/AN/ANDK/NotInChecksums-0.000.tar.gz

I see it is generated by the Makefile but maybe this file should be
generated by Makefile.PL before it checks the MANIFEST
or can it be supplied with the distro?


I think somehow related to this is the following test failure:


t/30shell...........152/239 # timed out on i[155]prog[install
ANDK/NotInChecksums-0.000.tar.gz]
# expected[(?s:awry.*?yes)]
# got[install ANDK/NotInChecksums-0.000.tar.gz
# Running make for A/AN/ANDK/NotInChecksums-0.000.tar.gz
# Could not find
'/home/gabor/work/CPAN_test/t/CPAN/authors/id/A/AN/ANDK/NotInChecksums-0.000.tar.gz'
# Fetching with LWP:
#
file:///home/gabor/work/CPAN_test/t/CPAN/authors/id/A/AN/ANDK/NotInChecksums-0.000.tar.gz
# LWP failed with code[404] message[File
`/home/gabor/work/CPAN_test/t/CPAN/authors/id/A/AN/ANDK/NotInChecksums-0.000.tar.gz'
does not exist]
# Could not find
'/home/gabor/work/CPAN_test/t/CPAN/authors/id/A/AN/ANDK/NotInChecksums-0.000.tar.gz'
# Fetching with LWP:
#
file:///home/gabor/work/CPAN_test/t/CPAN/authors/id/A/AN/ANDK/NotInChecksums-0.000.tar.gz
# LWP failed with code[404] message[File
`/home/gabor/work/CPAN_test/t/CPAN/authors/id/A/AN/ANDK/NotInChecksums-0.000.tar.gz'
does not exist]
# No external ftp command available
#
# Please check, if the URLs I found in your configuration file
# (file:///home/gabor/work/CPAN_test/t/CPAN) are valid. The urllist can be
# edited. E.g. with 'o conf urllist push ftp://myurl/'
#
# Could not fetch authors/id/A/AN/ANDK/NotInChecksums-0.000.tar.gz
# Giving up on
'/home/gabor/work/CPAN_test/t/dot-cpan/sources/authors/id/A/AN/ANDK/NotInChecksums-0.000.tar.gz'
# Note: Current database in memory was generated on Tue, 03 Feb 1970
03:17:06 GMT
#
cpan[89]>
]
#
# Looks like you planned 239 tests but only ran 160.
t/30shell........... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 79/239 subtests
t/31sessions........ok
t/41distribution....ok
t/42distroprefs.....ok
t/50pod.............ok
t/51pod.............ok
t/52podcover........ok
t/60credentials.....ok

Test Summary Report
-------------------
t/30shell (Wstat: 65280 Tests: 160 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 239 tests but ran 160.
Files=17, Tests=442, 284 wallclock secs ( 0.36 usr 0.03 sys + 20.04 cusr
2.02 csys = 22.45 CPU)
Result: FAIL
Failed 1/17 test programs. 0/442 subtests failed.
make: *** [test_dynamic] Error 255

Search Discussions

  • Gabor Szabo at Oct 22, 2008 at 9:33 pm

    On Wed, Oct 22, 2008 at 9:21 PM, Andreas J. Koenig wrote:
    On Wed, 22 Oct 2008 10:20:33 +0200, "Gabor Szabo" <szabgab@gmail.com> said:
    t/30shell often gets stuck at various test number susch as 31, 131 and 152
    or at least run out of my patience, but even when it finishes it fails.
    As I see it fails on some timeout.
    When I first type perl Makefile.PL in the repository I get:
    t/CPAN/authors/id/A/AN/ANDK/NotInChecksums-0.000.tar.gz
    I see it is generated by the Makefile but maybe this file should be
    generated by Makefile.PL before it checks the MANIFEST
    or can it be supplied with the distro?
    Sorry this should be documented somewhere. IIRC, from the repo tests
    only can succeed after running

    make testdistros

    once.
    What if I run it twice? Will it break something? It should not I guess.
    Can't we turn "make test" dependent on "make testdistros" ?

    Till that, at least we should have this archived on the mailing list.

    In any case, this fixed the problem. Thanks.

    Gabor
  • Andreas J. Koenig at Oct 23, 2008 at 7:28 am

    On Wed, 22 Oct 2008 23:33:45 +0200, "Gabor Szabo" <szabgab@gmail.com> said:
    Can't we turn "make test" dependent on "make testdistros" ?
    This would break everything for the end user.

    --
    andreas

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcpan-workers @
categoriesperl
postedOct 22, '08 at 8:20a
activeOct 23, '08 at 7:28a
posts3
users2
websitecpan.org

2 users in discussion

Gabor Szabo: 2 posts Andreas J. Koenig: 1 post

People

Translate

site design / logo © 2021 Grokbase