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

4628 Коммитов

Автор SHA1 Сообщение Дата
mcgov 27cd0345db
SRIOV: allow old sriov switch behavior that doesn't kill connection (#2294) 2022-10-03 14:07:22 -07:00
Chi Song 11e56c922c azure: handle failure patterns when validating 2022-10-03 10:00:35 -07:00
Chi Song 95b82fe598 test: lisa runner: fix awaitable messages.
With new implementation, the awaitable resource has a different error
message with normal no available capability.
2022-10-03 10:00:35 -07:00
Chi Song fa007d383a Runner: add log to know the cancelled reason. 2022-10-03 10:00:35 -07:00
Chi Song f7d6b896af test: azure prepare: remove to set nodes raw 2022-10-03 10:00:35 -07:00
Chi Song 7e535f0261 test: azure prepare use original 2022-10-03 10:00:35 -07:00
Chi Song fe15b59c9d UT: runner: set awaitable timeout to 0 2022-10-03 10:00:35 -07:00
Chi Song 3472edf1fa runner: support awaitable on deploy phase. 2022-10-03 10:00:35 -07:00
Chi Song dcf4eceb1d env: support reset state to new 2022-10-03 10:00:35 -07:00
Chi Song 098bf1d687 runner: change await timeout to collection.
The awaitable timeout happens on different places, it's not easy and
unnecessary to check the timeout state together. So use a collection to
track them independently.
2022-10-03 10:00:35 -07:00
Chi Song b9ca2dd0e2 Azure: raise awaitable exceptions. 2022-10-03 10:00:35 -07:00
Chi Song b1d1911a78 context: support remove 2022-10-03 10:00:35 -07:00
Chi Song e33abc02eb lisa runner: wait resource on prepare phase 2022-10-03 10:00:35 -07:00
Chi Song 5dc84c7c8c runner: support awaitable config and basic logic 2022-10-03 10:00:35 -07:00
Chi Song 352745b71d timer: support reset 2022-10-03 10:00:35 -07:00
Chi Song d429c98d3a runner: reduce duplicate logs. 2022-10-03 10:00:35 -07:00
Chi Song 019ab63a37 runner: refactoring prepare environment. 2022-10-03 10:00:35 -07:00
Chi Song ba578b3a37 Add wait resource timeout variable 2022-10-03 10:00:35 -07:00
Chi Song 70ea7518a5 Exception: add args to ResourceAwaitableException 2022-10-03 10:00:35 -07:00
Chi Song b224316a43 runner: refactoring on renaming 2022-10-03 10:00:35 -07:00
Divyansh Srivastava 09568a9c3d Set Ephermeral disk present only if above threshold size 2022-10-02 02:44:26 +05:30
mcgov e1644ff0b0
fix broken OVS version checking (#2287) 2022-09-29 14:20:15 -07:00
lubaihua33 95fe4f9e98 Move the kernel config check to the first so it can determine if the
distro supports kdump by introducing the KdumpBase tool
2022-09-29 08:56:21 -07:00
mcgov 0583eb3c2b
DPDK: re-add min_core_count (#2286)
verify_build tests remove isolated resource but still need core count
arg.

defensively add this arg back to the other DPDK tests which require it.
2022-09-28 20:27:11 -07:00
Lili Deng ee1db3647b add verify_resource_disk_readme_file and verify_resource_disk_file_system 2022-09-29 10:20:16 +08:00
Lili Deng 7d5cb1e306 move get_resource_disk_mount_point to common file 2022-09-29 10:20:16 +08:00
Lili Deng 031385ed4b add fstype for lsblk tool 2022-09-29 10:20:16 +08:00
Anirudh Rayabharam 3693e2366c Add a VM create stress test for the MSHV stack
Introduce a new test suite for testing the MSHV root partition. Add a
test case that creates and destroys multiple VMs in parallel and repeats
this multiple times to stress the virtualization stack.

Signed-off-by: Anirudh Rayabharam <anrayabh@microsoft.com>
2022-09-28 09:13:58 +05:30
mcgov 6c582cfa83
fix qemu killing issue (#2282) 2022-09-27 16:36:11 -07:00
Kameron Carr 66949fe2a1 Allow for CVM Disk Encryption 2022-09-27 15:13:01 -07:00
Lili Deng 519d2b9062 skip testing when gen2 vhd/image used 2022-09-27 12:48:45 -06:00
Lili Deng 0742ded8b0 update boot into secureboot 2022-09-27 12:48:45 -06:00
Divyansh Srivastava cf453c850f Update to use Cache Ephemeral disk
ResourceDisk size can be limited to less than marketplace image size leading to test failures
2022-09-27 12:48:02 -06:00
SrikanthMyakam 85a9992549
git.get_latest_commit_id() added. (#2272)
Co-authored-by: srikanth <smyakam@microsoft.com>
2022-09-26 20:47:03 -07:00
Lili Deng 17ddcfaf47 install unattended-upgrades when no unattended-upgrade command 2022-09-26 08:57:52 +08:00
Lili Deng 3202363a63 extend timeout for unattended-upgrade 2022-09-26 08:57:52 +08:00
Lili Deng 00bdd24680 add update_packages for RPMDistro 2022-09-26 08:57:52 +08:00
Lili Deng bc35ea1dbf skip exception when resize from x64 cpu Architecture to arm64 2022-09-26 08:57:09 +08:00
Lili Deng e6f093fc1a add sync after making partitions disk and throw exception if no partitions found 2022-09-26 08:53:31 +08:00
Lili Deng 87a1c61634 add one more pattern which can be ignorable 2022-09-26 08:53:31 +08:00
Lili Deng 77a7508e65 attach one nic if only one nic attached, and select non eth0 nic for testing 2022-09-23 09:40:59 -06:00
Lili Deng 857f47d9f0 fix a bug when calculate sriov nic count 2022-09-23 09:40:29 -06:00
mcgov cd7731a960
DPDK: reorder priority and requirements (#2265)
allow verify_build to run without isolated resource

reorder tertiary functional tests to pri 4
2022-09-22 14:51:12 -07:00
Lili Deng 8bf5232b6a add negative example for output of lscpu 2022-09-21 21:03:30 -06:00
Yi ad674f3b01
create a bash script for create service principal from linux (#2260)
* create a bash script for create service principal from linux

* remove v2 from default identifier
2022-09-20 16:03:57 -07:00
Lili Deng 0163bf3c7b fix regression for lscpu 2022-09-20 19:07:43 +08:00
lubaihua33 0c90035f14 Restart kdump service after reboot if the dump path is not /var/crash 2022-09-20 09:29:14 +08:00
Lili Deng 10fa8dff95 extend time when run sbinfo and replace repro when install packages on debian. 2022-09-19 23:04:29 +08:00
Lili Deng 581a472266 add apt update for debian after adding repo 2022-09-19 23:04:29 +08:00
Chi Song e3dc795296 fix repo info is not in log file 2022-09-18 16:37:09 -06:00