Skip to content

[Long Running Test] 'System.Composition.UnitTests.ConcurrencyTests.SharedInstancesAreNotVisibleUntilActivationCompletes' #113686

Open

Description

@antonfirsov

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=984942
Build error leg or test failing: System.Composition.Tests.WorkItemExecution
Pull request: #112417

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "[Long Running Test] 'System.Composition.UnitTests.ConcurrencyTests.SharedInstancesAreNotVisibleUntilActivationCompletes'",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=984942
Error message validated: [[Long Running Test] 'System.Composition.UnitTests.ConcurrencyTests.SharedInstancesAreNotVisibleUntilActivationCompletes']
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 3/19/2025 12:38:53 PM UTC

Report

Summary

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

Activity

  1. added
    blocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
    Known Build ErrorUse this to report build issues in the .NET Helix tab
    on Mar 19, 2025
  2. dotnet-policy-service commented on Mar 19, 2025

    @dotnet-policy-service
    Contributor

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

  3. dotnet-policy-service commented on Mar 19, 2025

    @dotnet-policy-service
    Contributor

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

  4. self-assigned this
    on Mar 24, 2025
  5. added
    test-bugProblem in test source code (most likely)
    and removed
    untriagedNew issue has not been triaged by the area owner
    on Mar 24, 2025
  6. added this to the 10.0.0 milestone on Mar 24, 2025
  7. removed their assignment
    on Mar 24, 2025
  8. steveharter commented on Mar 24, 2025

    @steveharter
    Contributor

    Sample log:

    Console log: 'System.Composition.Tests' from job 32757c85-c398-45a6-9f4b-356b5f0b3229 workitem 69dc8642-cfc4-4b8b-836c-aa84d2a9a897 (ubuntu.2204.amd64.open.rt) executed on machine a0059D1 running Linux-6.8.0-1021-azure-x86_64-with-glibc2.35
    + export __TestArchitecture=x64
    + ./RunTests.sh --runtime-path /datadisks/disk1/work/9F3D08C6/p
    ========================= Begin custom configuration settings ==============================
    export XUNIT_HIDE_PASSING_OUTPUT_DIAGNOSTICS=1
    ========================== End custom configuration settings ===============================
    ----- start Thu Mar 20 10:26:18 PM UTC 2025 =============== To repro directly: =====================================================
    pushd .
    /datadisks/disk1/work/9F3D08C6/p/dotnet exec --runtimeconfig System.Composition.Tests.runtimeconfig.json --depsfile System.Composition.Tests.deps.json xunit.console.dll System.Composition.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing 
    popd
    ===========================================================================================================
    /datadisks/disk1/work/9F3D08C6/w/B3B509BA/e /datadisks/disk1/work/9F3D08C6/w/B3B509BA/e
      Discovering: System.Composition.Tests (method display = ClassAndMethod, method display options = None)
      Discovered:  System.Composition.Tests (found 138 of 139 test cases)
      Starting:    System.Composition.Tests (parallel test collections = on [2 threads], stop on fail = off)
       System.Composition.Tests: [Long Running Test] 'System.Composition.UnitTests.ConcurrencyTests.SharedInstancesAreNotVisibleUntilActivationCompletes', Elapsed: 00:02:11
       System.Composition.Tests: [Long Running Test] 'System.Composition.UnitTests.ConcurrencyTests.SharedInstancesAreNotVisibleUntilActivationCompletes', Elapsed: 00:04:11
       System.Composition.Tests: [Long Running Test] 'System.Composition.UnitTests.ConcurrencyTests.SharedInstancesAreNotVisibleUntilActivationCompletes', Elapsed: 00:06:11
       System.Composition.Tests: [Long Running Test] 'System.Composition.UnitTests.ConcurrencyTests.SharedInstancesAreNotVisibleUntilActivationCompletes', Elapsed: 00:08:11
       System.Composition.Tests: [Long Running Test] 'System.Composition.UnitTests.ConcurrencyTests.SharedInstancesAreNotVisibleUntilActivationCompletes', Elapsed: 00:10:11
       System.Composition.Tests: [Long Running Test] 'System.Composition.UnitTests.ConcurrencyTests.SharedInstancesAreNotVisibleUntilActivationCompletes', Elapsed: 00:12:11
       System.Composition.Tests: [Long Running Test] 'System.Composition.UnitTests.ConcurrencyTests.SharedInstancesAreNotVisibleUntilActivationCompletes', Elapsed: 00:14:11
    ['System.Composition.Tests' END OF WORK ITEM LOG: Command timed out, and was killed]
    
  9. steveharter commented on Mar 24, 2025

    @steveharter
    Contributor

    The test has not been modified.

    The code in System.Composition has not changed except for #113667 which "updates the target .NET Framework version from net48 to net481 in pipelines, tests, and documentation to meet the requirements for consuming xUnit v3." and that appears to be been added 1 day after the first reported test failure.

  10. modified the milestones: 10.0.0, Future on Jul 26, 2025
  11. removed
    blocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
    on Mar 18, 2026
  12. jeffschwMSFT commented on Mar 18, 2026

    @jeffschwMSFT
    Member

    removing blocking-clean-ci as it has not failed in 30 days

    24-Hour Hit Count 7-Day Hit Count 1-Month Count
    0 0 0
  13. danmoseley commented on Mar 22, 2026

    @danmoseley
    Contributor

    Note

    This comment was AI/Copilot-generated.

    Known Issue Failure History

    Analysis of edit history on this issue (via known-issue-history skill):

    Metric Value
    Total failure events 184
    Failure periods 1 (never fully cleared)
    Last failure 2026-02-16
    Days since last failure 33
    Peak 24h hit count 4
    Peak 1-month hit count 30

    This test has been failing continuously since March 19, 2025 — nearly a full year of uninterrupted flakiness. It has never dropped to 0/0/0 hit counts (one single failure period). It's been quieter recently (last failure 33 days ago) but hasn't formally cleared.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions