Kdump crash uses node_exec to retrieve total memory.
This patch adds support in Free tool to retrieve total memory and
Kdump test is modified to use the tool.
Free is executed with parameter --si to get consistent output
* Added cvm testcases, dmesg get_isolation_config()
Added test that checks devices on guest
Added test that checks isolation config on guest
Added get_isolation_config function to dmesg tool
* moved get_isolation_config logic
moved logic from dmesg.py into cvm.py due to this logic being
only used in cvm.py
* removed unnecessary requirements and clarification
* reworked regex logic
* added cvmEnabled requirement
* fix import order
* expand config_b logic and add comments
When features are merged, the check is called to make sure the overlap
of intersect is right scope on each req. But the feature is special, it
needs some hacks on current infra to merge correctly.
With this fix,
1. The features will be concatenated into platform req in lisa runner.
2. The platform features is taken in node space intersect.
3. The features are actually merged in the azure platform.
The features will be added when call "intersect", and actual merged in
platform. The reason is the platform knows feature subtype.
It can be refined in future to load feature type better and earlier.
Create a tool for `usermod` command and implement a function to add
a user to a group. Refactor usages of `usermod` command in
libvirt_tck_tool and libvirt installer to use the newly created tool.
Signed-off-by: Anirudh Rayabharam <anrayabh@microsoft.com>
- Separate set of expected failures
- Modify /etc/libvirt/qemu.conf to configure libvirt to run qemu
as root. Otherwise multiple tests fail with permission errors.
- Use hidepid=0 for /proc filesystem while mounting.
- Start libvirtd explicitly since it is always in failed state after
boot in Mariner.
- Use cpanminus instead of cpan to install libvirt-tck dependencies.
Signed-off-by: Anirudh Rayabharam <anrayabh@microsoft.com>
- Use hidepid=0 for /proc in /etc/fstab. Without this remote connections
to libvirt fail
- Install qemu-kvm from preview repo which includes missing firmware
files.
- Add current user to libvirt group
- Add qemu user to the current user's group
Signed-off-by: Anirudh Rayabharam <anrayabh@microsoft.com>
SecurityType now detects both secure boot and CVM capabilities of the VM SKU. These capabilities are intersected with testcase requirements and runbook requirements. Then the lowest security option is selected and the arm template is updated appropriately.
* install fio from package firstly, and add libaio-devel when compile fio
for suse
* SUSE uses nfs-server service.
* Extend timeout of installing packages.
* decompress zst format file on sles15sp4
Test case 'verify_cpu_offline_storage_workload' checks if fio process
exists after cpu hotplug.
The test fails when the number of cores in SKU is high since
the fio process exits before the cpu hotplug operation.
This increase in time does not affect the total duration of the
test as the tests kills the process.
console enabled log may get flushed from dmesg.
Hence check for pattern in /var/log/messages or
/var/log/syslog.
Change assert statement for better error readability