Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
antonfirsov opened this issue Mar 19, 2025 · 4 comments
Labels
area-System.Composition blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' investigate Known Build Error Use this to report build issues in the .NET Helix tab runtime-mono specific to the Mono runtime test-bug Problem in test source code (most likely)
Milestone

Comments

@antonfirsov
Copy link
Member

antonfirsov commented Mar 19, 2025

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

Build Definition Test Pull Request
1017022 dotnet/runtime System.Composition.Tests.WorkItemExecution #114636
1016688 dotnet/runtime System.Composition.Tests.WorkItemExecution #114642
1014569 dotnet/runtime System.Composition.Tests.WorkItemExecution #113165
1012884 dotnet/runtime System.Composition.Tests.WorkItemExecution #114517
1012767 dotnet/runtime System.Composition.Tests.WorkItemExecution #114511
1010974 dotnet/runtime System.Composition.Tests.WorkItemExecution #113899
1009987 dotnet/runtime System.Composition.Tests.WorkItemExecution #114416
1007947 dotnet/runtime System.Composition.Tests.WorkItemExecution #114326
1007163 dotnet/runtime System.Composition.Tests.WorkItemExecution #114057
1006267 dotnet/runtime System.Composition.Tests.WorkItemExecution #114293
1005987 dotnet/runtime System.Composition.Tests.WorkItemExecution #114281
1005140 dotnet/runtime System.Composition.Tests.WorkItemExecution #114228
1005040 dotnet/runtime System.Composition.Tests.WorkItemExecution #114137
1004820 dotnet/runtime System.Composition.Tests.WorkItemExecution #114245
1002545 dotnet/runtime System.Composition.Tests.WorkItemExecution #113689
1000127 dotnet/runtime System.Composition.Tests.WorkItemExecution #114083
998378 dotnet/runtime System.Composition.Tests.WorkItemExecution #113976
997696 dotnet/runtime System.Composition.Tests.WorkItemExecution #113765
997649 dotnet/runtime System.Composition.Tests.WorkItemExecution
996625 dotnet/runtime System.Composition.Tests.WorkItemExecution #113907
995456 dotnet/runtime System.Composition.Tests.WorkItemExecution #113957
988620 dotnet/runtime System.Composition.Tests.WorkItemExecution
988011 dotnet/runtime System.Composition.Tests.WorkItemExecution #113737
987120 dotnet/runtime System.Composition.Tests.WorkItemExecution
984942 dotnet/runtime System.Composition.Tests.WorkItemExecution #112417

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
2 7 25
@antonfirsov antonfirsov added blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab labels Mar 19, 2025
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Mar 19, 2025
Copy link
Contributor

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

Copy link
Contributor

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

@jkotas jkotas added the runtime-mono specific to the Mono runtime label Mar 19, 2025
@steveharter steveharter self-assigned this Mar 24, 2025
@steveharter steveharter added test-bug Problem in test source code (most likely) and removed untriaged New issue has not been triaged by the area owner bug labels Mar 24, 2025
@steveharter steveharter added this to the 10.0.0 milestone Mar 24, 2025
@steveharter steveharter removed their assignment Mar 24, 2025
@steveharter
Copy link
Member

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]

@steveharter
Copy link
Member

steveharter commented Mar 24, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-System.Composition blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' investigate Known Build Error Use this to report build issues in the .NET Helix tab runtime-mono specific to the Mono runtime test-bug Problem in test source code (most likely)
Projects
None yet
Development

No branches or pull requests

3 participants