testlens-app[bot] commented on PR #3259: URL: https://github.com/apache/groovy/pull/3259#issuecomment-6796139440
## 🚨 TestLens detected 1 failed test 🚨 ### Test Summary > [!TIP] > Inspect all details with the [TestLens CLI](https://testlens.app/docs/features/cli): `testlens pr 3259` #### [Build and test / lts \(17, windows-latest, 1\)](https://github.com/apache/groovy/actions/runs/43016799246/job/130509784188?pr=3259) > :test | Test | Runs | Flakiness | |---|---|--:| | DelegateJointCompilationStubTest > testRun\(\) | ❌ | 0% 🟢 | 🏷️ Commit: 51c4cd56f15d610d08d72e85810a72cb8ef617c9 ▶️ Tests: 50562 executed 🟡 Checks: 3/24 completed ### Test Failures <details><summary><strong>DelegateJointCompilationStubTest > testRun()</strong> (:test in <a href="https://github.com/apache/groovy/actions/runs/43016799246/job/130509784188?pr=3259">Build and test / lts (17, windows-latest, 1)</a>)</summary> ``` org.opentest4j.AssertionFailedError: Compilation failed for stub generator test: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: Compile error during compilation with javac. warning: Supported source version 'RELEASE_8' from annotation processor 'org.antlr.v4.runtime.misc.RuleDependencyProcessor' less than -source '17' warning: Supported source version 'RELEASE_8' from annotation processor 'org.antlr.v4.runtime.misc.NullUsageProcessor' less than -source '17' C:\Users\RUNNER~1\AppData\Local\Temp\stubgentests17944007873354928980361033463371\foo\Holder.java:3: error: Holder is not abstract and does not override abstract method <T>toArray(T[]) in List public class Holder ^ where T is a type-variable: T extends Object declared in method <T>toArray(T[]) C:\Users\RUNNER~1\AppData\Local\Temp\stubgentests17944007873354928980361033463371\foo\Holder.java:40: error: name clash: toArray(Object[]) in Holder and toArray(T[]) in List have the same erasure, yet neither overrides the other @groovy.transform.Generated() public <T extends java.lang.Object> java.lang.Object[] toArray(java.lang.Object... param0) { return null; } ^ where T is a type-variable: T extends Object declared in method <T>toArray(T[]) C:\Users\RUNNER~1\AppData\Local\Temp\stubgentests17944007873354928980361033463371\foo\Holder.java:41: error: name clash: toArray(IntFunction<Object[]>) in Holder and toArray(IntFunction<T[]>) in Collection have the same erasure, yet neither overrides the other @groovy.transform.Generated() public <T extends java.lang.Object> java.lang.Object[] toArray(java.util.function.IntFunction<java.lang.Object[]> arg0) { return null; } ^ where T is a type-variable: T extends Object declared in method <T>toArray(IntFunction<T[]>) C:\Users\RUNNER~1\AppData\Local\Temp\stubgentests17944007873354928980361033463371\foo\Bag.java:3: error: Bag is not abstract and does not override abstract method <T>toArray(T[]) in List public class Bag ^ where T is a type-variable: T extends Object declared in method <T>toArray(T[]) C:\Users\RUNNER~1\AppData\Local\Temp\stubgentests17944007873354928980361033463371\foo\Bag.java:40: error: name clash: toArray(Object[]) in Bag and toArray(T[]) in List have the same erasure, yet neither overrides the other @groovy.transform.Generated() public <T extends java.lang.Object> java.lang.Object[] toArray(java.lang.Object... arg0) { return null; } ^ where T is a type-variable: T extends Object declared in method <T>toArray(T[]) C:\Users\RUNNER~1\AppData\Local\Temp\stubgentests17944007873354928980361033463371\foo\Bag.java:41: error: name clash: toArray(IntFunction<Object[]>) in Bag and toArray(IntFunction<T[]>) in Collection have the same erasure, yet neither overrides the other @groovy.transform.Generated() public <T extends java.lang.Object> java.lang.Object[] toArray(java.util.function.IntFunction<java.lang.Object[]> arg0) { return null; } ^ where T is a type-variable: T extends Object declared in method <T>toArray(IntFunction<T[]>) 6 errors 2 warnings 1 error at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:351) at org.codehaus.groovy.control.ErrorCollector.addFatalError(ErrorCollector.java:206) at org.codehaus.groovy.tools.javac.JavacJavaCompiler.addJavacError(JavacJavaCompiler.java:157) at org.codehaus.groovy.tools.javac.JavacJavaCompiler.compile(JavacJavaCompiler.java:97) at org.codehaus.groovy.tools.javac.JavaAwareCompilationUnit.gotoPhase(JavaAwareCompilationUnit.java:173) at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:756) at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:721) at org.codehaus.groovy.tools.stubgenerator.StubTestCase.compile(StubTestCase.groovy:240) at org.codehaus.groovy.tools.stubgenerator.StubTestCase.testRun(StubTestCase.groovy:165) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:700) at org.junit.platform.commons.support.ReflectionSupport.invokeMethod(ReflectionSupport.java:528) at org.junit.jupiter.engine.support.MethodReflectionUtils.invoke(MethodReflectionUtils.java:53) at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:61) at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:124) at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:163) at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:148) at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86) at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:124) at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:105) at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:99) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:66) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:47) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:39) at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:104) at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:98) at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invokeVoid(InterceptingExecutableInvoker.java:71) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$0(TestMethodTestDescriptor.java:219) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:74) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:215) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:157) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:70) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$2(NodeTestTask.java:176) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:74) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$1(NodeTestTask.java:166) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:139) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$0(NodeTestTask.java:164) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:74) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:163) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:116) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:42) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$2(NodeTestTask.java:180) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:74) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$1(NodeTestTask.java:166) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:139) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$0(NodeTestTask.java:164) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:74) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:163) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:116) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:42) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$2(NodeTestTask.java:180) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:74) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$1(NodeTestTask.java:166) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:139) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$0(NodeTestTask.java:164) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:74) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:163) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:116) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:36) at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:52) at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:58) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.executeEngine(EngineExecutionOrchestrator.java:256) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.failOrExecuteEngine(EngineExecutionOrchestrator.java:228) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:189) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:109) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:66) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:168) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:65) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:137) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:126) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:100) at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:57) at org.junit.platform.launcher.core.InterceptingLauncher.lambda$execute$0(InterceptingLauncher.java:46) at org.junit.platform.launcher.core.ClasspathAlignmentCheckingLauncherInterceptor.intercept(ClasspathAlignmentCheckingLauncherInterceptor.java:25) at org.junit.platform.launcher.core.InterceptingLauncher.execute(InterceptingLauncher.java:45) at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:57) at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestDefinitionProcessor$CollectThenExecuteTestDefinitionConsumer.processAllTestDefinitions(JUnitPlatformTestDefinitionProcessor.java:206) at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestDefinitionProcessor$CollectThenExecuteTestDefinitionConsumer.access$000(JUnitPlatformTestDefinitionProcessor.java:123) at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestDefinitionProcessor.stop(JUnitPlatformTestDefinitionProcessor.java:117) at org.gradle.api.internal.tasks.testing.SuiteTestDefinitionProcessor.stop(SuiteTestDefinitionProcessor.java:63) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at org.gradle.internal.dispatch.MethodInvocation.invokeOn(MethodInvocation.java:77) at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:28) at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:19) at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33) at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:88) at jdk.proxy1/jdk.proxy1.$Proxy4.stop(Unknown Source) at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:195) at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:126) 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:122) at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:72) at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69) at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74) at org.codehaus.groovy.tools.stubgenerator.StubTestCase.handleCompilationFailure(StubTestCase.groovy:255) at org.codehaus.groovy.tools.stubgenerator.StubTestCase.compile(StubTestCase.groovy:243) at org.codehaus.groovy.tools.stubgenerator.StubTestCase.testRun(StubTestCase.groovy:165) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) ``` </details> ### Rerun Controls > [!NOTE] > Checks are currently running using the configuration below. Select tests to mute in this pull request: 🔲 DelegateJointCompilationStubTest > testRun\(\) <!-- uniqueId=[engine:junit-jupiter]/[class:org.codehaus.groovy.tools.stubgenerator.DelegateJointCompilationStubTest]/[method:testRun()] --> Reuse successful test results: 🔲 ♻️ Only rerun the tests that failed or were muted before Click the checkbox to trigger a rerun: 🔲 **Rerun jobs** --- _Learn more about TestLens at [testlens.app/docs](https://testlens.app/docs/features/pr-comment/)._ -- 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]
