[MDEV-27134] Test main.cte_nonrecursive on sporadic failures Created: 2021-11-28 Updated: 2021-11-29 Resolved: 2021-11-29 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Tests |
| Affects Version/s: | None |
| Fix Version/s: | 10.3.33, 10.4.23, 10.5.14, 10.6.6, 10.7.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | Otto Kekäläinen | Assignee: | Marko Mäkelä |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
I've noticed several times failures of the main.cte_nonrecursive test. They usually don't repeat when restarting the test, so they seem sporadic. Example:
Occurences:
I've seen this failure on MariaDB 10.4 a couple of times too, so I don't think it is specific for 10.6. |
| Comments |
| Comment by Marko Mäkelä [ 2021-11-29 ] | ||||||||||||||||||||||||||||||||||||||||||||||
|
otto, I see that the test is executing several DROP DATABASE. The problematic one in your report is
I remember that monty has stated earlier (related to versioning tests) that the test database should never be dropped or re-created. That is, this failure could be worked around by slightly changing the test. It would be helpful to know which files existed in the directory when it was not empty, so that we would know which earlier test might have left some garbage files behind in that directory. In 10.6, the culprit should not be InnoDB ( I made a quick attempt based on https://salsa.debian.org/mariadb-team/mariadb-server/-/jobs/2225231/raw as follows:
Unfortunately, the test main.cte_nonrecursive always passed on my system. I attempted it 3 times. | ||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Marko Mäkelä [ 2021-11-29 ] | ||||||||||||||||||||||||||||||||||||||||||||||
|
otto, would the following change to the test fix the failure?
| ||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Marko Mäkelä [ 2021-11-29 ] | ||||||||||||||||||||||||||||||||||||||||||||||
|
I pushed the test case cleanup to 10.3 and merged to all later-vesion branches. |