Project

General

Profile

action #37958

[epic] self-tests in os-autoinst-distri-opensuse for impact on staging test schedule

Added by okurz about 2 years ago. Updated 12 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Feature requests
Target version:
Start date:
2019-02-25
Due date:
2020-05-19
% Done:

80%

Estimated time:
(Total: 16.00 h)
Difficulty:
Duration: 322

Description

Motivation

Sometimes when a new test module is introduced – for example by new contributors which are mainly starting with new test modules and not changing existing ones – we forget in code review to think about if this module should be excluded from staging tests causing staging test failures, some frustration on side of SLE release managers and subsequently requests like #37826 which we should try to prevent because they make our life miserable. We should think about a way to prevent staging test breakage by unintentional introduction of new test modules into staging tests, e.g. using self-tests in os-autoinst-distri-opensuse. This test can have the additional benefit that we actually evaluate the test code before we deploy it to production where previously we had "trivial" failures but they could only be catched in production.

Acceptance criteria

  • AC1: travis CI tests on PRs fail if new test modules are introduced to staging tests unintentionally

Suggestions

  • Add a fitting openSUSE staging test vars.json to the repo for test purposes (could be copied from existing ones and stripped down to bare minimum what is needed or newly created)
  • Add a call with isotovideo _exit_after_schedule=1 to only evaluate the schedule and compare against a reference
  • Add instructions to update the reference file whenever a change to the staging tests is actually intended

Further details

It might sound counter-intuitive to use a blacklist for excluding test modules from staging tests (loadtest "…" unless is_staging;) and then define a whitelist for the test to check against but it might be a start towards #15132


Subtasks

action #48389: [tools] self-tests in os-autoinst-distri-opensuse executing a simple (staging) test using isotovideoWorkable

action #48392: [functional][y][spike/research] self-tests in os-autoinst-distri-opensuse for impact on staging test scheduleResolvedybonatakis

action #49064: [functional][y] Move SLES staging tests to use declarative scheduling mechanismResolvedybonatakis

action #54311: [functional][y] Implement hint to trigger VR for staging in case modules used there are changed in the PRResolvedoorlov

action #65432: [functional][y] test if schedules and test data files in the job group do exist in the os-autoinst/os-autoinst-distri-opensuse repoResolvedJERiveraMoya


Related issues

Related to openQA Tests - action #15132: [saga][epic] Better structure of test plans in main.pmBlocked2018-11-202020-11-27

Copied from openQA Tests - action #36523: [functional][y][medium] self-tests for https://github.com/os-autoinst/os-autoinst-needles-opensuse/Resolved2018-05-252018-07-17

History

#1 Updated by okurz about 2 years ago

  • Copied from action #36523: [functional][y][medium] self-tests for https://github.com/os-autoinst/os-autoinst-needles-opensuse/ added

#2 Updated by okurz about 2 years ago

  • Related to action #15132: [saga][epic] Better structure of test plans in main.pm added

#4 Updated by okurz almost 2 years ago

  • Subject changed from [functional] self-tests in os-autoinst-distri-opensuse for impact on staging test schedule to [functional][y] self-tests in os-autoinst-distri-opensuse for impact on staging test schedule
  • Due date set to 2018-10-09
  • Target version changed from Milestone 18 to Milestone 19

#5 Updated by okurz almost 2 years ago

@y-team I would be ok to move to u-team if you prefer, up to you

#6 Updated by riafarov almost 2 years ago

  • Assignee set to riafarov
  • Estimated time set to 13.00 h

I will clarify priority with okurz

#7 Updated by riafarov almost 2 years ago

  • Due date deleted (2018-10-09)

Do not have capacity in the current sprint.

#8 Updated by okurz almost 2 years ago

  • Due date set to 2018-10-23
  • Target version changed from Milestone 19 to Milestone 20

#9 Updated by okurz almost 2 years ago

  • Due date deleted (2018-10-23)
  • Assignee changed from riafarov to okurz
  • Target version changed from Milestone 20 to future
  • Estimated time deleted (13.00 h)

Discussed in the y-team's refinement, need to rethink by now because we want to improve test schedule structure as a whole anyway. I will try to split out e.g. "simple isotovideo run" and "more explicit staging tests"

#10 Updated by okurz over 1 year ago

  • Subject changed from [functional][y] self-tests in os-autoinst-distri-opensuse for impact on staging test schedule to [functional][y][epic] self-tests in os-autoinst-distri-opensuse for impact on staging test schedule
  • Status changed from Workable to Blocked
  • Difficulty deleted (medium)

#11 Updated by okurz over 1 year ago

  • Assignee changed from okurz to riafarov

to track as stand-in as discussed

#12 Updated by riafarov over 1 year ago

  • Due date changed from 2019-04-09 to 2019-03-12

due to changes in a related task

#13 Updated by riafarov over 1 year ago

  • Due date changed from 2019-03-12 to 2019-04-23

due to changes in a related task

#14 Updated by riafarov about 1 year ago

  • Due date changed from 2019-04-23 to 2019-05-07

due to changes in a related task

#15 Updated by JERiveraMoya about 1 year ago

  • Due date changed from 2019-05-07 to 2019-05-21

due to changes in a related task

#16 Updated by JERiveraMoya about 1 year ago

  • Due date changed from 2019-05-21 to 2019-06-04

due to changes in a related task

#17 Updated by riafarov about 1 year ago

  • Due date changed from 2019-06-04 to 2019-07-16

due to changes in a related task

#18 Updated by JERiveraMoya 12 months ago

  • Due date changed from 2019-08-13 to 2019-08-27

due to changes in a related task

#19 Updated by riafarov 11 months ago

  • Due date changed from 2019-08-27 to 2019-09-10

due to changes in a related task

#20 Updated by oorlov 8 months ago

  • Due date changed from 2019-11-05 to 2019-11-19

due to changes in a related task

#21 Updated by riafarov 6 months ago

  • Due date changed from 2020-01-28 to 2020-02-11

due to changes in a related task

#22 Updated by riafarov 5 months ago

  • Due date changed from 2020-02-11 to 2020-03-24

due to changes in a related task

#23 Updated by riafarov 3 months ago

  • Due date changed from 2020-04-21 to 2020-05-05

due to changes in a related task

#24 Updated by riafarov 3 months ago

  • Due date changed from 2020-05-05 to 2020-05-19

due to changes in a related task: #65432

#25 Updated by riafarov about 2 months ago

  • Project changed from openQA Tests to openQA Project
  • Subject changed from [functional][y][epic] self-tests in os-autoinst-distri-opensuse for impact on staging test schedule to [epic] self-tests in os-autoinst-distri-opensuse for impact on staging test schedule
  • Category deleted (Enhancement to existing tests)
  • Status changed from Blocked to New
  • Assignee deleted (riafarov)

Un-assigning myself as last ticket remaining is for the tools team.

#26 Updated by okurz 12 days ago

  • Category set to Feature requests

Also available in: Atom PDF