Project

General

Profile

Actions

action #97733

closed

Bot fails on Failed to query latest publiccloud tools image using {settings['PUBLICCLOUD_TOOLS_IMAGE_QUERY']} and no aggregates are scheduled

Added by pdostal about 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Target version:
Start date:
2021-08-30
Due date:
% Done:

0%

Estimated time:

Description

Here is example of failing run.

The PUBLICCLOUD_TOOLS_IMAGE_QUERY variable is set to https://openqa.suse.de/group_overview/276.json.
This variable is used as parameter to get_latest_tools_image function which then returns publiccloud_tools_0020.qcow2.

Actions #1

Updated by pdostal about 3 years ago

Here is possible hotfix.

Actions #2

Updated by pdostal about 3 years ago

  • Priority changed from Normal to Urgent
Actions #3

Updated by okurz about 3 years ago

  • Assignee set to okurz
  • Target version set to Ready

@pdostal https://progress.opensuse.org/issues/97733 sounds really like a "QE Container & Public Cloud" internal issue. I don't know how SUSE QE Tools is supposed to help here?

Actions #4

Updated by jbaier_cz about 3 years ago

Initial investigation

Subsequent run successfully scheduled at least the rest of the jobs, the public cloud error remains, now with a more specific error message:
ERROR: Failed to query latest publiccloud tools image using https://openqa.suse.de/group_overview/276.json

Actions #5

Updated by jbaier_cz about 3 years ago

okurz wrote:

@pdostal https://progress.opensuse.org/issues/97733 sounds really like a "QE Container & Public Cloud" internal issue. I don't know how SUSE QE Tools is supposed to help here?

It is a bug in the bot actually, just found the issue. The bug was introduced by https://gitlab.suse.de/qa-maintenance/bot-ng/-/commit/317bf0bbc011a6b1ce3a07de06d93ea0f430fa37

Actions #6

Updated by jbaier_cz about 3 years ago

  • Status changed from New to Resolved
  • Assignee changed from okurz to jbaier_cz
Actions #7

Updated by jbaier_cz about 3 years ago

  • Status changed from Resolved to Feedback
Actions #8

Updated by jbaier_cz about 3 years ago

  • Status changed from Feedback to Resolved

I see several improvements here we can probably evaluate:

  1. The CI pipeline is still not yet ideal. As there are a lot of runs, we are hitting https://progress.opensuse.org/issues/96827 quite often, that unfortunately hides some of the problems.
  2. For public cloud, there are at least three different prefixes for variables: PUBLICCLOUD_, PUBLIC_CLOUD, PC_; that should be unified.
  3. It would be nice to have at least a basic test suite to better distinguish between metadata error and code error.
Actions #9

Updated by pdostal about 3 years ago

  • Assignee deleted (jbaier_cz)
  • Target version deleted (Ready)

jbaier_cz wrote:

  1. For public cloud, there are at least three different prefixes for variables: PUBLICCLOUD_, PUBLIC_CLOUD, PC_; that should be unified.

I created #97742 for this.

Actions #10

Updated by pdostal about 3 years ago

The bug was in public cloud specific part of the bot but it was affecting all aggregates.

Thank you @jbaier_cz for the fix!

Actions #11

Updated by pdostal about 3 years ago

  • Assignee set to jbaier_cz
  • Target version set to Ready
Actions

Also available in: Atom PDF