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

[wasm] perf pipeline AOT compilation failures #87821

Closed
radical opened this issue Jun 20, 2023 · 3 comments
Closed

[wasm] perf pipeline AOT compilation failures #87821

radical opened this issue Jun 20, 2023 · 3 comments
Assignees
Labels
arch-wasm WebAssembly architecture area-Codegen-AOT-mono perf-pipeline Issues with dotnet-runtime-perf, or runtime-wasm-perf pipelines
Milestone

Comments

@radical
Copy link
Member

radical commented Jun 20, 2023

dotnet-runtime-perf build https://dev.azure.com/dnceng/internal/_build/results?buildId=2205098&view=results breaks building some AOT benchmarks:

Precompiling failed for /home/helixbot/work/B023090F/w/AC5608CC/e/performance/artifacts/obj/BenchmarkDotNet.Autogenerated/Release/net8.0/browser-wasm/wasm/for-publish/aot-in/aot-instances.dll with exit code 134.
Unable to compile method 'void Microsoft.Diagnostics.Tracing.Extensions.ETWKernelControl:ResetWindowsHeapTracingFlags (string,bool)' due to: 'Method not found: void Microsoft.Win32.RegistryKey.DeleteValue(string)'.
Unable to compile method 'void Microsoft.Diagnostics.Tracing.Extensions.ETWKernelControl:SetImageTracingFlags (string,string,bool)' due to: 'Method not found: Microsoft.Win32.RegistryKey Microsoft.Win32.RegistryKey.CreateSubKey(string)'.
malloc_consolidate(): invalid chunk size

Build command used for above:

python3 /home/helixbot/work/B023090F/w/AC5608CC/e/performance/scripts/benchmarks_ci.py --csproj /home/helixbot/work/B023090F/w/AC5608CC/e/performance/src/benchmarks/micro/MicroBenchmarks.csproj --incremental no --architecture x64 -f net8.0 --dotnet-versions 8.0.100-preview.6.23314.19 --cli-source-info args --cli-branch refs/heads/main --cli-commit-sha 0c77cbef02e1713d2b7cd01969b92e552acbdb6b --cli-repository https://github.com/dotnet/runtime --cli-source-timestamp 2023-06-20T03:32:08Z --run-isolated --wasm --dotnet-path /home/helixbot/work/B023090F/p/dotnet/ --bdn-artifacts /home/helixbot/work/B023090F/w/AC5608CC/e/artifacts/BenchmarkDotNet.Artifacts --bdn-arguments=--anyCategories Libraries Runtime  --category-exclusion-filter NoInterpreter NoWASM NoMono --wasmEngine /home/helixbot/.jsvu/v8 "--wasmArgs=--expose_wasm --module " --cli /home/helixbot/work/B023090F/p/dotnet/dotnet --wasmDataDir /home/helixbot/work/B023090F/p/wasm-data --aotcompilermode wasm --buildTimeout 3600 --logBuildOutput --generateBinLog  --partition-count 30 --partition-index 10`
Precompiling failed for /home/helixbot/work/A04F08BF/w/A961095D/e/performance/artifacts/obj/BenchmarkDotNet.Autogenerated/Release/net8.0/browser-wasm/wasm/for-publish/aot-in/Microsoft.Diagnostics.Tracing.TraceEvent.dll with exit code 134.g
munmap_chunk(): invalid pointer

Build command used for above:

python3 /home/helixbot/work/A04F08BF/w/A961095D/e/performance/scripts/benchmarks_ci.py --csproj /home/helixbot/work/A04F08BF/w/A961095D/e/performance/src/benchmarks/micro/MicroBenchmarks.csproj --incremental no --architecture x64 -f net8.0  --dotnet-versions 8.0.100-preview.6.23314.19 --cli-source-info args --cli-branch refs/heads/main --cli-commit-sha 8b791c7254136de82a0b278bbc3bff93ed0db0d9 --cli-repository https://github.com/dotnet/runtime --cli-source-timestamp 2023-06-19T23:51:49Z --run-isolated --wasm --dotnet-path /home/helixbot/work/A04F08BF/p/dotnet/ --bdn-artifacts /home/helixbot/work/A04F08BF/w/A961095D/e/artifacts/BenchmarkDotNet.Artifacts --bdn-arguments=--anyCategories Libraries Runtime  --category-exclusion-filter NoInterpreter NoWASM NoMono --wasmEngine /home/helixbot/.jsvu/v8 "--wasmArgs=--expose_wasm --module " --cli /home/helixbot/work/A04F08BF/p/dotnet/dotnet --wasmDataDir /home/helixbot/work/A04F08BF/p/wasm-data --aotcompilermode wasm --buildTimeout 3600 --logBuildOutput --generateBinLog  --partition-count 30 --partition-index 16

This built commit 0c77cbe .

cc @vargaz

Known Issue Error Message

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

