Project

General

Profile

Actions

action #162125

closed

coordination #58184: [saga][epic][use case] full version control awareness within openQA

coordination #152847: [epic] version control awareness within openQA for test distributions

[timeboxed:10h][spike] Let openQA keep test distribution checkouts up to date without needing fetchneedles size:S

Added by okurz 7 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Feature requests
Target version:
Start date:
2024-06-12
Due date:
% Done:

0%

Estimated time:

Description

Motivation

fetchneedles is a script provided within the openQA repo and we call it on o3+osd in a cron job every minute to keep test distribution checkouts updated but it's not well documented, can interfer with openQA internal git handling and (probably) still needs initial checkout of test distributions. Let's see what else would be necessary to use the new openQA internal support for checking out git test distributions if they don't exist yet.

Goals

  • G1: A migration plan for existing test distribution on o3 exists so that /var/lib/openqa/share/tests/* would not need to be updated by fetchneedles, e.g. on o3 if checkouts already exist
  • G2: tests would still pass consistently
  • G3: test details and source code views would still show content as expected

Suggestions

  • Apply the approach from #156922 for other test distributions at best in a local reproduction environment but if you are careful or a daredevil you could do it in production :)
  • Try where to update checkouts e.g. in an openQA minion job
  • If you don't know the movie "Despicable me" then watch that first but don't count it as part of the 10h timebox :)

Out of scope

  • Doing any kind of initial checkout if git working copies do not exist yet

Related issues 6 (0 open6 closed)

Related to openQA Infrastructure (public) - action #164895: o3 had corrupted needles git repo, lost uncommitted needles between 2024-07-31 and 2024-08-02Resolvedtinita2024-08-02

Actions
Copied from openQA Project (public) - action #156922: Run os-autoinst-distri-openQA directly from git without anything related in o3:/var/lib/openqa/share/tests size:SResolveddheidler

Actions
Copied to openQA Project (public) - action #164883: Use same minion guard for save_needle, delete_needles and git_clone size:SResolvedtinita

Actions
Copied to openQA Project (public) - action #164886: Use OpenQA::Git for all our git wrappers size:SResolvedrobert.richardson

Actions
Copied to openQA Project (public) - action #164889: Ensure git repos cloned by minions are cleaned up regularly size:SResolved

Actions
Copied to openQA Project (public) - action #164898: Replace fetchneedles with a minion job for the regular update of git repos size:MResolvedtinita

Actions
Actions

Also available in: Atom PDF