Project

General

Profile

Actions

action #156919

closed

[sporadic] test fails in start_test - openqa-cli api request to o3 itself often times out trying to get latest 'ping_client' auto_review:"openqa-cli api --host.*openqa.opensuse.org.*ping_client":retry size:S

Added by okurz 10 months ago. Updated 9 months ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Bugs in existing tests
Start date:
2024-03-08
Due date:
2024-03-27
% Done:

0%

Estimated time:
Difficulty:

Description

Observation

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

Test died: command 'resp=$(OPENQA_CLI_RETRIES=5 openqa-cli api --host http://openqa.opensuse.org jobs version=Tumbleweed scope=relevant arch='x86_64' flavor=DVD test='ping_client' groupid=1 latest=1)' timed out at /usr/lib/os-autoinst/autotest.pm line 415.

Acceptance Criteria

  • AC1: Requests can handle temporarily unavailable connections

Reproducible

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

Expected result

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

Further details

Always latest result in this scenario: latest

Suggestions

  • Requests time out after 3s which is probably too short
  • Implement exponential back-off in openqa-cli
Actions

Also available in: Atom PDF