{
  "ErrorMessage": "",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0
@radical radical added arch-wasm WebAssembly architecture blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' perf-pipeline Issues with dotnet-runtime-perf, or runtime-wasm-perf pipelines labels Jun 20, 2023
@ghost
Copy link

ghost commented Jun 20, 2023

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

Issue Details

dotnet-runtime-perf build https://dev.azure.com/dnceng/internal/_build/results?buildId=2205098&view=results breaks building some AOT benchmarks:

Precompiling failed for /home/helixbot/work/B023090F/w/AC5608CC/e/performance/artifacts/obj/BenchmarkDotNet.Autogenerated/Release/net8.0/browser-wasm/wasm/for-publish/aot-in/aot-instances.dll with exit code 134.
Unable to compile method 'void Microsoft.Diagnostics.Tracing.Extensions.ETWKernelControl:ResetWindowsHeapTracingFlags (string,bool)' due to: 'Method not found: void Microsoft.Win32.RegistryKey.DeleteValue(string)'.
Unable to compile method 'void Microsoft.Diagnostics.Tracing.Extensions.ETWKernelControl:SetImageTracingFlags (string,string,bool)' due to: 'Method not found: Microsoft.Win32.RegistryKey Microsoft.Win32.RegistryKey.CreateSubKey(string)'.
malloc_consolidate(): invalid chunk size

Build command used for above:

python3 /home/helixbot/work/B023090F/w/AC5608CC/e/performance/scripts/benchmarks_ci.py --csproj /home/helixbot/work/B023090F/w/AC5608CC/e/performance/src/benchmarks/micro/MicroBenchmarks.csproj --incremental no --architecture x64 -f net8.0 --dotnet-versions 8.0.100-preview.6.23314.19 --cli-source-info args --cli-branch refs/heads/main --cli-commit-sha 0c77cbef02e1713d2b7cd01969b92e552acbdb6b --cli-repository https://github.com/dotnet/runtime --cli-source-timestamp 2023-06-20T03:32:08Z --run-isolated --wasm --dotnet-path /home/helixbot/work/B023090F/p/dotnet/ --bdn-artifacts /home/helixbot/work/B023090F/w/AC5608CC/e/artifacts/BenchmarkDotNet.Artifacts --bdn-arguments=--anyCategories Libraries Runtime  --category-exclusion-filter NoInterpreter NoWASM NoMono --wasmEngine /home/helixbot/.jsvu/v8 "--wasmArgs=--expose_wasm --module " --cli /home/helixbot/work/B023090F/p/dotnet/dotnet --wasmDataDir /home/helixbot/work/B023090F/p/wasm-data --aotcompilermode wasm --buildTimeout 3600 --logBuildOutput --generateBinLog  --partition-count 30 --partition-index 10`
Precompiling failed for /home/helixbot/work/A04F08BF/w/A961095D/e/performance/artifacts/obj/BenchmarkDotNet.Autogenerated/Release/net8.0/browser-wasm/wasm/for-publish/aot-in/Microsoft.Diagnostics.Tracing.TraceEvent.dll with exit code 134.g
munmap_chunk(): invalid pointer

Build command used for above:

python3 /home/helixbot/work/A04F08BF/w/A961095D/e/performance/scripts/benchmarks_ci.py --csproj /home/helixbot/work/A04F08BF/w/A961095D/e/performance/src/benchmarks/micro/MicroBenchmarks.csproj --incremental no --architecture x64 -f net8.0  --dotnet-versions 8.0.100-preview.6.23314.19 --cli-source-info args --cli-branch refs/heads/main --cli-commit-sha 8b791c7254136de82a0b278bbc3bff93ed0db0d9 --cli-repository https://github.com/dotnet/runtime --cli-source-timestamp 2023-06-19T23:51:49Z --run-isolated --wasm --dotnet-path /home/helixbot/work/A04F08BF/p/dotnet/ --bdn-artifacts /home/helixbot/work/A04F08BF/w/A961095D/e/artifacts/BenchmarkDotNet.Artifacts --bdn-arguments=--anyCategories Libraries Runtime  --category-exclusion-filter NoInterpreter NoWASM NoMono --wasmEngine /home/helixbot/.jsvu/v8 "--wasmArgs=--expose_wasm --module " --cli /home/helixbot/work/A04F08BF/p/dotnet/dotnet --wasmDataDir /home/helixbot/work/A04F08BF/p/wasm-data --aotcompilermode wasm --buildTimeout 3600 --logBuildOutput --generateBinLog  --partition-count 30 --partition-index 16

This built commit 0c77cbe .

cc @vargaz

Author: radical
Assignees: -
Labels:

arch-wasm, blocking-clean-ci, perf-pipeline

Milestone: -

@ghost ghost added the untriaged New issue has not been triaged by the area owner label Jun 20, 2023
@radical radical added this to the 8.0.0 milestone Jun 20, 2023
@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Jun 20, 2023
@vargaz
Copy link
Contributor

vargaz commented Jun 23, 2023

Those methods are from MS perfview, why are they AOT-ed on wasm ?

@lewing lewing modified the milestones: 8.0.0, 9.0.0 Jul 24, 2023
@radical
Copy link
Member Author

radical commented Sep 22, 2023

These are seen like once a week, or so. But always on the potentially problematic machines mentioned in #88148 . Closing this for now, as it isn't actionable.

@radical radical closed this as completed Sep 22, 2023
@radical radical removed the blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' label Sep 22, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Oct 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture area-Codegen-AOT-mono perf-pipeline Issues with dotnet-runtime-perf, or runtime-wasm-perf pipelines
Projects
None yet
Development

No branches or pull requests

3 participants