action #28349
closed
[sle][functional] Use registration in autoinst profiles for sle 15
Added by riafarov over 7 years ago.
Updated over 7 years ago.
Category:
Bugs in existing tests
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
- Blocked by action #27076: [tools][functional][hard] Add functionality to be able to modify data available via http in share directory added
- Due date set to 2018-01-16
- Target version set to Milestone 13
prerequisite planned for sprint6, this one for sprint8
- Description updated (diff)
@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.
- Description updated (diff)
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.
- Status changed from New to In Progress
- Description updated (diff)
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.
- Status changed from In Progress to Feedback
- Related to action #30246: [sle][functional][autoyast][yast][hard] Improve variable expansion mechanism added
- Due date changed from 2018-01-16 to 2018-01-30
- Status changed from Feedback to Resolved
Also available in: Atom
PDF