[ci-scan] Skip ActivityTracking tests on Android (refs #129088)#129094
Draft
github-actions[bot] wants to merge 2 commits into
Draft
[ci-scan] Skip ActivityTracking tests on Android (refs #129088)#129094github-actions[bot] wants to merge 2 commits into
github-actions[bot] wants to merge 2 commits into
Conversation
The BasicEventSourceTests.ActivityTracking tests consistently fail on Android because the Activity ID remains zero after EventSource Start/Stop operations. This disables the four affected tests on Android with a reference to the tracking KBE issue. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
|
Tagging subscribers to 'arch-android': @vitek-karas, @simonrozsival, @steveisok, @akoeplinger |
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.
Reasoning
The
BasicEventSourceTests.ActivityTrackingtests consistently fail on Android because the Activity ID remains as all-zeros Guid after EventSource Start/Stop operations. On Android with the Mono runtime, the threading/activity context does not propagate as expected, causingAssert.NotEqual(Guid.Empty, ...)to fail.The
[ActiveIssue]attribute withTestPlatforms.Androidis the right fix because it narrows the skip condition to only Android, matching the observed scope exactly. All four affected tests share the same root cause.Linked KBE: #129088
Match verification (from Step 4.8):
BasicEventSourceTests.ActivityTracking.StartStopCreatesActivityand 3 sibling testsAssert.NotEqual() Failure: Values are equalwith ExpectedNot 00000000-0000-0000-0000-000000000000Impact on platforms
Errors log
First build it occurred
Linked issue
#129088
Filed by
ci-failure-scan, which scans dnceng-public outer-loop pipelines onmainand converts stable failures into KBEs and test-disable PRs. Comment here or on the workflow file to suggest changes;ci-failure-scan-feedbackreads in-scope feedback daily and opens (or updates) a PR with prompt edits.Note
🔒 Integrity filter blocked 3 items
The following items were blocked because they don't meet the GitHub integrity level.
search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".To allow these resources, lower
min-integrityin your GitHub frontmatter: