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

Could not load file or assembly 'Microsoft.CodeAnalysis.NetAnalyzers #84995

Closed
kotlarmilos opened this issue Apr 18, 2023 · 8 comments
Closed
Labels
area-Infrastructure 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
Milestone

Comments

@kotlarmilos
Copy link
Member

kotlarmilos commented Apr 18, 2023

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=242955
Build error leg or test failing: Build / coreclr Common Pri0 Test Build AnyOS AnyCPU checked / Build managed test components
Pull request: #79169

Error Message

Fill the error message using known issues guidance.

{
  "ErrorMessage": "Could not load file or assembly 'Microsoft.CodeAnalysis.NetAnalyzers",
  "BuildRetry": false,
  "ErrorPattern": "",
  "ExcludeConsoleLog": false
}

Report

Build Definition Step Name Console log Pull Request
381868 dotnet/runtime Build Tests Log #90912
381040 dotnet/runtime Build managed test components Log #90814
380937 dotnet/runtime Build Tests Log
379994 dotnet/runtime Build managed test components Log
377230 dotnet/runtime Build managed test components Log
375016 dotnet/runtime Build Tests Log
374758 dotnet/runtime Build Tests Log #90620
374599 dotnet/runtime Build Tests Log
372068 dotnet/runtime Build managed test components Log
370598 dotnet/runtime Build Tests Log #90360
369321 dotnet/runtime Build Tests Log #90273
369189 dotnet/runtime Build Tests Log #90290
367837 dotnet/runtime Build managed test components Log
367215 dotnet/runtime Build Tests Log #90132
367201 dotnet/runtime Build Tests Log #88926
366557 dotnet/runtime Build managed test components Log #90146
366123 dotnet/runtime Build Tests Log #90116
362955 dotnet/runtime Build Tests Log #89988
362769 dotnet/runtime Build Tests Log #89977
362227 dotnet/runtime Build Tests Log #89930
361772 dotnet/runtime Build Tests Log #88894
355196 dotnet/runtime Build managed test components Log #89632
354832 dotnet/runtime Build Tests Log #88394
354675 dotnet/runtime Build managed test components Log #89609
354544 dotnet/runtime Build managed test components Log #89405
352336 dotnet/runtime Build managed test components Log #89493
352201 dotnet/runtime Build managed test components Log
352084 dotnet/runtime Build managed test components Log #89422
351406 dotnet/runtime Build managed test components Log #89430
351171 dotnet/runtime Build managed test components Log

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 5 30

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=322450
Error message validated: Could not load file or assembly 'Microsoft.CodeAnalysis.NetAnalyzers
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 6/28/2023 10:10:52 PM UTC

@kotlarmilos kotlarmilos 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 Apr 18, 2023
@kotlarmilos kotlarmilos added this to the 8.0.0 milestone Apr 18, 2023
@ghost
Copy link

ghost commented Apr 18, 2023

Tagging subscribers to this area: @dotnet/area-infrastructure-libraries
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=242955
Build error leg or test failing: Build / coreclr Common Pri0 Test Build AnyOS AnyCPU checked / Build managed test components
Pull request: #79169

Error Message

Fill the error message using known issues guidance.

{
  "ErrorMessage": "Could not load file or assembly 'Microsoft.CodeAnalysis.NetAnalyzers",
  "BuildRetry": false,
  "ErrorPattern": "",
  "ExcludeConsoleLog": false
}
Author: kotlarmilos
Assignees: -
Labels:

area-Infrastructure-libraries, blocking-clean-ci, Known Build Error

Milestone: 8.0.0

@ViktorHofer
Copy link
Member

cc @jkoritzinsky

@ghost
Copy link

ghost commented May 3, 2023

Tagging subscribers to this area: @dotnet/runtime-infrastructure
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=242955
Build error leg or test failing: Build / coreclr Common Pri0 Test Build AnyOS AnyCPU checked / Build managed test components
Pull request: #79169

Error Message

Fill the error message using known issues guidance.

{
  "ErrorMessage": "Could not load file or assembly 'Microsoft.CodeAnalysis.NetAnalyzers",
  "BuildRetry": false,
  "ErrorPattern": "",
  "ExcludeConsoleLog": false
}

Report

