Verify cleanup behavior of groupless job results
Judging by https://stats.openqa-monitor.qa.suse.de/d/nRDab3Jiz/openqa-jobs-test?orgId=1&viewPanel=19 the "group" of jobs with the biggest result size are jobs not in any group. We had a brief look at the retention behavior of job results of groupless jobs but were not sure about it.
- AC1: We know whether and how the cleanup of job results of groupless jobs works.
- AC2: The cleanup behavior¹ is configurable (and not using some hard-coded time intervals).
- AC3: There is a unit test ensuring the cleanup behavior¹ actually works as intended.
- AC4: Documentation about the cleanup behavior¹ and is in accordance with what is actually happening.
¹ The "cleanup behavior" of job results of groupless jobs specifically.
- Have a look at
ib/OpenQA/Task/Job/Limit.pm(the code under "create temporary job group outside of DB to collect") and
Remove the mentioned code and check whether tests fail.No tests fail after the removal. We need to add a new test.