[Bug 32710] New: UI/Form/Builder/Item.t is failing randomly
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32710 Bug ID: 32710 Summary: UI/Form/Builder/Item.t is failing randomly Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Test Suite Assignee: chris@bigballofwax.co.nz Reporter: jonathan.druart+koha@gmail.com QA Contact: testopia@bugs.koha-community.org koha_1 | # Failed test 'Item types should be sorted by description and an empty entry should be shown' koha_1 | # at t/db_dependent/Koha/UI/Form/Builder/Item.t line 135. koha_1 | # Structures begin differing at: koha_1 | # $got->[8] = 'TjMK6RmH' koha_1 | # $expected->[8] = 'REF' koha_1 | # Looks like you failed 1 test of 2. koha_1 | koha_1 | # Failed test 'itemtypes' koha_1 | # at t/db_dependent/Koha/UI/Form/Builder/Item.t line 143. koha_1 | # Looks like you failed 1 test of 5. koha_1 | koha_1 | # Failed test 'authorised values' koha_1 | # at t/db_dependent/Koha/UI/Form/Builder/Item.t line 144. koha_1 | # Looks like you failed 1 test of 9. koha_1 | [15:16:06] t/db_dependent/Koha/UI/Form/Builder/Item.t Koha_Master_D10/1006 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32710 Jonathan Druart <jonathan.druart+koha@gmail.com> 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=32710 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |28445 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28445 [Bug 28445] Use the task queue for the batch delete and update items tool -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32710 --- Comment #1 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- koha_1 | # Failed test 'Item types should be sorted by description and an empty entry should be shown' koha_1 | # at t/db_dependent/Koha/UI/Form/Builder/Item.t line 135. koha_1 | # Structures begin differing at: koha_1 | # $got->[11] = 'qbZe6s__5Y' koha_1 | # $expected->[11] = 'REF' koha_1 | # Looks like you failed 1 test of 2. koha_1 | koha_1 | # Failed test 'itemtypes' koha_1 | # at t/db_dependent/Koha/UI/Form/Builder/Item.t line 143. koha_1 | # Looks like you failed 1 test of 5. koha_1 | koha_1 | # Failed test 'authorised values' koha_1 | # at t/db_dependent/Koha/UI/Form/Builder/Item.t line 144. koha_1 | # Looks like you failed 1 test of 9. koha_1 | [16:48:09] t/db_dependent/Koha/UI/Form/Builder/Item.t Koha_Master/2449 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32710 Jonathan Druart <jonathan.druart+koha@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=32710 --- Comment #2 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 149018 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=149018&action=edit Bug 32710: Try to prevent UI/Form/Builder/Item.t to fail randomly See the FIXME, and commit 77a34e099a9f3bcef2076a4170e8c8d843c403eb Actually we are doing the trick (of removing _) before we are creating another itemtype, we need to do it right before we are comparing. Test plan: Run in a loop, be patient, it failed for me (without the patch) at run 245 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32710 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomascohen@gmail.com Severity|enhancement |normal Assignee|chris@bigballofwax.co.nz |jonathan.druart+koha@gmail. | |com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32710 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch complexity|--- |Trivial patch 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=32710 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #149018|0 |1 is obsolete| | --- Comment #3 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 149020 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=149020&action=edit Bug 32710: Try to prevent UI/Form/Builder/Item.t to fail randomly See the FIXME, and commit 77a34e099a9f3bcef2076a4170e8c8d843c403eb Actually we are doing the trick (of removing _) before we are creating another itemtype, we need to do it right before we are comparing. Test plan: Run in a loop, be patient, it failed for me (without the patch) at run 245 Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32710 Tomás Cohen Arazi <tomascohen@gmail.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=32710 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version(s)| |23.05.00 released in| | Status|Passed QA |Pushed to master -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32710 --- Comment #4 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Pushed to master for 23.05. Nice work everyone, thanks! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32710 Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to master |Pushed to stable Version(s)|23.05.00 |23.05.00,22.11.05 released in| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32710 --- Comment #5 from Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> --- Nice work everyone! Pushed to stable for 22.11.x -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32710 --- Comment #6 from Jonathan Druart <jonathan.druart@gmail.com> --- Koha_Main_D11 run #681 on Docker_13 12:41:15 koha_1 | # Failed test at t/db_dependent/Koha/UI/Form/Builder/Item.t line 104. 12:41:15 koha_1 | # Structures begin differing at: 12:41:15 koha_1 | # $got->[2] = 'jNZJX3dNq' 12:41:15 koha_1 | # $expected->[2] = 'lcc' 12:41:15 koha_1 | 12:41:15 koha_1 | # Failed test at t/db_dependent/Koha/UI/Form/Builder/Item.t line 108. 12:41:15 koha_1 | # Structures begin differing at: 12:41:15 koha_1 | # $got->{jNZJX3dNq} = 'VgHW_hzenA' 12:41:15 koha_1 | # $expected->{jNZJX3dNq} = Does not exist 12:41:15 koha_1 | # Looks like you failed 2 tests of 2. 12:41:15 koha_1 | 12:41:15 koha_1 | # Failed test 'cn_source' 12:41:15 koha_1 | # at t/db_dependent/Koha/UI/Form/Builder/Item.t line 112. 12:41:15 koha_1 | # Looks like you failed 1 test of 5. 12:41:15 koha_1 | 12:41:15 koha_1 | # Failed test 'authorised values' 12:41:15 koha_1 | # at t/db_dependent/Koha/UI/Form/Builder/Item.t line 150. 12:41:15 koha_1 | # Looks like you failed 1 test of 9. 12:41:15 koha_1 | [10:41:02] t/db_dependent/Koha/UI/Form/Builder/Item.t -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32710 --- Comment #7 from Jonathan Druart <jonathan.druart@gmail.com> --- Koha_Main_U24/73/ Docker_10 07:56:32 koha_1 | # Failed test at t/db_dependent/Koha/UI/Form/Builder/Item.t line 104. 07:56:32 koha_1 | # Structures begin differing at: 07:56:32 koha_1 | # $got->[1] = 'LPSRMWmf' 07:56:32 koha_1 | # $expected->[1] = 'ddc' 07:56:32 koha_1 | 07:56:32 koha_1 | # Failed test at t/db_dependent/Koha/UI/Form/Builder/Item.t line 108. 07:56:32 koha_1 | # Structures begin differing at: 07:56:32 koha_1 | # $got->{LPSRMWmf} = 'pZtLIdi5k' 07:56:32 koha_1 | # $expected->{LPSRMWmf} = Does not exist 07:56:32 koha_1 | # Looks like you failed 2 tests of 2. 07:56:32 koha_1 | 07:56:32 koha_1 | # Failed test 'cn_source' 07:56:32 koha_1 | # at t/db_dependent/Koha/UI/Form/Builder/Item.t line 112. 07:56:32 koha_1 | # Looks like you failed 1 test of 5. 07:56:32 koha_1 | 07:56:32 koha_1 | # Failed test 'authorised values' 07:56:32 koha_1 | # at t/db_dependent/Koha/UI/Form/Builder/Item.t line 150. 07:56:32 koha_1 | # Looks like you failed 1 test of 9. 07:56:32 koha_1 | [05:51:21] t/db_dependent/Koha/UI/Form/Builder/Item.t Failing on Biblio.t as well 07:45:12 koha_1 | # Failed test at t/db_dependent/Koha/UI/Form/Builder/Biblio.t line 147. 07:45:12 koha_1 | # Structures begin differing at: 07:45:12 koha_1 | # $got->[1] = 'LPSRMWmf' 07:45:12 koha_1 | # $expected->[1] = 'ddc' 07:45:12 koha_1 | # Looks like you failed 1 test of 3. 07:45:12 koha_1 | 07:45:12 koha_1 | # Failed test 'generate_subfield_form class sources' 07:45:12 koha_1 | # at t/db_dependent/Koha/UI/Form/Builder/Biblio.t line 148. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32710 Jonathan Druart <jonathan.druart@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |37870 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37870 [Bug 37870] t/db_dependent/Koha/UI/Form/Builder/Biblio.t and Item.t -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32710 Jonathan Druart <jonathan.druart@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|UI/Form/Builder/Item.t is |UI/Form/Builder/Item.t is |failing randomly |failing randomly (itemtypes | |sort) -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org