Bug 40246 - Koha/Booking.t is failing randomly
Summary: Koha/Booking.t is failing randomly
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Test Suite (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low normal
Assignee: Chris Cormack
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-26 06:37 UTC by Jonathan Druart
Modified: 2025-06-26 06:37 UTC (History)
0 users

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Druart 2025-06-26 06:37:17 UTC
Koha_Main_D11/959

02:16:35 koha_1       |         #   Failed test 'Multiple different items were selected randomly across bookings, and a cancelled booking is allowed in the selection'
02:16:35 koha_1       |         #   at t/db_dependent/Koha/Booking.t line 366.
02:16:35 koha_1       |         # Looks like you failed 1 test of 5.
02:16:35 koha_1       | 
02:16:35 koha_1       |     #   Failed test '_assign_item_for_booking() tests'
02:16:35 koha_1       |     #   at t/db_dependent/Koha/Booking.t line 369.
02:16:35 koha_1       | DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::mysql::st execute failed: Duplicate entry '45' for key 'PRIMARY' at /kohadevbox/koha/Koha/Object.pm line 174
02:16:35 koha_1       | DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::mysql::st execute failed: Data truncated for column 'status' at row 1 at /kohadevbox/koha/Koha/Object.pm line 174
02:16:35 koha_1       |     # Looks like you failed 1 test of 16.
02:16:35 koha_1       | 
02:16:35 koha_1       | #   Failed test 'store() tests'
02:16:35 koha_1       | #   at t/db_dependent/Koha/Booking.t line 628.
02:16:35 koha_1       | # Looks like you failed 1 test of 2.
02:16:35 koha_1       | [00:13:22] t/db_dependent/Koha/Booking.t