[Bug 21670] New: t/db_dependent/Plugins.t is failing randomly on Jenkins (U18)
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21670 Bug ID: 21670 Summary: t/db_dependent/Plugins.t is failing randomly on Jenkins (U18) 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 On run #72, Koha_Master_U18 failed: koha_1 | Could not unlink /tmp/xRRc7ht/Koha/Plugin/Com/ByWaterSolutions/KitchenSink.pm.pm: No such file or directory at /kohadevbox/koha/Koha/Plugins/Handler.pm line 105. koha_1 | koha_1 | # Failed test 'Koha::Plugins::Handler::delete works correctly.' koha_1 | # at t/db_dependent/Plugins.t line 127. koha_1 | # Looks like you failed 1 test of 39. koha_1 | [15:24:05] t/db_dependent/Plugins.t ................................................ koha_1 | Dubious, test returned 1 (wstat 256, 0x100) koha_1 | Failed 1/39 subtests We requested another run and it passes (#73), same node (Docker_3) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21670 --- Comment #1 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- And it fails, almost at the same time, for Koha_18.05_U18 on Docker_2 (#98) koha_1 | Could not unlink /tmp/B8dlalp/Koha/Plugin/Com/ByWaterSolutions/KitchenSink.pm.pm: No such file or directory at /kohadevbox/koha/Koha/Plugins/Handler.pm line 105. koha_1 | koha_1 | # Failed test 'Koha::Plugins::Handler::delete works correctly.' koha_1 | # at t/db_dependent/Plugins.t line 127. koha_1 | # Looks like you failed 1 test of 39. koha_1 | [17:21:16] t/db_dependent/Plugins.t -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21670 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=21670 --- Comment #2 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- *** Bug 25550 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21670 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=25549 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21670 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|t/db_dependent/Plugins.t is |t/db_dependent/Plugins.t is |failing randomly on Jenkins |failing randomly on Jenkins |(U18) | --- Comment #3 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- 20.05_D10 #53 00:11:34 koha_1 | Could not unlink /tmp/3KJViXB/Koha/Plugin/Com/ByWaterSolutions/KitchenSink.pm.pm: No such file or directory at /kohadevbox/koha/Koha/Plugins/Handler.pm line 106. 00:11:34 koha_1 | 00:11:34 koha_1 | # Failed test 'Koha::Plugins::Handler::delete works correctly.' 00:11:34 koha_1 | # at t/db_dependent/Koha/Plugins/Plugins.t line 237. 00:11:34 koha_1 | rollback ineffective with AutoCommit enabled at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1651. 00:11:34 koha_1 | # Looks like you failed 1 test of 51. 00:11:35 koha_1 | [22:11:35] t/db_dependent/Koha/Plugins/Plugins.t ................................... 00:11:35 koha_1 | Dubious, test returned 1 (wstat 256, 0x100) 00:11:35 koha_1 | Failed 1/51 subtests 00:11:47 db_1 | 2020-07-31 22:11:47 70 [Warning] Aborted connection 70 to db: 'koha_kohadev' user: 'koha_kohadev' host: '192.168.48.6' (Got an error reading communication packets) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21670 --- Comment #4 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> ---
rollback ineffective with AutoCommit enabled at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1651.
This superfluous rollback call is removed by commit 88506d7bb6958a49969f737a8bc41afa8536c554 Bug 26138: Make Koha::Plugins->call return consistent value But maybe we will need to create a separate bug report for stable branches. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21670 --- Comment #5 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Koha_Master_U16 #57 (Docker_2) 10:56:49 koha_1 | Could not unlink /tmp/v0mm3n9/Koha/Plugin/Com/ByWaterSolutions/KitchenSink.pm.pm: No such file or directory at /kohadevbox/koha/Koha/Plugins/Handler.pm line 106. 10:56:49 koha_1 | 10:56:49 koha_1 | # Failed test 'Koha::Plugins::Handler::delete works correctly.' 10:56:49 koha_1 | # at t/db_dependent/Koha/Plugins/Plugins.t line 270. 10:56:49 koha_1 | # Looks like you failed 1 test of 53. 10:56:49 koha_1 | [08:56:49] t/db_dependent/Koha/Plugins/Plugins.t ................................... 10:56:49 koha_1 | Dubious, test returned 1 (wstat 256, 0x100) 10:56:49 koha_1 | Failed 1/53 subtests -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21670 --- Comment #6 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- D11 #259 11:07:43 db_1 | 2021-04-14 9:07:43 270 [Warning] Aborted connection 270 to db: 'koha_kohadev' user: 'koha_kohadev' host: '192.168.240.4' (Got timeout reading communication packets) 11:07:51 koha_1 | Could not unlink /tmp/OVUj_ik/Koha/Plugin/Com/ByWaterSolutions/KitchenSink.pm.pm: No such file or directory at /kohadevbox/koha/Koha/Plugins/Handler.pm line 107. 11:07:51 koha_1 | 11:07:51 koha_1 | # Failed test 'Koha::Plugins::Handler::delete works correctly.' 11:07:51 koha_1 | # at t/db_dependent/Koha/Plugins/Plugins.t line 270. 11:07:56 koha_1 | # Looks like you failed 1 test of 53. 11:07:56 koha_1 | [09:07:56] t/db_dependent/Koha/Plugins/Plugins.t ................................... 11:07:56 koha_1 | Dubious, test returned 1 (wstat 256, 0x100) Don't know if the db error is related. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21670 --- Comment #7 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- U20 #98 on Docker_2 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21670 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nick@bywatersolutions.com, | |tomascohen@gmail.com --- Comment #8 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Master_D9 1668 Docker_1 Either we fix or we remove, it's getting painful. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21670 --- Comment #9 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Master_D11 367 Docker_1 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21670 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|minor |major -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21670 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|chris@bigballofwax.co.nz |tomascohen@gmail.com Status|NEW |ASSIGNED -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21670 --- Comment #10 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 123963 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=123963&action=edit Bug 21670: Add debug to Plugins.t It's failing randomly (at least on Jenkins, cannot recreate locally). Maybe the plugin is not actually installed? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21670 --- Comment #11 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- What about pushing this patch to get a bit more info? Do you think we should add more? If so, which ones? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21670 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kyle@bywatersolutions.com --- Comment #12 from Tomás Cohen Arazi <tomascohen@gmail.com> --- (In reply to Jonathan Druart from comment #11)
What about pushing this patch to get a bit more info? Do you think we should add more? If so, which ones?
Yes, please! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21670 --- Comment #13 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- 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=21670 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Text to go in the| |RM NOTE: Not mark as pushed release notes| |yet - only a debug patch | |has been pushed. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21670 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=25604 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21670 --- Comment #14 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- 16:30:40 koha_1 | Could not unlink /tmp/7LgBZuL/Koha/Plugin/Com/ByWaterSolutions/KitchenSink.pm.pm: No such file or directory at /kohadevbox/koha/Koha/Plugins/Handler.pm line 107. 16:30:40 koha_1 | 16:30:40 koha_1 | # Failed test 'Koha::Plugins::Handler::delete works correctly (pass 1)' 16:30:40 koha_1 | # at t/db_dependent/Koha/Plugins/Plugins.t line 322. 16:30:40 koha_1 | # Looks like you failed 1 test of 61. 16:30:40 koha_1 | [15:26:45] t/db_dependent/Koha/Plugins/Plugins.t ................................... 16:30:40 koha_1 | Dubious, test returned 1 (wstat 256, 0x100) 16:30:40 koha_1 | Failed 1/61 subtests Koha_Master/1830 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21670 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED CC| |martin.renvoize@ptfs-europe | |.com --- Comment #15 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- I reckon this one is now resolved after the various work Marcel put into related bugs. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21670 Jonathan Druart <jonathan.druart@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |--- Status|RESOLVED |REOPENED --- Comment #16 from Jonathan Druart <jonathan.druart@gmail.com> --- (In reply to Martin Renvoize from comment #15)
I reckon this one is now resolved after the various work Marcel put into related bugs.
No, see Koha_Main/2954 56 min on Docker_15 koha_1 | Could not unlink /tmp/LSL387s/Koha/Plugin/Com/ByWaterSolutions/KitchenSink.pm.pm: No such file or directory at /kohadevbox/koha/Koha/Plugins/Handler.pm line 110. koha_1 | koha_1 | # Failed test 'Module file no longer found' koha_1 | # at t/db_dependent/Koha/Plugins/KitchenSink.t line 68. koha_1 | # Looks like you failed 1 test of 7. koha_1 | koha_1 | # Failed test 'Fun with KitchenSink, Handler->delete' koha_1 | # at t/db_dependent/Koha/Plugins/KitchenSink.t line 74. koha_1 | # Looks like you failed 1 test of 1. koha_1 | [17:50:24] t/db_dependent/Koha/Plugins/KitchenSink.t ................................... koha_1 | Dubious, test returned 1 (wstat 256, 0x100) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21670 Jonathan Druart <jonathan.druart@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |ASSIGNED -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21670 --- Comment #17 from Jonathan Druart <jonathan.druart@gmail.com> --- Koha_Main_D11/796 16:16:26 koha_1 | Could not unlink /tmp/BfyX1Ci/Koha/Plugin/Com/ByWaterSolutions/KitchenSink.pm.pm: No such file or directory at /kohadevbox/koha/Koha/Plugins/Handler.pm line 110. 16:16:26 koha_1 | 16:19:19 koha_1 | # Failed test 'Module file no longer found' 16:19:19 koha_1 | # at t/db_dependent/Koha/Plugins/KitchenSink.t line 68. 16:19:19 koha_1 | # Looks like you failed 1 test of 7. 16:19:19 koha_1 | 16:19:19 koha_1 | # Failed test 'Fun with KitchenSink, Handler->delete' 16:19:19 koha_1 | # at t/db_dependent/Koha/Plugins/KitchenSink.t line 74. 16:19:19 koha_1 | # Looks like you failed 1 test of 1. 16:19:19 koha_1 | [15:07:45] t/db_dependent/Koha/Plugins/KitchenSink.t ................................... 16:19:19 koha_1 | Dubious, test returned 1 (wstat 256, 0x100) 16:19:19 koha_1 | Failed 1/1 subtests -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21670 Paul Derscheid <paul.derscheid@lmscloud.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |paul.derscheid@lmscloud.de --- Comment #18 from Paul Derscheid <paul.derscheid@lmscloud.de> --- Koha_25.05_D11 #3 23:01:28 koha_1 | 23:01:28 koha_1 | # Failed test 'Module file no longer found' 23:01:28 koha_1 | # at t/db_dependent/Koha/Plugins/KitchenSink.t line 69. 23:01:28 koha_1 | # Looks like you failed 1 test of 7. 23:01:28 koha_1 | 23:01:28 koha_1 | # Failed test 'Fun with KitchenSink, Handler->delete' 23:01:28 koha_1 | # at t/db_dependent/Koha/Plugins/KitchenSink.t line 75. 23:01:28 koha_1 | 23:01:28 koha_1 | # Failed test 'no warnings' 23:01:28 koha_1 | # at /usr/share/perl/5.32/Test/Builder.pm line 153. 23:01:28 koha_1 | # There were 1 warning(s) 23:01:28 koha_1 | # Previous test 4 'KitchenSink module found' 23:01:28 koha_1 | # Could not unlink /tmp/b4HIWO7/Koha/Plugin/Com/ByWaterSolutions/KitchenSink.pm.pm: No such file or directory at /kohadevbox/koha/Koha/Plugins/Handler.pm line 112. 23:01:28 koha_1 | # at /kohadevbox/koha/Koha/Plugins/Handler.pm line 112. 23:01:28 koha_1 | # Koha::Plugins::Handler::delete("Koha::Plugins::Handler", HASH(0x55873a72e148)) called at t/db_dependent/Koha/Plugins/KitchenSink.t line 66 23:01:28 koha_1 | # main::__ANON__() called at /usr/share/perl/5.32/Test/Builder.pm line 334 23:01:28 koha_1 | # eval {...} called at /usr/share/perl/5.32/Test/Builder.pm line 334 23:01:28 koha_1 | # Test::Builder::subtest(Test::Builder=HASH(0x558734dc5280), "Fun with KitchenSink, Handler->delete", CODE(0x55873e8a8dd0)) called at /usr/share/perl/5.32/Test/More.pm line 809 23:01:28 koha_1 | # Test::More::subtest("Fun with KitchenSink, Handler->delete", CODE(0x55873e8a8dd0)) called at t/db_dependent/Koha/Plugins/KitchenSink.t line 75 23:01:28 koha_1 | # 23:01:28 koha_1 | # Looks like you failed 2 tests of 2. 23:01:28 koha_1 | [21:01:11] t/db_dependent/Koha/Plugins/KitchenSink.t ................................... 23:01:28 koha_1 | Dubious, test returned 2 (wstat 512, 0x200) 23:01:28 koha_1 | Failed 2/2 subtests -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org