Граф коммитов

6013 Коммитов

Автор SHA1 Сообщение Дата
Bala 2383a6c45d
Account the new kernel config for kexec (#3355)
* Account the new kernel config for kexec

A new kernel config, CONFIG_KEXEC_FILE is introduced in recent kernel
version. This config introduces a safer systemcall to load a kexec
kernel. Now kexec kernel can be loaded by both the old and the new
systemcalls. So, kdump test should check for either of KEXEC or
KEXEC_FILE config for determining the kernel's ability.

* Make the exception message more readable

* Update kdump.py to maintain code consistency
2024-08-01 00:00:41 +08:00
Smit Gardhariya a473761b71
Set userland-proxy as false for azure-linux-3 (#3359)
Set userland-proxy as false for cloud-hypervisor
tests for azure-linux-3

Signed-off-by: Smit Gardhariya <sgardhariya@microsoft.com>
2024-07-27 17:21:28 +05:30
Smit Gardhariya b36d2858ec
Install AZL3 packages for QEMU platform (#3358)
Signed-off-by: Smit Gardhariya <sgardhariya@microsoft.com>
2024-07-27 12:03:45 +05:30
Kameron Carr bbe732184e Allow max_data_disk_count to work with maximize_capability
Currently maximize_capability breaks any test cases that rely on max_data_disk_count. Trying to manually set the value in the runbook creates a 'no quota available' error.

These changes make the default value (0,) instead of None, allowing a passed in value to merge with max_capability value.
2024-07-23 23:00:29 +08:00
John Feng 8777594049 skip mariner3 and add timeout to wait_operation() 2024-07-19 13:45:35 +08:00
feng-j678 ae7f12e10f
Johnf/skip unsupported images (#3352)
* add OS imports

* add condition to skip sles and mariner 2

* remove unused comments and add skipexception for checking vm agent service

* remove unused code
2024-07-18 14:35:39 +08:00
lubaihua33 a10c5fa6aa Add subscription in SigTransformerSchema to cover that vhd is in other sub 2024-07-17 09:01:17 +08:00
kanchansenlaskar 8b309ffef5
Perform CPU pinning if more than one numa nodes (#3350) 2024-07-16 15:53:25 +05:30
Aditya Nagesh 40bcef868c Hibernation: Fix Max disks testcase 2024-07-15 13:37:15 +05:30
Lili Deng 595b0407bf add use shell, to make sure tool path is available 2024-07-15 10:13:00 +08:00
Lili Deng b8b42de5ae Add set_kill_user_processes to disable KillUserProcesses to avoid test processes being terminated when the SSH session is reset 2024-07-15 09:36:27 +08:00
Lili Deng 547a563404 skip run dhclient if it doesn't exist 2024-07-13 13:59:32 +08:00
lubaihua33 94e57d922e Add subscription in vhdSchema to support that vhd is in another subscription 2024-07-12 19:10:23 +08:00
Aditya Nagesh edda883849
Add method to increase os partition for Redhat LVM (#3338)
* Add method to increase os partition for Redhat LVM

Newer Redhat Distro uses LVM, Hence using osdisk_size increases the disk size
but not the os partition size. This method increases the root partition size
2024-07-11 12:57:53 +05:30
Lili Deng 24f497e8f4 fix install meson and ninja-build packages on oracle 2024-07-11 13:20:13 +08:00
Kameron Carr 7687e823ef Availability Zones use Standard IP
Resolves error:

```
ZonesNotAllowedInBasicSkuResource: Request for resource *** is invalid as it is Basic sku and in an Availability Zone which is a deprecated configuration.  Please change your resource to Standard sku for Availability Zone support
```
2024-07-09 20:19:36 -07:00
John Feng c01415115c quick fix for list out of range error 2024-07-09 16:42:15 +08:00
Lili Deng 4378094bc4 retry to run nvidia-smi with sudo 2024-07-08 14:10:38 +08:00
Lili Deng 9f44ab98d9 replace deprecated centos7 repo 2024-07-08 13:07:33 +08:00
panfengxue 303c0a32c5 add install from artifact support for ltp 2024-07-07 21:38:30 -07:00
feng-j678 e70b88d703
Johnf/fix 1804 assertion (#3333)
* resolved ubuntu1804 assertion error

* add comment to why setting error code 1
2024-07-05 14:20:59 +08:00
Lili Deng a7b42b5917 gpu: remove the nvidia modules to release the GPU devices in used. 2024-07-05 09:24:43 +08:00
rydailey c4ae0c5aa7 updated msg_level test case unsupported_os 2024-07-03 18:47:22 -07:00
Lili Deng 3ca8f72244 set disk_controller_type for checking scsi disk timeout case 2024-07-03 10:01:03 +08:00
Kameron Carr 5117163e83 StartStop use_public_address
The StartStop feature should honor the `use_public_address` settings in the runbook.
2024-07-02 17:27:50 -07:00
Aditya Nagesh 8250a77084 Hibernation: Enable for Bsv2 2024-07-02 14:11:44 +05:30
Lili Deng 9de078a1b1 serial console: remove unused token 2024-06-27 19:04:28 +08:00
Chi Song (from Dev Box) cf432ea980 test: fix serial console is not closed exception 2024-06-26 13:01:21 +08:00
Chi Song (from Dev Box) 9581d80b5f test: fix serial console auth needed. 2024-06-26 13:01:21 +08:00
Lili Deng 57055c4194 remove storage account's dependency 2024-06-25 14:31:43 +08:00
kanchansenlaskar d5dd451b7c
Tool to check supported hugepagesize (#3314) 2024-06-25 09:10:42 +05:30
Lili Deng 7d2cffa3d3 remove support for ol images 2024-06-25 10:01:10 +08:00
Kameron Carr 57d94187eb Explicitly set availability type value 2024-06-21 12:06:25 -07:00
Lili Deng 3fc508653c gpu: change download link 2024-06-20 09:07:32 +08:00
Minghe Ren c97b143700
modify cloud-init error pattern (#3320)
* modify cloud-init error pattern

* modify cloud-init error pattern

* modify cloud-init error pattern

* modify cloud-init error pattern
2024-06-19 12:23:45 +08:00
Lili Deng 0e37ed0730 get hyperv_generation for shared gallery image 2024-06-17 13:28:27 +08:00
Lili Deng 4f91209c91 SecurityProfileType: shared gallery image secureboot is TrustedLaunch 2024-06-17 13:28:27 +08:00
Lili Deng 173bc1fe30 Downgrading cases which needs storage accounts key priority from 3 to 5 2024-06-15 09:04:11 +08:00
Lili Deng 111cf65c5f Azure file share: change cases priority into 5 2024-06-12 23:42:47 +08:00
Lili Deng 2ba549a921 add tags for azure resources 2024-06-12 23:42:34 +08:00
lanbofang 70b38c993f
update bvt test for KVVM Ext (#3308)
* update bvt test for kv-vm-ext

* updates

* flake8
2024-06-11 21:59:56 +08:00
Smit Gardhariya 278d2c9535
tests: Add docker/dmesg logs in after_case for CLH test (#3313)
Collect journalctl docker logs and dmesg log for CLH test
under after_case

Sometime, we miss the dmesg logs because of serial console
as we collect dmesg only if serial console is not there.
For baremetal run, serail console logs are not whole and
we miss the logs.

Signed-off-by: Smit Gardhariya <sgardhariya@microsoft.com>
2024-06-11 08:18:21 +05:30
Lili Deng 95c09ff7d5 Explicitly specify default parameter names 2024-06-05 12:14:08 +08:00
Aditya Nagesh 167a5035a3 Update azure storage file-share sdk to 12.16.0 2024-06-05 09:09:51 +05:30
Purna Pavan Chandra Aekkaladevi f09a11555e libvirt_tck_tool: Increase timeout for Reboot
These tests are usually run on server grade machines and it might take
longer time for the machine to reboot. Hence, increase the reboot
timeout
2024-06-04 21:30:22 +05:30
Lili Deng 6efdb9bc19 fix test skip issue for SCSI disk controller type when it is gen2 image 2024-05-31 11:16:54 +08:00
Kameron Carr 73a075fdbd Update platform.rst
Specify that the virtual network parameters are under the AzurePlatformSchema, not the PlatformSchema
2024-05-31 10:09:40 +08:00
lubaihua33 ddb73fc010 Add some actions for AITL role definition 2024-05-31 08:22:22 +08:00
Yi da9fceb9e8
update requests version for fixing vul item (#3304)
* update requests version for fixing vul item
2024-05-28 13:12:20 -07:00
Kameron Carr efbb1f4635 Revert Architecture Type key
Mistakenly changed in 2e7180d6e2
2024-05-27 08:51:22 +08:00