[MDEV-17076] Tell MTR to not save data-dirs and core files Created: 2018-08-27 Updated: 2020-07-27 Resolved: 2020-07-27 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Tests |
| Affects Version/s: | 5.5.61, 10.0.36 |
| Fix Version/s: | 10.1.46 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Teodor Mircea Ionita (Inactive) | Assignee: | Daniel Black |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | buildbot | ||
| Issue Links: |
|
||||||||
| Description |
|
Currently there's no way of running the test suite without generating some cruft files like the var datadirs and core dumps. This turns into a problem when running in memory with --mem and /dev/shm fills up pretty quickly with no obvious way of cleaning up; besides manual removal from the shared memory directory. Currently --max-save-datadir and max-save-core only accept a positive numerical value or 0 which means unlimited. Problem encountered on normal Buildbot workers running bare bone builds that are not discardable like KVM machines or Docker images. |
| Comments |
| Comment by Teodor Mircea Ionita (Inactive) [ 2018-10-22 ] |
|
I managed to fix this Buildbot-wise, however, is this something we'd want for other use cases? Or not worth modifying the script interface for this? See discussion at PR #854 |
| Comment by Daniel Black [ 2020-07-22 ] |
|
Alternate PR #1633 |