Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
fd0bd3c
avocado-setup: Support minor version-specific package dependencies
Jun 4, 2026
9cf8fec
network: disable tx queue value tests
Jun 4, 2026
f012200
Merge pull request #399 from aniket-sahu-ibmx/disabletxqueue-master
harihare Jul 7, 2026
e35e474
avocado-setup: add resume_job_dir parameter to run_test
PraveenPenguin Jul 28, 2026
03f2c42
avocado-setup: restructure run_test normal path into else block
PraveenPenguin Jul 28, 2026
ccb8c7f
avocado-setup: implement avocado replay for resume mode in run_test
PraveenPenguin Jul 28, 2026
eac5056
avocado-setup: add --resume CLI argument
PraveenPenguin Jul 28, 2026
49dd389
avocado-setup: scan prior job dirs to build suite_job_map on resume
PraveenPenguin Jul 28, 2026
c428a06
avocado-setup: add _suite_completed and _suite_replay_dir helpers
PraveenPenguin Jul 28, 2026
982dc5b
avocado-setup: integrate resume logic into main run loop
PraveenPenguin Jul 28, 2026
9887335
README: document --resume option for interrupted run recovery
PraveenPenguin Jul 28, 2026
de74b1b
Merge pull request #401 from PraveenPenguin/pasuereplay
PraveenPenguin Aug 3, 2026
50cc162
avocado-setup: replace job_id hash extraction with os.path.abspath()
PraveenPenguin Aug 4, 2026
139047a
avocado-setup: use replay_path and add --resume flag to avocado repla…
PraveenPenguin Aug 4, 2026
71f5f08
avocado-setup: expand _suite_replay_dir() docstring with priority order
PraveenPenguin Aug 4, 2026
8a1c03e
avocado-setup: fix _suite_replay_dir() interrupted job condition (in …
PraveenPenguin Aug 4, 2026
3f11bdb
Support optional isolated venv for Avocado bootstrap
bssrikanth Aug 11, 2026
cfe447a
Merge pull request #402 from PraveenPenguin/pasuerr
PraveenPenguin Aug 19, 2026
8083777
Merge pull request #403 from bssrikanth/venv
PraveenPenguin Aug 19, 2026
02f5fb8
env.conf: add aautils to framework base packages
Sumitupadhyay1 Aug 19, 2026
edf6dc9
Merge pull request #404 from Sumitupadhyay1/aautils_intergation
narasimhan-v Aug 26, 2026
1c06eaa
Add SLES 16.1 specific package dependencies
Sep 18, 2026
4703e1e
docs: document minor version-specific package dependencies in README
Sep 18, 2026
623ee06
Merge pull request #392 from Anushree-Mathur/anu_avocado
PraveenPenguin Sep 18, 2026
913f24e
Merge pull request #408 from Anushree-Mathur/readme-minor-version
PraveenPenguin Sep 18, 2026
c539936
Merge pull request #393 from Anushree-Mathur/sles
PraveenPenguin Sep 18, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
*.log
__pycache__
*.pyc
.venv
57 changes: 56 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ $ ./avocado-setup.py -h
[--additional-args ADD_ARGS] [--guest-os GUEST_OS] [--vt {qemu,libvirt}]
[--install] [--no-download] [--no-deps-check] [--install-deps] [--clean]
[--enable-kvm] [--nrunner] [--run-tests RUN_TESTS] [--config-env CONFIG_PATH]
[--config-norun NORUNTEST_PATH]
[--config-norun NORUNTEST_PATH] [--resume]

options:
-h, --help show this help message and exit
Expand Down Expand Up @@ -103,6 +103,9 @@ $ ./avocado-setup.py -h
Specify env config path
--config-norun NORUNTEST_PATH
Specify no run tests config path
--resume Resume an interrupted run using the same --output-dir results
directory. Skips suites that completed cleanly, replays the
interrupted suite via avocado replay, and runs remaining suites fresh.

```

Expand Down Expand Up @@ -262,6 +265,58 @@ $ ./avocado-setup.py -h
19. `--config-norun`:
> Path to a custom NORUNTEST File path

20. `--resume`:
> Use this option to resume a test run that was interrupted due to a system crash or reboot.
> The wrapper scans the results directory (from `--output-dir` or the default `results/` path)
> and automatically determines the state of each suite:
>
> | Suite state in prior run | Action on resume |
> |---|---|
> | Completed cleanly | Skipped — not re-run |
> | Was running at time of crash/reboot | Replayed via `avocado replay <job_id>` — only not-passed tests re-run |
> | Never started (system crashed before it was reached) | Normal fresh run |
>
> **Usage — first run:**
> ```
> ./avocado-setup.py --run-suite host_a,host_b,host_c
> ```
>
> **After system reboot/crash — same command with `--resume`:**
> ```
> ./avocado-setup.py --run-suite host_a,host_b,host_c --resume
> ```
>
> If a custom `--output-dir` was used in the original run, pass it again with `--resume`:
> ```
> ./avocado-setup.py --run-suite host_a,host_b,host_c --output-dir /path/to/output --resume
> ```
>
> NOTE: The `--run-suite` list must be identical to the original run so the wrapper can
> correctly identify which suites ran, which was interrupted, and which never started.
> Works for both host and guest test suites.

### Minor Version-Specific Package Dependencies:

By default, the wrapper checks for OS-level dependency packages using the **major version** of the detected OS
(e.g., `[deps_sles16]`). The wrapper also supports **minor version-specific** sections that take priority over
the major version section.

**How it works:**
1. The wrapper first checks for a minor version-specific section (e.g., `[deps_sles16_1]`)
2. If not found, it falls back to the major version section (e.g., `[deps_sles16]`)
3. The same lookup logic applies to environment-type packages (e.g., `[deps_sles16_1_kvm]` → `[deps_sles16_kvm]`)

**Example** — add packages only for SLES 16.1 in `config/wrapper/env.conf`:
```
[deps_sles16]
packages = gcc,python311-devel,xz-devel

[deps_sles16_1]
packages = version-specific-package
```

> **Note:** Packages in `[deps_sles16_1]` will **only** be the pre-requisite packages that need to be installed on SLES 16.1 and will not affect other SLES 16.x versions.

### Customizing Test Suites:

The Host and Guest sanity suites were created to include a varied collection of tests to validate new Host OS installations.
Expand Down
Loading
Loading