make test fails on BackgroundJob.t
Hi All, I am doing a dev install with a fresh git clone on a new machine. make test fails with following.. Test Summary Report ------------------- t/BackgroundJob.t (Wstat: 65280 Tests: 1 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 8 tests but ran 1. Files=99, Tests=6821, 53 wallclock secs ( 1.57 usr 0.24 sys + 26.95 cusr 2.46 csys = 31.22 CPU) Result: FAIL Failed 1/99 test programs. 0/6821 subtests failed. make: *** [test_dynamic] Error 255 Looking back on the make test output I see t/BackgroundJob.t ................... DBD::mysql::db selectrow_array failed: Table 'kohadev.systempreferences' doesn't exist at /home/kk/kohaclone/blib/PERL_MODULE_DIR/C4/Context.pm line 480. DBD::mysql::db selectrow_array failed: Table 'kohadev.systempreferences' doesn't exist at /home/kk/kohaclone/blib/PERL_MODULE_DIR/C4/Context.pm line 480. t/BackgroundJob.t ................... 1/8 DBD::mysql::db selectrow_array failed: Table 'kohadev.systempreferences' doesn't exist at /home/kk/kohaclone/blib/PERL_MODULE_DIR/C4/Context.pm line 480. Use of uninitialized value $timeout in pattern match (m//) at /home/kk/kohaclone/blib/PERL_MODULE_DIR/C4/Auth.pm line 606. DBD::mysql::db selectrow_array failed: Table 'kohadev.systempreferences' doesn't exist at /home/kk/kohaclone/blib/PERL_MODULE_DIR/C4/Context.pm line 480. DBD::mysql::db selectrow_array failed: Table 'kohadev.systempreferences' doesn't exist at /home/kk/kohaclone/blib/PERL_MODULE_DIR/C4/Context.pm line 480. OPAC Install required, redirecting to maintenance at /home/kk/kohaclone/blib/PERL_MODULE_DIR/C4/Auth.pm line 560. # Looks like you planned 8 tests but ran 1. t/BackgroundJob.t ................... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 7/8 subtests Can someone please tell me whats going on here? PS : And I also see a bunch of " DBD::mysql::db selectrow_array failed: Table 'kohadev.systempreferences' doesn't exist at /home/kk/kohaclone/blib/PERL_MODULE_DIR/C4/Context.pm line 480." lines in the make test output. I can login to the kohadev database with the credentials I am supplying perl Makefile.PL Regards, Koustubha Kale Anant Corporation Contact Details : Address : 103, Armaan Residency, R. W Sawant Road, Nr. Golden Dyes Naka, Thane (w), Maharashtra, India, Pin : 400601. TeleFax : +91-22-21720108, +91-22-21720109 Mobile : +919820715876 Website : http://www.anantcorp.com Blog : http://www.anantcorp.com/blog/?author=2
Hi Koustubha, On Fri, Jan 28, 2011 at 4:41 AM, Koustubha Kale <kmkale@anantcorp.com>wrote:
Hi All, I am doing a dev install with a fresh git clone on a new machine. make test fails with following..
<snip>
Looking back on the make test output I see
t/BackgroundJob.t ................... DBD::mysql::db selectrow_array failed: Table 'kohadev.systempreferences' doesn't exist at /home/kk/kohaclone/blib/PERL_MODULE_DIR/C4/Context.pm line 480.
This is because the db is not yet populated and so does not have a systempreferences table. This test should be moved to the db_dependent subdir so that it is not executed by default. Kind Regards, Chris
On Fri, Jan 28, 2011 at 6:50 PM, Chris Nighswonger <cnighswonger@foundations.edu> wrote:
Hi Koustubha,
On Fri, Jan 28, 2011 at 4:41 AM, Koustubha Kale <kmkale@anantcorp.com> wrote:
Hi All, I am doing a dev install with a fresh git clone on a new machine. make test fails with following..
<snip>
Looking back on the make test output I see
t/BackgroundJob.t ................... DBD::mysql::db selectrow_array failed: Table 'kohadev.systempreferences' doesn't exist at /home/kk/kohaclone/blib/PERL_MODULE_DIR/C4/Context.pm line 480.
This is because the db is not yet populated and so does not have a systempreferences table.
This test should be moved to the db_dependent subdir so that it is not executed by default.
Kind Regards, Chris
I get a bunch of these. But make test fails only on t/BackgroundJob.t Please see a paste at http://paste.koha-community.org/129 Also I get a bunch of "Use of uninitialized value..." & "Illegal date specified..." too Regards, Koustubha Kale Anant Corporation Contact Details : Address : 103, Armaan Residency, R. W Sawant Road, Nr. Golden Dyes Naka, Thane (w), Maharashtra, India, Pin : 400601. TeleFax : +91-22-21720108, +91-22-21720109 Mobile : +919820715876 Website : http://www.anantcorp.com Blog : http://www.anantcorp.com/blog/?author=2
participants (2)
-
Chris Nighswonger -
Koustubha Kale