ml/azure-ai-ml: audit and improve e2etest skip/live_test_only marker documentation#48232
Draft
lavakumarrepala with Copilot wants to merge 3 commits into
Draft
ml/azure-ai-ml: audit and improve e2etest skip/live_test_only marker documentation#48232lavakumarrepala with Copilot wants to merge 3 commits into
lavakumarrepala with Copilot wants to merge 3 commits into
Conversation
|
Azure Pipelines: 10 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
…odules Co-authored-by: lavakumarrepala <221403938+lavakumarrepala@users.noreply.github.com>
… final batch Co-authored-by: lavakumarrepala <221403938+lavakumarrepala@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Audit and update e2e tests for live workspace recordings
ml/azure-ai-ml: audit and improve e2etest skip/live_test_only marker documentation
Jul 23, 2026
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.
All
@pytest.mark.skipand@pytest.mark.live_test_onlymarkers across ~35 e2etest directories undersdk/ml/azure-ai-ml/tests/**/e2etestswere audited. Bare markers and vague reasons have been replaced with actionable documentation.Changes
Bare
@pytest.mark.skip()→ documented reasonsAll
@pytest.mark.skip()calls without areason=now include one, covering Docker daemon requirements (local endpoint tests), infrastructure unavailability, and API removal.Vague reasons replaced with root causes
"investigate later","Skip for not ready."→ specific explanation of the blocking condition"Flaky test"→ root cause (HTTP timeout under load, no retry logic)"request header size being too large"→ prerequisite context (materialization store must be enabled onsdk_vnext_cli_fs)ADO work item references standardized
Internal Azure DevOps IDs prefixed with
ADOfor clarity:Recurring skip patterns — improved across all instances
TODO (2370129)TODO (2177353)Specific test skips clarified
test_promote_model:_prepare_to_copywas removed from the SDK; test must be rewritten to useMLClient.models.share()test_monitor_schedule.py): iris-endpoint resources were deleted from the test workspace; tests need a replacement endpointtest_model_archive_restore_container: usesclient.models.list()on every assertion, causing pipeline timeouts (ADO 1791832)Not addressed (out of scope)
11
@pytest.mark.live_test_onlytests across 5 files remain unchanged. These have stale recordings that no longer match current sanitizer patterns. Re-enabling them requires:AZURE_TEST_RUN_LIVE=trueAzure/azure-sdk-assets(tag:python/ml/azure-ai-ml_d3ebe00cb3)live_test_onlymarkerAffected files:
test_connections.py,test_datastore.py,test_environment.py,test_component.py,test_dsl_pipeline_samples.py.