Project

General

Profile

action #118597

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

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

Status:
Resolved
Priority:
High
Assignee:
Category:
Concrete Bugs
Target version:
Start date:
2022-10-13
Due date:
% Done:

0%

Estimated time:
Difficulty:

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

History

#1 Updated by cdywan 4 months 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

#2 Updated by mkittler 4 months ago

  • Assignee set to mkittler

#3 Updated by mkittler 4 months ago

  • Status changed from Workable to Feedback

#4 Updated by mkittler 3 months 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).

Also available in: Atom PDF