[Bug 15323] New: ./t/Prices.t fails without a valid database
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15323 Bug ID: 15323 Summary: ./t/Prices.t fails without a valid database Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Test Suite Assignee: chris@bigballofwax.co.nz Reporter: mtj@kohaaloha.com QA Contact: gmcharlt@gmail.com more info to come... -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15323 Mason James <mtj@kohaaloha.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |In Discussion --- Comment #1 from Mason James <mtj@kohaaloha.com> --- hmm, a bit odd.. but git-bisect says this commit broke the test?! commit bc668dccd3af3fba14e04a764499b0d762c63455 Author: Tomas Cohen Arazi <tomascohen@theke.io> Date: Fri Nov 6 11:21:56 2015 -0300 Bug 15151: Avoid DB access to load C4::Members any ideas, good people? -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15323 Mason James <mtj@kohaaloha.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomascohen@gmail.com -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15323 Mason James <mtj@kohaaloha.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |liz@catalyst.net.nz -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15323 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Discussion |RESOLVED Resolution|--- |WORKSFORME CC| |jonathan.druart@bugs.koha-c | |ommunity.org --- Comment #2 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- t/Prices.t is not data-related: % sudo service mysql stop [ ok ] Stopping MariaDB database server: mysqld. % prove t/Prices.t t/Prices.t .. ok All tests successful. Files=1, Tests=16, 2 wallclock secs ( 0.02 usr 0.00 sys + 1.40 cusr 0.04 csys = 1.46 CPU) Result: PASS -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15323 --- Comment #3 from Liz Rea <liz@catalyst.net.nz> --- I've seen this too, but I didn't have a chance to look into it. Maybe it is ok in isolation, but not ok when run with other tests? -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15323 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WORKSFORME |--- --- Comment #4 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Let me know if you manage to recreate. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15323 Larry Baerveldt <larry@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |larry@bywatersolutions.com --- Comment #5 from Larry Baerveldt <larry@bywatersolutions.com> --- I've seen this error too when attempting to build a package. Version tested was 3.20.06. Here's the test failure message: DBI connect('dbname=koha;host=localhost;port=3306','kohaadmin',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/DBIx/Connector.pm line 32. Can't call method "do" on unblessed reference at /tmp/buildd/koha-3.20.06+20160114144139.2d762685/blib/PERL_MODULE_DIR/C4/Context.pm line 793. # Child (Configuration 1: 0 0) exited without calling finalize() # Failed test 'Configuration 1: 0 0' # at /usr/share/perl/5.20/Test/Builder.pm line 276. # Looks like you planned 16 tests but ran 5. # Looks like you failed 1 test of 5 run. # Looks like your test exited with 255 just after 5. t/Prices.t .......................... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 12/16 subtests t/Print.t ........................... ok ... Test Summary Report ------------------- t/Prices.t (Wstat: 65280 Tests: 5 Failed: 1) Failed test: 5 Non-zero exit status: 255 Parse errors: Bad plan. You planned 16 tests but ran 5. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org