Project

General

Profile

action #73345

[u] Cleanup of old needles from os-autoinst-needles-opensuse and os-autoinst-needles-sle

Added by okurz about 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
Start date:
2020-10-14
Due date:
% Done:

0%

Estimated time:

Description

Motivation

In very active needle repos like we have for SLE and also openSUSE outdated needles should be deleted from time to time when they are not matched or used for long. If nobody wants to do it everything becomes worse. Also see https://chat.suse.de/channel/testing?msg=rYLtgxCr4a7GeKTsh and following messages

Acceptance criteria

  • AC1: Cleanup over sensible time range has been conducted on OSD
  • AC2: Same as AC1 for o3

Suggestions

  • Look for needles that have not been matched and not used on OSD since 2 years, select all, review if the selection is sane or if there is too much deleted, then delete
  • Same for 1 year or smaller period than before
  • Same on o3

Related issues

Copied to openQA Infrastructure - action #73387: Cleanup of old needles from os-autoinst-needles-opensuse and os-autoinst-needles-sleResolved2020-10-14

History

#1 Updated by szarate about 1 year ago

  • Subject changed from Cleanup of old needles from os-autoinst-needles-opensuse and os-autoinst-needles-sle to [u] Cleanup of old needles from os-autoinst-needles-opensuse and os-autoinst-needles-sle
  • Status changed from Workable to In Progress
  • Assignee set to szarate

#2 Updated by szarate about 1 year ago

  • Status changed from In Progress to Feedback

For the time being, I deleted needles whose last use was before 2019-01-01T13:12:03 and those whose last match was before that (Leaving only some of the opensuse ones alive)

For o3: https://github.com/os-autoinst/os-autoinst-needles-opensuse/commits?author=foursixnine&since=2020-10-13&until=2020-10-14
For osd: https://gitlab.suse.de/openqa/os-autoinst-needles-sles/-/commits/master?author=Santiago%20Zarate&since=2020-10-13&until=2020-10-14

I think I can leave AC3 for you guys :)

#3 Updated by okurz about 1 year ago

this is great news. Thanks for doing that and picking up a task that helps everybody. You can keep the ticket on you in Feedback to wait for any fallout :) I will create another ticket for AC3 and improvement ideas.

#4 Updated by okurz about 1 year ago

  • Copied to action #73387: Cleanup of old needles from os-autoinst-needles-opensuse and os-autoinst-needles-sle added

#5 Updated by okurz about 1 year ago

  • Description updated (diff)
  • Target version changed from Ready to future

#6 Updated by szarate about 1 year ago

  • Status changed from Feedback to Resolved

Thanks for extracting AC3,

Here's some leftovers: https://gitlab.suse.de/openqa/os-autoinst-needles-sles/-/commit/6788aa122c61372c0e1bc8c6a25c099a21f658a1

on o3, looks like everything is moving smoothly, so I call it resolved for the time being :)

Also available in: Atom PDF