Skip to content

tests/config: add create_vm_libvirt=no args - #415

Open
aniket-sahu-ibmx wants to merge 16 commits into
lop-devops:masterfrom
aniket-sahu-ibmx:network-guest-2define-fix
Open

aniket-sahu-ibmx wants to merge 16 commits into
lop-devops:masterfrom
aniket-sahu-ibmx:network-guest-2define-fix

Conversation

@aniket-sahu-ibmx

Copy link
Copy Markdown
Contributor

Some tests on the network suite try to redefine the already
existing vm as there is logic in the test code to define the vm
if create_vm_libvirt is set to yes in the tp_libvirt config. Our
test environment doesn't need to do that, as we already define
the VM once. This patch helps with mitigating these issues.

Signed-off-by: Aniket Sahu asahu1x@linux.ibm.com

PraveenPenguin and others added 15 commits November 25, 2024 16:13
Removed Feature: virDomainQemuAttach API
Update the env.conf file to add lop-devops/avocado-vt repo
link to bootstrap KVMCI related changes in KVMCI branch

Signed-off-by: Misbah Anjum N <misanjumn@linux.vnet.ibm.com>
Add lop-devops/avocado-vt link to KVMCI branch
1. Added missing configs to run the existing tests
2. Added new configs to run the newly added tests for pci passthrough

Signed-off-by: Tasmiya Nalatwad <tasmiya@linux.vnet.ibm.com>
The command to check if the avocado-misc-tests repo
is correct and matches the name was failing due to
trailing and extra quote characters.
Replacing the same with brackets is solving the issue

Signed-off-by: Misbah Anjum N <misanjumn@ibm.com>
Currently, bootstrap only supports major version package definitions.
This prevents handling packages that exist only in specific minor
versions of an OS.

This commit adds minor version support by:
- Tracking both major and full version identifiers
- Checking version-specific sections first (e.g., deps_<os><major>_<minor>)
- Falling back to major version sections if not found
- Applying same logic to environment-type packages (kvm, NV, pHyp)

Example config usage:
  [deps_rhel9_3]
  packages = version-specific-package

Signed-off-by: Anushree-Mathur <anushree.mathur@linux.ibm.com>
Define SLES 16.1 specific packages in [deps_sles16_1] section. These packages are only available or required for SLES 16.1 and will not be installed on other SLES 16.x versions.

Signed-off-by: Anushree-Mathur <anushree.mathur@linux.ibm.com>
Currently, bootstrap only supports major version package definitions.
This prevents handling packages that exist only in specific minor
versions of an OS.

This commit adds documentation for the minor version support by:
- Explaining how the wrapper checks minor version-specific sections
  first (e.g., [deps_sles16_1]) before falling back to the major
  version section (e.g., [deps_sles16])
- Documenting the same fallback logic for environment-type packages
  (e.g., [deps_sles16_1_kvm] -> [deps_sles16_kvm])
- Providing a clear example config usage in config/wrapper/env.conf
- Highlighting that packages in [deps_sles16_1] are pre-requisite
  packages only for SLES 16.1 and will not affect other SLES 16.x
  versions

Signed-off-by: Anushree-Mathur <anushree.mathur@linux.ibm.com>
Add minor version-specific package dependency support and update for sles16.1 minor release!
env_ver_major was used before being assigned because env_ver was
being truncated to just the major part before env_ver_full was
derived, leaving env_ver_full with no minor version info and
env_ver_major never set.

Fix by deriving both env_ver_full and env_ver_major from the
original env_ver before any truncation, and removing the now-dead
else fallback block that redundantly reassigned env_ver_major.

Signed-off-by: Anushree-Mathur <anushree.mathur@linux.ibm.com>
avocado-setup: fix UnboundLocalError for env_ver_major in env_check!
Some tests on the network suite try to redefine the already
existing vm as there is logic in the test code to define the vm
if create_vm_libvirt is set to yes in the tp_libvirt config. Our
test environment doesn't need to do that, as we already define
the VM once. This patch helps with mitigating these issues.

Signed-off-by: Aniket Sahu <asahu1x@linux.ibm.com>
@aniket-sahu-ibmx
aniket-sahu-ibmx changed the base branch from master to KVMCI November 5, 2026 02:46
@aniket-sahu-ibmx
aniket-sahu-ibmx changed the base branch from KVMCI to master November 5, 2026 02:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants