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

75 Коммитов

Автор SHA1 Сообщение Дата
Chi Song 46023ee1c8 Fix pyhtml broken 2023-09-01 14:36:32 -07:00
Elizabeth Castillo f7677ca15a
Test case Azure Key Vault Linux Extension VM (#2892)
* kvvm_extension

* creation and rotation of certs, logs

* deleted repeated imports

* Update pyproject.toml

added key vault secrets package

* moved logs for better debuggin and added more packages

* system assigned identity, changed priority

* Update pyproject.toml

added missing package

* fixed errors from pylint and flake8

* fixing more styling/worked on mypys errors

* updated package

* addes missing packages

* corrected packages

* change compute package to prev version

* added type ignore

* corrected minor errors with styling

* fixing flake8 errors

* corrected unused type ignore

* delete unused imports

* code refactoring and cleaning resources

* deleted by mistake MIT license, just added it back

* added missing package

* deleted system identity to minimize impact

* minor correction

* deleted extra space

* file back to how it was

* added requested changes

* deleted no longer needed packger and RBAC

* delete OS release version print, deployment already shows OS

* delete and create certs in loop, added env variables

* isort imports

* refactor code: Default credentials change to AzureCredential

* change order of logs, refactor access policies, changed testcase name

* creation of key vault in shared resource group, change error handling

* created methods to fecth tenantid and objectid, made check_system_status private

* merge one line into one log, double checked log info is good for debug

* Update lisa/sut_orchestrator/azure/common.py

Co-authored-by: Chi Song <27178119+squirrelsc@users.noreply.github.com>

* change logs, use regex, change methods name, use retry logic

* changing priority, correcting trail space

* added regex pattern examples, change group name for regex patterns

* changed priority

* service principal test endpoint changed

* corrected objectID fetch, minor changes in assign access policy method, added more randomness in certs name

* ability to handle both scenario with user and app tokens

* cleaning code styling, final changes

* change code logic to fetch objectid, added more specific Lisaexception error message

---------

Co-authored-by: Chi Song <27178119+squirrelsc@users.noreply.github.com>
2023-08-23 12:16:22 +08:00
LiliDeng 69ce794036
upgrade PyYAML into 6.0.1 (#2852) 2023-07-18 10:39:01 +08:00
BumpDeps 085e25124e BumpDeps: pylint 2023-05-22 08:40:56 -07:00
Chris Gunn 43ce80dd53 Update libvirt-python package.
Newer version of libvirt-python is needed for compatibility with newer version
of libvirt. Note that libvirt-python versions are backwards-compatibility with
older versions of libvirt.
2023-05-11 15:08:17 -07:00
Avram Lubkin 7c6d4a0d3a Update to the latest Pillow 2023-05-03 17:37:13 +08:00
Lili Deng 4295522326 support multi clouds 2023-04-25 15:00:56 +08:00
Avram Lubkin 4e6d383caa Add support for Python >=3.11 2023-04-04 14:01:43 +08:00
Avram Lubkin e3a962b3b9 Pylint: Enable eval-used 2023-02-28 08:56:44 -05:00
Avram Lubkin 3c5cd9c9e0 More accurately report coverage 2023-02-22 10:45:08 -08:00
BumpDeps 7f1fba8a9d BumpDeps: flake8 2023-02-22 10:39:50 -08:00
Avram Lubkin d71b1da594 Pin to latest isort and black 2023-02-01 09:56:04 -05:00
Avram Lubkin d91b740697 Add worklow to update CI deps 2023-01-18 22:37:26 -05:00
Lili Deng 29ac0b10cd use fixed flake8-bugbear version 2023-01-17 10:08:47 +08:00
Avram Lubkin 103ddf453f Fix coverage include paths 2022-12-20 11:32:39 +08:00
Chi Song be7b7243ba package: pump up paramiko fix warning in log 2022-12-12 09:41:56 -08:00
Lili Deng 5db0e32695 fix CI pipeline error by specify flake8 version 2022-11-26 21:26:44 -08:00
Avram Lubkin 6617cec62a Switch from poetry to setuptools / nox 2022-11-15 14:20:08 +08:00
Purna Pavan Chandra Aekkaladevi 8e5344f6e9 Update libvirt-python to latest 2022-11-02 11:03:25 -07:00
Lili Deng 2096bf1651 add methods to create, delete private endpoints, zone etc. 2022-10-18 08:52:31 +08:00
Chi Song 8f2bc922f6 Add timed cache package 2022-09-01 17:39:01 -06:00
Chi Song 7907b723ff Packages: Fix Python constrains by isort 2022-08-02 12:33:39 -07:00
Divyansh e1a27d92c9 Implement functionality to write to serial console 2022-07-29 12:05:48 -07:00
Anthony Shaw 48627a1a4c Update python-requires 2022-07-21 15:49:15 -07:00
Chris Gunn 62b497a686 Update libvirt-python dependency.
The latest version of libvirt-python includes a fix to allow it to run on Python
v3.10+.
2022-07-20 17:06:45 -07:00
Chi Song a26b18746c Remove unnecessary packages to fix security issue. 2022-06-06 13:52:09 -07:00
rainierside 1932b12634
Enable Lisa on AWS to execute the network and storge performance tests (#1943) 2022-05-26 16:52:30 -07:00
Chris Gunn 2455ec828a Update libvirt-python dependency.
There are some fixes in the latest version of libvirt-python that are required
when running against newer versions of libvirt.
2022-05-16 16:58:23 -07:00
Chi Song 5d6deb7a23 Fix doc build
1. move dev/optional packages to main, because dev doesn't support
   optional.
2. fix logic to detect platform specified packages to support optional
    packages.
3. Update requirements.txt.
2022-04-14 14:51:05 -07:00
Chi Song d7d9251e71 use consistent mypy args for IDE and build 2022-04-14 14:51:05 -07:00
Chi Song 91cc1f985b upgrade packages
set azure-storage-file-share to 12.4.0, because there is type error in
it. Try higher version than 12.7.0.
2022-04-14 14:51:05 -07:00
Chi Song c9c2b99748 Breaking change: support minimum installation
With default "poetry install", it can run sample test cases, but not
azure or libvirt. It uses to reduce dependent packages for other
platforms.

If it needs to run against Azure, use "poetry install -E azure". To
support both Azure and libvirt, use "poetry install -E 'azure libvirt'".
2022-04-14 14:51:05 -07:00
dependabot[bot] 4b86459a35 Bump paramiko from 2.9.2 to 2.10.1
Bumps [paramiko](https://github.com/paramiko/paramiko) from 2.9.2 to 2.10.1.
- [Release notes](https://github.com/paramiko/paramiko/releases)
- [Changelog](https://github.com/paramiko/paramiko/blob/main/NEWS)
- [Commits](https://github.com/paramiko/paramiko/compare/2.9.2...2.10.1)

---
updated-dependencies:
- dependency-name: paramiko
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-29 15:32:28 -07:00
Chi Song e2dbe85e5b doc: fix build error by miss toml 2022-02-11 12:08:17 -08:00
Lili Deng 6e529e69fd Migrate NET-SET-STATIC-MAC test case. 2022-02-10 21:25:33 -08:00
Chris Gunn fc5638bf50
Add support for QEMU/libvirt platform. (#1677)
* 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.
2022-01-19 14:59:48 -08:00
dependabot[bot] 9a7b751c75 build(deps): bump pillow from 8.3.2 to 9.0.0
Bumps [pillow](https://github.com/python-pillow/Pillow) from 8.3.2 to 9.0.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/8.3.2...9.0.0)

---
updated-dependencies:
- dependency-name: pillow
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-12 20:36:02 -08:00
Lili Deng 3bef1aac91 One bug existed in 12.6.0 version of azure-storage-file-share, now use 12.4.0, will use latest one once new version released. 2021-12-13 11:11:36 -08:00
Chi Song ed96b036bd upgrade packages 2021-10-12 15:03:03 -07:00
Chi Song 26a1ceaa1c SerialConsole: compress screentshot to save space
The BMP file spends a lot of memory, convert it to PNG save about 600KB
per file.
2021-09-02 14:33:32 -07:00
Chi Song 82a329d94b Make: use pyproject as mypy config file 2021-09-02 13:58:06 -07:00
WenyiQ 7c7949376d update conf 2021-08-12 22:51:18 -07:00
WenyiQ 0e91cf8ef8 add pep8-naming 2021-08-09 09:23:14 -07:00
Chi Song 72b108ed68 add rstcheck and snooty-lextudio package for rst 2021-07-22 21:49:05 -07:00
Chi Song 7310675ca4 update checking packages.
After installed the types-retry, it still prompts the type errors. Add
"type: ignore" to suppress it.
2021-07-22 21:49:05 -07:00
WenyiQ ca4178662b add denpendencies 2021-07-12 19:17:43 -07:00
Chi Song e1ebdfc38c Azure upgrade compute sdk 2021-07-07 16:51:54 -07:00
Sonia Sharma 8c22a15972 Add posix property to get os release version in semver valid format 2021-06-22 16:35:52 -07:00
Gustavo Lima Chaves 4def6672c5 ⬆️ [poetry] Update
Gotta love it when typing-extensions gets updated--more checking! :)
2021-05-18 12:00:19 -07:00
Divyansh 3b6fdbeb86 Add function to create container in azure storage 2021-04-14 12:53:58 +08:00