Build Definition Step Name Console log Pull Request
260277 dotnet/runtime Build managed test components Log #84384
259773 dotnet/runtime Build Tests Log #85618
259066 dotnet/runtime Build managed test components Log
258650 dotnet/runtime Build Tests Log #85615
258418 dotnet/runtime Build Tests Log #85607
258313 dotnet/runtime Build Tests Log #85549
258225 dotnet/runtime Build managed test components Log #85594
257912 dotnet/runtime Build managed test components Log
257461 dotnet/runtime Build Tests Log #85558
257410 dotnet/runtime Build Tests Log #85558
257409 dotnet/runtime Build managed test components Log
257384 dotnet/runtime Build managed test components Log
256990 dotnet/runtime Build managed test components Log #85555
256880 dotnet/runtime Build managed test components Log
256811 dotnet/runtime Build Tests Log #85549
255719 dotnet/runtime Build managed test components Log #85504
255021 dotnet/runtime Build Tests Log #85467
254210 dotnet/runtime Build Tests Log #85435
254127 dotnet/runtime Build managed test components Log #85444
253876 dotnet/runtime Build Tests Log #85422
253035 dotnet/runtime Build managed test components Log
252877 dotnet/runtime Build Tests Log
252361 dotnet/runtime Build Tests Log #85310
252195 dotnet/runtime Build Tests Log #85357
251993 dotnet/runtime Build Tests Log #85197
251910 dotnet/runtime Build managed test components Log #85282
251184 dotnet/runtime Build Tests Log #85298
250810 dotnet/runtime Build Tests Log #83682
250365 dotnet/runtime Build managed test components Log #85174
249834 dotnet/runtime Build managed test components Log
249559 dotnet/runtime Build managed test components Log
249115 dotnet/runtime Build Tests Log #85140
249080 dotnet/runtime Build managed test components Log
248401 dotnet/runtime Build managed test components Log #84661
248303 dotnet/runtime Build managed test components Log #85182
248075 dotnet/runtime Build managed test components Log #85000
247894 dotnet/runtime Build Tests Log #85171
247870 dotnet/runtime Build Tests Log #84661
247498 dotnet/runtime Build Tests Log #85096
247418 dotnet/runtime Build managed test components Log
247262 dotnet/runtime Build managed test components Log #85150
247117 dotnet/runtime Build managed test components Log
246011 dotnet/runtime Build Tests Log #85106
245258 dotnet/runtime Build managed test components Log #85017
244409 dotnet/runtime Build Tests Log #84491
244252 dotnet/runtime Build managed test components Log
244205 dotnet/runtime Build Tests Log #85038
244026 dotnet/runtime Build managed test components Log
244012 dotnet/runtime Build managed test components Log
243994 dotnet/runtime Build Tests Log #82045
243968 dotnet/runtime Build Tests Log #84191
243784 dotnet/runtime Build Tests Log #84867
243592 dotnet/runtime Build managed test components Log #84956
242955 dotnet/runtime Build managed test components Log #79169
242507 dotnet/runtime Build managed test components Log
242494 dotnet/runtime Build Tests Log #82832
242445 dotnet/runtime Build Tests Log #84959
242380 dotnet/runtime Build Tests Log #84716

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
2 20 58
Author: kotlarmilos
Assignees: -
Labels:

blocking-clean-ci, area-Infrastructure, Known Build Error

Milestone: 8.0.0

@markples
Copy link
Member

markples commented Jun 5, 2023

@ViktorHofer @jkoritzinsky Do you have any ideas on what is causing this (or why it intermittently hits - it's rare enough that it almost seems like a new issue each time it comes up)?

@jkoritzinsky
Copy link
Member

My guess is some weirdness around how we do restore in the src/tests projects is causing issues. Once we reduce the number of project files in the src/tests tree (the next phase of the test consolidation), we can remove our custom "restore" infrastructure and do something more normal.

@carlossanlop
Copy link
Member

This is affecting the release/8.0 branch too. The milestone has been set to 9.0.0.

@kotlarmilos
Copy link
Member Author

Duplicate of #85082. Should we change the milestone to 8.0.0?

@carlossanlop
Copy link
Member

Duplicate of #85082

@carlossanlop carlossanlop marked this as a duplicate of #85082 Aug 23, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Sep 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Infrastructure 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
Projects
None yet
Development

No branches or pull requests

5 participants