* Add support for QEMU/libvirt platform.
Add basic support for running LISA framework on Linux platform
using QEMU via the libvirt API. This includes succesfully running
the Microsoft T0 tests against the CBL-Mariner image.
This Makefile is optional because the commands can be run independently,
it was added just to simplify and centralize all our commands. On Linux,
GNU Make is expected to almost universally be installed, but on Windows
it may need to be installed manually to use it. Fortunately the GitHub
Actions Windows image has it.
1. use dataclasses as base schema, dataclasses_json for serialization,
and marshmallow for validation.
2. remove yaml format schema, add python schema.
3. use strong type to replace dict based code.
4. add platform schema and node schema for platform extension.
5. add _initialize for platform
6. init azure platform code.
7. other small improvements.
This adds support for GitHub’s CODEOWNERS, which is a file indicating
which GitHub users should be automatically added as reviewers to new
Pull Requests. It’s per-branch, meaning it applies only for changes made
in a branch which includes this file, so this will not affect ‘master’.
It is setup currently to add Chi, Leandro, and myself to all PRs to
‘main’ for LISAv3.
1. add testselector to deal with criteria and apply settings
2. improve logging to support ut.
3. remove TestSuiteData class, as it doesn't need.
4. add ut in github action.
5. other minor improvements.
This gets around the problem of the branch protection rules requiring
these to run, which I can’t adjust because I’m not an admin.
Fortunately, these tests run really fast.
* Implement custom script
1. Implement custom script. As it's same type with different data, so it's different with tools. CustomScriptBuilder to create an instance of script on Node.
2. rename method and variables to follow pep8 guidaline.
3. rename [Suite/Case]Metadata to [TestSuite/TestCase]Metadata
4. create LisaException to all internal exceptions
5. other minor improvements
While the documentation recommends that the `subprocess` module is used
via the `run()` interface, we are currently using the underlying `Popen`
interface. The documentation further recommends that if
`shell=True` (which is currently the case in our code), that the command
is passed directly as a string, not a split argument sequence. Using
this recommendation fixed the existing bug where the arguments were
being ignored on Linux (causing `uname` to print “Linux” and not the
kernel version, release, and hardware info). However, we need to revisit
our wrapping of `subprocess` because it is difficult to get right.
This adds three badges to our readme, and restricts the workflows to run
only for opened PRs to ‘main’, otherwise we get duplicate workflows for
all ‘v3/**’ branches. While those could be useful for developers to
test, let’s not enable them preemptively.
* Update license with Apache
Added Copyright based on Apache (CELA requested)
Removed unnecessary space.
Removed personal information
Added comment for future code refactoring
* Remove email address from scripts
1. Removed email address from each individual script.
2. Add the suppport email address to README file
3. Updated the README file date.
* Consistent Header format except TestScripts
##############################################################################################
#
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the Apache License.
# Description :
# Operations :
#
###############################################################################################
1. Use above format as Script header. All made changes except test scripts under TestScript. Each individual script owner will do.
2. Added a space befor code starts
* Reframed the head format from suggested one
Header format changed except TestScripts
* Revert deleted example with LIS path
* Removed 'Version:' in each script file