Skip to content

Regression

VM Unit Tests / MacOSX64.VMMakerTests.JitTests.VMMachineSimulatorTest.testMemoryAccessExceptionHandledTimeoutIsRespected(#ISA->#X64 #wordSize->8 #useComposedImageFormat->true) (from VMMakerTests)

Failing for the past 1 build (Since Failed #65 )
Took 2 min 6 sec.

Stacktrace

TestTookTooMuchTime
Process>>pvtSignal:list:
[ runtimeError := nil ] in Unicorn>>startAt:until:timeout:count:
FullBlockClosure(BlockClosure)>>ensure:
Unicorn>>startAt:until:timeout:count:
[result :=  simulator
				startAt: self instructionPointerRegisterValue
				until: until
				timeout: remainingTimeout
				count: remainingCount.

				stopReason ifNotNil: [
						error := stopReason.
						stopReason := nil.
						error signal ].

			"If execution did not stop because of a stop reason, verify the error code"
			simulator verifyErrorCode: result] in UnicornX64Simulator(UnicornSimulator)>>doStartAt:until:timeout:count:
FullBlockClosure(BlockClosure)>>on:do:
UnicornX64Simulator(UnicornSimulator)>>doStartAt:until:timeout:count:
UnicornX64Simulator(UnicornSimulator)>>startAt:until:timeout:count:
VMMachineSimulatorTest(VMSimpleStackBasedCogitAbstractTest)>>runFrom:until:timeout:
[ 
	self
		runFrom: cogInitialAddress
		until: lastInstruction address
		timeout: 1000.
	"If the code exists because the counter reaches 0, not good"
	self fail ] in VMMachineSimulatorTest>>testMemoryAccessExceptionHandledTimeoutIsRespected
FullBlockClosure(BlockClosure)>>on:do:
VMMachineSimulatorTest>>testMemoryAccessExceptionHandledTimeoutIsRespected
VMMachineSimulatorTest(TestCase)>>performTest