Actions
action #109789
closed[qe-core] generate a list of installed packages in the system at the end of a test
Status:
Resolved
Priority:
Normal
Assignee:
Category:
Refactor/Code Improvements
Target version:
Start date:
2022-04-11
Due date:
% Done:
0%
Estimated time:
Difficulty:
Sprint:
QE-Core: August Sprint (Aug 03 - Aug 31)
Description
In order to understand better what parts of the Operating System are we testing, we need to know what packages are being installed during the lifecycle of a job. This will allow a PO, a QE Engineer, PM, or Release Manager to make a more informed decision when it comes to an ECO, or a feature, by allowing us to answer:
- Are we testing this?
- What version is currently available?
- What tests are using this?.
Since we have two places where packages are handled, one being the zypper log, and another being calls to zypper_call. While this doesn't guarantee that we know for sure a package is being directly tested, we do know that a package will be at least indirectly tested if it's being pulled as a dependency.
Later, we will look into putting that data to use, in a document database (likely)
Acceptance criteria¶
- Write a hook in zypper_call to log in a variable: test_module and package installed or removed (and exports it, in a json, yaml or similar format, easy to parse by machine)
- Write test module that exports the zypper log (Packages installed + packages removed) at the end of the test
- The package information extractor is scheduled in the default scenarios and extra_test_* scenarios on OSD to start in the functional job group
Actions