Skip to content

wait_for_idle hangs on juju 3.6 #1236

@nsklikas

Description

@nsklikas

Description

We are in the process of migrating our charms from juju 3.4 to 3.6. Most of the charm integration tests are passing without an issue, but integration tests on our charms are timing out when they call wait_for_idle (e.g. see https://github.com/canonical/iam-bundle/actions/runs/12180204254/job/33974029227).

When running it locally, I can see that all charms reach an active status, but the python code is stuck waiting for FullStatus to return.

This behavior is consistently reproducible, the tests are always failing after the 3rd iteration of wait_for_idle (could it be a rate limiting issue?). Tests on our other charms work fine, so my guess would be that it has to do something with calling wait_for_idle for many charms.

Urgency

Blocker for our release

Python-libjuju version

3.6.0.0

Juju version

3.6

Reproduce / Test

- install `microk8s=1.31-strict/stable` and `juju=3.6/stable`
- fetch `https://github.com/canonical/iam-bundle` 
- on `main` run `tox -e integration`

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugindicates a bug in the project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions