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

Test failure JIT/Directed/debugging/debuginfo/tester/tester.sh #62031

Closed
VincentBu opened this issue Nov 25, 2021 · 3 comments · Fixed by #62056
Closed

Test failure JIT/Directed/debugging/debuginfo/tester/tester.sh #62031

VincentBu opened this issue Nov 25, 2021 · 3 comments · Fixed by #62056
Labels
arch-arm64 arch-x64 area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI os-android os-linux Linux OS (any supported distro) os-mac-os-x macOS aka OSX untriaged New issue has not been triaged by the area owner

Comments

@VincentBu
Copy link
Contributor

Run: runtime 20211124.62

Failed test:

Mono Android x64 Release @ Ubuntu.1804.Amd64.Android.29.Open
- JIT/Directed/debugging/debuginfo/tester/tester.sh
- JIT/Directed/debugging/poisoning/poison/poison.sh

Mono Linux x64 Release @ Ubuntu.1804.Amd64.Open
- JIT/HardwareIntrinsics/X86/X86Base/Pause_ro/Pause_ro.sh
- JIT/HardwareIntrinsics/X86/X86Base/Pause_r/Pause_r.sh
- JIT/Directed/debugging/poisoning/poison/poison.sh

Mono Linux x64 Release no_tiered_compilation @ Ubuntu.1804.Amd64.Open
- JIT/Directed/debugging/poisoning/poison/poison.sh
- JIT/HardwareIntrinsics/X86/X86Base/Pause_r/Pause_r.sh
- JIT/HardwareIntrinsics/X86/X86Base/Pause_ro/Pause_ro.sh

Mono Linux x64 Release @ Ubuntu.1804.Amd64.Open
- JIT/HardwareIntrinsics/X86/X86Base/Pause_r/Pause_r.sh
- JIT/HardwareIntrinsics/X86/X86Base/Pause_ro/Pause_ro.sh
- JIT/Directed/debugging/poisoning/poison/poison.sh

Mono OSX x64 Release no_tiered_compilation @ OSX.1014.Amd64.Open
- JIT/Directed/debugging/poisoning/poison/poison.sh

One of error message:

Return code:      1
Raw output file:      /datadisks/disk1/work/B6420A2D/w/B509096A/uploads/Reports/JIT.Directed/debugging/debuginfo/tester/tester.output.txt
Raw output:
BEGIN EXECUTION
XHarness command issued: android run --instrumentation=net.dot.MonoRunner --package-name=net.dot.JIT_Directed --output-directory=/datadisks/disk1/work/B6420A2D/w/B509096A/uploads/Reports/JIT.Directed/debugging/debuginfo/tester --arg=entrypoint:libname=tester.dll --expected-exit-code=100 -v
[21:18:41] dbug: Android Run command called: App = net.dot.JIT_Directed

[21:18:41] dbug: Timeout = 900 seconds.
[21:18:41] dbug: ADBRunner using ADB.exe supplied from /datadisks/disk1/work/B6420A2D/p/microsoft.dotnet.xharness.cli/1.0.0-prerelease.21572.4/tools/net6.0/any/../../../runtimes/any/native/adb/linux/adb
[21:18:41] dbug: Full resolved path:'/datadisks/disk1/work/B6420A2D/p/microsoft.dotnet.xharness.cli/1.0.0-prerelease.21572.4/runtimes/any/native/adb/linux/adb'
[21:18:41] dbug: Executing command: '/datadisks/disk1/work/B6420A2D/p/microsoft.dotnet.xharness.cli/1.0.0-prerelease.21572.4/runtimes/any/native/adb/linux/adb  start-server'
[21:18:41] dbug:
[21:18:41] dbug: Executing command: '/datadisks/disk1/work/B6420A2D/p/microsoft.dotnet.xharness.cli/1.0.0-prerelease.21572.4/runtimes/any/native/adb/linux/adb  devices -l'
[21:18:41] dbug: Evaluating output line for device serial: emulator-5554          device product:sdk_phone_x86 model:Android_SDK_built_for_x86 device:generic_x86 transport_id:1
[21:18:41] dbug: Executing command: '/datadisks/disk1/work/B6420A2D/p/microsoft.dotnet.xharness.cli/1.0.0-prerelease.21572.4/runtimes/any/native/adb/linux/adb  -s emulator-5554 shell pm list packages -3'
[21:18:42] dbug: Evaluating output line for device serial: emulator-5556          device product:sdk_phone_x86_64 model:Android_SDK_built_for_x86_64 device:generic_x86_64 transport_id:2
[21:18:42] dbug: Executing command: '/datadisks/disk1/work/B6420A2D/p/microsoft.dotnet.xharness.cli/1.0.0-prerelease.21572.4/runtimes/any/native/adb/linux/adb  -s emulator-5556 shell pm list packages -3'
[21:18:42] dbug: Executing command: '/datadisks/disk1/work/B6420A2D/p/microsoft.dotnet.xharness.cli/1.0.0-prerelease.21572.4/runtimes/any/native/adb/linux/adb -s emulator-5556 shell getprop ro.build.version.sdk'
[21:18:42] info: Active Android device set to serial 'emulator-5556'
[21:18:42] info: Waiting for device to be available (max 5 minutes)
[21:18:42] dbug: Executing command: '/datadisks/disk1/work/B6420A2D/p/microsoft.dotnet.xharness.cli/1.0.0-prerelease.21572.4/runtimes/any/native/adb/linux/adb -s emulator-5556 wait-for-device'
[21:18:42] dbug:
[21:18:42] dbug: Executing command: '/datadisks/disk1/work/B6420A2D/p/microsoft.dotnet.xharness.cli/1.0.0-prerelease.21572.4/runtimes/any/native/adb/linux/adb -s emulator-5556 shell getprop sys.boot_completed'
[21:18:42] dbug: Waited 0.0156109 seconds for device for sys.boot_completed to be 1.
[21:18:42] dbug: Executing command: '/datadisks/disk1/work/B6420A2D/p/microsoft.dotnet.xharness.cli/1.0.0-prerelease.21572.4/runtimes/any/native/adb/linux/adb -s emulator-5556 version'
[21:18:42] dbug: Working with Android Debug Bridge version 1.0.41
Version 29.0.6-6198805
Installed as /datadisks/disk1/work/B6420A2D/p/microsoft.dotnet.xharness.cli/1.0.0-prerelease.21572.4/runtimes/any/native/adb/linux/adb

