Project

General

Profile

action #109560

Add openqa-cli sub-command for async scheduling and keeping track of the result

Added by mkittler 3 months ago. Updated 3 months ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Feature requests
Target version:
Start date:
2022-04-06
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

Motivation

Asynchronous scheduling allows avoiding us to run into a timeout (in practice most likely a proxy timeout; then the scheduling still might have succeed despite the error). The only problem is that one needs to actively poll for the result. It would be useful if openqa-cli had a sub-command to take care of it (similar to this Bash example) because in some contexts like https://github.com/os-autoinst/openqa-trigger-from-obs it can be very inconvenient having to implement that manually (see https://progress.opensuse.org/issues/109292#note-15).

Acceptance criteria

AC1: openqa-cli has a sub-command that allows scheduling an iso asynchronously keeping track of the result.


Related issues

Related to openQA Project - action #109292: OSD is missing x86_64 jobs duplicate key value violates unique constraint "assets_type_name" in lib/OpenQA/Schema/ResultSet/Assets.pm line 33 within find_or_createResolved2022-03-31

History

#1 Updated by mkittler 3 months ago

  • Related to action #109292: OSD is missing x86_64 jobs duplicate key value violates unique constraint "assets_type_name" in lib/OpenQA/Schema/ResultSet/Assets.pm line 33 within find_or_create added

#2 Updated by okurz 3 months ago

  • Priority changed from Normal to Low
  • Target version set to future

Also available in: Atom PDF