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

6013 Коммитов

Автор SHA1 Сообщение Дата
bhagyapathak ceac54df11 Fix verify_azuremonitoragent_linux for Azure Linux 3.0 2024-11-18 05:46:19 -08:00
Aditya Nagesh d7ebb6ed49 Hibernation Testcase: Add NoRedundancy Feature Requirement
Hibernation test cases requires VM Redundancy type to be
NoRedundancy. Add that to test requirement
2024-11-15 03:45:33 -08:00
Lili Deng 2962dc599c vm resize: filter vm size with proper disk properties 2024-11-14 16:57:43 -08:00
vipunj 6c43900023
Fixed VM Snapshot Extension test failure - Expected <10> to be less than <10>, but was not (#3503)
* removed redundant count increment

* Updated count

* Updated code
2024-11-14 21:22:31 +08:00
r-dailey a8affe467d
Get disk lun info on FreeBSD (#3512)
* Get disk lun info on FreeBSD

* Changed the regex filter to accept more situations. In Testing

* Removed the CD part of the filter
2024-11-14 12:09:28 +08:00
Kameron Carr 4ec8c8dfe5
Availability: Skip bad configurations (#3502)
* Availability: Skip bad configurations

Mismatches in Availability Set requirements and capabilities may be due to test case requirements, so we can skip the test instead of failing.

* Availability: Break up on_before_deployment

Break up on_before_deployment to reduce the complexity of the function.

* Availability: change error message

Make it more clear that supported availability types can also be affected by test case requirements.
2024-11-14 09:51:24 +08:00
Lili Deng 691cf76e69 wget: remove log before throwing exception 2024-11-13 17:03:51 -08:00
SrikanthMyakam 5c8d0258a6 1 2024-11-12 23:40:02 -08:00
Aditya Nagesh 9dd25511a8 Fix GPU CUDA Installation in Ubuntu
Update keyring file version
Fetch cuda-drivers package version automatically and install.
2024-11-12 20:21:39 -08:00
Matthew G McGovern 49acfea843 DpdkPerf: enable annotations on send only tests 2024-11-12 17:48:35 -08:00
Shekhar Sorot ( MSFT ) 681f5bd063
Add tool "diff" for Linux and Unix (#3501)
* Update __init__.py

* Add files via upload

* Update diff.py
2024-11-11 16:43:26 +08:00
r-dailey b3e1f46998
added filter for benign mellanox warning on freebsd (#3500)
* added filter for benign mellanox warning on freebsd
2024-11-08 12:18:15 -08:00
feng-j678 1c0ca1e64c
add logic to accept only good arm64 images (#3494)
* add logic to accept only good arm64 images

* ignore mariner image 10 backport
2024-11-07 09:12:08 -08:00
Bala 96bc9ad34e
Allow default behavior for ARM64 machines and skip high-memory VMs (#3498)
* Add sufficient sized data-disk in kdump test

* Move print_additional_info just before panic

* Use execute_async and remove kill_on_timeout parameter

* Fix linter errors by moving the check into a new internal function

* Remove whitespace

* Use black format

* Allow default behavior for ARM64 machines and skip high-memory VMs

* Fix flake8 error

* Fix linter error
2024-11-07 10:54:59 +08:00
Lili Deng 9256ffb710 Fix missing . for command docker build 2024-11-03 23:22:39 -08:00
mcgov 48399de01b
mdatp check: add mdatp health invocation to check for onboarding (#3492)
* mdatp check: add mdatp health invocation to check for onboarding

* omit sudo for command -v
2024-11-01 09:54:07 +08:00
Matthew G McGovern 51f41288a1 DPDK: Remove old dependencies (unused) 2024-10-30 21:30:35 -07:00
mcgov 2627dbcab7
DPDK: Fix info fetch for mellanox NICs (#3491)
* Dpdk: add log print for annotation

* Dpdk: fix device_id -> device_info

* Dpdk: move annotation in build before test run
2024-10-31 12:30:10 +08:00
paull 4b203222e7 Added local source support for BareMetal platform 2024-10-30 17:34:34 -07:00
Lili Deng 99db9232d2 find the nic devices with vmbus or MSFT in the path 2024-10-30 17:21:29 -07:00
mcgov 7cf740191c
Dpdk: add package info to test results (#3481)
* Dpdk: add package info to test results

Swap to adding dpdk/rdma/nic info to dpdk test results
for both functional and performance tests.

This makes triaging issues much quicker and enables rich
coverage and test status reporting.

* fix debian version regex

* Dpdk: prefer pass to avoid black and flake error

* Fix print line if optional build is missing

* Clearer version parse log message

* debian regex: add new examples

* Prefer test result from test method

* remove unused variable

* Fix package info format string

* Bugfix: suse regex package name print and regex
2024-10-29 13:08:07 +08:00
SrikanthMyakam 9066a17174 Support PCI IDs
This will help in identifying devices even better.
Example: NVMe local devices vs remote storage devices when disc controller type == NVMe.
2024-10-28 07:06:45 -07:00
Lili Deng d3264e4e24 add workflow for building and pushing docker image to ACR 2024-10-28 07:05:55 -07:00
Anirudh Rayabharam d037082e5f sut_orchestrator: hyperv: don't automatically add disks
The create_vm() method of the HyperV tool, automatically finds offline
disks and adds them to the VM. This behavior is not required for hyperv
platform. So, introduce a parameter to control it and modify hyperv
platform to disable that behavior.

Signed-off-by: Anirudh Rayabharam <anrayabh@microsoft.com>
2024-10-24 01:00:00 -07:00
rydailey 7184c06fce Marked PMU to be skipped 2024-10-23 19:25:21 -07:00
Kameron Carr 40e352bed3 Remove CVM SKU Family Check
CVM v6 SKUs are being added. We should reduce the need to update lists of SKU families by relying on the capabilities.
2024-10-23 10:07:53 -07:00
Baihua Lu 71701aadc8 Raise exception when getting timeout for running cmd to detect OS 2024-10-22 20:53:08 -07:00
Bala 717e7c400b
Fix kdump test for Mariner (#3475)
* Add sufficient sized data-disk in kdump test

* Move print_additional_info just before panic

* Use execute_async and remove kill_on_timeout parameter

* Fix linter errors by moving the check into a new internal function

* Remove whitespace

* Use black format
2024-10-22 18:08:37 +08:00
SrikanthMyakam b80e5bcfc6 Added testcase for OS update
There instances where RHEL VMs are hanging after "yum update".

This testcase will check if the VM is accessible after "OS update"
2024-10-21 22:51:20 -07:00
rydailey 9eb8db5dde Marked Swap test case to be skipped 2024-10-21 21:32:50 -07:00
Aastha Rawat 0dd26dfaa3
Remove firmware parameter from clh platform runbook schema (#3480)
The 'firmware' parameter is now deprecated and is replaced by the
'kernel' parameter.

Co-authored-by: AASTHA RAWAT <aastharawat@microsoft.com>
2024-10-21 15:21:00 +05:30
Lili Deng 309f48d11c delete update_deps.yml 2024-10-20 22:11:09 -07:00
Kameron Carr 657da85978 Script Transformer: Enable Compound Types
This will allow for the use of list, tuple, set, dict in the scripts of the script transformer.
2024-10-17 14:04:38 -07:00
Lili Deng eca0b70324 fix failure ValueError: could not convert string to float: '7.9.2009' 2024-10-16 17:18:38 -07:00
paulli 72de0270f4
Added tftp deployment on BareMetal platform (#3422)
Co-authored-by: paull <paull@microsfot.com>
2024-10-16 13:36:41 +08:00
LiliDeng ff7e40674a
Fix script file transformer and openssl command issues (#3473)
* skip installing packages when it is not specified

* fix -6 option not available in some distro

* handle the issue when use -cpu host

* set timeout for checking command to save time

* ntttcp: set system parameter net.ipv4.tcp_rmem to optimize network performance
2024-10-16 12:58:05 +08:00
mcgov e9df2a6c06
RdmaInstaller: refactor rdma-core dependency and source install (#3457)
* Ninja: add pyelftools dependency

* Installer: make only one dependency install round trip

* RdmaCore: make rdma-core source installer

Implement rdma-core source and package manager build
using Installer class. This will be handy when
implementing the 32bit dpdk/rdma-core test.

Debian kernel version compare

prefer kernel version over codename

* Installer: undo lts/latest changes

* DPDK+RdmaCore: use list for ubuntu versions

* RdmaInstaller: prefer os package check for version

* DpdkInstaller: pretty huge bugfix

* Dpdk: fix build_path -> asset_path

* Dpdk: ring_ping allow re-initialization to force source build

* DpdkInstall: stop_on_match for uninstall too

* Revert "Dpdk: ring_ping allow re-initialization to force source build"

This reverts commit 28638da236.

* Dpdk: skip if package manager is used for ring_ping

* Use create instead of get to avoid skipping init

* Dpdk/Rdma Installer: ensure installer runs and asset_path is set

* Git: delete temp branch before creating if it exists

* Dpdk: add reattempt build with modified pythonpath

* Dpdk: fix sudo python issue for meson
2024-10-15 11:37:29 +08:00
Lili Deng 285f1aa892 set area as nested for nested test cases 2024-10-10 22:53:10 -07:00
Lili Deng 7790c8b269 neseted: create L2 image during runtime 2024-10-10 22:53:10 -07:00
Lili Deng ca1ebfbc8a storage account: disable blob anonymous access by default when create storage account 2024-10-10 08:43:40 -07:00
SrikanthMyakam 7cdf089430 verify_timesync_ptp - support multiple ptp devices.
In some Linux VMs you may see multiple PTP devices listed.
One example is for Accelerated Networking the Mellanox mlx5 driver also creates a /dev/ptp device.
Because the initialization order can be different each time Linux boots,the PTP device corresponding to the Azure host might be /dev/ptp0 or it might be /dev/ptp1.
To determine which PTP device corresponds to the Azure host, you can check the clock_name file.
Atleast one of the PTP devices should have a clock_name of 'hyperv'.
2024-10-10 05:57:29 -07:00
Shekhar Sorot ( MSFT ) 17e0b6fcbc
Add support for Private endpoint to SMB file share (#3464)
* 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

* fix issues with Flake8 issues

* Update features.py

* Update features.py

* Update features.py

* Update features.py

* Update features.py

* Update features.py

* Update features.py
2024-10-10 09:39:04 +08:00
Lili Deng a75eda8fc5 dpdk: fix package not found issue 2024-10-09 17:12:23 -07:00
Chi Song (from Dev Box) d77d7739e2 Hibernation: Change is_enabled to the search space
Hibernation must be configured during deployment. If it’s not set up and the hibernation feature is available, hibernation test cases will fail. This update changes `is_enabled` to a search space. If hibernation is not configured, the value will default to `False`. For test cases requiring hibernation to be enabled, a new environment must be set up with the feature properly configured.
2024-10-08 21:12:10 -07:00
Chi Song (from Dev Box) 3d156630e4 search_space: fix assert False failed.
Only None is not allowed, the False is a valid option.
2024-10-08 21:12:10 -07:00
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