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

6018 Коммитов

Автор SHA1 Сообщение Дата
Chi Song (from Dev Box) e13b78fcef fix LISA exception on None capability.
None capability happens on preparation failures. It should return False, instead of assertion failure.
2024-10-08 20:45:19 -07:00
Chi Song (from Dev Box) 125817aff0 check platforms to prevent mismached feature types. 2024-10-08 20:45:19 -07:00
Umang Francis a767a8f82b
Changes to steps involved for Tests verify_load_gpu_driver and verify_dhcp_client_timeout for Redhat (#3465)
* Updating gpu package name for Cuda and steps for Redhat dhcp get_timeout()

* using sudo for cat

* Adding support for GPU A10-8Q

* Formatting as per black recommendations
2024-10-09 10:20:12 +08:00
Lili Deng 27a57c369a ready platform: add mock serial console feature 2024-10-07 22:24:22 -07:00
Kanchan Sen Laskar ff85745ac8 Pass custom timeout 2024-10-07 21:59:02 -07:00
Mariner 4d93ac13b4 limit cloud-init test for mariner 2.0 or later 2024-10-07 18:46:35 -07:00
AASTHA RAWAT 59bb81ba95 Change cloud-hypervisor schema for kernel parameter in libvirt 2024-10-07 10:39:42 +05:30
AASTHA RAWAT 151930037f Add launch security to launch guest CVM 2024-10-07 10:39:42 +05:30
AASTHA RAWAT 3079f43567 Add security profile feature in libvirt 2024-10-07 10:39:42 +05:30
John Feng 0d9420884c add logic to _assert_status_file_result 2024-10-03 23:42:58 -07:00
Kameron Carr c2b16f2d27 ip_service_tags
New security standard will require all IPs to be tagged.

Please note this IP tagging system is different from general  resource tagging.
2024-10-03 20:51:45 -07:00
Chi Song (from Dev Box) 02c80fcbe2 azure runbook: add sig and community image supports 2024-10-03 18:18:55 -07:00
mcgov 06a74eeb4a
Standardize CpuArchitecture enum (#3456)
* CpuArchitecture: standardize use of arch enum
2024-10-03 14:05:41 -07:00
Chi Song (from Dev Box) b3be1ce23f fix UT to load from a real file 2024-10-03 08:42:21 -07:00
Chi Song (from Dev Box) ea864a1ab3 runbook refactoring: move set to optional 2024-10-03 08:42:21 -07:00
Chi Song (from Dev Box) a2dc73bad9 runbook: fix combinator cannot change included file names. 2024-10-03 08:42:21 -07:00
Chi Song (from Dev Box) 6aa05ce1cd runbook: extract shared logic for clear names. 2024-10-03 08:42:21 -07:00
Shekhar Sorot ( MSFT ) 7077eea2d4
Enable deployment of Premium file share, enable SMB2.0 support (#3459)
* Update features.py

add param for allow_shared_key_access as default off to definition "create_file_share". This will allow creating SMB shares with Access key ( currently ) for XFStesting.
We should ideally move to ADDS based authentication for SMB mount for the purpose of XFStesting SMB in the near future

* Update features.py

removed empty line at 2721

* Update features.py

* Update features.py

* Update features.py

* Update features.py

* Update features.py

add option to Azure files ( SMB ) for allowing premium File share creation, and add ability to disable secure transfer to test SMB 2.1 feature if needed for xfstesting

* Update features.py

* Update features.py

* Update features.py

added space around equal based on flake8 recomendations
2024-10-03 08:07:10 -07:00
Chi Song (from Dev Box) a768712167 doc: add lisa case training data.
It generate a jsonl file for llm training purpose. The input is test case descriptions of a test file, output is the test case file content.
2024-10-03 06:00:06 -07:00
Lili Deng cb416678a9 Fix `AttributeError: 'RemoteNode' object has no attribute 'features'`. 2024-10-03 05:58:11 -07:00
rydailey 5d05295c05 Regex to fix mount issue 2024-10-02 13:15:03 -07:00
Yi Zhou 3c0af6b2cb fix vul items by upgrading pkgs 2024-10-02 08:34:42 -07:00
Lili Deng f4e6d2d061 Fix bug for wget when force_run is false and log file has been deleted 2024-10-01 16:43:44 -07:00
mcgov e9519d83da
DpdkTestpmd: Installation path cleanup (#3426)
* Ninja: add ninja tool

* Ln: allow -f flag to allow overwriting exist

* Python: allow --user flag and add get_python_path

* Meson: add Meson lisa tool

* DpdkTestpmd: Refactor Installation Path

The installer path has grown to be unmaintainable.
We cover multiple cases:
-install from pkg manager
-install from source
   - install from git
   - install from tar
- (implicit) use already installed version

for multiple targets:
- debian
   - ubuntu 18.04 special casing
- suse
- fedora

and now need to allow all of these scenarios
for both DPDK and rdma-core (and the linux kernel).

SO... It's time for a refactor.

Commit makes the 'installer' concept object-oriented.

Adds a generic class 'Installer' into common.py
Adds child class SourceInstall and PackageManagerInstall.
Adds DpdkSourceInstall and DpdkPackageManagerInstall classes.
Adds DpdkGitInstall and DpdkTarInstall implementations of the generic
parent classes.

* Installer: Remove _configure_installation (unused)

* DpdkInstaller: I guess one method for _run_build

* DpdkInstaller: rename more variables

* Installer: change more variable names

* Installer: assert instead of check
2024-10-01 16:42:27 -07:00
Shekhar Sorot ( MSFT ) 537663b39e
Allow File share creation with Access key with default false (#3449)
* Update features.py

add param for allow_shared_key_access as default off to definition "create_file_share". This will allow creating SMB shares with Access key ( currently ) for XFStesting.
We should ideally move to ADDS based authentication for SMB mount for the purpose of XFStesting SMB in the near future

* Update features.py

removed empty line at 2721

* Update features.py

* Update features.py

* Update features.py

* Update features.py
2024-09-30 17:08:15 +08:00
Chi Song (from Dev Box) 96ff777ded Fix untyped feature settings
The feature settings should be reloaded to the right types, instead of
general type during prepare an environment in ready platform. So the
capability can be configured for ready platform.
2024-09-29 16:02:45 +08:00
Lili Deng aec6ebf999 change the config file name for dhclient and dhcpcd 2024-09-29 09:41:22 +08:00
LiliDeng 1d73bb90e7
skip unsupported architecture and distro version (#3444) 2024-09-29 09:41:01 +08:00
paxue d4feaa2f76
add azure credential schema for different authentication (#3443)
* add azure credential schema for different authentication

* fix flake and mypy error

---------

Co-authored-by: panfengxue <paxue@microsoft.om>
2024-09-27 21:23:58 +08:00
Lili Deng 615b93caee add scripts_execution_transformer 2024-09-27 09:33:00 +08:00
r-dailey 1a495c84c5
updated lscpu commands (#3442)
* updated lscpu commands
2024-09-26 08:31:06 -07:00
Kameron Carr 8f01143c8a
Remove SecurityProfileType.Standard from CVM images (#3438)
When calculating image capabilities, do not include `Standard` for images supporting CVM. Previously LISA would default to a standard SKU for CVM images, but this is not really a valid testing scenario.
2024-09-26 11:47:17 +08:00
rydailey 89fbbb20a3 Marked fio test case to be skipped 2024-09-25 16:01:24 -07:00
Matthew G McGovern e1fb479015 DpdkPerf: add dpdk version to test info 2024-09-25 10:09:23 -07:00
Sonia Sharma 82835b2508
Enable premium v2 disk for Azure (#3425)
* Add and Enable PremiumV2 SSD feature

* Add provisioning test case for premiumV2 disk

* enable storage perf test cases for premiumV2 ssd
2024-09-25 15:22:19 +08:00
Praveen K Paladugu 2106ad2c77 mshv: fix before_case in mshvlog_is_active test
This test checks if CONFIG_MSHV_DIAG is enabled. If enabled, the test
requires /dev/mshv_diag device to be present.

Signed-off-by: Praveen K Paladugu <prapal@linux.microsoft.com>
2024-09-25 08:40:26 +08:00
SrikanthMyakam a51e6dc533
'io_uring' support to LISA (#3419)
Added 'io_uring' support to LISA io perf tests and new testcase 'perf_nvme_io_uring'
2024-09-24 09:33:00 +05:30
Lili Deng 3c81b559b2 fix extension in 'updating' status issue 2024-09-24 10:03:23 +08:00
Lili Deng d77fa52f35 handle when extension has been installed situation 2024-09-24 09:23:29 +08:00
Umang Francis 406a649754
Updates to address Semver value errors in verify_device_rss_hash_key_change (#3429)
* converting mimimum version to semver object before comparison

* Removing extra line to comply with Black
2024-09-20 10:24:01 +08:00
Lili Deng 2f0d56f93b lsvmbus: the source of lsvmbus change to use python3 2024-09-20 09:07:57 +08:00
Siddhartha Mathiharan c30811a1da Update AzureMonitorAgentLinux extension name 2024-09-19 16:04:57 -07:00
Lili Deng a5ef096b24 workaround for mariner 3.0, no /dev/disk/azure/scsi1 created 2024-09-19 14:07:56 +08:00
Lili Deng 6844592e91 dhclient tool: mariner 3 dhcp tool name - dhcpcd 2024-09-19 14:07:56 +08:00
Lili Deng 86a2287e3b add doc for retry 2024-09-19 11:48:42 +08:00
Lili Deng cf99e697a8 add unit test test_env_retry_on_deployment_fail 2024-09-19 11:48:42 +08:00
Lili Deng a87bba5021 add retry_on_deployment 2024-09-19 11:48:42 +08:00
Umang Francis ea0f2f186d
Updating test case logic to check if netsvc_module exists (#3418)
* updating netsvc_module path check to use sudo

* formatting the file as per flake8 recommendations

* removing string formatting for ls.path_exists()
2024-09-18 08:23:12 +08:00
John Feng a1358de514 address pkg mgm failure is not longer set status to failed 2024-09-09 16:53:24 -07:00
Kanchan Sen Laskar 4df06f0f7f Restrict dpdk22 usage only to susu 15 sp5 2024-09-08 23:10:54 -07:00