Project

General

Profile

action #41459

Updated by okurz about 6 years ago

## Motivation 
 [boo#1063638](https://bugzilla.opensuse.org/show_bug.cgi?id=1063638) is the "openSUSE/SLE sucks bug" which kills systems performance and frustrates people and fails many openQA tests (#39059) after the feature was introduced in https://fate.suse.com/312751. Existing test modules do not show the problem(s) in an obvious enough way even though we reference the bug also in e.g. [force_scheduled_tasks](https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/tests/console/force_scheduled_tasks.pm) and without our help it seems the bug fix is going nowhere. We have already test modules like [btrfs_qgroups](https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/tests/console/btrfs_qgroups.pm) and [snapper_cleanup](https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/tests/console/snapper_cleanup.pm) which we should complement by more test coverage to explicitly cover the system performance impact. 


 ## Acceptance criteria 
 * **AC1:** Tests explicitly reproduce [boo#1063638](https://bugzilla.opensuse.org/show_bug.cgi?id=1063638) on SLE12 SLE12SP4 


 ## Suggestions 

 * Review existing test modules [force_scheduled_tasks](https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/tests/console/force_scheduled_tasks.pm), [btrfs_qgroups](https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/tests/console/btrfs_qgroups.pm) and [snapper_cleanup](https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/tests/console/snapper_cleanup.pm) 
 * Create a new test module that reproduces the bug, e.g. try to fill up the disk a lot, create snapshots, delete fill-up data again, repeat, then trigger the maintenance tasks as in [force_scheduled_tasks](https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/tests/console/force_scheduled_tasks.pm) and measure the load impact

Back