dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
15.04k stars 4.68k forks source link

System.Diagnostics.Tracing.Tests BasicEventSourceTests.TestsManifestGeneration test fails on windows x86 leg #97255

Closed buyaa-n closed 2 months ago

buyaa-n commented 8 months ago

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=534064 Build error leg or test failing: BasicEventSourceTests.TestsManifestGeneration.Test_EventSource_EtwManifestGeneration and BasicEventSourceTests.TestsManifestGeneration.Test_EventSource_EtwManifestGenerationRollover Pull request: https://github.com/dotnet/runtime/pull/97177

Error Message

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

{
  "ErrorMessage": "Test_EventSource_EtwManifestGeneration",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

From log:

Did not see ManifestData event from SimpleEventSource, test will fail. Additional info:
    file name initialFile.2884.etl
    total event count 0
    total providers 0
Did not see ManifestData event from SimpleEventSource, test will fail. Additional info:
    file name initialFile.2884.etl
    total event count 0
    total providers 0
    BasicEventSourceTests.TestsManifestGeneration.Test_EventSource_EtwManifestGenerationRollover [FAIL]
      Assert.True() Failure
      Expected: True
      Actual:   False
      Stack Trace:
        /_/src/libraries/System.Diagnostics.Tracing/tests/BasicEventSourceTest/TestsManifestGeneration.Etw.cs(132,0): at BasicEventSourceTests.TestsManifestGeneration.Test_EventSource_EtwManifestGenerationRollover()
           at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
        /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs(48,0): at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

Report

Build Definition Test Pull Request
534656 dotnet/runtime BasicEventSourceTests.TestsManifestGeneration.Test_EventSource_EtwManifestGenerationRollover dotnet/runtime#97177
534648 dotnet/runtime BasicEventSourceTests.TestsManifestGeneration.Test_EventSource_EtwManifestGenerationRollover dotnet/runtime#92974
534575 dotnet/runtime BasicEventSourceTests.TestsManifestGeneration.Test_EventSource_EtwManifestGenerationRollover dotnet/runtime#97234
534574 dotnet/runtime BasicEventSourceTests.TestsManifestGeneration.Test_EventSource_EtwManifestGenerationRollover dotnet/runtime#97237
534548 dotnet/runtime BasicEventSourceTests.TestsManifestGeneration.Test_EventSource_EtwManifestGenerationRollover dotnet/runtime#97253
534228 dotnet/runtime BasicEventSourceTests.TestsManifestGeneration.Test_EventSource_EtwManifestGenerationRollover dotnet/runtime#97246
534531 dotnet/runtime BasicEventSourceTests.TestsManifestGeneration.Test_EventSource_EtwManifestGenerationRollover
534277 dotnet/runtime BasicEventSourceTests.TestsManifestGeneration.Test_EventSource_EtwManifestGenerationRollover dotnet/runtime#97109
534478 dotnet/runtime BasicEventSourceTests.TestsManifestGeneration.Test_EventSource_EtwManifestGenerationRollover dotnet/runtime#97152
534443 dotnet/runtime BasicEventSourceTests.TestsManifestGeneration.Test_EventSource_EtwManifestGenerationRollover dotnet/runtime#97098
533560 dotnet/runtime BasicEventSourceTests.TestsManifestGeneration.Test_EventSource_EtwManifestGenerationRollover dotnet/runtime#96732
534303 dotnet/runtime BasicEventSourceTests.TestsManifestGeneration.Test_EventSource_EtwManifestGenerationRollover dotnet/runtime#96941
534064 dotnet/runtime BasicEventSourceTests.TestsManifestGeneration.Test_EventSource_EtwManifestGenerationRollover dotnet/runtime#97177
534236 dotnet/runtime BasicEventSourceTests.TestsManifestGeneration.Test_EventSource_EtwManifestGenerationRollover dotnet/runtime#97130
534201 dotnet/runtime BasicEventSourceTests.TestsManifestGeneration.Test_EventSource_EtwManifestGenerationRollover dotnet/runtime#97244
534171 dotnet/runtime BasicEventSourceTests.TestsManifestGeneration.Test_EventSource_EtwManifestGenerationRollover dotnet/runtime#96386
534134 dotnet/runtime BasicEventSourceTests.TestsManifestGeneration.Test_EventSource_EtwManifestGenerationRollover dotnet/runtime#97237
534109 dotnet/runtime BasicEventSourceTests.TestsManifestGeneration.Test_EventSource_EtwManifestGenerationRollover dotnet/runtime#97238
533969 dotnet/runtime BasicEventSourceTests.TestsManifestGeneration.Test_EventSource_EtwManifestGenerationRollover dotnet/runtime#97234
533830 dotnet/runtime BasicEventSourceTests.TestsManifestGeneration.Test_EventSource_EtwManifestGenerationRollover dotnet/runtime#97232
533920 dotnet/runtime BasicEventSourceTests.TestsManifestGeneration.Test_EventSource_EtwManifestGenerationRollover dotnet/runtime#97089

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
18 21 21
ghost commented 8 months ago

Tagging subscribers to this area: @tarekgh, @tommcdon, @pjanotti See info in area-owners.md if you want to be subscribed.

Issue Details
## Build Information Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=534064 Build error leg or test failing: `BasicEventSourceTests.TestsManifestGeneration.Test_EventSource_EtwManifestGeneration` and `BasicEventSourceTests.TestsManifestGeneration.Test_EventSource_EtwManifestGenerationRollover` Pull request: https://github.com/dotnet/runtime/pull/97177 ## Error Message Fill the error message using [step by step known issues guidance](https://github.com/dotnet/arcade/blob/main/Documentation/Projects/Build%20Analysis/KnownIssues.md#how-to-fill-out-a-known-issue-error-section). ```json { "ErrorMessage": "Test_EventSource_EtwManifestGeneration", "ErrorPattern": "", "BuildRetry": false, "ExcludeConsoleLog": false } ``` From [log](https://helix.dot.net/api/2019-06-17/jobs/ba7e7b90-1d04-4a5d-805f-d0e52f81ea56/workitems/System.Diagnostics.Tracing.Tests/console): ```log Did not see ManifestData event from SimpleEventSource, test will fail. Additional info: file name initialFile.2884.etl total event count 0 total providers 0 Did not see ManifestData event from SimpleEventSource, test will fail. Additional info: file name initialFile.2884.etl total event count 0 total providers 0 BasicEventSourceTests.TestsManifestGeneration.Test_EventSource_EtwManifestGenerationRollover [FAIL] Assert.True() Failure Expected: True Actual: False Stack Trace: /_/src/libraries/System.Diagnostics.Tracing/tests/BasicEventSourceTest/TestsManifestGeneration.Etw.cs(132,0): at BasicEventSourceTests.TestsManifestGeneration.Test_EventSource_EtwManifestGenerationRollover() at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor) /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs(48,0): at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) ```
Author: buyaa-n
Assignees: -
Labels: `area-System.Diagnostics.Tracing`, `blocking-clean-ci`, `Known Build Error`
Milestone: -
tommcdon commented 8 months ago

@davmason @AaronRobinsonMSFT

AaronRobinsonMSFT commented 8 months ago

Sad. I'm going to disable this test now. I'm very confused as to why this is occurring.

v-wenyuxu commented 4 months ago

Failed in: runtime-coreclr libraries-jitstress 20240529.1

Failed tests:

net9.0-windows-Release-x64-disabler2r-Windows.10.Amd64.Open
    - BasicEventSourceTests.TestsManifestGeneration.Test_EventSource_EtwManifestGenerationRollover

Error message:

 Assert.True() Failure
Expected: True
Actual:   False

Stack trace:

   at BasicEventSourceTests.TestsManifestGeneration.Test_EventSource_EtwManifestGenerationRollover() in /_/src/libraries/System.Diagnostics.Tracing/tests/BasicEventSourceTest/TestsManifestGeneration.Etw.cs:line 123
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs:line 57
v-wenyuxu commented 3 months ago

Failed in: runtime-coreclr libraries-jitstress 20240621.1

Failed tests:

net9.0-windows-Release-arm64-disabler2r-Windows.11.Arm64.Open
    - BasicEventSourceTests.TestsManifestGeneration.Test_EventSource_EtwManifestGenerationRollover

Error message:

Assert.True() Failure
Expected: True
Actual:   False

Stack trace:

   at BasicEventSourceTests.TestsManifestGeneration.Test_EventSource_EtwManifestGenerationRollover() in /_/src/libraries/System.Diagnostics.Tracing/tests/BasicEventSourceTest/TestsManifestGeneration.Etw.cs:line 123
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs:line 57
v-wenyuxu commented 3 months ago

Failed in: runtime-coreclr libraries-jitstress 20240625.1

Failed tests:

net9.0-windows-Release-arm64-disabler2r-Windows.11.Arm64.Open
    - BasicEventSourceTests.TestsManifestGeneration.Test_EventSource_EtwManifestGenerationRollover

Error message:

 Assert.True() Failure
Expected: True
Actual:   False

Stack trace:

   at BasicEventSourceTests.TestsManifestGeneration.Test_EventSource_EtwManifestGenerationRollover() in /_/src/libraries/System.Diagnostics.Tracing/tests/BasicEventSourceTest/TestsManifestGeneration.Etw.cs:line 123
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs:line 57
v-wenyuxu commented 2 months ago

Failed in: runtime-coreclr libraries-jitstress 20240709.1

Failed tests:

net9.0-windows-Release-x64-disabler2r-Windows.10.Amd64.Open
    - BasicEventSourceTests.TestsManifestGeneration.Test_EventSource_EtwManifestGenerationRollover

Error message:

 Assert.True() Failure
Expected: True
Actual:   False

Stack trace:

   at BasicEventSourceTests.TestsManifestGeneration.Test_EventSource_EtwManifestGenerationRollover() in /_/src/libraries/System.Diagnostics.Tracing/tests/BasicEventSourceTest/TestsManifestGeneration.Etw.cs:line 123
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs:line 57
davmason commented 2 months ago

Closing as duplicate of #88027