action #39674
closed
Create AY test to verify on-demand service start
Added by riafarov over 6 years ago.
Updated over 1 year ago.
Description
Motivation¶
Since SLE15 SP1 following format can be used to start services on demand:
<services>
<enable config:type="list">
<service>at</service>
<service>sshd</service>
</enable>
<disable config:type="list">
<service>libvirtd</service>
</disable>
<on_demand config:type="list">
<service>cups</service>
</on_demand>
</services>
Also see trello.
Acceptance criteria¶
-
The <on_demand>
section for some service is verified in an automatic test:
For service like cups we should validate that cups.service is disabled, and cups.socket is active and enabled and triggers cups.service/.
-
Generation of the autoyast profile for the given service is validated
Suggestions¶
- Add according section (e.g. cups) to either existing profile for SLE15 or new profile and add automated test based on that
- Add verification in test
- Target version set to Milestone 20
- Target version changed from Milestone 20 to Milestone 23
- Description updated (diff)
- Due date set to 2019-03-26
- Status changed from New to Workable
That's awesome. I was just looking for that feature yesterday and worked around it "the old way": https://w3.nue.suse.com/~okurz/ay.xml
@riafarov what do you mean with "including backward compatibility (reasonable error is shown)"? Can you elaborate?
- Description updated (diff)
@okurz, I've changed AC1, as actually format hasn't changed, except that new option became available. So in the end it's about potential regressions.
- Due date changed from 2019-03-26 to 2019-04-16
- Target version changed from Milestone 23 to Milestone 24
later sprint due to limited capacity
- Due date deleted (
2019-04-16)
- Priority changed from Normal to Low
- Target version changed from Milestone 24 to future
let's focus more on improving our current tests and workflows first. Putting to "holding tank" :)
- Project changed from openQA Tests (public) to qe-yam
- Category deleted (
New test)
- Status changed from Workable to New
- Description updated (diff)
- Target version changed from future to SLE 15 SP3
- Subject changed from [functional][y] Create AY test to verify on-demand service start to Create AY test to verify on-demand service start
- Description updated (diff)
- Description updated (diff)
- Target version changed from SLE 15 SP3 to Current
- Target version changed from Current to future
- Target version deleted (
future)
- Status changed from New to Rejected
Also available in: Atom
PDF