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

org.eclipse.cdt.tests.dsf.gdb.tests.nonstop.StepIntoSelectionNonStopTest fails on CI #886

Open
Torbjorn-Svensson opened this issue Aug 14, 2024 · 0 comments

Comments

@Torbjorn-Svensson
Copy link
Member

Describe the bug
The test case org.eclipse.cdt.tests.dsf.gdb.tests.nonstop.StepIntoSelectionNonStopTest does no longer work on CI.

To Reproduce
Steps to reproduce the behavior:
Do a change in org.eclipse.cdt.dsf.ui plugin and try to run the tests on the CI.

Expected behavior
The test case should pass without error.

Additional context
In #885, it can be seen that the test fails with for example this output:

test timed out after 300000 milliseconds
org.junit.runners.model.TestTimedOutException: test timed out after 300000 milliseconds
	at java.base/java.lang.Object.wait0(Native Method)
	at java.base/java.lang.Object.wait(Object.java:366)
	at org.eclipse.cdt.tests.dsf.gdb.framework.ServiceEventWaitor.waitForEvent(ServiceEventWaitor.java:136)
	at org.eclipse.cdt.tests.dsf.gdb.tests.StepIntoSelectionTest.triggerStepIntoSelection(StepIntoSelectionTest.java:196)
	at org.eclipse.cdt.tests.dsf.gdb.tests.StepIntoSelectionTest.recursiveMethod(StepIntoSelectionTest.java:319)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:299)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:293)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
	at java.base/java.lang.Thread.run(Thread.java:1583)
862,506 "recursiveMethod[gdb]" requesting gdb. Launched gdb 9.2.
Uncaught exception in session executor thread: java.lang.AssertionError: Exception thrown by a IServiceEventListener.ServiceHandlerMethod method
	at org.eclipse.cdt.dsf.service.DsfSession.doDispatchEvent(DsfSession.java:550)
	at org.eclipse.cdt.dsf.service.DsfSession$3.run(DsfSession.java:408)
	at org.eclipse.cdt.dsf.concurrent.DefaultDsfExecutor$TracingWrapperRunnable.run(DefaultDsfExecutor.java:381)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
	at java.base/java.lang.Thread.run(Thread.java:1583)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant