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

[s390x] Fix Extensions.ApiDescription.Client tests on s390x #58235

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

fix Extensions.ApiDescription.Client tests

78a54e1
Select commit
Loading
Failed to load commit list.
Open

[s390x] Fix Extensions.ApiDescription.Client tests on s390x #58235

fix Extensions.ApiDescription.Client tests
78a54e1
Select commit
Loading
Failed to load commit list.
Build Analysis / Build Analysis failed Oct 4, 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.

Build Failures

aspnetcore-components-e2e / Test: Blazor E2E tests on Linux / Run E2E tests

[ 🚧 Report infrastructure issue] [ 📄 Report repository issue]
    ❌Bash exited with code '1'.

Test Failures (1 tests failed)

🔹 [All failing tests from aspnetcore-components-e2e]

    Microsoft.AspNetCore.Components.E2ETest.Tests.ThreadingAppTest.CounterPageCanUseThreads [Details] [14.63% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configuration

    Exception Message
    OpenQA.Selenium.BrowserAssertFailedException : Xunit.Sdk.NotEqualException: Assert.NotEqual() Failure: Strings are equal
    Expected: Not "Current count: 0"
    Actual:       "Current count: 0"
       at Xunit.Assert.NotEqual[T](T expected, T actual, IEqualityComparer`1 comparer) in /_/src/xunit.assert/Asserts/EqualityAsserts.cs:line 630
       at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass17_0.<WaitAssertCore>b__0() in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 83
       at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass18_0`1.<WaitAssertCore>b__0(IWebDriver _) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 101
    Screen shot captured at '/home/vsts/work/1/s/src/Components/test/E2ETest/bin/screenshots/f7905ca0e17648cdaff2919a3904471f.png'
    Encountered browser errors
    [2024-10-04T07:15:19Z] [Info] http://127.0.0.1:33047/_framework/blazor.webassembly.js 0:45295 "System.InvalidOperationException: Timed out after 10 seconds waiting for background threads to become available"
    [2024-10-04T07:15:19Z] [Info] http://127.0.0.1:33047/_framework/blazor.webassembly.js 0:45295 "   at ThreadingApp.Pages.Counter.WaitUntilBackgroundThreadsReady()"
    [2024-10-04T07:15:19Z] [Info] http://127.0.0.1:33047/_framework/blazor.webassembly.js 0:45295 "   at ThreadingApp.Pages.Counter.TestThreads()"
    [2024-10-04T07:15:19Z] [Severe] http://127.0.0.1:33047/_framework/blazor.webassembly.js 0:45317 "crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]\n      Unhandled exception rendering component: Timed out after 10 seconds waiting for background threads to become available\nSystem.InvalidOperationException: Timed out after 10 seconds waiting for background threads to become available\n   at ThreadingApp.Pages.Counter.WaitUntilBackgroundThreadsReady()\n   at ThreadingApp.Pages.Counter.TestThreads()\n   at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)\n   at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task , ComponentState )"Page content:
    <head>
        <meta charset="utf-8">
        <!-- Forcing the device width here so that our automated tests work consistently on mobile browsers. -->
        <meta name="viewport" content="width=1024">
        <title>Blazor standalone</title>
        <base href="/">
        <link href="bootstrap.min.css" rel="stylesheet">
        <link href="app.css" rel="stylesheet">
    </head>
    <body>
        <app><!--!--><!--!--><!--!--><!--!--><div class="sidebar"><!--!--><div class="top-row pl-4 navbar navbar-dark"><!--!--><a class="navbar-brand" href="">Blazor app</a>
        <button class="navbar-toggler"><!--!--><span class="navbar-toggler-icon"></span></button></div><!--!-->
    

    <div><ul class="nav flex-column"><li class="nav-item px-3"><!--!--><a href="" class="nav-link"><!--!--><span class="bi bi-house-door-fill" aria-hidden="true"></span> Home
    </a></li><!--!-->
    <li class="nav-item px-3"><!--!--><a href="counter" class="nav-link active" aria-current="page"><!--!--><span class="bi bi-plus-square-fill" aria-hidden="true"></span> Counter
    </a></li><!--!-->
    <li class="nav-item px-3"><!--!--><a href="fetchdata" class="nav-link"><!--!--><span class="bi bi-list-nested" aria-hidden="true"></span> Fetch data
    </a></li></ul></div></div><!--!-->

    <div class="main"><!--!--><div class="top-row px-4"><a href="http://blazor.net&#34; target="_blank" class="ml-md-auto">About</a></div>

    &#60;div class=&#34;content px-4&#34;&#62;&#60;!--!--&#62;&#60;!--!--&#62;&#60;h1 tabindex=&#34;-1&#34;&#62;Counter&#60;/h1&#62;
    

    <p>Current count: 0</p><!--!-->

    <button class="btn btn-primary">Click me</button><!--!-->
    <button class="btn btn-primary" id="TestThreads">Test threads</button></div></div><!--!-->
    <!--!--></app>

    &#60;div id=&#34;blazor-error-ui&#34; style=&#34;display: block;&#34;&#62;
        An unhandled exception has occurred. See browser dev tools for details.
        &#60;a href=&#34;&#34; class=&#34;reload&#34;&#62;Reload&#60;/a&#62;
        &#60;a class=&#34;dismiss&#34;&#62;&#92;ud83d&#92;uddd9&#60;/a&#62;
    &#60;/div&#62;
    

    CallStack
       at Microsoft.AspNetCore.E2ETesting.WaitAssert.WaitAssertCore[TResult](IWebDriver driver, Func`1 assertion, TimeSpan timeout) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 129
       at Microsoft.AspNetCore.E2ETesting.WaitAssert.WaitAssertCore(IWebDriver driver, Action assertion, TimeSpan timeout) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 83
       at Microsoft.AspNetCore.E2ETesting.WaitAssert.NotEqual[T](IWebDriver driver, T expected, Func`1 actual) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 30
       at Microsoft.AspNetCore.Components.E2ETest.Tests.ThreadingAppTest.CounterPageCanUseThreads() in /home/vsts/work/1/s/src/Components/test/E2ETest/Tests/ThreadingAppTest.cs:line 83
       at InvokeStub_ThreadingAppTest.CounterPageCanUseThreads(Object, Object, IntPtr*)
       at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
    ----- Inner Stack Trace -----
       at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass17_0.<WaitAssertCore>b__0() in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 83
       at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass18_0`1.<WaitAssertCore>b__0(IWebDriver _) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 101

Was this helpful? Yes No