[21:18:42] dbug: Executing command: '/datadisks/disk1/work/B6420A2D/p/microsoft.dotnet.xharness.cli/1.0.0-prerelease.21572.4/runtimes/any/native/adb/linux/adb -s emulator-5556 logcat -c'
[21:18:42] info: Starting instrumentation class 'net.dot.MonoRunner' on net.dot.JIT_Directed
[21:18:42] dbug: Raw command: 'shell am instrument  -e entrypoint:libname tester.dll -w net.dot.JIT_Directed/net.dot.MonoRunner'
[21:18:42] dbug: Executing command: '/datadisks/disk1/work/B6420A2D/p/microsoft.dotnet.xharness.cli/1.0.0-prerelease.21572.4/runtimes/any/native/adb/linux/adb -s emulato


Stack trace
   at JIT_Directed._debugging_debuginfo_tester_tester_._debugging_debuginfo_tester_tester_sh()

Failed test:

Mono Browser wasm Release @ Ubuntu.1804.Amd64.Open
- JIT/Directed/debugging/debuginfo/tester/tester.sh
- JIT/Directed/debugging/poisoning/poison/poison.sh

Mono Linux x64 Release @ Ubuntu.1804.Amd64.Open
- JIT/Directed/debugging/debuginfo/tester/tester.sh

Mono Linux x64 Release no_tiered_compilation @ Ubuntu.1804.Amd64.Open
- JIT/Directed/debugging/debuginfo/tester/tester.sh

Mono Linux x64 Release @ Ubuntu.1804.Amd64.Open
- JIT/Directed/debugging/debuginfo/tester/tester.sh

Mono Linux x64 Release no_tiered_compilation @ Ubuntu.1804.Amd64.Open
- JIT/Directed/debugging/debuginfo/tester/tester.sh

Mono Linux arm64 Release no_tiered_compilation @ (Ubuntu.1804.Arm64.Open)[email protected]/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm64v8-20210531091519-97d8652
- JIT/Directed/debugging/poisoning/poison/poison.sh
- JIT/Directed/debugging/debuginfo/tester/tester.sh

Mono OSX x64 Release @ OSX.1014.Amd64.Open
- JIT/Directed/debugging/debuginfo/tester/tester.sh
- JIT/Directed/debugging/poisoning/poison/poison.sh

Mono OSX x64 Release no_tiered_compilation @ OSX.1014.Amd64.Open
- JIT/Directed/debugging/debuginfo/tester/tester.sh

Error message:

