Project

General

Profile

Actions

action #116935

closed

[qe-core] Prepare for Alp - Create new test for Ansible

Added by szarate over 1 year ago. Updated 10 months ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
New test
Target version:
Start date:
2023-05-25
Due date:
2023-05-25
% Done:

0%

Estimated time:
Difficulty:
Sprint:
QE-Core: October Sprint (Sep 28 - Oct 26)

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

  1. Ansible test is on par with Coverage for Salt
  2. A test user is added and then removed via the tool.
Actions #1

Updated by apappas over 1 year ago

  • Status changed from New to Workable
Actions #2

Updated by szarate over 1 year ago

  • Project changed from 46 to openQA Tests
  • Category set to New test
Actions #3

Updated by szarate over 1 year ago

  • Sprint changed from QE-Core: September Sprint (Aug 31 - Sep 28) to QE-Core: October Sprint (Sep 28 - Oct 26)
Actions #4

Updated by pdostal over 1 year ago

  • Status changed from Workable to In Progress
  • Assignee set to pdostal
Actions #7

Updated by dimstar over 1 year ago

dimstar wrote:

pdostal wrote:

https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/15684

Caused a few regressions, like:

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
Actions #9

Updated by apappas over 1 year ago

  • Status changed from In Progress to Feedback
Actions #10

Updated by szarate over 1 year ago

  • Status changed from Feedback to Resolved
Actions #11

Updated by szarate over 1 year ago

A follow up, we consider different deployment scenarios including ALP+Non ALP

Actions

Also available in: Atom PDF