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

Test discovery fails for certain test cases #8457

Open
vlada-shubina opened this issue Feb 16, 2023 · 1 comment
Open

Test discovery fails for certain test cases #8457

vlada-shubina opened this issue Feb 16, 2023 · 1 comment
Labels
Area: Our Own Build Problems affecting the build or build infrastructure of the MSBuild repo itself. backlog Priority:3 Work that is nice to have triaged

Comments

@vlada-shubina
Copy link
Member

vlada-shubina commented Feb 16, 2023

Some tests fail on test discovery:

[2/16/2023 11:15:47.262 AM] [Warning] [xUnit.net 00:00:13.28] Microsoft.Build.Engine.OM.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.UnitTests.OM.Definition.DefinitionEditing_Tests.RenameThrowsWhenItemElementSplittingIsDisabled'; falling back to single test case.
[2/16/2023 11:15:47.264 AM] [Warning] [xUnit.net 00:00:13.28] Microsoft.Build.Engine.OM.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.UnitTests.OM.Definition.DefinitionEditing_Tests.ChangeItemTypeThrowsWhenItemElementSplittingIsDisabled'; falling back to single test case.
[2/16/2023 11:15:47.269 AM] [Warning] [xUnit.net 00:00:13.28] Microsoft.Build.Engine.OM.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.UnitTests.OM.Definition.DefinitionEditing_Tests.RemoveItemThrowsWhenItemElementSplittingIsDisabled'; falling back to single test case.
[2/16/2023 11:15:47.273 AM] [Warning] [xUnit.net 00:00:13.28] Microsoft.Build.Engine.OM.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.UnitTests.OM.Definition.DefinitionEditing_Tests.RemoveItemsThrowsWhenItemElementSplittingIsDisabled'; falling back to single test case.
[2/16/2023 11:15:47.277 AM] [Warning] [xUnit.net 00:00:13.29] Microsoft.Build.Engine.OM.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.UnitTests.OM.Definition.DefinitionEditing_Tests.SetMetadataThrowsWhenItemElementSplittingIsDisabled'; falling back to single test case.
[2/16/2023 11:15:47.299 AM] [Warning] [xUnit.net 00:00:13.32] Microsoft.Build.Engine.OM.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.UnitTests.OM.Definition.ProjectItem_Tests.UpdateAndRemoveShouldWorkWithEscapedCharacters'; falling back to single test case.
[2/16/2023 11:15:47.346 AM] [Warning] [xUnit.net 00:00:13.36] Microsoft.Build.Engine.OM.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.UnitTests.OM.Definition.ProjectItemWithOptimizations_Tests.UpdateAndRemoveShouldWorkWithEscapedCharacters'; falling back to single test case.
[2/16/2023 11:15:47.356 AM] [Warning] [xUnit.net 00:00:13.37] Microsoft.Build.Engine.OM.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.UnitTests.OM.Definition.Project_Tests.GetItemProvenanceByProjectItem'; falling back to single test case.
[2/16/2023 11:15:47.360 AM] [Warning] [xUnit.net 00:00:13.38] Microsoft.Build.Engine.OM.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.UnitTests.OM.Definition.Project_Tests.GetItemProvenanceShouldWorkWithEscapedCharacters'; falling back to single test case.
[2/16/2023 11:15:47.387 AM]  [xUnit.net 00:00:05.18]   Discovering: Microsoft.NET.StringTools.net35.UnitTests
[2/16/2023 11:15:47.398 AM] [Warning] [xUnit.net 00:00:13.42] Microsoft.Build.Engine.OM.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.UnitTests.OM.Construction.ConstructionEditing_Tests.InsertMetadataElementAfterSiblings'; falling back to single test case.
[2/16/2023 11:15:47.401 AM] [Warning] [xUnit.net 00:00:13.42] Microsoft.Build.Engine.OM.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.UnitTests.OM.Construction.ConstructionEditing_Tests.InsertMetadataElementBeforeSiblings'; falling back to single test case.
[2/16/2023 11:15:47.472 AM] [Warning] [xUnit.net 00:00:05.13] Microsoft.NET.StringTools.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.NET.StringTools.Tests.SpanBasedStringBuilder_Tests.LengthReturnsLength'; falling back to single test case.
[2/16/2023 11:15:47.478 AM] [Warning] [xUnit.net 00:00:05.14] Microsoft.NET.StringTools.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.NET.StringTools.Tests.SpanBasedStringBuilder_Tests.EnumeratorEnumeratesCharacters'; falling back to single test case.
[2/16/2023 11:15:47.481 AM] [Warning] [xUnit.net 00:00:05.14] Microsoft.NET.StringTools.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.NET.StringTools.Tests.SpanBasedStringBuilder_Tests.EqualsReturnsExpectedValue'; falling back to single test case.
[2/16/2023 11:15:47.516 AM] [Warning] [xUnit.net 00:00:05.18] Microsoft.NET.StringTools.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.NET.StringTools.Tests.SpanBasedStringBuilder_Tests.AppendAppendsString'; falling back to single test case.
[2/16/2023 11:15:47.522 AM] [Warning] [xUnit.net 00:00:05.18] Microsoft.NET.StringTools.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.NET.StringTools.Tests.SpanBasedStringBuilder_Tests.AppendAppendsSubstring'; falling back to single test case.
[2/16/2023 11:15:47.531 AM] [Warning] [xUnit.net 00:00:05.19] Microsoft.NET.StringTools.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.NET.StringTools.Tests.SpanBasedStringBuilder_Tests.TrimStartRemovesLeadingWhiteSpace'; falling back to single test case.
[2/16/2023 11:15:47.536 AM] [Warning] [xUnit.net 00:00:05.19] Microsoft.NET.StringTools.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.NET.StringTools.Tests.SpanBasedStringBuilder_Tests.TrimEndRemovesTrailingWhiteSpace'; falling back to single test case.
[2/16/2023 11:15:47.538 AM] [Warning] [xUnit.net 00:00:05.19] Microsoft.NET.StringTools.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.NET.StringTools.Tests.SpanBasedStringBuilder_Tests.TrimRemovesLeadingAndTrailingWhiteSpace'; falling back to single test case.
[2/16/2023 11:15:47.541 AM] [Warning] [xUnit.net 00:00:05.19] Microsoft.NET.StringTools.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.NET.StringTools.Tests.SpanBasedStringBuilder_Tests.ClearRemovesAllCharacters'; falling back to single test case.
[2/16/2023 11:15:48.561 AM] [Warning] [xUnit.net 00:00:14.69] Microsoft.Build.CommandLine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.UnitTests.CommandLineSwitchesTests.ProcessGraphBuildSwitch'; falling back to single test case.
[2/16/2023 11:15:49.551 AM] [Warning] [xUnit.net 00:00:15.50] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.Graph.UnitTests.GraphLoadedFromSolutionTests.SolutionsCanInjectEdgesIntoTheProjectGraph'; falling back to single test case.
[2/16/2023 11:15:49.584 AM] [Warning] [xUnit.net 00:00:15.54] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.Graph.UnitTests.IsolateProjectsTests.UndeclaredReferenceEnforcementShouldNormalizeFilePaths'; falling back to single test case.
[2/16/2023 11:15:49.595 AM] [Warning] [xUnit.net 00:00:15.55] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.Graph.UnitTests.ProjectGraphTests.TopologicalSortShouldTopologicallySort'; falling back to single test case.
[2/16/2023 11:15:49.598 AM] [Warning] [xUnit.net 00:00:15.55] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.Graph.UnitTests.ProjectGraphTests.DotNotationShouldRepresentGraph'; falling back to single test case.
[2/16/2023 11:15:49.604 AM] [Warning] [xUnit.net 00:00:15.56] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.Graph.UnitTests.ProjectGraphTests.AllNodesShouldHaveGraphBuildGlobalProperty'; falling back to single test case.
[2/16/2023 11:15:49.609 AM] [Warning] [xUnit.net 00:00:15.56] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.Graph.UnitTests.ProjectGraphTests.GraphShouldSupportTransitiveReferences'; falling back to single test case.
[2/16/2023 11:15:49.616 AM] [Warning] [xUnit.net 00:00:15.57] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.Graph.UnitTests.ProjectGraphTests.TransitiveReferencesAreDefinedPerProject'; falling back to single test case.
[2/16/2023 11:15:49.630 AM] [Warning] [xUnit.net 00:00:15.58] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.Graph.UnitTests.ResultCacheBasedBuilds_Tests.BuildProjectGraphUsingCaches'; falling back to single test case.
[2/16/2023 11:15:49.811 AM] [Warning] [xUnit.net 00:00:15.74] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.Engine.UnitTests.ProjectCache.ProjectCacheTests.ProjectCacheByBuildParametersAndGraphBuildWorks'; falling back to single test case.
[2/16/2023 11:15:49.816 AM] [Warning] [xUnit.net 00:00:15.77] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.Engine.UnitTests.ProjectCache.ProjectCacheTests.ProjectCacheByBuildParametersAndBottomUpBuildWorks'; falling back to single test case.
[2/16/2023 11:15:49.818 AM] [Warning] [xUnit.net 00:00:15.77] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.Engine.UnitTests.ProjectCache.ProjectCacheTests.ProjectCacheByVsScenarioWorks'; falling back to single test case.
[2/16/2023 11:15:49.824 AM] [Warning] [xUnit.net 00:00:15.78] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.Engine.UnitTests.ProjectCache.ProjectCacheTests.CacheShouldNotGetQueriedForNestedBuildRequests'; falling back to single test case.
[2/16/2023 11:15:49.835 AM] [Warning] [xUnit.net 00:00:15.78] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.Engine.UnitTests.Instance.ProjectItemGroupTaskItemInstance_Internal_Tests.ProjectItemGroupTaskItemInstanceCanSerializeViaTranslator'; falling back to single test case.
[2/16/2023 11:15:49.838 AM] [Warning] [xUnit.net 00:00:15.79] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.Engine.UnitTests.Instance.ProjectTargetInstance_Internal_Tests.ProjectTargetInstanceCanSerializeViaTranslator'; falling back to single test case.
[2/16/2023 11:15:49.842 AM] [Warning] [xUnit.net 00:00:15.80] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.Engine.UnitTests.Instance.ProjectTaskInstance_Internal_Tests.ProjectTaskInstanceCanSerializeViaTranslator'; falling back to single test case.
[2/16/2023 11:15:49.863 AM] [Warning] [xUnit.net 00:00:15.82] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.Engine.UnitTests.Globbing.CompositeGlobTests.CompositeMatching'; falling back to single test case.
[2/16/2023 11:15:50.011 AM] [Warning] [xUnit.net 00:00:15.96] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.UnitTests.ProjectEvaluationFinishedEventArgs_Tests.ProfilerResultRoundTrip'; falling back to single test case.
[2/16/2023 11:15:50.066 AM] [Warning] [xUnit.net 00:00:16.02] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.UnitTests.FileMatcherTest.GetFilesComplexGlobbingMatching'; falling back to single test case.
[2/16/2023 11:15:50.227 AM] [Warning] [xUnit.net 00:00:16.18] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.UnitTests.Evaluation.ItemEvaluation_Tests.ItemOperationsShouldExpandIndirectItemReferences'; falling back to single test case.
[2/16/2023 11:15:50.268 AM] [Warning] [xUnit.net 00:00:16.22] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.UnitTests.Evaluation.SimpleVersion_Tests.CompareTo_ReturnsExpected'; falling back to single test case.
[2/16/2023 11:15:50.288 AM] [Warning] [xUnit.net 00:00:16.24] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.UnitTests.Evaluation.SimpleVersion_Tests.ComparisonOperators_ReturnExpected'; falling back to single test case.
[2/16/2023 11:15:50.295 AM] [Warning] [xUnit.net 00:00:16.25] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.UnitTests.Evaluation.SimpleVersion_Tests.Equals_Other_ReturnsExpected'; falling back to single test case.
[2/16/2023 11:15:50.299 AM] [Warning] [xUnit.net 00:00:16.25] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.UnitTests.Evaluation.SimpleVersion_Tests.Parse_ValidInput_ReturnsExpected'; falling back to single test case.
[2/16/2023 11:15:50.314 AM] [Warning] [xUnit.net 00:00:16.27] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.UnitTests.Evaluation.SimpleVersion_Tests.ToString_Invoke_ReturnsExpected'; falling back to single test case.
[2/16/2023 11:15:50.450 AM] [Warning] [xUnit.net 00:00:16.40] Microsoft.Build.Engine.UnitTests: Non-serializable data ('Microsoft.Build.UnitTests.OM.Instance.ProjectInstance_Internal_Tests+ProjectInstanceFactory[]') found for 'Microsoft.Build.UnitTests.OM.Instance.ProjectInstance_Internal_Tests.ProjectInstanceHasEvaluationId'; falling back to single test case.
[2/16/2023 11:15:50.463 AM] [Warning] [xUnit.net 00:00:16.42] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.UnitTests.OM.Construction.ProjectSdkImplicitImport_Tests.SdkPropertiesAreExpanded'; falling back to single test case.
[2/16/2023 11:15:50.515 AM] [Warning] [xUnit.net 00:00:16.47] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.UnitTests.BackEnd.CacheSerialization_Tests.OnlySerializeCacheEntryWithSmallestConfigId'; falling back to single test case.
[2/16/2023 11:15:50.518 AM] [Warning] [xUnit.net 00:00:16.47] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.UnitTests.BackEnd.CacheSerialization_Tests.OnlySerializeResultsForSpecifiedTargets'; falling back to single test case.
[2/16/2023 11:15:50.520 AM] [Warning] [xUnit.net 00:00:16.47] Microsoft.Build.Engine.UnitTests: Non-serializable data ('Microsoft.Build.BackEnd.ConfigCache[]') found for 'Microsoft.Build.UnitTests.BackEnd.ConfigCache_Tests.ConfigCacheShouldBeTranslatable'; falling back to single test case.
[2/16/2023 11:15:50.529 AM] [Warning] [xUnit.net 00:00:09.01] Microsoft.Build.CommandLine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.UnitTests.CommandLineSwitchesTests.ProcessGraphBuildSwitch'; falling back to single test case.
[2/16/2023 11:15:50.532 AM] [Warning] [xUnit.net 00:00:16.48] Microsoft.Build.Engine.UnitTests: Non-serializable data ('Microsoft.Build.BackEnd.ConfigCache[]') found for 'Microsoft.Build.UnitTests.BackEnd.ConfigCache_Tests.GetSmallestConfigIdThrows'; falling back to single test case.
[2/16/2023 11:15:50.535 AM] [Warning] [xUnit.net 00:00:16.48] Microsoft.Build.Engine.UnitTests: Non-serializable data ('Microsoft.Build.BackEnd.ConfigCache[]') found for 'Microsoft.Build.UnitTests.BackEnd.ConfigCache_Tests.HappyGetSmallestConfigId'; falling back to single test case.
[2/16/2023 11:15:50.537 AM] [Warning] [xUnit.net 00:00:16.49] Microsoft.Build.Engine.UnitTests: Non-serializable data ('Microsoft.Build.BackEnd.ResultsCache[]') found for 'Microsoft.Build.UnitTests.BackEnd.ResultsCache_Tests.TestResultsCacheTranslation'; falling back to single test case.
[2/16/2023 11:15:50.559 AM] [Warning] [xUnit.net 00:00:16.51] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.UnitTests.BackEnd.TaskRegistry_Tests.TaskRegistryCanSerializeViaTranslator'; falling back to single test case.
[2/16/2023 11:15:50.643 AM] [Warning] [xUnit.net 00:00:08.05] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.Graph.UnitTests.GraphLoadedFromSolutionTests.SolutionsCanInjectEdgesIntoTheProjectGraph'; falling back to single test case.
[2/16/2023 11:15:50.656 AM] [Warning] [xUnit.net 00:00:08.07] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.Graph.UnitTests.IsolateProjectsTests.UndeclaredReferenceEnforcementShouldNormalizeFilePaths'; falling back to single test case.
[2/16/2023 11:15:50.664 AM] [Warning] [xUnit.net 00:00:08.08] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.Graph.UnitTests.ProjectGraphTests.TopologicalSortShouldTopologicallySort'; falling back to single test case.
[2/16/2023 11:15:50.685 AM] [Warning] [xUnit.net 00:00:08.08] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.Graph.UnitTests.ProjectGraphTests.DotNotationShouldRepresentGraph'; falling back to single test case.
[2/16/2023 11:15:50.689 AM] [Warning] [xUnit.net 00:00:08.09] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.Graph.UnitTests.ProjectGraphTests.AllNodesShouldHaveGraphBuildGlobalProperty'; falling back to single test case.
[2/16/2023 11:15:50.692 AM] [Warning] [xUnit.net 00:00:08.09] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.Graph.UnitTests.ProjectGraphTests.GraphShouldSupportTransitiveReferences'; falling back to single test case.
[2/16/2023 11:15:50.695 AM] [Warning] [xUnit.net 00:00:08.09] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.Graph.UnitTests.ProjectGraphTests.TransitiveReferencesAreDefinedPerProject'; falling back to single test case.
[2/16/2023 11:15:50.698 AM] [Warning] [xUnit.net 00:00:08.11] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.Graph.UnitTests.ResultCacheBasedBuilds_Tests.BuildProjectGraphUsingCaches'; falling back to single test case.
[2/16/2023 11:15:51.090 AM] [Warning] [xUnit.net 00:00:08.50] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.Engine.UnitTests.ProjectCache.ProjectCacheTests.ProjectCacheByBuildParametersAndGraphBuildWorks'; falling back to single test case.
[2/16/2023 11:15:51.095 AM] [Warning] [xUnit.net 00:00:08.51] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.Engine.UnitTests.ProjectCache.ProjectCacheTests.ProjectCacheByBuildParametersAndBottomUpBuildWorks'; falling back to single test case.
[2/16/2023 11:15:51.097 AM] [Warning] [xUnit.net 00:00:08.51] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.Engine.UnitTests.ProjectCache.ProjectCacheTests.ProjectCacheByVsScenarioWorks'; falling back to single test case.
[2/16/2023 11:15:51.103 AM] [Warning] [xUnit.net 00:00:08.51] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.Engine.UnitTests.ProjectCache.ProjectCacheTests.CacheShouldNotGetQueriedForNestedBuildRequests'; falling back to single test case.
[2/16/2023 11:15:51.257 AM] [Warning] [xUnit.net 00:00:08.80] Microsoft.Build.Engine.OM.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.UnitTests.OM.Definition.DefinitionEditing_Tests.RenameThrowsWhenItemElementSplittingIsDisabled'; falling back to single test case.
[2/16/2023 11:15:51.279 AM] [Warning] [xUnit.net 00:00:08.80] Microsoft.Build.Engine.OM.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.UnitTests.OM.Definition.DefinitionEditing_Tests.ChangeItemTypeThrowsWhenItemElementSplittingIsDisabled'; falling back to single test case.
[2/16/2023 11:15:51.281 AM] [Warning] [xUnit.net 00:00:08.80] Microsoft.Build.Engine.OM.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.UnitTests.OM.Definition.DefinitionEditing_Tests.RemoveItemThrowsWhenItemElementSplittingIsDisabled'; falling back to single test case.
[2/16/2023 11:15:51.284 AM]  [xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v2.4.3+1b45f5407b (64-bit .NET 7.0.3)
[2/16/2023 11:15:51.287 AM] [Warning] [xUnit.net 00:00:08.80] Microsoft.Build.Engine.OM.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.UnitTests.OM.Definition.DefinitionEditing_Tests.RemoveItemsThrowsWhenItemElementSplittingIsDisabled'; falling back to single test case.
[2/16/2023 11:15:51.514 AM] [Warning] [xUnit.net 00:00:08.71] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.Engine.UnitTests.Instance.ProjectItemGroupTaskItemInstance_Internal_Tests.ProjectItemGroupTaskItemInstanceCanSerializeViaTranslator'; falling back to single test case.
[2/16/2023 11:15:51.517 AM] [Warning] [xUnit.net 00:00:08.71] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.Engine.UnitTests.Instance.ProjectTargetInstance_Internal_Tests.ProjectTargetInstanceCanSerializeViaTranslator'; falling back to single test case.
[2/16/2023 11:15:51.519 AM] [Warning] [xUnit.net 00:00:08.72] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.Engine.UnitTests.Instance.ProjectTaskInstance_Internal_Tests.ProjectTaskInstanceCanSerializeViaTranslator'; falling back to single test case.
[2/16/2023 11:15:51.522 AM] [Warning] [xUnit.net 00:00:08.81] Microsoft.Build.Engine.OM.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.UnitTests.OM.Definition.DefinitionEditing_Tests.SetMetadataThrowsWhenItemElementSplittingIsDisabled'; falling back to single test case.
[2/16/2023 11:15:51.525 AM] [Warning] [xUnit.net 00:00:08.82] Microsoft.Build.Engine.OM.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.UnitTests.OM.Definition.ProjectItem_Tests.UpdateAndRemoveShouldWorkWithEscapedCharacters'; falling back to single test case.
[2/16/2023 11:15:51.527 AM] [Warning] [xUnit.net 00:00:08.88] Microsoft.Build.Engine.OM.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.UnitTests.OM.Definition.ProjectItemWithOptimizations_Tests.UpdateAndRemoveShouldWorkWithEscapedCharacters'; falling back to single test case.
[2/16/2023 11:15:51.561 AM]  [xUnit.net 00:00:10.05]   Discovered:  Microsoft.Build.CommandLine.UnitTests (found 270 test cases)
[2/16/2023 11:15:51.774 AM]  [xUnit.net 00:00:08.78]   Discovered:  Microsoft.Build.Utilities.UnitTests (found 505 test cases)
[2/16/2023 11:15:51.776 AM]  [xUnit.net 00:00:08.18]   Discovering: Microsoft.Build.Tasks.UnitTests (app domain = on [no shadow copy], method display = ClassAndMethod, method display options = None)
[2/16/2023 11:15:52.071 AM] [Warning] [xUnit.net 00:00:09.59] Microsoft.Build.Engine.OM.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.UnitTests.OM.Definition.Project_Tests.GetItemProvenanceByProjectItem'; falling back to single test case.
[2/16/2023 11:15:52.074 AM] [Warning] [xUnit.net 00:00:09.60] Microsoft.Build.Engine.OM.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.UnitTests.OM.Definition.Project_Tests.GetItemProvenanceShouldWorkWithEscapedCharacters'; falling back to single test case.
[2/16/2023 11:15:52.144 AM] [Warning] [xUnit.net 00:00:09.62] Microsoft.Build.Engine.OM.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.UnitTests.OM.Construction.ConstructionEditing_Tests.InsertMetadataElementAfterSiblings'; falling back to single test case.
[2/16/2023 11:15:52.156 AM] [Warning] [xUnit.net 00:00:09.63] Microsoft.Build.Engine.OM.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.UnitTests.OM.Construction.ConstructionEditing_Tests.InsertMetadataElementBeforeSiblings'; falling back to single test case.
[2/16/2023 11:15:53.703 AM] [Warning] [xUnit.net 00:00:11.07] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.Engine.UnitTests.Globbing.CompositeGlobTests.CompositeMatching'; falling back to single test case.
[2/16/2023 11:15:53.923 AM]  [xUnit.net 00:00:11.06]   Discovered:  Microsoft.Build.Engine.OM.UnitTests (found 1595 test cases)
[2/16/2023 11:15:53.940 AM] [Warning] [xUnit.net 00:00:11.29] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.UnitTests.ProjectEvaluationFinishedEventArgs_Tests.ProfilerResultRoundTrip'; falling back to single test case.
[2/16/2023 11:15:55.018 AM] [Warning] [xUnit.net 00:00:11.49] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.UnitTests.FileMatcherTest.GetFilesComplexGlobbingMatching'; falling back to single test case.
[2/16/2023 11:15:55.023 AM]  [xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v2.4.3+1b45f5407b (64-bit .NET 7.0.3)
[2/16/2023 11:15:55.025 AM]  [xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v2.4.3+1b45f5407b (64-bit .NET 7.0.3)
[2/16/2023 11:15:55.031 AM] [Warning] [xUnit.net 00:00:11.68] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.UnitTests.Evaluation.ItemEvaluation_Tests.ItemOperationsShouldExpandIndirectItemReferences'; falling back to single test case.
[2/16/2023 11:15:55.033 AM] [Warning] [xUnit.net 00:00:10.81] Microsoft.Build.Tasks.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.UnitTests.ResolveAssemblyReference_Tests.TaskTranslatorHelpers.ValidFrameworkName'; falling back to single test case.
[2/16/2023 11:15:55.142 AM] [Warning] [xUnit.net 00:00:11.72] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.UnitTests.Evaluation.SimpleVersion_Tests.CompareTo_ReturnsExpected'; falling back to single test case.
[2/16/2023 11:15:55.144 AM] [Warning] [xUnit.net 00:00:11.72] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.UnitTests.Evaluation.SimpleVersion_Tests.ComparisonOperators_ReturnExpected'; falling back to single test case.
[2/16/2023 11:15:55.147 AM] [Warning] [xUnit.net 00:00:11.74] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.UnitTests.Evaluation.SimpleVersion_Tests.Equals_Other_ReturnsExpected'; falling back to single test case.
[2/16/2023 11:15:55.150 AM] [Warning] [xUnit.net 00:00:11.75] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.UnitTests.Evaluation.SimpleVersion_Tests.Parse_ValidInput_ReturnsExpected'; falling back to single test case.
[2/16/2023 11:15:55.153 AM] [Warning] [xUnit.net 00:00:11.77] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.UnitTests.Evaluation.SimpleVersion_Tests.ToString_Invoke_ReturnsExpected'; falling back to single test case.
[2/16/2023 11:15:55.156 AM] [Warning] [xUnit.net 00:00:11.89] Microsoft.Build.Engine.UnitTests: Non-serializable data ('Microsoft.Build.UnitTests.OM.Instance.ProjectInstance_Internal_Tests+ProjectInstanceFactory[]') found for 'Microsoft.Build.UnitTests.OM.Instance.ProjectInstance_Internal_Tests.ProjectInstanceHasEvaluationId'; falling back to single test case.
[2/16/2023 11:15:55.159 AM] [Warning] [xUnit.net 00:00:11.91] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.UnitTests.OM.Construction.ProjectSdkImplicitImport_Tests.SdkPropertiesAreExpanded'; falling back to single test case.
[2/16/2023 11:15:55.161 AM] [Warning] [xUnit.net 00:00:12.00] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.UnitTests.BackEnd.CacheSerialization_Tests.OnlySerializeCacheEntryWithSmallestConfigId'; falling back to single test case.
[2/16/2023 11:15:55.164 AM] [Warning] [xUnit.net 00:00:12.00] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.UnitTests.BackEnd.CacheSerialization_Tests.OnlySerializeResultsForSpecifiedTargets'; falling back to single test case.
[2/16/2023 11:15:55.167 AM] [Warning] [xUnit.net 00:00:12.01] Microsoft.Build.Engine.UnitTests: Non-serializable data ('Microsoft.Build.BackEnd.ConfigCache[]') found for 'Microsoft.Build.UnitTests.BackEnd.ConfigCache_Tests.ConfigCacheShouldBeTranslatable'; falling back to single test case.
[2/16/2023 11:15:55.173 AM] [Warning] [xUnit.net 00:00:12.01] Microsoft.Build.Engine.UnitTests: Non-serializable data ('Microsoft.Build.BackEnd.ConfigCache[]') found for 'Microsoft.Build.UnitTests.BackEnd.ConfigCache_Tests.GetSmallestConfigIdThrows'; falling back to single test case.
[2/16/2023 11:15:55.178 AM] [Warning] [xUnit.net 00:00:12.02] Microsoft.Build.Engine.UnitTests: Non-serializable data ('Microsoft.Build.BackEnd.ConfigCache[]') found for 'Microsoft.Build.UnitTests.BackEnd.ConfigCache_Tests.HappyGetSmallestConfigId'; falling back to single test case.
[2/16/2023 11:15:55.187 AM] [Warning] [xUnit.net 00:00:12.07] Microsoft.Build.Engine.UnitTests: Non-serializable data ('Microsoft.Build.BackEnd.ResultsCache[]') found for 'Microsoft.Build.UnitTests.BackEnd.ResultsCache_Tests.TestResultsCacheTranslation'; falling back to single test case.
[2/16/2023 11:15:55.189 AM] [Warning] [xUnit.net 00:00:12.14] Microsoft.Build.Engine.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.Build.UnitTests.BackEnd.TaskRegistry_Tests.TaskRegistryCanSerializeViaTranslator'; falling back to single test case.
[2/16/2023 11:15:57.647 AM] [Warning] [xUnit.net 00:00:03.41] Microsoft.NET.StringTools.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.NET.StringTools.Tests.SpanBasedStringBuilder_Tests.LengthReturnsLength'; falling back to single test case.
[2/16/2023 11:15:57.649 AM] [Warning] [xUnit.net 00:00:03.42] Microsoft.NET.StringTools.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.NET.StringTools.Tests.SpanBasedStringBuilder_Tests.EnumeratorEnumeratesCharacters'; falling back to single test case.
[2/16/2023 11:15:57.652 AM] [Warning] [xUnit.net 00:00:03.42] Microsoft.NET.StringTools.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.NET.StringTools.Tests.SpanBasedStringBuilder_Tests.EqualsReturnsExpectedValue'; falling back to single test case.
[2/16/2023 11:15:57.654 AM] [Warning] [xUnit.net 00:00:03.43] Microsoft.NET.StringTools.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.NET.StringTools.Tests.SpanBasedStringBuilder_Tests.AppendAppendsString'; falling back to single test case.
[2/16/2023 11:15:57.657 AM] [Warning] [xUnit.net 00:00:03.43] Microsoft.NET.StringTools.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.NET.StringTools.Tests.SpanBasedStringBuilder_Tests.AppendAppendsSubstring'; falling back to single test case.
[2/16/2023 11:15:57.659 AM] [Warning] [xUnit.net 00:00:03.43] Microsoft.NET.StringTools.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.NET.StringTools.Tests.SpanBasedStringBuilder_Tests.TrimStartRemovesLeadingWhiteSpace'; falling back to single test case.
[2/16/2023 11:15:57.662 AM] [Warning] [xUnit.net 00:00:03.43] Microsoft.NET.StringTools.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.NET.StringTools.Tests.SpanBasedStringBuilder_Tests.TrimEndRemovesTrailingWhiteSpace'; falling back to single test case.
[2/16/2023 11:15:57.665 AM] [Warning] [xUnit.net 00:00:03.44] Microsoft.NET.StringTools.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.NET.StringTools.Tests.SpanBasedStringBuilder_Tests.TrimRemovesLeadingAndTrailingWhiteSpace'; falling back to single test case.
[2/16/2023 11:15:57.667 AM] [Warning] [xUnit.net 00:00:03.44] Microsoft.NET.StringTools.UnitTests: Non-serializable data ('System.Object[]') found for 'Microsoft.NET.StringTools.Tests.SpanBasedStringBuilder_Tests.ClearRemovesAllCharacters'; falling back to single test case.


@AR-May AR-May added the needs-triage Have yet to determine what bucket this goes in. label Feb 20, 2023
@AR-May AR-May added Area: Our Own Build Problems affecting the build or build infrastructure of the MSBuild repo itself. backlog Priority:3 Work that is nice to have and removed needs-triage Have yet to determine what bucket this goes in. labels Aug 15, 2023
@JaynieBai JaynieBai self-assigned this Aug 16, 2023
@JaynieBai
Copy link
Member

JaynieBai commented Aug 21, 2023

related with dotnet/runtime#30324. This warning looks like a single test but actually running all of the tests.

@JaynieBai JaynieBai removed their assignment Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Our Own Build Problems affecting the build or build infrastructure of the MSBuild repo itself. backlog Priority:3 Work that is nice to have triaged
Projects
None yet
Development

No branches or pull requests

3 participants