functional tests do not exit properly due to keystone_paused running config-changed after all apps removed from model

Bug #1912375 reported by Drew Freiberger
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
charm-openstack-service-checks
New
Low
Unassigned

Bug Description

Functional tests for 21.01 cycle are passing, but are hanging on model tear-down due to race condition between pytest's model tear-down and the fixture keystone_paused config-changed after the 'yield keystone'.

Traceback shown here:
https://pastebin.canonical.com/p/dqVvS2VScz/
Model status here:
https://pastebin.canonical.com/p/jvVcnf6rDn/

The config-changed to revert the service-port in the keystone_paused fixture needs to be skipped if the model is being torn down, as the config-changed errors and the functest model hangs indefinitely.

Workaround is to 'juju remove-machine --force 0' from the functest-XXXXX model after all tests have passed.

Edin S (exsdev)
Changed in charm-openstack-service-checks:
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.