Project

General

Profile

Actions

action #161771

closed

coordination #58184: [saga][epic][use case] full version control awareness within openQA

coordination #152847: [epic] version control awareness within openQA for test distributions

Create and maintain up to date version of test distri/needles for webui - take 2 size:M

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

Status:
Resolved
Priority:
High
Assignee:
Category:
Feature requests
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Motivation

Consider transient openQA instances like openQA-single-instance-container but also new instances where we do not want to rely on admins to manually put stuff into /var/lib/openqa/share/tests. For those we want to ensure that openQA automatically clones git repos specified as part of tests but also keeps those working copies up to date. In #159171 mostly https://github.com/os-autoinst/openQA/pull/5622 was merged but AFAIK we have neither a system level test demonstrating that behaviour nor documentation explaining the functionality.

Acceptance criteria

  • AC1: Documentation and/or system level tests demonstrate the functionality introduced in #159171
  • AC2: Assuming #159171 does what it promises then applicable openqa-in-openqa tests as well as openqa-bootstrap should not clone tests+needles but rely on openQA to do that

Suggestions

  • Get to understand the original feature if you haven't had the opportunity yet
  • Add documentation on open.qa
  • Enable the feature in one of the openQA-in-openQA test scenarios and remove the manual checkout
  • Fix any minor issues coming up from the system level testing as needed

Remarks

It doesn't make sense to remove the cloning in openqa-bootstrap as the bootstrapped instance is still supposed to run tests from non-Git sources out of the box. Additionally, the download in advance might be something expected from the bootstrap script (at this point) and we should not break it. For openQA-in-openQA tests it makes also only sense to change scenarios that are using Git sources (but we should ensure we have at least one such scenario).


Related issues 2 (0 open2 closed)

Copied from openQA Project - action #159171: Create and maintain up to date version of test distri/needles for webui size:MResolveddheidler2024-04-17

Actions
Copied to openQA Project - action #162077: Create and maintain up to date version of test distri/needles for webui - enabled by default size:SResolvedmkittler

Actions
Actions #1

Updated by okurz 4 months ago

  • Copied from action #159171: Create and maintain up to date version of test distri/needles for webui size:M added
Actions #2

Updated by okurz 4 months ago

  • Description updated (diff)
Actions #3

Updated by mkittler 4 months ago

  • Subject changed from Create and maintain up to date version of test distri/needles for webui - take 2 to Create and maintain up to date version of test distri/needles for webui - take 2 size:M
  • Description updated (diff)
Actions #4

Updated by mkittler 4 months ago

  • Status changed from New to Workable
Actions #5

Updated by mkittler 4 months ago

  • Description updated (diff)

My understanding/memory from the estimation meeting diverts from the ticket description. I changed AC2 and added a remark because it doesn't make sense how it is phrased right now.

Actions #6

Updated by mkittler 4 months ago

  • Assignee set to mkittler
Actions #7

Updated by okurz 4 months ago

  • Copied to action #162077: Create and maintain up to date version of test distri/needles for webui - enabled by default size:S added
Actions #8

Updated by mkittler 4 months ago

  • Status changed from Workable to In Progress
Actions #10

Updated by openqa_review 4 months ago

  • Due date set to 2024-06-26

Setting due date based on mean cycle time of SUSE QE Tools

Actions #11

Updated by mkittler 4 months ago · Edited

There's still nothing to update for Tumbleweed as no submission was created on https://build.opensuse.org/package/requests/openSUSE:Factory/openQA, probably because http://jenkins.qa.suse.de/job/submit-openQA-TW-to-oS_Fctry failed on 5xx errors. So I restarted that Jenkins pipeline.

EDIT: It now worked so we are now waiting for https://build.opensuse.org/request/show/1180167.

Actions #12

Updated by ggardet_arm 4 months ago

mkittler wrote in #note-9:

PR for the bootstrap script: https://github.com/os-autoinst/openQA/pull/5687

openQA found this breaks on sed expression (missing final / ?) https://openqa.opensuse.org/tests/4269840#step/openqa_bootstrap/13

Actions #14

Updated by mkittler 4 months ago

Still waiting for https://build.opensuse.org/request/show/1180659 to reach TW.

Actions #15

Updated by mkittler 4 months ago

  • Status changed from In Progress to Feedback
Actions #16

Updated by mkittler 4 months ago

  • Status changed from Feedback to In Progress

It is now in TW but the bootstrap test scenario is still failing. So I'll have to investigate why.

Actions #17

Updated by mkittler 4 months ago

  • Status changed from In Progress to Feedback

Unfortunately another change to the boostrap script is required: https://github.com/os-autoinst/openQA/pull/5709

Actions #19

Updated by mkittler 4 months ago · Edited

  • Status changed from Feedback to Blocked
Actions #20

Updated by okurz 4 months ago

SR accepted. We need to wait until a new TW snapshot was released, e.g. block on new release message in https://lists.opensuse.org/archives/list/factory@lists.opensuse.org/ and http://download.opensuse.org/tumbleweed/repo/oss/x86_64/?P=openQA-common-* shows version 4.6.17188+

Actions #21

Updated by okurz 4 months ago

  • Status changed from Blocked to Feedback

https://github.com/os-autoinst/os-autoinst-distri-openQA/pull/177 merged. Did you already add relevant documentation?

Actions #23

Updated by livdywan 4 months ago

mkittler wrote in #note-22:

PR: https://github.com/os-autoinst/openQA/pull/5718

Docs merged. Anything else missing?

Actions #24

Updated by okurz 4 months ago

  • Due date deleted (2024-06-26)
  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF