[p4perl] P4Perl help (make test => some tests fail)

Billy Suh billy.suh at oracle.com
Thu Nov 10 14:50:27 PST 2011


Hello, I would appreciate someone's help on this.

 

I was able to build P4Perl on Linux (with some cursory-looking warnings).

But when I did "make test", it completed with a bunch of test failures. I don't have any problem with compiling/linking P4Perl or test modules like some folks experienced. My problem is that some of the tests are failing. I tried 3 different versions (2011.1, 2009.1 and 2008.2), but to no avail.

I worked on a machine where p4 and p4d are in PATH as instructed.

 

I happen to be using a two-person version of an old p4/p4d on linux (P4D/LINUX22X86/2004.2/69887 (2004/10/14)) as part of my proof-of-concept, because I do not want to run the tests against the production p4d server.(Would it be safe to run the tests against the production server to see if the tests pass?)

 

Anyways, if someone could help me with the test failures below.. Thank you so much.

 

[p4d at redevlv0076 /u00/p4d/scripts/2011.1/p4perl-2011.1] make test

make[1]: Entering directory `/u00/p4d/scripts/2011.1/p4perl-2011.1/lib'

make[1]: Nothing to be done for `all'.

make[1]: Leaving directory `/u00/p4d/scripts/2011.1/p4perl-2011.1/lib'

PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t

t/01-load-module........ok

t/02-setup..............ok

t/03-create-instance....ok

t/04-connect............ok

t/05-environ............ok

t/06-create-client......ok

t/07-files..............ok

t/08-specs..............ok

t/09-resolve............ok 1/9

#   Failed test in t/09-resolve.t at line 78.

t/09-resolve............NOK 8

#   Failed test in t/09-resolve.t at line 85.

t/09-resolve............NOK 9# Looks like you failed 2 tests of 9.

t/09-resolve............dubious

        Test returned status 2 (wstat 512, 0x200)

DIED. FAILED tests 8-9

        Failed 2/9 tests, 77.78% okay

t/10-maps...............ok

t/11-login..............ok

t/12-output.............ok 1/12

#   Failed test in t/12-output.t at line 26.

 

#   Failed test in t/12-output.t at line 27.

Can't call method "GetSeverity" on an undefined value at t/12-output.t line 28.

t/12-output.............NOK 6# Looks like you planned 12 tests but only ran 6.

# Looks like you failed 2 tests of 6 run.

# Looks like your test died just after 6.

t/12-output.............dubious

        Test returned status 255 (wstat 65280, 0xff00)

DIED. FAILED tests 5-12

        Failed 8/12 tests, 33.33% okay

t/15-track..............ok 1/8

t/15-track..............NOK 8#   Failed test in t/15-track.t at line 25.

# Looks like you failed 1 test of 8.

t/15-track..............dubious

        Test returned status 1 (wstat 256, 0x100)

DIED. FAILED test 8

        Failed 1/8 tests, 87.50% okay

t/16-streams............ok 1/8

#   Failed test in t/16-streams.t at line 21.

t/16-streams............NOK 5

#   Failed test in t/16-streams.t at line 28.

t/16-streams............NOK 6

#   Failed test in t/16-streams.t at line 34.

t/16-streams............NOK 8# Looks like you failed 3 tests of 8.

t/16-streams............dubious

        Test returned status 3 (wstat 768, 0x300)

DIED. FAILED tests 5-6, 8

        Failed 3/8 tests, 62.50% okay

t/20-misc...............NOK 6

#   Failed test in t/20-misc.t at line 25.

# Looks like you failed 1 test of 11.

t/20-misc...............dubious

        Test returned status 1 (wstat 256, 0x100)

DIED. FAILED test 6

        Failed 1/11 tests, 90.91% okay

t/30-callback...........ok 1/13

t/30-callback...........NOK 8#   Failed test in t/30-callback.t at line 28.

 

t/30-callback...........NOK 9#   Failed test in t/30-callback.t at line 30.

 

t/30-callback...........NOK 11#   Failed test in t/30-callback.t at line 38.

# Looks like you failed 3 tests of 13.

t/30-callback...........dubious

        Test returned status 3 (wstat 768, 0x300)

DIED. FAILED tests 8-9, 11

        Failed 3/13 tests, 76.92% okay

t/98-unicode............NOK 6

#   Failed test in t/98-unicode.t at line 29.

t/98-unicode............NOK 8

#   Failed test in t/98-unicode.t at line 51.

# Looks like you failed 2 tests of 8.

t/98-unicode............dubious

        Test returned status 2 (wstat 512, 0x200)

DIED. FAILED tests 6, 8

        Failed 2/8 tests, 75.00% okay

t/99-cleanup............ok

Failed Test     Stat Wstat Total Fail  Failed  List of Failed

-------------------------------------------------------------------------------

t/09-resolve.t     2   512     9    2  22.22%  8-9

t/12-output.t    255 65280    12   14 116.67%  5-12

t/15-track.t       1   256     8    1  12.50%  8

t/16-streams.t     3   768     8    3  37.50%  5-6 8

t/20-misc.t        1   256    11    1   9.09%  6

t/30-callback.t    3   768    13    3  23.08%  8-9 11

t/98-unicode.t     2   512     8    2  25.00%  6 8

Failed 7/18 test scripts, 61.11% okay. 20/179 subtests failed, 88.83% okay.

make: *** [test_dynamic] Error 255
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.perforce.com/pipermail/p4perl/attachments/20111110/76736d00/attachment-0002.html>


More information about the p4perl mailing list