Project

General

Profile

Actions

action #179512

closed

openQA Project (public) - coordination #154777: [saga][epic] Shareable os-autoinst and test distribution plugins

openQA Project (public) - coordination #162131: [epic] future version control related features in openQA

openQA-in-openQA test fails in test_running, git clone takes longer than we actually try size:S

Added by nicksinger about 2 months ago. Updated about 2 months ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Bugs in existing tests
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

Observation

openQA test in scenario openqa-Tumbleweed-dev-x86_64-openqa_install_multimachine@64bit-4G fails in
test_running

# Test died: command 'retry -s 30 -r 30 -- sh -c '
    r=`openqa-cli api jobs test=ping_client | tee /dev/fd/2 |
    jq -r ".jobs | max_by(.id) | if .result != \"none\" then .result else .state end"`;
    echo $r | grep -q "incomplete\|failed" && killall retry;
    echo $r | grep -q "passed"'' failed at /usr/lib/os-autoinst/autotest.pm line 416.

Reproducible

Fails since (at least) Build :TW.35671 (current job)

Expected result

Last good: :TW.35670 (or more recent)

Acceptance Criteria

  • AC1: The test doesn't fail on a temporary problem with git fetch trying to clone overly large os-autoinst-distri-opensuse
  • AC2: There is no copy-paste duplication of test code in osado (os-autoinst-distri-opensuse) and other places
  • AC3: os-autoinst-distri-example does not become more complicated

Suggestions

Further details


Related issues 1 (1 open0 closed)

Copied to openQA Project (public) - action #179575: "git fetch origin/master" can take very long as it is called unconditionally and without "--depth"New2025-03-27

Actions
Actions #1

Updated by okurz about 2 months ago

  • Priority changed from Normal to High
  • Target version set to Ready
Actions #2

Updated by livdywan about 2 months ago

  • Description updated (diff)

Taking a brief look. I see two instances of it.

Actions #3

Updated by dheidler about 2 months ago

  • Subject changed from openQA-in-openQA test fails in test_running, git clone takes longer than we actually try to openQA-in-openQA test fails in test_running, git clone takes longer than we actually try size:S
  • Description updated (diff)
  • Status changed from New to Workable
Actions #4

Updated by livdywan about 2 months ago

  • Status changed from Workable to In Progress
  • Assignee set to livdywan
  • Increase the number of seconds we sleep
  • We seem to be exhausting the 30 seconds wait setting up the test before we get to cloning

I will go for increasing the timeout in tests_running for now, and see that further ideas will be covered in follow-up tickets.

Actions #5

Updated by okurz about 2 months ago

  • Parent task set to #162131
Actions #6

Updated by okurz about 2 months ago

  • Copied to action #179575: "git fetch origin/master" can take very long as it is called unconditionally and without "--depth" added
Actions #7

Updated by livdywan about 2 months ago

  • Status changed from In Progress to Feedback
  • Parent task deleted (#162131)
Actions #8

Updated by livdywan about 2 months ago

  • Parent task set to #162131
Actions #9

Updated by livdywan about 2 months ago

  • Status changed from Feedback to Resolved

livdywan wrote in #note-7:

https://github.com/os-autoinst/os-autoinst-distri-openQA/pull/232

Merged. Let's assume this improves the situation. #179575 will help in a more concrete way.

Actions

Also available in: Atom PDF