Project

General

Profile

Actions

action #28349

closed

[sle][functional] Use registration in autoinst profiles for sle 15

Added by riafarov about 7 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Bugs in existing tests
Start date:
2017-11-24
Due date:
2018-01-30
% Done:

0%

Estimated time:
Difficulty:

Description

User story

As a product owner I want to see results of autoyast tests which use profiles from aytests repo.

Acceptance criteria

  • AC1: Adjust profiles to register SLE15 against proxy SCC
  • AC2: Use and inject variables for regcode and regurl
  • AC3: Use double curly brackets for variable
  • AC4: Add test suite which uses addons from DVD for SLE15 and SLE12
  • AC5: Add test suite which uses addons from DVD and SCC for SLE15 (optional, but should be verified manually)

Tasks

  • Get familiar with functionality implemented within https://progress.opensuse.org/issues/27076
  • Implement code which modifies profiles and expands variables
  • Verify it's working
  • Submit changes for autoyast profiles in aytests and os-autoinst-distri repos
  • Notify yast team regarding changes, so they could adjust integration tests
  • Add variables to the test suite on production if required

Registration section can look like this:

  <suse_register>
      <do_registration config:type="boolean">true</do_registration>
      <email></email>
      <reg_code>{{REG_CODE}}</reg_code>
      <install_updates config:type="boolean">true</install_updates>
      <reg_server>{{REG_URL}}</reg_server> <!-- Required for getting correct packages -->
  </suse_register>

Do not forget to add product subsection in software section:
SLES15


Related issues 2 (0 open2 closed)

Related to openQA Tests (public) - action #30246: [sle][functional][autoyast][yast][hard] Improve variable expansion mechanismRejectedriafarov2018-01-122018-02-27

Actions
Blocked by openQA Project (public) - action #27076: [tools][functional][hard] Add functionality to be able to modify data available via http in share directoryResolvedriafarov2017-10-272017-12-19

Actions
Actions #1

Updated by riafarov about 7 years ago

  • Blocked by action #27076: [tools][functional][hard] Add functionality to be able to modify data available via http in share directory added
Actions #2

Updated by okurz about 7 years ago

  • Due date set to 2018-01-16
  • Target version set to Milestone 13

prerequisite planned for sprint6, this one for sprint8

Actions #3

Updated by riafarov about 7 years ago

  • Description updated (diff)
Actions #4

Updated by okurz about 7 years ago

  • Assignee set to riafarov

The job failure https://openqa.suse.de/tests/1293547#step/installation/6 is labeled with this progress ticket but there is a soft-failure about https://bugzilla.suse.com/show_bug.cgi?id=1047327 and then a drop to linuxrc. I don't understand that, can you explain?

Actions #5

Updated by okurz about 7 years ago

And how is https://openqa.suse.de/tests/1293537/file/video.ogv#t=5.17,5.20 related to "no registration"? The error message is less than obvious to me including the fact that it times out automatically and then the installer ends up in useless linuxrc. To me that is at least two product bugs here.

Actions #6

Updated by riafarov about 7 years ago

@okurz I've explained it to you, but seems we should have written it down somewhere. Two jobs you've mentioned are using profiles from aytests repo and are not adjusted for SLE 15. If you read fate entry here:
https://fate.suse.com/323450 you can find that currently we show error if product is not defined and abort installation.

Actions #7

Updated by okurz about 7 years ago

  • Description updated (diff)
Actions #8

Updated by okurz about 7 years ago

Could https://github.com/yast/yast-registration/pull/348 or something similar as another different solution? Could be as easy as providing the regcode in a textfile on a virtual usb thumbdrive and provide that as a "dongle" to the SUT

Actions #9

Updated by riafarov about 7 years ago

We have considered this option too, we need to test that scenario as well, but that solution also doesn't fit well for integration tests. But yes, in general it could work.

Actions #10

Updated by riafarov almost 7 years ago

  • Status changed from New to In Progress
Actions #11

Updated by riafarov almost 7 years ago

  • Description updated (diff)
Actions #12

Updated by riafarov almost 7 years ago

Workers on osd still not upgraded, but verified locally:
https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/4176

For profiles in aytest repo may consider approach to clone git repo instead of package, as package is not yet available for SLE15: https://github.com/yast/aytests-tests/pull/111#pullrequestreview-87866591
Variable expansion has to be additionally introduced in support server

AC4: Add test suite which uses addons from DVD for SLE15 and SLE12 - this is already there for eula
AC5: Add test suite which uses addons from DVD and SCC for SLE15 (optional, but should be verified manually) - checked manually, functionality works. Not to bloat test suite, we skip this for now, as chances that this doesn't work, considering current coverage, are rather low.

Actions #14

Updated by riafarov almost 7 years ago

  • Status changed from In Progress to Feedback

Another PR for support server scenarios here: https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/4193

Actions #15

Updated by riafarov almost 7 years ago

  • Related to action #30246: [sle][functional][autoyast][yast][hard] Improve variable expansion mechanism added
Actions #17

Updated by okurz almost 7 years ago

  • Due date changed from 2018-01-16 to 2018-01-30
Actions #18

Updated by riafarov almost 7 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF