Skip to content

Almost 45000 warnings in coreclr Pri-1 test build #42184

@BruceForstall

Description

@BruceForstall

Previously there were ~17 warnings. Now there are ~45000 warnings.

This is due to #41947.

E.g., current warnings:

https://dev.azure.com/dnceng/public/_build/results?buildId=813140&view=logs&j=db768a9e-3325-5ce3-2d52-896c40bee68a&t=59112ad9-fe58-56ee-6943-84df6f0e3f8e

This noise makes it incredibly difficult to find actual problems (e.g., it slows down the AzDO UI).

Possibly unrelated: a spot check shows that the test build seems to gotten much slower as well.

Moving this conversation from the above issue. From @trylek:

I asked about that on the internal infra e-mail alias and my understanding is that this is due to some more stringent checks in new Roslyn. Which is an interesting question, perhaps @jaredpar may have thoughts on what is the preferable way forward - either booking the time to clean the tests up to conform with the latest compiler version, or treating them as "set in stone" (which may be more appropriate e.g. for various regression tests) and maybe devising a new way to mark newly added tests as (potentially) conforming to a more stringent warning policy employed by the newest C# compiler.

@trylek @jaredpar @ViktorHofer @dotnet/runtime-infrastructure @jkotas

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions