This commit is contained in:
Chi Song 2023-11-16 10:45:51 -08:00 коммит произвёл LiliDeng
Родитель 7ccd0a1c79
Коммит 552aaa9119
7 изменённых файлов: 3 добавлений и 90 удалений

Просмотреть файл

@ -44,8 +44,6 @@ Documents
- `Command line reference <https://mslisa.rtfd.io/en/main/run_test/command_line.html>`__
- `Runbook reference <https://mslisa.rtfd.io/en/main/run_test/runbook.html>`__
- `Extend and customize LISA <https://mslisa.rtfd.io/en/main/write_test/extension.html>`__
- `Run the previous version of LISA (aka
LISAv2) <https://mslisa.rtfd.io/en/main/run_test/run_legacy.html>`__
Contribute
----------
@ -53,14 +51,9 @@ Contribute
You are very welcome to contribute to this repository. Please follow `the contribution
document <https://mslisa.rtfd.io/en/main/contributing.html>`__ for details.
History and road map
Road map
--------------------
The previous LISA called LISAv2, which is in `the master
branch <https://github.com/microsoft/lisa/tree/master>`__. The previous
LISA can be used standalone or called from the current LISA. Learn more
from `how to run LISAv2 test cases <https://mslisa.rtfd.io/en/main/run_test/run_legacy.html>`__.
LISA is in active developing, and a lot of exciting features are being
implemented. We're listening to your
`feedback <https://github.com/microsoft/lisa/issues/new>`__.

Просмотреть файл

@ -25,9 +25,6 @@ aws
azure
Provides dependencies for running LISA on Microsoft Azure
legacy
Provides dependencies for running LISA v2 tests
libvirt
Provides dependencies for running LISA on libvirt-managed hypervisors

Просмотреть файл

@ -50,14 +50,9 @@ Why LISA
Contributing <contributing>
Troubleshooting <troubleshooting>
History and road map
Road map
--------------------
The previous LISA called LISAv2, which is in `master branch
<https://github.com/microsoft/lisa/tree/master>`__. The previous LISA can be
used standalone or called from the current LISA. Learn more from :doc:`how to
run LISAv2 test cases <run_test/run_legacy>`.
LISA is in active developing, and a lot of exciting features are implementing.
We're listening your `feedback
<https://github.com/microsoft/lisa/issues/new>`__.

Просмотреть файл

@ -138,9 +138,3 @@ Test cases specification
------------------------
Refer to :doc:`Test specification <test_spec>`.
.. seealso::
Not migrated `legacy LISAv2
tests <https://github.com/microsoft/lisa/blob/master/Documents/LISAv2-TestCase-Statistics.md>`__
for more information.

Просмотреть файл

@ -7,7 +7,6 @@ Run LISA
Getting started with Azure <quick_run>
Run tests in Local VM <run_locally>
Learn Microsoft tests <microsoft_tests>
Learn legacy tests <run_legacy>
Test case summary <test_summary>
Test specifications <test_spec>
Run tests on different platforms <platform>

Просмотреть файл

@ -1,60 +0,0 @@
How to run Legacy LISAv2 tests
==============================
`LISAv2 <https://github.com/microsoft/lisa>`__ brings incredible value
to Linux quality on Microsoft virtualization platforms. To increase the
value of LISA, we decide to continue to invest and have more innovation
on LISA. So, we started the next version.
During the transition time, we keep validating Linux kernels and
distributions. We cannot and don't want to stop to wait for the exciting
current LISA. The two versions will be co-existing for a while. So, the
current LISA version supports to invoke previous LISAv2.
With this document, you will know how to run LISAv2 tests in the current
LISA. The current LISA clones the LISAv2 repo, start LISAv2, and parse
LISAv2 log to generate test results with new format.
.. attention::
|:construction:| WIP |:construction:|
Currently we are migrating previous LISAv2 test cases to this
LISA framework. Before we complete the test case migration, only T0 test
cases can be launched on LISA. Other test cases can be executed in LISA
with “Compatibility mode”, which will invoke a shim layer to call
LISAv2; so you need to run LISA on a Windows computer and provide the
secret file.
Preparation
-----------
LISAv2 should run in the latest Windows 10 client 64 bits, or Windows
Server 2019 editions.
Follow `LISAv2
document <https://github.com/microsoft/lisa/blob/master/README.md>`__
to understand prerequisites and prepare secret files.
Note, you don't need to clone the LISAv2 yourself, the current LISA will
clone it when running.
Limitations
-----------
1. The Test in Parallel of LISAv2 doesn't support with the current LISA
together. The current LISA implements test matrix to replace current
test in parallel in LISAv2. There is no plan for compatibility with
LISAv2 on this.
2. The LISAv2 results is possible to be missed in a rare race condition.
There may be accessing conflict of LISAv2 test log. If it happens on
key logs which relates to test result parsing, it may cause the
status of results are not shown correctly.
Road map
--------
We're migrating LISAv2 test cases to current LISA by test case priority.
We will keep t0 to tx runbooks update to date. When test cases migrated,
they will be included in current LISA, and remove from LISAv2. It's
transparent when running LISA tests.

Просмотреть файл

@ -54,11 +54,6 @@ def update_summary() -> None:
for index, node in enumerate(res, start=1):
_update_line(table, node, index)
link = "https://github.com/microsoft/lisa/blob/master/Documents/LISAv2-TestCase-Statistics.md" # noqa: E501
table.write(".. seealso::\n")
table.write(f" `LISAv2 Tests <{link}>`__\n")
table.write("\n")
def _write_title(file: TextIO) -> None:
"""