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

4888 Коммитов

Автор SHA1 Сообщение Дата
Purna Pavan Chandra Aekkaladevi 369d68373d CH_test_tool: Mark ignored subtests as SKIPPED 2023-01-09 15:04:55 +05:30
Purna Pavan Chandra Aekkaladevi 2a32caa106 CH_tests_tool: Use diff TIMEOUT for perf metrics subtests 2023-01-09 15:04:55 +05:30
Purna Pavan Chandra Aekkaladevi 79f9b26f39 CH_tests_tool: Mark unfinished subtests as failed 2023-01-09 15:04:55 +05:30
Lili Deng b747650b51 [fix issue] add eastus2 into locations used to query image info 2023-01-07 16:26:10 +08:00
Lili Deng a69e975cff [fix regression issue] when test skipped, also need initialize test case info 2023-01-06 11:28:05 +08:00
narrieta e67647f0e2 Skip WaAgentBvt on FreeBSD 2023-01-05 12:34:02 -08:00
Avram Lubkin 92afce2c26 Fix used-before-assignment error 2023-01-05 12:17:14 -08:00
Avram Lubkin 1e527d7966 Run apt update before install 2023-01-05 12:17:14 -08:00
Lili Deng 85a82c9e4a [fix issue] skip reload mlx module if it is built-in 2023-01-05 21:10:20 +08:00
lubaihua33 f7eb881fc7 Add EOL release check for Ubuntu image in dns upgrade test 2023-01-05 11:45:52 +08:00
Lili Deng f5f66c4b5a [fix issue] install package which is available in repo 2023-01-05 10:00:35 +08:00
Divyansh Srivastava 5a8455188f Update VM list for nested feature based on data 2023-01-04 08:19:32 -08:00
Divyansh Srivastava df73bdbc18 Enable nested virtualization features 2023-01-04 08:19:32 -08:00
Avram Lubkin 68ab575ad9 Pylint: Enable implicit-str-concat 2023-01-04 08:15:35 -08:00
Avram Lubkin dc4fd3952f Pylint: Enable variable checks 2023-01-04 08:12:32 -08:00
lubaihua33 80b02b9365 Add waagent command for CoreOs in the initialize phase 2023-01-04 20:15:10 +08:00
lubaihua33 5fc5dfca1b Change the level of log "vhd copied" into info 2023-01-04 20:15:10 +08:00
lubaihua33 d9e97f6054 Add custom_blob_name in VhdTransformerSchema 2023-01-04 20:15:10 +08:00
Lili Deng 236c34829e Removing vm size from candidate list if the candidate vm size gen conflict with current vm size gen 2023-01-04 19:20:55 +08:00
Lili Deng 460e5a2d5a Removing vm size from candidate list if the arch is different with current vm size 2023-01-04 19:20:55 +08:00
Lili Deng de31bf2aa6 [fix issue] use deepcopy to avoid env changed when run different arch images in combinator 2023-01-04 19:12:48 +08:00
Lili Deng d14d71b822 [fix issue] add serial console pattern for freebsd 2023-01-04 12:04:51 +08:00
Lili Deng 78bd2a45a5 [fix issue] include freebsd amd64 as vaild arch return value. 2023-01-04 12:04:51 +08:00
Lili Deng 50e608a68a [fix issue and improvement] verify_no_pre_exist_users 2022-12-30 11:54:22 +08:00
Richard Pastrick a6328f94d6 check for aarch64 as well as ARM when determing CPU type in lscpu 2022-12-29 16:57:47 +08:00
Lili Deng eba69785ca [regression] fix ValidationError arch - Must be one of: x64, Arm64. 2022-12-27 22:49:12 +08:00
Lili Deng dee7cfa883 exclude vm sizes list which not support secure boot 2022-12-24 22:05:22 +08:00
Lili Deng f972216583 update test result status and message when get call trace from serial console log 2022-12-23 14:51:20 +08:00
Lili Deng 675b088bb0 add KernelPanicException 2022-12-23 14:51:20 +08:00
smit-gardhariya 838287a50e before_case for mshv check and use echo for HOME env var 2022-12-22 20:56:24 +08:00
smit-gardhariya 0e1ec1aecc throw unsupported distro exception if distro is not ubuntu/mariner 2022-12-22 20:56:24 +08:00
smit-gardhariya c9baf50474 Install cargo dependency separately
Install cargo dependency separately

Install cargo dependency separately

