Summary: | DecreaseLoanHighHolds.t is still failing randomly | ||
---|---|---|---|
Product: | Koha | Reporter: | Jonathan Druart <jonathan.druart> |
Component: | Test Suite | Assignee: | Jonathan Druart <jonathan.druart> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | normal | ||
Priority: | P5 - low | CC: | fridolin.somers, nick, victor |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25824 | ||
GIT URL: | Change sponsored?: | --- | |
Patch complexity: | --- | Documentation contact: | |
Documentation submission: | Text to go in the release notes: | ||
Version(s) released in: | Circulation function: | ||
Bug Depends on: | 19423 | ||
Bug Blocks: | 25551, 21086 | ||
Attachments: | Bug 19705: Try to fix random failures from DecreaseLoanHighHolds.t |
Description
Jonathan Druart
2017-11-27 22:34:43 UTC
https://jenkins.koha-community.org/job/Koha_Master_D8/338/console # Failed test 'Static mode should exceed threshold' # at t/db_dependent/DecreaseLoanHighHolds.t line 125. # got: '0' # expected: '1' # Failed test 'Should have duration of 1' # at t/db_dependent/DecreaseLoanHighHolds.t line 127. # got: '0' # expected: '1' # Failed test 'due_date should be a DateTime object' # at t/db_dependent/DecreaseLoanHighHolds.t line 128. # got: '' # expected: 'DateTime' Can't call method "hour" on an undefined value at t/db_dependent/DecreaseLoanHighHolds.t line 131. # Looks like your test exited with 255 just after 5. [19:20:17] t/db_dependent/DecreaseLoanHighHolds.t ......................... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 15/17 subtests Created attachment 70863 [details] [review] Bug 19705: Try to fix random failures from DecreaseLoanHighHolds.t No idea if it will do the trick, wait and see... Pushed to master for 18.05 Awesome work all! Pushed to stable for 17.11.03 Pushed to 17.05.x for v17.05.09 It did not work, still failing: https://jenkins.koha-community.org/job/Koha_17.05_D8/lastCompletedBuild/console # Failed test 'Static mode should exceed threshold' # at t/db_dependent/DecreaseLoanHighHolds.t line 130. # got: '0' # expected: '1' # Failed test 'Should have duration of 1' # at t/db_dependent/DecreaseLoanHighHolds.t line 132. # got: '0' # expected: '1' # Failed test 'due_date should be a DateTime object' # at t/db_dependent/DecreaseLoanHighHolds.t line 133. # got: '' # expected: 'DateTime' Can't call method "hour" on an undefined value at t/db_dependent/DecreaseLoanHighHolds.t line 136. # Looks like your test exited with 255 just after 5. [12:10:51] t/db_dependent/DecreaseLoanHighHolds.t ......................... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 15/17 subtests [12:10:52] t/db_dependent/SIP/SI Again, D9 run #795 koha_1 | # Failed test 'Static mode should exceed threshold' koha_1 | # at t/db_dependent/DecreaseLoanHighHolds.t line 131. koha_1 | # got: '0' koha_1 | # expected: '1' koha_1 | koha_1 | # Failed test 'Should have duration of 1' koha_1 | # at t/db_dependent/DecreaseLoanHighHolds.t line 133. koha_1 | # got: '0' koha_1 | # expected: '1' koha_1 | koha_1 | # Failed test 'due_date should be a DateTime object' koha_1 | # at t/db_dependent/DecreaseLoanHighHolds.t line 134. koha_1 | # got: '' koha_1 | # expected: 'DateTime' koha_1 | Can't call method "hour" on an undefined value at t/db_dependent/DecreaseLoanHighHolds.t line 137. koha_1 | # Looks like your test exited with 11 just after 5. koha_1 | [16:03:37] t/db_dependent/DecreaseLoanHighHolds.t After 188 local run I could reproduce on 19.05.x the failure that happening on this build: https://jenkins.koha-community.org/view/19.05/job/Koha_19.05_D9/229/consoleText t/db_dependent/DecreaseLoanHighHolds.t .. 2/17 # Failed test 'Static mode should exceed threshold' # at t/db_dependent/DecreaseLoanHighHolds.t line 131. # got: '0' # expected: '1' # Failed test 'Should have duration of 1' # at t/db_dependent/DecreaseLoanHighHolds.t line 133. # got: '0' # expected: '1' # Failed test 'due_date should be a DateTime object' # at t/db_dependent/DecreaseLoanHighHolds.t line 134. # got: '' # expected: 'DateTime' Can't call method "hour" on an undefined value at t/db_dependent/DecreaseLoanHighHolds.t line 137. # Looks like your test exited with 11 just after 5. t/db_dependent/DecreaseLoanHighHolds.t .. Dubious, test returned 11 (wstat 2816, 0xb00) It was like 30 min, so not so hard to reproduce (assuming it wasn't huge luck) Happens also in Ubuntu 18.04 for 19.05.x branch. (if that can help) https://jenkins.koha-community.org/job/Koha_19.05_U18/236/consoleText It's the second time a few days. It's good that it's not a rare issue. Victor, bug reports marked as pushed to a version that has been released already should not be reopened. Please open a new bug report instead. ok sorry, here it is: bug 25824 |