Project

General

Profile

Actions

action #179575

open

coordination #154777: [saga][epic] Shareable os-autoinst and test distribution plugins

coordination #162131: [epic] future version control related features in openQA

"git fetch origin/master" can take very long as it is called unconditionally and without "--depth"

Added by okurz 4 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Feature requests
Target version:
Start date:
2025-03-27
Due date:
% Done:

0%

Estimated time:

Description

Motivation

As observed in #179512 as openQA-in-openQA tests show that the inner openQA-in-openQA test cloning the "ping_test" triggers

Mar 26 07:03:25 susetest openqa-gru[12474]: [info] Running cmd: env GIT_SSH_COMMAND=ssh -oBatchMode=yes GIT_ASKPASS= GIT_TERMINAL_PROMPT=false git -C /var/lib/openqa/share/tests/opensuse fetch origin master

which in the case of https://openqa.opensuse.org/tests/4951090/modules/test_running/steps/4 took 15 (!) minutes. Why do we even call that expensive fetch here? Do we need it? It should be enough to use limited "--depth"?

Acceptance Criteria

  • AC1: Given an openQA instance not needing the full history When a test is cloned/triggered based on a bigger test distribution Then starting a git based test takes significantly less time
  • AC2: The full git history is still available on an openQA instance when needed

Suggestions


Related issues 1 (0 open1 closed)

Copied from openQA Tests (public) - action #179512: openQA-in-openQA test fails in test_running, git clone takes longer than we actually try size:SResolvedlivdywan

Actions
Actions #1

Updated by okurz 4 days ago

  • Copied from action #179512: openQA-in-openQA test fails in test_running, git clone takes longer than we actually try size:S added
Actions

Also available in: Atom PDF