[
https://issues.apache.org/jira/browse/GROOVY-12019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18081801#comment-18081801
]
ASF GitHub Bot commented on GROOVY-12019:
-----------------------------------------
testlens-app[bot] commented on PR #2544:
URL: https://github.com/apache/groovy/pull/2544#issuecomment-4480323221
## 🚨 TestLens detected 1 failed tests 🚨
Here is what you can do:
1) Inspect the test failures carefully.
2) If you are convinced that some of the tests are flaky, you can mute them
below.
3) Finally, trigger a rerun by checking the rerun checkbox.
### Test Summary
| Check | Project/Task | Test | Runs |
|---|---|---|---|
| [Build and test / lts \(17, windows-latest,
1\)](https://github.com/apache/groovy/actions/runs/26049780248/job/76583204590?pr=2544)
| :test | DesignPatternsTest > testSingletonGuice\(\) | ❌ |
🏷️ Commit: 852c62ea4ab48b57e8622e16026c93c3b5d24c04
▶️ Tests: 10277 executed
🟡 Checks: 0/56 completed
### Test Failure
<details>
<summary><strong>DesignPatternsTest > testSingletonGuice()</strong> (:test
in <a
href="https://github.com/apache/groovy/actions/runs/26049780248/job/76583204590?pr=2544">Build
and test / lts (17, windows-latest, 1)</a>)</summary>
```
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup
failed:
TestScriptf90df10e75fe4df6bc5ce3dedffbdc26.groovy: 18: unable to resolve
class Inject for annotation
@ line 18, column 17.
@Inject Calculator calc
^
TestScriptf90df10e75fe4df6bc5ce3dedffbdc26.groovy: 18: unable to resolve
class Inject for annotation
@ line 18, column 17.
@Inject Calculator calc
^
2 errors
at
org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:333)
at
org.codehaus.groovy.control.CompilationUnit$ISourceUnitOperation.doPhaseOperation(CompilationUnit.java:989)
at
org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:749)
at
org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:723)
at
groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:423)
at
groovy.lang.GroovyClassLoader.lambda$parseClass$3(GroovyClassLoader.java:364)
at
org.codehaus.groovy.runtime.memoize.ConcurrentCommonCache.getAndPut(ConcurrentCommonCache.java:143)
at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:364)
at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:348)
at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:308)
at
gls.CompilableTestSupport.shouldCompile(CompilableTestSupport.groovy:95)
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.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:502)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:298)
at groovy.lang.MetaClassImpl.invokeStaticMethod(MetaClassImpl.java:1666)
at DesignPatternsTest.testSingletonGuice(DesignPatternsTest.groovy:1802)
```
</details>
### Muted Tests
> [!NOTE]
> Checks are currently running using the configuration below.
Select tests to mute in this pull request:
🔲 DesignPatternsTest > testSingletonGuice\(\) <!
> Enable gradle configuration cache
> ---------------------------------
>
> Key: GROOVY-12019
> URL: https://issues.apache.org/jira/browse/GROOVY-12019
> Project: Groovy
> Issue Type: Improvement
> Components: build
> Reporter: Daniel Sun
> Priority: Major
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)