runtime icon indicating copy to clipboard operation
runtime copied to clipboard

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

Open antonfirsov opened this issue 9 months ago • 4 comments

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

Build Definition Test Pull Request
1220940 dotnet/runtime System.Composition.Tests.WorkItemExecution dotnet/runtime#122094
1220118 dotnet/runtime System.Composition.Tests.WorkItemExecution dotnet/runtime#122048
1219166 dotnet/runtime System.Composition.Tests.WorkItemExecution dotnet/runtime#122127
1215115 dotnet/runtime System.Composition.Tests.WorkItemExecution dotnet/runtime#121800
1214868 dotnet/runtime System.Composition.Tests.WorkItemExecution dotnet/runtime#122032
1211086 dotnet/runtime System.Composition.Tests.WorkItemExecution dotnet/runtime#121915
1208982 dotnet/runtime System.Composition.Tests.WorkItemExecution dotnet/runtime#119432
1207633 dotnet/runtime System.Composition.Tests.WorkItemExecution dotnet/runtime#121797
1207376 dotnet/runtime System.Composition.Tests.WorkItemExecution
1206252 dotnet/runtime System.Composition.Tests.WorkItemExecution dotnet/runtime#121730
1206262 dotnet/runtime System.Composition.Tests.WorkItemExecution dotnet/runtime#100729
1205924 dotnet/runtime System.Composition.Tests.WorkItemExecution dotnet/runtime#121643
1202273 dotnet/runtime System.Composition.Tests.WorkItemExecution dotnet/runtime#119996
1202173 dotnet/runtime System.Composition.Tests.WorkItemExecution dotnet/runtime#121341
1199298 dotnet/runtime System.Composition.Tests.WorkItemExecution dotnet/runtime#121180

Summary

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

antonfirsov avatar Mar 19 '25 12:03 antonfirsov

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]

steveharter avatar Mar 24 '25 15:03 steveharter

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.

steveharter avatar Mar 24 '25 15:03 steveharter