Thanks to visit codestin.com
Credit goes to github.com

Skip to content

MonoTests.DebuggerTests.Crash test is flaky #11385

@akoeplinger

Description

@akoeplinger

Steps to Reproduce

  1. Run Mono.Debugger.Soft tests
  2. Observe flaky behavior of MonoTests.DebuggerTests.Crash

Current Behavior

https://jenkins.mono-project.com/job/test-mono-pull-request-amd64/20338/
https://jenkins.mono-project.com/job/test-mono-pull-request-amd64-cxx/1872/

Mono.Debugger.Soft.VMDisconnectedException : Exception of type 'Mono.Debugger.Soft.VMDisconnectedException' was thrown.

  at Mono.Debugger.Soft.Connection.disconnected_check () [0x00018] in /mnt/jenkins/workspace/test-mono-pull-request-amd64-cxx/mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/Connection.cs:1323 
  at Mono.Debugger.Soft.Connection.SendReceive (Mono.Debugger.Soft.Connection+CommandSet command_set, System.Int32 command, Mono.Debugger.Soft.Connection+PacketWriter packet) [0x00009] in /mnt/jenkins/workspace/test-mono-pull-request-amd64-cxx/mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/Connection.cs:1602 
  at Mono.Debugger.Soft.Connection.SendReceive (Mono.Debugger.Soft.Connection+CommandSet command_set, System.Int32 command) [0x00000] in /mnt/jenkins/workspace/test-mono-pull-request-amd64-cxx/mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/Connection.cs:1644 
  at Mono.Debugger.Soft.Connection.VM_Dispose () [0x00000] in /mnt/jenkins/workspace/test-mono-pull-request-amd64-cxx/mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/Connection.cs:1749 
  at Mono.Debugger.Soft.VirtualMachine.Detach () [0x00000] in /mnt/jenkins/workspace/test-mono-pull-request-amd64-cxx/mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/VirtualMachine.cs:139 
  at MonoTests.DebuggerTests.Crash () [0x0006c] in /mnt/jenkins/workspace/test-mono-pull-request-amd64-cxx/mcs/class/Mono.Debugger.Soft/Test/dtest.cs:2480 
  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in /mnt/jenkins/workspace/test-mono-pull-request-amd64-cxx/mcs/class/corlib/System.Reflection/MonoMethod.cs:324 

Expected Behavior

No crash.

On which platforms did you notice this

[ ] macOS
[ x ] Linux
[ ] Windows

Version Used: master


Disabled the test in a509e43.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions