[jifty-devel] Rrror: Can't locate object method "port" via package "Jifty::Server"

Sean E. Millichamp sean at enertronllc.com
Fri Jan 20 16:27:14 EST 2006


On Fri, 2006-01-20 at 15:48 -0500, Jesse Vincent wrote:

> (Incidentally, does Jifty pass its tests on the "broken" hosts? If so,
> then I need to have a chat with our test suite.)

Sorry, forgot to followup on this one in the last email.

Sometimes the simple suggestions.... it turns out that no, the tests
don't pass on the broken hosts.  Here are the test results:

# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/*/t/*.t
t/01-dependencies.................ok
t/02-connect......................ok
t/02-form-protocol................ok
t/03-sessions.....................ok
t/04-dispatcher...................skipped
        all skipped: Not written yet
t/04-forms........................ok
t/99-pod-coverage.................ok 10/68
#   Failed test 'Pod coverage on Jifty::Response'
#   in /usr/lib/perl5/vendor_perl/5.8.6/Test/Pod/Coverage.pm at line 112.
# Coverage for Jifty::Response is 75.0%, with 2 naked subroutines:
#       add_header
#       headers
t/99-pod-coverage.................ok 26/68
#   Failed test 'Pod coverage on Jifty::JSON'
#   in /usr/lib/perl5/vendor_perl/5.8.6/Test/Pod/Coverage.pm at line 112.
# Coverage for Jifty::JSON is 33.3%, with 4 naked subroutines:
#       jsonToObj_pp
#       jsonToObj_syck
#       objToJson_pp
#       objToJson_syck
t/99-pod-coverage.................ok 62/68# Looks like you failed 2 tests of 68.
t/99-pod-coverage.................dubious
        Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 12, 27
        Failed 2/68 tests, 97.06% okay
t/99-pod..........................ok
t/Continuations/t/00-prototype....ok
t/Continuations/t/01-raw-api......ok 1/47Can't locate object method "port" via package "Jifty::Server" at ../../lib/Jifty/Server.pm line 111, <DATA> line 16.
# Looks like you planned 47 tests but only ran 1.
t/Continuations/t/01-raw-api......dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-47
        Failed 46/47 tests, 2.13% okay
t/Continuations/t/02-api..........ok 1/31Can't locate object method "port" via package "Jifty::Server" at ../../lib/Jifty/Server.pm line 111, <DATA> line 16.
# Looks like you planned 31 tests but only ran 1.
t/Continuations/t/02-api..........dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-31
        Failed 30/31 tests, 3.23% okay
t/Continuations/t/03-gc...........skipped
        all skipped: test file not done yet
t/Mapper/t/00-prototype...........ok
t/Mapper/t/01-raw-api.............ok 1/32Can't locate object method "port" via package "Jifty::Server" at ../../lib/Jifty/Server.pm line 111, <DATA> line 16.
# Looks like you planned 32 tests but only ran 1.
t/Mapper/t/01-raw-api.............dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-32
        Failed 31/32 tests, 3.12% okay
t/Mapper/t/02-api.................ok 1/0Can't locate object method "port" via package "Jifty::Server" at ../../lib/Jifty/Server.pm line 111, <DATA> line 16.
t/Mapper/t/02-api.................ok
t/TestApp/t/16-images.............Can't locate object method "port" via package "Jifty::Server" at ../../lib/Jifty/Server.pm line 111, <DATA> line 16.
# No tests run!
t/TestApp/t/16-images.............dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-5
        Failed 5/5 tests, 0.00% okay
Failed Test                    Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/99-pod-coverage.t               2   512    68    2   2.94%  12 27
t/Continuations/t/01-raw-api.t  255 65280    47   92 195.74%  2-47
t/Continuations/t/02-api.t      255 65280    31   60 193.55%  2-31
t/Mapper/t/01-raw-api.t         255 65280    32   62 193.75%  2-32
t/TestApp/t/16-images.t         255 65280     5   10 200.00%  1-5
2 tests skipped.
Failed 5/16 test scripts, 68.75% okay. 114/343 subtests failed, 66.76% okay.
make: *** [test_dynamic] Error 255

Sean

-- 
 Sean E. Millichamp, Enertron LLC, 586-757-1200 x102



More information about the jifty-devel mailing list