Summary: | t/db_dependent/Plugins.t is failing randomly on Jenkins | ||
---|---|---|---|
Product: | Koha | Reporter: | Jonathan Druart <jonathan.druart> |
Component: | Test Suite | Assignee: | Tomás Cohen Arazi (tcohen) <tomascohen> |
Status: | ASSIGNED --- | QA Contact: | Testopia <testopia> |
Severity: | major | ||
Priority: | P5 - low | CC: | kyle, martin.renvoize, nick, tomascohen |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
See Also: |
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25549 https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25604 |
||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: |
RM NOTE: Not mark as pushed yet - only a debug patch has been pushed.
|
Version(s) released in: | |
Circulation function: | |||
Bug Depends on: | |||
Bug Blocks: | 25551 | ||
Attachments: | Bug 21670: Add debug to Plugins.t |
Description
Jonathan Druart
2018-10-25 17:09:35 UTC
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 *** Bug 25550 has been marked as a duplicate of this bug. *** 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) > 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. 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 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. U20 #98 on Docker_2 Master_D9 1668 Docker_1 Either we fix or we remove, it's getting painful. Master_D11 367 Docker_1 Created attachment 123963 [details] [review] 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? What about pushing this patch to get a bit more info? Do you think we should add more? If so, which ones? (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! Pushed to master. 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 I reckon this one is now resolved after the various work Marcel put into related bugs. (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) 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 |