Unhandled Exception:
System.TypeInitializationException: The type initializer for 'DebugInfoTest' threw an exception.
---> System.ArgumentNullException: Value cannot be null. (Parameter 'types')
at System.Type.GetMethod(String name, BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers)
at System.Type.GetMethod(String name, BindingFlags bindingAttr, Binder binder, Type[] types, ParameterModifier[] modifiers)
at System.Type.GetMethod(String name, BindingFlags bindingAttr, Type[] types)
at DebugInfoTest..cctor()
--- End of inner exception stack trace ---
Error: System.TypeInitializationException: The type initializer for 'DebugInfoTest' threw an exception.
---> System.ArgumentNullException: Value cannot be null. (Parameter 'types')
at System.Type.GetMethod(String name, BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers)
at System.Type.GetMethod(String name, BindingFlags bindingAttr, Binder binder, Type[] types, ParameterModifier[] modifiers)
at System.Type.GetMethod(String name, BindingFlags bindingAttr, Type[] types)
at DebugInfoTest..cctor()
--- End of inner exception stack trace ---
Error: System.TypeInitializationException: The type initializer for 'DebugInfoTest' threw an exception.
---> System.ArgumentNullException: Value cannot be null. (Parameter 'types')
at System.Type.GetMethod(String name, BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers)
at System.Type.GetMethod(String name, BindingFlags bindingAttr, Binder binder, Type[] types, ParameterModifier[] modifiers)
at System.Type.GetMethod(String name, BindingFlags bindingAttr, Type[] types)
at DebugInfoTest..cctor()
--- End of inner exception stack trace ---
at _convert_exception_for_method_call (./dotnet.js:3:47429)
at _handle_exception_for_call (./dotnet.js:3:48069)
at _handle_exception_and_produce_result_for_call (./dotnet.js:3:48238)
at _call_method_with_converted_args (./dotnet.js:3:48890)
at call_method (./dotnet.js:3:47961)
at ./dotnet.js:3:49803
at Object.mono_call_assembly_entry_point [as call_assembly_entry_point] (./dotnet.js:3:49980)
at Object.init (main.js:211:46)
at Object.onDotNetReady (main.js:151:13)
at _finalize_startup (./dotnet.js:3:62462)

Return code:      1
Raw output file:      /datadisks/disk1/work/A9400941/w/B0040958/uploads/Reports/JIT.Directed/debugging/debuginfo/tester/tester.output.txt
Raw output:
BEGIN EXECUTION
Microsoft (R) Build Engine version 17.0.0-preview-21501-01+bbcce1dff for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

AppDir: /datadisks/disk1/work/A9400941/w/B0040958/e/JIT/Directed/debugging/debuginfo/tester/WasmApp/
TestBinDir: /datadisks/disk1/work/A9400941/w/B0040958/e/JIT/Directed/debugging/debuginfo/tester
ArtifactsBinDir:
/datadisks/disk1/work/A9400941/p/build/WasmApp.targets(210,5): warning : Could not find $(AssemblyName)=WasmTestRunner.dll in the assemblies to be bundled. [/datadisks/disk1/work/A9400941/p/wasm-test-runner/WasmTestRunner.proj]
/datadisks/disk1/work/A9400941/p/build/WasmApp.targets(315,5): warning : Loading assembly reference 'Microsoft.Diagnostics.Tools.RuntimeClient, Version=1.0.4.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' for 'common, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' failed: Could not find assembly 'Microsoft.Diagnostics.Tools.RuntimeClient, Version=1.0.4.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Either explicitly load this assembly using a method such as LoadFromAssemblyPath() or use a MetadataAssemblyResolver that returns a valid assembly. Skipping. [/datadisks/disk1/work/A9400941/p/wasm-test-runner/WasmTestRunner.proj]
/datadisks/disk1/work/A9400941/p/build/WasmApp.targets(315,5): warning : Loading assembly reference 'Microsoft.Diagnostics.Tool


Stack trace
   at JIT_Directed._debugging_debuginfo_tester_tester_._debugging_debuginfo_tester_tester_sh()
@VincentBu VincentBu added arch-arm64 os-linux Linux OS (any supported distro) os-mac-os-x macOS aka OSX arch-x64 os-android labels Nov 25, 2021
@ghost
Copy link

ghost commented Nov 25, 2021

Tagging subscribers to 'arch-android': @steveisok, @akoeplinger
See info in area-owners.md if you want to be subscribed.

Issue Details

Run: runtime 20211124.62

Failed test:

Mono Android x64 Release @ Ubuntu.1804.Amd64.Android.29.Open
- JIT/Directed/debugging/debuginfo/tester/tester.sh
- JIT/Directed/debugging/poisoning/poison/poison.sh

Mono Linux x64 Release @ Ubuntu.1804.Amd64.Open
- JIT/HardwareIntrinsics/X86/X86Base/Pause_ro/Pause_ro.sh
- JIT/HardwareIntrinsics/X86/X86Base/Pause_r/Pause_r.sh
- JIT/Directed/debugging/poisoning/poison/poison.sh

Mono Linux x64 Release no_tiered_compilation @ Ubuntu.1804.Amd64.Open
- JIT/Directed/debugging/poisoning/poison/poison.sh
- JIT/HardwareIntrinsics/X86/X86Base/Pause_r/Pause_r.sh
- JIT/HardwareIntrinsics/X86/X86Base/Pause_ro/Pause_ro.sh

Mono Linux x64 Release @ Ubuntu.1804.Amd64.Open
- JIT/HardwareIntrinsics/X86/X86Base/Pause_r/Pause_r.sh
- JIT/HardwareIntrinsics/X86/X86Base/Pause_ro/Pause_ro.sh
- JIT/Directed/debugging/poisoning/poison/poison.sh

