[MDEV-25199] galera.galera_pc_recovery fails to start up Created: 2021-03-19 Updated: 2024-01-05 |
|
| Status: | Stalled |
| Project: | MariaDB Server |
| Component/s: | Galera |
| Affects Version/s: | 10.4, 10.5, 10.6 |
| Fix Version/s: | 10.4, 10.5 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Marko Mäkelä | Assignee: | Sergei Golubchik |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | hang, recovery | ||
| Issue Links: |
|
||||||||
| Description |
|
The test galera.galera_pc_recovery fails to start up. Due to a deficiency of mtr, this failure is not flagged on buildbot. Locally, I can repeat this at least starting with 10.4 (not sure about 10.2 and 10.3).
In var/48/log/mysqld.1.err there is evidence of this test starting up:
In var/log/stdout.log there is no occurrence of galera.galera_pc_recovery. The mysqld.2.err ends in the following:
The last lines in mysqld.1.err were sent before those timestamps:
The test ended at 11:24:16. |
| Comments |
| Comment by Jan Lindström (Inactive) [ 2021-04-14 ] | ||
|
Yurchenko Can you have a look of this. First server does not even start, it could be that mtr is not ready for such test or there is a bug on test/code. | ||
| Comment by Anel Husakovic [ 2021-04-14 ] | ||
|
"can’t count" error: Take any test (or 20 tests), put "foo" in their opt or cnf file, and here you go | ||
| Comment by Alexey [ 2021-09-22 ] | ||
|
This looks like a bug in the MTR framework, specifically it prevents one of the following statements of the test to have effect:
Which of those statements fails to have effect (a node is not restarted) is up to a race, so if you put a sleep between those, you will have a consistent failure in the second. The bug was introduced in the merge commit e841957416e9287d1e9b2e32c952d6d0c1a2e2ed which in turn brings in a bunch of MTR-related commits from 10.2, see c4f0133444d2a867ee79f5c16b9d7829a05861cd..7fe351aba4e4e17e1be2599fa36ff73a0ce103f9 10.2 does not have `galera_pc_recovery` test, so that allowed the bug to sneak in. At this point I believe it would be most efficient to assign this issue to the author of these changes (Sergei) or whoever else is skilled in MTR internals. | ||
| Comment by Jan Lindström [ 2024-01-05 ] | ||
|
serg Please refer comment from Alexey. |