Files
test/config/usm
Andrew Vaillancourt 50317dfaec USM upload test foundation and config cleanup
This change finalizes the foundation layer for USM upgrade and patch upload
test automation. It includes the following updates:

- Refactor USMConfig to remove unused extra_attributes and simplify
  internal variable handling.
- Enforce direct parsing and validation of required fields (e.g., release
  ID, ISO/SIG/PATCH paths, remote credentials).
- Rename test file staging directory from `"upload_test"` to
  `"usm_test"` for clarity.
- Add `__str__` and `__repr__` to `SoftwareListObject` and
  `SoftwareListOutput` for improved log and debug output.
- Clean up docstrings in `SoftwareListObject` and `SoftwareListOutput`,
  ensuring consistent formatting for output parsing.
- Add test module `test_usm_upload.py`, which validates:
  - Config parsing.
  - Uploading releases and patches.
  - Polling software state via software show.

This forms the foundational structure for future USM E2E coverage,
including deploy, rollback, and patch chaining workflows.

Future Work:
- Integrate file copy from remote source using rsync.
- Expand to USM deployment and rollback flows.

Change-Id: I0af37b3803fedd7824e2e395097c3a6236cb1cac
Signed-off-by: Andrew Vaillancourt <andrew.vaillancourt@windriver.com>
2025-05-06 01:41:27 -04:00
..