Random test failure of cache test
- Show closed items
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Cédric Krier added trytond type::crash + 1 deleted label
added trytond type::crash + 1 deleted label
- Cédric Krier assigned to @ced
assigned to @ced
- Cédric Krier added 1 deleted label and removed 1 deleted label
added 1 deleted label and removed 1 deleted label
review327461011 updated at https://codereview.tryton.org/327461011/#ps297951002
New changeset e14beb9c906c by Cédric Krier in branch 'default':
Wait cache sync after clearing cache in test
https://hg.tryton.org/trytond/rev/e14beb9c906c- Roundup Robot added 1 deleted label and removed 1 deleted label
added 1 deleted label and removed 1 deleted label
- Roundup Robot closed
closed
New changeset 799c032d713a by Cédric Krier in branch 'default':
Wait cache sync after clearing cache in test
https://hg.tryton.org/tryton-env/rev/799c032d713aNew changeset 966484cde88b by Cédric Krier in branch 'default':
Do not rely on keyword arguments order in LRUDict update test
https://hg.tryton.org/trytond/rev/966484cde88bNew changeset 7f049049c884 by Cédric Krier in branch 'default':
Do not rely on keyword arguments order in LRUDict update test
https://hg.tryton.org/tryton-env/rev/7f049049c884- Author Owner
It still happens: https://drone.tryton.org/tryton/trytond/260/13
- Cédric Krier unassigned @ced
unassigned @ced
- Cédric Krier added 1 deleted label and removed 1 deleted label
added 1 deleted label and removed 1 deleted label
- Cédric Krier reopened
reopened
- Cédric Krier assigned to @ced
assigned to @ced
- Cédric Krier added 1 deleted label and removed 1 deleted label
added 1 deleted label and removed 1 deleted label
- Author Owner
I could reproduce the failure by running manually the test on the drone host through a postgresql running on docker. The main reason for the failure is that the listener has not started to listen for postgresql notification when the test is performing the commit. review364831002 ensures to no more have racing thread concurrency when running the test (and also improve the reliability for the first transaction starting the listener).
- Cédric Krier added 1 deleted label and removed 1 deleted label
added 1 deleted label and removed 1 deleted label
- Author Owner
For the record, the problem appears mainly when the system is very buzzy and so thread takes time to start. To simulate such condition, I used the stress command.
review364831002 updated at https://codereview.tryton.org/364831002/#ps387921002
review364831002 updated at https://codereview.tryton.org/364831002/#ps376771002
New changeset a32b84d96649 by Cédric Krier in branch 'default':
Avoid concurrency failure in cache with channel test
https://hg.tryton.org/trytond/rev/a32b84d96649- Roundup Robot added 1 deleted label and removed 1 deleted label
added 1 deleted label and removed 1 deleted label
- Roundup Robot closed
closed
New changeset 9d3c42cabc32 by Cédric Krier in branch 'default':
Avoid concurrency failure in cache with channel test
https://hg.tryton.org/tryton-env/rev/9d3c42cabc32New changeset ec16c835b92e by Cédric Krier in branch '6.2':
Avoid concurrency failure in cache with channel test
https://hg.tryton.org/trytond/rev/ec16c835b92e
New changeset c35bbc670aef by Cédric Krier in branch '6.0':
Avoid concurrency failure in cache with channel test
https://hg.tryton.org/trytond/rev/c35bbc670aef- Cédric Krier mentioned in issue #11950 (closed)
mentioned in issue #11950 (closed)