Project

General

Profile

Actions

action #170434

closed

coordination #169654: [epic] Create test scenarios for Agama

Control unattended installation also with puppeteer for remote workers

Added by JERiveraMoya 21 days ago. Updated 7 days ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
-
Start date:
2024-11-28
Due date:
% Done:

0%

Estimated time:

Description

Motivation

For remote workers in Agama where there is not VNC* Linuxrc parameter we cannot see the screen, remote workers in openQA using powerVM and specially in s390x we need a realiable way to know when the installation has finished, interact with any error popup that appears and have some visual aid.
We can use puppeteer as well for this.

See feature:
https://jira.suse.com/browse/PED-10808

Acceptance criteria
  • ** AC1**: New test is created that can handle congratulation page with puppeteer.
  • ** AC2**: Additional tests are schedule, for example to patch agama to bring this test to the live iso.
  • ** AC3**: Apply to all our unattended installation with Agama that need it.
Additional information

It was tried out successfully the following:

  1. Edit test_default_installation.ts describe("Agama test", function () { test_init(options); login(options.password); if (options.install) performInstallation(); });
  2. Edit perform_installation.ts export function performInstallation() { it("should finish installation", async function () { await page .locator("h2::-p-text('Congratulations!')") .setTimeout(40 * 60 * 1000) .wait(); }, 40 * 60 * 1000); }
  3. Patch live iso with changes
  4. Start unnattended installation.
  5. Execute puppeteer automation

Result, login and interaction with page is possible from the browser that puppeteer handles.


Related issues 1 (1 open0 closed)

Related to qe-yam - action #167093: Detect end of agama auto-installation in s390x using for example logsNew2024-09-20

Actions
Actions #1

Updated by JERiveraMoya 16 days ago

  • Tags changed from qe-yam-nov-sprint to qe-yam-dec-sprint-fy25
Actions #2

Updated by leli 13 days ago

  • Status changed from Workable to In Progress
  • Assignee set to leli
Actions #4

Updated by JERiveraMoya 13 days ago

  • Related to action #167093: Detect end of agama auto-installation in s390x using for example logs added
Actions #6

Updated by leli 9 days ago ยท Edited

Reported agama doesn't recognize shorten url issue in proj_agama, https://suse.slack.com/archives/C02TLF25571/p1733814442210659

Actions #7

Updated by leli 9 days ago

Actions #8

Updated by leli 8 days ago

Filed a bug for agama doesn't recognize shorten url issue on s390x z/VM, https://bugzilla.suse.com/show_bug.cgi?id=1234362. This bug block the unattended test on s390x z/VM.

Actions #9

Updated by JERiveraMoya 8 days ago

I think the only missing part is to add a new yaml schedule for a s390x unattended installation.

Actions #10

Updated by leli 7 days ago

Updated sles_default_unattended test in sles devel group (repplaced yaml file and update setting related).

https://openqa.suse.de/tests/16183042#step/reconnect_mgmt_console/9 kvm test failed for https://bugzilla.suse.com/show_bug.cgi?id=1234264

https://openqa.suse.de/tests/16183024#step/agama/5 zvm test blocked by https://bugzilla.suse.com/show_bug.cgi?id=1234362

Actions #11

Updated by leli 7 days ago

Also updated https://openqa.suse.de/group_overview/612 for the sles_auto_default on zvm and zkvm, but haven't triggered them for the build is too old.

Actions #12

Updated by JERiveraMoya 7 days ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF