Commit Graph

147 Commits

Author SHA1 Message Date
222fb1aaa2 chore(gitignore): ignore cdsmcp templates and stop tracking existing template file 2026-05-12 14:32:57 -04:00
de6eb9e6b7 chore(gitignore): ignore investigate workspace folder 2026-05-12 14:26:54 -04:00
5e4275dd73 chore(gitignore): ignore tmp and stop tracking cmc upgrade test result artifact 2026-05-12 14:23:18 -04:00
cc41d26e9f docs(test): enforce continuous execution and clarify cmc-upgrade outcome/reporting rules 2026-05-12 14:17:12 -04:00
71049abfa2 docs(agents): add redhat manual subscription pre-task guardrail 2026-05-12 12:43:26 -04:00
c2c8c9f3fe docs: switch CMC upgrade test results to single UTC-based cumulative file 2026-05-12 11:35:53 -04:00
909e50828a docs(test): enforce cirrusdata-vs-mcp CMC workflow and add skidamarink offline-host cleanup checkpoints 2026-05-12 11:16:27 -04:00
f9d00a4bcd docs(atvm): require atvm_prep execution on cypress controller 192.168.3.190 2026-05-11 16:04:00 -04:00
f6fc294e6a docs(atvm): require explicit approval before any atvm_prep execution 2026-05-11 11:22:07 -04:00
765a1ffe84 docs(atvm): add atvm_prep shorthand and client/esx mapping defaults 2026-05-11 10:45:57 -04:00
b988ba07fe docs(atvm): add atvm_prep reference and workspace guardrail 2026-05-11 10:13:39 -04:00
65330ee9f8 atvm: fail runs explicitly on hang-kill and runner non-zero exit 2026-05-07 13:34:37 -04:00
e3497111dd atvm: default windows runs to hang_retries 0 2026-05-07 11:13:42 -04:00
28cd8a217f atvm: default compute migrateops runs to set destination static IP
Update automation guide defaults so cmc-migrateops-compute-migration includes --set_static_ip_dest by default unless explicitly overridden. Clarify vmware-specific default as vm_platforms selection, and record the behavior change in run learnings for future runs.
2026-05-07 10:08:23 -04:00
82f285a7b1 atvm: default automation runs to watcher-backed execute mode
Update ATVM run workflow rules to remove the default pre-run approval gate for automation requests while keeping safety checks around live running-state and spec verification. Set watcher-backed execution as the default unless explicitly overridden and require post-execution reporting of the exact template and runner commands used. Record the workflow shift in automation run learnings with a dated entry for future consistency.
2026-05-06 18:40:22 -04:00
2e0acb69c1 fix watcher failure detection for host reporter json
Handle dict-shaped reporter events when deriving watcher host failures.

- parse reporter JSON events with type/message/severity fields
- preserve existing support for list-shaped event records
- record the false-PASS failure mode in ATVM automation run learnings
2026-04-29 12:37:48 -04:00
9673d769e2 fix atvm watcher-backed run launch sequence
Execute the template step before starting watcher-backed ATVM runs.

- run --template-command synchronously in start-atvm-run.sh
- write template output to /tmp/<build>.launch.log
- stop before watcher/runner startup if template generation fails
- document the corrected wrapper behavior in watcher-service docs
- record the stale specPattern failure mode in automation run learnings
2026-04-29 12:14:55 -04:00
2832ea4175 Add iSCSI cleanup reference for guest target removal 2026-04-28 11:47:13 -04:00
22da851f44 docs: narrow ATVM e2e cypress git drafting rules
Update the ATVM git instructions so controller-repo git drafting and the SSH-prefixed push example only apply when the operator explicitly asks for the e2e cypress repo or a close variation.

Align AGENTS.md with git-guide.md so generic ATVM git requests no longer assume the controller repo by default.
2026-04-27 14:54:33 -04:00
96bb156331 docs: default ATVM VM snapshot names to timestamp format
Add an AGENTS.md rule for vCenter VM snapshot requests so snapshot names default to the format  using the local America/New_York timezone unless the operator requests a different name.
2026-04-27 14:33:48 -04:00
2dfe557724 atvm: stop assuming origin main in push guidance
Update the ATVM git guide so push examples do not hardcode origin/main.

Prefer the operator-specified remote and branch when provided, and otherwise draft a generic SSH-prefixed git push command or use the remote/branch already established in context.
2026-04-24 11:19:54 -04:00
a02227fbe5 cdsmcp: add direct ESX VM hardware workflow guide
Add a dedicated ESX VM guide for read-first hardware change workflows,
including disk creation, datastore VMDK attachment, and PCI passthrough
assignment.

Update the existing lookup/assignment runbook and top-level docs to
reference the new guide and require explicit reporting of VM name
mismatches and missing datastore directories before any change.
2026-04-24 11:09:13 -04:00
2e25c2ae2b atvm: preserve authoritative host results in watcher artifacts
Prefer failing and terminal host results when merging supplemental
subrun artifacts so a later partial artifact cannot overwrite a more
authoritative outcome.

Also point ATVM agent guidance at the ATVM-specific git guide and add
that guide to document draft-only commit handling and the default SSH
command pattern.
2026-04-24 11:09:01 -04:00
eb0e171e41 Tighten ATVM categorized run status verification
require categorized PASS results to be confirmed from the child run log or Cloud Run Finished summary

forbid treating watcher host_results, grouped XML, or check-xml-files.ts alone as proof of PASS

record the 2026-04-24 false-PASS incident as a run learning
2026-04-24 08:46:37 -04:00
86e7830d63 Fix ATVM watcher host parsing for wrapped duration rows
Handle Currents "Cloud Run Finished" table rows where the trailing
"s" in long duration values wraps onto its own continuation line.

Instead of appending that standalone continuation to the end of the
host row, drop the wrapped row and rely on the existing duration
parser to accept values without the trailing "s". This preserves all
host rows in parent summary parsing for completed non-categorized runs.

Also record the failure mode and recovery guidance in the ATVM run
learnings doc.
2026-04-22 14:03:02 -04:00
dc8168dc7c Add monitoring helper for mtdi and galaxy migrate
Add a small monitoring helper script for logging CPU and memory usage
for mtdi-daemon and galaxy-migrate.

Also update the cdssync workspace instructions to document how to use
the monitoring helper.
2026-04-21 15:03:58 -04:00
548beaa3ec Add bulk dataset generation options to test data script
Add bulk data generation controls for folder count, files per folder,
file size range, and bulk dataset size limits.

Also update the cdssync docs to describe the new options and how
update mode applies to generated bulk files.
2026-04-21 13:31:17 -04:00
7c27535e2a Add update-only mode for test dataset generator
Add support for running content updates against an existing migration
test dataset without recreating the filesystem structure.

Also make ACL/xattr updates non-fatal on filesystems that do not
support those operations.
2026-04-21 13:21:22 -04:00
4275956259 Add interval-based update mode for test dataset generation
Add optional interval-based random content updates to the cdssync
migration test dataset generator and document the new behavior.

This allows the dataset to be created once and then updated either
continuously or every N seconds while preserving the intended
special-case file structure.
2026-04-21 11:12:37 -04:00
bb1cb37dc2 Add cdssync migration test dataset tooling
Add the cdssync migration test dataset manifest, generator script,
workspace instructions, and gitignore.

This sets the default workflow to:
- generate the dataset locally
- copy it to the test machine with metadata preserved
- verify the copied data before migration testing
2026-04-20 11:49:41 -04:00
4f56ff9c4d Fix ATVM watcher install-only test flow extraction
Teach generated-spec TEST FLOW parsing to honor test-install-only runtime gates, including single-quoted Cypress.env checks, and suppress plugin branches when install-only mode disables them.

Document the 2026-04-16 install-only flow mismatch so future watcher updates keep Mattermost TEST FLOW aligned with the actual generated spec path.
2026-04-16 15:29:03 -04:00
37853e56a9 Harden ATVM watcher grouped-run summary recovery
Tighten `Cloud Run Finished` parsing so categorized watcher recovery only starts on real summary headers, stops at the grouped run's `Recorded Run` URL, and parses only actual summary-table host rows.

Also merge grouped per-host reporter artifacts into categorized recovery so completed grouped batches keep the correct host membership and Mattermost posts remain stable for both categorized and non-categorized runs.
2026-04-16 10:31:20 -04:00
1b88e8887e Document govc datastore resolution for ATVM placement checks
Add the working vCenter placement-check pattern to the ATVM automation guide so explicit VM-list planning uses the correct lowercase govc JSON keys, resolves datastore refs to names, and ignores helper datastores such as install ISO attachments when deciding between gold and gold-2.
2026-04-16 08:13:33 -04:00
70542a13a0 Fix ATVM watcher truncation after Cloud Run Finished
Adjust parent-run summary parsing so the watcher does not stop at the "Recorded Run" detection log line and miss later host rows in Mattermost status output.

Document the 2026-04-15 failure mode in ATVM run learnings so future watcher/reporting work preserves the broader Cloud Run Finished block parsing rule.
2026-04-15 21:11:38 -04:00
6334fecffa Harden ATVM watcher artifact scanning
- skip report artifacts that disappear during watcher post-processing
- use safe mtime handling for XML and mochawesome discovery
- prevent watcher crashes from transient FileNotFoundError races
2026-04-15 12:06:33 -04:00
32ff90ce74 Allow single-VM group consistency planning
- allow explicit single-VM cmc-group-consistency requests
- add a single-VM group consistency example for redhat9.1 pure fc
2026-04-15 09:20:07 -04:00
a26fa29912 Document live vCenter ATVM datastore selection
- map AutomatedTest-VMBootImg-Gold to gold and Gold-2 to gold-2
- require live vCenter placement checks for explicit VM lists
- stop mixed gold/gold-2 requests before planning ATVM runs
- return hostname-only datastore inventories by default
- tell the operator about the vCenter placement check before showing run commands
- clarify that repo inventory files are not the source of truth for current datastore membership
2026-04-15 08:45:52 -04:00
a5e30b6acf Use actual ATVM runtime flow steps in watcher output 2026-04-14 19:05:37 -04:00
893fe35524 Clarify ATVM systemOS command defaults 2026-04-14 15:37:53 -04:00
72ef15f308 Fix ATVM watcher test flow plugin filtering 2026-04-14 12:40:21 -04:00
1c7ed11809 Prevent ATVM watcher and runner log race 2026-04-14 11:13:54 -04:00
7cdcbf8cf1 Add ATVM systemd runner service 2026-04-14 09:49:49 -04:00
a22ff8edf1 Improve ATVM watcher status metadata and run workflow 2026-04-14 07:56:53 -04:00
6403fa3d42 fix: preserve all hosts in non-categorized watcher summaries 2026-04-13 22:46:23 -04:00
e801fd3b6b Remove galaxy-complete issue workflow instructions from AGENTS.md
Remove the old issue-handling defaults and approval rules that referred
to the galaxy-complete workspace.

Keep the remaining commit approval and repository safety guidance.
2026-04-13 18:48:34 -04:00
7ffe0d9e76 Ignore nested workspace and screenshot directories 2026-04-13 17:48:04 -04:00
da1f85bc09 Refine workspace agent safety and approval rules 2026-04-13 17:45:01 -04:00
6b5a5f68ac Update workspace agent issue handling rules 2026-04-13 17:32:56 -04:00
e60bd5e9cd Default ATVM vmware compute migration options 2026-03-31 12:35:44 -04:00
f88f910815 Fix ATVM generated spec test flow fallback 2026-03-31 11:14:38 -04:00