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

4888 Коммитов

Автор SHA1 Сообщение Дата
Chi Song dffe8cd810 Azure: fix SIG resource group name is not used. 2022-10-31 09:11:38 -07:00
Lili Deng d20a42384f change the return code expected value into [1, 22] list 2022-10-31 14:03:21 +08:00
Lili Deng ea22786a9b skip lisa installation testing when kernel version is unsupported 2022-10-31 13:50:54 +08:00
Lili Deng 4ea8464c9e add missing force_run 2022-10-30 21:19:24 +08:00
Francisco Muñoz dd316b5d53 Add Standard Dv5 VM to list of VMs without a resource disk 2022-10-29 09:42:46 +08:00
Lili Deng 55eead1cbf get dhcp timeout value from networkmanager config 2022-10-29 09:16:18 +08:00
Chi Song f7c1a623be Azure: implement extension feature 2022-10-28 16:15:40 -07:00
mcgov 934c716e56
SRIOV: prefer /dev/random over /dev/zero (#2338)
Johnson pointed out using random data might be better than 0 to avoid weird optimization issues. Swap /dev/zero to /dev/random (urandom might be slow if we run out of entropy)
2022-10-28 12:28:13 -07:00
Anirudh Rayabharam 42b14a8a4c Fix ssh sessions issue in mshv_stress_vm_create test 2022-10-28 08:59:03 -07:00
Lili Deng 5f597d2b6c Use raw disks for premium storage perf testing. 2022-10-28 09:26:57 +08:00
mcgov 6419d9e9c1
Mariner: skip serial_console_enabled test (#2346)
The issue with this test in 1.0 has been closed as 'wont fix'
Serial console still works, just the message isn't always logged.
2022-10-27 15:45:07 -07:00
Purna Pavan Chandra Aekkaladevi 64efb8b19b Lagscope: Run server as async instead of '-D'
This way server logs are also printed and is useful for debugging
2022-10-27 12:24:34 -07:00
Smit Gardhariya 451d9759de
FIO Testcase addition to LISA (#2325)
* FIO Testcase addition to LISA

* PR Review changes : added 'unknown' in enum and defaulting it in perf_disk
2022-10-26 19:33:26 +05:30
Lili Deng 0e4c81f405 no need to set task max and reboot VM when connection less than 20480 2022-10-26 08:07:54 +08:00
mcgov af2d458b54
fix dd arguments (#2337)
count=0 and seek=big doesn't work on all platforms and can result in a 0 sized file.

switch to using /dev/zero and a big block size, count =1
2022-10-25 13:09:31 -07:00
Lili Deng 66ffb3435d remove hid_hyperv from necessary modules checklist on azure platform 2022-10-25 08:11:30 +08:00
Chris Gunn 0f3d46a196 Implement StartStop feature for Libvirt orchestrator.
As part of this change, the libvirt connection object is now kept
around long-term. This is required so that re-attaching the console
logger works correctly. (Though in reality, it was already effectively
kept around because of the console logger.)
2022-10-24 15:39:52 -07:00
Lili Deng 34bac65a55 fix 'unable to locate package' issue 2022-10-24 17:11:57 +08:00
Lili Deng fd797ca1e5 fix verify_serial_console by observing test result 2022-10-24 13:30:42 +08:00
Lili Deng 8289fc55c6 add one retry exception for capacity restrictions 2022-10-24 13:23:45 +08:00
Lili Deng 677dce19fd set value for nodes_raw to avoid regression issue 2022-10-24 13:18:40 +08:00
Chris Gunn 5fe45ee266 Some minor bug fixes.
1. In libvirt orchestrator, only use sudo to call journalctl on remote
hosts. For local hosts, don't use sudo since if sudo is necessary then
it should be used to execute LISA.

2. Fix version parsing regex:

   a. Simplify `(\.|\-|\_)` to `[\.\-\_]`.
   b. Allow minor part to be optional.
2022-10-21 17:20:24 -07:00
Lili Deng ff2957a1e0 set default nic count as 1 to avoid NetworkInterfaceCountExceeded error 2022-10-21 10:03:05 +08:00
Richard Pastrick 725861d432
Update link for linux poetry installation to canonical link (#2320) 2022-10-19 12:49:56 -07:00
Divyansh ae9c774957 Add poetry in-project configuration to installation docs 2022-10-19 10:24:16 -07:00
Smit Gardhariya 18371f8236
CH Perf Metrics Tests : Changes to add assert and save logs to file (#2316) 2022-10-19 14:55:17 +05:30
Lili Deng 9e00839ecb check log file existing before getting content 2022-10-19 15:00:07 +08:00
Lili Deng b7c8027f38 add retry and throw exception when client is refused by server. 2022-10-19 15:00:07 +08:00
Chi Song 65acdd8114 runner: long call trace for exception 2022-10-18 08:55:29 -07:00
Chi Song 4bc3ee877a Runner: optimize log on uncaught exceptions 2022-10-18 08:55:29 -07:00
Rakshaa Viswanathan 6915660929
Add azsecd tool for LISA (#2311) 2022-10-18 14:53:12 +05:30
Lili Deng 6e485a921d freebsd shadow file location is different 2022-10-18 13:52:19 +08:00
Lili Deng f7fddd38e7 only compare Completion Queue Interrupts 2022-10-18 13:52:19 +08:00
Lili Deng 5dcbc036a6 install Netperf in parallel to reduce time and extend execution time 2022-10-18 13:52:19 +08:00
Lili Deng 3700434aa1 fix installation issue 'The following signatures couldn't be verified because the public key is not available' on debian 9 and 'Could not open file /var/cache/apt/archives/partial' on debian 10 2022-10-18 12:33:51 +08:00
Lili Deng d29fafa5a6 extend time to do unattended-upgrade 2022-10-18 12:33:51 +08:00
Lili Deng 597533a565 add case verify_azure_file_share_nfs 2022-10-18 08:52:31 +08:00
Lili Deng fb104c5a88 add nfs feature 2022-10-18 08:52:31 +08:00
Lili Deng 2096bf1651 add methods to create, delete private endpoints, zone etc. 2022-10-18 08:52:31 +08:00
Lili Deng e3dc91dbec expose candidates for generate_random_chars 2022-10-18 08:52:31 +08:00
Lili Deng d1437723be add retry when mount with error 2022-10-18 08:52:31 +08:00
Lili Deng f6b1196a8b support nfs client and server on mariner 2022-10-18 08:52:31 +08:00
Lili Deng 6bd75c756a update parameter type for install_packages method 2022-10-18 08:51:30 +08:00
Lili Deng 70fc8d5d65 add case verify_no_error_output to check patch and verify_connection_status to check connector status from modetest tool 2022-10-18 08:51:30 +08:00
Lili Deng cd22623dfb add tool modetest for drm 2022-10-18 08:51:30 +08:00
LiliDeng 53eadd38fc
[fix issues] oss repo check on suse and remove not needed package (#2313)
* update repo check for oss, only 1 existing

* dh-autoreconf is no need, remove it
2022-10-14 23:59:43 +08:00
LiliDeng 5131a36fb3
add one more exception type and increase retry times (#2310) 2022-10-13 23:55:38 +08:00
mcgov 1eb96ce90a
modprobe: only reload network interfaces for network drivers (#2299)
* modprobe: only reload interfaces for network drivers

hv_netvsc needs a special case, since reloading it has the potential
 to leave the node without a network connection if things go wrong.

For most modules this isn't neccesary, so just special case netvsc.
2022-10-12 09:57:27 -07:00
Smit Gardhariya 3be710535f
Add CH performance metric tests (#2276)
* kata conformance automation

* Flak8 formatting changes

* isort fix

* changes for CH perf metric test

* change for making azure package optional in poetry.lock and removing unneccessary lisa tools from kata conf test

* formating wth make fix

* PR review ==> remove CH perf metric changes, Go tool version changes, Path changes in shell.py, log changes in testsuite, made azure packge optional

* CH Perf metrics testcase integration

* remove kata related changeg to separate the CH perf PR

* remove git related changes to separate the CH perf PR

* PR review changes : Added Error in subtest, created different function to run perf-metrics test

* flak8 and isort formating

* PR Review change suggested by Anirudh, removal of unwanted logging, adding regex string for referral, removed unwanted comment

* PR Review suggestions by Anirudh : Dataclass implementation, report file to logpath

* removal of unwanted log

* lofa path change fore report file

* PR Review by Anirudh : nit changes

* PR Review by Chi: Pushed notification logic to single loop in _create_perf_metric_report function

* flak8 isort fix

* Change for quick send of test msg result and removal of dumping result to json file

* Changes to remove unused import,white spaces and BLK100

* flak8-isort change : add arg's datatype for function

* PR Review by Chi : return code handling change, log level change in case of exception to info

* removal of dataclass CHPerfMetricTestResult

* Changes for regex to get metrics

* Removal of result dict and using variable

* BLK100 Black format changes

* addition of None check in regex search
2022-10-12 18:37:38 +08:00
Anirudh Rayabharam 82c04c6d6e libvirt: save libvirtd logs during environment delete
libvirtd logs are useful for debugging libvirt related issues that might
happen while executing testcases. So, retreive the logs using journalctl
and write them to the host node's log path. Also introduce a new tool
for working with the `journalctl` command.

Signed-off-by: Anirudh Rayabharam <anrayabh@microsoft.com>
2022-10-11 11:40:23 -07:00