numa_memory: Fix Python 3.13 compatibility and add numad availability#16
numa_memory: Fix Python 3.13 compatibility and add numad availability#16sneh-3 wants to merge 1 commit into
Conversation
|
avocado run type_specific.io-github-autotest-libvirt.numa_memory.possitive_test.no_vcpu.mem_auto --vt-type libvirt --vt-guest-os SLES.16.1.ppc64le --vt-machine-type ppc64le |
1c6eb0b to
9d69af0
Compare
… check This patch addresses two critical issues in the NUMA memory test suite: 1. Python 3.13 SyntaxWarning for invalid escape sequences in regex patterns 2. Test failures when numad package is not installed on the system Also Changed TestError to test.cancel for empty node_list scenarios and When numad is not installed and no NUMA nodes available, skip test Signed-off-by: Sneh Shikha Yadav <syadav@linux.ibm.com>
9d69af0 to
5cfb6f9
Compare
This patch addresses two critical issues in the NUMA memory test suite:
Python 3.13 SyntaxWarning for invalid escape sequences in regex patterns
Test failures when numad package is not installed on the system
v2:
numa_memory: fix numa_mode_check logic
Fix incorrect logic in numa_mode_check(): check entire numa_maps
content instead of per-line matching to avoid false failures
Import exceptions from avocado.core and use TestSkipError for
missing NUMA nodes
Remove silent try/except fallback to expose real failures
Use libvirt_numa.convert_all_nodes_to_string() to avoid incorrect
range parsing
Signed-off-by: Sneh Shikha Yadav syadav@linux.ibm.com