Exclude recovery service vaults from e2e tests by disabling backup in…#4937
Conversation
… test workspace configuration
|
/test-extended |
|
🤖 pr-bot 🤖 🏃 Running extended tests: https://github.com/microsoft/AzureTRE/actions/runs/27819357172 (with refid (in response to this comment from @ChrisChapman-gh) |
Unit Test Results0 tests 0 ✅ 0s ⏱️ Results for commit 813b905. ♻️ This comment has been updated with latest results. |
…on template properties
|
/test-extended |
|
🤖 pr-bot 🤖 🏃 Running extended tests: https://github.com/microsoft/AzureTRE/actions/runs/27827269256 (with refid (in response to this comment from @ChrisChapman-gh) |
…le_backup parameter for backup configuration
|
/test-extended |
|
🤖 pr-bot 🤖 🏃 Running extended tests: https://github.com/microsoft/AzureTRE/actions/runs/27833533227 (with refid (in response to this comment from @ChrisChapman-gh) |
3 similar comments
|
🤖 pr-bot 🤖 🏃 Running extended tests: https://github.com/microsoft/AzureTRE/actions/runs/27833533227 (with refid (in response to this comment from @ChrisChapman-gh) |
|
🤖 pr-bot 🤖 🏃 Running extended tests: https://github.com/microsoft/AzureTRE/actions/runs/27833533227 (with refid (in response to this comment from @ChrisChapman-gh) |
|
🤖 pr-bot 🤖 🏃 Running extended tests: https://github.com/microsoft/AzureTRE/actions/runs/27833533227 (with refid (in response to this comment from @ChrisChapman-gh) |
|
/test-extended |
|
🤖 pr-bot 🤖 🏃 Running extended tests: https://github.com/microsoft/AzureTRE/actions/runs/27947827317 (with refid (in response to this comment from @rudolphjacksonm) |
1 similar comment
|
🤖 pr-bot 🤖 🏃 Running extended tests: https://github.com/microsoft/AzureTRE/actions/runs/27947827317 (with refid (in response to this comment from @rudolphjacksonm) |
|
/test-extended |
|
🤖 pr-bot 🤖 🏃 Running extended tests: https://github.com/microsoft/AzureTRE/actions/runs/28006141610 (with refid (in response to this comment from @rudolphjacksonm) |
1 similar comment
|
🤖 pr-bot 🤖 🏃 Running extended tests: https://github.com/microsoft/AzureTRE/actions/runs/28006141610 (with refid (in response to this comment from @rudolphjacksonm) |
|
/test-destroy-env |
|
Destroying branch test environment (RG: rg-trebbbb4607)... (run: https://github.com/microsoft/AzureTRE/actions/runs/28059838145) |
|
Destroying PR test environment (RG: rg-tre6dd05385)... (run: https://github.com/microsoft/AzureTRE/actions/runs/28059838145) |
|
Branch test environment destroy complete (RG: rg-trebbbb4607) |
|
/test-extended |
|
🤖 pr-bot 🤖 🏃 Running extended tests: https://github.com/microsoft/AzureTRE/actions/runs/28059957599 (with refid (in response to this comment from @rudolphjacksonm) |
|
PR test environment destroy complete (RG: rg-tre6dd05385) |
|
/test-extended |
|
🤖 pr-bot 🤖 🏃 Running extended tests: https://github.com/microsoft/AzureTRE/actions/runs/28091206891 (with refid (in response to this comment from @marrobi) |
|
LGTM |
rudolphjacksonm
left a comment
There was a problem hiding this comment.
tests passing now, timeout solved the issue. Will need to look at the broader issue of storage account GUID generation but not in scope for this.
maxmartin-cgi
left a comment
There was a problem hiding this comment.
Looks good to me.
There was a problem hiding this comment.
Pull request overview
This PR addresses CI E2E failures related to Recovery Services Vault backups by allowing E2E workspace creation to disable backups when the selected workspace template supports it, and by adding the enable_backup parameter to the Airlock Import Review workspace template.
Changes:
- Update E2E workspace creation to conditionally set
enable_backup: falsebased on the workspace template schema. - Add
enable_backupto thetre-workspace-airlock-import-reviewtemplate schema and Porter parameters (and bump its version). - Increase HTTP read timeout used by E2E resource helper calls and document the change in
CHANGELOG.md.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| templates/workspaces/airlock-import-review/template_schema.json | Adds enable_backup to the workspace template schema (so the API/UI accept the property). |
| templates/workspaces/airlock-import-review/porter.yaml | Introduces enable_backup Porter parameter and passes it into Terraform; bumps template version. |
| e2e_tests/resources/resource.py | Increases HTTP read timeout for E2E resource operations. |
| e2e_tests/conftest.py | Conditionally disables backups in the workspace creation payload when supported by the template. |
| CHANGELOG.md | Adds an unreleased changelog entry for excluding recovery vaults from E2E tests. |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
|
/test-force-approve |
|
🤖 pr-bot 🤖 ✅ Marking tests as complete (for commit 813b905) (in response to this comment from @maxmartin-cgi) |
Resolves #4920
What is being addressed
E2E tests failing to run due to bug in recovery service vaults.
How is this addressed
Added parameter to "properties" payload in e2etests/conftest.py to disable backup (currently enabled by default)
duplicating @maxmartin-cgi work so we can get the pipelines running (#4921)