Mono OSX x64 Release no_tiered_compilation @ OSX.1014.Amd64.Open
- JIT/Directed/debugging/poisoning/poison/poison.sh

One of error message:

Return code:      1
Raw output file:      /datadisks/disk1/work/B6420A2D/w/B509096A/uploads/Reports/JIT.Directed/debugging/debuginfo/tester/tester.output.txt
Raw output:
BEGIN EXECUTION
XHarness command issued: android run --instrumentation=net.dot.MonoRunner --package-name=net.dot.JIT_Directed --output-directory=/datadisks/disk1/work/B6420A2D/w/B509096A/uploads/Reports/JIT.Directed/debugging/debuginfo/tester --arg=entrypoint:libname=tester.dll --expected-exit-code=100 -v
[21:18:41] dbug: Android Run command called: App = net.dot.JIT_Directed

[21:18:41] dbug: Timeout = 900 seconds.
[21:18:41] dbug: ADBRunner using ADB.exe supplied from /datadisks/disk1/work/B6420A2D/p/microsoft.dotnet.xharness.cli/1.0.0-prerelease.21572.4/tools/net6.0/any/../../../runtimes/any/native/adb/linux/adb
[21:18:41] dbug: Full resolved path:'/datadisks/disk1/work/B6420A2D/p/microsoft.dotnet.xharness.cli/1.0.0-prerelease.21572.4/runtimes/any/native/adb/linux/adb'
[21:18:41] dbug: Executing command: '/datadisks/disk1/work/B6420A2D/p/microsoft.dotnet.xharness.cli/1.0.0-prerelease.21572.4/runtimes/any/native/adb/linux/adb  start-server'
[21:18:41] dbug:
[21:18:41] dbug: Executing command: '/datadisks/disk1/work/B6420A2D/p/microsoft.dotnet.xharness.cli/1.0.0-prerelease.21572.4/runtimes/any/native/adb/linux/adb  devices -l'
[21:18:41] dbug: Evaluating output line for device serial: emulator-5554          device product:sdk_phone_x86 model:Android_SDK_built_for_x86 device:generic_x86 transport_id:1
[21:18:41] dbug: Executing command: '/datadisks/disk1/work/B6420A2D/p/microsoft.dotnet.xharness.cli/1.0.0-prerelease.21572.4/runtimes/any/native/adb/linux/adb  -s emulator-5554 shell pm list packages -3'
[21:18:42] dbug: Evaluating output line for device serial: emulator-5556          device product:sdk_phone_x86_64 model:Android_SDK_built_for_x86_64 device:generic_x86_64 transport_id:2
[21:18:42] dbug: Executing command: '/datadisks/disk1/work/B6420A2D/p/microsoft.dotnet.xharness.cli/1.0.0-prerelease.21572.4/runtimes/any/native/adb/linux/adb  -s emulator-5556 shell pm list packages -3'
[21:18:42] dbug: Executing command: '/datadisks/disk1/work/B6420A2D/p/microsoft.dotnet.xharness.cli/1.0.0-prerelease.21572.4/runtimes/any/native/adb/linux/adb -s emulator-5556 shell getprop ro.build.version.sdk'
[21:18:42] info: Active Android device set to serial 'emulator-5556'
[21:18:42] info: Waiting for device to be available (max 5 minutes)
[21:18:42] dbug: Executing command: '/datadisks/disk1/work/B6420A2D/p/microsoft.dotnet.xharness.cli/1.0.0-prerelease.21572.4/runtimes/any/native/adb/linux/adb -s emulator-5556 wait-for-device'
[21:18:42] dbug:
[21:18:42] dbug: Executing command: '/datadisks/disk1/work/B6420A2D/p/microsoft.dotnet.xharness.cli/1.0.0-prerelease.21572.4/runtimes/any/native/adb/linux/adb -s emulator-5556 shell getprop sys.boot_completed'
[21:18:42] dbug: Waited 0.0156109 seconds for device for sys.boot_completed to be 1.
[21:18:42] dbug: Executing command: '/datadisks/disk1/work/B6420A2D/p/microsoft.dotnet.xharness.cli/1.0.0-prerelease.21572.4/runtimes/any/native/adb/linux/adb -s emulator-5556 version'
[21:18:42] dbug: Working with Android Debug Bridge version 1.0.41
Version 29.0.6-6198805
Installed as /datadisks/disk1/work/B6420A2D/p/microsoft.dotnet.xharness.cli/1.0.0-prerelease.21572.4/runtimes/any/native/adb/linux/adb

