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

4657 Коммитов

Автор SHA1 Сообщение Дата
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
Sonia Sharma e4fc638c02 networksettings: refactor device_statistics test code 2022-10-10 11:57:45 -07:00
Sonia Sharma a3a707575b networksettings: rewriting device_statistics logic 2022-10-07 14:59:36 -07:00
Divyansh d3457a0c42 add cleanup steps for NFS server and client 2022-10-05 14:01:26 -07:00
mcgov 5c18cf22c9
DPDK: dpdk version update for vdev include (#2300)
dpdk18.11 includes the netvsc pmd, prefer it over the net_failsafe
2022-10-04 11:57:42 -07:00
mcgov b8bcab6287
DPDK: node.close() before hv_netvsc reset in rescind kill (#2298)
* DPDK: add close() call before netvsc reset in rescind kill

node.close() seems to be more reliable for killing the unresponsive
process, so attempt node.close before resetting the network interface.
after_case already performs this reset anyway so doing it twice it
pointless if we can avoid it.

* clean up comments
2022-10-04 11:48:38 -07:00
Purna Pavan Chandra 1c8d335223
Libvirt: Dynamic port forwarding from host VM to guests (#2277)
* Libvirt: Dynamic port forwarding from host VM to guests

Co-authored-by: Anirudh Rayabharam <anrayabh@microsoft.com>
2022-10-04 11:19:05 -07:00
mcgov 853ebe0264
VPP: use service tool (#2296)
some tests were attempting to use the ubuntu service syntax,
switch to using the Service tool to restart VPP service
2022-10-04 09:56:08 -07:00
mcgov 303c7553e6
modprobe: remove single quote (#2297)
Single quoting messes with the shell, remove them
2022-10-03 16:59:55 -07:00
mcgov 9a13182ae1
proceed with modprobe sequence even if one item returns an error code (#2295) 2022-10-03 15:00:07 -07:00
mcgov 62d2c132e2
DPDK: fix regex iterator assumption, drop unreliable samples (#2293)
Two small fixes:

First and last samples have bad data, since we're looking for an order
of magnitude difference they can mess up the data sometimes. Discard
first and last sample before calculating the mean of the data.

Fix an incorrect assumption about the boolean value of an empty
iterator. Cast to list first, makes other logic cleaner.
2022-10-03 14:07:37 -07:00
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