[Bug 24147] New: Objects.t is failing randomly
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24147 Bug ID: 24147 Summary: Objects.t is failing randomly Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: Test Suite Assignee: chris@bigballofwax.co.nz Reporter: jonathan.druart@bugs.koha-community.org QA Contact: testopia@bugs.koha-community.org Not confirmed yet, bug on the newly created job Koha_Master_D9_MDB_Latest, there is the following failure (run 2): koha_1 | # Failed test 'Koha::Objects->search_related should work as expected' koha_1 | # at t/db_dependent/Koha/Objects.t line 145. koha_1 | # got: 'dxdYyUDoA' koha_1 | # expected: 'hJnosHQGlA' koha_1 | koha_1 | # Failed test 'Koha::Objects->search_related should work as expected' koha_1 | # at t/db_dependent/Koha/Objects.t line 146. koha_1 | # got: 'hJnosHQGlA' koha_1 | # expected: 'dxdYyUDoA' koha_1 | koha_1 | # Failed test 'Koha::Objects->search_related should work as expected' koha_1 | # at t/db_dependent/Koha/Objects.t line 151. koha_1 | # got: 'dxdYyUDoA' koha_1 | # expected: 'hJnosHQGlA' koha_1 | koha_1 | # Failed test 'Koha::Objects->search_related should work as expected' koha_1 | # at t/db_dependent/Koha/Objects.t line 152. koha_1 | # got: 'hJnosHQGlA' koha_1 | # expected: 'dxdYyUDoA' koha_1 | # Looks like you failed 4 tests of 8. koha_1 | koha_1 | # Failed test 'search_related' koha_1 | # at t/db_dependent/Koha/Objects.t line 153. koha_1 | # Looks like you failed 1 test of 17. koha_1 | [19:23:01] t/db_dependent/Koha/Objects.t I do not recreate it locally, even after several restart of the db container. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24147 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |25551 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25551 [Bug 25551] [OMNIBUS] Some tests are failing randomly -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24147 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #1 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- I think this has been fixed, it did not reappeared. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24147 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |--- Status|RESOLVED |REOPENED --- Comment #2 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Master_U18 #799 15:20:29 koha_1 | # Failed test 'Koha::Objects->search_related should work as expected' 15:20:29 koha_1 | # at t/db_dependent/Koha/Objects.t line 148. 15:20:29 koha_1 | # got: 'Jj0uPsF0y' 15:20:29 koha_1 | # expected: 'p_qV3ggA' 15:20:29 koha_1 | 15:20:29 koha_1 | # Failed test 'Koha::Objects->search_related should work as expected' 15:20:29 koha_1 | # at t/db_dependent/Koha/Objects.t line 149. 15:20:29 koha_1 | # got: 'p_qV3ggA' 15:20:29 koha_1 | # expected: 'Jj0uPsF0y' 15:20:29 koha_1 | 15:20:29 koha_1 | # Failed test 'Koha::Objects->search_related should work as expected' 15:20:29 koha_1 | # at t/db_dependent/Koha/Objects.t line 154. 15:20:29 koha_1 | # got: 'Jj0uPsF0y' 15:20:29 koha_1 | # expected: 'p_qV3ggA' 15:20:29 koha_1 | 15:20:29 koha_1 | # Failed test 'Koha::Objects->search_related should work as expected' 15:20:29 koha_1 | # at t/db_dependent/Koha/Objects.t line 155. 15:20:29 koha_1 | # got: 'p_qV3ggA' 15:20:29 koha_1 | # expected: 'Jj0uPsF0y' 15:20:29 koha_1 | # Looks like you failed 4 tests of 8. 15:20:29 koha_1 | 15:20:29 koha_1 | # Failed test 'search_related' 15:20:29 koha_1 | # at t/db_dependent/Koha/Objects.t line 156. 15:21:05 koha_1 | # Looks like you failed 1 test of 23. 15:21:05 koha_1 | [13:21:05] t/db_dependent/Koha/Objects.t -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24147 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEW -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24147 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |martin.renvoize@ptfs-europe | |.com, tomascohen@gmail.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24147 --- Comment #3 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- 19.11_D9 #193 01:35:33 koha_1 | # Failed test 'Koha::Objects->search_related should work as expected' 01:35:33 koha_1 | # at t/db_dependent/Koha/Objects.t line 152. 01:35:33 koha_1 | # got: 'q_H6M1k' 01:35:33 koha_1 | # expected: 'qqXKWFD1GF' 01:35:33 koha_1 | 01:35:33 koha_1 | # Failed test 'Koha::Objects->search_related should work as expected' 01:35:33 koha_1 | # at t/db_dependent/Koha/Objects.t line 153. 01:35:33 koha_1 | # got: 'qqXKWFD1GF' 01:35:33 koha_1 | # expected: 'q_H6M1k' 01:35:33 koha_1 | 01:35:33 koha_1 | # Failed test 'Koha::Objects->search_related should work as expected' 01:35:33 koha_1 | # at t/db_dependent/Koha/Objects.t line 158. 01:35:33 koha_1 | # got: 'q_H6M1k' 01:35:33 koha_1 | # expected: 'qqXKWFD1GF' 01:35:33 koha_1 | 01:35:33 koha_1 | # Failed test 'Koha::Objects->search_related should work as expected' 01:35:33 koha_1 | # at t/db_dependent/Koha/Objects.t line 159. 01:35:33 koha_1 | # got: 'qqXKWFD1GF' 01:35:33 koha_1 | # expected: 'q_H6M1k' 01:35:33 koha_1 | # Looks like you failed 4 tests of 8. 01:35:33 koha_1 | 01:35:33 koha_1 | # Failed test 'search_related' 01:35:33 koha_1 | # at t/db_dependent/Koha/Objects.t line 160. 01:35:43 koha_1 | # Looks like you failed 1 test of 17. 01:35:43 koha_1 | [23:35:43] t/db_dependent/Koha/Objects.t -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24147 --- Comment #4 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Koha_Master_U16 #45 (Docker_1) - 10.1.46-MariaDB-1~bionic -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24147 --- Comment #5 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> ---
From yesterday, 19.05_U18 #274 (Docker_4)
-- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24147 Jonathan Druart <jonathan.druart@bugs.koha-community.org> 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=24147 --- Comment #6 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 108735 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=108735&action=edit Bug 24147: Don't assume search_related will return ordered values This test is failing randomly because it assume the order is always the same. But it's not. Note: Koha::Objects->search_related is never used , last use removed from commit 9aa724cdf29a57bc91e42b240b5bcd19e3814ada Bug 19599: Speed anonymise_issue_history up We should keep it however IMO -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24147 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|chris@bigballofwax.co.nz |jonathan.druart@bugs.koha-c | |ommunity.org -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24147 Kyle M Hall <kyle@bywatersolutions.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=24147 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #108735|0 |1 is obsolete| | --- Comment #7 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 109371 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=109371&action=edit Bug 24147: Don't assume search_related will return ordered values This test is failing randomly because it assume the order is always the same. But it's not. Note: Koha::Objects->search_related is never used , last use removed from commit 9aa724cdf29a57bc91e42b240b5bcd19e3814ada Bug 19599: Speed anonymise_issue_history up We should keep it however IMO 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=24147 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA Patch complexity|--- |Small patch -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24147 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #109371|0 |1 is obsolete| | --- Comment #8 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Created attachment 109381 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=109381&action=edit Bug 24147: Don't assume search_related will return ordered values This test is failing randomly because it assume the order is always the same. But it's not. Note: Koha::Objects->search_related is never used , last use removed from commit 9aa724cdf29a57bc91e42b240b5bcd19e3814ada Bug 19599: Speed anonymise_issue_history up We should keep it however IMO Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24147 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to master Version(s)| |20.11.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=24147 --- Comment #9 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Pushed to master for 20.11, thanks to everybody involved! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24147 Lucas Gass <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version(s)|20.11.00 |20.11.00, 20.05.04 released in| | Status|Pushed to master |Pushed to stable CC| |lucas@bywatersolutions.com --- Comment #10 from Lucas Gass <lucas@bywatersolutions.com> --- backported to 20.05.x for 20.05.04 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24147 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aleisha@catalyst.net.nz Status|Pushed to stable |Pushed to oldstable Version(s)|20.11.00, 20.05.04 |20.11.00, 20.05.04, released in| |19.11.10 --- Comment #11 from Aleisha Amohia <aleisha@catalyst.net.nz> --- backported to 19.11.x for 19.11.10 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24147 Victor Grousset/tuxayo <victor@tuxayo.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to oldstable |Pushed to oldoldstable Version(s)|20.11.00, 20.05.04, |20.11.00, 20.05.04, released in|19.11.10 |19.11.10, 19.05.15 CC| |victor@tuxayo.net --- Comment #12 from Victor Grousset/tuxayo <victor@tuxayo.net> --- Backported to 19.05.x branch for 19.05.15 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24147 --- Comment #13 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Still failing, U16 run 263 on Docker_2 17:29:23 koha_1 | # Failed test 'Koha::Objects->search_related should work as expected' 17:29:23 koha_1 | # at t/db_dependent/Koha/Objects.t line 161. 17:29:23 koha_1 | 17:29:23 koha_1 | # Failed test 'Koha::Objects->search_related should work as expected' 17:29:23 koha_1 | # at t/db_dependent/Koha/Objects.t line 181. 17:29:23 koha_1 | # Looks like you failed 2 tests of 6. 17:29:23 koha_1 | 17:29:23 koha_1 | # Failed test 'search_related' 17:29:23 koha_1 | # at t/db_dependent/Koha/Objects.t line 184. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24147 --- Comment #14 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Again on U16 run 276 on Docker_6 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24147 --- Comment #15 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- U16 278 Docker_2 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24147 --- Comment #16 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- U_Stable 181, Docker_3 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24147 --- Comment #17 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Master_U18 1110 Docker_1 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24147 --- Comment #18 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Master_U_Stable 196 Docker_1 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24147 --- Comment #19 from Victor Grousset/tuxayo <victor@tuxayo.net> --- Koha_20.05_U16 309 Docker_4 https://jenkins.koha-community.org/view/20.05/job/Koha_20.05_U16/309/console... Is that actually an instance of this bug? koha_1 | # Failed test 'Koha::Objects->search_related should work as expected' koha_1 | # at t/db_dependent/Koha/Objects.t line 160. koha_1 | koha_1 | # Failed test 'Koha::Objects->search_related should work as expected' koha_1 | # at t/db_dependent/Koha/Objects.t line 180. koha_1 | # Looks like you failed 2 tests of 6. koha_1 | koha_1 | # Failed test 'search_related' koha_1 | # at t/db_dependent/Koha/Objects.t line 183. koha_1 | # Looks like you failed 1 test of 23. koha_1 | [00:45:47] t/db_dependent/Koha/Objects.t ........................................... koha_1 | Dubious, test returned 1 (wstat 256, 0x100) koha_1 | Failed 1/23 subtests -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24147 --- Comment #20 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- (In reply to Victor Grousset/tuxayo from comment #19)
Is that actually an instance of this bug?
Yes. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24147 --- Comment #21 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Koha_Master_D11_My8/686 Docker_2 13:24:48 koha_1 | # Failed test 'Koha::Objects->search_related should work as expected' 13:24:48 koha_1 | # at t/db_dependent/Koha/Objects.t line 163. 13:24:48 koha_1 | 13:24:48 koha_1 | # Failed test 'Koha::Objects->search_related should work as expected' 13:24:48 koha_1 | # at t/db_dependent/Koha/Objects.t line 183. 13:24:48 koha_1 | # Looks like you failed 2 tests of 6. 13:24:48 koha_1 | 13:24:48 koha_1 | # Failed test 'search_related' 13:24:48 koha_1 | # at t/db_dependent/Koha/Objects.t line 186. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org