feat: [backport 1.34] migrate integration tests to jubilant - #971
Draft
HomayoonAlimohammadi wants to merge 2 commits into
Draft
feat: [backport 1.34] migrate integration tests to jubilant#971HomayoonAlimohammadi wants to merge 2 commits into
HomayoonAlimohammadi wants to merge 2 commits into
Conversation
Backport of the pytest-operator + python-libjuju (async) to Jubilant + pytest-jubilant (sync) integration-test migration onto release-1.34. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Signed-off-by: Homayoon (Hue) Alimohammadi <homayoon.alimohammadi@canonical.com>
test_upgrade deployed 1.32/beta and refreshed to the locally built charm, but release-1.34 declares upgrade_supported "^1.33, < 1.35", so the control-plane leader failed the version check and stayed blocked: VersionError: Versions incompatible, k8s_service 1.32.0 can not be upgraded to 1.34.0 The stale default went unnoticed because charm_channel_missing() shelled out to `juju info` at import time and the test-collection job has no juju CLI, so the module errored out of the matrix. The jubilant migration guards that call with shutil.which(), which put test_upgrade back in the matrix and surfaced the failure. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
HomayoonAlimohammadi
force-pushed
the
KU-6190/1.34-jubilant-migration
branch
from
August 12, 2026 13:07
6bf4f61 to
aaf3bde
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR migrates e2e tests from pytest-operator to Jubilant