[21:18:42] dbug: Executing command: '/datadisks/disk1/work/B6420A2D/p/microsoft.dotnet.xharness.cli/1.0.0-prerelease.21572.4/runtimes/any/native/adb/linux/adb -s emulator-5556 logcat -c'
[21:18:42] info: Starting instrumentation class 'net.dot.MonoRunner' on net.dot.JIT_Directed
[21:18:42] dbug: Raw command: 'shell am instrument  -e entrypoint:libname tester.dll -w net.dot.JIT_Directed/net.dot.MonoRunner'
[21:18:42] dbug: Executing command: '/datadisks/disk1/work/B6420A2D/p/microsoft.dotnet.xharness.cli/1.0.0-prerelease.21572.4/runtimes/any/native/adb/linux/adb -s emulato


Stack trace
   at JIT_Directed._debugging_debuginfo_tester_tester_._debugging_debuginfo_tester_tester_sh()

Failed test:

Mono Browser wasm Release @ Ubuntu.1804.Amd64.Open
- JIT/Directed/debugging/debuginfo/tester/tester.sh
- JIT/Directed/debugging/poisoning/poison/poison.sh

Mono Linux x64 Release @ Ubuntu.1804.Amd64.Open
- JIT/Directed/debugging/debuginfo/tester/tester.sh

Mono Linux x64 Release no_tiered_compilation @ Ubuntu.1804.Amd64.Open
- JIT/Directed/debugging/debuginfo/tester/tester.sh

Mono Linux x64 Release @ Ubuntu.1804.Amd64.Open
- JIT/Directed/debugging/debuginfo/tester/tester.sh

Mono Linux x64 Release no_tiered_compilation @ Ubuntu.1804.Amd64.Open
- JIT/Directed/debugging/debuginfo/tester/tester.sh

Mono Linux arm64 Release no_tiered_compilation @ (Ubuntu.1804.Arm64.Open)[email protected]/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm64v8-20210531091519-97d8652
- JIT/Directed/debugging/poisoning/poison/poison.sh
- JIT/Directed/debugging/debuginfo/tester/tester.sh

Mono OSX x64 Release @ OSX.1014.Amd64.Open
- JIT/Directed/debugging/debuginfo/tester/tester.sh
- JIT/Directed/debugging/poisoning/poison/poison.sh

Mono OSX x64 Release no_tiered_compilation @ OSX.1014.Amd64.Open
- JIT/Directed/debugging/debuginfo/tester/tester.sh

Error message:

Unhandled Exception:
System.TypeInitializationException: The type initializer for 'DebugInfoTest' threw an exception.
---> System.ArgumentNullException: Value cannot be null. (Parameter 'types')
at System.Type.GetMethod(String name, BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers)
at System.Type.GetMethod(String name, BindingFlags bindingAttr, Binder binder, Type[] types, ParameterModifier[] modifiers)
at System.Type.GetMethod(String name, BindingFlags bindingAttr, Type[] types)
at DebugInfoTest..cctor()
--- End of inner exception stack trace ---
Error: System.TypeInitializationException: The type initializer for 'DebugInfoTest' threw an exception.
---> System.ArgumentNullException: Value cannot be null. (Parameter 'types')
at System.Type.GetMethod(String name, BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers)
at System.Type.GetMethod(String name, BindingFlags bindingAttr, Binder binder, Type[] types, ParameterModifier[] modifiers)
at System.Type.GetMethod(String name, BindingFlags bindingAttr, Type[] types)
at DebugInfoTest..cctor()
--- End of inner exception stack trace ---
Error: System.TypeInitializationException: The type initializer for 'DebugInfoTest' threw an exception.
---> System.ArgumentNullException: Value cannot be null. (Parameter 'types')
at System.Type.GetMethod(String name, BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers)
at System.Type.GetMethod(String name, BindingFlags bindingAttr, Binder binder, Type[] types, ParameterModifier[] modifiers)
at System.Type.GetMethod(String name, BindingFlags bindingAttr, Type[] types)
at DebugInfoTest..cctor()
--- End of inner exception stack trace ---
at _convert_exception_for_method_call (./dotnet.js:3:47429)
at _handle_exception_for_call (./dotnet.js:3:48069)
at _handle_exception_and_produce_result_for_call (./dotnet.js:3:48238)
at _call_method_with_converted_args (./dotnet.js:3:48890)
at call_method (./dotnet.js:3:47961)
at ./dotnet.js:3:49803
at Object.mono_call_assembly_entry_point [as call_assembly_entry_point] (./dotnet.js:3:49980)
at Object.init (main.js:211:46)
at Object.onDotNetReady (main.js:151:13)
at _finalize_startup (./dotnet.js:3:62462)

Return code:      1
Raw output file:      /datadisks/disk1/work/A9400941/w/B0040958/uploads/Reports/JIT.Directed/debugging/debuginfo/tester/tester.output.txt
Raw output:
BEGIN EXECUTION
Microsoft (R) Build Engine version 17.0.0-preview-21501-01+bbcce1dff for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

AppDir: /datadisks/disk1/work/A9400941/w/B0040958/e/JIT/Directed/debugging/debuginfo/tester/WasmApp/
TestBinDir: /datadisks/disk1/work/A9400941/w/B0040958/e/JIT/Directed/debugging/debuginfo/tester
ArtifactsBinDir:
/datadisks/disk1/work/A9400941/p/build/WasmApp.targets(210,5): warning : Could not find $(AssemblyName)=WasmTestRunner.dll in the assemblies to be bundled. [/datadisks/disk1/work/A9400941/p/wasm-test-runner/WasmTestRunner.proj]
/datadisks/disk1/work/A9400941/p/build/WasmApp.targets(315,5): warning : Loading assembly reference 'Microsoft.Diagnostics.Tools.RuntimeClient, Version=1.0.4.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' for 'common, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' failed: Could not find assembly 'Microsoft.Diagnostics.Tools.RuntimeClient, Version=1.0.4.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Either explicitly load this assembly using a method such as LoadFromAssemblyPath() or use a MetadataAssemblyResolver that returns a valid assembly. Skipping. [/datadisks/disk1/work/A9400941/p/wasm-test-runner/WasmTestRunner.proj]
/datadisks/disk1/work/A9400941/p/build/WasmApp.targets(315,5): warning : Loading assembly reference 'Microsoft.Diagnostics.Tool


Stack trace
   at JIT_Directed._debugging_debuginfo_tester_tester_._debugging_debuginfo_tester_tester_sh()
Author: VincentBu
Assignees: -
Labels:

arch-arm64, os-linux, os-mac-os-x, arch-x64, os-android

Milestone: -

@dotnet-issue-labeler
Copy link

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged New issue has not been triaged by the area owner label Nov 25, 2021
jakobbotsch added a commit to jakobbotsch/runtime that referenced this issue Nov 25, 2021
@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Nov 25, 2021
@jeffschwMSFT jeffschwMSFT added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Nov 25, 2021
@ghost
Copy link

ghost commented Nov 25, 2021

Tagging subscribers to this area: @JulieLeeMSFT
See info in area-owners.md if you want to be subscribed.

Issue Details

Run: runtime 20211124.62

Failed test:

Mono Android x64 Release @ Ubuntu.1804.Amd64.Android.29.Open
- JIT/Directed/debugging/debuginfo/tester/tester.sh
- JIT/Directed/debugging/poisoning/poison/poison.sh

Mono Linux x64 Release @ Ubuntu.1804.Amd64.Open
- JIT/HardwareIntrinsics/X86/X86Base/Pause_ro/Pause_ro.sh
- JIT/HardwareIntrinsics/X86/X86Base/Pause_r/Pause_r.sh
- JIT/Directed/debugging/poisoning/poison/poison.sh

Mono Linux x64 Release no_tiered_compilation @ Ubuntu.1804.Amd64.Open
- JIT/Directed/debugging/poisoning/poison/poison.sh
- JIT/HardwareIntrinsics/X86/X86Base/Pause_r/Pause_r.sh
- JIT/HardwareIntrinsics/X86/X86Base/Pause_ro/Pause_ro.sh

Mono Linux x64 Release @ Ubuntu.1804.Amd64.Open
- JIT/HardwareIntrinsics/X86/X86Base/Pause_r/Pause_r.sh
- JIT/HardwareIntrinsics/X86/X86Base/Pause_ro/Pause_ro.sh
- JIT/Directed/debugging/poisoning/poison/poison.sh

Mono OSX x64 Release no_tiered_compilation @ OSX.1014.Amd64.Open
- JIT/Directed/debugging/poisoning/poison/poison.sh

One of error message:

Return code:      1
Raw output file:      /datadisks/disk1/work/B6420A2D/w/B509096A/uploads/Reports/JIT.Directed/debugging/debuginfo/tester/tester.output.txt
Raw output:
BEGIN EXECUTION
XHarness command issued: android run --instrumentation=net.dot.MonoRunner --package-name=net.dot.JIT_Directed --output-directory=/datadisks/disk1/work/B6420A2D/w/B509096A/uploads/Reports/JIT.Directed/debugging/debuginfo/tester --arg=entrypoint:libname=tester.dll --expected-exit-code=100 -v
[21:18:41] dbug: Android Run command called: App = net.dot.JIT_Directed

