Bug 25722 - ActionLogs.t is failing randomly
Summary: ActionLogs.t is failing randomly
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Test Suite (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low normal (vote)
Assignee: Chris Cormack
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks: 25551
  Show dependency treegraph
 
Reported: 2020-06-12 07:52 UTC by Jonathan Druart
Modified: 2020-06-12 18:55 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Druart 2020-06-12 07:52:39 UTC
I think it's the first time we see this one. It is very weird as logaction is super simple.

Master_D10 #265

18:29:18 koha_1       |     #   Failed test 'search() return right number of action logs'
18:29:18 koha_1       |     #   at t/db_dependent/Koha/ActionLogs.t line 72.
18:29:18 koha_1       |     #          got: '2'
18:29:18 koha_1       |     #     expected: '1'
18:29:18 koha_1       |     # Looks like you failed 1 test of 1.
18:29:18 koha_1       | 
18:29:18 koha_1       | #   Failed test 'search() tests'
18:29:18 koha_1       | #   at t/db_dependent/Koha/ActionLogs.t line 75.
18:29:18 koha_1       | # Looks like you failed 1 test of 3.
18:29:18 koha_1       | [16:29:18] t/db_dependent/Koha/ActionLogs.t 

I don't manage to make it fail locally.
Comment 1 Victor Grousset/tuxayo 2020-06-12 18:55:51 UTC
Actually it recently failed on 19.05.x also.

https://jenkins.koha-community.org/view/19.05/job/Koha_19.05_D9/229/consoleText
koha_1       |     #   Failed test 'search() return right number of action logs'
koha_1       |     #   at t/db_dependent/Koha/ActionLogs.t line 72.
koha_1       |     #          got: '2'
koha_1       |     #     expected: '1'
koha_1       |     # Looks like you failed 1 test of 1.
koha_1       | 
koha_1       | #   Failed test 'search() tests'
koha_1       | #   at t/db_dependent/Koha/ActionLogs.t line 75.
koha_1       | # Looks like you failed 1 test of 3.
koha_1       | [14:04:13] t/db_dependent/Koha/ActionLogs.t ........................................ 
koha_1       | Dubious, test returned 1 (wstat 256, 0x100)
koha_1       | Failed 1/3 subtests 


But I couldn't reproduce locally after 10500 runs with koha-testing-docker
KOHA_IMAGE=19.05-stretch ; ku-md9