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

Fix updating KnownWebAssemblySdkPack when creating test layout #44888

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Fix updating KnownWebAssemblySdkPack when creating test layout

1b67eef
Select commit
Loading
Failed to load commit list.
Open

Fix updating KnownWebAssemblySdkPack when creating test layout #44888

Fix updating KnownWebAssemblySdkPack when creating test layout
1b67eef
Select commit
Loading
Failed to load commit list.
Build Analysis / Build Analysis failed Nov 15, 2024 in 0s

.NET Result Analysis

Details

Tip

To unconditionally bypass the build analysis check (turn it green), you can use the escape mechanism feature. The completion time may vary, potentially taking several minutes, depending on the build analysis workload at the moment.

Known Infrastructure Errors

Build Failures

sdk-unified-build / VMR Vertical Build / Ubuntu2404_DevVersions_x64

[ 🚧 Report infrastructure issue] [ 📄 Report repository issue]
    ❌The job running on agent NetCore-Public-XL 4 ran longer than the maximum time of 240 minutes. For more information, see https://go.microsoft.com/fwlink/?linkid=2077134

Test Failures (4 tests failed)

🔹 [All failing tests from dotnet-sdk-public-ci]

    ⚠️ 2 failing tests not displayed for this pipeline due to space limitations

    Microsoft.NET.Build.Tests.GivenThatWeWantToControlGeneratedAssemblyInfo.CheckTargetFrameworkDisplayName [Console] [Details] [Artifacts] [0.82% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configuration

    Data Driven SubResults
      Microsoft.NET.Build.Tests.GivenThatWeWantToControlGeneratedAssemblyInfo.CheckTargetFrameworkDisplayName(targetFrameworkVersion: \"net10.0\", expectedFrameworkDisplayName: \".NET 10.0\")
      Exception Message
      Expected string to be equivalent to ".NET 10.0" with a length of 9, but "�[?25l�[1F
      �[?25h.NET 10.0" has a length of 27, differs near "�[?" (index 0).
      Stack Trace
         at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
         at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
         at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
         at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
         at FluentAssertions.Primitives.StringEqualityValidator.ValidateAgainstLengthDifferences()
         at FluentAssertions.Primitives.StringValidator.Validate()
         at FluentAssertions.Primitives.StringAssertions`1.BeEquivalentTo(String expected, String because, Object[] becauseArgs)
         at Microsoft.NET.Build.Tests.GivenThatWeWantToControlGeneratedAssemblyInfo.CheckTargetFrameworkDisplayName(String targetFrameworkVersion, String expectedFrameworkDisplayName) in /_/test/Microsoft.NET.Build.Tests/GivenThatWeWantToControlGeneratedAssemblyInfo.cs:line 862
         at InvokeStub_GivenThatWeWantToControlGeneratedAssemblyInfo.CheckTargetFrameworkDisplayName(Object, Span`1)
         at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    Microsoft.NET.Sdk.BlazorWebAssembly.Tests.BlazorLegacyIntegrationTest60.Publish60Hosted_Works [Console] [Details] [Artifacts] [7.71% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configurations (3)

    Exception Message
    Expected collection to be empty because the generated manifest should match the expected baseline.
    

    If the difference in baselines is expected, please re-generate the baselines.
    Start by ensuring you're dogfooding the SDK from the current branch (dotnet --version should be '*.0.0-dev').
    If you're not on the dogfood sdk, from the root of the repository run:
    1. dotnet clean
    2. .\restore.cmd or ./restore.sh
    3. .\build.cmd ./build.sh
    4. .\eng\dogfood.cmd or . ./eng/dogfood.sh

    Then, using the dogfood SDK run the .\src\RazorSdk\update-test-baselines.ps1 script.

    , but found {"

    For ${ProjectPath}\Client\wwwroot\css\app.css:

    Expected manifest Identity of css/app.qu51q8el4h.css but found css/app.huxwljmsg5.css.

    =================================================="}.

    CallStack
       at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
       at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
       at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
       at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
       at FluentAssertions.Execution.GivenSelector`1.FailWith(String message, Object[] args)
       at FluentAssertions.Collections.GenericCollectionAssertions`3.BeEmpty(String because, Object[] becauseArgs)
       at Microsoft.NET.Sdk.Razor.Tests.StaticWebAssetsBaselineComparer.CompareEndpointGroup(String group, StaticWebAssetEndpoint[] manifestAssets, StaticWebAssetEndpoint[] expectedAssets) in /_/test/Microsoft.NET.Sdk.Razor.Tests/StaticWebAssetsBaselineComparer.cs:line 363
       at Microsoft.NET.Sdk.Razor.Tests.StaticWebAssetsBaselineComparer.AssertManifest(StaticWebAssetsManifest expected, StaticWebAssetsManifest actual) in /_/test/Microsoft.NET.Sdk.Razor.Tests/StaticWebAssetsBaselineComparer.cs:line 115
       at Microsoft.NET.Sdk.Razor.Tests.AspNetSdkBaselineTest.AssertManifest(StaticWebAssetsManifest actual, StaticWebAssetsManifest expected, String suffix, String runtimeIdentifier, String name) in /_/test/Microsoft.NET.Sdk.Razor.Tests/AspNetSdkBaselineTest.cs:line 291
       at Microsoft.NET.Sdk.BlazorWebAssembly.Tests.BlazorLegacyIntegrationTest60.Publish60Hosted_Works() in /_/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/BlazorLegacyIntegrationTest60.cs:line 88
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
       at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

Was this helpful? Yes No