Race in maas setup/teardown
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-ci-tools |
Triaged
|
Low
|
Unassigned |
Bug Description
As seen at
http://
http://
The endpoint-bindings test does not wait for machines and resources to enter the right state before adding/removing subnets and spaces. Clean up scripts were written to recover from the problem, but they too can fail because of race conditions.
The mass cleanup script that resets networks in the bindings test failed to match the hostname (machine=) to look up the system id that needs reseting. the test failed to setup.
++ grep 10.0.40.0/24@
++ cut -d @ -f2
+ system_id=
+ maas env20 machine release
^ We expected the grep to be for name like juju-qa-
machine=
was selected previously
summary: |
- CI maas cleanup script selected network instead of hostname + Race in maas setup/teardown |
description: | updated |
description: | updated |
Changed in juju-ci-tools: | |
importance: | Medium → Low |
This issue is not high if the logout race if fixed.