Skip to content
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

[browser][wbt] fails with InvalidOperationException: There is no currently active test #105315

Open
ilonatommy opened this issue Jul 23, 2024 · 5 comments
Assignees
Labels
area-Infrastructure-mono Known Build Error Use this to report build issues in the .NET Helix tab
Milestone

Comments

@ilonatommy
Copy link
Member

ilonatommy commented Jul 23, 2024

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=751591
Build error leg or test failing: Workloads-NoWebcil-NoFingerprint-ST-Wasm.Build.Tests.WorkItemExecution
Pull request: #105302

Error Message

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

{
  "ErrorMessage": "Unhandled exception. System.InvalidOperationException: There is no currently active test.",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=751591
Error message validated: [Unhandled exception. System.InvalidOperationException: There is no currently active test.]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 7/23/2024 1:57:11 PM UTC

Report

Build Definition Test Pull Request
815073 dotnet/runtime Workloads-ST-Wasm.Build.Tests.SatelliteAssembliesTests.WorkItemExecution
814994 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.SatelliteAssembliesTests.WorkItemExecution #108105
814951 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.SatelliteAssembliesTests.WorkItemExecution #107865
814950 dotnet/runtime Workloads-ST-Wasm.Build.Tests.SatelliteAssembliesTests.WorkItemExecution
814895 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.SatelliteAssembliesTests.WorkItemExecution #107912
814425 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.SatelliteAssembliesTests.WorkItemExecution #108085
814419 dotnet/runtime Workloads-ST-Wasm.Build.Tests.SatelliteAssembliesTests.WorkItemExecution #107772
814352 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.BuildPublishTests.WorkItemExecution
814335 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.SatelliteAssembliesTests.WorkItemExecution
813991 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.SatelliteAssembliesTests.WorkItemExecution #106875
813958 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.SatelliteAssembliesTests.WorkItemExecution #108059
813883 dotnet/runtime Workloads-ST-Wasm.Build.Tests.SatelliteAssembliesTests.WorkItemExecution #106599
813844 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.SatelliteAssembliesTests.WorkItemExecution
813753 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.SatelliteAssembliesTests.WorkItemExecution #107772
813491 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.SatelliteAssembliesTests.WorkItemExecution #108033
812619 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.BuildPublishTests.WorkItemExecution
812591 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.BuildPublishTests.WorkItemExecution #107639
811970 dotnet/runtime Workloads-ST-Wasm.Build.Tests.BuildPublishTests.WorkItemExecution #107983
811892 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.BuildPublishTests.WorkItemExecution #107913
811731 dotnet/runtime Workloads-ST-Wasm.Build.Tests.SatelliteAssembliesTests.WorkItemExecution #107504
811244 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.BuildPublishTests.WorkItemExecution #107945
809249 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.SatelliteAssembliesTests.WorkItemExecution #107504
808439 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.BuildPublishTests.WorkItemExecution
808286 dotnet/runtime Workloads-ST-Wasm.Build.Tests.BuildPublishTests.WorkItemExecution
807301 dotnet/runtime Workloads-ST-Wasm.Build.Tests.SatelliteAssembliesTests.WorkItemExecution #107504
806878 dotnet/runtime Workloads-ST-Wasm.Build.Tests.BuildPublishTests.WorkItemExecution
806247 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.BuildPublishTests.WorkItemExecution #107734
804765 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.BuildPublishTests.WorkItemExecution #107401
803875 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.BuildPublishTests.WorkItemExecution #107628
802917 dotnet/runtime Workloads-ST-Wasm.Build.Tests.SatelliteAssembliesTests.WorkItemExecution #107504
802542 dotnet/runtime Workloads-ST-Wasm.Build.Tests.BuildPublishTests.WorkItemExecution
802342 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.BuildPublishTests.WorkItemExecution #107559
801852 dotnet/runtime Workloads-ST-Wasm.Build.Tests.BuildPublishTests.WorkItemExecution #107498
801076 dotnet/runtime Workloads-ST-Wasm.Build.Tests.SatelliteAssembliesTests.WorkItemExecution #107504
799614 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.SatelliteAssembliesTests.WorkItemExecution #107259
799536 dotnet/runtime Workloads-ST-Wasm.Build.Tests.BuildPublishTests.WorkItemExecution
799063 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.BuildPublishTests.WorkItemExecution #107423
798810 dotnet/runtime Workloads-ST-Wasm.Build.Tests.SatelliteAssembliesTests.WorkItemExecution #107259
798165 dotnet/runtime Workloads-ST-Wasm.Build.Tests.BuildPublishTests.WorkItemExecution #107382
797699 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.BuildPublishTests.WorkItemExecution
797424 dotnet/runtime Workloads-ST-Wasm.Build.Tests.BuildPublishTests.WorkItemExecution #106924
797152 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.BuildPublishTests.WorkItemExecution #107325
797066 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.BuildPublishTests.WorkItemExecution #107325
795019 dotnet/runtime Workloads-ST-Wasm.Build.Tests.BuildPublishTests.WorkItemExecution
794044 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.BuildPublishTests.WorkItemExecution #107194
793852 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.BuildPublishTests.WorkItemExecution #106924
792226 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.SatelliteAssembliesTests.WorkItemExecution #107131
792421 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.BuildPublishTests.WorkItemExecution #106875
790076 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.BuildPublishTests.WorkItemExecution #107039
790013 dotnet/runtime Workloads-ST-Wasm.Build.Tests.BuildPublishTests.WorkItemExecution
789853 dotnet/runtime Workloads-ST-Wasm.Build.Tests.BuildPublishTests.WorkItemExecution #106923
789836 dotnet/runtime Workloads-ST-Wasm.Build.Tests.BuildPublishTests.WorkItemExecution #106922
789647 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.BuildPublishTests.WorkItemExecution #106881
789140 dotnet/runtime Workloads-ST-Wasm.Build.Tests.BuildPublishTests.WorkItemExecution
787869 dotnet/runtime Workloads-NoWebcil-ST-Wasm.Build.Tests.BuildPublishTests.WorkItemExecution

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
1 22 55
@ilonatommy ilonatommy 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 Jul 23, 2024
@ilonatommy ilonatommy added this to the 9.0.0 milestone Jul 23, 2024
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: @directhex, @matouskozak
See info in area-owners.md if you want to be subscribed.

@maraf maraf self-assigned this Jul 23, 2024
@maraf
Copy link
Member

maraf commented Jul 25, 2024

I'm not able to reproduce it locally. It doesn't seem related to fingerprinting.
The message comes from xunit orchestration. It looks like a race condition.

@maraf maraf changed the title [browser] NoFingerprint wbt fails with InvalidOperationException [browser][wbt] fails with InvalidOperationException: There is no currently active test Jul 25, 2024
@maraf
Copy link
Member

maraf commented Jul 26, 2024

@mkhamoyan Can you please look into this one? It's quite low priority (if don't start happening more often, but it doesn't seem so far). The exception comes from ToolCommand https://github.com/dotnet/runtime/blob/main/src/mono/wasm/Wasm.Build.Tests/Common/ToolCommand.cs#L110
My theory is that the process output arrives in .NET after the waiting for process to finish (as thus the test finished). Something like unsubscribing the handlers after the wait might be enough.

@maraf maraf assigned mkhamoyan and unassigned maraf Jul 26, 2024
@maraf maraf removed the blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' label Jul 26, 2024
@ilonatommy
Copy link
Member Author

Note for the future: unsubscribing from the handlers did not fully fix the issue, the last 2 hits are on PRs created after the fix was merged.

@steveisok steveisok modified the milestones: 9.0.0, 10.0.0 Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Infrastructure-mono Known Build Error Use this to report build issues in the .NET Helix tab
Projects
None yet
Development

No branches or pull requests

5 participants