[21:18:41] dbug: Timeout = 900 seconds.
[21:18:41] dbug: ADBRunner using ADB.exe supplied from /datadisks/disk1/work/B6420A2D/p/microsoft.dotnet.xharness.cli/1.0.0-prerelease.21572.4/tools/net6.0/any/../../../runtimes/any/native/adb/linux/adb
[21:18:41] dbug: Full resolved path:'/datadisks/disk1/work/B6420A2D/p/microsoft.dotnet.xharness.cli/1.0.0-prerelease.21572.4/runtimes/any/native/adb/linux/adb'
[21:18:41] dbug: Executing command: '/datadisks/disk1/work/B6420A2D/p/microsoft.dotnet.xharness.cli/1.0.0-prerelease.21572.4/runtimes/any/native/adb/linux/adb  start-server'
[21:18:41] dbug:
[21:18:41] dbug: Executing command: '/datadisks/disk1/work/B6420A2D/p/microsoft.dotnet.xharness.cli/1.0.0-prerelease.21572.4/runtimes/any/native/adb/linux/adb  devices -l'
[21:18:41] dbug: Evaluating output line for device serial: emulator-5554          device product:sdk_phone_x86 model:Android_SDK_built_for_x86 device:generic_x86 transport_id:1
[21:18:41] dbug: Executing command: '/datadisks/disk1/work/B6420A2D/p/microsoft.dotnet.xharness.cli/1.0.0-prerelease.21572.4/runtimes/any/native/adb/linux/adb  -s emulator-5554 shell pm list packages -3'
[21:18:42] dbug: Evaluating output line for device serial: emulator-5556          device product:sdk_phone_x86_64 model:Android_SDK_built_for_x86_64 device:generic_x86_64 transport_id:2
[21:18:42] dbug: Executing command: '/datadisks/disk1/work/B6420A2D/p/microsoft.dotnet.xharness.cli/1.0.0-prerelease.21572.4/runtimes/any/native/adb/linux/adb  -s emulator-5556 shell pm list packages -3'
[21:18:42] dbug: Executing command: '/datadisks/disk1/work/B6420A2D/p/microsoft.dotnet.xharness.cli/1.0.0-prerelease.21572.4/runtimes/any/native/adb/linux/adb -s emulator-5556 shell getprop ro.build.version.sdk'
[21:18:42] info: Active Android device set to serial 'emulator-5556'
[21:18:42] info: Waiting for device to be available (max 5 minutes)
[21:18:42] dbug: Executing command: '/datadisks/disk1/work/B6420A2D/p/microsoft.dotnet.xharness.cli/1.0.0-prerelease.21572.4/runtimes/any/native/adb/linux/adb -s emulator-5556 wait-for-device'
[21:18:42] dbug:
[21:18:42] dbug: Executing command: '/datadisks/disk1/work/B6420A2D/p/microsoft.dotnet.xharness.cli/1.0.0-prerelease.21572.4/runtimes/any/native/adb/linux/adb -s emulator-5556 shell getprop sys.boot_completed'
[21:18:42] dbug: Waited 0.0156109 seconds for device for sys.boot_completed to be 1.
[21:18:42] dbug: Executing command: '/datadisks/disk1/work/B6420A2D/p/microsoft.dotnet.xharness.cli/1.0.0-prerelease.21572.4/runtimes/any/native/adb/linux/adb -s emulator-5556 version'
[21:18:42] dbug: Working with Android Debug Bridge version 1.0.41
Version 29.0.6-6198805
Installed as /datadisks/disk1/work/B6420A2D/p/microsoft.dotnet.xharness.cli/1.0.0-prerelease.21572.4/runtimes/any/native/adb/linux/adb

[21:18:42] dbug: Executing command: '/datadisks/disk1/work/B6420A2D/p/microsoft.dotnet.xharness.cli/1.0.0-prerelease.21572.4/runtimes/any/native/adb/linux/adb -s emulator-5556 logcat -c'
[21:18:42] info: Starting instrumentation class 'net.dot.MonoRunner' on net.dot.JIT_Directed
[21:18:42] dbug: Raw command: 'shell am instrument  -e entrypoint:libname tester.dll -w net.dot.JIT_Directed/net.dot.MonoRunner'
[21:18:42] dbug: Executing command: '/datadisks/disk1/work/B6420A2D/p/microsoft.dotnet.xharness.cli/1.0.0-prerelease.21572.4/runtimes/any/native/adb/linux/adb -s emulato


Stack trace
   at JIT_Directed._debugging_debuginfo_tester_tester_._debugging_debuginfo_tester_tester_sh()

Failed test:

Mono Browser wasm Release @ Ubuntu.1804.Amd64.Open
- JIT/Directed/debugging/debuginfo/tester/tester.sh
- JIT/Directed/debugging/poisoning/poison/poison.sh

Mono Linux x64 Release @ Ubuntu.1804.Amd64.Open
- JIT/Directed/debugging/debuginfo/tester/tester.sh

Mono Linux x64 Release no_tiered_compilation @ Ubuntu.1804.Amd64.Open
- JIT/Directed/debugging/debuginfo/tester/tester.sh

Mono Linux x64 Release @ Ubuntu.1804.Amd64.Open
- JIT/Directed/debugging/debuginfo/tester/tester.sh

Mono Linux x64 Release no_tiered_compilation @ Ubuntu.1804.Amd64.Open
- JIT/Directed/debugging/debuginfo/tester/tester.sh

Mono Linux arm64 Release no_tiered_compilation @ (Ubuntu.1804.Arm64.Open)[email protected]/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm64v8-20210531091519-97d8652
- JIT/Directed/debugging/poisoning/poison/poison.sh
- JIT/Directed/debugging/debuginfo/tester/tester.sh

