[Long Running Test] 'System.Composition.UnitTests.ConcurrencyTests.SharedInstancesAreNotVisibleUntilActivationCompletes'
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: https://github.com/dotnet/runtime/pull/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: :mag_right: https://dev.azure.com/dnceng-public/public/_build/results?buildId=984942
Error message validated: [[Long Running Test] 'System.Composition.UnitTests.ConcurrencyTests.SharedInstancesAreNotVisibleUntilActivationCompletes']
Result validation: :white_check_mark: 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 | 3 | 15 |
Tagging subscribers to this area: @dotnet/area-infrastructure-libraries See info in area-owners.md if you want to be subscribed.
Tagging subscribers to this area: @dotnet/area-system-composition See info in area-owners.md if you want to be subscribed.
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]
The test has not been modified.
The code in System.Composition has not changed except for https://github.com/dotnet/runtime/pull/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.