@@ -320,10 +320,15 @@ def test_cpu_config_dump_vs_actual(
320
320
), f"Mismatched MSR for { key :#010x} : { actual = :#066b} vs. { dump = :#066b} "
321
321
322
322
323
- def detect_fingerprint_change (results_dir , cpu_template_helper , filters = None ):
323
+ @pytest .mark .no_block_pr
324
+ @pytest .mark .skipif (
325
+ global_props .host_linux_version not in SUPPORTED_HOST_KERNELS ,
326
+ reason = f"Supported kernels are { SUPPORTED_HOST_KERNELS } " ,
327
+ )
328
+ def test_guest_cpu_config_change (results_dir , cpu_template_helper ):
324
329
"""
325
- Compare fingerprint files with filters between one taken at the moment and
326
- a baseline file taken in a specific point in time .
330
+ Verify that the guest CPU config has not changed since the baseline
331
+ fingerprint was gathered .
327
332
"""
328
333
fname = f"fingerprint_{ global_props .cpu_codename } _{ global_props .host_linux_version } host.json"
329
334
@@ -338,23 +343,6 @@ def detect_fingerprint_change(results_dir, cpu_template_helper, filters=None):
338
343
cpu_template_helper .fingerprint_compare (
339
344
baseline_path ,
340
345
fingerprint_path ,
341
- filters ,
342
- )
343
-
344
-
345
- @pytest .mark .no_block_pr
346
- @pytest .mark .skipif (
347
- global_props .host_linux_version not in SUPPORTED_HOST_KERNELS ,
348
- reason = f"Supported kernels are { SUPPORTED_HOST_KERNELS } " ,
349
- )
350
- def test_guest_cpu_config_change (results_dir , cpu_template_helper ):
351
- """
352
- Verify that the guest CPU config has not changed since the baseline
353
- fingerprint was gathered.
354
- """
355
- detect_fingerprint_change (
356
- results_dir ,
357
- cpu_template_helper ,
358
346
["guest_cpu_config" ],
359
347
)
360
348
0 commit comments