[MDEV-9730] Re-enable Spider tests in Debian git tree Created: 2016-03-15 Updated: 2023-04-14 |
|
| Status: | Stalled |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - Spider |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Yuchen Pei |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Sprint: | 2017-02, 10.1.22 | ||||||||
| Description |
|
Spider tests require more resources than usual tests. Sergei Vojtovich made this estimation:
Usually Spider tests pass in MariaDB build-bot, but often fail in Debian build-bot. Otto disabled the following tests (see
See here for details: We should somehow make these tests pass and re-enable them. One of the ideas is to run resource hangry tests without using threads, in a separate run.
Kentoku proposed this solution:
|
| Comments |
| Comment by Jacob Mathew (Inactive) [ 2017-02-27 ] | ||
|
I am implementing Sergei Golubchik's proposed solution, even though it requires more changes then Kentoku's solution. The tests are more meaningful if they are run with a configuration that is more like a real end user's configuration, not using a configuration that no real end user will actually use. A test is marked as a big test by including the line
in its .test file. A test that is marked as a big test is run only if the mysql-test option for big tests
is used, or if the environment variable BIG_TEST is set to 1. | ||
| Comment by Jacob Mathew (Inactive) [ 2017-02-28 ] | ||
|
To test the effect of inserting the additional include file at the beginning of a test, I added that change to 8 tests in just the spider/bg suite, which consists of 14 tests. Without the --big-test option, the 8 tests marked as big tests are skipped. With the --big-test option specified once, all 14 tests are run. With the --big-test option specified twice, the 6 tests not marked as big tests are skipped. With the --big-test option specified thrice, the behavior is the same as when that option is specified twice. Evidently, this change has exactly the desired effect. | ||
| Comment by Jacob Mathew (Inactive) [ 2017-02-28 ] | ||
|
At this point, I need to know precisely which of the Spider tests need to be marked as big tests. According to the unstable_tests list, all Spider tests (spider.*) consume too much memory. So, should all Spider tests be marked as big tests? Also, do the 8 spider/bg tests listed in unstable_tests need to remain in that list? Or, should the 2 tests listed as failing due to bug | ||
| Comment by Jacob Mathew (Inactive) [ 2017-03-01 ] | ||
|
We need more information about the test failures on Debian to know which Spider tests need to be marked as big tests. There are also other ways to run the Spider tests separately that we should consider as well. We also need to know exactly what Debian wants from us in addressing the Spider test failures. The best source for this information is Vicentiu's contact Otto at Debian. Vicentiu is contacting Otto to get this information. Once we have this information, we can make a more informed decision about how to proceed with this issue. |