public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH v11 00/16] Update Avocado testsuite
@ 2021-09-16  8:32 Anton Mikanovich
  2021-09-16  8:32 ` [PATCH v11 01/16] start_vm.py: Fix target name handling Anton Mikanovich
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: Anton Mikanovich @ 2021-09-16  8:32 UTC (permalink / raw)
  To: isar-users; +Cc: Anton Mikanovich

This patchset provides implementation of build and vm_start tests
functionality in Python with help of Avocado framework.
Scripts ci_build and vm_smoke_test are rewritten to call Avocado.
ci_build and vm_smoke_test are left for compatibility and
should be replaced by direct avocado calls later.
Original ci_build and vm_smoke_test are renamed to *_legacy.
Build and run logs are hidden by default now until an error occurs.

---
Changes since v10:
- Rebase on next.
- Add DISTRO_APT_PREMIRRORS usage.
- Remove avocado deb package install.
- Set default runner.
Changes since v9:
- Rebase on next.
- Fix avocado artifacts path.
Changes since v8:
- Remove duplication in logs.
- Disable sysinfo plugin.
- Show full errors in default mode.
Changes since v7:
- Remove code duplication.
- Fix build_dir parsing.
- Add missed protect files backup logic.
Changes since v6:
- Improve environment parsing.
- Protect files backup logic.
- Rebuild full log output option.
- Protect ubuntu target with KFAIL.
Changes since v5:
- Rebase on current next.
Changes since v4:
- Add container tests.
- Implement testcase skipping logic.
- Separate and protect Bullseye tests.
- Add checks for container dependencies.
- Add Ilbers repo key.
- Improve error handling.
- Fix Ubuntu qemu image name.
Changes since v3:
- Add automatic bitbake init.
- Fix line lengths.
- Fix build without repro.
- Fix build artifact paths.
- Prepare for Gitlab build.
- Change debug settings.
- Move log splitting to start_vm.
- Add deb package install.
Changes since v2:
- Make CI call Avocado tests.
- Wait less on vm_start test.
- Split Roman's vm_start commit.
- Put logs to build folder.
- Rearrange patches.
- Split build test to classes.
- Add test case tagging.
- Get rid of avocado-framework-plugin-varianter-yaml-to-mux.
- Get rid of python-subprocess32.
- Improve logging.
Changes since v1:
- Merge start_vm rebuild patches.
- Fix patch comments.

Anton Mikanovich (13):
  start_vm.py: Fix ubuntu image name
  vm_boot_test: Fix log file path in vm_boot_test
  vm_boot_test: Remove external varianter
  vm_boot_test: Improve QEMU images checking
  build_test: Refactoring build tests cases
  testsuite: Add Python generations for testsuite in gitignore
  testsuite: Fix test suite prepare guide
  gitlab-ci: Add Avocado build artifacts
  gitlab-ci: Add debug flag
  vm_boot_test: Add automatic bitbake init
  build_test: Protect ubuntu target with KFAIL
  ci_build: Migrate to Avocado
  vm_smoke_test: Migrate to Avocado

Roman Pletnev (3):
  start_vm.py: Fix target name handling
  start_vm.py: Add output and PID file vm_start.py options
  start_vm.py: Add MIPS support

 .gitlab-ci.yml                         |   5 +-
 scripts/ci_build.sh                    | 205 +++----------------
 scripts/ci_build_legacy.sh             | 273 +++++++++++++++++++++++++
 scripts/vm_smoke_test                  | 111 ++--------
 scripts/vm_smoke_test_legacy           | 168 +++++++++++++++
 testsuite/.gitignore                   |   1 +
 testsuite/README.md                    |  21 +-
 testsuite/build_test/build_test.py     | 219 ++++++++++++++++++--
 testsuite/build_test/cibase.py         | 110 ++++++++++
 testsuite/build_test/cibuilder.py      | 133 ++++++++++++
 testsuite/build_test/run.sh            |   3 -
 testsuite/build_test/run_fast.sh       |   3 +
 testsuite/build_test/run_full.sh       |   3 +
 testsuite/build_test/variant.yaml      |  22 --
 testsuite/start_vm.py                  |  27 ++-
 testsuite/vm_boot_test/run.sh          |   3 -
 testsuite/vm_boot_test/run_fast.sh     |   3 +
 testsuite/vm_boot_test/run_full.sh     |   3 +
 testsuite/vm_boot_test/variant.yaml    |  22 --
 testsuite/vm_boot_test/vm_boot_test.py | 121 +++++++++--
 20 files changed, 1067 insertions(+), 389 deletions(-)
 create mode 100755 scripts/ci_build_legacy.sh
 create mode 100755 scripts/vm_smoke_test_legacy
 create mode 100644 testsuite/.gitignore
 create mode 100644 testsuite/build_test/cibase.py
 create mode 100644 testsuite/build_test/cibuilder.py
 delete mode 100755 testsuite/build_test/run.sh
 create mode 100755 testsuite/build_test/run_fast.sh
 create mode 100755 testsuite/build_test/run_full.sh
 delete mode 100644 testsuite/build_test/variant.yaml
 delete mode 100755 testsuite/vm_boot_test/run.sh
 create mode 100755 testsuite/vm_boot_test/run_fast.sh
 create mode 100755 testsuite/vm_boot_test/run_full.sh
 delete mode 100644 testsuite/vm_boot_test/variant.yaml

-- 
2.25.1


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2021-09-16  8:33 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-16  8:32 [PATCH v11 00/16] Update Avocado testsuite Anton Mikanovich
2021-09-16  8:32 ` [PATCH v11 01/16] start_vm.py: Fix target name handling Anton Mikanovich
2021-09-16  8:32 ` [PATCH v11 02/16] start_vm.py: Add output and PID file vm_start.py options Anton Mikanovich
2021-09-16  8:32 ` [PATCH v11 03/16] start_vm.py: Add MIPS support Anton Mikanovich
2021-09-16  8:32 ` [PATCH v11 04/16] start_vm.py: Fix ubuntu image name Anton Mikanovich
2021-09-16  8:32 ` [PATCH v11 05/16] vm_boot_test: Fix log file path in vm_boot_test Anton Mikanovich
2021-09-16  8:32 ` [PATCH v11 06/16] vm_boot_test: Remove external varianter Anton Mikanovich
2021-09-16  8:32 ` [PATCH v11 07/16] vm_boot_test: Improve QEMU images checking Anton Mikanovich
2021-09-16  8:32 ` [PATCH v11 08/16] build_test: Refactoring build tests cases Anton Mikanovich
2021-09-16  8:32 ` [PATCH v11 09/16] testsuite: Add Python generations for testsuite in gitignore Anton Mikanovich
2021-09-16  8:32 ` [PATCH v11 10/16] testsuite: Fix test suite prepare guide Anton Mikanovich
2021-09-16  8:32 ` [PATCH v11 11/16] gitlab-ci: Add Avocado build artifacts Anton Mikanovich
2021-09-16  8:32 ` [PATCH v11 12/16] gitlab-ci: Add debug flag Anton Mikanovich
2021-09-16  8:32 ` [PATCH v11 13/16] vm_boot_test: Add automatic bitbake init Anton Mikanovich
2021-09-16  8:32 ` [PATCH v11 14/16] build_test: Protect ubuntu target with KFAIL Anton Mikanovich
2021-09-16  8:32 ` [PATCH v11 15/16] ci_build: Migrate to Avocado Anton Mikanovich
2021-09-16  8:32 ` [PATCH v11 16/16] vm_smoke_test: " Anton Mikanovich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox