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

4888 Коммитов

Автор SHA1 Сообщение Дата
Chi Song 3c3b01c944 TestSuite: support no timeout on test runs
There is a time limit on joining a thread, which is called from timeout
lib. Remove it to support long haul testing over 7 days.
2022-11-14 08:15:07 -08:00
Chi Song fde75b90d1 TestSuite: move util method from test class level 2022-11-14 08:15:07 -08:00
Lili Deng 6b5480dcba call check_test_results in run_test to make sure the xfstest.log is always parsed 2022-11-14 21:10:25 +08:00
Lili Deng 0cd833e7e1 clean up mount points and exclude sub test cases which make test timeout 2022-11-14 21:10:25 +08:00
Lili Deng 1bb2b9f171 redirect log into file 2022-11-14 21:10:25 +08:00
Lili Deng e5f77247c3 install iperf3 from source which doesn't support '--logfile' 2022-11-12 22:27:40 -08:00
Lili Deng 8a8885f82a add version info when mount azure nfs share 2022-11-12 22:26:35 -08:00
Richard Pastrick c13b4fd11d
Fix for PropertyChangeNotAllowed exception during verify_vm_hot_resize_decrease (#2389)
Sometimes when executing the verify_vm_hot_resize_decrease test, the test may choose an invalid size to change to which cannot be accomplished and raises a PropertyChangeNotAllowed exception. Add this to a catch statement so an alternate destination size can be tried instead.
2022-11-12 18:13:37 +08:00
Richard Pastrick 1666dd7796
Address sshd service not existing on ubuntu 22.10 minimal (#2379)
The sshd service does not exist on the Ubuntu 22.10 minimal image. The ssh service does so attempt to restart the sshd service if it exists, if not, check for the existence of ssh service, and otherwise raise an exception
2022-11-12 18:00:14 +08:00
Richard Pastrick 2d79bdc610
Add missing f-string modifier in exception message (#2390) 2022-11-12 17:51:24 +08:00
Richard Pastrick 2cf1c68d33
Add install step for ping tool (#2385)
In the Ubuntu 22.10 minimal image, the ping tool is not installed by default so an install step was needed
2022-11-12 12:34:38 +08:00
Chi Song 806c1ff50b Feature: fix assertion errors on __eq__ 2022-11-10 10:48:06 -08:00
Shruti Ratnam b26f70f1c6
Adding a stressng test for cpu throttle (#2376)
* Adding a stressng test for cpu throttle

* Adding default timeout of 3600

* Adding Black format
2022-11-09 20:03:29 -08:00
LiliDeng 5e5fe2ac24
[fix test issues] xfstests ext4 (#2377)
* fix compile issue on oracle 7.x

* exclude ext4/059 ext4/058 ext4/056
2022-11-10 09:02:42 +08:00
LiliDeng c06b2b73cb
add retry to get attached disks. (#2372) 2022-11-09 08:07:14 +08:00
Elaheh Dehghani 26bf5be534
Fix for verify_uio_binding test to check the prerequisite for enabling the uio_hv_generic driver (#2362)
* add check for hyper-v vmbus kernel cfg

* revised import kernel_config

* fix flake8 issue

* cleanup

* addressed feedbacks
2022-11-08 23:51:50 +08:00
Lili Deng 313cefd01a add restriction for cvm and tvm 2022-11-08 19:13:47 +08:00
Divyansh Srivastava cdbcb796fc Use Aria tool for downloading image files 2022-11-07 18:40:58 -08:00
mcgov c8b496212b update readme to link to dev setup 2022-11-05 10:11:29 +08:00
Lili Deng 6e4284dfb1 when there is no MaxNetworkInterfaces capability, the node_space.network_interface.max_nic_count is a range, not empty or none 2022-11-04 23:04:44 +08:00
Lili Deng c548f412b8 wait one shot guestregister service finish updating repos, then run zypper related commands 2022-11-04 16:56:47 +08:00
Lili Deng 399ed1b24b move Service tool into base_tools and add is_service_inactive method 2022-11-04 16:56:47 +08:00
Lili Deng ddf8656496 update log output format 2022-11-04 16:56:47 +08:00
Lili Deng 35ea0068e4 correct the path of nijia 2022-11-04 13:46:21 +08:00
Richard Pastrick bcf1706d52 Create Mv tool for simple file move operations 2022-11-03 14:24:22 -07:00
Avram Lubkin ed7531449e Prevent Sphinx error when category is empty 2022-11-02 12:41:12 -07:00
Avram Lubkin baa9217b69 Limit autosectionlabel depth to prevent duplicates 2022-11-02 12:41:12 -07:00
Avram Lubkin 27b014f129 Minor cleanup on doc/tools 2022-11-02 12:41:12 -07:00
Avram Lubkin e20e8d1fd1 Fix doc build on non-utf-8 platforms like Windows 2022-11-02 12:41:12 -07:00
Purna Pavan Chandra Aekkaladevi 8e5344f6e9 Update libvirt-python to latest 2022-11-02 11:03:25 -07:00
Purna Pavan Chandra Aekkaladevi 3b09ca49fe Libvirt: Add read permissions to osdisk source file 2022-11-02 11:03:25 -07:00
Matthew G McGovern 0f616568f2 nohup: add option to run command with nohup
NOTE: not guaranteed that shell python class will understand
the connection was reset in time. Also redirects stdout/stderr
to a seperate file.
2022-11-01 10:57:56 -07:00
lubaihua33 9f757500fb Check kdump status if the crash kernel is not loaded 2022-11-01 20:51:26 +08:00
Lili Deng cd7d32090e remove duplicated _check_driver_installed, and it doesn't need install driver when check gpu devices by lspci and lsvmbus. 2022-11-01 19:44:27 +08:00
Lili Deng e329c69c5d skip gpu for suse, almalinux and oracle 2022-11-01 19:28:37 +08:00
Lili Deng 9c6ecbf26a create AlmaLinux class 2022-11-01 19:28:11 +08:00
Lili Deng 16d100a9cd support int type to decode set space 2022-11-01 13:21:42 +08:00
Lili Deng 2005d13ac4 add more locations to load image 2022-11-01 13:21:42 +08:00
Lili Deng b0975c137a add test case verify_gdb 2022-11-01 08:40:49 +08:00
Lili Deng b5a37ec574 add tool gdb 2022-11-01 08:40:49 +08:00
Lili Deng 325495c8c7 add arguments parameter for gcc compile method 2022-11-01 08:40:49 +08:00
mcgov 76504406ef
DPDK: enable sriov on test start if needed (#2354)
DPDK test previously assumed sriov would be enabled (not just
supported).
Because of environment reuse, it needs to attempt to enable upon
test start if the feature is disabled.

Add the check and move the assert to after the enable, if needed.
2022-10-31 10:28:32 -07:00
mcgov 57cef80ae2
DPDK: add duration variable to enable longer tests (#2355)
Testing for longer durations in TiP sessions will help
shake out QoS and SLB issues, adding an option
to run for longer than 15 seconds to enable this testing
when not running in prod.
2022-10-31 10:27:59 -07:00
Chi Song 3fbfc78d87 Azure: add VhdGen on requirements. 2022-10-31 09:11:38 -07:00
Chi Song 39a161e653 Azure: resolve image latest version in get info 2022-10-31 09:11:38 -07:00
Chi Song c97d4c004f Azure: add vhd generation feature 2022-10-31 09:11:38 -07:00
Chi Song 7f8994d3cd Azure: share the image vhd gen detection 2022-10-31 09:11:38 -07:00
Chi Song f21b961c40 example: simplify test case name. 2022-10-31 09:11:38 -07:00
Chi Song c0c6797101 Azure: move default locations to westus3 2022-10-31 09:11:38 -07:00
Chi Song d194b9ffac Azure: refactoring reduce indents 2022-10-31 09:11:38 -07:00