Project

General

Profile

Actions

action #118597

closed

openqa-in-openqa test does not stop immediately on "Connect timeout", missing pipefail option? Job fails later size:M

Added by okurz about 2 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Regressions/Crashes
Target version:
Start date:
2022-10-13
Due date:
% Done:

0%

Estimated time:

Description

Observation

https://openqa.opensuse.org/tests/2798002#step/start_test/1 shows an openqa-cli call combined with pipes to jq. There is an error message (in red) "Connect timeout" but the openQA test does not immediately stop but then fails later

Acceptance criteria

  • AC1: Test fails immediately as soon as unrecoverable error is encountered, including within bash pipe'd commands
  • AC2: Test does not fail anymore on intermittent connect timeouts

Suggestions

  • Investigate why o3 was seemingly not available during the time of test execution
  • Maybe we need better retry capabilities within openqa-cli?
  • Consider setting -o pipefail in the bash session
Actions #1

Updated by livdywan about 2 years ago

  • Subject changed from openqa-in-openqa test does not stop immediately on "Connect timeout", missing pipefail option? Job fails later to openqa-in-openqa test does not stop immediately on "Connect timeout", missing pipefail option? Job fails later size:M
  • Status changed from New to Workable
Actions #2

Updated by mkittler about 2 years ago

  • Assignee set to mkittler
Actions #3

Updated by mkittler about 2 years ago

  • Status changed from Workable to Feedback
Actions #4

Updated by mkittler about 2 years ago

  • Status changed from Feedback to Resolved

The PR has been merged. There has only been one failure since then but it had failed in a different module. I suppose we can resolve the PR nevertheless as I also did some local testing (see PR comment).

Actions

Also available in: Atom PDF