adityanagesh
07e5ca5d00
fix: Run black code formatting
2022-08-10 08:18:54 +08:00
Aditya Nagesh
b28aea3528
fix: spacing for inline comment
2022-08-10 08:18:54 +08:00
Aditya Nagesh
126dd59760
fix: python linting
2022-08-10 08:18:54 +08:00
Aditya Nagesh
e1990f165a
fix: Whitelist bootup log for SGI XFS
...
verify_boot_error_fail_warnings test fails on Mariner due to SGI XFS
log message displayed on bootup. Add log to whitelist as the log does
not indicate any failures.
2022-08-10 08:18:54 +08:00
Chi Song
b1ec36e1b9
Azure: split node level arm params from runbook.
...
This change makes parameters clearly, and reduce broken on arm only
parameters.
1. Add new AzureNodeArmParameter, which inherits from AzureNodeSchema.
Handle special initialize logic in the AzureNodeArmParameter.
2. Move arm parameter special values from AzureNodeSchema to
AzureNodeArmParameter.
3. Remove duplicate logic in _generate_min_capability.
2022-08-09 15:33:32 -07:00
Chi Song
3afe602c8c
Azure: remove unused data disk settings
2022-08-09 15:33:32 -07:00
Kameron Carr
2fe6f20915
IB: Skip UnsupportedKernelException
2022-08-09 10:27:08 -07:00
Lili Deng
5a7d70de1d
Add node close to remove ssh not active issue.
2022-08-09 09:17:45 -07:00
Lili Deng
7d17c2d86b
Add sudo for ping tool to avoid Operation not permitted error.
2022-08-09 09:17:45 -07:00
Lili Deng
8587e1908e
update dpdk tests use IsolatedResource feature
2022-08-09 23:41:58 +08:00
Chi Song
705783fc7f
Doc: update azure parameters.
2022-08-08 15:34:58 -07:00
Chi Song
eace0309d2
Azure: support to specify multiple locations.
2022-08-08 15:34:58 -07:00
Chi Song
887585a3d0
Azure: refactoring code indent
2022-08-08 15:34:58 -07:00
Lili Deng
d4bb0766b2
currently only rhel9 enables drm driver, will add more into supported list if distro vendors enable this.
2022-08-08 08:58:38 -07:00
Lili Deng
64d95ea7c0
Move clone code into install method so that unsupported distro has consistent behavior when reuse env.
2022-08-08 12:14:09 +08:00
Chi Song
b8c51a94df
Azure: move always on features from platform
2022-08-04 18:00:13 -07:00
Chi Song
27b3d7f4b3
Azure: move nested detection to feature
2022-08-04 18:00:13 -07:00
Chi Song
cd33125c5c
Azure: move nvme detection to feature
...
Move feature detection later than other fields, because some features
depends the fields.
2022-08-04 18:00:13 -07:00
Chi Song
edaae8c427
Azure: move ACC detection to feature
2022-08-04 18:00:13 -07:00
Chi Song
3cb2303b80
Azure: move SecurityProfile detections to feature
2022-08-04 18:00:13 -07:00
Chi Song
50fd1e3a56
Azure: move hiberenation detect to feature
2022-08-04 18:00:13 -07:00
Chi Song
aee14d467e
Azure: move Infiniband detect to feature
2022-08-04 18:00:13 -07:00
Chi Song
b619136ea0
Azure: move disk type detection out of loop
2022-08-04 18:00:13 -07:00
Chi Song
39f6131829
Azure: rename var to avoid confusing
2022-08-04 18:00:13 -07:00
Chi Song
d9bb5fab4f
Azure: move GPU detection to feature.
2022-08-04 18:00:13 -07:00
Chi Song
2ddf9cc488
Azure: pass node space to feature detection
...
Some feature like GPU need to update other fields of nodespace.
2022-08-04 18:00:13 -07:00
Chi Song
634ad9a072
Azure: remove workaround on missed AN skus.
...
Checked SKUs on westus2 result, it's fixed.
2022-08-04 18:00:13 -07:00
Chi Song
709e9052d2
Azure: move resource code out of loop
2022-08-04 18:00:13 -07:00
Chi Song
b5b7464889
Azure: group cpu count logic
2022-08-04 18:00:13 -07:00
Chi Song
5c98549ab3
feature: rename check_supported to create_setting
2022-08-04 18:00:13 -07:00
Chi Song
70d51489c6
feature: add isolated vm support
...
This feature is set on isolated VMs, which don't share resource with
other VMs. It's used for performance testing.
2022-08-04 09:33:31 -07:00
Chi Song
9e1b4067e1
feature: add method to check feature supported.
...
It helps to extract feature logic from platform.
2022-08-04 09:33:31 -07:00
Chi Song
c3b27a4c36
azure refactor: use add on single element
2022-08-04 09:33:31 -07:00
Chi Song
6598176ffd
fix typos
2022-08-04 09:33:31 -07:00
Chi Song
e03ce3cf6a
feature: optimize error message on unsupported feature.
2022-08-04 09:33:31 -07:00
Chi Song
e7a5ff5029
serial console: lazy initialize when io happening
2022-08-04 09:33:31 -07:00
Chi Song
bd6b424e46
azure: fix local type errors
2022-08-04 09:33:31 -07:00
Chi Song
4a1d05d275
xdp test: fix failure on Ubuntu 20.04
2022-08-04 09:33:31 -07:00
Divyansh
52ee67d79d
Change CommunityTest name to SubTest
...
The SubTest framework in LISA can be used for any test which needs to send out muliple subtest results
2022-08-03 19:45:16 -07:00
Lili Deng
4f0fb5652f
fix xdp compile issue on mariner 1.0
2022-08-03 10:35:08 -07:00
lubaihua33
a1e547d07b
Add kdump fix for Oracle image
2022-08-03 22:18:53 +08:00
Chi Song
7907b723ff
Packages: Fix Python constrains by isort
2022-08-02 12:33:39 -07:00
Chi Song
45fbfe7564
runner: run source test result firstly.
...
It helps align test result and environment better on designed env. It
prevents the environment may be broken by other test results.
2022-08-02 12:33:39 -07:00
Chi Song
2c43d34861
runner: fix the sort result is not used.
2022-08-02 12:33:39 -07:00
Chi Song
91ffcb5a79
optimize memory: remove unused env references.
2022-08-02 12:33:39 -07:00
Chi Song
a11c7515d6
Req: fix test/runbook req mismatched exception.
...
It happens on 1 core test req with 2 min core runbook, the whole LISA
fails under this condition. It should make the test result skipped only.
2022-08-02 12:33:39 -07:00
Chi Song
3f9d975bfe
azure: improve error on undeleted resource group
2022-08-02 12:33:39 -07:00
Chi Song
9a1f74416f
search space: improve error messages
2022-08-02 12:33:39 -07:00
Chi Song
96ae8763a2
doc: update pylance rules.
2022-08-02 12:33:39 -07:00
Chi Song
41c52cb433
azure: extract existing location method on preparing
2022-08-02 12:33:39 -07:00