Comment 7 for bug 2012553

Revision history for this message
Corey Bryant (corey.bryant) wrote (last edit ):

It seems like the problem is as follows:

This is what is called:
    clear_deferred_restarts(['openvswitch-switch.service', 'openvswitch-switch'])

however, there are deferred files that don't have matching service names, for example:
    service: ovs-vswitchd.service

So it seems that run_package_change_test() needs to support multiple services. It is currently being called with:

self.run_package_change_test(
    'openvswitch-switch',
    'openvswitch-switch')

The services would need to match the openvswitch services from:
_DEFERABLE_SVC_LIST = ['openvswitch-switch', 'ovn-controller', 'ovn-host',
                       'ovs-vswitchd', 'ovsdb-server', 'ovs-record-hostname']