Skip to content

Add initial LLM model support

76f1859
Select commit
Loading
Failed to load commit list.
Open

Add initial LLM model support #2629

Add initial LLM model support
76f1859
Select commit
Loading
Failed to load commit list.
Jenkins - Eclipse Platform / Tests / Build failed Apr 22, 2026 in 0s

failed: 3, skipped: 52, passed: 4710

failed: 3, skipped: 52, passed: 4710

Details

org.eclipse.core.llm.tests.LlmConfigurationDialogTest.cancelYieldsNoModel

org.opentest4j.AssertionFailedError: expected: <1> but was: <0>
Stack trace
java.lang.RuntimeException: org.opentest4j.AssertionFailedError: expected: <1> but was: <0>
	at org.eclipse.core.llm.tests.LlmConfigurationDialogTest.runOnUi(LlmConfigurationDialogTest.java:96)
	at org.eclipse.core.llm.tests.LlmConfigurationDialogTest.cancelYieldsNoModel(LlmConfigurationDialogTest.java:50)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
Caused by: org.opentest4j.AssertionFailedError: expected: <1> but was: <0>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
	at org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197)
	at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:150)
	at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:145)
	at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:531)
	at org.eclipse.core.llm.tests.LlmConfigurationDialogTest.lambda$1(LlmConfigurationDialogTest.java:58)
	at org.eclipse.core.llm.tests.LlmConfigurationDialogTest.lambda$2(LlmConfigurationDialogTest.java:87)
	at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:182)
	at org.eclipse.swt.widgets.Display.syncExec(Display.java:5966)
	at org.eclipse.core.llm.tests.LlmConfigurationDialogTest.runOnUi(LlmConfigurationDialogTest.java:85)
	... 4 more

org.eclipse.core.llm.tests.LlmModelTest.inferSendsExpectedJsonAndReturnsBody

LlmModel.infer must not be called from the UI thread
Stack trace
java.lang.IllegalStateException: LlmModel.infer must not be called from the UI thread
	at org.eclipse.core.llm.LlmModel.infer(LlmModel.java:56)
	at org.eclipse.core.llm.tests.LlmModelTest.inferSendsExpectedJsonAndReturnsBody(LlmModelTest.java:53)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)

org.eclipse.core.llm.tests.LlmModelTest.inferFailsOnNon2xx

org/junit/jupiter/api/function/Executable
Stack trace
java.lang.NoClassDefFoundError: org/junit/jupiter/api/function/Executable
	at org.eclipse.core.llm.tests.LlmModelTest.inferFailsOnNon2xx(LlmModelTest.java:77)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
Caused by: java.lang.ClassNotFoundException: org.junit.jupiter.api.function.Executable cannot be found by org.eclipse.core.llm.tests_1.0.0.qualifier
	at org.eclipse.osgi.internal.loader.BundleLoader.generateException(BundleLoader.java:570)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass0(BundleLoader.java:564)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:439)
	at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:195)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)
	... 4 more