[Koha-devel] Deadlock issues when running the tests in parallel, and maybe not only in the tests?

Victor Grousset/tuxayo victor at tuxayo.net
Tue May 25 18:05:52 CEST 2021


Hi :)

On 21-05-25 18:00, Joonas Kylmälä wrote:
> Hmm, based on the line
> https://gitlab.com/koha-community/koha-testing-docker/-/blob/master/files/run.sh#L204
> I would think the ENV variable is actually set so maybe it is not this.
> Any more info on the tables it locks on?

I did yet processed your previous message but here quickly the error 
messages. Important info, it has been ran on 19.11.x

t/db_dependent/Charset.t ................................................ ok
===(    4190;485  797/?  0/?  17/47   2/15 
)============================DBD::mysql::db do failed: Deadlock found 
when trying to get lock; try restarting transaction [for Statement 
"DELETE FROM issues"] at t/db_dependent/Circulation/Branch.t line 49.
===(    4191;486  797/?  0/?  17/47   3/15 
)============================DBD::mysql::db do failed: Deadlock found 
when trying to get lock; try restarting transaction [for Statement 
"DELETE FROM items"] at t/db_dependent/Circulation.t line 1174.
     # No tests run!

#   Failed test 'No tests run for subtest 
"AllowRenewalIfOtherItemsAvailable tests"'
#   at t/db_dependent/Circulation.t line 1269.
DBD::mysql::db do failed: Deadlock found when trying to get lock; try 
restarting transaction [for Statement "DELETE FROM items"] at 
t/db_dependent/Circulation.t line 1174.
# Looks like your test exited with 255 just after 18.
t/db_dependent/Circulation.t 
............................................ Dubious, test returned 255 
(wstat 65280, 0xff00)






-- 
Victor Grousset/tuxayo


More information about the Koha-devel mailing list