Project

General

Profile

Actions

action #156169

open

Automatically validate openQA AutoYaST profile ay-openqa-worker.xml.erb size:S

Added by ybonatakis 2 months ago. Updated 7 days ago.

Status:
Workable
Priority:
Normal
Assignee:
-
Category:
Regressions/Crashes
Target version:
Start date:
2024-02-27
Due date:
% Done:

0%

Estimated time:

Description

Motivation

https://github.com/os-autoinst/openQA/blob/master/contrib/ay-openqa-worker.xml.erb is used for openqa workers.
This is passed as-is to autoyast and seems to work.
But when we generate the xml manual

  • Either TW or Leap
  • install autoyast2
  • Run sudo yast2 autoyast check-profile filename=ay-openqa-worker.xml.erb output=result.xml run-scripts=true run-erb=true

Then complains for:

  • firewall configuration
  • failure to run the scripts

I am not sure about the requirements about the later, but firewall should be easy to address.

Acceptance criteria

  • AC1: Automatic CI tests verify the validity of the autoyast profile generated by the template file

Suggestions

  • Implement an openQA test that verifies the profile
  • Or an openSUSE container running the yast2 call? Consider github actions triggered by changes to the file or only in master
  • Document how to use the profile and ensure only a working profile is documented

Files

worker-error-generated-ay.png (15.3 KB) worker-error-generated-ay.png ybonatakis, 2024-02-27 17:23

Related issues 1 (0 open1 closed)

Related to openQA Project - action #155305: Ensure our commonly used openQA installation autoyast profile covers chronyd size:MResolvedybonatakis2024-02-27

Actions
Actions #1

Updated by okurz 2 months ago

  • Target version set to Tools - Next
Actions #2

Updated by okurz 2 months ago

  • Subject changed from Validate ay-openqa-worker.xml.erb to Automatically validate ay-openqa-worker.xml.erb
  • Parent task deleted (#155305)
Actions #3

Updated by okurz 2 months ago

  • Related to action #155305: Ensure our commonly used openQA installation autoyast profile covers chronyd size:M added
Actions #4

Updated by okurz 7 days ago

  • Subject changed from Automatically validate ay-openqa-worker.xml.erb to Automatically validate openQA AutoYaST profile ay-openqa-worker.xml.erb size:S
  • Description updated (diff)
Actions #5

Updated by okurz 7 days ago

  • Status changed from New to Workable
Actions

Also available in: Atom PDF