Skip to content

[wasm] WBT tests failing because of missing test app output #93583

Closed

Description

@radical

Build, and log:

    Wasm.Build.Tests.WasmBuildAppTest.PropertiesFromRuntimeConfigJson(buildArgs: BuildArgs { ProjectName = placeholder, Config = Release, AOT = False, ProjectFileContents = placeholder, ExtraBuildArgs =  }, host: Chrome, id: "4lpskvor_yvt") [FAIL]
      Assert.Contains() Failure
      Not found: test_runtimeconfig_json: 25

..

                 [wasm test-browser] info: Application arguments: --run runtime_config_Release_False.dll
                 [wasm test-browser] info: Silently starting separate runtime instance as another ES6 module to populate caches...
                 [wasm test-browser] info: MONO_WASM: forceDisposeProxies done: 0 imports, 0 exports, 0 GCHandles, 0 JSHandles.
                 [wasm test-browser] info: browser: [main] Console websocket connected.
                 [wasm test-browser] info: Initializing dotnet version 9.0.0-ci commit hash 45ed0ab41c138ad1683b333b5b937b8240f3e4d8
                 [wasm test-browser] info: test-main.js exiting runtime_config_Release_False.dll with result 42
                 [wasm test-browser] info: http://127.0.0.1:49387/_framework/dotnet.js 2:1372 Array(1)
                 [wasm test-browser] info: WASM EXIT 42
                 [wasm test-browser] dbug: Reached wasm exit
                 [wasm test-browser] info: Waiting to flush log messages with a timeout of 120 secs ..
                 [wasm test-browser] warn: Message processor is not running anymore.
                 [wasm test-browser] info: {"method":"console.info","payload":"WASM EXIT 42","arguments":[]}
                 [wasm test-browser] dbug: Reading console messages from websocket stopped
                 [wasm test-browser] dbug: Failed trying to read log messages via selenium: OpenQA.Selenium.WebDriverException: invalid session id
                 [wasm test-browser]          at OpenQA.Selenium.Remote.RemoteWebDriver.UnpackAndThrowOnError(Response errorResponse)
                 [wasm test-browser]          at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
                 [wasm test-browser]          at OpenQA.Selenium.Remote.RemoteWebDriver.InternalExecute(String driverCommandToExecute, Dictionary`2 parameters)
                 [wasm test-browser]          at OpenQA.Selenium.Remote.RemoteLogs.GetLog(String logKind)
                 [wasm test-browser]          at Microsoft.DotNet.XHarness.CLI.Commands.Wasm.WasmBrowserTestRunner.RunSeleniumLogMessagePump(IWebDriver driver, CancellationToken token) in /_/src/Microsoft.DotNet.XHarness.CLI/Commands/WASM/Browser/WasmBrowserTestRunner.cs:line 214
                 [wasm test-browser] dbug: Saving diagnostics data to 'C:\helix\work\workitem\e\diagnostics.json'

Diff since the last good commit for rolling builds: 44a2b2d...45ed0ab which includes #93010 for which the PR had a similar failure but the PR was merged on red.

cc @pavelsavara

Known Issue Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "",
  "ErrorPattern": "Not found: test_runtimeconfig_json: 25|Not found: Hashed: |Not found: args#: 2|Not found: Could not create es-ES culture",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=440172
Error message validated: Not found: test_runtimeconfig_json: 25|Not found: Hashed: |Not found: args#: 2|Not found: Could not create es-ES culture
Result validation: ❌ Known issue did not match with the provided build.
Validation performed at: 10/17/2023 1:25:04 AM UTC

Report

Build Definition Test Pull Request
441599 dotnet/runtime Workloads-NoWebcil-Wasm.Build.Tests.MainWithArgsTests.WorkItemExecution
441403 dotnet/runtime Workloads-Wasm.Build.Tests.MainWithArgsTests.WorkItemExecution #93066
441571 dotnet/runtime Workloads-Wasm.Build.Tests.MainWithArgsTests.WorkItemExecution #93571
441216 dotnet/runtime Workloads-NoWebcil-Wasm.Build.Tests.WasmBuildAppTest.WorkItemExecution #93606
441152 dotnet/runtime Workloads-NoWebcil-Wasm.Build.Tests.MainWithArgsTests.WorkItemExecution #93558
440565 dotnet/runtime Workloads-NoWebcil-Wasm.Build.Tests.MainWithArgsTests.WorkItemExecution #93182
440539 dotnet/runtime Workloads-NoWebcil-Wasm.Build.Tests.WasmBuildAppTest.WorkItemExecution #93571
440404 dotnet/runtime Workloads-Wasm.Build.Tests.NativeLibraryTests.WorkItemExecution #92095
439521 dotnet/runtime Workloads-Wasm.Build.Tests.MainWithArgsTests.WorkItemExecution #93280

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
7 9 9

Activity

  1. added
    arch-wasmWebAssembly architecture
    blocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
    Known Build ErrorUse this to report build issues in the .NET Helix tab
    on Oct 17, 2023
  2. ghost added
    untriagedNew issue has not been triaged by the area owner
    on Oct 17, 2023
  3. changed the title [-][wasm] WBT tests failing randomly missing test app output[/-] [+][wasm] WBT tests failing because of missing test app output[/+] on Oct 17, 2023
  4. pavelsavara commented on Oct 17, 2023

    @pavelsavara
    Member

    I see I made bad merge in #93010 and it contains the logging changes which I believed I moved to #93472 🤦‍♂️

  5. self-assigned this
    on Oct 17, 2023
  6. radical commented on Oct 18, 2023

    @radical
    MemberAuthor

    This has been fixed by #93618 .

  7. ghost removed
    untriagedNew issue has not been triaged by the area owner
    on Oct 18, 2023
  8. removed
    blocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
    on Oct 18, 2023
  9. ghost locked as resolved and limited conversation to collaborators on Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions