[Bug 40947] New: "Aborted connection 42 to db" from t/db_dependent/www/search_utf8.t
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40947 Bug ID: 40947 Summary: "Aborted connection 42 to db" from t/db_dependent/www/search_utf8.t Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Test Suite Assignee: jonathan.druart@gmail.com Reporter: jonathan.druart@gmail.com QA Contact: testopia@bugs.koha-community.org -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40947 Jonathan Druart <jonathan.druart@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |40945 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40945 [Bug 40945] "Aborted connection" warnings in tests output -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40947 Jonathan Druart <jonathan.druart@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40947 --- Comment #1 from Jonathan Druart <jonathan.druart@gmail.com> --- Created attachment 187384 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=187384&action=edit Bug 40947: Remove warning "Aborted connection" from t/db_dependent/www/search_utf8.t We sent a SIGKILL to the daemon which does not let it cleanup Updating to SIGTERM (15) and handle the dbh disconnect gracefully in the daemon. Also handle SIGINT (ctrl+c) only because I think it can be useful (?) Test plan: prove t/db_dependent/www/search_utf8.t => Without this patch there are 3 warnings in the DB container log db-1 | 2025-10-03 12:30:57 362 [Warning] Aborted connection 42 to db: 'koha_kohadev' user: 'koha_kohadev' host: '172.19.0.6' (Got an error reading communication packets) => With this patch applied there are none. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40947 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40947 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #187384|0 |1 is obsolete| | --- Comment #2 from David Nind <david@davidnind.com> --- Created attachment 190039 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=190039&action=edit Bug 40947: Remove warning "Aborted connection" from t/db_dependent/www/search_utf8.t We sent a SIGKILL to the daemon which does not let it cleanup Updating to SIGTERM (15) and handle the dbh disconnect gracefully in the daemon. Also handle SIGINT (ctrl+c) only because I think it can be useful (?) Test plan: prove t/db_dependent/www/search_utf8.t => Without this patch there are 3 warnings in the DB container log db-1 | 2025-10-03 12:30:57 362 [Warning] Aborted connection 42 to db: 'koha_kohadev' user: 'koha_kohadev' host: '172.19.0.6' (Got an error reading communication packets) => With this patch applied there are none. Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40947 Kyle M Hall (khall) <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|testopia@bugs.koha-communit |kyle@bywatersolutions.com |y.org | CC| |kyle@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40947 Kyle M Hall (khall) <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40947 Kyle M Hall (khall) <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #190039|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40947 --- Comment #3 from Kyle M Hall (khall) <kyle@bywatersolutions.com> --- Created attachment 192258 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=192258&action=edit Bug 40947: Remove warning "Aborted connection" from t/db_dependent/www/search_utf8.t We sent a SIGKILL to the daemon which does not let it cleanup Updating to SIGTERM (15) and handle the dbh disconnect gracefully in the daemon. Also handle SIGINT (ctrl+c) only because I think it can be useful (?) Test plan: prove t/db_dependent/www/search_utf8.t => Without this patch there are 3 warnings in the DB container log db-1 | 2025-10-03 12:30:57 362 [Warning] Aborted connection 42 to db: 'koha_kohadev' user: 'koha_kohadev' host: '172.19.0.6' (Got an error reading communication packets) => With this patch applied there are none. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40947 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to main Version(s)| |26.05.00 released in| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40947 --- Comment #4 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Nice work everyone! Pushed to main for 26.05 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40947 Jacob O'Mara <jacob.omara@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to main |Pushed to stable Version(s)|26.05.00 |26.05.00,25.11.03 released in| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40947 --- Comment #5 from Jacob O'Mara <jacob.omara@openfifth.co.uk> --- Thanks all, pushed to 25.11.x -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org