Refine explicit-VM blacklist handling for ATVM runs

This commit is contained in:
2026-03-27 12:30:31 -04:00
parent 95eeba60cd
commit 3b28f877ef
3 changed files with 13 additions and 1 deletions

View File

@@ -52,6 +52,8 @@ This file defines how to operate and maintain the ATVM workspace in `/home/aw/co
- Default plugin: `--use_specified_plugin iscsi` - Default plugin: `--use_specified_plugin iscsi`
- Always include `--ignore_force_shutdown` unless explicitly told not to. - Always include `--ignore_force_shutdown` unless explicitly told not to.
- Default config family: `gold` - Default config family: `gold`
- Do not auto-add the maintained `--exclude_partial_match` blacklist when the operator explicitly targets named VMs with `--specify_vms`.
- Even for explicit `--specify_vms` requests, first check whether any requested VM is on the maintained blacklist and stop if it is.
## Required Operating Rules ## Required Operating Rules
- Never run setup without operator-provided `--expected-ip` and `--expected-hostname`. - Never run setup without operator-provided `--expected-ip` and `--expected-hostname`.

View File

@@ -125,7 +125,9 @@ python3 ./run-sorry-cypress.py --config_file <config-file> --build_name <hyphena
- `--vm_platforms vmware|ovirt|openshift|proxmox` - `--vm_platforms vmware|ovirt|openshift|proxmox`
## Blacklisted Machines ## Blacklisted Machines
Always exclude these machines from ATVM automation runs by adding them to `--exclude_partial_match`. Always exclude these machines from broad-scope ATVM automation runs by adding them to `--exclude_partial_match`.
If the operator explicitly targets one or more named VMs with `--specify_vms`, do not add the maintained `--exclude_partial_match` list unless the operator also explicitly asks for it.
Even for explicit `--specify_vms` requests, first check whether any requested VM is on the maintained blacklist and stop instead of launching the run if one is included.
Permanently blacklisted because CMC cannot compile: Permanently blacklisted because CMC cannot compile:
- `atvm6-centos6.0` - `atvm6-centos6.0`

View File

@@ -266,3 +266,11 @@ This file stores run-specific examples only when a run produced a new learning r
- Action for future runs: - Action for future runs:
- Treat `approve` as approval to run and start the watcher. - Treat `approve` as approval to run and start the watcher.
- Treat `approve without watcher` as approval to run without starting the watcher. - Treat `approve without watcher` as approval to run without starting the watcher.
## Run Learning: 2026-03-27 (Do not auto-add blacklist excludes for explicitly specified VMs)
- Observed requirement:
- When the operator explicitly specifies the VM or VM list to run, they do not want the maintained `--exclude_partial_match` blacklist added automatically.
- Action for future runs:
- Keep the maintained `--exclude_partial_match` list for broad selectors such as `--containsVm` or `--randomize`.
- When the operator uses `--specify_vms`, do not auto-add the blacklist unless they explicitly request it.
- Even when the operator uses `--specify_vms`, first check whether any requested VM is on the maintained blacklist and stop instead of launching it if one is included.