pjfanning commented on PR #4401:
URL: https://github.com/apache/fineract/pull/4401#issuecomment-2698780336

   > > @Ádám Sághy _**@**_._**> @james Dailey _**@**_.**_> I have been trying 
to find the locations of the errors: Execution failed for task 
':fineract-e2e-tests-core:test'. Execution failed for task 
':fineract-e2e-tests-runner:test'. But I have been unable to detect where the 
issue is. Regards Victor El mar, 4 mar 2025 a las 10:16, James D _**@**_._**>) 
escribió:
   > > […](#)
   > > _**@**_.**_* commented on this pull request. The changes are upgrading 
multiple dependencies - with point upgrades. As the release manager, I want to 
make sure our release 1.11 is going to pass security scans. The key thing to 
verify is whether the tests pass and then trusting that the tests are 
sufficient coverage for functionality. I think also trusting that deprecated 
functions in these libraries are still supported and will throw warnings in the 
log when used in code rather than break the application. A sanity check is 
needed on this - not sure if our automated tools can detect problems but worth 
trying to see what code behaviors are problematic when we do a lot of such 
dependency upgrades. — Reply to this email directly, view it on GitHub <[#4401 
(review)](https://github.com/apache/fineract/pull/4401#pullrequestreview-2658185428)>,
 or unsubscribe 
https://github.com/notifications/unsubscribe-auth/ALD2ZAUG7JLUSFYY7GDS3X32SXGU7AVCNFSM6AAAAABYGAFPWGVHI2DSMVQWIX3LMV43YUDVNRW
 FEZLROVSXG5CSMV3GSZLXHMZDMNJYGE4DKNBSHA . You are receiving this because you 
authored the thread.Message ID: _**@**_.***>
   > 
   > ```
   > org.gradle.api.internal.tasks.testing.TestSuiteExecutionException: Could 
not complete execution for Gradle Test Executor 12.
   >    at 
org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:65)
   >    at 
[email protected]/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
   >    at 
[email protected]/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
   >    at 
[email protected]/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   >    at [email protected]/java.lang.reflect.Method.invoke(Method.java:569)
   >    at 
org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
   >    at 
org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
   >    at 
org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
   >    at 
org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:92)
   >    at jdk.proxy2/jdk.proxy2.$Proxy6.stop(Unknown Source)
   >    at 
org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:200)
   >    at 
org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:132)
   >    at 
org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:103)
   >    at 
org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:63)
   >    at 
org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
   >    at 
org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:121)
   >    at 
org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:71)
   >    at 
app//worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
   >    at 
app//worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
   > Caused by: org.junit.platform.commons.JUnitException: TestEngine with ID 
'junit-jupiter' failed to discover tests
   >    at 
app//org.junit.platform.launcher.core.EngineDiscoveryOrchestrator.discoverEngineRoot(EngineDiscoveryOrchestrator.java:165)
   >    at 
app//org.junit.platform.launcher.core.EngineDiscoveryOrchestrator.discoverSafely(EngineDiscoveryOrchestrator.java:132)
   >    at 
app//org.junit.platform.launcher.core.EngineDiscoveryOrchestrator.discover(EngineDiscoveryOrchestrator.java:105)
   >    at 
app//org.junit.platform.launcher.core.EngineDiscoveryOrchestrator.discover(EngineDiscoveryOrchestrator.java:78)
   >    at 
app//org.junit.platform.launcher.core.DefaultLauncher.discover(DefaultLauncher.java:99)
   >    at 
app//org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:85)
   >    at 
app//org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:47)
   >    at 
app//org.junit.platform.launcher.core.InterceptingLauncher.lambda$execute$1(InterceptingLauncher.java:39)
   >    at 
app//org.junit.platform.launcher.core.ClasspathAlignmentCheckingLauncherInterceptor.intercept(ClasspathAlignmentCheckingLauncherInterceptor.java:25)
   >    at 
app//org.junit.platform.launcher.core.InterceptingLauncher.execute(InterceptingLauncher.java:38)
   >    at 
app//org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:47)
   >    at 
org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.processAllTestClasses(JUnitPlatformTestClassProcessor.java:124)
   >    at 
org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.access$000(JUnitPlatformTestClassProcessor.java:99)
   >    at 
org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor.stop(JUnitPlatformTestClassProcessor.java:94)
   >    at 
org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:63)
   >    ... 18 more
   > Caused by: java.lang.NoClassDefFoundError: 
org/junit/jupiter/api/extension/TestInstantiationAwareExtension$ExtensionContextScope
   >    at 
org.junit.jupiter.engine.JupiterTestEngine.discover(JupiterTestEngine.java:66)
   >    at 
org.junit.platform.launcher.core.EngineDiscoveryOrchestrator.discoverEngineRoot(EngineDiscoveryOrchestrator.java:152)
   >    ... 32 more
   > Caused by: java.lang.ClassNotFoundException: 
org.junit.jupiter.api.extension.TestInstantiationAwareExtension$ExtensionContextScope
   >    at 
java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
   >    at 
java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
   >    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
   >    ... 34 more
   >    ```
   > ```
   
   I found a similar issue in Apache POI when upgrading to junit 5.12.0. I had 
to add a test runtime dependency on 
org.junit.platform:junit-platform-launcher:1.12.0.
   
   https://github.com/apache/poi/commit/ac9d37875db1e5dcef9afe1e5e80208a4c4afb14


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to