Conversation
Contributor
Author
|
This change is part of the following stack: Change managed by git-spice. |
|
Skipping CI for Draft Pull Request. |
Contributor
|
Images are ready for the commit at f29fd9b. To use with deploy scripts, first |
Real data taken from a VM with 5465 packages
This repo was added for some reason to my test VM, let's take advantage of this extra data rather than throwing it away
c727c27 to
81a571d
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #18338 +/- ##
=======================================
Coverage 48.87% 48.87%
=======================================
Files 2623 2623
Lines 198099 198099
=======================================
+ Hits 96821 96825 +4
+ Misses 93887 93883 -4
Partials 7391 7391
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
stehessel
approved these changes
Dec 30, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Without this, the VM index report fixture used to generate load contains 507 packages - those installed in a default RHEL 9 VM. When simulating VMs with more packages, we generate reports with duplicates.
This PR adds more unique packages to the list so that we can simulate VMs with more packages installed without needing to repeat packages, therefore making them realistic.
How data was gathered
First I registered the RHEL 9 subscription:
Then I wanted to install all possible packages from the default enabled repos in RHEL 9 (
rhel-9-for-x86_64-baseos-rpms,rhel-9-for-x86_64-appstream-rpms) plus the ansible automation repo (ansible-automation-platform-2.3-for-rhel-9-x86_64-rpms):dnf install -y --skip-broken --nobest '*'However that creates huge transactions that take a long time to process and eventually fail due to conflicts. After several iterations, this vibe-coded script did the trick:
This took several hours and resulted in ~5400 packages being installed.
Note: a large disk is also needed, the lines with trailing comments are the most critical to set it up:
After packages were installed, I ran
roxagentto generate an index report:$ sudo ./roxagent --verbose > report.jsonAnd finally I copied it to my local machine and extracted the data from the report with a
jqfilter (LLM-generated), which I then pasted into the fixture file:User-facing documentation
Testing and quality
Automated testing
This PR adds test data, used by tests.
How I validated my change
I ran fake workloads and fake vsock load and verified that the generated reports contain real packages without repetition