action #116935
closed[qe-core] Prepare for Alp - Create new test for Ansible
0%
Description
See: https://confluence.suse.com/display/qasle/ALP+QE+-++September+Prototype+Manual+Testcases
While we have already tests for salt, we also need to have an automated test for Ansible, and aim at having the same coverage on both sides
Ansible and Salt are going run on the host only, so we don't need to invest any effort in testing this on a container
Acceptance Criteria¶
- Ansible test is on par with Coverage for Salt
- A test user is added and then removed via the tool.
Updated by szarate about 2 years ago
- Project changed from 46 to openQA Tests
- Category set to New test
Updated by szarate about 2 years ago
- Sprint changed from QE-Core: September Sprint (Aug 31 - Sep 28) to QE-Core: October Sprint (Sep 28 - Oct 26)
Updated by pdostal about 2 years ago
- Status changed from Workable to In Progress
- Assignee set to pdostal
Updated by pdostal about 2 years ago
Updated by dimstar about 2 years ago
pdostal wrote:
https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/15684
Caused a few regressions, like:
- https://openqa.opensuse.org/tests/2836358#step/ansible/14: Staging MicroOS DVD does not contain ansible => https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/15789
- https://openqa.opensuse.org/tests/2837887 (toolbox unconditionally creates the user, after ansible already created it) => https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/15790
Updated by dimstar about 2 years ago
dimstar wrote:
pdostal wrote:
https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/15684
Caused a few regressions, like:
- https://openqa.opensuse.org/tests/2836358#step/ansible/14: Staging MicroOS DVD does not contain ansible => https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/15789
- https://openqa.opensuse.org/tests/2837887 (toolbox unconditionally creates the user, after ansible already created it) => https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/15790
One more issue identified: https://openqa.opensuse.org/tests/2838172#step/toolbox/23
Seems the 'cleanup' of ansible uninstalls all package is 'flagged for installation' - even if the packages pre-existed.
The critical on the list is 'sudo':
2022-10-27 08:42:58 tukit 4.0.1 started
2022-10-27 08:42:58 Options: callext 17 zypper -R {} remove ansible git-core python3-yamllint sudo
2022-10-27 08:42:58 Executing `zypper -R /.snapshots/17/snapshot remove ansible git-core python3-yamllint sudo`:
Reading installed packages...
'python3-yamllint' not found in package names. Trying capabilities.
Resolving package dependencies...
The following 9 packages are going to be REMOVED:
ansible git-core patterns-containers-container_runtime patterns-microos-base patterns-microos-base-zypper patterns-microos-basesystem patterns-microos-defaults python310-yamllint sudo
The following 5 patterns are going to be REMOVED:
basesystem container_runtime microos_base microos_base_zypper microos_defaults
Updated by pdostal about 2 years ago
Updated by apappas about 2 years ago
- Status changed from In Progress to Feedback
Updated by szarate about 2 years ago
A follow up, we consider different deployment scenarios including ALP+Non ALP