Project

General

Profile

action #55415

restart "recent incompletes" or "incompletes of today" easier then over web UI

Added by okurz over 1 year ago. Updated 12 months ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Feature requests
Target version:
Start date:
2019-08-13
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

Motivation

Sometimes, especially when a nightly deployment breaks some stuff or wrong test settings have been applied within test settings before a new build is triggered, after a fix has been applied it is not so easy to "retrigger all related incompletes". For example #55412 is such a case where there are around 50 incompletes which need retriggering. What I use so far is to either reschedule complete builds or in this case walk over https://openqa.opensuse.org/tests/?&resultfilter=Incomplete and click the retrigger button. Would be nice to have is at least one of the following alternatives

  1. a simpler query from CLI, e.g. openqa-client --host https://openqa.opensuse.org --json-output jobs latest=1 state=done result=incomplete age="<5h"
  2. batch-retrigger multiple jobs from the web UI by selecting them
  3. batch-retrigger multiple jobs based on query matches
  4. know a workaround using direct database queries
  5. query incomplete jobs based on text pattern matches in the log files

Related issues

Related to openQA Infrastructure - action #55505: lots of incompletes on o3, "qemu-system-x86_64: -vnc :91,share=force-shared: Failed to find an available port: Address already in use", maybe only openqaworker4:1?Resolved2019-08-14

Related to openQA Project - coordination #62420: [epic] Distinguish all types of incompletesBlocked2018-12-12

History

#1 Updated by okurz over 1 year ago

  • Related to action #55505: lots of incompletes on o3, "qemu-system-x86_64: -vnc :91,share=force-shared: Failed to find an available port: Address already in use", maybe only openqaworker4:1? added

#2 Updated by okurz over 1 year ago

#55505#note-2 shows another use case using direct SQL queries to find all incompletes on a specific worker instance of a specific day.

Would it be good to somehow allow access to SQL? whitelist/blacklist certain parts? over all SQL stuff over abstracted API calls?

#3 Updated by okurz about 1 year ago

#4 Updated by okurz 12 months ago

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

https://github.com/os-autoinst/scripts/blob/master/openqa-restart-incompletes-on-worker-instance can help and is good enough for now. Still a nice use case to provide in an extension for the client.

Also available in: Atom PDF