canonical / canonical/mongodb-operator

Flakey Test for Sharding upgrade on preflight check

Open
#441 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
HCL
Stars
14
Forks
15
Avg merge
9h 44m
Merged PRs (30d)
17

Description

One of the tests for pre-upgrade-check on a sharded cluster is failing. It goes past the timeout waiting for the model to settle.

The test that is failing is testing a network cut on the sharded cluster, waiting for idle, then running the pre-upgrade check. However it is the waiting for idle portion that fails

It was seen failing recently in these two PRs([one](https://github.com/canonical/mongodb-operator/actions/runs/10097625320/job/27948010320?pr=438) and [two](https://github.com/canonical/mongodb-operator/actions/runs/10096231543/job/27918535449?pr=439))

Contributor guide

Open the contributing guide

Research direction

Start with the pre-upgrade-check test for a network cut on a sharded cluster, focusing on the wait-for-idle step that exceeds its timeout. Compare the failures linked from PRs 438 and 439 and trace the test's setup and settling behavior. Done means the test reliably reaches pre-upgrade check without timing out.

Written by the indexing model from the issue text.

Assessment

Tech stack
mongodb
Domain
databases, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.