flake 8 changes

version import order corretion for semver in curl.py
2022-12-22 20:56:24 +08:00
smit-gardhariya bfe15cd237 Create symbolic link for the cargo tool 2022-12-22 20:56:24 +08:00
smit-gardhariya a1c9ab8828 Implement Curl tool and use it to install cargo
Implement Curl tool and use it to install cargo

Implement Curl tool and use it to install cargo

Implement Curl tool and use it to install cargo

Implement Curl tool and use it to install cargo

flake 8 validation changes

flake 8 validation changes

flake 8 validation changes for cargo tool

Pass updated_env for _check_exists() to provide env variables
2022-12-22 20:56:24 +08:00
smit-gardhariya 1c390dc9ca Add cargo tool and rust-vmm/mshv test in LISA
Add cargo tool and rust-vmm/mshv test in LISA

Flak8 validation changes
2022-12-22 20:56:24 +08:00
Purna Pavan Chandra Aekkaladevi a8c1976846 CH_test_tool: Store logs of failed subtests 2022-12-20 16:58:03 +08:00
Avram Lubkin 103ddf453f Fix coverage include paths 2022-12-20 11:32:39 +08:00
Anirudh Rayabharam 2dddc13017 Provide option to capture libvirt debug logs
Introduce a new option capture_libvirt_debug_logs in
LibvirtPlatformSchema that tells LISA to capture libvirt debug logs
during environment teardown.

Debug logs are enabled by using the log_outputs option in
/etc/libvirt/libvirtd.conf. Here, we configure libvirt to write
the debug logs to /var/log/libvirt/libvirtd.log.

We have been seeing multiple libvirt related errors in the pipeline
and these logs can help in debugging those.

This is an opt-in feature since all users of libvirt platform might
not be interested in debug level logs.
2022-12-19 18:55:59 +08:00
Anirudh Rayabharam 5d4afa0470 platform: add "cleanup" lifecycle method
Today `Platform` doesn't have a lifecycle method to perform platform
specific cleanup. _delete_environment is environment specific and cannot
be used for platform level cleanup.

Add a new method called "_cleanup()" that can be optionally overridden by
platform implementations that want to perform cleanup. Platform cleanup
is invoked by `LisaRunner.close()`.
2022-12-19 18:55:59 +08:00
Lili Deng bb6d677bef [fix regression] ignore not such file error when ignore_not_exist set as True 2022-12-19 09:21:11 +08:00
Li Tan d0e87581f7
[new TestSuite] add OSUTestSuite (#2403)
* fix a typo in infinibandsuite.py

* clean up and update test category

* install a new package

Co-authored-by: litan2 <litan2@microsoft.com>
2022-12-16 23:33:02 +08:00
Aditya Nagesh b41ee0e113 Enable MOD_STRIP in kernel source installer
The initrd images for the new kernel may be very large
because the DEBUG modules are be enabled. This causes
few failures due to unexpected size of kernel initrd image.

Ex: The boot fails in small SKU sizes.

INSTALL_MOD_STRIP=1 builds the kernel without the DEBUG modules.
2022-12-15 22:56:15 -08:00
Anirudh Rayabharam 5faf3da0c6 ch_tests_tool: prefer SerialConsole for kernel logs
Use SerialConsole for fetching kernel logs. It is more versatile
than dmesg. Fallback to dmesg if SerialConsole feature is not
supported.
2022-12-15 22:04:58 +08:00
Anirudh Rayabharam bfc78fca7a ch_tests_tool: run perf metrics with RUST_BACKTRACE=full
Failures are not providing actionable stacktraces. Run with
RUST_BACKTRACE=full.
2022-12-15 22:04:58 +08:00
Lili Deng 56bfa3c187 ignore error when /var/log/azure/ doesn't exist. 2022-12-15 21:56:07 +08:00
Lili Deng 4152b04abe find tool: add ignore_not_exist parameter 2022-12-15 21:56:07 +08:00
Lili Deng 1e2613fd13 download /var/log/waagent.log and files under /var/log/azure/ if they exist 2022-12-15 21:56:07 +08:00
Lili Deng c91a0cbbb2 find tool: remove extra empty string 2022-12-15 21:56:07 +08:00
Richard Pastrick 15bd7d6644 Use ping tool instead of node.execute 2022-12-15 21:33:23 +08:00
smit-gardhariya 32cc39d148 set timeout for git clone 2022-12-14 09:58:20 -08:00