Project

General

Profile

Actions

action #47921

closed

[functional][y] Apply new scheduling mechanism for any installation scenario in YaST job group which is also executed on o3

Added by riafarov about 5 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Enhancement to existing tests
Target version:
SUSE QA - Milestone 23
Start date:
2018-11-28
Due date:
2019-03-26
% Done:

0%

Estimated time:
3.00 h
Difficulty:

Description

Motivation

So we got 3 PoC solutions, which do work already, but none of them solves all the problems (which happens mainly in dreams). It's time to continue and one make step further.

Here are PoCs:

As a test developer, I would like to easily modify and control schedule of the test suites. I also would like not to affect all existing test suites when enabling additional module.

From https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/6329 we should borrow test for yaml format validation. https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/6741 has couple of points not addressed. We mainly just need to make it extendable, so other features like setting variables in yaml (is available here: https://github.com/mudler/openqa_testloader_workshop) can be developed.

Suggestion:
Use simple scenarios to start with.

Acceptance criteria

  1. New declarative scheduling mechanism is applied for a single test suite which is executed on osd ond o3
  2. Solution is reusable and available for all test developers
  3. Solution is documented, describing syntax and usage

Related issues 2 (0 open2 closed)

Blocked by openQA Tests - action #49367: [functional][y][fast] yast2_gui does not test yast2_gui anymoreResolvedJERiveraMoya2019-03-152019-03-26

Actions
Copied from openQA Tests - action #44420: [functional][y][timeboxed:6h] proof-of-concept of declarative test schedule definition, e.g. in YAML file(s)Resolvedriafarov2018-11-28

Actions
Actions #1

Updated by riafarov about 5 years ago

  • Copied from action #44420: [functional][y][timeboxed:6h] proof-of-concept of declarative test schedule definition, e.g. in YAML file(s) added
Actions #2

Updated by riafarov about 5 years ago

  • Status changed from New to Workable
Actions #3

Updated by riafarov about 5 years ago

  • Description updated (diff)
  • Estimated time set to 8.00 h
Actions #4

Updated by JERiveraMoya about 5 years ago

  • Assignee set to JERiveraMoya
Actions #5

Updated by JERiveraMoya about 5 years ago

  • Status changed from Workable to In Progress
Actions #6

Updated by JERiveraMoya about 5 years ago

  • Status changed from In Progress to Feedback
Actions #7

Updated by riafarov about 5 years ago

Actions #8

Updated by riafarov about 5 years ago

maxlin will support us to deploy on o3 workers, I will check later today. @JERiveraMoya, could you please resurrect your PR, so we don't have to revert reverted PR =)

Actions #9

Updated by JERiveraMoya about 5 years ago

PR was merged, so I guess there is no other option than revert the reverted due it is 100 commits behind (unless there is some nice git command that I don't know)

Actions #11

Updated by okurz about 5 years ago

I installed the necessary packages on o3 with for i in aarch64 imagetester openqaworker1 openqaworker4; do echo $i && ssh root@$i "transactional-update -n pkg in perl-YAML-Tiny perl-Test-Assert && reboot"; done. Crosschecked on openqaworker13 (osd) and the packages also installed there. Should be fine to merge now.

Actions #12

Updated by JERiveraMoya about 5 years ago

  • Status changed from Feedback to Resolved

Thanks both for providing the packages.
Test suites settings adapted. Verification in production provided by @riafarov in PR.

Actions #13

Updated by JERiveraMoya about 5 years ago

  • Status changed from Resolved to In Progress

Still some packages missing for ppc64le. Settings restored again.

Actions #14

Updated by riafarov about 5 years ago

  • Due date changed from 2019-03-12 to 2019-03-26
  • Estimated time deleted (8.00 h)
Actions #15

Updated by riafarov about 5 years ago

Progress currently is blocked by deployment: https://gitlab.suse.de/openqa/salt-states-openqa/merge_requests/103

Actions #16

Updated by riafarov about 5 years ago

  • Estimated time set to 3.00 h

We need to use clone-git-ref script for power and arch64 workers on production to validate this before merging.

Actions #17

Updated by okurz about 5 years ago

  • Blocked by action #49367: [functional][y][fast] yast2_gui does not test yast2_gui anymore added
Actions #18

Updated by riafarov about 5 years ago

I've merged https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/7046
Let's see if we have fixed all issue during the third try =)

Actions #19

Updated by JERiveraMoya about 5 years ago

  • Status changed from In Progress to Resolved

Looks good now in OSD/O3:

Let's resolve it then.

Actions

Also available in: Atom PDF