Mono OSX x64 Release @ OSX.1014.Amd64.Open
- JIT/Directed/debugging/debuginfo/tester/tester.sh
- JIT/Directed/debugging/poisoning/poison/poison.sh

Mono OSX x64 Release no_tiered_compilation @ OSX.1014.Amd64.Open
- JIT/Directed/debugging/debuginfo/tester/tester.sh

Error message:

Unhandled Exception:
System.TypeInitializationException: The type initializer for 'DebugInfoTest' threw an exception.
---> System.ArgumentNullException: Value cannot be null. (Parameter 'types')
at System.Type.GetMethod(String name, BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers)
at System.Type.GetMethod(String name, BindingFlags bindingAttr, Binder binder, Type[] types, ParameterModifier[] modifiers)
at System.Type.GetMethod(String name, BindingFlags bindingAttr, Type[] types)
at DebugInfoTest..cctor()
--- End of inner exception stack trace ---
Error: System.TypeInitializationException: The type initializer for 'DebugInfoTest' threw an exception.
---> System.ArgumentNullException: Value cannot be null. (Parameter 'types')
at System.Type.GetMethod(String name, BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers)
at System.Type.GetMethod(String name, BindingFlags bindingAttr, Binder binder, Type[] types, ParameterModifier[] modifiers)
at System.Type.GetMethod(String name, BindingFlags bindingAttr, Type[] types)
at DebugInfoTest..cctor()
--- End of inner exception stack trace ---
Error: System.TypeInitializationException: The type initializer for 'DebugInfoTest' threw an exception.
---> System.ArgumentNullException: Value cannot be null. (Parameter 'types')
at System.Type.GetMethod(String name, BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers)
at System.Type.GetMethod(String name, BindingFlags bindingAttr, Binder binder, Type[] types, ParameterModifier[] modifiers)
at System.Type.GetMethod(String name, BindingFlags bindingAttr, Type[] types)
at DebugInfoTest..cctor()
--- End of inner exception stack trace ---
at _convert_exception_for_method_call (./dotnet.js:3:47429)
at _handle_exception_for_call (./dotnet.js:3:48069)
at _handle_exception_and_produce_result_for_call (./dotnet.js:3:48238)
at _call_method_with_converted_args (./dotnet.js:3:48890)
at call_method (./dotnet.js:3:47961)
at ./dotnet.js:3:49803
at Object.mono_call_assembly_entry_point [as call_assembly_entry_point] (./dotnet.js:3:49980)
at Object.init (main.js:211:46)
at Object.onDotNetReady (main.js:151:13)
at _finalize_startup (./dotnet.js:3:62462)

Return code:      1
Raw output file:      /datadisks/disk1/work/A9400941/w/B0040958/uploads/Reports/JIT.Directed/debugging/debuginfo/tester/tester.output.txt
Raw output:
BEGIN EXECUTION
Microsoft (R) Build Engine version 17.0.0-preview-21501-01+bbcce1dff for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

AppDir: /datadisks/disk1/work/A9400941/w/B0040958/e/JIT/Directed/debugging/debuginfo/tester/WasmApp/
TestBinDir: /datadisks/disk1/work/A9400941/w/B0040958/e/JIT/Directed/debugging/debuginfo/tester
ArtifactsBinDir:
/datadisks/disk1/work/A9400941/p/build/WasmApp.targets(210,5): warning : Could not find $(AssemblyName)=WasmTestRunner.dll in the assemblies to be bundled. [/datadisks/disk1/work/A9400941/p/wasm-test-runner/WasmTestRunner.proj]
/datadisks/disk1/work/A9400941/p/build/WasmApp.targets(315,5): warning : Loading assembly reference 'Microsoft.Diagnostics.Tools.RuntimeClient, Version=1.0.4.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' for 'common, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' failed: Could not find assembly 'Microsoft.Diagnostics.Tools.RuntimeClient, Version=1.0.4.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Either explicitly load this assembly using a method such as LoadFromAssemblyPath() or use a MetadataAssemblyResolver that returns a valid assembly. Skipping. [/datadisks/disk1/work/A9400941/p/wasm-test-runner/WasmTestRunner.proj]
/datadisks/disk1/work/A9400941/p/build/WasmApp.targets(315,5): warning : Loading assembly reference 'Microsoft.Diagnostics.Tool


Stack trace
   at JIT_Directed._debugging_debuginfo_tester_tester_._debugging_debuginfo_tester_tester_sh()
Author: VincentBu
Assignees: -
Labels:

arch-arm64, os-linux, os-mac-os-x, arch-x64, area-CodeGen-coreclr, os-android, untriaged, in pr

Milestone: -

@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Nov 26, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Dec 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-arm64 arch-x64 area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI os-android os-linux Linux OS (any supported distro) os-mac-os-x macOS aka OSX untriaged New issue has not been triaged by the area owner
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants