Skip to content

Conversation

@dwoz
Copy link
Contributor

@dwoz dwoz commented Dec 9, 2025

Parameterize our ssh tests to run with thin and relenv fixing anything that doesn't work for relenv along the way.

#68531

@dwoz dwoz requested a review from a team as a code owner December 9, 2025 05:40
@dwoz dwoz added the test:full Run the full test suite label Dec 9, 2025
@dwoz dwoz changed the title Parody thin functionality for relenv and salt-ssh [wip] Parody thin functionality for relenv and salt-ssh Dec 9, 2025
This commit addresses test failures and improves salt-ssh relenv/thin parity:

1. Update grains state unit test expectations to match new "(or pending)"
   message format introduced in previous commits

2. Add "wrapper" and "tops" to sync_refs in mod_data() to ensure these
   extension module types are synced to SSH minions in ext_mods.tgz.
   This fixes integration test failures where wrapper modules weren't
   being deployed, ensuring relenv approach has feature parity with thin.

Fixes:
- tests/pytests/unit/states/test_grains.py::test_list_present_already
- tests/pytests/unit/states/test_grains.py::test_list_present_nested_already
- tests/pytests/integration/ssh/test_deploy.py::test_wrapper_unwrapped_command_exception
- tests/pytests/integration/ssh/test_deploy.py::test_wrapper_unwrapped_command_parsing_failure
- tests/pytests/integration/ssh/test_deploy.py::test_wrapper_unwrapped_command_invalid_return
- tests/pytests/integration/ssh/test_jinja_mods.py::test_wrapper_attribute_access
- tests/pytests/integration/ssh/test_master.py::test_custom_wrapper
- tests/pytests/integration/ssh/test_state.py::test_state_show_top
- tests/pytests/integration/ssh/test_state.py::test_state_running
This change is not related to the ssh relenv work on our current branch
and was added by accident.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test:full Run the full test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants