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

6018 Коммитов

Автор SHA1 Сообщение Дата
Lili Deng 6efdb9bc19 fix test skip issue for SCSI disk controller type when it is gen2 image 2024-05-31 11:16:54 +08:00
Kameron Carr 73a075fdbd Update platform.rst
Specify that the virtual network parameters are under the AzurePlatformSchema, not the PlatformSchema
2024-05-31 10:09:40 +08:00
lubaihua33 ddb73fc010 Add some actions for AITL role definition 2024-05-31 08:22:22 +08:00
Yi da9fceb9e8
update requests version for fixing vul item (#3304)
* update requests version for fixing vul item
2024-05-28 13:12:20 -07:00
Kameron Carr efbb1f4635 Revert Architecture Type key
Mistakenly changed in 2e7180d6e2
2024-05-27 08:51:22 +08:00
Lili Deng 745d6d33f9 storage account: set allow_shared_key_access as false when create new storage accounts 2024-05-24 19:35:43 +08:00
feng-j678 691cb60c79
add logic to skip test for unspported images (#3276)
* add logic to skip test for unspported images

* add logic to check for unspported imges and unspported agent version
2024-05-24 19:09:10 +08:00
Purna Pavan Chandra Aekkaladevi e38d861342 mshv: Increase timeout when downloading guest image
The ubuntu cloud image is usually of 2GB size and sometimes, due to
network delays, it might take more than the default 600s time to
download it. So, increase it to 1200.
2024-05-22 23:00:24 +05:30
Purna Pavan Chandra Aekkaladevi f5bacec922 wget: raise exception if wget times out
When wget times out, the downloaded file will be in corrupted state.
Lisa should raise exception in this case, instead of returning the
corrupted downloaded path.
2024-05-22 23:00:24 +05:30
Yi e4e945d43f upgrade pillow version for vul item 2024-05-21 14:14:59 +08:00
kanchansenlaskar 7ee8db0ecf Fix dpdk version format check regex pattern 2024-05-21 13:58:57 +08:00
Lili Deng 4c1cca097e remove arm_template.json 2024-05-20 09:35:57 +08:00
Lili Deng 9bf9d585e0 Boot diagnostics: enable with managed storage account 2024-05-18 19:18:00 +08:00
Kameron Carr 2e7180d6e2 Add Image Feature Requirements
Tags from Azure Images are now parsed to determine features such as Architecture, Security Profile, and Disk Controller Type.
2024-05-17 22:44:57 +08:00
Nuno Das Neves f018201252 rust_vmm_mshv: git clone mshv crate with a ref from a variable
Get variable "mshv_crate_ref". Default to "main" if not found in the
variables Dict.

Signed-off-by: Nuno Das Neves <nudasnev@microsoft.com>
2024-05-16 21:38:40 +08:00
Lili Deng 934cf16993 use azure-identity 1.17.0b1 2024-05-15 23:57:43 +08:00
Lili Deng 6445df210c access shared gallery image across subscriptions 2024-05-14 21:44:13 +08:00
Aditya Nagesh bd47b07123 Hibernation: Add support for Esv5 and Ebdsv5 family 2024-05-14 20:24:21 +08:00
LiliDeng 29abce9823
use user delegation sas token (#3293)
* use platform credential to initialize blob_service_client

* use generate_user_delegation_sas_token
2024-05-14 11:13:46 +08:00
lubaihua33 7dcad4ebb5 Add Azure usage counter notifier 2024-05-14 10:37:06 +08:00
lubaihua33 a234307870 Move load_location_info_from_file with related class and function to common.py 2024-05-14 10:37:06 +08:00
Minghe Ren 08265a90e9
add_cloud_init_test (#3289)
* add_cloud_init_test

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* remove limiting the test to mariner

* limit test only to mariner and more warning/error patter

* address review comments

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* modify pattern

* change pattern
2024-05-11 10:41:35 +08:00
kanchansenlaskar 28c99f351e Use dpdk22 and dpdk22-devel for SUSE 2024-05-08 20:31:18 +08:00
Smit Gardhariya 9e6f5cd402
Add MSHV check for VDPA device config for CLH Integration Test (#3290)
Create VDPA Device only when /dev/mshv exists.

Signed-off-by: Smit Gardhariya <sgardhariya@microsoft.com>
2024-05-08 10:05:02 +05:30
mcgov 8ec5f89bae
mdatp: Add noexec workaround (#3279)
* mdatp: Add noexec workaround

LISA has a bug where it won't consider mount permissions before placing
the working path. This example workaround demonstrates a possible fix.

* update Mount to record partition mount options

* MDATP/Mount: Update warning message for non-matching mountpoint info

Updating the warning messages to specify that this condition
is not fatal *for the mdatp test*.

If this code is hoisted outside of the test, it should be fatal.
It indicates that our Mount and DF tools are broken and we cannot
validate the mount options on partitions.

* MDATP/Mount workaround cleanup

- Address more code comments
- add comments to warn and success paths
- re-order if/elseif to put positive case first
- rename functions for clarity

* fix BSD mount options regex

* mdatp: move warn->info level logging

* mdatp: refactor mount/df function names

* mdatp: refactor remount to handle additinal options and BSD/Linux differences in remount commant
2024-05-08 11:11:37 +08:00
Cameron E Baird 5db69ffb96
feat: Implement mshv_install test to verify Linux Dom0 boot against fresh Hyper-V bins (#3262)
* Introduce mshv_install testsuite

comment out kdstub

fix typo

fix import

fix import

disable serial console

update node paths to use Path class

+self

Add logic to copy files into privileged dirs

convert to str

debug logging

return code

* address comments

Use Cp tool

add sha256sum for verification

before and after

fix exe

import Cp

test sleep

* readd kdstub, remove test instrumentation

bump timeout to 120s

use mshv_binpath to locate bins, copy kdstub to appropriate path in efi part

clean up names

log binpath for testing

* drop test_data dir, parse and validate mshv_binpath instead

lint flake8

lint 2

lint 3

lint 4

* Run automatic linter

* collect dmesg for diagnosing mshv driver failure

* Update imports

* flake

* fix up tools invocations to remove repeated code
2024-05-07 17:42:52 +08:00
mayankdaruka-msft ccfbf88143
VMAccess Fix - Add user to wheel group in Mariner 2.0 before running 'su' (#3288)
* Fixes to allow running 'su' on mariner

* Fixes for add_secret etc.

* Fix flake8 error with line length
2024-05-06 09:31:49 +08:00
r-dailey 5e6a41d7f7
Fixing nic initialization for freebsd nodes (#3280)
* Updated the nic initialization for nodes and provisioning
2024-04-30 11:20:51 -07:00
Siddhartha Mathiharan 788bbe624d
Delete AMA extension at start in case its already installed (#3285)
* Update AzureMonitorAgentLinux.py

* Update AzureMonitorAgentLinux.py

* Update AzureMonitorAgentLinux.py

* Update AzureMonitorAgentLinux.py

* Update AzureMonitorAgentLinux.py

* fix indent

* fix indent
2024-04-30 09:35:28 +08:00
Kameron Carr 7820764c99
Remove Infiniband on_before_deploy (#3271)
* Remove Infiniband on_before_deploy

Availability sets are an optimization not a requirement and it is causing problems for Ultra Disk and Availability Feature.

* Infiniband: Require Availability Set

Infiniband tests with two nodes need to have an availability set for them to be able to connect over IB IP address.
2024-04-30 09:27:17 +08:00
lubaihua33 e542b7f3c7 Initialize package before adding repo for SUSE image to avoid system locked 2024-04-29 12:35:20 +08:00
Srikanth Myakam 40425aaa7a Configure Udev rules only if data disks are attached. 2024-04-29 08:35:57 +08:00
kanchansenlaskar 0a76ca007b perf tool installation fix for bookworm 2024-04-28 12:47:38 +08:00
panfengxue 89b786ad49 adding comment for exclude xfs generic/738 2024-04-26 11:57:21 -07:00
feng-j678 4ee77e1a75
add logic to assert truncation logic (#3272)
* add logic to assert truncation logic

* fix assert_status_file_result methd

* change comment 3h to 4h
2024-04-26 11:46:47 +08:00
panfengxue 56b6318cc6 fix xfs fail, exclude 738, add upload result when timeout 2024-04-26 11:14:15 +08:00
Lili Deng 490d48870a iperf - exclude non json part from output 2024-04-26 08:34:08 +08:00
Lili Deng 419b0c112b mariner: install perf tool from kernel-tools 2024-04-26 07:55:54 +08:00
Matthew McGovern 81de6d11f5 Skip failsafe test on MANA 2024-04-25 14:16:47 +08:00
Francisco Munoz bb006c8e30 Mask SMB credentials 2024-04-24 15:38:46 -07:00
Kameron Carr bd359c1537 M2VHD: Fix kernel params on ARM
ARM images wait for an early console which is only present in the cloud, not in lab environment. Remove this kernel parameter to allow for boot in lab.
2024-04-23 16:15:49 -07:00
Lili Deng e768e878fe Downgrade the case priority for its unstability, will revert to the original priority once the issue is resolved. 2024-04-20 22:47:42 +08:00
Smit Gardhariya 9761880771
mshv test: correct snp flag (#3269)
CLHv38 uses sev_snp flag for CVM guest launch.

Signed-off-by: Smit Gardhariya <sgardhariya@microsoft.com>
2024-04-19 13:13:07 +05:30
Smit Gardhariya 41f362f941
virtstack: Add parameter for cache to run CLH block per test (#3268)
This will add 3 parameters related to CLH block perf test
to be run with data disk and can configure the caching
strategy

Signed-off-by: Smit Gardhariya <sgardhariya@microsoft.com>
2024-04-19 11:35:43 +05:30
Srikanth Myakam 7f5bcdd3a5 Random lun testcases added 2024-04-18 10:00:51 +08:00
Lili Deng ebee505392 specify parameters names explicitly 2024-04-18 09:08:10 +08:00
Smit Gardhariya eacfd81e7f
Add VDPA device configuration for CLH test (#3267)
1. Load VDPA kernel modules for CBLMariner distro.
2. Create VDPA device with proper permission and owner
only for CBLMariner.

Signed-off-by: Smit Gardhariya <sgardhariya@microsoft.com>
2024-04-17 22:39:22 +05:30
kanchansenlaskar 9e0b9643cd Fix test verify_vmbus_devices_channels for CVM 2024-04-17 11:27:22 +08:00
Lili Deng 6de20f68ce perfdump notifier: update default path name as perf_results.json 2024-04-16 07:48:49 +08:00
Matthew McGovern 7630375f68 Make error messages more informative and actionable, change 'unvalidated' code path to a failure with prompt to open a bug 2024-04-15 19:34:51 +08:00