Project

General

Profile

Actions

action #129412

closed

Verify cleanup behavior of groupless job results

Added by mkittler 12 months ago. Updated 12 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Feature requests
Target version:
Start date:
2023-05-16
Due date:
2023-05-31
% Done:

0%

Estimated time:

Description

Motivation

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.

Acceptance criteria

  • 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.

Suggestions

  • Have a look at ib/OpenQA/Task/Job/Limit.pm (the code under "create temporary job group outside of DB to collect") and lib/OpenQA/Schema/Result/JobGroups.pm.
  • Remove the mentioned code and check whether tests fail. No tests fail after the removal. We need to add a new test.

Related issues 1 (0 open1 closed)

Related to openQA Infrastructure - action #129244: [alert][grafana] File systems alert for WebUI /results size:MResolvedmkittler2023-05-122023-05-30

Actions
Actions

Also available in: Atom PDF