Skip to content

[ci-scan] Test failure: BasicEventSourceTests.ActivityTracking.StartStopCreatesActivity on Android #129088

Closed

Description

@github-actions

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1450787
Build error leg or test failing: android-x64 Release AllSubsets_Mono - System.Diagnostics.Tracing.Tests

Error Details

BasicEventSourceTests.ActivityTracking.StartStopCreatesActivity and related ActivityTracking tests fail on Android because the Activity ID remains as all-zeros Guid after EventSource Start/Stop operations. The tests expect a non-empty Activity ID to be generated, but on Android the threading/activity context does not propagate as expected.

[FAIL] BasicEventSourceTests.ActivityTracking.StartStopCreatesActivity
Assert.NotEqual() Failure: Values are equal
Expected: Not 00000000-0000-0000-0000-000000000000
Actual:       00000000-0000-0000-0000-000000000000

[FAIL] BasicEventSourceTests.ActivityTracking.ActivityFlowsAsync
[FAIL] BasicEventSourceTests.ActivityTracking.SetCurrentActivityIdBeforeEventFlowsAsync
[FAIL] BasicEventSourceTests.ActivityTracking.SetCurrentActivityIdAfterEventDoesNotFlowAsync

Error Message

{
  "ErrorMessage": [
    "[FAIL] BasicEventSourceTests.ActivityTracking.StartStopCreatesActivity",
    "Assert.NotEqual() Failure: Values are equal"
  ],
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Impact on platforms

  • runtime-extra-platforms (def 154) / android-x64 Release AllSubsets_Mono / Helix queue: android work items / exit code 1
  • runtime-extra-platforms (def 154) / android-arm Release AllSubsets_Mono / Helix queue: android work items / exit code 1
  • runtime-extra-platforms (def 154) / android-arm64 Release AllSubsets_Mono / Helix queue: android work items / exit code 1
  • runtime-extra-platforms (def 154) / android-x86 Release AllSubsets_Mono / Helix queue: android work items / exit code 1

First build it occurred

Duplicate search

  • ActivityTracking StartStopCreatesActivity label:"Known Build Error" - 0 results
  • BasicEventSourceTests ActivityTracking label:"Known Build Error" - 0 results
  • StartStopCreatesActivity is:open label:"Known Build Error" - 0 results
  • ActivityTracking android EventSource is:open - 1 integrity-filtered result ([tvOS] Test failures in System.Diagnostics.Tracing.Tests #56073, cannot verify)
  • is:pr is:open ActivityTracking StartStopCreatesActivity android - 0 results

No existing KBE matches this signature. Related issue #56073 was filtered by integrity policy.


Filed by ci-failure-scan, which scans dnceng-public outer-loop pipelines on main and converts stable failures into KBEs and test-disable PRs. Comment here or on the workflow file to suggest changes; ci-failure-scan-feedback reads in-scope feedback daily and opens (or updates) a PR with prompt edits.

Note

🔒 Integrity filter blocked 2 items

The following items were blocked because they don't meet the GitHub integrity level.

  • #125436 search_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #56073 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".

To allow these resources, lower min-integrity in your GitHub frontmatter:

tools:
  github:
    min-integrity: approved  # merged | approved | unapproved | none

Generated by CI Outer-Loop Failure Scanner · ● 51.3M · ◷

Report

Build Repository Test Pull Request
1457058 dotnet/runtime System.Diagnostics.Tracing.Tests.WorkItemExecution
1455810 dotnet/runtime System.Diagnostics.Tracing.Tests.WorkItemExecution #127498
1455809 dotnet/runtime System.Diagnostics.Tracing.Tests.WorkItemExecution #128409
1455366 dotnet/runtime System.Diagnostics.Tracing.Tests.WorkItemExecution
1453379 dotnet/runtime System.Diagnostics.Tracing.Tests.WorkItemExecution
1452872 dotnet/runtime System.Diagnostics.Tracing.Tests.WorkItemExecution

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 3 6

Activity

  1. added
    blocking-clean-ci
    Known Build Error
    on Jun 7, 2026
  2. added
    untriaged
    on Jun 7, 2026
  3. dotnet-policy-service commented on Jun 7, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to 'arch-android': @vitek-karas, @simonrozsival, @steveisok, @akoeplinger
    See info in area-owners.md if you want to be subscribed.

  4. dotnet-policy-service commented on Jun 7, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @dotnet/area-system-diagnostics-activity
    See info in area-owners.md if you want to be subscribed.

  5. kotlarmilos commented on Jun 16, 2026

    @kotlarmilos
    Member

    Resolved. The Android Mono skip (#129094, merged 2026-06-07) and its propagation cleared this — BasicEventSourceTests.ActivityTracking.StartStopCreatesActivity has not failed on any leg since 2026-06-10 (verified via CI test telemetry; 6 clean days). Closing; please reopen if it recurs.

  6. removed
    untriaged
    on Jun 16, 2026
  7. locked and limited conversation to collaborators on Jul 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Known Build Erroragentic-workflowsarea-System.Diagnostics.Activityblocking-clean-cios-android

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions