HomeClusterLabs Projects

Test: cts-scheduler: Test for doubled colocation scores for promotion

Description

Test: cts-scheduler: Test for doubled colocation scores for promotion

In task T832, a user reported that colocation scores were sometimes
being applied twice when determining which clone instance to promote.
So far, this has been reproducible only when the primary resource in the
colocation will be scheduled to move due to a mandatory location
constraint. There may be other possible triggers; however, that's the
one we use in these tests.

Currently, coloc-optional-promoted-dependent-stays-1 and
coloc-optional-promoted-dependent-moves-2 tests exhibit the correct
behavior, and the other two exhibit incorrect behavior. However, even in
the tests that behave correctly, the scores are incorrect.

Ref T832

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Jun 18 2024, 6:56 PM
Parents
rPd539bfcd98f1: Merge pull request #3536 from nrwahl2/nrwahl2-T832
Branches
Unknown
Tags
Unknown
Tasks
T832: Colocation score doubled for promotion score