Skip to content

[wasm] SIMD+AOT tests in Wasm.Build.Tests failing with V8, and nodejs #75044

Closed
@radical

Description

@radical

#75042 enables the WasmSIMDTests in WBT, log.

With V8:

[1.0.0-prerelease.22411.1+5ebf69650b9f7b4ecab485be840b3022420f7812] XHarness command issued: wasm test --app=. --output-directory=/datadisks/disk1/work/BC390A2C/w/B16D09C6/uploads/xharness-output/logs/vuux3b25.mme/V8 --expected-exit-code=42 --js-file=test-main.js --engine=V8 -v trace --browser-path=/datadisks/disk1/work/BC390A2C/p/chrome-linux/chrome -- --setenv=XHARNESS_DISABLE_COLORED_OUTPUT=true --setenv=MONO_LOG_LEVEL=debug --setenv=MONO_LOG_MASK=aot --setenv=DOTNET_INSTALL_DIR=/datadisks/disk1/work/BC390A2C/w/B16D09C6/e/dotnet-net7 --setenv=DOTNET_MULTILEVEL_LOOKUP=0 --setenv=DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1 --setenv=MSBuildSDKsPath= --setenv=EM_WORKAROUND_PYTHON_BUG_34780=1 --setenv=WasmNativeStrip=false --setenv=DOTNET_CLI_DO_NOT_USE_MSBUILD_SERVER=1 --run sim_with_workload_aot.dll
[01:07:29] info: 
                 
[01:07:29] info: Running v8 --expose_wasm test-main.js -- --setenv=XHARNESS_DISABLE_COLORED_OUTPUT=true --setenv=MONO_LOG_LEVEL=debug --setenv=MONO_LOG_MASK=aot --setenv=DOTNET_INSTALL_DIR=/datadisks/disk1/work/BC390A2C/w/B16D09C6/e/dotnet-net7 --setenv=DOTNET_MULTILEVEL_LOOKUP=0 --setenv=DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1 --setenv=MSBuildSDKsPath= --setenv=EM_WORKAROUND_PYTHON_BUG_34780=1 --setenv=WasmNativeStrip=false --setenv=DOTNET_CLI_DO_NOT_USE_MSBUILD_SERVER=1 --run sim_with_workload_aot.dll
                 
[01:07:29] info: Process v8 exited with 0
                 
[01:07:29] info: Waiting to flush log messages with a timeout of 120 secs ..
[01:07:29] info: Incoming arguments: --setenv=XHARNESS_DISABLE_COLORED_OUTPUT=true --setenv=MONO_LOG_LEVEL=debug --setenv=MONO_LOG_MASK=aot --setenv=DOTNET_INSTALL_DIR=/datadisks/disk1/work/BC390A2C/w/B16D09C6/e/dotnet-net7 --setenv=DOTNET_MULTILEVEL_LOOKUP=0 --setenv=DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1 --setenv=MSBuildSDKsPath= --setenv=EM_WORKAROUND_PYTHON_BUG_34780=1 --setenv=WasmNativeStrip=false --setenv=DOTNET_CLI_DO_NOT_USE_MSBUILD_SERVER=1 --run sim_with_workload_aot.dll
[01:07:29] info: Application arguments: --run sim_with_workload_aot.dll
[01:07:29] fail: Application has finished with exit code 0 but 42 was expected
[01:07:29] dbug: Saving diagnostics data to '/datadisks/disk1/work/BC390A2C/w/B16D09C6/e/diagnostics.json'
XHarness exit code: 71 (GENERAL_FAILURE)

NodeJS running with --experimental-wasm-simd:

info: Running node --experimental-wasm-simd test-main.js --setenv=XHARNESS_DISABLE_COLORED_OUTPUT=true --setenv=MONO_LOG_LEVEL=debug --setenv=MONO_LOG_MASK=aot --setenv=DOTNET_INSTALL_DIR=/datadisks/disk1/work/BC390A2C/w/B16D09C6/e/dotnet-net7 --setenv=DOTNET_MULTILEVEL_LOOKUP=0 --setenv=DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1 --setenv=MSBuildSDKsPath= --setenv=EM_WORKAROUND_PYTHON_BUG_34780=1 --setenv=WasmNativeStrip=false --setenv=DOTNET_CLI_DO_NOT_USE_MSBUILD_SERVER=1 --run sim_with_workload_aot.dll
      
info: Incoming arguments: --setenv=XHARNESS_DISABLE_COLORED_OUTPUT=true --setenv=MONO_LOG_LEVEL=debug --setenv=MONO_LOG_MASK=aot --setenv=DOTNET_INSTALL_DIR=/datadisks/disk1/work/BC390A2C/w/B16D09C6/e/dotnet-net7 --setenv=DOTNET_MULTILEVEL_LOOKUP=0 --setenv=DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1 --setenv=MSBuildSDKsPath= --setenv=EM_WORKAROUND_PYTHON_BUG_34780=1 --setenv=WasmNativeStrip=false --setenv=DOTNET_CLI_DO_NOT_USE_MSBUILD_SERVER=1 --run sim_with_workload_aot.dll
info: Application arguments: --run sim_with_workload_aot.dll
info: file:///datadisks/disk1/work/BC390A2C/w/B16D09C6/e/vuux3b25.mme/bin/Release/net7.0/browser-wasm/AppBundle/dotnet.js:179
info:       throw ex;
info:       ^
info: 
info: [CompileError: WebAssembly.instantiate(): Compiling function #132:"sim_with_workload_aot_TestClass_Main" failed: invalid simd opcode @+94267]
info: Process node exited with 7
      
info: Waiting to flush log messages with a timeout of 120 secs ..
fail: Application has finished with exit code 7 but 42 was expected
dbug: Saving diagnostics data to '/datadisks/disk1/work/BC390A2C/w/B16D09C6/e/diagnostics.json'

cc @radekdoulik @vargaz

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions