Closed
Description
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=939888
Build error leg or test failing: net9.0-browser-Release-wasm-Mono_Release_linux-BuildWasmApps-(Ubuntu.2204.Amd64)Ubuntu.2204.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04-helix-webassembly
Error Message
{
"ErrorMessage" : "Expected 0 exit code but got 9",
"BuildRetry" : false,
"ExcludeConsoleLog" : false
}
- PR: Update branding to 9.0.3 #112144
- Queue:
browser-wasm linux Release WasmBuildTests
- Job result: https://dev.azure.com/dnceng-public/public/_build/results?buildId=939888&view=logs&j=1fa93050-f528-55d3-a351-f8bf9ce5adbf&t=a9f1a437-3b59-5900-1137-ec6cae9a530c
- Log file: https://helixr1107v0xd1eu3ibi6ka.blob.core.windows.net/dotnet-runtime-refs-pull-112144-merge-69c2a362a3d747409a/Workloads-NoWebcil-ST-Wasm.Build.Templates.Tests.NativeBuildTests/1/console.72ea9ca6.log?helixlogtype=result
- Output:
Wasm.Build.Templates.Tests.NativeBuildTests.ProjectWithDllImportsRequiringMarshalIlGen_ArrayTypeParameter(config: "Debug") [FAIL]
Expected 0 exit code but got 9: /root/helix/work/workitem/e/dotnet-latest/dotnet run --no-silent --no-build -c Debug
Standard Output:
[] WasmAppHost --runtime-config /root/helix/work/workitem/e/wbt artifacts/dllimport_incompatible_c5adkit1_hxy/bin/Debug/net9.0/browser-wasm/AppBundle/dllimport_incompatible_c5adkit1_hxy.runtimeconfig.json --no-silent
[] Running: node --experimental-wasm-simd --experimental-wasm-eh main.mjs
[] Using working directory: /root/helix/work/workitem/e/wbt artifacts/dllimport_incompatible_c5adkit1_hxy/bin/Debug/net9.0/browser-wasm/AppBundle
[] node: bad option: --experimental-wasm-simd
[] node: bad option: --experimental-wasm-eh
[] NodeJS exited with 9
Stack Trace:
/_/src/mono/wasm/Wasm.Build.Tests/Common/CommandResult.cs(51,0): at Wasm.Build.Tests.CommandResult.EnsureExitCode(Int32 expectedExitCode, String messagePrefix, Boolean suppressOutput)
/_/src/mono/wasm/Wasm.Build.Tests/Common/CommandResult.cs(28,0): at Wasm.Build.Tests.CommandResult.EnsureSuccessful(String messagePrefix, Boolean suppressOutput)
/_/src/mono/wasm/Wasm.Build.Tests/Templates/NativeBuildTests.cs(93,0): at Wasm.Build.Templates.Tests.NativeBuildTests.ProjectWithDllImportsRequiringMarshalIlGen_ArrayTypeParameter(String config)
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
...
...
x64/9.0.2/tools/emscripten/cache/sysroot/lib/wasm32-emscripten -lGL-getprocaddr -lal -lhtml5 -lbulkmemory -lstubs -lc -ldlmalloc -lcompiler_rt-wasm-sjlj -lc++-except -lc++abi-except -lunwind-except -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -disable-lsr -mllvm -wasm-enable-eh -mllvm -exception-model=wasm /tmp/tmpolw01zanlibemscripten_js_symbols.so --export=free --export=htons --export=malloc --export=sbrk --export=memalign --export=memset --export=ntohs --export=stackAlloc --export=stackRestore --export=stackSave --export=fmod --export=atan2 --export=fma --export=pow --export=fmodf --export=atan2f --export=fmaf --export=powf --export=asin --export=asinh --export=acos --export=acosh --export=atan --export=atanh --export=cbrt --export=cos --export=cosh --export=exp --export=log --export=log2 --export=log10 --export=sin --export=sinh --export=tan --export=tanh --export=asinf --export=asinhf --export=acosf --export=acoshf --export=atanf --export=atanhf --export=cbrtf --export=cosf --export=coshf --export=expf --export=logf --export=log2f --export=log10f --export=sinf --export=sinhf --export=tanf --export=tanhf --export=stackAlloc --export=__funcs_on_exit --export=__trap --export=__cpp_exception --export=__wasm_call_ctors --export=__get_exception_message --export=free --export=stackSave --export=stackRestore --export=__thrown_object_from_unwind_exception --export=__cxa_increment_exception_refcount --export=__cxa_decrement_exception_refcount --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=fflush --export-table --growable-table -z stack-size=5242880 --max-memory=2147483648 --initial-memory=33554432 --no-entry --table-base=1 --global-base=1024' failed (returned 1) [/root/helix/work/workitem/e/wbt artifacts/UndefinedNativeSymbol_disabled_azaduhny_54f/UndefinedNativeSymbol_disabled_azaduhny_54f.csproj]
[] /root/helix/work/workitem/e/dotnet-latest/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/9.0.3/Sdk/BrowserWasmApp.targets(494,5): error MSB3073: The command "emcc "@/root/helix/work/workitem/e/dotnet-latest/packs/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/9.0.3/runtimes/browser-wasm/native/src/emcc-default.rsp" -msimd128 "@/root/helix/work/workitem/e/dotnet-latest/packs/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/9.0.3/runtimes/browser-wasm/native/src/emcc-link.rsp" "@/root/helix/work/workitem/e/wbt artifacts/UndefinedNativeSymbol_disabled_azaduhny_54f/obj/Release/net9.0/wasm/for-build/emcc-link.rsp"" exited with code 1. [/root/helix/work/workitem/e/wbt artifacts/UndefinedNativeSymbol_disabled_azaduhny_54f/UndefinedNativeSymbol_disabled_azaduhny_54f.csproj]
[] /root/helix/work/workitem/e/dotnet-latest/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/9.0.3/Sdk/BrowserWasmApp.targets(511,5): error : Use '-p:WasmAllowUndefinedSymbols=true' to allow undefined symbols [/root/helix/work/workitem/e/wbt artifacts/UndefinedNativeSymbol_disabled_azaduhny_54f/UndefinedNativeSymbol_disabled_azaduhny_54f.csproj]
[]
[] Build FAILED.
Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=939888
Error message validated: [Expected 0 exit code but got 9
]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 2/6/2025 1:04:56 AM UTC
Report
Build | Definition | Test | Pull Request |
---|---|---|---|
974658 | dotnet/runtime | Workloads-NoWebcil-Wasm.Build.Tests.WasmTemplateTests.WorkItemExecution | #108846 |
Summary
24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
---|---|---|
0 | 0 | 1 |