Ensure one system_prepare loaded for migration continuous test
Related test job https://openqa.suse.de/tests/12800932#step/system_prepare#1/1
This test follow the main.pm, so need check the module load conditions to check why this module loaded twice.
AC1 : Update module load conditions to make sure only one system_prepare loaded
Updated by tinawang123 3 months ago
For offline migration it includes 'system_prepare' test modules by default. But if it adds setting 'PUBLISH_HDD_1', it will load 'load_create_hdd_tests' this one will load 'load_system_prepare_tests'. For 'load_system_prepare_tests', this one also include 'system_prepare' testing. This load module will be used widely. For online migration, it doesn't include 'system_prepare' test modules by default. So for online if we add setting 'PUBLISH_HDD_1', it will load 'system_prepare' first time. As the 'lib/main_common.pm' and 'products/sle/main.pm' are very enormous. I suggest if we want to fix this ticket problem. We need use yaml file for this offline migration with 'PUBLISH_HDD_1' setting.