Skip to content

Conversation

dragomirp
Copy link
Contributor

@dragomirp dragomirp commented Sep 23, 2025

Issue

  • Smoke test fails on the new Juju 3.6.10

Solution

  • Directly call juju deploy to attach volumes

Checklist

  • I have added or updated any relevant documentation.
  • I have cleaned any remaining cloud resources from my accounts.

@dragomirp dragomirp added the not bug or enhancement PR is not 'bug' or 'enhancement'. For release notes label Sep 23, 2025
Copy link

codecov bot commented Sep 23, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.74%. Comparing base (544ac72) to head (bbc6b54).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1184   +/-   ##
=======================================
  Coverage   75.74%   75.74%           
=======================================
  Files          16       16           
  Lines        4164     4164           
  Branches      629      629           
=======================================
  Hits         3154     3154           
  Misses        790      790           
  Partials      220      220           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@dragomirp dragomirp changed the title [TEST] Volume tests [MISC] Fix smoke test Sep 24, 2025
Comment on lines +145 to +147
deploy_cmd = f"deploy ./{charm} {DUP_APPLICATION_NAME} --model={ops_test.model.info.name} --attach-storage={garbage_storage} --config profile=testing".split()
return_code, _, _ = await ops_test.juju(*deploy_cmd)
assert return_code == 0, "Failed to add unit with storage"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Call juju deploy directly. Libjuju fails with:

juju.errors.JujuAPIError: AttachStorage may not be specified for container models

@dragomirp dragomirp marked this pull request as ready for review September 24, 2025 00:47
@dragomirp dragomirp requested review from a team, marceloneppel and taurus-forever and removed request for a team September 24, 2025 00:47
@dragomirp dragomirp merged commit 415854e into main Sep 24, 2025
375 of 382 checks passed
@dragomirp dragomirp deleted the volumes-tests branch September 24, 2025 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Libraries: OK not bug or enhancement PR is not 'bug' or 'enhancement'. For release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants